hermes-agent/hermes_cli/subcommands
Teknium ff190a6462 Inspired by Copilot CLI: plugin auto-update at session start + update --all
Copilot CLI v1.0.79 added an autoUpdate marketplace setting that refreshes
plugins at session start. Hermes adaptation:

- hermes plugins update --all: sweep every git-installed plugin; pinned
  plugins and non-git dirs are skipped with a note instead of aborting.
- hermes plugins autoupdate <name> [on|off]: per-plugin opt-in flag stored
  in the install metadata sidecar (pinned/non-git plugins are rejected).
- Startup sweep: opted-in plugins are git-pulled on the background
  plugin-discovery thread AFTER discovery completes, throttled to once per
  24h via a stamp file. The running session keeps the code it already
  imported; updates take effect next session (stale bytecode cleared),
  so the live registry and prompt cache are never touched.
- Non-interactive updates leave newly declared capabilities ungranted
  (fail closed), same as the existing update path.
- Docs + 20 new tests (real-git E2E for pull/revision/bytecode/throttle).
2026-08-13 20:12:39 -07:00
..
__init__.py
_shared.py
acp.py
approvals.py
auth.py
backup.py
claw.py
config.py
console.py
cron.py
dashboard.py
debug.py
doctor.py
dump.py
gateway.py
gui.py
hooks.py
import_agent.py
import_cmd.py
insights.py
login.py
logout.py
logs.py
mcp.py
memory.py
model.py
monitoring.py
pairing.py
pause.py
plugins.py Inspired by Copilot CLI: plugin auto-update at session start + update --all 2026-08-13 20:12:39 -07:00
profile.py
prompt_size.py
security.py
setup.py
skills.py
skin.py
slack.py
status.py
sync.py
tools.py
uninstall.py
update.py
verify.py
version.py
webhook.py
whatsapp.py