Files
hapi/cli/src/codex/runCodex.ts
T
weishu 0c4abcb3d1 feat(codex): share sessions across terminal and web
Use one native app-server for terminal, Web and phone clients while retaining the existing CLI and Runner lifecycle.

Synchronize native queues, permissions, question history and steering state; preserve explicit permission precedence and per-turn usage models. Resume inactive clear commands through Runner and reject independent child cold resumes.

Add shared-runtime regression tests, generated protocol fixtures and lifecycle documentation.
2026-09-12 10:59:17 +08:00

5 lines
287 B
TypeScript

// Codex has no local/remote handoff. Both surfaces share one isolated app-server;
// the owning terminal stops it on exit, while additional terminals only detach.
export { runSharedCodex as runCodex } from './shared/frontend';
export { emitReadyIfIdle } from './utils/emitReadyIfIdle';