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) => {