Codex Remote lets you control codex app-server from a mobile or web client through a VS Code extension.
- VS Code extension: bridges VS Code and Codex
- Mobile/Web client: sends prompts and displays streamed responses
- Dedicated relay server: enables remote sessions outside the local network
- Protocol and setup docs: define how clients, relay, and extension communicate
- Open the Extensions view in VS Code (
Ctrl/Cmd+Shift+X) - Search for Codex Remote
- Install the extension published by jaloveeye
- Reload the window if VS Code asks you to do so
Use a packaged VSIX if you want to test a local build:
code --install-extension codex-remote-extension-<version>.vsix --forcecd codex-extension
npm install
npm run compilecodex --version
codex auth loginIf you want remote relay mode, set this in VS Code settings:
{
"codexRemote.relayServerUrl": "https://codex-relay.jaloveeye.com"
}- Install the VS Code extension
- Make sure Codex CLI is installed and authenticated locally
- Click the Codex Remote status bar item in VS Code
- Create or connect to a relay session ID (optional PIN)
- Open the mobile or web client and connect with the same session ID
- Send prompts and receive streamed Codex responses
- When available, choose agent mode, model, and reasoning effort from the client UI
- Deterministic merge tests (mobile app):
cd mobile-app
flutter test test/services/streaming_text_merge_test.dart- Live relay + extension roundtrip test (requires a connected PC extension):
npm run test:relay:live -- --relay https://codex-relay.jaloveeye.com- Relay trace smoke test (requires relay deployment with
/api/trace-events/batch):
npm run test:relay:trace:smoke -- --relay https://codex-relay.jaloveeye.comcodex-extension/— VS Code extensionmobile-app/— Flutter mobile/web clientcodex-relay-server/— relay server for remote sessionsPROTOCOL.md— message contract reference
Codex Remote는 VS Code 확장을 통해 모바일 또는 웹 클라이언트에서 codex app-server를 제어할 수 있게 해주는 프로젝트입니다.
- VS Code 확장: VS Code와 Codex를 연결합니다
- 모바일/웹 클라이언트: 프롬프트를 보내고 스트리밍 응답을 표시합니다
- 전용 릴레이 서버: 로컬 네트워크 밖에서도 원격 세션을 사용할 수 있게 합니다
- 프로토콜/설정 문서: 클라이언트, 릴레이, 확장 간 통신 방식을 설명합니다
- VS Code에서 확장 탭을 엽니다 (
Ctrl/Cmd+Shift+X) - Codex Remote를 검색합니다
- jaloveeye가 배포한 확장을 설치합니다
- 필요하면 VS Code 창을 다시 로드합니다
로컬 빌드를 테스트하려면 패키징된 VSIX를 사용할 수 있습니다:
code --install-extension codex-remote-extension-<version>.vsix --forcecd codex-extension
npm install
npm run compilecodex --version
codex auth login원격 릴레이 모드를 사용하려면 VS Code 설정에 아래 값을 지정하세요:
{
"codexRemote.relayServerUrl": "https://codex-relay.jaloveeye.com"
}- VS Code 확장을 설치합니다
- 로컬에 Codex CLI가 설치되어 있고 인증되었는지 확인합니다
- VS Code 상태바의 Codex Remote 항목을 클릭합니다
- 릴레이 세션 ID를 생성하거나 연결합니다 (선택: PIN)
- 모바일 또는 웹 클라이언트에서 같은 세션 ID로 연결합니다
- 프롬프트를 보내고 스트리밍 Codex 응답을 받습니다
- 지원되는 경우 클라이언트 UI에서 agent mode, model, reasoning effort를 선택합니다
- 결정적 병합 테스트(모바일 앱):
cd mobile-app
flutter test test/services/streaming_text_merge_test.dart- 실전 릴레이+익스텐션 라운드트립 테스트(PC 익스텐션 연결 필요):
npm run test:relay:live -- --relay https://codex-relay.jaloveeye.com- 릴레이 Trace 스모크 테스트(
/api/trace-events/batch배포 필요):
npm run test:relay:trace:smoke -- --relay https://codex-relay.jaloveeye.comcodex-extension/— VS Code 확장mobile-app/— Flutter 모바일/웹 클라이언트codex-relay-server/— 원격 세션용 릴레이 서버PROTOCOL.md— 메시지 규격 문서