Skip to content

Expose execution mode in hook listings - #37538

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9c9f2890798fe417face76c15847616b2dea9db4
Aug 8, 2026
Merged

Expose execution mode in hook listings#37538
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9c9f2890798fe417face76c15847616b2dea9db4

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 8, 2026

Copy link
Copy Markdown

Expose execution mode in hook listings

What changed

  • Add executionMode to HookMetadata returned by hooks/list, with sync as the default for compatibility.
  • Propagate each discovered hook's sync or async mode through the app-server protocol and generated schemas.
  • Show the execution mode in the TUI hooks browser.

Testing

  • Cover async and default-sync modes in hooks/list tests and TUI snapshots.

## What changed

- Add `executionMode` to `HookMetadata` returned by `hooks/list`, with `sync` as the default for compatibility.
- Propagate each discovered hook's `sync` or `async` mode through the app-server protocol and generated schemas.
- Show the execution mode in the TUI hooks browser.

## Testing

- Cover async and default-sync modes in `hooks/list` tests and TUI snapshots.

GitOrigin-RevId: 9c9f2890798fe417face76c15847616b2dea9db4
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9c9f2890798fe417face76c15847616b2dea9db4 branch from fa9d1c5 to 3aae5d8 Compare August 8, 2026 04:58
@copyberry
copyberry Bot merged commit 3aae5d8 into main Aug 8, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9c9f2890798fe417face76c15847616b2dea9db4 branch August 8, 2026 04:59
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.