Skip to content

Commit 0617da2

Browse files
ABCxFFabcxff
authored andcommitted
[SLOP(claude-opus-4-8)] fix(core): restore Sidecar public export and sidecar-client subpath
1 parent bfb16b1 commit 0617da2

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@
6868
"default": "./dist/process.js"
6969
},
7070
"./sidecar-client": {
71-
"types": "./dist/sidecar-client.d.ts",
72-
"import": "./dist/sidecar-client.js",
73-
"default": "./dist/sidecar-client.js"
71+
"types": "./dist/sidecar-process.d.ts",
72+
"import": "./dist/sidecar-process.js",
73+
"default": "./dist/sidecar-process.js"
7474
},
7575
"./test-runtime": {
7676
"types": "./dist/test-runtime.d.ts",

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export * from "./protocol-client.js";
1919
export * from "./protocol-frames.js";
2020
export * from "./request-payloads.js";
2121
export * from "./response-payloads.js";
22-
export { SidecarProcess } from "./sidecar-process.js";
22+
export { SidecarProcess, Sidecar } from "./sidecar-process.js";
2323
export type { SidecarSpawnOptions } from "./sidecar-process.js";
2424
export * from "./state.js";
2525
export * as protocol from "./generated-protocol.js";

packages/core/src/sidecar-process.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ export {
5454
SidecarProcessExited,
5555
} from "./process.js";
5656
export { SidecarEventBufferOverflow } from "./event-buffer.js";
57+
// `Sidecar` is the public name for the native sidecar process client. The class
58+
// is `SidecarProcess` internally; consumers import it as `Sidecar` via the
59+
// `@secure-exec/core/sidecar-client` subpath and the package root.
60+
export { SidecarProcess as Sidecar };
5761

5862
const BRIDGE_CONTRACT_VERSION = 1;
5963

0 commit comments

Comments
 (0)