63 lines
2.6 KiB
Markdown
63 lines
2.6 KiB
Markdown
# Hermes Canopy
|
||
|
||
**English** | [Deutsch](README.de.md)
|
||
|
||
A desktop plugin for [Hermes Agent](https://hermes-agent.nousresearch.com/) that
|
||
adds a third tab next to **Sessions** and **Bots**: a collapsible tree
|
||
**bot → Bot Chat + conversations** for the bots (profiles) of **one** gateway.
|
||
Canopy only opens existing conversations; it never creates, changes or reads chat
|
||
content itself. Status: **0.3.0, test version.** The interface is German.
|
||
|
||
## Features
|
||
|
||
- One node per bot; the first row is its **Bot Chat** (★), opened in the Bots workspace
|
||
- Below it, all other conversations of the bot, newest first; a click opens them
|
||
through the official session navigation
|
||
- Right-click on a bot: new conversation, open Bot Chat, expand/collapse, refresh
|
||
- New, not yet saved conversations show up at once ("✎ Aktuelle Unterhaltung")
|
||
- Sort bots A–Z or by last activity (remembered); hides empty sessions and cron runs
|
||
- Works with both `session.list` contracts of Hermes (canonical with cursor, or
|
||
the per-profile fallback list, limited to 500 entries with a notice)
|
||
|
||
## Requirements
|
||
|
||
- Hermes desktop app or gateway web app with `@hermes/plugin-sdk`
|
||
(checked against Hermes Agent v0.23.2)
|
||
- Node.js ≥ 22.15 only for the tests
|
||
|
||
## Installation
|
||
|
||
Copy `plugin.js` to `desktop-plugins/hermes-canopy/plugin.js` and enable
|
||
**Canopy** under **Settings → Plugins** (it is off by default). No npm, no backend part.
|
||
|
||
- **Desktop app:** in the app's Hermes home on the client (`<hermes-home>/desktop-plugins/…`).
|
||
- **Gateway web app:** in the default Hermes root of the gateway that serves the web app.
|
||
|
||
Update by replacing `plugin.js`; uninstall by disabling the plugin and deleting the folder.
|
||
|
||
## Usage
|
||
|
||
Open the **Canopy** tab, expand a bot and click a row. If a bot has no Bot Chat
|
||
yet, Canopy shows a hint to create it in the **Bots** tab; Canopy itself never creates one.
|
||
|
||
## Known limits
|
||
|
||
Opening the Bot Chat mirrors internal logic of the Hermes bots plugin and must be
|
||
re-checked after Hermes updates. Reading the roster can un-archive an accidentally
|
||
archived Bot Chat, exactly like the built-in Bots tab does. Details and source
|
||
findings (German): [docs/DETAILS.md](docs/DETAILS.md).
|
||
|
||
## Development
|
||
|
||
```sh
|
||
npm test # node --check plugin.js && node --test
|
||
node scripts/browser-fixture.mjs <node_modules> <output.html> [legacy] # isolated browser test page
|
||
```
|
||
|
||
`check_lookup_contract.py` probes the lookup routines of an installed Hermes with
|
||
synthetic data (run from the Hermes source root, see the details document).
|
||
|
||
## License
|
||
|
||
MIT, see [LICENSE](LICENSE). Not affiliated with Nous Research.
|