summaryrefslogtreecommitdiff
path: root/src/integration/mod.rs
diff options
context:
space:
mode:
authorMark Jaquith <mark@jaquith.me>2026-09-05 17:08:19 -0400
committerGitHub <noreply@github.com>2026-09-06 00:08:19 +0300
commitec05328a4413e38ebdcb84365938345e9cf47431 (patch)
tree3f280531f2c81d00d2204ca7e7fb0d3b161072a6 /src/integration/mod.rs
parent6f57f2f62c5d2591647262caf15bc3c962b9c9f8 (diff)
fix: prevent OpenCode child prompts from leaving status blocked (#3669)
Child permission and question reports omitted the session ID, clearing Herdr’s root session identity and preventing later lifecycle reports from clearing the blocked state. Track child-to-parent relationships and report prompt transitions with their root session ID, including for nested children. This preserves identity and lets existing ownership checks reject unrelated sessions. Add regression coverage for prompt routing and lifecycle transitions, and bump the OpenCode integration version to 11.
Diffstat (limited to 'src/integration/mod.rs')
-rw-r--r--src/integration/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/integration/mod.rs b/src/integration/mod.rs
index fd0839f4..3f7176b3 100644
--- a/src/integration/mod.rs
+++ b/src/integration/mod.rs
@@ -170,7 +170,7 @@ const OPENCODE_PLUGIN_ASSET: &str = include_str!("assets/opencode/herdr-agent-st
const OPENCODE_TUI_PLUGIN_INSTALL_NAME: &str = "herdr-tui-session.js";
const OPENCODE_TUI_PLUGIN_SPEC: &str = "./herdr-tui-session.js";
const OPENCODE_TUI_PLUGIN_ASSET: &str = include_str!("assets/opencode/herdr-tui-session.js");
-const OPENCODE_INTEGRATION_VERSION: u32 = 10;
+const OPENCODE_INTEGRATION_VERSION: u32 = 11;
const KILO_PLUGIN_INSTALL_NAME: &str = "herdr-agent-state.js";
const KILO_PLUGIN_ASSET: &str = include_str!("assets/kilo/herdr-agent-state.js");
const KILO_INTEGRATION_VERSION: u32 = 4;