From 9c486f5e112009f4f5f3b5a740d9912889423ab5 Mon Sep 17 00:00:00 2001 From: Raphael Westphal Date: Tue, 18 Aug 2026 15:54:28 +0200 Subject: [PATCH] =?UTF-8?q?bridge:=20call=20session.bindExtensions=20?= =?UTF-8?q?=E2=80=94=20SDK=20never=20fires=20session=5Fstart=20without=20i?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/bridge/index.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/bridge/index.mjs b/docker/bridge/index.mjs index d73d309..845a704 100644 --- a/docker/bridge/index.mjs +++ b/docker/bridge/index.mjs @@ -10,6 +10,10 @@ process.on("unhandledRejection", (err) => { try { const { session } = await createAgentSession(); + // SDK does not bind extensions implicitly (unlike TUI/RPC modes); without + // bindExtensions the session_start event never fires, so the lvmh plugin + // would never dial the daemon. + await session.bindExtensions({ mode: "rpc" }); console.error(`[lvmh-bridge] session up, cwd=${process.cwd()}`); session.subscribe((event) => {