26 lines
3.2 KiB
YAML
26 lines
3.2 KiB
YAML
name: token-master
|
|
repo: https://github.com/karmsheel/tokenmaster
|
|
sha: 626d5c8ede5afd7a1059daf009539e886cc5fd76
|
|
subdir: plugin
|
|
title: Token Master
|
|
version: "0.1.0"
|
|
description: "Token spend analytics for Hermes Desktop: one stacked daily chart of token consumption across every Hermes profile, provider and account on the machine (7D/30D/90D/1Y, stacked by token class, provider, profile or source), per-provider / per-profile / per-model / per-task breakdowns, and an Accounts and limits card that marks each credential as subscription (quota), pay-per-token API spend or free and shows the live allowance windows Hermes can fetch. It reads the token accounting Hermes already records — every profile's state.db opened read-only, plus DeepSeek Harness session files — and adds no collection of its own. Disclosure — reads every Hermes profile's state.db token accounting read-only, DeepSeek Harness session files under ~/.dsh, and the labels, ids and status of Hermes credential-pool entries (no token values); `Refresh limits` goes through Hermes' read-only fetch_account_usage(provider, read_only=True) to the provider's usage endpoint (no token is refreshed, rotated or stored); the optional `Sync now` button runs ssh with your own SSH setup into a host you added and streams the bundled read-only collector into that host's python3, installing and writing nothing there, and the Remote machines card runs `tailscale status --json` to offer online peers (discovery only — adding a host is still a click); state lives in plugin-data/token-master/ on the root Hermes home only; no telemetry, no background process."
|
|
maintainer: karmsheel
|
|
tier: community
|
|
category: desktop
|
|
requires_hermes: ">=0.23.0"
|
|
docs_url: https://github.com/karmsheel/tokenmaster#readme
|
|
image: https://raw.githubusercontent.com/karmsheel/tokenmaster/626d5c8ede5afd7a1059daf009539e886cc5fd76/docs/banner.jpg
|
|
platforms: []
|
|
known_issues:
|
|
- "History is per provider and per profile, not per login: neither Hermes' usage table nor the DeepSeek Harness ledger records which credential served a request, so tokens cannot be split by account. Per-account quota is live, but per-account token history would have to be recorded forward-only."
|
|
- "Days are bucketed by last activity (a Hermes row carries last_seen; a DeepSeek Harness session is attributed to its file's last write), so a session spanning midnight lands on the day it finished."
|
|
- "Token counts cover one machine: remote machines are read only after you add an SSH host and press Sync now. Provider quotas are account-wide, so the percentage windows still cover every machine and tool using that account."
|
|
- "Quota sampling is passive: a sample is appended only while the page or a limits refresh is open, so the burn-rate trend means 'what happened while I was watching'. Live windows exist where Hermes ships a fetcher (anthropic, openai-codex, opencode-go, openrouter); nous and xai-oauth expose none and the card says so."
|
|
- "Tested on Windows 11 against Hermes 0.23.0. The backend and Desktop page are platform-neutral; install.ps1 is PowerShell-only, and everywhere else `hermes plugins install token-master` is the install path."
|
|
capabilities:
|
|
provides_tools: []
|
|
provides_hooks: []
|
|
provides_middleware: []
|
|
requires_env: []
|