mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-12-03 15:42:16 +00:00
The approval-drain loop in CodexAppServerSession.run_turn drains up to 8 pending notifications to keep per-turn state current before answering a server-initiated approval request — but never forwarded them to the on_event display hook. Tool bubbles for items drained alongside an approval (e.g. the item/started for the very command awaiting approval) silently disappeared. Mirror the main notification path's on_event invocation in the drain loop. Regression test demonstrates RED→GREEN. Grafted from PR #26541 by @simpolism — the earliest submission of the codex app-server display-bridge family (May 15). Confirmed independently by #64698 and #65412. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| anthropic.py | ||
| base.py | ||
| bedrock.py | ||
| chat_completions.py | ||
| codex.py | ||
| codex_app_server.py | ||
| codex_app_server_session.py | ||
| codex_event_projector.py | ||
| hermes_tools_mcp_server.py | ||
| types.py | ||