aboutsummaryrefslogtreecommitdiff
path: root/src/integration/assets/hermes/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration/assets/hermes/__init__.py')
-rw-r--r--src/integration/assets/hermes/__init__.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/integration/assets/hermes/__init__.py b/src/integration/assets/hermes/__init__.py
index 6bb0fe8a..e6f6971d 100644
--- a/src/integration/assets/hermes/__init__.py
+++ b/src/integration/assets/hermes/__init__.py
@@ -1,7 +1,7 @@
"""Hermes plugin installed by Herdr to report agent lifecycle state."""
# HERDR_INTEGRATION_ID=hermes
-# HERDR_INTEGRATION_VERSION=2
+# HERDR_INTEGRATION_VERSION=3
from __future__ import annotations
@@ -71,10 +71,6 @@ def _report(state: str, **kwargs) -> None:
_send("pane.report_agent", params)
-def _release() -> None:
- _send("pane.release_agent", {})
-
-
def _working(**kwargs) -> None:
_report("working", **kwargs)
@@ -87,11 +83,6 @@ def _idle(**kwargs) -> None:
_report("idle", **kwargs)
-def _finalize(**kwargs) -> None:
- del kwargs
- _release()
-
-
def register(ctx):
ctx.register_hook("on_session_start", _idle)
ctx.register_hook("pre_llm_call", _working)
@@ -102,4 +93,3 @@ def register(ctx):
ctx.register_hook("post_approval_response", _working)
ctx.register_hook("post_llm_call", _idle)
ctx.register_hook("on_session_end", _idle)
- ctx.register_hook("on_session_finalize", _finalize)