Repository navigation
Add agent monitoring and fix activity after CLI exit - #1
Merged
Merged
Conversation
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.
Broschy now monitors local Codex CLI, Claude Code, and OpenCode sessions from an Agents tab and the compact notch. The Needs you queue collects questions, permission requests, errors, and responses ready for review; session actions copy a resume command, open the project folder, and mark a response reviewed.
The monitor also handles a missing exit event: Codex CLI 0.144.5 does not dispatch SessionEnd or Interrupt hooks, so closing its terminal could previously leave Working visible for 30 minutes. Hooks now capture the specific provider process ID and start time. When that process exits, active sessions disappear even without an exit hook. PID reuse or another open Codex session cannot keep the old session active. Unverified activity expires after 75 seconds, verified working activity after 120 seconds, and waiting requests after 30 minutes. Metadata updates do not refresh activity.
Includes reversible integration setup with configuration backups, metadata-only snapshots, English documentation and sample screenshots, and version 0.7.1. Codex desktop conversation monitoring remains unverified; this version does not send prompts, approve tools, or stop agents.
Validation: