From ec05328a4413e38ebdcb84365938345e9cf47431 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sat, 5 Sep 2026 17:08:19 -0400 Subject: fix: prevent OpenCode child prompts from leaving status blocked (#3669) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/integration/assets/opencode/herdr-tui-session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/integration/assets/opencode/herdr-tui-session.js') diff --git a/src/integration/assets/opencode/herdr-tui-session.js b/src/integration/assets/opencode/herdr-tui-session.js index b5be5bbc..f4f08d57 100644 --- a/src/integration/assets/opencode/herdr-tui-session.js +++ b/src/integration/assets/opencode/herdr-tui-session.js @@ -1,7 +1,7 @@ // installed by herdr // managed by herdr; reinstalling or updating the integration overwrites this file. // HERDR_INTEGRATION_ID=opencode-tui -// HERDR_INTEGRATION_VERSION=10 +// HERDR_INTEGRATION_VERSION=11 import net from "node:net"; -- cgit v1.2.3