You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0a6b95a
Browse filesBrowse the repository at this point in the historyBrowse files
feat: cloud workers for the codex runtime (remote-exec placements) (#123743)
* feat(gateway): add remote-exec cloud placements
* feat(codex): run cloud turns through remote exec
* fix(sandbox): quote ssh_config path directives containing whitespace
Crabbox lease keys default to ~/Library/Application Support/... on macOS;
unquoted IdentityFile/UserKnownHostsFile/CertificateFile arguments tokenize
on the space and fail as 'extra arguments'. Found via live remote-exec
cloud-worker proof.
* test: consolidate gateway maintenance schedule coverage
* fix(ci): invalidate plugin sdk declarations on state changes
Copy file name to clipboardExpand all lines: extensions/codex/src/app-server/auth-bridge.ts
+22-4Lines changed: 22 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -323,6 +323,8 @@ export async function resolveCodexAppServerPreparedAuthHandoff(params: {
323
323
agentDir?: string;
324
324
/** Required: an omitted scope would silently reintroduce prepared logins on native homes. */
325
325
homeScope: CodexAppServerHomeScope;
326
+
/** Remote execution must never rely on ambient or native-home credentials. */
327
+
requirePreparedAuth?: boolean;
326
328
config?: AuthProfileOrderConfig;
327
329
subscriptionProfileRequiredError: string;
328
330
subscriptionProfileUnusableError: string;
@@ -332,6 +334,11 @@ export async function resolveCodexAppServerPreparedAuthHandoff(params: {
332
334
// token logins, so a prepared OpenClaw handoff here would rewrite the account that
333
335
// Codex CLI and Desktop share. Native homes are verified, never logged into.
334
336
constusesNativeHome=params.homeScope==="user";
337
+
if(params.requirePreparedAuth&&usesNativeHome){
338
+
throwcreateCodexAppServerAuthError(
339
+
'Codex remote-exec cloud placement requires prepared OpenAI auth. Configure an OpenAI API-key, OAuth, or token profile and use appServer.homeScope="agent"; ambient credentials and native Codex auth are not allowed.',
0 commit comments