better-dsh 0.2.5-c → 0.2.5-e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +3 -0
- package/docs/20_specs/ast/spec.md +26 -3
- package/docs/20_specs/dvc/spec.md +20 -1
- package/docs/50_test-reports/2026-10-03-ast-engine-deomp-4999/345/256/236/346/265/213/346/212/245/345/221/212.md +325 -0
- package/docs/50_test-reports/2026-10-03-better-dsh-tool-surface-repl-dvc-browser-ast-lsp-4999/345/256/236/346/265/213/346/212/245/345/221/212.md +1 -1
- package/docs/50_test-reports/2026-10-03-docs-packaging-trim/345/256/236/346/265/213/346/212/245/345/221/212.md +82 -0
- package/docs/50_test-reports/2026-10-03-remote-BYO-PTY-label/351/207/215/346/236/204/347/254/254/344/270/200/344/272/272/347/247/260/345/256/236/346/265/213/346/212/245/345/221/212.md +1 -1
- package/docs/50_test-reports/2026-10-04-ast-engine-deomp-0.2.5-d/345/217/221/345/270/203/351/252/214/346/224/266/346/212/245/345/221/212.md +220 -0
- package/docs/50_test-reports/2026-10-04-ast_grep/344/270/216ast_edit/345/245/221/347/272/246/344/270/216/350/276/271/347/225/214/345/256/236/346/265/213/346/212/245/345/221/212.md +151 -0
- package/docs/dev-test-environment-notes.md +137 -0
- package/docs/specs/ast/spec.md +26 -3
- package/docs/specs/ast-engine-deomp/spec.md +170 -0
- package/docs/specs/authentication-only-web-admission/spec.md +51 -0
- package/docs/specs/docs-packaging-trim/spec.md +110 -0
- package/docs/specs/dvc/spec.md +20 -1
- package/docs/superpowers/plans/2026-10-03-ast-engine-deomp.md +1214 -0
- package/docs/superpowers/plans/2026-10-03-docs-packaging-trim.md +181 -0
- package/lib/BrowserWebSocketTransport-D1aFReu_.js +4 -0
- package/lib/{BrowserWebSocketTransport-FbPg_VFT.js → BrowserWebSocketTransport-wm99h94r.js} +1 -1
- package/lib/LaunchOptions-3peHoOAx.js +4 -0
- package/lib/{LaunchOptions-RNO1YIoJ.js → LaunchOptions-DXdeJis3.js} +1 -1
- package/lib/NodeWebSocketTransport-BRLjmu2R.js +4 -0
- package/lib/{NodeWebSocketTransport-BdrEPUFe.js → NodeWebSocketTransport-D9ysYGLM.js} +9 -4
- package/lib/ast-assets/ast-grep.wasm +0 -0
- package/lib/ast-assets/tree-sitter-bash.wasm +0 -0
- package/lib/ast-assets/tree-sitter-c.wasm +0 -0
- package/lib/ast-assets/tree-sitter-cpp.wasm +0 -0
- package/lib/ast-assets/tree-sitter-css.wasm +0 -0
- package/lib/ast-assets/tree-sitter-go.wasm +0 -0
- package/lib/ast-assets/tree-sitter-html.wasm +0 -0
- package/lib/ast-assets/tree-sitter-javascript.wasm +0 -0
- package/lib/ast-assets/tree-sitter-json.wasm +0 -0
- package/lib/ast-assets/tree-sitter-python.wasm +0 -0
- package/lib/ast-assets/tree-sitter-ruby.wasm +0 -0
- package/lib/ast-assets/tree-sitter-rust.wasm +0 -0
- package/lib/ast-assets/tree-sitter-tsx.wasm +0 -0
- package/lib/ast-assets/tree-sitter-typescript.wasm +0 -0
- package/lib/ast-assets/tree-sitter-yaml.wasm +0 -0
- package/lib/ast-assets/tree-sitter.wasm +0 -0
- package/lib/{bidi-D0POLRy7.js → bidi-CwtLGgcA.js} +3 -3
- package/lib/compaction/index.d.ts +1 -1
- package/lib/failover/index.d.ts +1 -1
- package/lib/fs-aware/sandbox-plugin.js +2 -2
- package/lib/{index-browser-rqlXyoed.js → index-browser-Bp3vxHC3.js} +6 -6
- package/lib/index.d.ts +1 -1
- package/lib/{lsp-server-registry-LUjrrLxk.js → lsp-server-registry-BcdkHROD.js} +1 -1
- package/lib/{main-Dlv0Jm8U.js → main-BXwPLuYr.js} +1 -1
- package/lib/mobile/plugin.d.ts +2 -2
- package/lib/mobile/plugin.js +1 -1
- package/lib/{puppeteer-core-BIIJGWPE.js → puppeteer-core-Bliv_vNf.js} +8 -8
- package/lib/remote/plugin.d.ts +1 -1
- package/lib/url-schemes/index.d.ts +11 -11
- package/lib/url-schemes/index.js +1191 -389
- package/lib/wasm_bg-CNXhHjVg.js +1291 -0
- package/lib/web-password.d.ts +7 -7
- package/lib/web-tree-sitter-CPrPD4J2.js +3440 -0
- package/lib/{web-trust-CL9P6jVe.d.ts → web-trust-D9jFaQbH.d.ts} +15 -8
- package/lib/{web-trust-B27wcZEw.js → web-trust-jR0o70JS.js} +35 -3
- package/lib/web-trust.d.ts +1 -1
- package/lib/web-trust.js +1 -1
- package/lib/{wrap-0VA0uFx8.js → wrap-kTohEeis.js} +115 -115
- package/package.json +40 -18
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/MdxPage-CTY7atqe.js +0 -11
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/extract_omp.mjs +0 -42
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/fetch_pi.py +0 -52
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/jsx-runtime-BHwPObl3.js +0 -13
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/omp_extracted.json +0 -1
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/omp_pages.txt +0 -35
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/package.json +0 -1
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/pi_convert.py +0 -49
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/pi_pages.txt +0 -30
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/.tools/serialize_omp.py +0 -250
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/README.md +0 -80
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/Overview.md +0 -88
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/acp.md +0 -151
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/advisor.md +0 -185
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/agents-and-roles.md +0 -168
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/approvals.md +0 -200
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/cli.md +0 -381
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/code-intelligence.md +0 -225
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/collab.md +0 -207
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/commit.md +0 -169
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/compaction.md +0 -195
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/computer.md +0 -224
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/context-files.md +0 -184
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/custom-models.md +0 -284
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/custom-tools.md +0 -248
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/debugging.md +0 -254
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/editing.md +0 -157
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/env.md +0 -552
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/extension-authoring.md +0 -378
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/files.md +0 -144
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/github.md +0 -175
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/goal.md +0 -156
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/handoff.md +0 -139
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/hooks.md +0 -257
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/keybindings.md +0 -204
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/magic-keywords.md +0 -135
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/marketplace.md +0 -269
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/mcp-authoring.md +0 -243
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/mcp.md +0 -260
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/memory.md +0 -306
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/modes.md +0 -214
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/pages.txt +0 -56
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/plan.md +0 -126
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/plugins.md +0 -287
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/prewalk.md +0 -122
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/prompt-templates.md +0 -149
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/providers.md +0 -229
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/quickstart.md +0 -117
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/review.md +0 -248
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/roles.md +0 -247
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/rpc.md +0 -523
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/sdk.md +0 -260
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/secrets.md +0 -199
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/security.md +0 -260
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/session-format.md +0 -254
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/session-tree.md +0 -135
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/sessions.md +0 -223
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/settings.md +0 -290
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/skills.md +0 -187
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/slash.md +0 -328
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/subagent-authoring.md +0 -165
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/subagents.md +0 -149
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/themes.md +0 -230
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/tools.md +0 -120
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/ttsr.md +0 -242
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/using.md +0 -214
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/vibe.md +0 -187
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/omp/web.md +0 -233
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/compaction.md +0 -427
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/containerization.md +0 -162
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/custom-provider.md +0 -782
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/development.md +0 -96
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/environment-variables.md +0 -104
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/extensions.md +0 -3058
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/index.md +0 -89
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/json.md +0 -105
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/keybindings.md +0 -244
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/llama-cpp.md +0 -106
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/models.md +0 -587
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/packages.md +0 -234
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/pages.txt +0 -30
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/prompt-templates.md +0 -101
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/providers.md +0 -327
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/quickstart.md +0 -172
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/rpc.md +0 -1679
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/sdk.md +0 -1239
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/security.md +0 -64
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/session-format.md +0 -454
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/sessions.md +0 -150
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/settings.md +0 -374
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/shell-aliases.md +0 -18
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/skills.md +0 -241
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/terminal-setup.md +0 -199
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/termux.md +0 -135
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/themes.md +0 -328
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/tmux.md +0 -68
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/tui.md +0 -965
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/usage.md +0 -315
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/pi-and-omp/pi/windows.md +0 -44
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/src-scripts/crawl.py +0 -103
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/src-scripts/docs-tree.json +0 -82965
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/src-scripts/download.py +0 -56
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/src-scripts/gen_mapping.py +0 -125
- package/docs/80_upstream-docs-and-skills/dsh-dev-skill/src-scripts/pages.json +0 -232
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/api-plugins.json +0 -1
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/api-skills.json +0 -4
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/_category_.json +0 -8
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/acp-internals.md +0 -181
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/adding-platform-adapters.md +0 -788
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/adding-providers.md +0 -464
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/adding-tools.md +0 -211
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/agent-loop.md +0 -242
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/architecture.md +0 -279
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/billing-lifecycle.md +0 -184
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/browser-provider-plugin.md +0 -153
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/browser-supervisor.md +0 -198
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/chronos-managed-cron-contract.md +0 -227
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/cli-internals.md +0 -85
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/codebase-ownership.md +0 -34
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/completion-backlog-delivery.md +0 -52
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/context-compression-and-caching.md +0 -642
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/context-engine-plugin.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/contributing.md +0 -303
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/creating-skills.md +0 -438
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/cron-internals.md +0 -380
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/desktop-plugin-sdk.md +0 -952
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/egress-internals.md +0 -319
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/extending-the-cli.md +0 -192
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/gateway-internals.md +0 -297
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/gateway-monitoring.md +0 -309
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/gateway-session-lifecycle.md +0 -621
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/image-gen-provider-plugin.md +0 -316
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/memory-provider-plugin.md +0 -452
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/micro-compaction.md +0 -406
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/middleware.md +0 -266
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/model-provider-plugin.md +0 -327
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/multiplexing-gateway.md +0 -228
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/observer-hooks.md +0 -331
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/plugin-llm-access.md +0 -506
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/plugins/index.md +0 -1775
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/programmatic-integration.md +0 -212
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/prompt-assembly.md +0 -328
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/provider-runtime.md +0 -222
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/relay-connector-contract.md +0 -790
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/relay-shared-metrics.md +0 -487
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/secret-source-plugin.md +0 -192
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/session-storage.md +0 -523
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/state-db-recovery.md +0 -107
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/streaming-tts.md +0 -98
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/subagent-lifecycle-api.md +0 -61
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/terminal-environment-plugin.md +0 -140
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/tools-runtime.md +0 -250
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/trajectory-format.md +0 -232
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/video-gen-provider-plugin.md +0 -231
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/web-search-provider-plugin.md +0 -260
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/developer-guide/worktree-ui-dev.md +0 -168
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/_category_.json +0 -8
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/installation.md +0 -200
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/learning-path.md +0 -169
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/nix-setup.md +0 -1234
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/platform-support.md +0 -50
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/quickstart.md +0 -399
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/termux.md +0 -301
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/getting-started/updating.md +0 -374
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/_category_.json +0 -6
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/agent-email-address.md +0 -93
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/automate-with-cron.md +0 -292
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/automation-blueprints.md +0 -595
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/aws-bedrock.md +0 -196
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/azure-foundry.md +0 -334
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/cron-script-only.md +0 -247
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/cron-troubleshooting.md +0 -235
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/daily-briefing-bot.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/delegation-patterns.md +0 -242
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/desktop-native-signin.md +0 -125
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/github-pr-review-agent.md +0 -303
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/google-gemini.md +0 -270
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/google-vertex.md +0 -148
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/local-llm-on-mac.md +0 -252
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/local-ollama-setup.md +0 -338
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/manage-hermes-cloud-with-mcp.md +0 -176
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/microsoft-graph-app-registration.md +0 -180
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/migrate-from-openclaw.md +0 -252
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/minimax-oauth.md +0 -226
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/oauth-over-ssh.md +0 -172
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/operate-teams-meeting-pipeline.md +0 -295
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/pipe-script-output.md +0 -249
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/python-library.md +0 -333
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/run-hermes-with-nous-portal.md +0 -276
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/run-nemotron-3-ultra-free.md +0 -123
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/secure-hermes-on-a-work-machine.md +0 -182
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/team-telegram-assistant.md +0 -441
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/tips.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/troubleshooting-agent-quality.md +0 -145
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/use-mcp-with-hermes.md +0 -541
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/use-soul-with-hermes.md +0 -264
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/use-voice-mode-with-hermes.md +0 -473
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/webhook-github-pr-review.md +0 -336
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/work-with-skills.md +0 -290
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/guides/xai-grok-oauth.md +0 -243
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/index.mdx +0 -155
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/integrations/buzz.md +0 -57
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/integrations/index.md +0 -126
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/integrations/nous-portal.md +0 -286
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/integrations/providers.md +0 -1681
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/_category_.json +0 -8
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/automation-blueprints-catalog.mdx +0 -36
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/cli-commands.md +0 -1900
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/cli-symbols.md +0 -126
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/environment-variables.md +0 -952
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/faq.md +0 -874
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/mcp-config-reference.md +0 -439
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/model-catalog.md +0 -121
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/optional-skills-catalog.md +0 -303
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/profile-commands.md +0 -544
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/skills-catalog.md +0 -132
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/slash-commands.md +0 -336
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/tools-reference.md +0 -399
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/reference/toolsets-reference.md +0 -171
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/_category_.json +0 -8
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/bot-mode.md +0 -309
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/checkpoints-and-rollback.md +0 -283
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/cli.md +0 -591
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/configuration.md +0 -2901
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/configuring-models.md +0 -414
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/desktop.md +0 -728
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/docker.md +0 -896
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/egress/index.md +0 -10
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/egress/iron-proxy.md +0 -570
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/egress/network-isolation.md +0 -201
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/_category_.json +0 -8
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/acp.md +0 -407
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/api-server.md +0 -810
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/batch-processing.md +0 -230
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/browser.md +0 -901
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/built-in-plugins.md +0 -366
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/code-execution.md +0 -319
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/codex-app-server-runtime.md +0 -460
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/computer-use.md +0 -636
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/context-files.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/context-references.md +0 -142
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/credential-pools.md +0 -308
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/credential-vault.md +0 -122
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/cron.md +0 -1262
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/curator.md +0 -409
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/delegation.md +0 -664
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/deliverable-mode.md +0 -134
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/document-extraction.md +0 -58
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/extending-the-dashboard.md +0 -927
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/fallback-providers.md +0 -444
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/goals.md +0 -293
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/heartbeat.md +0 -68
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/honcho.md +0 -276
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/hooks.md +0 -2007
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/image-generation.md +0 -347
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/kanban-multi-gateway.md +0 -52
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/kanban-tutorial.md +0 -310
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/kanban-worker-lanes.md +0 -142
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/kanban.md +0 -1327
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/loops.md +0 -122
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/lsp.md +0 -307
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/mcp.md +0 -957
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/memory-providers.md +0 -699
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/memory.md +0 -466
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/mixture-of-agents.md +0 -246
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/overview.md +0 -57
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/personality.md +0 -289
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/pets.md +0 -236
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/plugin-catalog.md +0 -212
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/plugins.md +0 -847
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/provider-routing.md +0 -229
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/skills.md +0 -1112
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/skins.md +0 -271
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/spotify.md +0 -279
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/subscription-proxy.md +0 -203
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/tool-gateway.md +0 -223
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/tool-search.md +0 -277
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/tools.md +0 -261
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/tts.md +0 -744
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/vision.md +0 -214
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/voice-mode.md +0 -608
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/wake-word.md +0 -343
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/web-dashboard.md +0 -1206
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/web-search.md +0 -506
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/features/x-search.md +0 -167
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/git-worktrees.md +0 -196
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/import-from-other-agents.md +0 -74
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/local-models.md +0 -140
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/managed-scope.md +0 -157
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/_category_.json +0 -8
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/a2a.md +0 -130
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/bluebubbles.md +0 -171
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/buzz.md +0 -162
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/dingtalk.md +0 -283
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/discord.md +0 -936
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/email.md +0 -223
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/feishu.md +0 -599
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/google_chat.md +0 -430
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/homeassistant.md +0 -269
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/index.md +0 -859
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/irc.md +0 -78
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/line.md +0 -201
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/matrix.md +0 -910
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/mattermost.md +0 -340
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/msgraph-webhook.md +0 -142
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/ntfy.md +0 -157
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/open-webui.md +0 -296
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/photon.md +0 -255
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/qqbot.md +0 -123
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/raft.md +0 -70
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/relay.md +0 -212
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/signal.md +0 -262
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/simplex.md +0 -151
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/slack.md +0 -1093
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/sms.md +0 -203
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/teams-meetings.md +0 -242
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/teams.md +0 -288
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/telegram.md +0 -1373
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/webhooks.md +0 -694
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/wecom-callback.md +0 -179
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/wecom.md +0 -306
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/weixin.md +0 -333
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/whatsapp-cloud.md +0 -417
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/whatsapp.md +0 -283
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/messaging/yuanbao.md +0 -342
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/multi-connection-desktop.md +0 -361
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/multi-profile-gateways.md +0 -1062
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/profile-distributions.md +0 -757
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/profiles.md +0 -418
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/secrets/bitwarden.md +0 -155
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/secrets/command.md +0 -50
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/secrets/index.md +0 -50
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/secrets/onepassword.md +0 -169
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/security.md +0 -892
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/sessions.md +0 -990
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/apple/apple-apple-notes.md +0 -110
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/apple/apple-apple-reminders.md +0 -146
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/apple/apple-findmy.md +0 -149
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/apple/apple-imessage.md +0 -118
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-claude-code.md +0 -763
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-codex.md +0 -169
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-computer-use.md +0 -355
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-hermes-agent.md +0 -230
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-merge-reconciler.md +0 -176
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-opencode.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-architecture-diagram.md +0 -165
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-ascii-art.md +0 -338
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-ascii-video.md +0 -265
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-baoyu-infographic.md +0 -256
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-claude-design.md +0 -668
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-comfyui.md +0 -616
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-design-md.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-excalidraw.md +0 -212
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-humanizer.md +0 -663
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-manim-video.md +0 -292
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-p5js.md +0 -576
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-popular-web-designs.md +0 -223
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-pretext.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-sketch.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/creative/creative-songwriting-and-ai-music.md +0 -319
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/devops/devops-sdlc-review.md +0 -195
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/email/email-email-inbox-triage.md +0 -115
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/email/email-himalaya.md +0 -319
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-codebase-inspection.md +0 -132
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-github-auth.md +0 -265
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-github-code-review.md +0 -499
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-github-issue-to-pr.md +0 -95
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-github-issues.md +0 -388
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-github-pr-workflow.md +0 -385
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/github/github-github-repo-management.md +0 -534
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/media/media-gif-search.md +0 -106
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/media/media-songsee.md +0 -98
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/media/media-youtube-content.md +0 -100
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/mlops/mlops-evaluation-evaluating-llms-harness.md +0 -512
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/mlops/mlops-evaluation-weights-and-biases.md +0 -613
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/mlops/mlops-huggingface-hub.md +0 -100
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/mlops/mlops-inference-llama-cpp.md +0 -267
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/mlops/mlops-inference-serving-llms-vllm.md +0 -387
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/note-taking/note-taking-obsidian.md +0 -85
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-airtable.md +0 -243
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-box.md +0 -132
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-document-to-action-items.md +0 -99
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-docx.md +0 -213
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-google-workspace.md +0 -348
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-maps.md +0 -210
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-meeting-action-items.md +0 -105
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-nano-pdf.md +0 -70
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-notion.md +0 -463
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-ocr-and-documents.md +0 -193
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-pdf.md +0 -142
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-powerpoint.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-product-price-monitor.md +0 -97
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-session-librarian.md +0 -122
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-teams-meeting-pipeline.md +0 -129
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-weekly-review-planning.md +0 -99
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/productivity/productivity-xlsx.md +0 -213
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-arxiv.md +0 -300
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-blocked-page-recovery.md +0 -155
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-blogwatcher.md +0 -152
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-competitor-news-monitor.md +0 -106
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-grounded-citations.md +0 -274
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-llm-wiki.md +0 -526
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/research/research-research-paper-writing.md +0 -1645
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/smart-home/smart-home-openhue.md +0 -127
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/social-media/social-media-xurl.md +0 -450
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-codebase-inspection.md +0 -132
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-dogfood.md +0 -183
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-github.md +0 -73
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-hermes-agent-skill-authoring.md +0 -230
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-inspecting-hermes-desktop-dom.md +0 -177
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-node-inspect-debugger.md +0 -337
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-python-debugpy.md +0 -391
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-requesting-code-review.md +0 -298
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-simplify-code.md +0 -288
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-spike.md +0 -217
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-systematic-debugging.md +0 -429
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/software-development/software-development-test-driven-development.md +0 -380
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/bundled/web/web-blocked-page-recovery.md +0 -155
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/google-workspace.md +0 -191
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-antigravity-cli.md +0 -259
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-blackbox.md +0 -161
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-dynamic-workflow.md +0 -198
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-grok.md +0 -326
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-honcho.md +0 -446
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-openhands.md +0 -167
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/blockchain/blockchain-evm.md +0 -227
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/blockchain/blockchain-hyperliquid.md +0 -228
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/blockchain/blockchain-solana.md +0 -225
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/communication/communication-one-three-one-rule.md +0 -114
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-ai-presenter-video.md +0 -211
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-archify.md +0 -66
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-ascii-art.md +0 -338
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-audiocraft-audio-generation.md +0 -588
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-auteur.md +0 -195
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-baoyu-article-illustrator.md +0 -225
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-baoyu-comic.md +0 -264
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-comfyui.md +0 -616
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-concept-diagrams.md +0 -379
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-creative-ideation.md +0 -192
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-draw-your-font.md +0 -169
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-dream-loop.md +0 -297
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-excalidraw.md +0 -212
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-heartmula.md +0 -191
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-hyperframes.md +0 -222
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-impeccable.md +0 -56
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-ip-as-logo.md +0 -171
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-kanban-video-orchestrator.md +0 -220
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-meme-generation.md +0 -147
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-mono-color.md +0 -158
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-pixel-art.md +0 -234
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-pretext.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-simple-english.md +0 -362
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-sketch.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-social-media-content-calendar.md +0 -88
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-system-atlas.md +0 -105
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-tldraw-offline.md +0 -294
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/creative/creative-unreal-mcp.md +0 -269
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/data-science/data-science-jupyter-notebook.md +0 -195
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-actual-setup.md +0 -164
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-docker-management.md +0 -298
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-hermes-s6-container-supervision.md +0 -198
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-inference-sh-cli.md +0 -173
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-pinggy-tunnel.md +0 -326
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-setup-wizard-generator.md +0 -133
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/devops/devops-watchers.md +0 -126
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/dogfood/dogfood-adversarial-ux-test.md +0 -209
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/email/email-agentmail.md +0 -104
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-3-statement-model.md +0 -451
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-comps-analysis.md +0 -682
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-dcf-model.md +0 -1288
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-excel-author.md +0 -262
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-lbo-model.md +0 -309
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-merger-model.md +0 -162
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-polymarket.md +0 -97
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-pptx-author.md +0 -191
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/finance/finance-stocks.md +0 -112
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/gaming/gaming-minecraft-modpack-server.md +0 -209
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/gaming/gaming-pokemon-player.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/health/health-fitness-nutrition.md +0 -259
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/health/health-neuroskill-bci.md +0 -470
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mcp/mcp-fastmcp.md +0 -315
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mcp/mcp-mcp-oauth-remote-gateway.md +0 -389
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mcp/mcp-mcporter.md +0 -138
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/migration/migration-openclaw-migration.md +0 -316
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-accelerate.md +0 -366
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-chroma.md +0 -425
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-clip.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-evaluation-evaluating-llms-harness.md +0 -512
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-evaluation-weights-and-biases.md +0 -613
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-faiss.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-flash-attention.md +0 -388
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-guidance.md +0 -595
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-huggingface-tokenizers.md +0 -535
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-inference-llama-cpp.md +0 -267
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-inference-outlines.md +0 -679
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-inference-serving-llms-vllm.md +0 -387
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-instructor.md +0 -759
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-lambda-labs.md +0 -568
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-llava.md +0 -323
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-modal.md +0 -368
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-models-huggingface-hub.md +0 -100
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-models-segment-anything-model.md +0 -525
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-nemo-curator.md +0 -415
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-obliteratus.md +0 -360
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-peft.md +0 -452
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-pinecone.md +0 -396
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-pytorch-fsdp.md +0 -97
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-pytorch-lightning.md +0 -365
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-qdrant.md +0 -522
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-research-dspy.md +0 -609
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-saelens.md +0 -439
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-simpo.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-slime.md +0 -486
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-stable-diffusion.md +0 -542
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-tensorrt-llm.md +0 -208
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-torchtitan.md +0 -404
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-training-axolotl.md +0 -181
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-training-trl-fine-tuning.md +0 -512
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-training-unsloth.md +0 -98
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/mlops/mlops-whisper.md +0 -336
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/payments/payments-mpp-agent.md +0 -142
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/payments/payments-stripe-link-cli.md +0 -202
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/payments/payments-stripe-projects.md +0 -138
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-canvas.md +0 -114
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-decision-questionnaire.md +0 -133
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-here-now.md +0 -231
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-live-dashboard.md +0 -126
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-memento-flashcards.md +0 -336
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-property-listings.md +0 -121
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-shop.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-shopify.md +0 -377
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-siyuan.md +0 -305
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/productivity/productivity-telephony.md +0 -435
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-bioinformatics.md +0 -254
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-blogwatcher.md +0 -162
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-darwinian-evolver.md +0 -217
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-domain-intel.md +0 -121
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-drug-discovery.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-duckduckgo-search.md +0 -255
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-gitnexus-explorer.md +0 -232
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-osint-investigation.md +0 -295
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-parallel-cli.md +0 -411
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-pinecone-research.md +0 -125
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-qmd.md +0 -459
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-research-paper-writing.md +0 -1645
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-rss-feeds.md +0 -114
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-scrapling.md +0 -351
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/research/research-searxng-search.md +0 -212
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/security/security-1password.md +0 -173
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/security/security-godmode.md +0 -421
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/security/security-oss-forensics.md +0 -426
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/security/security-sherlock.md +0 -208
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/security/security-unbroker.md +0 -331
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/security/security-web-pentest.md +0 -337
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/smart-home/smart-home-openhue.md +0 -127
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/social-media/social-media-reddit-reading.md +0 -146
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/software-development/software-development-ast-grep.md +0 -307
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/software-development/software-development-code-wiki.md +0 -463
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/software-development/software-development-grill-me.md +0 -135
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/software-development/software-development-pr-lens.md +0 -160
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/software-development/software-development-rest-graphql-debug.md +0 -532
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/software-development/software-development-subagent-driven-development.md +0 -370
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/web-development/web-development-cloudflare-temporary-deploy.md +0 -144
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/web-development/web-development-har-derived-api-client.md +0 -180
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/web-development/web-development-page-agent.md +0 -207
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/web-development/web-development-publish-site.md +0 -174
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/web-development/web-development-scrollcraft.md +0 -257
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/skills/optional/yuanbao/yuanbao-yuanbao.md +0 -127
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/tui.md +0 -313
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/which-file-does-what.md +0 -57
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/windows-native.md +0 -326
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-guide/windows-wsl-quickstart.md +0 -358
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docs/user-stories.mdx +0 -10
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/docusaurus.config.ts +0 -210
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/acp-internals.md +0 -181
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/adding-platform-adapters.md +0 -686
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/adding-providers.md +0 -459
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/adding-tools.md +0 -209
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/agent-loop.md +0 -239
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/architecture.md +0 -277
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/browser-supervisor.md +0 -160
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/context-compression-and-caching.md +0 -328
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/context-engine-plugin.md +0 -193
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/contributing.md +0 -253
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/creating-skills.md +0 -375
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/cron-internals.md +0 -236
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/extending-the-cli.md +0 -192
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/gateway-internals.md +0 -267
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/image-gen-provider-plugin.md +0 -288
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/memory-provider-plugin.md +0 -258
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/model-provider-plugin.md +0 -267
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/plugin-llm-access.md +0 -401
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/plugins/index.md +0 -1156
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/programmatic-integration.md +0 -126
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/prompt-assembly.md +0 -273
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/provider-runtime.md +0 -208
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/session-storage.md +0 -420
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/tools-runtime.md +0 -236
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/trajectory-format.md +0 -222
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/video-gen-provider-plugin.md +0 -231
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/developer-guide/web-search-provider-plugin.md +0 -260
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/getting-started/installation.md +0 -204
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/getting-started/learning-path.md +0 -154
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/getting-started/nix-setup.md +0 -975
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/getting-started/quickstart.md +0 -352
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/getting-started/termux.md +0 -236
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/getting-started/updating.md +0 -231
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/automate-with-cron.md +0 -266
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/automation-blueprints.md +0 -595
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/aws-bedrock.md +0 -170
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/azure-foundry.md +0 -334
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/cron-script-only.md +0 -247
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/cron-troubleshooting.md +0 -227
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/daily-briefing-bot.md +0 -268
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/delegation-patterns.md +0 -239
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/github-pr-review-agent.md +0 -303
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/google-gemini.md +0 -254
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/local-llm-on-mac.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/local-ollama-setup.md +0 -317
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/microsoft-graph-app-registration.md +0 -180
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/migrate-from-openclaw.md +0 -244
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/minimax-oauth.md +0 -228
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/oauth-over-ssh.md +0 -96
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/operate-teams-meeting-pipeline.md +0 -288
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/pipe-script-output.md +0 -217
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/python-library.md +0 -333
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/run-hermes-with-nous-portal.md +0 -273
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/team-telegram-assistant.md +0 -441
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/tips.md +0 -234
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/use-mcp-with-hermes.md +0 -490
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/use-soul-with-hermes.md +0 -264
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/use-voice-mode-with-hermes.md +0 -469
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/webhook-github-pr-review.md +0 -329
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/work-with-skills.md +0 -290
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/guides/xai-grok-oauth.md +0 -243
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/index.mdx +0 -117
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/integrations/buzz.md +0 -57
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/integrations/index.md +0 -100
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/integrations/nous-portal.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/integrations/providers.md +0 -1433
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/cli-commands.md +0 -1259
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/environment-variables.md +0 -678
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/faq.md +0 -859
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/mcp-config-reference.md +0 -250
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/model-catalog.md +0 -103
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/optional-skills-catalog.md +0 -220
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/profile-commands.md +0 -467
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/skills-catalog.md +0 -156
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/slash-commands.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/tools-reference.md +0 -261
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/reference/toolsets-reference.md +0 -162
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/checkpoints-and-rollback.md +0 -251
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/cli.md +0 -445
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/configuration.md +0 -1746
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/configuring-models.md +0 -239
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/docker.md +0 -595
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/acp.md +0 -341
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/api-server.md +0 -456
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/batch-processing.md +0 -229
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/browser.md +0 -629
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/built-in-plugins.md +0 -269
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/code-execution.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/codex-app-server-runtime.md +0 -441
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/computer-use.md +0 -144
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/context-files.md +0 -218
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/context-references.md +0 -142
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/credential-pools.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/cron.md +0 -761
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/curator.md +0 -248
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/delegation.md +0 -355
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/deliverable-mode.md +0 -91
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/extending-the-dashboard.md +0 -907
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/fallback-providers.md +0 -408
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/goals.md +0 -180
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/honcho.md +0 -233
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/hooks.md +0 -1388
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/image-generation.md +0 -150
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/kanban-tutorial.md +0 -308
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/kanban-worker-lanes.md +0 -117
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/kanban.md +0 -863
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/lsp.md +0 -217
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/mcp.md +0 -591
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/memory-providers.md +0 -570
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/memory.md +0 -233
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/overview.md +0 -52
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/personality.md +0 -271
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/plugins.md +0 -346
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/provider-routing.md +0 -200
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/skills.md +0 -760
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/skins.md +0 -271
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/spotify.md +0 -279
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/subscription-proxy.md +0 -163
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/tool-gateway.md +0 -187
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/tools.md +0 -223
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/tts.md +0 -456
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/vision.md +0 -210
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/voice-mode.md +0 -521
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/web-dashboard.md +0 -351
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/web-search.md +0 -422
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/features/x-search.md +0 -147
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/git-worktrees.md +0 -173
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/bluebubbles.md +0 -143
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/dingtalk.md +0 -283
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/discord.md +0 -843
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/email.md +0 -190
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/feishu.md +0 -538
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/google_chat.md +0 -283
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/homeassistant.md +0 -252
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/index.md +0 -569
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/line.md +0 -199
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/matrix.md +0 -677
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/mattermost.md +0 -340
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/msgraph-webhook.md +0 -137
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/ntfy.md +0 -155
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/open-webui.md +0 -296
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/qqbot.md +0 -123
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/signal.md +0 -257
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/simplex.md +0 -98
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/slack.md +0 -614
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/sms.md +0 -203
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/teams-meetings.md +0 -233
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/teams.md +0 -255
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/telegram.md +0 -1241
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/webhooks.md +0 -601
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/wecom-callback.md +0 -149
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/wecom.md +0 -292
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/weixin.md +0 -312
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/whatsapp.md +0 -236
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/messaging/yuanbao.md +0 -341
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/profile-distributions.md +0 -573
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/profiles.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/secrets/bitwarden.md +0 -143
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/secrets/index.md +0 -9
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/security.md +0 -664
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/sessions.md +0 -609
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/apple/apple-apple-notes.md +0 -106
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/apple/apple-apple-reminders.md +0 -114
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/apple/apple-findmy.md +0 -147
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/apple/apple-imessage.md +0 -118
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/apple/apple-macos-computer-use.md +0 -175
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-claude-code.md +0 -763
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-codex.md +0 -143
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-hermes-agent.md +0 -947
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/autonomous-ai-agents/autonomous-ai-agents-opencode.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-architecture-diagram.md +0 -165
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-ascii-art.md +0 -338
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-ascii-video.md +0 -261
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-baoyu-infographic.md +0 -256
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-claude-design.md +0 -609
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-comfyui.md +0 -547
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-design-md.md +0 -189
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-excalidraw.md +0 -210
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-humanizer.md +0 -594
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-manim-video.md +0 -289
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-p5js.md +0 -574
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-popular-web-designs.md +0 -211
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-pretext.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-sketch.md +0 -238
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/creative/creative-songwriting-and-ai-music.md +0 -305
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/email/email-himalaya.md +0 -305
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/github/github-codebase-inspection.md +0 -132
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/github/github-github-auth.md +0 -265
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/github/github-github-code-review.md +0 -499
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/github/github-github-issues.md +0 -388
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/github/github-github-pr-workflow.md +0 -385
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/github/github-github-repo-management.md +0 -534
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/media/media-gif-search.md +0 -106
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/media/media-songsee.md +0 -98
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/media/media-youtube-content.md +0 -93
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/mlops/mlops-evaluation-evaluating-llms-harness.md +0 -512
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/mlops/mlops-evaluation-weights-and-biases.md +0 -609
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/mlops/mlops-huggingface-hub.md +0 -100
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/mlops/mlops-inference-llama-cpp.md +0 -267
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/mlops/mlops-inference-serving-llms-vllm.md +0 -386
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/note-taking/note-taking-obsidian.md +0 -81
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-airtable.md +0 -243
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-google-workspace.md +0 -325
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-maps.md +0 -196
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-nano-pdf.md +0 -69
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-notion.md +0 -463
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-ocr-and-documents.md +0 -190
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-powerpoint.md +0 -257
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/productivity/productivity-teams-meeting-pipeline.md +0 -127
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/research/research-arxiv.md +0 -300
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/research/research-blogwatcher.md +0 -152
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/research/research-llm-wiki.md +0 -469
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/research/research-research-paper-writing.md +0 -2395
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/smart-home/smart-home-openhue.md +0 -124
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/social-media/social-media-xurl.md +0 -428
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-dogfood.md +0 -181
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-hermes-agent-skill-authoring.md +0 -183
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-node-inspect-debugger.md +0 -337
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-python-debugpy.md +0 -391
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-requesting-code-review.md +0 -287
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-spike.md +0 -217
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-systematic-debugging.md +0 -385
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/bundled/software-development/software-development-test-driven-development.md +0 -361
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/google-workspace.md +0 -191
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-blackbox.md +0 -162
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/autonomous-ai-agents/autonomous-ai-agents-honcho.md +0 -446
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/blockchain/blockchain-evm.md +0 -227
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/blockchain/blockchain-hyperliquid.md +0 -210
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/blockchain/blockchain-solana.md +0 -206
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/communication/communication-one-three-one-rule.md +0 -114
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/creative/creative-audiocraft-audio-generation.md +0 -588
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/creative/creative-concept-diagrams.md +0 -379
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/creative/creative-heartmula.md +0 -189
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/creative/creative-hyperframes.md +0 -205
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/creative/creative-kanban-video-orchestrator.md +0 -173
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/creative/creative-meme-generation.md +0 -147
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/data-science/data-science-jupyter-notebook.md +0 -180
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/devops/devops-docker-management.md +0 -297
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/devops/devops-inference-sh-cli.md +0 -173
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/devops/devops-pinggy-tunnel.md +0 -327
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/devops/devops-watchers.md +0 -126
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/dogfood/dogfood-adversarial-ux-test.md +0 -209
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/email/email-agentmail.md +0 -143
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-3-statement-model.md +0 -451
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-comps-analysis.md +0 -682
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-dcf-model.md +0 -1288
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-excel-author.md +0 -262
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-lbo-model.md +0 -309
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-merger-model.md +0 -162
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-polymarket.md +0 -94
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-pptx-author.md +0 -191
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/finance/finance-stocks.md +0 -108
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/health/health-fitness-nutrition.md +0 -255
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/health/health-neuroskill-bci.md +0 -431
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mcp/mcp-fastmcp.md +0 -315
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mcp/mcp-mcporter.md +0 -138
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/migration/migration-openclaw-migration.md +0 -316
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-accelerate.md +0 -350
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-chroma.md +0 -425
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-clip.md +0 -272
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-faiss.md +0 -240
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-flash-attention.md +0 -381
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-guidance.md +0 -591
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-huggingface-tokenizers.md +0 -535
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-inference-outlines.md +0 -671
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-instructor.md +0 -759
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-lambda-labs.md +0 -568
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-llava.md +0 -323
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-modal.md +0 -362
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-models-segment-anything-model.md +0 -525
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-nemo-curator.md +0 -401
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-peft.md +0 -452
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-pinecone.md +0 -377
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-pytorch-fsdp.md +0 -145
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-pytorch-lightning.md +0 -365
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-qdrant.md +0 -514
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-saelens.md +0 -407
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-simpo.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-slime.md +0 -486
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-stable-diffusion.md +0 -542
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-tensorrt-llm.md +0 -206
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-torchtitan.md +0 -378
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-training-axolotl.md +0 -181
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-training-trl-fine-tuning.md +0 -477
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-training-unsloth.md +0 -98
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/mlops/mlops-whisper.md +0 -336
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-canvas.md +0 -114
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-here-now.md +0 -231
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-memento-flashcards.md +0 -336
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-shop.md +0 -354
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-shopify.md +0 -377
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-siyuan.md +0 -305
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/productivity/productivity-telephony.md +0 -435
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-bioinformatics.md +0 -252
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-darwinian-evolver.md +0 -188
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-domain-intel.md +0 -117
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-drug-discovery.md +0 -237
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-duckduckgo-search.md +0 -255
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-gitnexus-explorer.md +0 -213
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-osint-investigation.md +0 -243
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-parallel-cli.md +0 -411
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-qmd.md +0 -435
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-scrapling.md +0 -351
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/research/research-searxng-search.md +0 -229
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/security/security-1password.md +0 -173
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/security/security-oss-forensics.md +0 -421
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/security/security-sherlock.md +0 -208
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/software-development/software-development-rest-graphql-debug.md +0 -531
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/web-development/web-development-page-agent.md +0 -207
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/skills/optional/yuanbao/yuanbao-yuanbao.md +0 -125
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/tui.md +0 -256
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/windows-native.md +0 -325
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-guide/windows-wsl-quickstart.md +0 -332
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/i18n/zh-Hans/user-stories.mdx +0 -10
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/llms-full.txt +0 -88833
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/llms.txt +0 -267
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/site-pages-map.txt +0 -928
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src/site-pages.json +0 -4218
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src-README.md +0 -101
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src-scripts/clone_repo.sh +0 -17
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src-scripts/crawl.py +0 -82
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src-scripts/gen_mapping.py +0 -112
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src-scripts/retry-none.json +0 -305
- package/docs/80_upstream-docs-and-skills/hermes-dev-skill/src-scripts/verify_orphans.py +0 -53
- package/lib/BrowserWebSocketTransport-Q5SUMk7_.js +0 -4
- package/lib/LaunchOptions-DlBKKKLC.js +0 -4
- package/lib/NodeWebSocketTransport-DyU2tm5L.js +0 -4
- /package/lib/{index-DZQNwO7f.d.ts → index-DTDXUe6m.d.ts} +0 -0
- /package/lib/{lsp-server-registry-C05QLdw0.js → lsp-server-registry-D4VLs1Sm.js} +0 -0
- /package/lib/{main-7c69ae95.js → main-CKFNYpqT.js} +0 -0
- /package/lib/{util-DgR7HQUl.js → util-BHL_dfV_.js} +0 -0
|
@@ -1,1388 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
sidebar_position: 6
|
|
3
|
-
title: "Event Hooks"
|
|
4
|
-
description: "在关键生命周期节点运行自定义代码——记录活动、发送告警、推送到 webhook"
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Event Hooks
|
|
8
|
-
|
|
9
|
-
Hermes 有四套 hook 系统,可在关键生命周期节点运行自定义代码:
|
|
10
|
-
|
|
11
|
-
| 系统 | 注册方式 | 运行环境 | 使用场景 |
|
|
12
|
-
|------|---------|---------|---------|
|
|
13
|
-
| **[Gateway hooks](#gateway-event-hooks)** | `~/.hermes/hooks/` 下的 `HOOK.yaml` + `handler.py` | 仅 Gateway | 日志、告警、webhook |
|
|
14
|
-
| **[Plugin hooks](#plugin-hooks)** | [插件](/user-guide/features/plugins)中的 `ctx.register_hook()` | CLI + Gateway | 工具拦截、指标采集、护栏 |
|
|
15
|
-
| **[Shell hooks](#shell-hooks)** | `~/.hermes/config.yaml` 中 `hooks:` 块指向的 shell 脚本 | CLI + Gateway | 用于阻断、自动格式化、上下文注入的即插即用脚本 |
|
|
16
|
-
| **[Outbound webhooks](#outbound-webhooks)** | `~/.hermes/config.yaml` 中的 `hooks.outbound:` 列表 | CLI + Gateway | 将签名后的生命周期事件推送到外部 HTTP endpoint |
|
|
17
|
-
|
|
18
|
-
Hook 回调错误会被隔离并记录,不会导致 agent 崩溃。但 hook 并非全是被动观察者:指令/控制类 hook 可改变流程,transform 可替换内容,shell `pre_tool_call` 还能阻断或在失败时关闭执行。
|
|
19
|
-
|
|
20
|
-
## Gateway Event Hooks
|
|
21
|
-
|
|
22
|
-
Gateway hooks 在 gateway 运行期间(Telegram、Discord、Slack、WhatsApp、Teams)自动触发,不会阻塞主 agent 管道。
|
|
23
|
-
|
|
24
|
-
### 创建 Hook
|
|
25
|
-
|
|
26
|
-
每个 hook 是 `~/.hermes/hooks/` 下的一个目录,包含两个文件:
|
|
27
|
-
|
|
28
|
-
```text
|
|
29
|
-
~/.hermes/hooks/
|
|
30
|
-
└── my-hook/
|
|
31
|
-
├── HOOK.yaml # 声明要监听的事件
|
|
32
|
-
└── handler.py # Python 处理函数
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
#### HOOK.yaml
|
|
36
|
-
|
|
37
|
-
```yaml
|
|
38
|
-
name: my-hook
|
|
39
|
-
description: Log all agent activity to a file
|
|
40
|
-
events:
|
|
41
|
-
- agent:start
|
|
42
|
-
- agent:end
|
|
43
|
-
- agent:step
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
`events` 列表决定哪些事件会触发你的处理器。可以订阅任意事件组合,包括 `command:*` 这样的通配符。
|
|
47
|
-
|
|
48
|
-
#### handler.py
|
|
49
|
-
|
|
50
|
-
```python
|
|
51
|
-
import json
|
|
52
|
-
from datetime import datetime
|
|
53
|
-
from pathlib import Path
|
|
54
|
-
|
|
55
|
-
LOG_FILE = Path.home() / ".hermes" / "hooks" / "my-hook" / "activity.log"
|
|
56
|
-
|
|
57
|
-
async def handle(event_type: str, context: dict):
|
|
58
|
-
"""Called for each subscribed event. Must be named 'handle'."""
|
|
59
|
-
entry = {
|
|
60
|
-
"timestamp": datetime.now().isoformat(),
|
|
61
|
-
"event": event_type,
|
|
62
|
-
**context,
|
|
63
|
-
}
|
|
64
|
-
with open(LOG_FILE, "a") as f:
|
|
65
|
-
f.write(json.dumps(entry) + "\n")
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
**处理器规则:**
|
|
69
|
-
- 必须命名为 `handle`
|
|
70
|
-
- 接收 `event_type`(字符串)和 `context`(字典)
|
|
71
|
-
- 可以是 `async def` 或普通 `def`——两者均可
|
|
72
|
-
- 错误会被捕获并记录,不会导致 agent 崩溃
|
|
73
|
-
|
|
74
|
-
### 可用事件
|
|
75
|
-
|
|
76
|
-
| 事件 | 触发时机 | Context 键 |
|
|
77
|
-
|------|---------|-----------|
|
|
78
|
-
| `gateway:startup` | Gateway 进程启动 | `platforms`(活跃平台名称列表) |
|
|
79
|
-
| `session:start` | 新消息会话创建 | `platform`、`user_id`、`session_id`、`session_key` |
|
|
80
|
-
| `session:end` | 会话结束(重置前) | `platform`、`user_id`、`session_key` |
|
|
81
|
-
| `session:reset` | 用户执行 `/new` 或 `/reset` | `platform`、`user_id`、`session_key` |
|
|
82
|
-
| `agent:start` | Agent 开始处理消息 | `platform`、`user_id`、`session_id`、`message` |
|
|
83
|
-
| `agent:step` | 工具调用循环的每次迭代 | `platform`、`user_id`、`session_id`、`iteration`、`tool_names` |
|
|
84
|
-
| `agent:end` | Agent 完成处理 | `platform`、`user_id`、`session_id`、`message`、`response` |
|
|
85
|
-
| `command:*` | 任意斜杠命令执行 | `platform`、`user_id`、`command`、`args` |
|
|
86
|
-
|
|
87
|
-
#### 通配符匹配
|
|
88
|
-
|
|
89
|
-
注册了 `command:*` 的处理器会在任何 `command:` 事件(`command:model`、`command:reset` 等)触发时执行。通过单个订阅即可监控所有斜杠命令。
|
|
90
|
-
|
|
91
|
-
### 示例
|
|
92
|
-
|
|
93
|
-
#### Telegram 长任务告警
|
|
94
|
-
|
|
95
|
-
当 agent 执行超过 10 步时向自己发送消息:
|
|
96
|
-
|
|
97
|
-
```yaml
|
|
98
|
-
# ~/.hermes/hooks/long-task-alert/HOOK.yaml
|
|
99
|
-
name: long-task-alert
|
|
100
|
-
description: Alert when agent is taking many steps
|
|
101
|
-
events:
|
|
102
|
-
- agent:step
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
```python
|
|
106
|
-
# ~/.hermes/hooks/long-task-alert/handler.py
|
|
107
|
-
import os
|
|
108
|
-
import httpx
|
|
109
|
-
|
|
110
|
-
THRESHOLD = 10
|
|
111
|
-
BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
|
|
112
|
-
CHAT_ID = os.getenv("TELEGRAM_HOME_CHANNEL")
|
|
113
|
-
|
|
114
|
-
async def handle(event_type: str, context: dict):
|
|
115
|
-
iteration = context.get("iteration", 0)
|
|
116
|
-
if iteration == THRESHOLD and BOT_TOKEN and CHAT_ID:
|
|
117
|
-
tools = ", ".join(context.get("tool_names", []))
|
|
118
|
-
text = f"⚠️ Agent has been running for {iteration} steps. Last tools: {tools}"
|
|
119
|
-
async with httpx.AsyncClient() as client:
|
|
120
|
-
await client.post(
|
|
121
|
-
f"https://api.telegram.org/bot{BOT_TOKEN}/sendMessage",
|
|
122
|
-
json={"chat_id": CHAT_ID, "text": text},
|
|
123
|
-
)
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
#### 命令使用日志记录器
|
|
127
|
-
|
|
128
|
-
追踪哪些斜杠命令被使用:
|
|
129
|
-
|
|
130
|
-
```yaml
|
|
131
|
-
# ~/.hermes/hooks/command-logger/HOOK.yaml
|
|
132
|
-
name: command-logger
|
|
133
|
-
description: Log slash command usage
|
|
134
|
-
events:
|
|
135
|
-
- command:*
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
```python
|
|
139
|
-
# ~/.hermes/hooks/command-logger/handler.py
|
|
140
|
-
import json
|
|
141
|
-
from datetime import datetime
|
|
142
|
-
from pathlib import Path
|
|
143
|
-
|
|
144
|
-
LOG = Path.home() / ".hermes" / "logs" / "command_usage.jsonl"
|
|
145
|
-
|
|
146
|
-
def handle(event_type: str, context: dict):
|
|
147
|
-
LOG.parent.mkdir(parents=True, exist_ok=True)
|
|
148
|
-
entry = {
|
|
149
|
-
"ts": datetime.now().isoformat(),
|
|
150
|
-
"command": context.get("command"),
|
|
151
|
-
"args": context.get("args"),
|
|
152
|
-
"platform": context.get("platform"),
|
|
153
|
-
"user": context.get("user_id"),
|
|
154
|
-
}
|
|
155
|
-
with open(LOG, "a") as f:
|
|
156
|
-
f.write(json.dumps(entry) + "\n")
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
#### 会话开始 Webhook
|
|
160
|
-
|
|
161
|
-
新会话时 POST 到外部服务:
|
|
162
|
-
|
|
163
|
-
```yaml
|
|
164
|
-
# ~/.hermes/hooks/session-webhook/HOOK.yaml
|
|
165
|
-
name: session-webhook
|
|
166
|
-
description: Notify external service on new sessions
|
|
167
|
-
events:
|
|
168
|
-
- session:start
|
|
169
|
-
- session:reset
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
```python
|
|
173
|
-
# ~/.hermes/hooks/session-webhook/handler.py
|
|
174
|
-
import httpx
|
|
175
|
-
|
|
176
|
-
WEBHOOK_URL = "https://your-service.example.com/hermes-events"
|
|
177
|
-
|
|
178
|
-
async def handle(event_type: str, context: dict):
|
|
179
|
-
async with httpx.AsyncClient() as client:
|
|
180
|
-
await client.post(WEBHOOK_URL, json={
|
|
181
|
-
"event": event_type,
|
|
182
|
-
**context,
|
|
183
|
-
}, timeout=5)
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### 教程:BOOT.md——每次 Gateway 启动时运行启动检查清单
|
|
187
|
-
|
|
188
|
-
这是社区中流行的一种模式:在 `~/.hermes/BOOT.md` 放置一个 Markdown 检查清单,让 agent 在每次 gateway 启动时执行一次。适用于"每次启动时检查隔夜 cron 失败情况,若有失败则在 Discord 上通知我",或"汇总过去 24 小时的 deploy.log 并发布到 Slack #ops"等场景。
|
|
189
|
-
|
|
190
|
-
本教程展示如何以用户自定义 hook 的方式自行构建。Hermes 不内置 BOOT.md hook——你可以精确配置自己想要的行为。
|
|
191
|
-
|
|
192
|
-
#### 我们要构建什么
|
|
193
|
-
|
|
194
|
-
1. 在 `~/.hermes/BOOT.md` 放置一个包含自然语言启动指令的文件。
|
|
195
|
-
2. 一个监听 `gateway:startup` 的 gateway hook,它会生成一个一次性 agent,使用 gateway 已解析的模型和凭据,执行 BOOT.md 中的指令。
|
|
196
|
-
3. 一个 `[SILENT]` 约定,让 agent 在没有内容需要汇报时选择不发送消息。
|
|
197
|
-
|
|
198
|
-
#### 第一步:编写检查清单
|
|
199
|
-
|
|
200
|
-
创建 `~/.hermes/BOOT.md`。像给人类助手下达指令一样编写:
|
|
201
|
-
|
|
202
|
-
```markdown
|
|
203
|
-
# Startup Checklist
|
|
204
|
-
|
|
205
|
-
1. Run `hermes cron list` and check if any scheduled jobs failed overnight.
|
|
206
|
-
2. If any failed, send a summary to Discord #ops using the `send_message` tool.
|
|
207
|
-
3. Check if `/opt/app/deploy.log` has any ERROR lines from the last 24 hours. If yes, summarize them and include in the same Discord message.
|
|
208
|
-
4. If nothing went wrong, reply with only `[SILENT]` so no message is sent.
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
Agent 将此内容作为 prompt(提示词)的一部分,因此任何可以用自然语言描述的内容都可以——工具调用、shell 命令、发送消息、汇总文件。
|
|
212
|
-
|
|
213
|
-
#### 第二步:创建 hook
|
|
214
|
-
|
|
215
|
-
```text
|
|
216
|
-
~/.hermes/hooks/boot-md/
|
|
217
|
-
├── HOOK.yaml
|
|
218
|
-
└── handler.py
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
**`~/.hermes/hooks/boot-md/HOOK.yaml`**
|
|
222
|
-
|
|
223
|
-
```yaml
|
|
224
|
-
name: boot-md
|
|
225
|
-
description: Run ~/.hermes/BOOT.md on gateway startup
|
|
226
|
-
events:
|
|
227
|
-
- gateway:startup
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
**`~/.hermes/hooks/boot-md/handler.py`**
|
|
231
|
-
|
|
232
|
-
```python
|
|
233
|
-
"""Run ~/.hermes/BOOT.md on every gateway startup."""
|
|
234
|
-
|
|
235
|
-
import logging
|
|
236
|
-
import threading
|
|
237
|
-
from pathlib import Path
|
|
238
|
-
|
|
239
|
-
logger = logging.getLogger("hooks.boot-md")
|
|
240
|
-
|
|
241
|
-
BOOT_FILE = Path.home() / ".hermes" / "BOOT.md"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
def _build_prompt(content: str) -> str:
|
|
245
|
-
return (
|
|
246
|
-
"You are running a startup boot checklist. Follow the instructions "
|
|
247
|
-
"below exactly.\n\n"
|
|
248
|
-
"---\n"
|
|
249
|
-
f"{content}\n"
|
|
250
|
-
"---\n\n"
|
|
251
|
-
"Execute each instruction. Use the send_message tool to deliver any "
|
|
252
|
-
"messages to platforms like Discord or Slack.\n"
|
|
253
|
-
"If nothing needs attention and there is nothing to report, reply "
|
|
254
|
-
"with ONLY: [SILENT]"
|
|
255
|
-
)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
def _run_boot_agent(content: str) -> None:
|
|
259
|
-
"""Spawn a one-shot agent and execute the checklist.
|
|
260
|
-
|
|
261
|
-
Uses the gateway's resolved model and runtime credentials so this works
|
|
262
|
-
against custom endpoints, aggregators, and OAuth-based providers alike.
|
|
263
|
-
"""
|
|
264
|
-
try:
|
|
265
|
-
from gateway.run import _resolve_gateway_model, _resolve_runtime_agent_kwargs
|
|
266
|
-
from run_agent import AIAgent
|
|
267
|
-
|
|
268
|
-
agent = AIAgent(
|
|
269
|
-
model=_resolve_gateway_model(),
|
|
270
|
-
**_resolve_runtime_agent_kwargs(),
|
|
271
|
-
platform="gateway",
|
|
272
|
-
quiet_mode=True,
|
|
273
|
-
skip_context_files=True,
|
|
274
|
-
skip_memory=True,
|
|
275
|
-
max_iterations=20,
|
|
276
|
-
)
|
|
277
|
-
result = agent.run_conversation(_build_prompt(content))
|
|
278
|
-
response = result.get("final_response", "")
|
|
279
|
-
if response and "[SILENT]" not in response:
|
|
280
|
-
logger.info("boot-md completed: %s", response[:200])
|
|
281
|
-
else:
|
|
282
|
-
logger.info("boot-md completed (nothing to report)")
|
|
283
|
-
except Exception as e:
|
|
284
|
-
logger.error("boot-md agent failed: %s", e)
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
async def handle(event_type: str, context: dict) -> None:
|
|
288
|
-
if not BOOT_FILE.exists():
|
|
289
|
-
return
|
|
290
|
-
content = BOOT_FILE.read_text(encoding="utf-8").strip()
|
|
291
|
-
if not content:
|
|
292
|
-
return
|
|
293
|
-
|
|
294
|
-
logger.info("Running BOOT.md (%d chars)", len(content))
|
|
295
|
-
|
|
296
|
-
# Background thread so gateway startup isn't blocked on a full agent turn.
|
|
297
|
-
thread = threading.Thread(
|
|
298
|
-
target=_run_boot_agent,
|
|
299
|
-
args=(content,),
|
|
300
|
-
name="boot-md",
|
|
301
|
-
daemon=True,
|
|
302
|
-
)
|
|
303
|
-
thread.start()
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
两个关键行:
|
|
307
|
-
|
|
308
|
-
- `_resolve_gateway_model()` 读取 gateway 当前配置的模型。
|
|
309
|
-
- `_resolve_runtime_agent_kwargs()` 以与普通 gateway 轮次相同的方式解析 provider 凭据——包括 API 密钥、base URL、OAuth token 和凭据池。
|
|
310
|
-
|
|
311
|
-
若不使用这两行,裸 `AIAgent()` 会回退到内置默认值,并在任何非默认端点上返回 401。
|
|
312
|
-
|
|
313
|
-
#### 第三步:测试
|
|
314
|
-
|
|
315
|
-
重启 gateway:
|
|
316
|
-
|
|
317
|
-
```bash
|
|
318
|
-
hermes gateway restart
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
查看日志:
|
|
322
|
-
|
|
323
|
-
```bash
|
|
324
|
-
hermes logs --follow --level INFO | grep boot-md
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
你应该看到 `Running BOOT.md (N chars)`,随后是 `boot-md completed: ...`(agent 执行内容的摘要)或 `boot-md completed (nothing to report)`(agent 回复了 `[SILENT]`)。
|
|
328
|
-
|
|
329
|
-
删除 `~/.hermes/BOOT.md` 即可禁用检查清单——hook 保持加载状态,但在文件不存在时会静默跳过。
|
|
330
|
-
|
|
331
|
-
#### 扩展此模式
|
|
332
|
-
|
|
333
|
-
- **感知调度的检查清单:** 在 BOOT.md 指令中基于 `datetime.now().weekday()` 进行判断("如果是周一,还需检查每周部署日志")。指令是自由格式文本,agent 能推理的内容都可以使用。
|
|
334
|
-
- **多个检查清单:** 将 hook 指向不同文件(`STARTUP.md`、`MORNING.md` 等),并为每个文件注册独立的 hook 目录。
|
|
335
|
-
- **非 agent 变体:** 如果不需要完整的 agent 循环,完全跳过 `AIAgent`,直接通过 `httpx` 在处理器中发送固定通知。更轻量、更快速,且无 provider 依赖。
|
|
336
|
-
|
|
337
|
-
#### 为什么这不是内置功能
|
|
338
|
-
|
|
339
|
-
Hermes 早期版本将此作为内置 hook 发布,每次 gateway 启动时都会静默生成一个使用裸默认值的 agent。这让使用自定义端点的用户感到意外,也让不知道它在运行的用户无从察觉。将其作为文档化模式保留——由你在 hooks 目录中构建——意味着你能清楚地看到它的行为,并通过编写文件来选择启用。
|
|
340
|
-
|
|
341
|
-
### 工作原理
|
|
342
|
-
|
|
343
|
-
1. Gateway 启动时,`HookRegistry.discover_and_load()` 扫描 `~/.hermes/hooks/`
|
|
344
|
-
2. 每个包含 `HOOK.yaml` + `handler.py` 的子目录都会被动态加载
|
|
345
|
-
3. 处理器按其声明的事件注册
|
|
346
|
-
4. 在每个生命周期节点,`hooks.emit()` 触发所有匹配的处理器
|
|
347
|
-
5. 任何处理器中的错误都会被捕获并记录——损坏的 hook 永远不会导致 agent 崩溃
|
|
348
|
-
|
|
349
|
-
:::info
|
|
350
|
-
Gateway hooks 仅在 **gateway**(Telegram、Discord、Slack、WhatsApp、Teams)中触发。CLI 不加载 gateway hooks。如需在所有环境中生效的 hook,请使用 [plugin hooks](#plugin-hooks)。
|
|
351
|
-
:::
|
|
352
|
-
|
|
353
|
-
## Plugin Hooks
|
|
354
|
-
|
|
355
|
-
[插件](/user-guide/features/plugins)可以注册在 **CLI 和 gateway** 会话中均会触发的 hook。这些 hook 通过插件 `register()` 函数中的 `ctx.register_hook()` 以编程方式注册。
|
|
356
|
-
|
|
357
|
-
```python
|
|
358
|
-
def register(ctx):
|
|
359
|
-
ctx.register_hook("pre_tool_call", my_tool_observer)
|
|
360
|
-
ctx.register_hook("post_tool_call", my_tool_logger)
|
|
361
|
-
ctx.register_hook("pre_llm_call", my_memory_callback)
|
|
362
|
-
ctx.register_hook("post_llm_call", my_sync_callback)
|
|
363
|
-
ctx.register_hook("on_session_start", my_init_callback)
|
|
364
|
-
ctx.register_hook("on_session_end", my_cleanup_callback)
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
**所有 hook 的通用规则:**
|
|
368
|
-
|
|
369
|
-
- 回调接收**关键字参数**;为保持向前兼容,请始终接受 `**kwargs`。
|
|
370
|
-
- 回调异常会被记录并跳过,后续回调仍会继续。
|
|
371
|
-
- 下表分类仅描述当前行为:**观察者**忽略返回值,**Transform** 接受第一个有效字符串替换,**指令/控制**消费已说明的返回结构。Plugin middleware 是独立的 registry/surface,不属于另一类 hook。
|
|
372
|
-
- `turn_id`、`api_request_id`、`task_id`、`session_id`、`api_call_count` 等关联字段因 hook 而异,可能不存在;应将这些 ID 视为 opaque 值。
|
|
373
|
-
- 运行时事件名以 `hermes_cli.plugins.VALID_HOOKS` 为准。`hermes hooks list` 只列出已配置的 shell/outbound hook,并非可用事件目录;只有 `hermes hooks test <event>` 收到无效事件时才会打印有效集合。
|
|
374
|
-
|
|
375
|
-
### 已发布的 plugin-hook 目录
|
|
376
|
-
|
|
377
|
-
下表列出每个 call site 实际传入的事件专属字段。为保持向后兼容,`PluginManager` 还会向每个 plugin-hook 回调加入 `telemetry_schema_version="hermes.observer.v1"`。这个旧版 envelope 标记并不表示所有 hook payload 共用同一套语义 schema;新的版本化 contract 应归属于具体事件或 capability family。
|
|
378
|
-
|
|
379
|
-
| Hook | 类别 | 精确时机与返回行为 | 显式 payload 字段 | 隐私/敏感性 |
|
|
380
|
-
|---|---|---|---|---|
|
|
381
|
-
| `pre_tool_call` | 指令/控制 | 执行前一次;第一个有效 `block` 或 `approve` 指令生效。 | `tool_name`, `args`, `task_id`, `session_id`, `tool_call_id`, `turn_id`, `api_request_id`, `middleware_trace` | 原始参数可能含用户内容、路径、命令或 secret。 |
|
|
382
|
-
| `post_tool_call` | 观察者 | 阻断、错误或成功结果产生后;忽略返回值。 | `tool_name`, `args`, `result`, `task_id`, `session_id`, `tool_call_id`, `turn_id`, `api_request_id`, `duration_ms`, `status`, `error_type`, `error_message`, `middleware_trace` | 结果/错误文本可能含任意工具或用户内容及 secret。 |
|
|
383
|
-
| `transform_tool_result` | Transform | `post_tool_call` 后、写入会话前;第一个字符串替换结果。 | `tool_name`, `args`, `result`, `task_id`, `session_id`, `tool_call_id`, `turn_id`, `api_request_id`, `duration_ms`, `status`, `error_type`, `error_message` | 暴露完整的 model-bound 结果和参数。 |
|
|
384
|
-
| `transform_terminal_output` | Transform | 前台进程输出完成有界捕获后、最终 output limit 前;第一个字符串替换输出。 | `command`, `output`, `returncode`, `task_id`, `env_type` | 命令/输出可能含凭据。 |
|
|
385
|
-
| `pre_llm_call` | 指令/控制 | 每轮 loop 前一次;所有有效字符串或 `{"context": ...}` 会拼接并注入用户消息。 | `session_id`, `task_id`, `turn_id`, `user_message`, `conversation_history`, `is_first_turn`, `model`, `platform`, `parent_session_id`, `sender_id` | 完整用户消息和会话历史。 |
|
|
386
|
-
| `post_llm_call` | 观察者 | 成功且未中断的轮次 finalize 时;忽略返回值。 | `session_id`, `task_id`, `turn_id`, `user_message`, `assistant_response`, `conversation_history`, `model`, `platform` | 完整 prompt、response 和 history。 |
|
|
387
|
-
| `transform_llm_output` | Transform | `post_llm_call` 和最终交付前;第一个非空字符串替换 response。 | `response_text`, `session_id`, `model`, `platform` | 完整最终 assistant 文本。 |
|
|
388
|
-
| `pre_verify` | 指令/控制 | 有界的代码编辑 verify gate;第一个有效 continue/block-stop 指令让轮次继续。 | `session_id`, `platform`, `model`, `coding`, `attempt`, `final_response`, `changed_paths` | 草稿 response 和变更路径。 |
|
|
389
|
-
| `pre_api_request` | 观察者 | 每次 provider attempt 发请求前;忽略返回值。 | `task_id`, `turn_id`, `api_request_id`, `session_id`, `user_message`, `conversation_history`, `platform`, `model`, `provider`, `base_url`, `api_mode`, `api_call_count`, `retry_count`, `request_messages`, `message_count`, `tool_count`, `approx_input_tokens`, `request_char_count`, `max_tokens`, `started_at`, `middleware_trace`, `request` | 高敏感:兼容字段 `user_message`、`conversation_history`、`request_messages` 故意保留原始值;新 consumer 应优先用已清理的 `request`。 |
|
|
390
|
-
| `post_api_request` | 观察者 | Provider success 归一化后;忽略返回值。 | `task_id`, `turn_id`, `api_request_id`, `session_id`, `platform`, `model`, `provider`, `base_url`, `api_mode`, `api_call_count`, `api_duration`, `started_at`, `ended_at`, `finish_reason`, `message_count`, `response_model`, `response`, `usage`, `assistant_message`, `assistant_content_chars`, `assistant_tool_call_count` | 可用已清理的 `response`,但原始归一化 `assistant_message` 可能含模型/用户内容;`usage` 是计费数据。 |
|
|
391
|
-
| `api_request_error` | 观察者 | 每次失败的 provider attempt;忽略返回值。 | `task_id`, `turn_id`, `api_request_id`, `session_id`, `platform`, `model`, `provider`, `base_url`, `api_mode`, `api_call_count`, `api_duration`, `started_at`, `ended_at`, `status_code`, `retry_count`, `max_retries`, `retryable`, `reason`, `error`, `request` | Error 文本可能含 provider/用户数据;`request` 设计为已清理。 |
|
|
392
|
-
| `on_session_start` | 观察者 | 新 session 第一轮;忽略返回值。 | `session_id`, `model`, `platform` | 仅标识符和 routing metadata。 |
|
|
393
|
-
| `on_session_end` | 观察者 | Canonical 路径在每轮 finalize;CLI/TUI 退出还有精简 legacy shape。 | Canonical:`session_id`, `task_id`, `turn_id`, `completed`, `failed`, `interrupted`, `turn_exit_reason`, `model`, `platform`;退出路径可能增加 `reason`/`api_request_id` 并省略字段。 | ID、model/platform 和结果;canonical payload 无消息正文。 |
|
|
394
|
-
| `on_session_finalize` | 观察者 | CLI/TUI/gateway 通过 `finalize_session` teardown;gateway 关闭时可只 finalize 而不 reset。忽略返回值。 | 按 surface:`session_id`, `platform`,可选 `reason`, `old_session_id`, `new_session_id` | Session 和 routing 标识。 |
|
|
395
|
-
| `on_session_reset` | 观察者 | CLI/TUI session boundary,或 gateway 创建替代 session 后;忽略返回值。 | CLI:`session_id`, `platform`, `reason`;TUI:`session_id`, `platform`;gateway:另有 `reason`, `old_session_id`, `new_session_id` | Session 和 routing 标识。 |
|
|
396
|
-
| `on_skill_lifecycle` | 观察者 | 权威 skill 使用状态变更后;忽略返回值。 | `action`, `skill_name`, `provenance`, `task_id`, `session_id`, `use_count`, `reused`, `reuse_after_patch` | 暴露本地 skill 名和 provenance。 |
|
|
397
|
-
| `subagent_start` | 观察者 | 子 agent 已构造、即将运行;忽略返回值。 | `parent_session_id`, `parent_turn_id`, `parent_subagent_id`, `child_session_id`, `child_subagent_id`, `child_role`, `child_goal` | Child goal 可能含用户/项目内容。 |
|
|
398
|
-
| `subagent_stop` | 观察者 | 子 agent 退出;忽略返回值。 | `parent_session_id`, `parent_turn_id`, `child_session_id`, `child_role`, `child_summary`, `child_status`, `tool_call_history`, `duration_ms` | Summary 和已脱敏 tool-history metadata 仍可能暴露项目结构。 |
|
|
399
|
-
| `pre_gateway_dispatch` | 指令/控制 | 非 internal 入站消息在 auth/pairing/dispatch 前;第一个有效 `skip`、`rewrite` 或 `allow` 控制流程。 | `event`, `gateway`, `session_store` | 极高权限的进程内对象会暴露入站用户/routing 数据和 host handle。 |
|
|
400
|
-
| `pre_approval_request` | 观察者 | Prompted 或 smart approval 前;忽略返回值。 | `command`, `description`, `pattern_key`, `pattern_keys`, `session_key`, `surface`, `turn_id`, `tool_call_id` | 命令可能含 secret;smart observer preparation 会强制脱敏,但各 surface 并非完全相同。 |
|
|
401
|
-
| `post_approval_response` | 观察者 | 决策、timeout 或 gateway 通知失败后;忽略返回值。 | `command`, `description`, `pattern_key`, `pattern_keys`, `session_key`, `surface`, `turn_id`, `tool_call_id`, `choice`;smart 路径可增加 `decided_by` | 同样的命令敏感性,加决策 metadata。 |
|
|
402
|
-
| `kanban_task_claimed` | 观察者 | Claim commit 后,在 dispatcher 进程 spawn worker 前;忽略返回值。 | `task_id`, `profile_name`, `board`, `assignee`, `run_id` | Board/task/profile/assignee 标识。 |
|
|
403
|
-
| `kanban_task_completed` | 观察者 | Completion 和 cleanup 后,通常在 worker 进程;忽略返回值。 | `task_id`, `profile_name`, `board`, `assignee`, `run_id`, `summary` | Summary 可能含项目/用户内容。 |
|
|
404
|
-
| `kanban_task_blocked` | 观察者 | Blocked transition 后;dependency-wait 路径在 transaction 退出前触发。忽略返回值。 | `task_id`, `profile_name`, `board`, `assignee`, `run_id`, `reason` | Reason 可能含项目/用户内容。 |
|
|
405
|
-
|
|
406
|
-
---
|
|
407
|
-
|
|
408
|
-
### `pre_tool_call`
|
|
409
|
-
|
|
410
|
-
在每次工具执行**之前立即**触发——内置工具和插件工具均适用。
|
|
411
|
-
|
|
412
|
-
**回调签名:**
|
|
413
|
-
|
|
414
|
-
```python
|
|
415
|
-
def my_callback(tool_name: str, args: dict, task_id: str, **kwargs):
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
| 参数 | 类型 | 描述 |
|
|
419
|
-
|-----|------|------|
|
|
420
|
-
| `tool_name` | `str` | 即将执行的工具名称(如 `"terminal"`、`"web_search"`、`"read_file"`) |
|
|
421
|
-
| `args` | `dict` | 模型传递给工具的参数 |
|
|
422
|
-
| `task_id` | `str` | 会话/任务标识符。未设置时为空字符串。 |
|
|
423
|
-
|
|
424
|
-
**触发位置:** `model_tools.py` 中的 `handle_function_call()` 内,工具处理器运行前。每次工具调用触发一次——若模型并行调用 3 个工具,则触发 3 次。
|
|
425
|
-
|
|
426
|
-
**返回值——阻断或要求审批:**
|
|
427
|
-
|
|
428
|
-
```python
|
|
429
|
-
return {"action": "block", "message": "Reason the tool call was blocked"}
|
|
430
|
-
# 或
|
|
431
|
-
return {"action": "approve", "message": "Why approval is required", "rule_key": "optional:scope"}
|
|
432
|
-
```
|
|
433
|
-
|
|
434
|
-
第一个有效指令生效。`block` 要求非空 `message`,并用该文本作为返回给模型的错误来短路工具。`approve` 将调用升级到现有的人类审批 gate;`message` 和 `rule_key` 可选,拒绝、timeout 或 gate error 都会 fail closed。其他返回值会被忽略。
|
|
435
|
-
|
|
436
|
-
**使用场景:** 日志记录、审计追踪、工具调用计数、阻断危险操作、速率限制、按用户策略执行。
|
|
437
|
-
|
|
438
|
-
**示例——工具调用审计日志:**
|
|
439
|
-
|
|
440
|
-
```python
|
|
441
|
-
import json, logging
|
|
442
|
-
from datetime import datetime
|
|
443
|
-
|
|
444
|
-
logger = logging.getLogger(__name__)
|
|
445
|
-
|
|
446
|
-
def audit_tool_call(tool_name, args, task_id, **kwargs):
|
|
447
|
-
logger.info("TOOL_CALL session=%s tool=%s args=%s",
|
|
448
|
-
task_id, tool_name, json.dumps(args)[:200])
|
|
449
|
-
|
|
450
|
-
def register(ctx):
|
|
451
|
-
ctx.register_hook("pre_tool_call", audit_tool_call)
|
|
452
|
-
```
|
|
453
|
-
|
|
454
|
-
**示例——对危险工具发出警告:**
|
|
455
|
-
|
|
456
|
-
```python
|
|
457
|
-
DANGEROUS = {"terminal", "write_file", "patch"}
|
|
458
|
-
|
|
459
|
-
def warn_dangerous(tool_name, **kwargs):
|
|
460
|
-
if tool_name in DANGEROUS:
|
|
461
|
-
print(f"⚠ Executing potentially dangerous tool: {tool_name}")
|
|
462
|
-
|
|
463
|
-
def register(ctx):
|
|
464
|
-
ctx.register_hook("pre_tool_call", warn_dangerous)
|
|
465
|
-
```
|
|
466
|
-
|
|
467
|
-
---
|
|
468
|
-
|
|
469
|
-
### `post_tool_call`
|
|
470
|
-
|
|
471
|
-
在每次工具执行返回**之后立即**触发。
|
|
472
|
-
|
|
473
|
-
**回调签名:**
|
|
474
|
-
|
|
475
|
-
```python
|
|
476
|
-
def my_callback(tool_name: str, args: dict, result: str, task_id: str,
|
|
477
|
-
duration_ms: int, **kwargs):
|
|
478
|
-
```
|
|
479
|
-
|
|
480
|
-
| 参数 | 类型 | 描述 |
|
|
481
|
-
|-----|------|------|
|
|
482
|
-
| `tool_name` | `str` | 刚刚执行的工具名称 |
|
|
483
|
-
| `args` | `dict` | 模型传递给工具的参数 |
|
|
484
|
-
| `result` | `str` | 工具的返回值(始终为 JSON 字符串) |
|
|
485
|
-
| `task_id` | `str` | 会话/任务标识符。未设置时为空字符串。 |
|
|
486
|
-
| `duration_ms` | `int` | 工具分发耗时,单位毫秒(使用 `time.monotonic()` 在 `registry.dispatch()` 前后测量)。 |
|
|
487
|
-
|
|
488
|
-
**触发位置:** `model_tools.py` 中的 `handle_function_call()` 内,工具处理器返回后。每次工具调用触发一次。若工具抛出未处理异常,**不会**触发(错误被捕获并以错误 JSON 字符串返回,`post_tool_call` 以该错误字符串作为 `result` 触发)。
|
|
489
|
-
|
|
490
|
-
**返回值:** 忽略。
|
|
491
|
-
|
|
492
|
-
**使用场景:** 记录工具结果、指标采集、追踪工具成功/失败率、延迟仪表盘、按工具预算告警、特定工具完成时发送通知。
|
|
493
|
-
|
|
494
|
-
**示例——追踪工具使用指标:**
|
|
495
|
-
|
|
496
|
-
```python
|
|
497
|
-
from collections import Counter, defaultdict
|
|
498
|
-
import json
|
|
499
|
-
|
|
500
|
-
_tool_counts = Counter()
|
|
501
|
-
_error_counts = Counter()
|
|
502
|
-
_latency_ms = defaultdict(list)
|
|
503
|
-
|
|
504
|
-
def track_metrics(tool_name, result, duration_ms=0, **kwargs):
|
|
505
|
-
_tool_counts[tool_name] += 1
|
|
506
|
-
_latency_ms[tool_name].append(duration_ms)
|
|
507
|
-
try:
|
|
508
|
-
parsed = json.loads(result)
|
|
509
|
-
if "error" in parsed:
|
|
510
|
-
_error_counts[tool_name] += 1
|
|
511
|
-
except (json.JSONDecodeError, TypeError):
|
|
512
|
-
pass
|
|
513
|
-
|
|
514
|
-
def register(ctx):
|
|
515
|
-
ctx.register_hook("post_tool_call", track_metrics)
|
|
516
|
-
```
|
|
517
|
-
|
|
518
|
-
---
|
|
519
|
-
|
|
520
|
-
### `pre_llm_call`
|
|
521
|
-
|
|
522
|
-
**每轮触发一次**,在工具调用循环开始前。所有有效回调返回值会按插件顺序聚合,并注入当前轮次的用户消息。
|
|
523
|
-
|
|
524
|
-
**回调签名:**
|
|
525
|
-
|
|
526
|
-
```python
|
|
527
|
-
def my_callback(session_id: str, user_message: str, conversation_history: list,
|
|
528
|
-
is_first_turn: bool, model: str, platform: str, **kwargs):
|
|
529
|
-
```
|
|
530
|
-
|
|
531
|
-
| 参数 | 类型 | 描述 |
|
|
532
|
-
|-----|------|------|
|
|
533
|
-
| `session_id` | `str` | 当前会话的唯一标识符 |
|
|
534
|
-
| `user_message` | `str` | 本轮用户的原始消息(技能注入前) |
|
|
535
|
-
| `conversation_history` | `list` | 完整消息列表的副本(OpenAI 格式:`[{"role": "user", "content": "..."}]`) |
|
|
536
|
-
| `is_first_turn` | `bool` | 新会话的第一轮为 `True`,后续轮次为 `False` |
|
|
537
|
-
| `model` | `str` | 模型标识符(如 `"anthropic/claude-sonnet-4.6"`) |
|
|
538
|
-
| `platform` | `str` | 会话运行环境:`"cli"`、`"telegram"`、`"discord"` 等 |
|
|
539
|
-
|
|
540
|
-
**触发位置:** `run_agent.py` 中的 `run_conversation()` 内,上下文压缩后、主 `while` 循环前。每次 `run_conversation()` 调用触发一次(即每个用户轮次一次),而非工具循环内每次 API 调用触发一次。
|
|
541
|
-
|
|
542
|
-
**返回值:** 若回调返回包含 `"context"` 键的字典,或非空的普通字符串,该文本会追加到当前轮次的用户消息。返回 `None` 表示不注入。
|
|
543
|
-
|
|
544
|
-
```python
|
|
545
|
-
# 注入上下文
|
|
546
|
-
return {"context": "Recalled memories:\n- User likes Python\n- Working on hermes-agent"}
|
|
547
|
-
|
|
548
|
-
# 普通字符串(等效)
|
|
549
|
-
return "Recalled memories:\n- User likes Python"
|
|
550
|
-
|
|
551
|
-
# 不注入
|
|
552
|
-
return None
|
|
553
|
-
```
|
|
554
|
-
|
|
555
|
-
**上下文注入位置:** 始终注入到**用户消息**,而非系统 prompt。这保留了 prompt 缓存——系统 prompt 在各轮次间保持不变,已缓存的 token 得以复用。系统 prompt 是 Hermes 的领域(模型指导、工具执行、个性、技能)。插件在用户输入旁边贡献上下文。
|
|
556
|
-
|
|
557
|
-
干净的用户消息 `content` 保持不变。为保证 replay 和 prompt cache 稳定,Hermes 可能把实际发送给 API 的消息(包括插件注入上下文)持久化到该行的 `api_content` sidecar。
|
|
558
|
-
|
|
559
|
-
当**多个插件**返回上下文时,其输出按插件发现顺序(按目录名字母顺序)以双换行符连接。
|
|
560
|
-
|
|
561
|
-
**使用场景:** 记忆召回、RAG 上下文注入、护栏、每轮分析。
|
|
562
|
-
|
|
563
|
-
**示例——记忆召回:**
|
|
564
|
-
|
|
565
|
-
```python
|
|
566
|
-
import httpx
|
|
567
|
-
|
|
568
|
-
MEMORY_API = "https://your-memory-api.example.com"
|
|
569
|
-
|
|
570
|
-
def recall(session_id, user_message, is_first_turn, **kwargs):
|
|
571
|
-
try:
|
|
572
|
-
resp = httpx.post(f"{MEMORY_API}/recall", json={
|
|
573
|
-
"session_id": session_id,
|
|
574
|
-
"query": user_message,
|
|
575
|
-
}, timeout=3)
|
|
576
|
-
memories = resp.json().get("results", [])
|
|
577
|
-
if not memories:
|
|
578
|
-
return None
|
|
579
|
-
text = "Recalled context:\n" + "\n".join(f"- {m['text']}" for m in memories)
|
|
580
|
-
return {"context": text}
|
|
581
|
-
except Exception:
|
|
582
|
-
return None
|
|
583
|
-
|
|
584
|
-
def register(ctx):
|
|
585
|
-
ctx.register_hook("pre_llm_call", recall)
|
|
586
|
-
```
|
|
587
|
-
|
|
588
|
-
**示例——护栏:**
|
|
589
|
-
|
|
590
|
-
```python
|
|
591
|
-
POLICY = "Never execute commands that delete files without explicit user confirmation."
|
|
592
|
-
|
|
593
|
-
def guardrails(**kwargs):
|
|
594
|
-
return {"context": POLICY}
|
|
595
|
-
|
|
596
|
-
def register(ctx):
|
|
597
|
-
ctx.register_hook("pre_llm_call", guardrails)
|
|
598
|
-
```
|
|
599
|
-
|
|
600
|
-
---
|
|
601
|
-
|
|
602
|
-
### `post_llm_call`
|
|
603
|
-
|
|
604
|
-
**每轮触发一次**,在工具调用循环完成且 agent 产生最终响应后。仅在**成功**的轮次触发——若轮次被中断则不触发。
|
|
605
|
-
|
|
606
|
-
**回调签名:**
|
|
607
|
-
|
|
608
|
-
```python
|
|
609
|
-
def my_callback(session_id: str, user_message: str, assistant_response: str,
|
|
610
|
-
conversation_history: list, model: str, platform: str, **kwargs):
|
|
611
|
-
```
|
|
612
|
-
|
|
613
|
-
| 参数 | 类型 | 描述 |
|
|
614
|
-
|-----|------|------|
|
|
615
|
-
| `session_id` | `str` | 当前会话的唯一标识符 |
|
|
616
|
-
| `user_message` | `str` | 本轮用户的原始消息 |
|
|
617
|
-
| `assistant_response` | `str` | Agent 本轮的最终文本响应 |
|
|
618
|
-
| `conversation_history` | `list` | 轮次完成后完整消息列表的副本 |
|
|
619
|
-
| `model` | `str` | 模型标识符 |
|
|
620
|
-
| `platform` | `str` | 会话运行环境 |
|
|
621
|
-
|
|
622
|
-
**触发位置:** `run_agent.py` 中的 `run_conversation()` 内,工具循环以最终响应退出后。受 `if final_response and not interrupted` 保护——因此当用户在轮次中途中断,或 agent 在未产生响应的情况下达到迭代上限时,**不会**触发。
|
|
623
|
-
|
|
624
|
-
**返回值:** 忽略。
|
|
625
|
-
|
|
626
|
-
**使用场景:** 将对话数据同步到外部记忆系统、计算响应质量指标、记录轮次摘要、触发后续操作。
|
|
627
|
-
|
|
628
|
-
**示例——同步到外部记忆:**
|
|
629
|
-
|
|
630
|
-
```python
|
|
631
|
-
import httpx
|
|
632
|
-
|
|
633
|
-
MEMORY_API = "https://your-memory-api.example.com"
|
|
634
|
-
|
|
635
|
-
def sync_memory(session_id, user_message, assistant_response, **kwargs):
|
|
636
|
-
try:
|
|
637
|
-
httpx.post(f"{MEMORY_API}/store", json={
|
|
638
|
-
"session_id": session_id,
|
|
639
|
-
"user": user_message,
|
|
640
|
-
"assistant": assistant_response,
|
|
641
|
-
}, timeout=5)
|
|
642
|
-
except Exception:
|
|
643
|
-
pass # best-effort
|
|
644
|
-
|
|
645
|
-
def register(ctx):
|
|
646
|
-
ctx.register_hook("post_llm_call", sync_memory)
|
|
647
|
-
```
|
|
648
|
-
|
|
649
|
-
**示例——追踪响应长度:**
|
|
650
|
-
|
|
651
|
-
```python
|
|
652
|
-
import logging
|
|
653
|
-
logger = logging.getLogger(__name__)
|
|
654
|
-
|
|
655
|
-
def log_response_length(session_id, assistant_response, model, **kwargs):
|
|
656
|
-
logger.info("RESPONSE session=%s model=%s chars=%d",
|
|
657
|
-
session_id, model, len(assistant_response or ""))
|
|
658
|
-
|
|
659
|
-
def register(ctx):
|
|
660
|
-
ctx.register_hook("post_llm_call", log_response_length)
|
|
661
|
-
```
|
|
662
|
-
|
|
663
|
-
---
|
|
664
|
-
|
|
665
|
-
### `on_session_start`
|
|
666
|
-
|
|
667
|
-
在全新会话创建时触发**一次**。在会话延续时**不会**触发(用户在已有会话中发送第二条消息时)。
|
|
668
|
-
|
|
669
|
-
**回调签名:**
|
|
670
|
-
|
|
671
|
-
```python
|
|
672
|
-
def my_callback(session_id: str, model: str, platform: str, **kwargs):
|
|
673
|
-
```
|
|
674
|
-
|
|
675
|
-
| 参数 | 类型 | 描述 |
|
|
676
|
-
|-----|------|------|
|
|
677
|
-
| `session_id` | `str` | 新会话的唯一标识符 |
|
|
678
|
-
| `model` | `str` | 模型标识符 |
|
|
679
|
-
| `platform` | `str` | 会话运行环境 |
|
|
680
|
-
|
|
681
|
-
**触发位置:** `run_agent.py` 中的 `run_conversation()` 内,新会话第一轮期间——具体在系统 prompt 构建后、工具循环开始前。检查条件为 `if not conversation_history`(无历史消息 = 新会话)。
|
|
682
|
-
|
|
683
|
-
**返回值:** 忽略。
|
|
684
|
-
|
|
685
|
-
**使用场景:** 初始化会话级状态、预热缓存、向外部服务注册会话、记录会话开始。
|
|
686
|
-
|
|
687
|
-
**示例——初始化会话缓存:**
|
|
688
|
-
|
|
689
|
-
```python
|
|
690
|
-
_session_caches = {}
|
|
691
|
-
|
|
692
|
-
def init_session(session_id, model, platform, **kwargs):
|
|
693
|
-
_session_caches[session_id] = {
|
|
694
|
-
"model": model,
|
|
695
|
-
"platform": platform,
|
|
696
|
-
"tool_calls": 0,
|
|
697
|
-
"started": __import__("datetime").datetime.now().isoformat(),
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
def register(ctx):
|
|
701
|
-
ctx.register_hook("on_session_start", init_session)
|
|
702
|
-
```
|
|
703
|
-
|
|
704
|
-
---
|
|
705
|
-
|
|
706
|
-
### `on_session_end`
|
|
707
|
-
|
|
708
|
-
在每次 `run_conversation()` 调用**结束时**触发,无论结果如何。若用户在 agent 处理过程中退出,也会从 CLI 的退出处理器触发。
|
|
709
|
-
|
|
710
|
-
**回调签名:**
|
|
711
|
-
|
|
712
|
-
```python
|
|
713
|
-
def my_callback(session_id: str, completed: bool, interrupted: bool,
|
|
714
|
-
model: str, platform: str, **kwargs):
|
|
715
|
-
```
|
|
716
|
-
|
|
717
|
-
| 参数 | 类型 | 描述 |
|
|
718
|
-
|-----|------|------|
|
|
719
|
-
| `session_id` | `str` | 会话的唯一标识符 |
|
|
720
|
-
| `completed` | `bool` | Agent 产生最终响应时为 `True`,否则为 `False` |
|
|
721
|
-
| `interrupted` | `bool` | 轮次被中断时为 `True`(用户发送新消息、`/stop` 或退出) |
|
|
722
|
-
| `model` | `str` | 模型标识符 |
|
|
723
|
-
| `platform` | `str` | 会话运行环境 |
|
|
724
|
-
|
|
725
|
-
**触发位置:** 两处:
|
|
726
|
-
1. **`run_agent.py`** — 每次 `run_conversation()` 调用结束时,所有清理完成后。始终触发,即使轮次出错。
|
|
727
|
-
2. **`cli.py`** — CLI 的 atexit 处理器中,但**仅当** agent 在退出时处于处理中状态(`_agent_running=True`)。这捕获了处理过程中的 Ctrl+C 和 `/exit`。此时 `completed=False`,`interrupted=True`。
|
|
728
|
-
|
|
729
|
-
**返回值:** 忽略。
|
|
730
|
-
|
|
731
|
-
**使用场景:** 刷新缓冲区、关闭连接、持久化会话状态、记录会话时长、清理 `on_session_start` 中初始化的资源。
|
|
732
|
-
|
|
733
|
-
**示例——刷新并清理:**
|
|
734
|
-
|
|
735
|
-
```python
|
|
736
|
-
_session_caches = {}
|
|
737
|
-
|
|
738
|
-
def cleanup_session(session_id, completed, interrupted, **kwargs):
|
|
739
|
-
cache = _session_caches.pop(session_id, None)
|
|
740
|
-
if cache:
|
|
741
|
-
# Flush accumulated data to disk or external service
|
|
742
|
-
status = "completed" if completed else ("interrupted" if interrupted else "failed")
|
|
743
|
-
print(f"Session {session_id} ended: {status}, {cache['tool_calls']} tool calls")
|
|
744
|
-
|
|
745
|
-
def register(ctx):
|
|
746
|
-
ctx.register_hook("on_session_end", cleanup_session)
|
|
747
|
-
```
|
|
748
|
-
|
|
749
|
-
**示例——会话时长追踪:**
|
|
750
|
-
|
|
751
|
-
```python
|
|
752
|
-
import time, logging
|
|
753
|
-
logger = logging.getLogger(__name__)
|
|
754
|
-
|
|
755
|
-
_start_times = {}
|
|
756
|
-
|
|
757
|
-
def on_start(session_id, **kwargs):
|
|
758
|
-
_start_times[session_id] = time.time()
|
|
759
|
-
|
|
760
|
-
def on_end(session_id, completed, interrupted, **kwargs):
|
|
761
|
-
start = _start_times.pop(session_id, None)
|
|
762
|
-
if start:
|
|
763
|
-
duration = time.time() - start
|
|
764
|
-
logger.info("SESSION_DURATION session=%s seconds=%.1f completed=%s interrupted=%s",
|
|
765
|
-
session_id, duration, completed, interrupted)
|
|
766
|
-
|
|
767
|
-
def register(ctx):
|
|
768
|
-
ctx.register_hook("on_session_start", on_start)
|
|
769
|
-
ctx.register_hook("on_session_end", on_end)
|
|
770
|
-
```
|
|
771
|
-
|
|
772
|
-
---
|
|
773
|
-
|
|
774
|
-
### `on_session_finalize`
|
|
775
|
-
|
|
776
|
-
当 CLI 或 gateway **销毁**活跃会话时触发——例如用户执行 `/new`,或 CLI 在 agent 活跃时退出。仅回收资源的空闲缓存淘汰不会结束持久化对话。可用它刷新与旧 session ID 绑定的状态。Gateway reset 时,替代会话会先创建并持久化,然后才调用此回调。
|
|
777
|
-
|
|
778
|
-
**回调签名:**
|
|
779
|
-
|
|
780
|
-
```python
|
|
781
|
-
def my_callback(session_id: str | None, platform: str, **kwargs):
|
|
782
|
-
```
|
|
783
|
-
|
|
784
|
-
| 参数 | 类型 | 描述 |
|
|
785
|
-
|-----|------|------|
|
|
786
|
-
| `session_id` | `str` 或 `None` | 即将销毁的会话 ID。若无活跃会话则可能为 `None`。 |
|
|
787
|
-
| `platform` | `str` | `"cli"` 或消息平台名称(`"telegram"`、`"discord"` 等)。 |
|
|
788
|
-
|
|
789
|
-
**触发位置:** CLI/TUI teardown,以及 gateway reset 或关闭路径。Gateway 关闭可只触发 finalize,而不触发对应的 `on_session_reset`。
|
|
790
|
-
|
|
791
|
-
**返回值:** 忽略。
|
|
792
|
-
|
|
793
|
-
**使用场景:** 在会话 ID 被丢弃前持久化最终会话指标、关闭每会话资源、发出最终遥测事件、排空队列写入。
|
|
794
|
-
|
|
795
|
-
---
|
|
796
|
-
|
|
797
|
-
### `on_session_reset`
|
|
798
|
-
|
|
799
|
-
在 CLI 或 TUI session boundary,或 gateway 为活跃聊天**换入新会话 key** 时触发。这让插件无需等待下一个 `on_session_start` 即可响应会话状态已被清除。
|
|
800
|
-
|
|
801
|
-
**回调签名:**
|
|
802
|
-
|
|
803
|
-
```python
|
|
804
|
-
def my_callback(session_id: str, platform: str, **kwargs):
|
|
805
|
-
```
|
|
806
|
-
|
|
807
|
-
| 参数 | 类型 | 描述 |
|
|
808
|
-
|-----|------|------|
|
|
809
|
-
| `session_id` | `str` | 新会话的 ID(已轮换为新值)。 |
|
|
810
|
-
| `platform` | `str` | `"cli"`、`"tui"` 或消息平台名称。 |
|
|
811
|
-
| `reason` | `str`,可选 | CLI 和 gateway reset 路径提供。 |
|
|
812
|
-
| `old_session_id` | `str`,可选 | 仅 gateway,旧 session ID。 |
|
|
813
|
-
| `new_session_id` | `str`,可选 | 仅 gateway,新 session ID。 |
|
|
814
|
-
|
|
815
|
-
**触发位置:** CLI 提供 `session_id`、`platform`、`reason`;TUI 提供 `session_id`、`platform`;gateway 在分配新 key 后另加 `reason`、`old_session_id`、`new_session_id`。Gateway reset 顺序为:创建并持久化替代会话 → `on_session_finalize(old_id)` → `on_session_reset(new_id)` → 第一条入站消息时的 `on_session_start(new_id)`。
|
|
816
|
-
|
|
817
|
-
**返回值:** 忽略。
|
|
818
|
-
|
|
819
|
-
**使用场景:** 重置以 `session_id` 为键的每会话缓存、发出"会话已轮换"分析事件、初始化新状态桶。
|
|
820
|
-
|
|
821
|
-
---
|
|
822
|
-
|
|
823
|
-
参见 **[构建插件指南](/developer-guide/plugins)**,获取包含工具 schema、处理器和高级 hook 模式的完整演练。
|
|
824
|
-
|
|
825
|
-
---
|
|
826
|
-
|
|
827
|
-
### `subagent_stop`
|
|
828
|
-
|
|
829
|
-
`delegate_task` 完成后,**每个子 agent 触发一次**。无论你委托了单个任务还是三个任务的批次,此 hook 对每个子 agent 各触发一次,在父线程上串行执行。
|
|
830
|
-
|
|
831
|
-
**回调签名:**
|
|
832
|
-
|
|
833
|
-
```python
|
|
834
|
-
def my_callback(parent_session_id: str, child_role: str | None,
|
|
835
|
-
child_summary: str | None, child_status: str,
|
|
836
|
-
duration_ms: int, **kwargs):
|
|
837
|
-
```
|
|
838
|
-
|
|
839
|
-
| 参数 | 类型 | 描述 |
|
|
840
|
-
|-----|------|------|
|
|
841
|
-
| `parent_session_id` | `str` | 委托父 agent 的会话 ID |
|
|
842
|
-
| `child_role` | `str \| None` | 子 agent 上设置的编排角色标签(若功能未启用则为 `None`) |
|
|
843
|
-
| `child_summary` | `str \| None` | 子 agent 返回给父 agent 的最终响应 |
|
|
844
|
-
| `child_status` | `str` | `"completed"`、`"failed"`、`"interrupted"` 或 `"error"` |
|
|
845
|
-
| `duration_ms` | `int` | 运行子 agent 的挂钟时间,单位毫秒 |
|
|
846
|
-
|
|
847
|
-
**触发位置:** `tools/delegate_tool.py` 中,`ThreadPoolExecutor.as_completed()` 排空所有子 future 后。触发被编排到父线程,因此 hook 作者无需考虑并发回调执行问题。
|
|
848
|
-
|
|
849
|
-
**返回值:** 忽略。
|
|
850
|
-
|
|
851
|
-
**使用场景:** 记录编排活动、为计费累计子 agent 时长、写入委托后审计记录。
|
|
852
|
-
|
|
853
|
-
**示例——记录编排器活动:**
|
|
854
|
-
|
|
855
|
-
```python
|
|
856
|
-
import logging
|
|
857
|
-
logger = logging.getLogger(__name__)
|
|
858
|
-
|
|
859
|
-
def log_subagent(parent_session_id, child_role, child_status, duration_ms, **kwargs):
|
|
860
|
-
logger.info(
|
|
861
|
-
"SUBAGENT parent=%s role=%s status=%s duration_ms=%d",
|
|
862
|
-
parent_session_id, child_role, child_status, duration_ms,
|
|
863
|
-
)
|
|
864
|
-
|
|
865
|
-
def register(ctx):
|
|
866
|
-
ctx.register_hook("subagent_stop", log_subagent)
|
|
867
|
-
```
|
|
868
|
-
|
|
869
|
-
:::info
|
|
870
|
-
在大量委托场景下(如编排器角色 × 5 个叶节点 × 嵌套深度),`subagent_stop` 每轮会触发多次。保持回调快速执行;将耗时操作推送到后台队列。
|
|
871
|
-
:::
|
|
872
|
-
|
|
873
|
-
---
|
|
874
|
-
|
|
875
|
-
### `pre_gateway_dispatch`
|
|
876
|
-
|
|
877
|
-
在 gateway 中,**每条入站 `MessageEvent` 触发一次**,在内部事件守卫之后、认证/配对和 agent 分发**之前**。这是 gateway 级消息流策略(只听不回窗口、人工接管、按聊天路由等)的拦截点,这些策略不适合放在任何单一平台适配器中。
|
|
878
|
-
|
|
879
|
-
**回调签名:**
|
|
880
|
-
|
|
881
|
-
```python
|
|
882
|
-
def my_callback(event, gateway, session_store, **kwargs):
|
|
883
|
-
```
|
|
884
|
-
|
|
885
|
-
| 参数 | 类型 | 描述 |
|
|
886
|
-
|-----|------|------|
|
|
887
|
-
| `event` | `MessageEvent` | 标准化的入站消息(包含 `.text`、`.source`、`.message_id`、`.internal` 等)。 |
|
|
888
|
-
| `gateway` | `GatewayRunner` | 活跃的 gateway 运行器,插件可调用 `gateway.adapters[platform].send(...)` 进行旁路回复(所有者通知等)。 |
|
|
889
|
-
| `session_store` | `SessionStore` | 用于通过 `session_store.append_to_transcript(...)` 静默摄入转录。 |
|
|
890
|
-
|
|
891
|
-
**触发位置:** `gateway/run.py` 中的 `GatewayRunner._handle_message()` 内,`is_internal` 计算后立即触发。**内部事件完全跳过此 hook**(它们是系统生成的——后台进程完成等——不得被面向用户的策略拦截)。
|
|
892
|
-
|
|
893
|
-
**返回值:** `None` 或字典。第一个被识别的 action 字典生效;其余插件结果被忽略。插件回调中的异常会被捕获并记录;gateway 在出错时始终回退到正常分发。
|
|
894
|
-
|
|
895
|
-
| 返回值 | 效果 |
|
|
896
|
-
|-------|------|
|
|
897
|
-
| `{"action": "skip", "reason": "..."}` | 丢弃消息——无 agent 回复、无配对流程、无认证。假定插件已处理(如静默摄入到转录)。 |
|
|
898
|
-
| `{"action": "rewrite", "text": "new text"}` | 替换 `event.text`,然后以修改后的事件继续正常分发。适用于将缓冲的环境消息合并为单个 prompt。 |
|
|
899
|
-
| `{"action": "allow"}` / `None` | 正常分发——运行完整的认证/配对/agent 循环链。 |
|
|
900
|
-
|
|
901
|
-
**使用场景:** 只听不回的群聊(仅在被 @ 时响应;将环境消息缓冲为上下文);人工接管(所有者手动处理聊天时静默摄入客户消息);按 profile 速率限制;策略驱动的路由。
|
|
902
|
-
|
|
903
|
-
**示例——静默丢弃未授权的私信,不触发配对代码:**
|
|
904
|
-
|
|
905
|
-
```python
|
|
906
|
-
def deny_unauthorized_dms(event, **kwargs):
|
|
907
|
-
src = event.source
|
|
908
|
-
if src.chat_type == "dm" and not _is_approved_user(src.user_id):
|
|
909
|
-
return {"action": "skip", "reason": "unauthorized-dm"}
|
|
910
|
-
return None
|
|
911
|
-
|
|
912
|
-
def register(ctx):
|
|
913
|
-
ctx.register_hook("pre_gateway_dispatch", deny_unauthorized_dms)
|
|
914
|
-
```
|
|
915
|
-
|
|
916
|
-
**示例——在被提及时将环境消息缓冲重写为单个 prompt:**
|
|
917
|
-
|
|
918
|
-
```python
|
|
919
|
-
_buffers = {}
|
|
920
|
-
|
|
921
|
-
def buffer_or_rewrite(event, **kwargs):
|
|
922
|
-
key = (event.source.platform, event.source.chat_id)
|
|
923
|
-
buf = _buffers.setdefault(key, [])
|
|
924
|
-
if _bot_mentioned(event.text):
|
|
925
|
-
combined = "\n".join(buf + [event.text])
|
|
926
|
-
buf.clear()
|
|
927
|
-
return {"action": "rewrite", "text": combined}
|
|
928
|
-
buf.append(event.text)
|
|
929
|
-
return {"action": "skip", "reason": "ambient-buffered"}
|
|
930
|
-
|
|
931
|
-
def register(ctx):
|
|
932
|
-
ctx.register_hook("pre_gateway_dispatch", buffer_or_rewrite)
|
|
933
|
-
```
|
|
934
|
-
|
|
935
|
-
---
|
|
936
|
-
|
|
937
|
-
### `pre_approval_request`
|
|
938
|
-
|
|
939
|
-
在审批请求向用户展示**之前立即**触发——覆盖所有界面:交互式 CLI、Ink TUI、gateway 平台(Telegram、Discord、Slack、WhatsApp、Matrix 等)以及 ACP 客户端(VS Code、Zed、JetBrains)。
|
|
940
|
-
|
|
941
|
-
这是接入自定义通知器的正确位置——例如弹出允许/拒绝通知的 macOS 菜单栏应用,或记录每个带上下文审批请求的审计日志。
|
|
942
|
-
|
|
943
|
-
**回调签名:**
|
|
944
|
-
|
|
945
|
-
```python
|
|
946
|
-
def my_callback(
|
|
947
|
-
command: str,
|
|
948
|
-
description: str,
|
|
949
|
-
pattern_key: str,
|
|
950
|
-
pattern_keys: list[str],
|
|
951
|
-
session_key: str,
|
|
952
|
-
surface: str,
|
|
953
|
-
**kwargs,
|
|
954
|
-
):
|
|
955
|
-
```
|
|
956
|
-
|
|
957
|
-
| 参数 | 类型 | 描述 |
|
|
958
|
-
|-----|------|------|
|
|
959
|
-
| `command` | `str` | 等待审批的 shell 命令 |
|
|
960
|
-
| `description` | `str` | 命令被标记的人类可读原因(多个模式匹配时合并) |
|
|
961
|
-
| `pattern_key` | `str` | 触发审批的主要模式键(如 `"rm_rf"`、`"sudo"`) |
|
|
962
|
-
| `pattern_keys` | `list[str]` | 所有匹配的模式键 |
|
|
963
|
-
| `session_key` | `str` | 会话标识符,用于按聊天限定通知范围 |
|
|
964
|
-
| `surface` | `str` | 交互式 CLI/TUI 提示为 `"cli"`,异步平台审批为 `"gateway"` |
|
|
965
|
-
|
|
966
|
-
**返回值:** 忽略。此处的 hook 仅作观察用途;不能否决或预先回答审批。使用 [`pre_tool_call`](#pre_tool_call) 在工具到达审批系统前阻断它。
|
|
967
|
-
|
|
968
|
-
**使用场景:** 桌面通知、推送告警、审计日志、Slack webhook、升级路由、指标。
|
|
969
|
-
|
|
970
|
-
**示例——macOS 桌面通知:**
|
|
971
|
-
|
|
972
|
-
```python
|
|
973
|
-
import subprocess
|
|
974
|
-
|
|
975
|
-
def notify_approval(command, description, session_key, **kwargs):
|
|
976
|
-
title = "Hermes needs approval"
|
|
977
|
-
body = f"{description}: {command[:80]}"
|
|
978
|
-
subprocess.Popen([
|
|
979
|
-
"osascript", "-e",
|
|
980
|
-
f'display notification "{body}" with title "{title}"',
|
|
981
|
-
])
|
|
982
|
-
|
|
983
|
-
def register(ctx):
|
|
984
|
-
ctx.register_hook("pre_approval_request", notify_approval)
|
|
985
|
-
```
|
|
986
|
-
|
|
987
|
-
---
|
|
988
|
-
|
|
989
|
-
### `post_approval_response`
|
|
990
|
-
|
|
991
|
-
在用户响应审批提示、提示超时,或 gateway 无法发送审批通知**之后**触发。通知失败会在尚无审批决定时以 `choice="notify_failed"` 触发。
|
|
992
|
-
|
|
993
|
-
**回调签名:**
|
|
994
|
-
|
|
995
|
-
```python
|
|
996
|
-
def my_callback(
|
|
997
|
-
command: str,
|
|
998
|
-
description: str,
|
|
999
|
-
pattern_key: str,
|
|
1000
|
-
pattern_keys: list[str],
|
|
1001
|
-
session_key: str,
|
|
1002
|
-
surface: str,
|
|
1003
|
-
choice: str,
|
|
1004
|
-
**kwargs,
|
|
1005
|
-
):
|
|
1006
|
-
```
|
|
1007
|
-
|
|
1008
|
-
与 `pre_approval_request` 相同的 kwargs,另加:
|
|
1009
|
-
|
|
1010
|
-
| 参数 | 类型 | 描述 |
|
|
1011
|
-
|-----|------|------|
|
|
1012
|
-
| `choice` | `str` | Prompted 路径使用 `"once"`、`"session"`、`"always"`、`"deny"`、`"timeout"` 或 `"notify_failed"`;smart 路径使用 `"smart_approve"` 或 `"smart_deny"` |
|
|
1013
|
-
| `decided_by` | `str` | Smart 决策为 `"aux_llm"`;prompted 路径不存在。 |
|
|
1014
|
-
|
|
1015
|
-
**返回值:** 忽略。
|
|
1016
|
-
|
|
1017
|
-
**使用场景:** 关闭对应的桌面通知、在审计日志中记录最终决定、更新指标、推进速率限制器。
|
|
1018
|
-
|
|
1019
|
-
```python
|
|
1020
|
-
def log_decision(command, choice, session_key, **kwargs):
|
|
1021
|
-
logger.info("approval %s: %s for session %s", choice, command[:60], session_key)
|
|
1022
|
-
|
|
1023
|
-
def register(ctx):
|
|
1024
|
-
ctx.register_hook("post_approval_response", log_decision)
|
|
1025
|
-
```
|
|
1026
|
-
|
|
1027
|
-
---
|
|
1028
|
-
|
|
1029
|
-
### `transform_tool_result`
|
|
1030
|
-
|
|
1031
|
-
在工具返回**之后**、结果追加到对话**之前**触发。允许插件重写**任意**工具的结果字符串——不仅限于终端输出——在模型看到之前进行处理。
|
|
1032
|
-
|
|
1033
|
-
**回调签名:**
|
|
1034
|
-
|
|
1035
|
-
```python
|
|
1036
|
-
def my_callback(tool_name: str, args: dict, result: str, task_id: str, **kwargs) -> str | None:
|
|
1037
|
-
```
|
|
1038
|
-
|
|
1039
|
-
完整 payload 还包括 `session_id`、`tool_call_id`、`turn_id`、`api_request_id`、`duration_ms`、`status`、`error_type`、`error_message`。`result` 是 tool dispatch 返回的最终结果;它和 `args` 都可能包含任意用户/工具内容及 secret。
|
|
1040
|
-
|
|
1041
|
-
**返回值:** 第一个 `str`(包括空字符串)替换结果,`None` 保持不变。
|
|
1042
|
-
|
|
1043
|
-
**使用场景:** 从 `web_extract` 输出中脱敏组织特定的 PII、为长 JSON 工具响应添加摘要头、向 `read_file` 结果注入检索增强提示、将 `delegate_task` 子 agent 报告重写为项目特定 schema。
|
|
1044
|
-
|
|
1045
|
-
```python
|
|
1046
|
-
import re
|
|
1047
|
-
SECRET = re.compile(r"sk-[A-Za-z0-9]{32,}")
|
|
1048
|
-
|
|
1049
|
-
def redact_secrets(tool_name, result, **kwargs):
|
|
1050
|
-
if SECRET.search(result):
|
|
1051
|
-
return SECRET.sub("[REDACTED]", result)
|
|
1052
|
-
return None
|
|
1053
|
-
|
|
1054
|
-
def register(ctx):
|
|
1055
|
-
ctx.register_hook("transform_tool_result", redact_secrets)
|
|
1056
|
-
```
|
|
1057
|
-
|
|
1058
|
-
适用于所有工具。仅针对 terminal 的重写请参见下方 `transform_terminal_output`——它范围更窄,在 `transform_tool_result` 前运行,且替换内容仍受 terminal 工具的最终 output limit 限制。
|
|
1059
|
-
|
|
1060
|
-
---
|
|
1061
|
-
|
|
1062
|
-
### `transform_terminal_output`
|
|
1063
|
-
|
|
1064
|
-
在 `terminal` 工具完成前台进程的有界输出捕获后、最终 output limit 前触发。插件可替换已捕获的 stdout/stderr;替换内容仍会受最终 output limit 限制。
|
|
1065
|
-
|
|
1066
|
-
**回调签名:**
|
|
1067
|
-
|
|
1068
|
-
```python
|
|
1069
|
-
def my_callback(
|
|
1070
|
-
command: str,
|
|
1071
|
-
output: str,
|
|
1072
|
-
returncode: int,
|
|
1073
|
-
task_id: str,
|
|
1074
|
-
env_type: str,
|
|
1075
|
-
**kwargs,
|
|
1076
|
-
) -> str | None:
|
|
1077
|
-
```
|
|
1078
|
-
|
|
1079
|
-
| 参数 | 类型 | 描述 |
|
|
1080
|
-
|-----|------|------|
|
|
1081
|
-
| `command` | `str` | 产生输出的 shell 命令。 |
|
|
1082
|
-
| `output` | `str` | 有界进程捕获后的合并 stdout/stderr。 |
|
|
1083
|
-
| `returncode` | `int` | 进程返回码。 |
|
|
1084
|
-
| `task_id` | `str` | 有效 task ID,未设置时为空字符串。 |
|
|
1085
|
-
| `env_type` | `str` | 执行环境类型。 |
|
|
1086
|
-
|
|
1087
|
-
**返回值:** 第一个 `str` 替换输出,`None` 保持不变。命令和输出可能包含凭据或其他敏感数据。
|
|
1088
|
-
|
|
1089
|
-
```python
|
|
1090
|
-
def summarize_find(command, output, **kwargs):
|
|
1091
|
-
if command.startswith("find ") and len(output) > 50_000:
|
|
1092
|
-
lines = output.count("\n")
|
|
1093
|
-
head = "\n".join(output.splitlines()[:40])
|
|
1094
|
-
return f"{head}\n\n[summary: {lines} paths total, showing first 40]"
|
|
1095
|
-
return None
|
|
1096
|
-
|
|
1097
|
-
def register(ctx):
|
|
1098
|
-
ctx.register_hook("transform_terminal_output", summarize_find)
|
|
1099
|
-
```
|
|
1100
|
-
|
|
1101
|
-
与随后运行的 `transform_tool_result` 配合使用;后者覆盖所有工具,包括 `terminal`。
|
|
1102
|
-
|
|
1103
|
-
---
|
|
1104
|
-
|
|
1105
|
-
### `transform_llm_output`
|
|
1106
|
-
|
|
1107
|
-
**每轮触发一次**,在工具调用循环完成且模型产生最终响应后、该响应交付给用户(CLI、gateway 或程序调用方)**之前**。允许插件使用经典编程方法重写 assistant 的最终文本——无需为 SOUL 风格文本或技能驱动的转换消耗额外推理 token。
|
|
1108
|
-
|
|
1109
|
-
**回调签名:**
|
|
1110
|
-
|
|
1111
|
-
```python
|
|
1112
|
-
def my_callback(
|
|
1113
|
-
response_text: str,
|
|
1114
|
-
session_id: str,
|
|
1115
|
-
model: str,
|
|
1116
|
-
platform: str,
|
|
1117
|
-
**kwargs,
|
|
1118
|
-
) -> str | None:
|
|
1119
|
-
```
|
|
1120
|
-
|
|
1121
|
-
| 参数 | 类型 | 描述 |
|
|
1122
|
-
|-----|------|------|
|
|
1123
|
-
| `response_text` | `str` | 本轮 assistant 的最终响应文本。 |
|
|
1124
|
-
| `session_id` | `str` | 本次对话的会话 ID(一次性运行时可能为空)。 |
|
|
1125
|
-
| `model` | `str` | 产生响应的模型名称(如 `anthropic/claude-sonnet-4.6`)。 |
|
|
1126
|
-
| `platform` | `str` | 交付平台(`cli`、`telegram`、`discord` 等;未设置时为空)。 |
|
|
1127
|
-
|
|
1128
|
-
**返回值:** 非空 `str` 替换响应文本,`None` 或空字符串保持不变。当多个插件注册时,**第一个非空字符串生效**。与 tool/terminal transform 不同,空字符串不会作为替换值。
|
|
1129
|
-
|
|
1130
|
-
**使用场景:** 应用个性/词汇转换(海盗腔、海绵宝宝体)、从最终文本中脱敏用户特定标识符、追加项目特定签名页脚、在不消耗 SOUL 指令 token 的情况下执行内部风格指南。
|
|
1131
|
-
|
|
1132
|
-
```python
|
|
1133
|
-
import os, re
|
|
1134
|
-
|
|
1135
|
-
def spongebob(response_text, **kwargs):
|
|
1136
|
-
if os.environ.get("SPONGEBOB_MODE") != "on":
|
|
1137
|
-
return None # pass through unchanged
|
|
1138
|
-
return re.sub(r"!", "!! Tartar sauce!", response_text)
|
|
1139
|
-
|
|
1140
|
-
def register(ctx):
|
|
1141
|
-
ctx.register_hook("transform_llm_output", spongebob)
|
|
1142
|
-
```
|
|
1143
|
-
|
|
1144
|
-
此 hook 受非空、非中断响应保护——不会在停止按钮中断或空轮次时触发。异常会被记录为警告,不会中断 agent 执行。
|
|
1145
|
-
|
|
1146
|
-
### API request 观察者 hook
|
|
1147
|
-
|
|
1148
|
-
#### `pre_api_request`
|
|
1149
|
-
|
|
1150
|
-
每次 provider attempt 发出前触发,仅观察。兼容字段 `user_message`、`conversation_history`、`request_messages` 是原始且故意未清理的数据;新 consumer 应优先使用已清理的 `request` envelope。
|
|
1151
|
-
|
|
1152
|
-
#### `post_api_request`
|
|
1153
|
-
|
|
1154
|
-
Provider response 成功归一化后触发,仅观察。优先使用已清理的 `response`;`assistant_message` 是原始归一化消息,`usage` 是计费数据。
|
|
1155
|
-
|
|
1156
|
-
#### `api_request_error`
|
|
1157
|
-
|
|
1158
|
-
Provider attempt 失败时触发,包含 status/retry timing、`error` 对象和已清理的 `request`,仅观察。Error message 仍可能包含 provider 或用户数据。
|
|
1159
|
-
|
|
1160
|
-
### `on_skill_lifecycle`
|
|
1161
|
-
|
|
1162
|
-
权威 skill 使用状态变更后触发,仅观察;会暴露本地 `skill_name`、provenance、关联 ID、use count 和 reuse flag。
|
|
1163
|
-
|
|
1164
|
-
### Kanban 生命周期观察者
|
|
1165
|
-
|
|
1166
|
-
#### `kanban_task_claimed`
|
|
1167
|
-
|
|
1168
|
-
Claim commit 后,在 dispatcher 进程 spawn worker 前触发。
|
|
1169
|
-
|
|
1170
|
-
#### `kanban_task_completed`
|
|
1171
|
-
|
|
1172
|
-
Completion 和 cleanup 后触发,通常位于 worker 进程;`summary` 可能包含项目或用户内容。
|
|
1173
|
-
|
|
1174
|
-
#### `kanban_task_blocked`
|
|
1175
|
-
|
|
1176
|
-
普通 blocked transition 后触发;dependency-wait 路径在该 write transaction 退出前调用。`reason` 可能包含项目或用户内容。
|
|
1177
|
-
|
|
1178
|
-
三个 kanban hook 均仅观察,并携带 `task_id`、`profile_name`、`board`、`assignee`、`run_id`;completed 增加 `summary`,blocked 增加 `reason`。
|
|
1179
|
-
|
|
1180
|
-
---
|
|
1181
|
-
|
|
1182
|
-
## Shell Hooks
|
|
1183
|
-
|
|
1184
|
-
在 `cli-config.yaml` 中声明 shell 脚本 hook,Hermes 会在对应的插件 hook 事件触发时将其作为子进程运行——在 CLI 和 gateway 会话中均适用。无需编写 Python 插件。
|
|
1185
|
-
|
|
1186
|
-
当你希望用一个即插即用的单文件脚本(Bash、Python 或任何带 shebang 的脚本)来实现以下功能时,使用 shell hooks:
|
|
1187
|
-
|
|
1188
|
-
- **阻断工具调用** — 拒绝危险的 `terminal` 命令、执行按目录策略、要求对破坏性的 `write_file` / `patch` 操作进行审批。
|
|
1189
|
-
- **工具调用后运行** — 自动格式化 agent 刚写入的 Python 或 TypeScript 文件、记录 API 调用、触发 CI 工作流。
|
|
1190
|
-
- **向下一个 LLM 轮次注入上下文** — 在用户消息前追加 `git status` 输出、当前星期几或检索到的文档(参见 [`pre_llm_call`](#pre_llm_call))。
|
|
1191
|
-
- **观察生命周期事件** — 在子 agent 完成(`subagent_stop`)或会话开始(`on_session_start`)时写入日志行。
|
|
1192
|
-
|
|
1193
|
-
Shell hooks 通过在 CLI 启动(`hermes_cli/main.py`)和 gateway 启动(`gateway/run.py`)时调用 `agent.shell_hooks.register_from_config(cfg)` 来注册。它们与 Python 插件 hook 自然组合——两者都流经同一个分发器。
|
|
1194
|
-
|
|
1195
|
-
### 对比一览
|
|
1196
|
-
|
|
1197
|
-
| 维度 | Shell hooks | [Plugin hooks](#plugin-hooks) | [Gateway hooks](#gateway-event-hooks) |
|
|
1198
|
-
|------|-------------|-------------------------------|---------------------------------------|
|
|
1199
|
-
| 声明位置 | `~/.hermes/config.yaml` 中的 `hooks:` 块 | 插件 `plugin.yaml` 中的 `register()` | `HOOK.yaml` + `handler.py` 目录 |
|
|
1200
|
-
| 存放位置 | `~/.hermes/agent-hooks/`(约定) | `~/.hermes/plugins/<name>/` | `~/.hermes/hooks/<name>/` |
|
|
1201
|
-
| 语言 | 任意(Bash、Python、Go 二进制等) | 仅 Python | 仅 Python |
|
|
1202
|
-
| 运行环境 | CLI + Gateway | CLI + Gateway | 仅 Gateway |
|
|
1203
|
-
| 事件 | `VALID_HOOKS`(含 `subagent_stop`) | `VALID_HOOKS` | Gateway 生命周期(`gateway:startup`、`agent:*`、`command:*`) |
|
|
1204
|
-
| 可阻断工具调用 | 是(`pre_tool_call`) | 是(`pre_tool_call`) | 否 |
|
|
1205
|
-
| 可注入 LLM 上下文 | 是(`pre_llm_call`) | 是(`pre_llm_call`) | 否 |
|
|
1206
|
-
| 授权 | 每个 `(event, command)` 对首次使用时提示 | 隐式(Python 插件信任) | 隐式(目录信任) |
|
|
1207
|
-
| 进程间隔离 | 是(子进程) | 否(进程内) | 否(进程内) |
|
|
1208
|
-
|
|
1209
|
-
### 配置 schema
|
|
1210
|
-
|
|
1211
|
-
```yaml
|
|
1212
|
-
hooks:
|
|
1213
|
-
<event_name>: # Must be in VALID_HOOKS
|
|
1214
|
-
- matcher: "<regex>" # Optional; used for pre/post_tool_call only
|
|
1215
|
-
command: "<shell command>" # Required; runs via shlex.split, shell=False
|
|
1216
|
-
timeout: <seconds> # Optional; default 60, capped at 300
|
|
1217
|
-
|
|
1218
|
-
hooks_auto_accept: false # See "Consent model" below
|
|
1219
|
-
```
|
|
1220
|
-
|
|
1221
|
-
事件名称必须是 [plugin hook 事件](#plugin-hooks)之一;拼写错误会产生"你是否想输入 X?"警告并被跳过。单个条目中的未知键会被忽略;缺少 `command` 会跳过并发出警告。`timeout > 300` 会被截断并发出警告。
|
|
1222
|
-
|
|
1223
|
-
### JSON 通信协议
|
|
1224
|
-
|
|
1225
|
-
每次事件触发时,Hermes 为每个匹配的 hook(在 matcher 允许的情况下)生成一个子进程,将 JSON 载荷通过 **stdin** 传入,并从 **stdout** 读取 JSON 响应。
|
|
1226
|
-
|
|
1227
|
-
**stdin——脚本接收的载荷:**
|
|
1228
|
-
|
|
1229
|
-
```json
|
|
1230
|
-
{
|
|
1231
|
-
"hook_event_name": "pre_tool_call",
|
|
1232
|
-
"tool_name": "terminal",
|
|
1233
|
-
"tool_input": {"command": "rm -rf /"},
|
|
1234
|
-
"session_id": "sess_abc123",
|
|
1235
|
-
"cwd": "/home/user/project",
|
|
1236
|
-
"extra": {"task_id": "...", "tool_call_id": "..."}
|
|
1237
|
-
}
|
|
1238
|
-
```
|
|
1239
|
-
|
|
1240
|
-
对于非工具事件(`pre_llm_call`、`subagent_stop`、会话生命周期),`tool_name` 和 `tool_input` 为 `null`。`extra` 字典携带所有事件特定的 kwargs(`user_message`、`conversation_history`、`child_role`、`duration_ms` 等)。不可序列化的值会被字符串化而非省略。
|
|
1241
|
-
|
|
1242
|
-
**stdout——可选响应:**
|
|
1243
|
-
|
|
1244
|
-
```jsonc
|
|
1245
|
-
// Block a pre_tool_call (both shapes accepted; normalised internally):
|
|
1246
|
-
{"decision": "block", "reason": "Forbidden: rm -rf"} // Claude-Code style
|
|
1247
|
-
{"action": "block", "message": "Forbidden: rm -rf"} // Hermes-canonical
|
|
1248
|
-
|
|
1249
|
-
// Inject context for pre_llm_call:
|
|
1250
|
-
{"context": "Today is Friday, 2026-04-17"}
|
|
1251
|
-
|
|
1252
|
-
// Silent no-op — any empty / non-matching output is fine:
|
|
1253
|
-
```
|
|
1254
|
-
|
|
1255
|
-
格式错误的 JSON、非零退出码和超时会记录警告,但永远不会中止 agent 循环。
|
|
1256
|
-
|
|
1257
|
-
### 实际示例
|
|
1258
|
-
|
|
1259
|
-
#### 1. 每次写入后自动格式化 Python 文件
|
|
1260
|
-
|
|
1261
|
-
```yaml
|
|
1262
|
-
# ~/.hermes/config.yaml
|
|
1263
|
-
hooks:
|
|
1264
|
-
post_tool_call:
|
|
1265
|
-
- matcher: "write_file|patch"
|
|
1266
|
-
command: "~/.hermes/agent-hooks/auto-format.sh"
|
|
1267
|
-
```
|
|
1268
|
-
|
|
1269
|
-
```bash
|
|
1270
|
-
#!/usr/bin/env bash
|
|
1271
|
-
# ~/.hermes/agent-hooks/auto-format.sh
|
|
1272
|
-
payload="$(cat -)"
|
|
1273
|
-
path=$(echo "$payload" | jq -r '.tool_input.path // empty')
|
|
1274
|
-
[[ "$path" == *.py ]] && command -v black >/dev/null && black "$path" 2>/dev/null
|
|
1275
|
-
printf '{}\n'
|
|
1276
|
-
```
|
|
1277
|
-
|
|
1278
|
-
Agent 的上下文内文件视图**不会**自动重新读取——重新格式化仅影响磁盘上的文件。后续的 `read_file` 调用会读取格式化后的版本。
|
|
1279
|
-
|
|
1280
|
-
#### 2. 阻断破坏性 `terminal` 命令
|
|
1281
|
-
|
|
1282
|
-
```yaml
|
|
1283
|
-
hooks:
|
|
1284
|
-
pre_tool_call:
|
|
1285
|
-
- matcher: "terminal"
|
|
1286
|
-
command: "~/.hermes/agent-hooks/block-rm-rf.sh"
|
|
1287
|
-
timeout: 5
|
|
1288
|
-
```
|
|
1289
|
-
|
|
1290
|
-
```bash
|
|
1291
|
-
#!/usr/bin/env bash
|
|
1292
|
-
# ~/.hermes/agent-hooks/block-rm-rf.sh
|
|
1293
|
-
payload="$(cat -)"
|
|
1294
|
-
cmd=$(echo "$payload" | jq -r '.tool_input.command // empty')
|
|
1295
|
-
if echo "$cmd" | grep -qE 'rm[[:space:]]+-rf?[[:space:]]+/'; then
|
|
1296
|
-
printf '{"decision": "block", "reason": "blocked: rm -rf / is not permitted"}\n'
|
|
1297
|
-
else
|
|
1298
|
-
printf '{}\n'
|
|
1299
|
-
fi
|
|
1300
|
-
```
|
|
1301
|
-
|
|
1302
|
-
#### 3. 向每轮注入 `git status`(Claude-Code `UserPromptSubmit` 等效)
|
|
1303
|
-
|
|
1304
|
-
```yaml
|
|
1305
|
-
hooks:
|
|
1306
|
-
pre_llm_call:
|
|
1307
|
-
- command: "~/.hermes/agent-hooks/inject-cwd-context.sh"
|
|
1308
|
-
```
|
|
1309
|
-
|
|
1310
|
-
```bash
|
|
1311
|
-
#!/usr/bin/env bash
|
|
1312
|
-
# ~/.hermes/agent-hooks/inject-cwd-context.sh
|
|
1313
|
-
cat - >/dev/null # discard stdin payload
|
|
1314
|
-
if status=$(git status --porcelain 2>/dev/null) && [[ -n "$status" ]]; then
|
|
1315
|
-
jq --null-input --arg s "$status" \
|
|
1316
|
-
'{context: ("Uncommitted changes in cwd:\n" + $s)}'
|
|
1317
|
-
else
|
|
1318
|
-
printf '{}\n'
|
|
1319
|
-
fi
|
|
1320
|
-
```
|
|
1321
|
-
|
|
1322
|
-
Claude Code 的 `UserPromptSubmit` 事件在 Hermes 中没有对应的独立事件——`pre_llm_call` 在相同位置触发,且已支持上下文注入。在此使用即可。
|
|
1323
|
-
|
|
1324
|
-
#### 4. 记录每次子 agent 完成
|
|
1325
|
-
|
|
1326
|
-
```yaml
|
|
1327
|
-
hooks:
|
|
1328
|
-
subagent_stop:
|
|
1329
|
-
- command: "~/.hermes/agent-hooks/log-orchestration.sh"
|
|
1330
|
-
```
|
|
1331
|
-
|
|
1332
|
-
```bash
|
|
1333
|
-
#!/usr/bin/env bash
|
|
1334
|
-
# ~/.hermes/agent-hooks/log-orchestration.sh
|
|
1335
|
-
log=~/.hermes/logs/orchestration.log
|
|
1336
|
-
jq -c '{ts: now, parent: .session_id, extra: .extra}' < /dev/stdin >> "$log"
|
|
1337
|
-
printf '{}\n'
|
|
1338
|
-
```
|
|
1339
|
-
|
|
1340
|
-
### 授权模型
|
|
1341
|
-
|
|
1342
|
-
每个唯一的 `(event, command)` 对在 Hermes 首次遇到时会提示用户审批,然后将决定持久化到 `~/.hermes/shell-hooks-allowlist.json`。后续运行(CLI 或 gateway)跳过提示。
|
|
1343
|
-
|
|
1344
|
-
三种方式可绕过交互式提示——满足其一即可:
|
|
1345
|
-
|
|
1346
|
-
1. CLI 上的 `--accept-hooks` 标志(如 `hermes --accept-hooks chat`)
|
|
1347
|
-
2. `HERMES_ACCEPT_HOOKS=1` 环境变量
|
|
1348
|
-
3. `cli-config.yaml` 中的 `hooks_auto_accept: true`
|
|
1349
|
-
|
|
1350
|
-
非 TTY 运行(gateway、cron、CI)需要这三种方式之一——否则任何新添加的 hook 会静默保持未注册状态并记录警告。
|
|
1351
|
-
|
|
1352
|
-
**脚本编辑被静默信任。** 允许列表以精确的命令字符串为键,而非脚本的哈希值,因此编辑磁盘上的脚本不会使授权失效。`hermes hooks doctor` 会标记 mtime 漂移,以便你发现编辑并决定是否重新审批。
|
|
1353
|
-
|
|
1354
|
-
### `hermes hooks` CLI
|
|
1355
|
-
|
|
1356
|
-
| 命令 | 功能 |
|
|
1357
|
-
|------|------|
|
|
1358
|
-
| `hermes hooks list` | 列出已配置的 hook,包含 matcher、超时和授权状态 |
|
|
1359
|
-
| `hermes hooks test <event> [--for-tool X] [--payload-file F]` | 对合成载荷触发所有匹配的 hook 并打印解析后的响应 |
|
|
1360
|
-
| `hermes hooks revoke <command>` | 删除所有匹配 `<command>` 的允许列表条目(下次重启后生效) |
|
|
1361
|
-
| `hermes hooks doctor` | 对每个已配置的 hook 检查:执行位、允许列表状态、mtime 漂移、JSON 输出有效性和大致执行时间 |
|
|
1362
|
-
|
|
1363
|
-
### 安全性
|
|
1364
|
-
|
|
1365
|
-
Shell hooks 以**你的完整用户凭据**运行——与 cron 条目或 shell 别名的信任边界相同。将 `config.yaml` 中的 `hooks:` 块视为特权配置:
|
|
1366
|
-
|
|
1367
|
-
- 只引用你自己编写或完整审查过的脚本。
|
|
1368
|
-
- 将脚本保存在 `~/.hermes/agent-hooks/` 内,便于审计路径。
|
|
1369
|
-
- 拉取共享配置后重新运行 `hermes hooks doctor`,在新添加的 hook 注册前发现它们。
|
|
1370
|
-
- 如果你的 config.yaml 在团队中进行版本控制,审查修改 `hooks:` 部分的 PR 时应与审查 CI 配置一样严格。
|
|
1371
|
-
|
|
1372
|
-
### 顺序与优先级
|
|
1373
|
-
|
|
1374
|
-
Python 插件 hook 和 shell hook 都流经同一个 `invoke_hook()` 分发器。Python 插件先注册(`discover_and_load()`),shell hook 后注册(`register_from_config()`),因此在平局情况下 Python `pre_tool_call` 的 block 决定优先。第一个有效的 block 生效——聚合器在任何回调产生带非空 message 的 `{"action": "block", "message": str}` 时立即返回。
|
|
1375
|
-
|
|
1376
|
-
## Outbound Webhooks
|
|
1377
|
-
|
|
1378
|
-
在 `config.yaml` 的 `hooks.outbound:` 中为一个或多个已发布事件配置外部 HTTP endpoint。Outbound webhook 是**仅通知**的 consumer:回调会序列化事件并放入有界队列,由 daemon worker 发送,因此 endpoint 的返回值不能阻断、转换或引导 agent。可使用环境变量提供 HMAC secret;接收方应校验签名,并将 payload 视为与上表相同敏感度的数据。
|
|
1379
|
-
|
|
1380
|
-
```yaml
|
|
1381
|
-
hooks:
|
|
1382
|
-
outbound:
|
|
1383
|
-
- url: "https://example.com/hermes-events"
|
|
1384
|
-
events: [post_tool_call, on_session_end]
|
|
1385
|
-
secret_env: HERMES_WEBHOOK_SECRET
|
|
1386
|
-
```
|
|
1387
|
-
|
|
1388
|
-
配置中的事件名同样以 `hermes_cli.plugins.VALID_HOOKS` 为准。`hermes hooks list` 会列出这些已配置 target,但不会输出完整的可用事件目录。
|