All plugins

logbuch

A value-ranked list of your real-work Hermes sessions in Hermes Desktop, as a tab and a full page. Compression chains fold into their root, sessions group by topic and rank by business value and shipped output (commit and MR calls), an icon shows each session's end state (waiting for a go, interrupted, not merged, shipped), open loose ends are tracked, and a weekly Markdown digest is one click away. Labels come from your own rules first, an optional model pass on request, and manual edits that are never overwritten. Disclosure — reads the sessions database (state.db, opened read-only) of the profile the backend runs in; writes only its own files under $HERMES_HOME/logbuch (labels.db at 0600, digests you ask for). The one model call, POST /classify, runs only when that route is called: it starts a 'hermes chat --oneshot --safe-mode --source tool' child with the configured model, provider and profile (claude-haiku-5-5 on anthropic under the default profile unless changed) and hands it a redacted excerpt (400 characters each of the first prompt and the last reply, withheld whole when a key-like value is present) through a 0600 query file. No other network calls, no background processes, no stored credentials, no telemetry.

SenciDesktopv0.1.2Updated 5 days ago

About

A value-ranked list of your real-work Hermes sessions in Hermes Desktop, as a tab and a full page. Compression chains fold into their root, sessions group by topic and rank by business value and shipped output (commit and MR calls), an icon shows each session's end state (waiting for a go, interrupted, not merged, shipped), open loose ends are tracked, and a weekly Markdown digest is one click away. Labels come from your own rules first, an optional model pass on request, and manual edits that are never overwritten. Disclosure — reads the sessions database (state.db, opened read-only) of the profile the backend runs in; writes only its own files under $HERMES_HOME/logbuch (labels.db at 0600, digests you ask for). The one model call, POST /classify, runs only when that route is called: it starts a 'hermes chat --oneshot --safe-mode --source tool' child with the configured model, provider and profile (claude-haiku-5-5 on anthropic under the default profile unless changed) and hands it a redacted excerpt (400 characters each of the first prompt and the last reply, withheld whole when a key-like value is present) through a 0600 query file. No other network calls, no background processes, no stored credentials, no telemetry.

Logbuch

Logbuch

A value-ranked list of your real-work Hermes sessions. Interactive sessions (desktop and CLI) of the profile the backend runs in, compression chains folded into their root, grouped by topic and ranked by business value, then by shipped output (commit calls plus MR calls). The tab is called "Logbuch" on purpose.

Install

Needs Hermes 0.21.5 or newer; the pane and page need Hermes Desktop. Put the logbuch directory into ~/.hermes/plugins/ (or hermes plugins install Senci/hermes-logbuch), then run hermes plugins enable logbuch.

With no further setup the plugin runs on a built-in neutral set of topics and no rules. Point it at your own topics and rules with a data file (below).

Settings

Settings live in Hermes Desktop under Settings, Plugins, Logbuch, and are stored under plugins.entries.logbuch.settings in config.yaml. A value of the wrong type falls back to its default.

KeyDefaultUse
data_fileemptypath of the data file; empty means $HERMES_HOME/logbuch/data.json when it exists, else the built-in default
classify_modelclaude-haiku-5-5model that POST /classify labels sessions with
provideranthropicHermes provider for that model
profiledefaultHermes profile the classify call runs under
classify_limit20sessions labelled per POST /classify when the request names no limit; a request never labels more than 50

Data file

One JSON file holds everything that is about your work rather than about the plugin. examples/data.example.json is a complete starting point. Only topics is required; a missing section takes the built-in default.

KeyMeaning
topics{KEY: name}: the topics a session can carry. Every label, the classify prompt and the digest use exactly these keys
loose_endregex (case-insensitive) matched on the first 320 characters of a session's last reply; a match sets the loose end mark
open_states{waiting_go, not_merged, todo: regex}: the phrases that put a session into that state, tried in file order (see States)
rubricthe value rubric sentence in the classify prompt, for example 3 = shipped for others; 2 = ...; 0 = personal.
ruleslist of rules that label or hint without a model call

A rule is {name, field, pattern, topic, value}. field is path (the session's git root and working directory) or text (its title plus the first 600 characters of its first prompt); pattern is a case-insensitive regex; topic is a key of topics. value is optional: left out or null the rule is a topic hint the model layer may take on; an integer from 0 to 3 makes it a label (source rule, summary = the session title); {"mr_calls_at_least": 5, "value": 3, "otherwise": 2} labels 3 when the session has five or more MR calls, else 2. The first rule with a value wins, otherwise the first hint stands.

The file is read on every request and cached by modification time, so an edit applies without a restart. A file that cannot be read or fails validation logs one error and the built-in default stands in, so the routes keep answering.

What it shows

  • Pane (340px, tab "Logbuch" stacked with Files and Review). Three filter rows: value chips P1, P2, P3, none with a Loose ends chip; the state chips (see States); then search, sort and collapse-all. Topic groups collapse. A row has two lines: the priority pill, the state icon and the summary, then the date, N commit calls, N MR calls and a loose end mark. The header link Page opens the full page; the footer holds the weekly digest.
  • Page at /logbuch: the same list in the sessions-by-value layout (adds the session title, turns, tool calls and the id), with the digest control in the header.
  • Sidebar badge: P1 or P2 at the end of a session row in the left Sessions list, with the session's state icon inside the pill (a plain pill when the state is none). A critical session gets a red pill with the critical icon. Every other row (P3, none, not labelled yet) shows nothing. The badge reads the pane's cached answer, so rows cost no request.
  • Default filter is P1 plus P2. none also covers sessions that have no label yet (shown with a ?).
  • Filters, search text, sort and collapsed topics are remembered in the plugin's storage.

States

Every session has one state, set by the backend from how the chain ended and what it shipped. The highest applicable state wins, in this order:

IconStateColourMeaning
alert triangle, pulsingcriticalreda P1 session whose last assistant message was a provider problem: a failed turn (not a content-policy block) or a Hermes interrupt line (Operation interrupted: waiting for model response, handling API error, retrying API call after error)
bell, swingingwaiting_goorangethe last reply matches a waiting_go phrase (default: needs your go, waiting on you, decisions open)
circled exclamation markinterruptedorangethe same provider-problem end on a session that is not P1 (or a P1 without a label yet)
upload arrownot_mergedyellowthe last reply matches a not_merged phrase (default: none is merged, not merged, a Draft)
clipboardtodobluethe last reply matches a todo phrase (default: still open, still to do)
circled checkshippedgreencommit or MR calls and nothing open
empty circlenonegreynothing open and nothing shipped

Marking the loose end done turns every open state (the first five) into shipped (when the session has commit or MR calls) or none. A bare Operation interrupted. has no cause and does not count as a provider problem. Only the last assistant message is read, never tool output.

Hover an icon for its state name and the text the backend matched (redacted, 120 characters at most); a state with no match shows what it means. Only critical and waiting_go move, and under prefers-reduced-motion: reduce they show a static frame (the setting is followed live). The state chip row under the value chips filters by state: no chip pressed shows every state, pressed chips combine with OR and with the value, loose-end and search filters. The count on each chip ignores the chips themselves. An older backend that sends no state shows none everywhere.

Icons are Iconify line-md (Material Line Icons, MIT, Vjacheslav Trushkin), vendored in desktop/src/icons/ with the JSON, its .sha256 and the LICENSE; nothing is fetched at runtime.

Actions

  • Click a row (or Enter on it): opens the session through the app (openSession), not a link.
  • Row menu (the ... button): set the value (P1, P2, P3, none), edit topic and summary, mark a loose end done or reopen it. Each change is one PUT /labels/{id} and the list refetches. A label you save is manual: automatic labelling never overwrites it. A session without a label needs a topic and a value, so its menu opens the edit dialog.
  • Digest: pick an ISO week with the arrows (current week by default) and press Digest. The backend writes logbuch-<week>.md under its logbuch/digests/ directory and the app's save dialog hands you the file. The week is grouped by the backend's local time.

Keybind and palette

mod+alt+l (Ctrl+Alt+L on Linux and Windows, Cmd+Option+L on macOS) and the palette row "Show Logbuch" run one action, logbuch.reveal. It fronts the Logbuch tab and is safe to repeat. Rebind it in the keybinds panel. On a desktop too old to have revealPane it opens the page instead.

Hiding the tab

The Logbuch tab is hide-only, so it has no close button and the plugin stays on. Hide or show it from the tab menu or with Ctrl+K (Logbuch); Ctrl+J folds the whole Files zone, Logbuch included. The empty state of the pane says the same. A "Logbuch" row in the sidebar opens the full page.

Data flow

Only POST /classify sends text to a model. The desktop half sends nothing to a model and never writes into a chat: no composer draft, no submit; rows only open sessions. Everything else (the list, rule labels, states, the digest) is computed locally from the sessions database, which is only ever opened read-only.

The labels shown come from the backend in three layers: rules from the data file, then a model call for sessions that have no label yet (only when POST /classify is called), then your manual edits. The model call carries only the chain's first user prompt and last assistant reply. A text with any key signal is withheld whole; every other text is redacted (keys, tokens, Bearer values, PEM blocks) and cut to 400 characters. The text goes through hermes chat --oneshot --safe-mode in a private query file, never on the command line, using the classify_model, provider and profile settings and your own Hermes login; no API key is involved. The reply must be strict JSON with a topic from your data file, a value from 0 to 3 and a summary, anything else stores nothing.

Routes

Desktop: page /logbuch, pane logbuch:pane, action logbuch.reveal.

Backend (/api/plugins/logbuch/, from the spec):

RouteUse
GET /sessionsthe list, profile, schema_ok, topics
PUT /labels/{id}set value, topic, summary, loose_end_done (merged over the stored label, 422 on a bad topic or value)
POST /classifylabel sessions that have no label (not called from the desktop half)
GET /digest?week=YYYY-Wwwthe digest as Markdown (not called from the desktop half)
POST /digest/filewrites the digest file, returns {path, name} for the save dialog

The list polls every 60 seconds. Connection and profile are part of every query, so switching the window's gateway or profile never shows another backend's data. If the backend cannot be reached the pane names the backend and profile it asked; a 404 means that backend does not have the plugin. If the sessions database lacks a column Logbuch reads, schema_ok is false and a banner says so.

Development

Source is desktop/src/, and the hermes-plugin-ui-kit package; desktop/plugin.js is built from it with SDK and react external: sh scripts/rebuild.sh in the plugin directory (needs node and npm; it installs the pinned esbuild and kit into the gitignored .build/), then commit both. node tests/desktop.test.mjs runs the tests of the pure modules (logic.js, model.js).

README from the reviewed commit 5b387ac; it updates when the author re-pins.

More by Senci

4 plugins by Senci in the catalog.

Sencikanban-graphLive, read-only dependency graph of the Hermes kanban boards in Hermes Desktop: every board as a band, tasks as cards, dependencies as arrows with implied ones folded away. Click a task to light up its whole lineage with runs, last failure and the running worker's latest tool calls; deep links open a task directly, and a stdlib CLI renders the same graph as a standalone HTML file. Zero API keys, zero model tokens. Disclosure — reads every kanban board database and, for running tasks, the assignee profile's state.db (the kanban worker session's latest assistant messages and tool-call arguments), read-only, and shows them in Desktop through its own local dashboard routes.CommunityDesktop app3Sencilavish-statusA status-bar badge in Hermes Desktop for Lavish review pages (lavish-axi) that wait on you: a red count of pages that block and an orange count of pages that need a decision, hidden when both are 0 or when the data is stale. The tooltip lists the waiting pages and a click opens the sessions board in your browser. It only reads a summary file, ~/.hermes/lavish-kit/summary.json, that a Lavish status writer keeps fresh (the writer is not part of this plugin); without a fresh file the badge stays hidden. Disclosure — Reads one file, ~/.hermes/lavish-kit/summary.json in your real home directory (outside the plugin's own data), read-only, every 10 seconds through its dashboard route; a click opens the board URL from that file in your browser (http or https only). No writes, network calls, shell commands, background processes, credentials or telemetry.CommunityDesktop appSencimergeableYour open GitLab merge requests in Hermes Desktop: a tab stacked with Files and a full page, rebase and merge behind a confirm dialog, a trivial batch for the safe ones, and a model-rated audit of every Renovate bump (what it fixes, how hard it is to merge, merge or hold). Needs the glab CLI logged in to your GitLab host. Disclosure — runs glab with argv lists (never a shell) under your own glab login against the configured host, with the backend's environment, reading merge requests, pipelines, diffs and notes. It writes to GitLab (rebase, merge, retry a pipeline, mark ready, a Renovate hold commit and merge request) only from an action you confirm in the UI, and a merge job waits for a green pipeline in a background thread of the backend. A Renovate audit fetches release notes unauthenticated from api.github.com and raw.githubusercontent.com and sends them, with a capped MR diff and up to 150 lines of the project's own repository text (lines with secret words or key shapes dropped), to an Anthropic model through a tool-less 'hermes chat --oneshot --safe-mode --source tool -t clarify' child; audits start on their own when the list refreshes and a Renovate merge request has a new head (auto_audit false turns that off), and the model's rating of that third-party text decides which Renovate merge requests join the trivial batch you confirm. Reads session databases (state.db of the default home and profiles, read-only) to find the session that made a branch. Keeps its results under $HERMES_HOME/mergeable (audits.db, facts.json, actions.log). Never reads glab's token or config files; no credentials of its own, no telemetry.CommunityDesktop app

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section