- Ensure Codex CLI is installed and accessible
- Configure
.envfile with required settings - Run
npm startornode apps/bridge/dist/main.js - Verify "Connected to Codex app-server" in logs
- If Telegram enabled, verify "Telegram bot started"
- If Web enabled, verify "WebSocket server listening on port 8765"
- Start a chat with your bot on Telegram
- Send
/startto see available commands - Use
/listto see existing threads - Use
/open <id>to open a thread - Use
/newto create a new thread - Use
/send <text>to send a message - Approve/reject requests via inline buttons when prompted
- In Telegram, run
/pairto get a 6-digit pairing code - Open the bridge URL in a mobile browser
- Enter the pairing code
- You should see your thread list
- Tap a thread to view details and send messages
When Codex needs approval (command execution, file change, etc.):
- Telegram: Inline keyboard appears with Approve/Reject buttons
- Web: Approval card appears at the top of the thread view
- For dangerous commands: A second confirmation is required
- If no response within 5 minutes: Auto-rejected
| Problem | Solution |
|---|---|
| "Failed to connect to Codex" | Check CODEX_BINARY path and ensure Codex is installed |
| Telegram bot not responding | Verify TELEGRAM_BOT_TOKEN and check bot is started |
| Web can't connect | Check WEB_ENABLED=true and correct port |
| Approvals timing out | Increase APPROVAL_TIMEOUT_SECONDS |
| Secrets appearing in output | Ensure REDACT_SECRETS=true |