Repository navigation
claudecode-plugin-v0.10.0
@timeplus/agentguard-claudecode-plugin 0.10.0.
What's Changed
- Ingest with a Timeplus API key (#337, #339). New optional setting
AGENTGUARD_API_KEY, so no password has to be kept on the agent host. - The key is used only with
AGENTGUARD_INGEST_API=restandAGENTGUARD_TIMEPLUS_URLpointing at the Timeplus REST API (port 8000), version 3.5.4 or later. The plugin then sendsX-Api-Keyand no username or password. - In
timeplusdmode (port 3218 takes no key) the key is not sent: the username and password are used, and the plugin says on stderr that the key is ignored. A key does not change the ingest mode. - Without a key nothing changes.
Upgrade notes
- Create the key as the Timeplus user the events should be written as, with the
ingestscope. It can be limited to the streamag.agentguard_hook_events. - A key stops working when it is revoked or expires, or when its owner changes their password. Ingest then fails with 401, reported on stderr, and the agent is not affected; create a new key.
- A REST API older than 3.5.4 answers a key with 401.
- Checked against a 3.5.4 REST API: ingest with a key, a key limited to another stream (403), a revoked and a malformed key (401), no key, and a key in
timeplusdmode. Not checked: an expired key, and a key after a password change. agents/claudecode/Makefile(local dev install) now writesAGENTGUARD_INGEST_API, andAGENTGUARD_API_KEYwhen one is given.
Full Changelog: claudecode-plugin-v0.9.0...claudecode-plugin-v0.10.0