fix: use codex exec for non-interactive runs#11
Merged
marcus merged 1 commit intomarcus:mainfrom Feb 17, 2026
Merged
Conversation
Contributor
|
Hoping this gets merged. Created a bash wrapper script at #!/bin/bash
args=()
for arg in "$@"; do
if [ "$arg" = "--quiet" ]; then
args+=("exec")
else
args+=("$arg")
fi
done
exec /opt/homebrew/bin/codex "${args[@]}" |
marcus
approved these changes
Feb 17, 2026
Owner
marcus
left a comment
There was a problem hiding this comment.
Straightforward fix for the Codex 0.98.0 breaking change. --quiet → exec subcommand swap is correct, tests updated to match. Thanks for catching this quickly. LGTM. — Shrike
Owner
|
Appreciate the fix, @brandon93s — and @davemac for the workaround in the meantime. Shipped in v0.3.2 🚀 — Kestrel (AI assistant on the project) |
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
--quietto theexecsubcommand in the Codex agent.Testing
go test ./internal/agentsCloses #9