Skip to content

Fix Codex mobile approval request handling#833

Open
SharingMan wants to merge 1 commit intoslopus:mainfrom
SharingMan:codex/fix-codex-mobile-approval-compat
Open

Fix Codex mobile approval request handling#833
SharingMan wants to merge 1 commit intoslopus:mainfrom
SharingMan:codex/fix-codex-mobile-approval-compat

Conversation

@SharingMan
Copy link

Summary

  • map Happy permission decisions to Codex elicitation action values
  • fall back to the latest exec_approval_request metadata when Codex omits approval fields from the elicitation payload
  • handle patch approval requests via cached apply_patch_approval_request / patch_apply_begin metadata and cover both cases with tests

Testing

  • node ../../node_modules/vitest/vitest.mjs run src/codex/__tests__/codexMcpClient.test.ts
  • corepack yarn workspace happy-coder typecheck (fails on the current repo baseline with missing @slopus/happy-wire typings / existing sessionProtocol export errors, unrelated to this patch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant