Files
hermes-agent/plugins/disk-cleanup/plugin.yaml
kshitijk4poor ea2f4a688e fix(disk-cleanup): declare pre_tool_call in provides_hooks; tidy owner keying
The plugin now registers a pre_tool_call hook, but plugin.yaml still listed
only post_tool_call/on_session_end, so `plugin doctor` warned "registration
adds hook 'pre_tool_call' not listed in provides_hooks" and catalog/capability
listings under-reported what the plugin hooks.

Also: README notes calls without a tool_call_id (execute_code RPC) are not
tracked; a single _owner() helper keys both _pre_call and
_recent_test_tracks so the two can't drift; drop the unused `result`
parameter from the post hook (still absorbed by **_); trim the _pre_call
comment.
2026-10-02 00:55:59 +05:30

9 lines
345 B
YAML

name: disk-cleanup
version: 2.0.0
description: "Auto-track and clean up ephemeral files (test scripts, temp outputs, cron logs) created during Hermes sessions. Runs via plugin hooks — no agent action required."
author: "@LVT382009 (original), NousResearch (plugin port)"
provides_hooks:
- pre_tool_call
- post_tool_call
- on_session_end