feat: wire native Codex UI as /console entry, keep classic console at /console-classic
ci / test (push) Successful in 45m25s
ci / test (push) Successful in 45m25s
- Vendor codex-ui-stack host/ as cloud/codex-ui-host/ (original/ not vendored, 650MB) - Bridge emulates 7 methods missing in codex 0.164.0-alpha.9, exposes 29 experimental-protocol methods (150 -> 179), Linux binary candidates, read-only POST /__codex_git - GET /console 302s to the UI host (:8095) when reachable, else falls back to the classic React console; GET /console-classic always serves it - Alignment tables: docs/codex-native-ui-alignment.md - Tests: test_console 7, new test_codex_ui_host 4, handler method pin 247 -> 249
This commit is contained in:
1 parent
41f3985248
commit
3e0ff898e0
20 files changed
+3018
-24
No files matched your search
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
# Start the standalone original-UI web host in development mode.
|
||||
#
|
||||
# ./start.sh UI :8095
|
||||
# UI_PORT=9000 ./start.sh custom port
|
||||
# node verify.mjs --deep run the self-check in another shell
|
||||
#
|
||||
# The app-server binary ships inside ChatGPT.app; set CODEX_APP_SERVER_BIN
|
||||
# if it lives elsewhere. There is no orchestrator/API layer in this stack.
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
UI_PORT="${UI_PORT:-8095}"
|
||||
|
||||
export CODEX_WEB_PORT="$UI_PORT"
|
||||
|
||||
echo "[stack] UI http://127.0.0.1:${UI_PORT}/"
|
||||
echo "[stack] test node ${ROOT}/verify.mjs --deep"
|
||||
|
||||
exec node "$ROOT/host/web-server.mjs" --port "$UI_PORT"
|
||||
Reference in new issue
Block a user