fix(cli): forward Codex passthrough args#1523
Draft
davidrimshnick-pplx wants to merge 1 commit into
Draft
Conversation
davidrimshnick-pplx
force-pushed
the
psi/codex-passthrough-args
branch
from
July 14, 2026 03:23
177448b to
b42f5f5
Compare
davidrimshnick-pplx
force-pushed
the
psi/codex-passthrough-args
branch
from
July 14, 2026 03:24
b42f5f5 to
a74caf8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #1246 by adding Codex-only
--pass-through support for users who need to forward Codex CLI flags such as--dangerously-bypass-approvals-and-sandbox.Changes
happy codexarguments at the first--, keeping Happy-owned flags before the delimiter and forwarding only the trailing args to Codex.codex app-server --listen stdio://launch before theapp-serversubcommand, matching Codex global option ordering.happy codexbehavior when no delimiter is provided.Validation
NPM_CONFIG_MANAGE_PACKAGE_MANAGER_VERSIONS=false pnpm --filter @slopus/happy-wire buildNPM_CONFIG_MANAGE_PACKAGE_MANAGER_VERSIONS=false pnpm --filter happy exec vitest run src/codex/cliArgs.test.ts src/commands/codexCommand.test.ts src/codex/codexAppServerClient.test.tsNPM_CONFIG_MANAGE_PACKAGE_MANAGER_VERSIONS=false pnpm --filter happy typecheckNPM_CONFIG_MANAGE_PACKAGE_MANAGER_VERSIONS=false pnpm --filter happy build