stitchkit 0.133.0 → 0.133.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,8 +32,8 @@ approvals for unprompted tool calls. Explicit `approve` supports `scope: 'once'`
32
32
  | Export | Kind | Purpose |
33
33
  |--------|------|---------|
34
34
  | `createAcpDriver` / `AcpDriver` / `AcpDriverConfig` | function / _types_ | the driver (`approvalEnforcement: 'agent-initiated'`): `executable` and `args`; optional `clientInfo`, `sessionMeta`, `stdoutLineFilter`, `probeMode` (`'ephemeral-session' \| 'initialize-only' \| 'passive'`) / `passiveVersion`, `model` / `thoughtLevel` / `mode` (also overridable per open via `AcpOpenInput`, falling back to `session/set_model`), `mcpServers`, `transformUpdate`, post-settle `onUpdate` / `onPermissionRequest`, `permissionRequestDelivery` (`'external-only' \| 'all'`), `onProviderPid` (fired during `open()`), `onDisconnect`, `onObserverError` (every failure of a host callback the driver contained, with the name of the option that failed; a `JsonRpcError` thrown by `onPermissionRequest` outside a turn is its refusal and is not reported), `watchPromptOutcome`, `usageInputIncludesCachedRead`, `steerMode` (`'none' \| 'prompt'`), `resolveFile`, `maxImageBytes` (5 MiB), `maxFrameBytes` (8 MiB), `ambient`, and `requestTimeoutMs` (60 s, capping `session/close` / `session/delete` to at most 5 s; a request the agent sends while `close()` waits for `session/close` is refused — `session/request_permission` with the `cancelled` outcome, any other method with `-32601` — and after an abort or a lost connection nothing is written); exposes `probeCapabilities(AcpProbeCapabilitiesInput)` for non-inference capability probing |
35
- | `AcpSession` / `AcpOpenInput` / `AcpSteerTurnInput` / `AcpConfigOption` / `AcpConfigOptionChoice` / `acpOptionChoices` / `acpOptionValues` / `AcpApprovalEnforcement` | _types_ / functions | a session's `providerPid`, its agent's `initialize` answer (`initialized`, with `agentCapabilities.promptCapabilities`), settings, title and commands, `approvalEnforcement` (`'agent-initiated'`), `setConfigOption(category or id, value)`, `respond(interactionId, reply)` for pending permissions, `steerTurn(input)` when `steerMode: 'prompt'`, per-open overrides on `AcpOpenInput`, and flat/grouped config-option flattening helpers (`acpOptionChoices`, `acpOptionValues`) |
36
- | `AcpProbeCapabilitiesInput` / `AcpCapabilitiesProbe` / `AcpProbeMode` / `AcpSteerMode` / `AcpSessionMetaInput` / `AcpWatchPromptOutcome` / `AcpPromptOutcomeOverride` | _types_ | non-inference capability probe input/result (running regardless of `probeMode`; `eachModel: true` also selects each `model` value in the ephemeral session and returns `optionsByModel`; once `session/new` answered, `session/close` and `session/delete` run even after an abort or timeout), probe strategy, steer mode, static or `initialize`-derived `_meta` attachment on session open, and prompt-outcome verification hook reclassifying masked `end_turn` failures with `errorKind` and `threadDisposition` |
35
+ | `AcpSession` / `AcpOpenInput` / `AcpSteerTurnInput` / `AcpConfigOption` / `AcpConfigOptionChoice` / `acpOptionChoices` / `acpOptionValues` / `AcpApprovalEnforcement` | _types_ / functions | a session's `providerPid`, its agent's `initialize` answer (`initialized`, with `agentCapabilities.promptCapabilities`), optional `sessionMeta` (`_meta` returned by `session/new`, `session/resume`, or `session/load` when it is a plain JSON object), settings, title and commands, `approvalEnforcement` (`'agent-initiated'`), `setConfigOption(category or id, value)`, `respond(interactionId, reply)` for pending permissions, `steerTurn(input)` when `steerMode: 'prompt'`, per-open overrides on `AcpOpenInput`, and flat/grouped config-option flattening helpers (`acpOptionChoices`, `acpOptionValues`) |
36
+ | `AcpProbeCapabilitiesInput` / `AcpCapabilitiesProbe` / `AcpProbeMode` / `AcpSteerMode` / `AcpSessionMetaInput` / `AcpWatchPromptOutcome` / `AcpPromptOutcomeOverride` | _types_ | non-inference capability probe input/result (running regardless of `probeMode`; returns optional `sessionMeta` from `session/new` when `_meta` is a plain JSON object; `eachModel: true` also selects each `model` value in the ephemeral session and returns `optionsByModel`; once `session/new` answered, `session/close` and `session/delete` run even after an abort or timeout), probe strategy, steer mode, static or `initialize`-derived `_meta` attachment on session open, and prompt-outcome verification hook reclassifying masked `end_turn` failures with `errorKind` and `threadDisposition` |
37
37
  | `AcpTransformUpdate` / `AcpUpdateEvent` / `AcpPermissionRequestEvent` | _types_ | update normalizer (`transformUpdate`), live/post-settle `session/update` observer payload (`onUpdate`), and permission request payload with `duringActiveTurn`, full typed `request.options`, and shared single-shot `respond()` (`onPermissionRequest`) |
38
38
  | `AcpClientInfoSchema` / `AcpClientInfo` / `AcpInitializeResultSchema` / `AcpInitializeResult` / `AcpConfigOptionSchema` / `AcpSessionUpdateSchema` / `AcpSessionUpdate` / `AcpPromptResult` / `AcpPromptUsage` / `AcpPermissionRequestSchema` / `AcpPermissionRequest` / `AcpPermissionOptionSchema` / `AcpPermissionOption` | schemas / _types_ | loose Zod schemas and typed ACP v1 wire payloads exposed to `sessionMeta`, `transformUpdate`, `onUpdate`, `onPermissionRequest`, and `watchPromptOutcome` |
39
39
  | `AcpSessionSummary` | _type_ | a session the agent keeps: id, working directory, title, last update |
@@ -58,9 +58,9 @@ It also owns the two builds of a client — one self-contained file, and a typed
58
58
  | `ClientArtifactOptions` | _type_ | entry, output file, runtime, forbidden modules, `executables.bun`, deadline and signal |
59
59
  | `ClientArtifact` | _type_ | the built file, its SHA-256 and size, and the bundled modules |
60
60
  | `buildClientPackage` | function | build several entries of a typed client into one npm archive over one module graph, with peers and dependencies outside and declarations that resolve under Bundler and NodeNext, and return it only after the archive was installed, imported in Node and Bun and typechecked by a strict consumer — [guide](../guide/native-io.md#a-typed-client-as-an-npm-package), [ADR 0331](../decisions/0331-a-client-package-is-one-module-graph-proven-installed.md) |
61
- | `ClientPackageOptions` | _type_ | name, version, `entries` by subpath, `tsconfig`, peers and dependencies, forbidden modules, runtime, output directory, `manifest`, extra `files`, `proof` (consumer sources, required and distinct exports, type packages), `executables`, deadline and signal |
61
+ | `ClientPackageOptions` | _type_ | name, version, `entries` by subpath, `tsconfig`, peers and dependencies, forbidden modules, runtime, output directory, `manifest`, extra `files`, `exportedFiles` (`./package.json` and packed files a consumer imports by subpath), `replaceModules` (a module built from given contents), `proof` (consumer sources, required and distinct exports, type packages), `executables`, deadline and signal |
62
62
  | `ClientPackageManifest` | _type_ | descriptive `package.json` fields of the package; a field the build writes itself is refused |
63
- | `ClientPackage` | _type_ | the archive with its SHA-256 and size, every packed file with its digest, the bundled modules, exports per subpath, the names proven shared across subpaths, and what the proof ran |
63
+ | `ClientPackage` | _type_ | the archive with its SHA-256 and size, every packed file with its digest, the bundled modules, exports per subpath, the names proven shared across subpaths, and what the proof ran, the exported files it resolved included |
64
64
  | `ClientPackageError` | class | the refusal of a client package: a closed `reason` and `details` naming the file, specifier, package or names |
65
65
  | `ForbiddenModule` | _type_ | a package name or subpath, a source path fragment or a `RegExp` over module paths |
66
66
  | `ForbiddenModuleError` | class | the refusal of a client that reaches a forbidden module, bundled or left external: `module` and `importedBy` |
@@ -330,13 +330,45 @@ rewrites every relative specifier to the `.js` file it stands for, whether the s
330
330
  | `declaration-unresolved` | a relative module with no declaration in the package — a hand-written `.d.ts` beside the sources, or a `/// <reference path>` | move the types into a `.ts` module |
331
331
  | `declaration-dependency` | a package that is neither a peer nor a dependency — including a tsconfig path alias such as `@/schema` | declare the package, or keep its types out of the public surface; import own modules relatively |
332
332
 
333
+ ### Files imported by subpath, and modules built from other contents
334
+
335
+ `exportedFiles` puts files a consumer imports by name into `exports`, beside the entries:
336
+ `'./package.json'` is the archive's own manifest — a consumer reads the client's version from it —
337
+ and any other names a path in `files`:
338
+
339
+ ```ts
340
+ files: { 'native-stream.json': 'config/native-stream.json' },
341
+ exportedFiles: ['./package.json', './native-stream.json'],
342
+ // consumer: import pkg from '@acme/api-client/package.json' with { type: 'json' }
343
+ ```
344
+
345
+ The proof resolves each by the package name to its packed file in every runtime it imports the
346
+ entries in, imports a `.json` file as JSON (`client.exports` lists its `default`), and the strict
347
+ consumer imports it with `with { type: 'json' }` under both resolutions. A file that is in `files`
348
+ but not in `exportedFiles` is packed and not importable by name.
349
+
350
+ `replaceModules` builds a module from contents you give instead of its file. The key is a path,
351
+ resolved like an entry; the contents are in that file's own format (`.json`, `.ts`, `.tsx`, `.js`,
352
+ `.jsx`), and every import that reaches the file gets them. A client that imports the project's
353
+ `package.json` for its version otherwise ships the whole manifest, `scripts` and
354
+ `devDependencies` included:
355
+
356
+ ```ts
357
+ replaceModules: { 'package.json': JSON.stringify({ version }) },
358
+ ```
359
+
360
+ A replacement no bundled module imports is refused as `replacement-unused`: it would say the
361
+ package was built from something it was not. Declarations are still emitted from the files
362
+ themselves, so a replacement keeps the shape the types describe.
363
+
333
364
  ### What the proof runs
334
365
 
335
366
  The archive is installed into an empty directory beside its peers. There the build:
336
367
 
337
368
  1. compares every installed file with the one it built;
338
369
  2. imports every subpath by the package name — in Node and Bun for `runtime: 'node'` (the
339
- default), in Bun for `'bun'` and `'browser'` — and checks `proof.exports` and shared names;
370
+ default), in Bun for `'bun'` and `'browser'` — and checks `proof.exports` and shared names,
371
+ and resolves every exported file;
340
372
  3. typechecks a strict consumer (`strict`, `skipLibCheck: false`) that re-exports every subpath,
341
373
  under `moduleResolution: bundler` and under `NodeNext`.
342
374
 
@@ -364,13 +396,14 @@ A refusal is a `ClientPackageError`: switch on `reason`, read `details`. A forbi
364
396
  | `reason` | When | `details` |
365
397
  |---|---|---|
366
398
  | `build` | the bundler failed | `output` |
399
+ | `replacement-unused` | a module in `replaceModules` is imported by no bundled module | `module` |
367
400
  | `declarations` | the compiler reported an error in the client's graph | `output` |
368
401
  | `declaration-unresolved`, `declaration-dependency` | see above | `file`, `specifier`, `package` |
369
402
  | `bundled-peer` | code of a peer or dependency is in the package | `package`, `module` |
370
403
  | `manifest-owned-field` | `manifest` sets a field the build writes | `field` |
371
404
  | `install` | a peer is not installed for the build, or packing, installing or importing the archive failed | `package` or `output`, `runtime` |
372
405
  | `peer-range` | an installed peer or dependency is outside its declared range | `package`, `range`, `installed` |
373
- | `missing-export` | a subpath lacks a name from `proof.exports` | `subpath`, `names`, `runtime` |
406
+ | `missing-export` | a subpath lacks a name from `proof.exports`, or an exported file does not resolve to its packed path | `subpath`, `names`, `runtime` |
374
407
  | `shared-export-split` | several subpaths export one name as different values | `names`, `runtime` |
375
408
  | `typecheck` | the strict consumer did not typecheck | `resolution`, `output` |
376
409
 
package/llms-full.txt CHANGED
@@ -10958,13 +10958,45 @@ rewrites every relative specifier to the `.js` file it stands for, whether the s
10958
10958
  | `declaration-unresolved` | a relative module with no declaration in the package — a hand-written `.d.ts` beside the sources, or a `/// <reference path>` | move the types into a `.ts` module |
10959
10959
  | `declaration-dependency` | a package that is neither a peer nor a dependency — including a tsconfig path alias such as `@/schema` | declare the package, or keep its types out of the public surface; import own modules relatively |
10960
10960
 
10961
+ ### Files imported by subpath, and modules built from other contents
10962
+
10963
+ `exportedFiles` puts files a consumer imports by name into `exports`, beside the entries:
10964
+ `'./package.json'` is the archive's own manifest — a consumer reads the client's version from it —
10965
+ and any other names a path in `files`:
10966
+
10967
+ ```ts
10968
+ files: { 'native-stream.json': 'config/native-stream.json' },
10969
+ exportedFiles: ['./package.json', './native-stream.json'],
10970
+ // consumer: import pkg from '@acme/api-client/package.json' with { type: 'json' }
10971
+ ```
10972
+
10973
+ The proof resolves each by the package name to its packed file in every runtime it imports the
10974
+ entries in, imports a `.json` file as JSON (`client.exports` lists its `default`), and the strict
10975
+ consumer imports it with `with { type: 'json' }` under both resolutions. A file that is in `files`
10976
+ but not in `exportedFiles` is packed and not importable by name.
10977
+
10978
+ `replaceModules` builds a module from contents you give instead of its file. The key is a path,
10979
+ resolved like an entry; the contents are in that file's own format (`.json`, `.ts`, `.tsx`, `.js`,
10980
+ `.jsx`), and every import that reaches the file gets them. A client that imports the project's
10981
+ `package.json` for its version otherwise ships the whole manifest, `scripts` and
10982
+ `devDependencies` included:
10983
+
10984
+ ```ts
10985
+ replaceModules: { 'package.json': JSON.stringify({ version }) },
10986
+ ```
10987
+
10988
+ A replacement no bundled module imports is refused as `replacement-unused`: it would say the
10989
+ package was built from something it was not. Declarations are still emitted from the files
10990
+ themselves, so a replacement keeps the shape the types describe.
10991
+
10961
10992
  ### What the proof runs
10962
10993
 
10963
10994
  The archive is installed into an empty directory beside its peers. There the build:
10964
10995
 
10965
10996
  1. compares every installed file with the one it built;
10966
10997
  2. imports every subpath by the package name — in Node and Bun for `runtime: 'node'` (the
10967
- default), in Bun for `'bun'` and `'browser'` — and checks `proof.exports` and shared names;
10998
+ default), in Bun for `'bun'` and `'browser'` — and checks `proof.exports` and shared names,
10999
+ and resolves every exported file;
10968
11000
  3. typechecks a strict consumer (`strict`, `skipLibCheck: false`) that re-exports every subpath,
10969
11001
  under `moduleResolution: bundler` and under `NodeNext`.
10970
11002
 
@@ -10992,13 +11024,14 @@ A refusal is a `ClientPackageError`: switch on `reason`, read `details`. A forbi
10992
11024
  | `reason` | When | `details` |
10993
11025
  |---|---|---|
10994
11026
  | `build` | the bundler failed | `output` |
11027
+ | `replacement-unused` | a module in `replaceModules` is imported by no bundled module | `module` |
10995
11028
  | `declarations` | the compiler reported an error in the client's graph | `output` |
10996
11029
  | `declaration-unresolved`, `declaration-dependency` | see above | `file`, `specifier`, `package` |
10997
11030
  | `bundled-peer` | code of a peer or dependency is in the package | `package`, `module` |
10998
11031
  | `manifest-owned-field` | `manifest` sets a field the build writes | `field` |
10999
11032
  | `install` | a peer is not installed for the build, or packing, installing or importing the archive failed | `package` or `output`, `runtime` |
11000
11033
  | `peer-range` | an installed peer or dependency is outside its declared range | `package`, `range`, `installed` |
11001
- | `missing-export` | a subpath lacks a name from `proof.exports` | `subpath`, `names`, `runtime` |
11034
+ | `missing-export` | a subpath lacks a name from `proof.exports`, or an exported file does not resolve to its packed path | `subpath`, `names`, `runtime` |
11002
11035
  | `shared-export-split` | several subpaths export one name as different values | `names`, `runtime` |
11003
11036
  | `typecheck` | the strict consumer did not typecheck | `resolution`, `output` |
11004
11037
 
@@ -28676,8 +28709,8 @@ approvals for unprompted tool calls. Explicit `approve` supports `scope: 'once'`
28676
28709
  | Export | Kind | Purpose |
28677
28710
  |--------|------|---------|
28678
28711
  | `createAcpDriver` / `AcpDriver` / `AcpDriverConfig` | function / _types_ | the driver (`approvalEnforcement: 'agent-initiated'`): `executable` and `args`; optional `clientInfo`, `sessionMeta`, `stdoutLineFilter`, `probeMode` (`'ephemeral-session' \| 'initialize-only' \| 'passive'`) / `passiveVersion`, `model` / `thoughtLevel` / `mode` (also overridable per open via `AcpOpenInput`, falling back to `session/set_model`), `mcpServers`, `transformUpdate`, post-settle `onUpdate` / `onPermissionRequest`, `permissionRequestDelivery` (`'external-only' \| 'all'`), `onProviderPid` (fired during `open()`), `onDisconnect`, `onObserverError` (every failure of a host callback the driver contained, with the name of the option that failed; a `JsonRpcError` thrown by `onPermissionRequest` outside a turn is its refusal and is not reported), `watchPromptOutcome`, `usageInputIncludesCachedRead`, `steerMode` (`'none' \| 'prompt'`), `resolveFile`, `maxImageBytes` (5 MiB), `maxFrameBytes` (8 MiB), `ambient`, and `requestTimeoutMs` (60 s, capping `session/close` / `session/delete` to at most 5 s; a request the agent sends while `close()` waits for `session/close` is refused — `session/request_permission` with the `cancelled` outcome, any other method with `-32601` — and after an abort or a lost connection nothing is written); exposes `probeCapabilities(AcpProbeCapabilitiesInput)` for non-inference capability probing |
28679
- | `AcpSession` / `AcpOpenInput` / `AcpSteerTurnInput` / `AcpConfigOption` / `AcpConfigOptionChoice` / `acpOptionChoices` / `acpOptionValues` / `AcpApprovalEnforcement` | _types_ / functions | a session's `providerPid`, its agent's `initialize` answer (`initialized`, with `agentCapabilities.promptCapabilities`), settings, title and commands, `approvalEnforcement` (`'agent-initiated'`), `setConfigOption(category or id, value)`, `respond(interactionId, reply)` for pending permissions, `steerTurn(input)` when `steerMode: 'prompt'`, per-open overrides on `AcpOpenInput`, and flat/grouped config-option flattening helpers (`acpOptionChoices`, `acpOptionValues`) |
28680
- | `AcpProbeCapabilitiesInput` / `AcpCapabilitiesProbe` / `AcpProbeMode` / `AcpSteerMode` / `AcpSessionMetaInput` / `AcpWatchPromptOutcome` / `AcpPromptOutcomeOverride` | _types_ | non-inference capability probe input/result (running regardless of `probeMode`; `eachModel: true` also selects each `model` value in the ephemeral session and returns `optionsByModel`; once `session/new` answered, `session/close` and `session/delete` run even after an abort or timeout), probe strategy, steer mode, static or `initialize`-derived `_meta` attachment on session open, and prompt-outcome verification hook reclassifying masked `end_turn` failures with `errorKind` and `threadDisposition` |
28712
+ | `AcpSession` / `AcpOpenInput` / `AcpSteerTurnInput` / `AcpConfigOption` / `AcpConfigOptionChoice` / `acpOptionChoices` / `acpOptionValues` / `AcpApprovalEnforcement` | _types_ / functions | a session's `providerPid`, its agent's `initialize` answer (`initialized`, with `agentCapabilities.promptCapabilities`), optional `sessionMeta` (`_meta` returned by `session/new`, `session/resume`, or `session/load` when it is a plain JSON object), settings, title and commands, `approvalEnforcement` (`'agent-initiated'`), `setConfigOption(category or id, value)`, `respond(interactionId, reply)` for pending permissions, `steerTurn(input)` when `steerMode: 'prompt'`, per-open overrides on `AcpOpenInput`, and flat/grouped config-option flattening helpers (`acpOptionChoices`, `acpOptionValues`) |
28713
+ | `AcpProbeCapabilitiesInput` / `AcpCapabilitiesProbe` / `AcpProbeMode` / `AcpSteerMode` / `AcpSessionMetaInput` / `AcpWatchPromptOutcome` / `AcpPromptOutcomeOverride` | _types_ | non-inference capability probe input/result (running regardless of `probeMode`; returns optional `sessionMeta` from `session/new` when `_meta` is a plain JSON object; `eachModel: true` also selects each `model` value in the ephemeral session and returns `optionsByModel`; once `session/new` answered, `session/close` and `session/delete` run even after an abort or timeout), probe strategy, steer mode, static or `initialize`-derived `_meta` attachment on session open, and prompt-outcome verification hook reclassifying masked `end_turn` failures with `errorKind` and `threadDisposition` |
28681
28714
  | `AcpTransformUpdate` / `AcpUpdateEvent` / `AcpPermissionRequestEvent` | _types_ | update normalizer (`transformUpdate`), live/post-settle `session/update` observer payload (`onUpdate`), and permission request payload with `duringActiveTurn`, full typed `request.options`, and shared single-shot `respond()` (`onPermissionRequest`) |
28682
28715
  | `AcpClientInfoSchema` / `AcpClientInfo` / `AcpInitializeResultSchema` / `AcpInitializeResult` / `AcpConfigOptionSchema` / `AcpSessionUpdateSchema` / `AcpSessionUpdate` / `AcpPromptResult` / `AcpPromptUsage` / `AcpPermissionRequestSchema` / `AcpPermissionRequest` / `AcpPermissionOptionSchema` / `AcpPermissionOption` | schemas / _types_ | loose Zod schemas and typed ACP v1 wire payloads exposed to `sessionMeta`, `transformUpdate`, `onUpdate`, `onPermissionRequest`, and `watchPromptOutcome` |
28683
28716
  | `AcpSessionSummary` | _type_ | a session the agent keeps: id, working directory, title, last update |
@@ -30416,9 +30449,9 @@ It also owns the two builds of a client — one self-contained file, and a typed
30416
30449
  | `ClientArtifactOptions` | _type_ | entry, output file, runtime, forbidden modules, `executables.bun`, deadline and signal |
30417
30450
  | `ClientArtifact` | _type_ | the built file, its SHA-256 and size, and the bundled modules |
30418
30451
  | `buildClientPackage` | function | build several entries of a typed client into one npm archive over one module graph, with peers and dependencies outside and declarations that resolve under Bundler and NodeNext, and return it only after the archive was installed, imported in Node and Bun and typechecked by a strict consumer — [guide](../guide/native-io.md#a-typed-client-as-an-npm-package), [ADR 0331](../decisions/0331-a-client-package-is-one-module-graph-proven-installed.md) |
30419
- | `ClientPackageOptions` | _type_ | name, version, `entries` by subpath, `tsconfig`, peers and dependencies, forbidden modules, runtime, output directory, `manifest`, extra `files`, `proof` (consumer sources, required and distinct exports, type packages), `executables`, deadline and signal |
30452
+ | `ClientPackageOptions` | _type_ | name, version, `entries` by subpath, `tsconfig`, peers and dependencies, forbidden modules, runtime, output directory, `manifest`, extra `files`, `exportedFiles` (`./package.json` and packed files a consumer imports by subpath), `replaceModules` (a module built from given contents), `proof` (consumer sources, required and distinct exports, type packages), `executables`, deadline and signal |
30420
30453
  | `ClientPackageManifest` | _type_ | descriptive `package.json` fields of the package; a field the build writes itself is refused |
30421
- | `ClientPackage` | _type_ | the archive with its SHA-256 and size, every packed file with its digest, the bundled modules, exports per subpath, the names proven shared across subpaths, and what the proof ran |
30454
+ | `ClientPackage` | _type_ | the archive with its SHA-256 and size, every packed file with its digest, the bundled modules, exports per subpath, the names proven shared across subpaths, and what the proof ran, the exported files it resolved included |
30422
30455
  | `ClientPackageError` | class | the refusal of a client package: a closed `reason` and `details` naming the file, specifier, package or names |
30423
30456
  | `ForbiddenModule` | _type_ | a package name or subpath, a source path fragment or a `RegExp` over module paths |
30424
30457
  | `ForbiddenModuleError` | class | the refusal of a client that reaches a forbidden module, bundled or left external: `module` and `importedBy` |
package/llms.txt CHANGED
@@ -36,7 +36,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
36
36
  - **stitchkit/agent-runtime/browser**: [llms/agent-runtime-browser.txt](llms/agent-runtime-browser.txt) 4.0 KB
37
37
  - **stitchkit/agent-runtime/openrouter**: [llms/agent-runtime-openrouter.txt](llms/agent-runtime-openrouter.txt) 5.0 KB
38
38
  - **stitchkit/agent-executor**: [llms/agent-executor.txt](llms/agent-executor.txt) 12.3 KB
39
- - **stitchkit/agent-executor/acp**: [llms/agent-executor-acp.txt](llms/agent-executor-acp.txt) 6.7 KB
39
+ - **stitchkit/agent-executor/acp**: [llms/agent-executor-acp.txt](llms/agent-executor-acp.txt) 6.9 KB
40
40
  - **stitchkit/agent-executor/claude**: [llms/agent-executor-claude.txt](llms/agent-executor-claude.txt) 2.0 KB
41
41
  - **stitchkit/agent-executor/claude-sdk**: [llms/agent-executor-claude-sdk.txt](llms/agent-executor-claude-sdk.txt) 5.2 KB
42
42
  - **stitchkit/agent-executor/codex**: [llms/agent-executor-codex.txt](llms/agent-executor-codex.txt) 10.1 KB
@@ -80,9 +80,9 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
80
80
  - **stitchkit/node**: [llms/node.txt](llms/node.txt) 3.3 KB
81
81
  - **stitchkit/agent-runtime/react**: [llms/agent-runtime-react.txt](llms/agent-runtime-react.txt) 1.0 KB
82
82
  - **stitchkit/agent-runtime/realtime**: [llms/agent-runtime-realtime.txt](llms/agent-runtime-realtime.txt) 2.6 KB
83
- - **stitchkit/process**: [llms/process.txt](llms/process.txt) 42.0 KB → [llms/process.2.txt](llms/process.2.txt) 29.3 KB
83
+ - **stitchkit/process**: [llms/process.txt](llms/process.txt) 42.0 KB → [llms/process.2.txt](llms/process.2.txt) 31.1 KB
84
84
  - **stitchkit/process/bootstrap**: [llms/process-bootstrap.txt](llms/process-bootstrap.txt) 1.0 KB
85
- - **stitchkit/files/packaging**: [llms/files-packaging.txt](llms/files-packaging.txt) 5.5 KB
85
+ - **stitchkit/files/packaging**: [llms/files-packaging.txt](llms/files-packaging.txt) 5.7 KB
86
86
  - **stitchkit/http**: [llms/http.txt](llms/http.txt) 2.9 KB
87
87
  - **stitchkit/realtime**: [llms/realtime.txt](llms/realtime.txt) 2.0 KB
88
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stitchkit",
3
- "version": "0.133.0",
3
+ "version": "0.133.2",
4
4
  "description": "Contract-first backend framework — one defineContract() into an HTTP API, MCP tools, AI-agent tools and a typed client. Bun and Node.",
5
5
  "keywords": [
6
6
  "bun",