diff --git a/.agents/skills/lib_py/agents/adapters/agy.py b/.agents/skills/lib_py/agents/adapters/agy.py index 37c19aa..be06cce 100644 --- a/.agents/skills/lib_py/agents/adapters/agy.py +++ b/.agents/skills/lib_py/agents/adapters/agy.py @@ -17,7 +17,7 @@ class AgyAgentAdapter(BaseAgentAdapter): @property def exit_key(self) -> str: - return 'Exit' + return '/exit' @property def delegate_agent_key(self) -> str: diff --git a/.agents/skills/multi-agent-mux-stop/SKILL.md b/.agents/skills/multi-agent-mux-stop/SKILL.md index 4a1dd84..aecf773 100644 --- a/.agents/skills/multi-agent-mux-stop/SKILL.md +++ b/.agents/skills/multi-agent-mux-stop/SKILL.md @@ -28,7 +28,7 @@ Stop an agent's herdr session gracefully, resolve and store the conversation ID, - The `start_command` so a future `multi-agent-mux-create --session ` reproduces the same herdr spec The stop command is always **graceful by default**: -1. Sends exit keys to the agent TUI (`/exit` for Claude, `Exit` for Agy) and waits 3 seconds. +1. Sends exit keys to the agent TUI (`/exit` for Claude, `/exit` for Agy) and waits 3 seconds. 2. If still alive, issues `herdr kill-session` (SIGTERM) and waits 5 seconds. 3. If still alive, kills the pane PID via SIGKILL (`kill -9`) as a last resort. 4. Auto-captures the conversation ID into the row (`claude_session_id_own`/`agy_conversation_id_own`) before killing, ensuring the next resume uses a race-free tier-1 lookup. diff --git a/tests/test_a4_adapter_contract.py b/tests/test_a4_adapter_contract.py index 812c3ce..3b1ee65 100644 --- a/tests/test_a4_adapter_contract.py +++ b/tests/test_a4_adapter_contract.py @@ -72,7 +72,7 @@ def test_adapter_required_properties(): expected = { 'claude': ('Anthropic|Assistant|Chat|Welcome|Claude Code|Opus|Sonnet|Haiku', '/exit', 'claude-code', ('session_id', 'session_jsonl', 'session_size_bytes', 'session_lines')), - 'agy': ('Antigravity', 'Exit', 'antigravity-cli', ('conversation_id', 'conversation_db', 'conversation_brain_dir')), + 'agy': ('Antigravity', '/exit', 'antigravity-cli', ('conversation_id', 'conversation_db', 'conversation_brain_dir')), 'hermes': ('Hermes|Welcome to Hermes Agent|NOUS HERMES', '/exit', 'hermes-agent', ('session_id',)), 'grok': ('Grok|xAI|Assistant|❯|>>>', '/exit', 'grok-build', ('session_id', 'session_jsonl')), 'opencode': ('OpenCode|Chat|Ask anything|tab agents|ctrl\\+p|Build auto|commands', '/exit', 'opencode-cli', ('session_id',)),