Add Approve and Decline to Codex command and Task actions - #21
Open
safonin wants to merge 2 commits into
Open
Conversation
5 tasks
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.
What changed
Adds Approve and Decline to Codex command, plus a dedicated Task actions selector using the same handler and target settings. A short press answers one pending request.
Why
Fixes #16: existing custom profiles need physical Approve/Decline controls. Both selectors expose identical behavior. This uses an internal, versioned desktop IPC protocol and currently supports explicitly selected local tasks. Automatic global selection of the only pending request, remote approvals, Priority and Fixed task are not included. The branch starts after merged #17, #18 and #19.
Hardware verification
Current local version inventory:
Read-only live IPC checks during development verified initialization, owner discovery and request snapshots. Foreground Approve was user-tested on Neo in the development build. Physical background Approve/Decline remains unverified, and this extracted build has not been installed on the device. No live approval decisions were sent by automated checks.
Checks
pnpm run build— universal arm64/x86_64 helper and byte-identical bundled modules.pnpm run audit— release audit and license policy passed for 80 dependency versions; dependencies and lockfile unchanged.pnpm run check— 274 plugin tests + 11 reference-protocol tests, no failures or skips, native self-tests, localization/docs and Stream Deck validation passed.