Repository navigation
claudecode-plugin-v0.8.0
@timeplus/agentguard-claudecode-plugin 0.8.0.
What's Changed
- Sub-agents that end without a
SubagentStophook are reported (#309, #329). Claude Code fires neitherSubagentStartnorSubagentStopfor some foreground sub-agents (web-fetch). When theAgenttool call of such a sub-agent completes, the plugin now sends asubagent_endedrow built from the tool result (event_data.synthetic = true) and the sub-agent'sllm_callrows. - A resumed sub-agent only sends its new requests. The plugin keeps how many requests it sent for each sub-agent, so no request is sent twice.
- Internal helpers are marked. The
subagent_endedrow of a helper such as the compaction summarizer hasevent_data.internal_helper = true. - The README and
docs/cim.mdsay how to find the start and end of a sub-agent.
Upgrade notes
- New optional setting
AGENTGUARD_STATE_DIR: where the plugin keeps what it already sent for each sub-agent. Default:agentguard-claudecodein the system temp directory; removed onSessionEnd. - A consumer that counts
subagent_endedrows now also sees the synthetic ones; filter onevent_data.syntheticto tell them apart.
Full Changelog: claudecode-plugin-v0.7.1...claudecode-plugin-v0.8.0