diff options
Diffstat (limited to 'src/integration/assets/opencode')
| -rw-r--r-- | src/integration/assets/opencode/herdr-agent-state.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/integration/assets/opencode/herdr-agent-state.js b/src/integration/assets/opencode/herdr-agent-state.js index 17eb5ad9..ed0958fd 100644 --- a/src/integration/assets/opencode/herdr-agent-state.js +++ b/src/integration/assets/opencode/herdr-agent-state.js @@ -2,7 +2,7 @@ // managed by herdr; reinstalling or updating the integration overwrites this file. // add custom hooks/plugins beside this file instead of editing it. // HERDR_INTEGRATION_ID=opencode -// HERDR_INTEGRATION_VERSION=2 +// HERDR_INTEGRATION_VERSION=3 import net from "node:net"; @@ -111,9 +111,8 @@ export const HerdrAgentStatePlugin = async () => { break; case "session.created": case "session.updated": - if (sessionID) { - await reportState("idle", sessionID); - } + // session.created and session.updated are metadata events; lifecycle + // state comes from session.status and the deprecated session.idle. break; case "session.status": { const status = |
