Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
"default": "./dist/process.js"
},
"./sidecar-client": {
"types": "./dist/sidecar-client.d.ts",
"import": "./dist/sidecar-client.js",
"default": "./dist/sidecar-client.js"
"types": "./dist/sidecar-process.d.ts",
"import": "./dist/sidecar-process.js",
"default": "./dist/sidecar-process.js"
},
"./test-runtime": {
"types": "./dist/test-runtime.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export * from "./protocol-client.js";
export * from "./protocol-frames.js";
export * from "./request-payloads.js";
export * from "./response-payloads.js";
export { SidecarProcess } from "./sidecar-process.js";
export { SidecarProcess, Sidecar } from "./sidecar-process.js";
export type { SidecarSpawnOptions } from "./sidecar-process.js";
export * from "./state.js";
export * as protocol from "./generated-protocol.js";
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/sidecar-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export {
SidecarProcessExited,
} from "./process.js";
export { SidecarEventBufferOverflow } from "./event-buffer.js";
// `Sidecar` is the public name for the native sidecar process client. The class
// is `SidecarProcess` internally; consumers import it as `Sidecar` via the
// `@secure-exec/core/sidecar-client` subpath and the package root.
export { SidecarProcess as Sidecar };

const BRIDGE_CONTRACT_VERSION = 1;

Expand Down
Loading