From e269a0858f92e6abdd6c4431c85316db691c4dcd Mon Sep 17 00:00:00 2001 From: schickling-assistant <261620128+schickling-assistant@users.noreply.github.com> Date: Wed, 6 May 2026 11:40:02 +0200 Subject: [PATCH] fix(client): re-export setServerModulePath from ./client subpath Allows downstream consumers (e.g. apps bundled with `bun build --compile`) to override the resolved server module path without deep-importing `./dist/spawn.js`, which the package's `exports` field forbids. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/client-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client-api.ts b/src/client-api.ts index 8f34c81..d5d0b1d 100644 --- a/src/client-api.ts +++ b/src/client-api.ts @@ -12,7 +12,7 @@ export { } from "./sessions.ts"; // Session creation -export { spawnDaemon, resolveCommand, waitForSocket, type SpawnDaemonOptions } from "./spawn.ts"; +export { spawnDaemon, resolveCommand, waitForSocket, setServerModulePath, type SpawnDaemonOptions } from "./spawn.ts"; // Session interaction (programmatic — no process.exit, no stdin/stdout) export {