chore: establish local platform baseline

This commit is contained in:
Codex Local
2026-08-26 06:41:54 +08:00
commit 29bdf4900f
575 changed files with 95644 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
json_escape() {
printf '%s' "$1" | sed 's/\\/\\\\/g; s/"/\\"/g'
}
oidc_authority=$(json_escape "${WEB_OIDC_AUTHORITY:-http://localhost:58180/realms/voice-local}")
oidc_client_id=$(json_escape "${WEB_OIDC_CLIENT_ID:-voice-platform-web}")
printf 'window.__VOICE_PLATFORM_CONFIG__ = {\n oidcAuthority: "%s",\n oidcClientId: "%s"\n};\n' \
"$oidc_authority" "$oidc_client_id" > /tmp/runtime-config.js