summaryrefslogtreecommitdiff
path: root/src/terminal/state.rs
AgeCommit message (Collapse)Author
2026-09-27feat: let agents report their own resume command (#4687)Can Celik
* feat: let agents report their own resume command * fix: keep reported resume commands tied to accepted sessions and current owners
2026-09-24fix: avoid inferring codex idle from terminal output (#4563)JJ Liebig
refs #4507
2026-09-22fix: preserve hook agent status across live handoff (#4493)Can Celik
2026-09-21fix: distinguish agent completion from startup and session changes (#4457)Can Celik
refs #3338 refs #3990 refs #3916
2026-09-21fix: preserve session layouts across shutdown and restore failures (#4400)Can Celik
* fix: preserve session layouts across shutdown and restore failures refs #4320 * test: update subscription fixture for pane restore errors --------- Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
2026-09-13fix: keep an agent name through a process-exit observation (#3574)caner-akca
A process-exit observation is not proof the agent is gone: the same observation can be wrong while the agent keeps running, and the name is the only handle its owner has on the pane. Detection uncertainty already preserves the name, so releasing it on the observation alone contradicts that contract and leaves a live agent unreachable by name with a rename as the only recovery. Free the name at the point the agent actually leaves the pane - a recorded exit with no agent detected any more - so a wrong observation costs nothing and a real exit still releases the name for reuse. refs #3225 Co-authored-by: JJ Liebig <jonathan.liebig@gmail.com>
2026-09-13fix: update grok session after new (#2683)akbash
* fix: update grok session after new refs #2681 * fix: avoid powershell args shadowing refs #2681 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
2026-09-06fix: prevent OpenCode child prompts from leaving status blocked (#3669)Mark Jaquith
Child permission and question reports omitted the session ID, clearing Herdr’s root session identity and preventing later lifecycle reports from clearing the blocked state. Track child-to-parent relationships and report prompt transitions with their root session ID, including for nested children. This preserves identity and lets existing ownership checks reject unrelated sessions. Add regression coverage for prompt routing and lifecycle transitions, and bump the OpenCode integration version to 11.
2026-09-04fix: persist Codex resume sessions at launch (#3617)JJ Liebig
refs #3517
2026-08-13feat: add qwen code detection and restore (#2743)Can Celik
refs #2730
2026-08-11fix: wait for agent prompt readiness (#2537)JJ Liebig
* fix: wait for agent prompt readiness refs #2410 * fix: return pane updates after tab bar command refs #2410 --------- Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-08-10fix: track opencode tui session selection (#2455)akbash
refs #2450 Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-08-01feat: add antigravity-cli integration (#2087)Ludovico Magnocavallo
* feat: add antigravity_cli integration harness Register the `antigravity_cli` target, resolve its configuration directory to `~/.gemini/antigravity-cli/`, wire target actions, and add lifecycle hook scripts for Unix and Windows. * feat: support session resume for antigravity-cli * fix: correct antigravity-cli hook config path, shape, and agent label Antigravity CLI reads global customizations from ~/.gemini/config, keys hooks.json by hook name, and only accepts the matcher/hooks wrapper for the tool events. The previous install wrote event arrays at the top level of ~/.gemini/antigravity-cli/hooks.json, which agy never reads and would reject anyway, so no Herdr hook ever ran. Session reports were dropped for a third reason: the hooks reported the agent as antigravity-cli, but the server normalizes that to the canonical label agy before matching, so is_official_agent_source never matched and agy --conversation resume was unreachable. - Resolve the config dir to ~/.gemini/config - Nest Herdr entries under a Herdr-owned "herdr" block that install rewrites and uninstall removes, leaving other named hooks untouched - Emit grouped entries for PreToolUse/PostToolUse and flat handler lists for PreInvocation/PostInvocation/Stop - Report the canonical agy label from both hook assets and match it in agent_resume - Compile-gate the hook asset constants and stop shadowing $args in the PowerShell hook - Document the real directory, that it must already exist, and the named-block behavior refs #1011 refs #1571 * fix: make antigravity-cli integration session-only antigravity cli cannot express lifecycle safely: there is no blocked event, postinvocation is skipped on interruption, and stop fires at the end of a turn rather than on process exit, which left stale state and released authority at the wrong time. report only the conversation on preinvocation and let screen detection own agent state. resume via `agy --conversation <id>` is unchanged. * fix: update antigravity session after conversation switch --------- Co-authored-by: Can Celik <ogulcancelik@gmail.com>
2026-07-25fix: harden hermes lifecycle detectionOgulcan Celik
2026-07-24fix: make known-agent exit process-ownedOgulcan Celik
refs #1792 refs #1648
2026-07-19feat: make agent automation a first-class cli primitiveOgulcan Celik
2026-07-17feat: harden named agent cli workflowsOgulcan Celik
refs #1525
2026-07-13feat: add configurable sidebar metadata tokensOgulcan Celik
2026-07-09fix: reanchor pi status after session replacement (#1189)Dillon Mulroy
* fix: reanchor pi status after session replacement refs #943 * fix: guard active pi sessions from nested startup refs #943 * fix: serialize pi session replacement reports refs #943
2026-07-04fix: allow foreground agent session takeoverOgulcan Celik
refs #943
2026-07-04feat: add mastracode integration (#788)Ward Peeters
* feat: add mastracode integration refs #337 Co-authored-by: Mastra Code (openai/gpt-5.5) <noreply@mastra.ai> Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-07-02fix: replace stale agent session from foreground reportsOgulcan Celik
refs #943
2026-06-30fix: recover omp resume and blocked statesOgulcan Celik
refs #879
2026-06-30fix: keep powershell panes alive after agent ctrl-cOgulcan Celik
refs #860
2026-06-24fix: scope opencode hook to main agent and adopt new sessionsOgulcan Celik
refs #765
2026-06-21fix: protect root agent restore sessionsOgulcan Celik
refs #712
2026-06-19fix: reanchor lifecycle hook generationsOgulcan Celik
refs #684
2026-06-17feat: sort agent panel by priorityOgulcan Celik
refs #318
2026-06-16fix: restore omp sessions after same-pane restartOgulcan Celik
refs #614
2026-06-15feat: add devin cli detection and restore support (#622)Eric Yue
* feat: add devin cli detection and restore support refs #606 * fix: keep devin integration session-only --------- Co-authored-by: Ogulcan Celik <ogulcancelik@gmail.com>
2026-06-15fix: preserve claude session rotationsOgulcan Celik
refs #620
2026-06-10fix: remove pty taint from agent detectionOgulcan Celik
2026-06-10feat: distribute agent detection manifestsOgulcan Celik
2026-06-09feat: update agent lifecycle integrationsOgulcan Celik
2026-06-09feat: use pty-first agent detectionOgulcan Celik
2026-06-08fix: ignore nested agent session id clobbersOgulcan Celik
refs #511
2026-06-07feat: add native windows beta supportOgulcan Celik
2026-06-06fix: debounce droid working detectionOgulcan Celik
refs #488
2026-06-03fix: preserve status in transcript viewersOgulcan Celik
2026-06-02feat: make claude codex opencode hooks session-onlyOgulcan Celik
2026-06-01fix: restore agents through pane shellsOgulcan Celik
2026-05-31fix: keep codex visible approval review workingOgulcan Celik
2026-05-30refactor: split agent detection by agentOgulcan Celik
Move screen detection into per-agent modules and keep visible-state arbitration centralized in terminal state. Tighten Codex prompt-scoped working detection and Claude hook/screen recovery for stale blocked and idle reports. Add a focused just recipe for single-test runs. refs #349 refs #352
2026-05-29fix: keep restored agent panes after exitOgulcan Celik
2026-05-28fix: preserve live handoff terminal stateOgulcan Celik
2026-05-26feat: add pane metadata reportingOgulcan Celik
refs #36
2026-05-23feat: restore agent sessionsOgulcan Celik
refs #233
2026-05-22fix: arbitrate stale agent state evidenceOgulcan Celik
refs #249
2026-05-19feat: support hermes agent integrationOgulcan Celik
refs #144
2026-05-17fix: detect Grok Build agent stateOgulcan Celik
refs #133