Hermes 0.23.0: plugin hooks never reach the Hermes adapter on one-shot runs, so no session is folded
Los mantenedores suelen responder en 1 día
@jackhaohuang ya está trabajando en esto.
Desde el 8/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 5.6k
- Forks
- 344
- Merge medio
- 14 h 41 min
- PR fusionados (30 d)
- 54
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/TokenEconomizer
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
microsoft/TokenEconomizer#193 ·
Los mantenedores suelen responder en 1 día
-
pricing: Claude's 1-hour cache writes are priced at 1.25x, but billed at 2xPosiblemente ocupada @anascherif la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
microsoft/TokenEconomizer#191 ·
Los mantenedores suelen responder en 1 día
-
trace: Claude Code's `<synthetic>` notices count as requests and can make a Claude session price on the fallback curvePosiblemente ocupada @1AbdullahButt la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 20/100
microsoft/TokenEconomizer#189 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
microsoft/TokenEconomizer#186 ·
Los mantenedores suelen responder en 1 día
-
plugin: the agent-output readers crash on a JSON line that is not an objectPosiblemente ocupada @rahul05ranjan la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
microsoft/TokenEconomizer#182 ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/TokenEconomizer
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Treat corrupt-shape state files as missing in `load_state`Posiblemente ocupada @Qrytics la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
OvertureMaps/overturemaps-py#175 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
awslabs/visual-asset-management-system#1278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aws-samples/sample-per-model-bedrock#835 ·
Los mantenedores suelen responder en 1 día