Skip to content

Refine hook activity rendering in the TUI - #42118

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4c52b7a736e9e466e109107eb3c04a39d089597f
Sep 1, 2026
Merged

Refine hook activity rendering in the TUI#42118
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/4c52b7a736e9e466e109107eb3c04a39d089597f

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026

Copy link
Copy Markdown

Refine hook activity rendering in the TUI

What changed

  • Show revealed running hooks in the bottom activity area instead of the conversation viewport or transcript overlay. Fold the hook message into the active status row when space permits and reflow it below the row without displacing background-process controls or status details.
  • Keep fast hooks hidden, collapse concurrent hooks to a shared summary when needed, and support hook activity outside an active agent turn.
  • Simplify durable hook output into user-facing messages and actionable failure, block, and stop states. Suppress model-facing context and quiet successful completions from all TUI history surfaces.

Testing

  • Add lifecycle, layout, narrow-width, multi-width Unicode, transcript, restart, and completion-output coverage for hook status and history rendering.

## What changed

- Show revealed running hooks in the bottom activity area instead of the conversation viewport or transcript overlay. Fold the hook message into the active status row when space permits and reflow it below the row without displacing background-process controls or status details.
- Keep fast hooks hidden, collapse concurrent hooks to a shared summary when needed, and support hook activity outside an active agent turn.
- Simplify durable hook output into user-facing messages and actionable failure, block, and stop states. Suppress model-facing context and quiet successful completions from all TUI history surfaces.

## Testing

- Add lifecycle, layout, narrow-width, multi-width Unicode, transcript, restart, and completion-output coverage for hook status and history rendering.

GitOrigin-RevId: 4c52b7a736e9e466e109107eb3c04a39d089597f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/4c52b7a736e9e466e109107eb3c04a39d089597f branch from a62530f to bc39b0e Compare September 1, 2026 19:07
@copyberry
copyberry Bot merged commit bc39b0e into main Sep 1, 2026
18 of 26 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/4c52b7a736e9e466e109107eb3c04a39d089597f branch September 1, 2026 19:08
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 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.

3 participants