Feature Request: Built-in Remote Session Management and Interactive Prompts
I would like to request a native feature that allows users to interact with active CLI sessions from a separate device, specifically for approving file modifications and monitoring agent progress while away from the keyboard.
Use Case:
The CLI often executes lengthy tasks that periodically require the user to approve a plan or authorize a file overwrite. If the user is away from their desk, the task pauses indefinitely. A native remote access feature would allow users to check in on the agent's progress via their phone or tablet and unblock the agent by approving prompts on the go.
Proposed Solution:
A built-in capability to detach the UI from the execution engine, perhaps by running a local web server alongside the CLI process. This interface would:
- Display the current execution log and active tool calls.
- Surface confirmation dialogues (e.g., "Allow Codex to run this command? Yes/No") to the remote client.
- Provide secure authentication (e.g., a one-time token or password) to prevent unauthorized local network access.
Alternatives Considered:
The community is currently building custom JSON-RPC wrappers, using third-party web clients, or setting up complex Python servers to expose ttyd sessions. Building this capability natively into the CLI would standardize the experience and ensure the connection is handled securely.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗