Hermes 0.23.0: plugin hooks never reach the Hermes adapter on one-shot runs, so no session is folded
I maintainer di solito rispondono entro 1 giorno
@jackhaohuang ci sta già lavorando.
Dal 8/11/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Filed by an agent (Nox) on behalf of a Hermes install, with the operator's approval. No credentials, private repositories or private paths are included.
Environment
- Hermes Agent v0.23.0 (git tag
v0.23.0), macOS, Python 3.14.9 from Hermes's own venv. - Plugin installed from the bundle produced by
scripts/build_plugin.py, placed at~/.hermes/plugins/tokeneconomizerwithplugin.yamlat its root, enabled withhermes plugins enable tokeneconomizer. - Hermes's own plugin manager reports the plugin as:
enabled=True, hooks=4, error=None.
What happens
- Three runs of
hermes chat --oneshot -Q -q "Reply OK only."inside a git checkout with an origin remote. - Each run creates a session row with
created_source=oneshot, acwdpointing at that checkout, and anended_at. te status --host hermesrun in that directory stays at0 folded, and no~/.tokeneconomizer/hermes-sessions/<session>.jsonis written for any of the three.
What does work
- Piping
SessionStartand thenSessionEndfor one of those same sessions by hand intoscripts/te_bootstrap.py hook --host hermesfolds it immediately:1 folded, 3.5k effective tokens. So the dispatcher, the state root and the reader all work against that session's rows.
Reading
Either pre_llm_call is not dispatched for one-shot runs on 0.23.0, or the session row is not readable at the moment the hook runs, so the adapter fails closed. PLUGIN.md records Hermes support as verified on 0.22.5, so this may simply be an unverified version.
Question
Is 0.23.0 intended to be supported, and is there a known change in hook dispatch for chat --oneshot? Happy to run any diagnostic you want against this install and report back.
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 344
- Merge medio
- 14h 41m
- PR unite (30g)
- 54
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/TokenEconomizer
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
microsoft/TokenEconomizer#193 ·
I maintainer di solito rispondono entro 1 giorno
-
pricing: Claude's 1-hour cache writes are priced at 1.25x, but billed at 2xForse già presa @anascherif l’ha presa oggi. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
microsoft/TokenEconomizer#191 ·
I maintainer di solito rispondono entro 1 giorno
-
trace: Claude Code's `<synthetic>` notices count as requests and can make a Claude session price on the fallback curveForse già presa @1AbdullahButt l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
microsoft/TokenEconomizer#189 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microsoft/TokenEconomizer#186 ·
I maintainer di solito rispondono entro 1 giorno
-
plugin: the agent-output readers crash on a JSON line that is not an objectForse già presa @rahul05ranjan l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
microsoft/TokenEconomizer#182 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/TokenEconomizer
Issue simili
-
area: providers/aws priority: p2 size: S type: bug type: testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
finos/open-resource-broker#851 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
sandialabs/atlas-ui-3#1196 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ShaftHQ/SHAFT_ENGINE#7902 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: GraphML export writes invalid XML when a value contains a control character (e.g. form feed)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
topoteretes/cognee#6646 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
DOI-USGS/pywatershed#428 ·