Skip to content

claudecode-plugin-v0.9.0

Choose a tag to compare

@gangtao gangtao released this 30 Nov 16:48
9b38eac

@timeplus/agentguard-claudecode-plugin 0.9.0.

What's Changed

  • Each llm_call row says what the model answered (#330, #331). New event_data.response: the text of the response (cut to 4,000 characters, with its full length in text_chars), the tool calls it asked for by id and name, and the size of thinking (thinking_tokens, thinking_duration_ms). The id of a tool call is the tool_use_id of the tool rows, so a tool call can be linked to the model request that asked for it.
  • Request settings. New event_data.request: query_source, max_tokens, effort, thinking (the thinking mode) and requested_model.
  • More usage detail. event_data.usage also has cache_creation (cache writes by 1h and 5m lifetime), server_tool_use, service_tier, speed and inference_geo, when the transcript reports them.
  • Sub-agent requests get the same fields.

Upgrade notes

  • New optional settings: AGENTGUARD_LLM_CONTENT (default true; false sends no response text, only its length and the other fields) and AGENTGUARD_LLM_CONTENT_CHARS (default 4000, the limit of the response text).
  • The response text is sent as the model wrote it, without redaction. A deployment that must not store model text sets AGENTGUARD_LLM_CONTENT=false.
  • Thinking text is not sent: Claude Code stores a thinking block without its text.
  • New fields only. The existing fields of an llm_call row are unchanged; a field the transcript does not record is left out (older Claude Code versions).
  • A row is larger: about 0.9 KB at the median and up to about 4 KB, from about 0.4 KB.

Full Changelog: claudecode-plugin-v0.8.0...claudecode-plugin-v0.9.0