File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ RUN npm install -g \
7474 tar@7.5.11 \
7575 @hono/node-server@1.19.11 \
7676 opencode-ai@1.2.18 \
77- @openai/codex@0.111 .0 \
77+ @openai/codex@0.117 .0 \
7878 @github/copilot@1.0.9
7979
8080# GitHub CLI
Original file line number Diff line number Diff line change @@ -56,3 +56,13 @@ FROM ${BASE_IMAGE}
5656```
5757
5858See ` sandboxes/openclaw/ ` for an example.
59+
60+ ## Codex authentication
61+
62+ For remote or headless OpenShell environments, if browser login hangs, try authenticating Codex with:
63+
64+ ``` bash
65+ codex login --device-auth
66+ ```
67+
68+ If device-code login is unreliable in your environment, you can authenticate on another machine and copy ~ /.codex/auth.json into the sandbox.
Original file line number Diff line number Diff line change @@ -172,3 +172,14 @@ network_policies:
172172 - { host: default.exp-tas.com, port: 443 }
173173 binaries :
174174 - { path: /usr/lib/node_modules/@github/copilot/node_modules/@github/**/copilot }
175+
176+ codex :
177+ name : codex
178+ endpoints :
179+ - { host: api.openai.com, port: 443 }
180+ - { host: auth.openai.com, port: 443 }
181+ - { host: chatgpt.com, port: 443 }
182+ binaries :
183+ - { path: /usr/bin/codex }
184+ - { path: /usr/bin/node }
185+ - { path: "/usr/lib/node_modules/@openai/**" }
You can’t perform that action at this time.
0 commit comments