Skip to content

Hermes Agent context engine: the main model writes the compaction handoff on its cached prompt prefix

fix: declare registered plugin hooks (#11)

Elevatormusicf5dd19c1c1e2
diff --git a/warm_compaction/plugin.yaml b/warm_compaction/plugin.yaml
index 6e5e8c1..389a30b 100644
--- a/warm_compaction/plugin.yaml
+++ b/warm_compaction/plugin.yaml
@@ -6,6 +6,11 @@ kind: standalone
author: Elevatormusic
homepage: https://github.com/Elevatormusic/hermes-warm-compaction
tags: [context-engine, compaction]
+provides_hooks:
+ - pre_api_request
+ - post_api_request
+ - on_session_finalize
+ - on_session_reset
config_schema:
threshold:
type: float