Skip to content

The agent that grows with you

Add hermes-call-ledger to the plugin catalog

Skappa Frost3dd2147ffe9f
diff --git a/plugin-catalog/hermes-call-ledger.yaml b/plugin-catalog/hermes-call-ledger.yaml
new file mode 100644
index 00000000000..bb2bcf75eb9
--- /dev/null
+++ b/plugin-catalog/hermes-call-ledger.yaml
@@ -0,0 +1,43 @@
+name: hermes-call-ledger
+repo: https://github.com/skappafrost/hermes-call-ledger
+sha: ba9baee2d1d7c6274e9f1df1bab2d388c4780c93
+description: >-
+ Per-call cost ledger for Hermes Desktop, one route with seven tabs. Every model call Hermes makes is
+ recorded from the observer hooks (provider, model, tokens, duration, outcome), then paired with the
+ charge the billing provider actually took, so each row says whether its money came from the local log,
+ from the invoice, or from a match of the two — and a day's total is the sum of real charges rather than
+ a rate applied afterwards. English or Vietnamese through a plugin-scoped setting; dong or dollars.
+ Works with no billing account at all: every call still lands, priced by Hermes' own estimate where the
+ price book knows the model. Disclosure — the three API-call hooks see per-call metadata for every
+ profile in the install (session id, platform, task, provider, model, token counts, duration, finish
+ reason, context length) and never a prompt, response or tool-argument text. Writes one SQLite ledger at
+ plugin-data/call-ledger/calls.sqlite under the install root, shared by the profile homes so one page
+ shows all of them, plus an FX cache at plugin-data/call-ledger/usd-vnd.json in the active home; no other
+ path is written. Disclosure — network is GET-only, to three endpoints readable in the source:
+ https://vilao.ai/api/v2 (wallet balance, per-request usage ledger, consumer keys) against the account
+ whose token you configure, https://vilao.ai/api/v1/llm/marketplace/models fetched with no credential
+ attached because that page asks for none, and https://open.er-api.com/v6/latest/USD for the dollar rate.
+ VILAO_PAT is read through Hermes' own secret scope, attached as an Authorization header only after the
+ request host has been checked against the console's own two hosts, never placed in a URL or query
+ string, never returned by a route, and never written to config.yaml (the settings route drops the key by
+ name, and it is declared type: secret so it lands in .env instead). vilao issues one full-scope token
+ per account including wallet writes, so this plugin restricts itself to reads by design and no write
+ endpoint is named anywhere in it. Disclosure — no background process, thread or timer: every request
+ happens when the page asks for it. No self-updating code, no telemetry, no bundled or downloaded
+ binaries. The desktop half is one plain JavaScript file that stays inside the plugin SDK, taking one
+ route, one palette command and one keybinding.
+maintainer: skappafrost
+tier: community
+category: desktop
+docs_url: https://github.com/skappafrost/hermes-call-ledger#readme
+version: "1.0.0"
+platforms: []
+capabilities:
+ provides_tools: []
+ provides_hooks:
+ - post_api_request
+ - post_auxiliary_call
+ - api_request_error
+ provides_middleware: []
+ requires_env:
+ - VILAO_PAT