stitchkit 0.124.4 → 0.125.0

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/entrypoints/agent-runtime/coding-tools.js +3 -3
  3. package/dist/entrypoints/agent-runtime/harness.js +4 -4
  4. package/dist/entrypoints/agent-runtime/sandbox.js +3 -3
  5. package/dist/entrypoints/agent-runtime/sqlite/bun.js +5 -5
  6. package/dist/entrypoints/agent-runtime/sqlite/node.js +5 -5
  7. package/dist/entrypoints/agent-runtime/testing.js +5 -5
  8. package/dist/entrypoints/agent-runtime.js +11 -11
  9. package/dist/entrypoints/cli.js +8 -7
  10. package/dist/entrypoints/testing.js +1 -1
  11. package/dist/entrypoints/tools/agent.js +6 -6
  12. package/dist/entrypoints/tools/connections.js +2 -2
  13. package/dist/entrypoints/tools/invoker.js +4 -4
  14. package/dist/entrypoints/tools/mcp.js +6 -6
  15. package/dist/entrypoints/tools/toolkit.js +8 -8
  16. package/dist/entrypoints/tools.js +7 -7
  17. package/dist/{index-afc3mtah.js → index-0sg3wnzr.js} +1 -1
  18. package/dist/{index-cm07qz01.js → index-1v3k5zgx.js} +1 -1
  19. package/dist/{index-x68eyh6y.js → index-7cn66qdk.js} +2 -2
  20. package/dist/{index-6fmg17bg.js → index-8wzhmgpa.js} +1 -1
  21. package/dist/{index-xaem29dc.js → index-a3z56mtn.js} +1 -1
  22. package/dist/{index-en2xqhty.js → index-cj5f0x4y.js} +1 -1
  23. package/dist/{index-z2z67tnv.js → index-cvjddnvd.js} +3 -3
  24. package/dist/{index-3n8k175r.js → index-fgzbc06j.js} +4 -4
  25. package/dist/{index-q7s1yr9g.js → index-kxff9e9w.js} +3 -3
  26. package/dist/{index-r7v5xz0g.js → index-m0wsfmrc.js} +1 -1
  27. package/dist/{index-2ds89z96.js → index-n6hvd1r2.js} +4 -4
  28. package/dist/{index-p9saezh1.js → index-r8swbw1x.js} +1 -1
  29. package/dist/{index-a3ekss9t.js → index-v7rbjatr.js} +230 -201
  30. package/dist/{index-rk7m4j7r.js → index-x2d51zay.js} +9 -10
  31. package/dist/{index-1wz4y15d.js → index-x2rvpbtj.js} +1 -1
  32. package/dist/tools/cli/args-route.d.ts +11 -0
  33. package/dist/tools/cli/args-route.d.ts.map +1 -1
  34. package/dist/tools/cli/args.d.ts.map +1 -1
  35. package/dist/tools/cli/command-shape.d.ts +4 -0
  36. package/dist/tools/cli/command-shape.d.ts.map +1 -1
  37. package/dist/tools/cli/create-cli.d.ts.map +1 -1
  38. package/dist/tools/cli/managed-surface.d.ts.map +1 -1
  39. package/dist/tools/cli/notices.d.ts +5 -0
  40. package/dist/tools/cli/notices.d.ts.map +1 -0
  41. package/dist/tools/cli/profile.d.ts +1 -1
  42. package/dist/tools/cli/profile.d.ts.map +1 -1
  43. package/dist/tools/cli/run-managed.d.ts.map +1 -1
  44. package/dist/tools/cli/session.d.ts +2 -1
  45. package/dist/tools/cli/session.d.ts.map +1 -1
  46. package/dist/tools/cli/stream-surface.d.ts +6 -1
  47. package/dist/tools/cli/stream-surface.d.ts.map +1 -1
  48. package/dist/tools/cli/unavailable.d.ts +0 -6
  49. package/dist/tools/cli/unavailable.d.ts.map +1 -1
  50. package/dist/tools/internal/surface-projector.d.ts +2 -0
  51. package/dist/tools/internal/surface-projector.d.ts.map +1 -1
  52. package/llms/cli.2.txt +1 -1
  53. package/llms/cli.txt +32 -4
  54. package/llms/stitchkit.txt +3 -3
  55. package/llms/{upgrading-0.106.0-0.124.0.txt → upgrading-0.106.0-0.125.0.txt} +26 -3
  56. package/llms/upgrading.txt +1 -1
  57. package/llms-full.txt +59 -8
  58. package/llms.txt +2 -2
  59. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -15,6 +15,43 @@ additive**; the first breaking change landed in 0.10.0. Grep the file for
15
15
 
16
16
  ## [Unreleased]
17
17
 
18
+ ## [0.125.0] - 2026-11-19
19
+
20
+ ### ⚠️ Breaking changes
21
+
22
+ **Who must act:** CLI authors who named a command after a framework option, and callers who
23
+ place framework flags before a native command in a CLI with a managed command factory and no
24
+ default command. See the [migration](docs/guide/upgrading.md#cli-framework-option-command-names).
25
+
26
+ - `stitchkit/cli` reserves framework option spellings as shell command names.
27
+ A declared command such as `--quiet` could otherwise make an existing script
28
+ run a different handler. Rename it and update its callers:
29
+ `app --quiet inspect` → `app quiet-mode inspect`. In a CLI with a managed
30
+ factory and no default command, put a native command first:
31
+ `app --quiet whoami` → `app whoami --quiet`. The former order now reports
32
+ the ambiguity before a handler or factory runs. → ADR 0296
33
+ **Affects:** `stitchkit/cli` createCli, routeCliArgv
34
+
35
+ ### Fixed
36
+
37
+ - `stitchkit/cli` accepts framework flags before an explicit command on CLIs
38
+ without a default command. For a static CLI, `app --quiet status --json`
39
+ and `app status --quiet --json` run the same command with the same settings.
40
+ A command name or application option between `--dry-run` and a positional
41
+ `false` keeps the preview active, including on CLIs with a default.
42
+ On a named command, `--schema false` and `--help false` now allow execution
43
+ just like their inline forms.
44
+ **Affects:** `stitchkit/cli` routeCliArgv, createCli
45
+
46
+ ## [0.124.5] - 2026-11-19
47
+
48
+ ### Fixed
49
+
50
+ - `stitchkit/cli` honours `--quiet` for the default sole-profile notice, including
51
+ when profile selection happens before command discovery. Profile errors still
52
+ report their cause and exit code.
53
+ **Affects:** `stitchkit/cli` behaviour
54
+
18
55
  ## [0.124.4] - 2026-11-18
19
56
 
20
57
  ### Fixed
@@ -1,20 +1,20 @@
1
1
  import"../../index-yt1gg11x.js";
2
2
  import"../../index-5dmk54h9.js";
3
- import"../../index-rk7m4j7r.js";
3
+ import"../../index-x2d51zay.js";
4
4
  import"../../index-ndjzbt2v.js";
5
5
  import {
6
6
  AgentCodingToolLimitsSchema2,
7
7
  AgentCodingToolAuthorizationSchema2,
8
8
  AgentCodingToolPathAuthorizationSchema2,
9
9
  createAgentCodingTools2
10
- } from "../../index-6fmg17bg.js";
10
+ } from "../../index-8wzhmgpa.js";
11
11
  import"../../index-sqc6ezrb.js";
12
12
  import"../../index-0ndz5r8z.js";
13
13
  import"../../index-gdqawggb.js";
14
14
  import"../../index-kffm4r8w.js";
15
15
  import"../../index-fa53vygr.js";
16
16
  import"../../index-ww3gss55.js";
17
- import"../../index-r7v5xz0g.js";
17
+ import"../../index-m0wsfmrc.js";
18
18
  export {
19
19
  AgentCodingToolAuthorizationSchema2 as AgentCodingToolAuthorizationSchema,
20
20
  AgentCodingToolLimitsSchema2 as AgentCodingToolLimitsSchema,
@@ -5,15 +5,15 @@ import"../../index-8kzct1d6.js";
5
5
  import {
6
6
  composeAgentPrompt2,
7
7
  createAgentRuntime2
8
- } from "../../index-cm07qz01.js";
8
+ } from "../../index-1v3k5zgx.js";
9
9
  import"../../index-qaet40b2.js";
10
10
  import"../../index-hs76yzt7.js";
11
11
  import"../../index-ndjzbt2v.js";
12
12
  import"../../index-dsa676h8.js";
13
13
  import"../../index-t8jz0e20.js";
14
14
  import"../../index-5dmk54h9.js";
15
- import"../../index-rk7m4j7r.js";
16
- import"../../index-1wz4y15d.js";
15
+ import"../../index-x2d51zay.js";
16
+ import"../../index-x2rvpbtj.js";
17
17
  import"../../index-snef22zr.js";
18
18
  import"../../index-zyc64nbh.js";
19
19
  import"../../index-egg0yp2j.js";
@@ -31,7 +31,7 @@ import {
31
31
  import"../../index-ww3gss55.js";
32
32
  import {
33
33
  defineRuntimeTool2
34
- } from "../../index-r7v5xz0g.js";
34
+ } from "../../index-m0wsfmrc.js";
35
35
 
36
36
  // src/agent-runtime/harness-contract.ts
37
37
  import { z } from "zod";
@@ -3,11 +3,11 @@ import {
3
3
  missingSandboxRestrictions2,
4
4
  codingRefusal,
5
5
  createAgentCodingTools2
6
- } from "../../index-6fmg17bg.js";
6
+ } from "../../index-8wzhmgpa.js";
7
7
  import"../../index-sqc6ezrb.js";
8
8
  import"../../index-yt1gg11x.js";
9
9
  import"../../index-5dmk54h9.js";
10
- import"../../index-rk7m4j7r.js";
10
+ import"../../index-x2d51zay.js";
11
11
  import"../../index-ndjzbt2v.js";
12
12
  import {
13
13
  COMMAND_CLEANUP_TIMEOUT_MS,
@@ -25,7 +25,7 @@ import {
25
25
  import"../../index-kffm4r8w.js";
26
26
  import"../../index-fa53vygr.js";
27
27
  import"../../index-ww3gss55.js";
28
- import"../../index-r7v5xz0g.js";
28
+ import"../../index-m0wsfmrc.js";
29
29
  import {
30
30
  errnoOf
31
31
  } from "../../index-jj9228tt.js";
@@ -1,16 +1,16 @@
1
1
  import"../../../index-egg0yp2j.js";
2
- import"../../../index-afc3mtah.js";
2
+ import"../../../index-0sg3wnzr.js";
3
3
  import"../../../index-8kzct1d6.js";
4
4
  import {
5
5
  initializeAgentRuntimeSqlite2,
6
6
  createSqliteAgentRuntimeStore2
7
- } from "../../../index-en2xqhty.js";
7
+ } from "../../../index-cj5f0x4y.js";
8
8
  import"../../../index-kqnd6a85.js";
9
9
  import"../../../index-m8ddk770.js";
10
- import"../../../index-6fmg17bg.js";
10
+ import"../../../index-8wzhmgpa.js";
11
11
  import"../../../index-yt1gg11x.js";
12
12
  import"../../../index-5dmk54h9.js";
13
- import"../../../index-rk7m4j7r.js";
13
+ import"../../../index-x2d51zay.js";
14
14
  import"../../../index-ndjzbt2v.js";
15
15
  import"../../../index-sqc6ezrb.js";
16
16
  import"../../../index-0ndz5r8z.js";
@@ -19,7 +19,7 @@ import"../../../index-snef22zr.js";
19
19
  import"../../../index-kffm4r8w.js";
20
20
  import"../../../index-fa53vygr.js";
21
21
  import"../../../index-ww3gss55.js";
22
- import"../../../index-r7v5xz0g.js";
22
+ import"../../../index-m0wsfmrc.js";
23
23
 
24
24
  // src/agent-runtime/sqlite-bun.ts
25
25
  import { Database } from "bun:sqlite";
@@ -1,16 +1,16 @@
1
1
  import"../../../index-egg0yp2j.js";
2
- import"../../../index-afc3mtah.js";
2
+ import"../../../index-0sg3wnzr.js";
3
3
  import"../../../index-8kzct1d6.js";
4
4
  import {
5
5
  initializeAgentRuntimeSqlite2,
6
6
  createSqliteAgentRuntimeStore2
7
- } from "../../../index-en2xqhty.js";
7
+ } from "../../../index-cj5f0x4y.js";
8
8
  import"../../../index-kqnd6a85.js";
9
9
  import"../../../index-m8ddk770.js";
10
- import"../../../index-6fmg17bg.js";
10
+ import"../../../index-8wzhmgpa.js";
11
11
  import"../../../index-yt1gg11x.js";
12
12
  import"../../../index-5dmk54h9.js";
13
- import"../../../index-rk7m4j7r.js";
13
+ import"../../../index-x2d51zay.js";
14
14
  import"../../../index-ndjzbt2v.js";
15
15
  import"../../../index-sqc6ezrb.js";
16
16
  import"../../../index-0ndz5r8z.js";
@@ -19,7 +19,7 @@ import"../../../index-snef22zr.js";
19
19
  import"../../../index-kffm4r8w.js";
20
20
  import"../../../index-fa53vygr.js";
21
21
  import"../../../index-ww3gss55.js";
22
- import"../../../index-r7v5xz0g.js";
22
+ import"../../../index-m0wsfmrc.js";
23
23
 
24
24
  // src/agent-runtime/sqlite-node.ts
25
25
  import { DatabaseSync } from "node:sqlite";
@@ -10,11 +10,11 @@ import {
10
10
  advanceToolChronology
11
11
  } from "../../index-egg0yp2j.js";
12
12
  import"../../index-m8ddk770.js";
13
- import"../../index-6fmg17bg.js";
14
- import"../../index-afc3mtah.js";
13
+ import"../../index-8wzhmgpa.js";
14
+ import"../../index-0sg3wnzr.js";
15
15
  import"../../index-yt1gg11x.js";
16
16
  import"../../index-5dmk54h9.js";
17
- import"../../index-rk7m4j7r.js";
17
+ import"../../index-x2d51zay.js";
18
18
  import"../../index-ndjzbt2v.js";
19
19
  import"../../index-sqc6ezrb.js";
20
20
  import"../../index-0ndz5r8z.js";
@@ -22,11 +22,11 @@ import"../../index-gdqawggb.js";
22
22
  import"../../index-snef22zr.js";
23
23
  import {
24
24
  createMemoryAgentRuntimeStore2
25
- } from "../../index-p9saezh1.js";
25
+ } from "../../index-r8swbw1x.js";
26
26
  import"../../index-kffm4r8w.js";
27
27
  import"../../index-fa53vygr.js";
28
28
  import"../../index-ww3gss55.js";
29
- import"../../index-r7v5xz0g.js";
29
+ import"../../index-m0wsfmrc.js";
30
30
  import {
31
31
  assertPositiveSafeInteger
32
32
  } from "../../index-0s4xebbg.js";
@@ -5,7 +5,7 @@ import {
5
5
  missingSandboxRestrictions2,
6
6
  recordAgentSandboxProbe2,
7
7
  refuseUnknownSpillReference
8
- } from "../index-6fmg17bg.js";
8
+ } from "../index-8wzhmgpa.js";
9
9
  import {
10
10
  AgentRecordIdSchema2,
11
11
  AgentRecordVersionSchema2,
@@ -52,7 +52,7 @@ import {
52
52
  AgentConversationPurgedError2,
53
53
  purgeAgentConversation2,
54
54
  createAgentRuntimeStore2
55
- } from "../index-afc3mtah.js";
55
+ } from "../index-0sg3wnzr.js";
56
56
  import {
57
57
  AgentStoreEventKindSchema2,
58
58
  AgentStoreEventEnvelopeSchema2,
@@ -124,7 +124,7 @@ import {
124
124
  agentGoalStateSlot2,
125
125
  agentTodoStateSlot2,
126
126
  createAgentRuntime2
127
- } from "../index-cm07qz01.js";
127
+ } from "../index-1v3k5zgx.js";
128
128
  import {
129
129
  AgentConversationSummarySchema2,
130
130
  AgentConversationPageSchema2,
@@ -134,13 +134,13 @@ import"../index-ndjzbt2v.js";
134
134
  import"../index-dsa676h8.js";
135
135
  import"../index-t8jz0e20.js";
136
136
  import"../index-5dmk54h9.js";
137
- import"../index-rk7m4j7r.js";
138
- import"../index-1wz4y15d.js";
137
+ import"../index-x2d51zay.js";
138
+ import"../index-x2rvpbtj.js";
139
139
  import"../index-yt1gg11x.js";
140
- import"../index-x68eyh6y.js";
140
+ import"../index-7cn66qdk.js";
141
141
  import {
142
142
  mountAgent2
143
- } from "../index-2ds89z96.js";
143
+ } from "../index-n6hvd1r2.js";
144
144
  import {
145
145
  createBoundedSinkManager
146
146
  } from "../index-qaet40b2.js";
@@ -193,7 +193,7 @@ import"../index-0ndz5r8z.js";
193
193
  import"../index-gdqawggb.js";
194
194
  import {
195
195
  createMemoryAgentRuntimeStore2
196
- } from "../index-p9saezh1.js";
196
+ } from "../index-r8swbw1x.js";
197
197
  import {
198
198
  createAgentRuntimeEventSink2
199
199
  } from "../index-7qyv50r4.js";
@@ -202,12 +202,12 @@ import"../index-fa53vygr.js";
202
202
  import"../index-ww3gss55.js";
203
203
  import {
204
204
  buildToolManifest2
205
- } from "../index-xaem29dc.js";
206
- import"../index-q7s1yr9g.js";
205
+ } from "../index-a3z56mtn.js";
206
+ import"../index-kxff9e9w.js";
207
207
  import {
208
208
  defineRuntimeTool2,
209
209
  executableAgentRuntimeTools
210
- } from "../index-r7v5xz0g.js";
210
+ } from "../index-m0wsfmrc.js";
211
211
  import {
212
212
  MAX_TIMER_MS
213
213
  } from "../index-eemvahkc.js";
@@ -12,18 +12,19 @@ import {
12
12
  cliInvocationResult2,
13
13
  createCliInvoker2,
14
14
  routeCliArgv2,
15
+ writeCliNotice,
15
16
  parseCliArgs2,
16
17
  extractCliGlobalOptions2,
17
18
  renderCliView2,
18
19
  pollUntilDone2,
19
20
  createCli2
20
- } from "../index-a3ekss9t.js";
21
+ } from "../index-v7rbjatr.js";
21
22
  import"../index-ndjzbt2v.js";
22
23
  import"../index-5dmk54h9.js";
23
- import"../index-rk7m4j7r.js";
24
- import"../index-1wz4y15d.js";
24
+ import"../index-x2d51zay.js";
25
+ import"../index-x2rvpbtj.js";
25
26
  import"../index-yt1gg11x.js";
26
- import"../index-x68eyh6y.js";
27
+ import"../index-7cn66qdk.js";
27
28
  import"../index-332d0m9g.js";
28
29
  import"../index-sqc6ezrb.js";
29
30
  import"../index-gy9x38a2.js";
@@ -55,8 +56,8 @@ import"../index-fvd6pvw3.js";
55
56
  import {
56
57
  argumentsDigest
57
58
  } from "../index-mfntvj58.js";
58
- import"../index-q7s1yr9g.js";
59
- import"../index-r7v5xz0g.js";
59
+ import"../index-kxff9e9w.js";
60
+ import"../index-m0wsfmrc.js";
60
61
  import {
61
62
  writeFileAtomicSync2
62
63
  } from "../index-jp2qd9jb.js";
@@ -252,7 +253,7 @@ function assertProfileName(name) {
252
253
  }
253
254
  }
254
255
  function createCliProfileStore(config) {
255
- const announce = config.announce ?? ((line) => process.stderr.write(`${line}
256
+ const announce = config.announce ?? ((line) => writeCliNotice(`${line}
256
257
  `));
257
258
  const pathFor = (name) => {
258
259
  assertProfileName(name);
@@ -31,7 +31,7 @@ import {
31
31
  projectToolSurface,
32
32
  mcpProjectionCandidate,
33
33
  prepareProjectedMcpTools
34
- } from "../index-rk7m4j7r.js";
34
+ } from "../index-x2d51zay.js";
35
35
  import"../index-ndjzbt2v.js";
36
36
  import {
37
37
  createClient2,
@@ -2,15 +2,15 @@ import"../../index-ndjzbt2v.js";
2
2
  import"../../index-dsa676h8.js";
3
3
  import"../../index-t8jz0e20.js";
4
4
  import"../../index-5dmk54h9.js";
5
- import"../../index-rk7m4j7r.js";
6
- import"../../index-1wz4y15d.js";
5
+ import"../../index-x2d51zay.js";
6
+ import"../../index-x2rvpbtj.js";
7
7
  import"../../index-yt1gg11x.js";
8
- import"../../index-x68eyh6y.js";
8
+ import"../../index-7cn66qdk.js";
9
9
  import {
10
10
  mountAgent2
11
- } from "../../index-2ds89z96.js";
12
- import"../../index-q7s1yr9g.js";
13
- import"../../index-r7v5xz0g.js";
11
+ } from "../../index-n6hvd1r2.js";
12
+ import"../../index-kxff9e9w.js";
13
+ import"../../index-m0wsfmrc.js";
14
14
  export {
15
15
  mountAgent2 as mountAgent
16
16
  };
@@ -7,7 +7,7 @@ import {
7
7
  withDraft2020Keywords,
8
8
  withServedFormats
9
9
  } from "../../index-5dmk54h9.js";
10
- import"../../index-rk7m4j7r.js";
10
+ import"../../index-x2d51zay.js";
11
11
  import"../../index-ndjzbt2v.js";
12
12
  import {
13
13
  markJsonSchemaObjectGuards,
@@ -20,7 +20,7 @@ import {
20
20
  } from "../../index-mm89hd8v.js";
21
21
  import {
22
22
  defineRuntimeTool2
23
- } from "../../index-r7v5xz0g.js";
23
+ } from "../../index-m0wsfmrc.js";
24
24
  import {
25
25
  TOOL_ERROR_PROJECTION
26
26
  } from "../../index-aw6kx2e6.js";
@@ -2,13 +2,13 @@ import"../../index-ndjzbt2v.js";
2
2
  import"../../index-dsa676h8.js";
3
3
  import"../../index-t8jz0e20.js";
4
4
  import"../../index-5dmk54h9.js";
5
- import"../../index-rk7m4j7r.js";
6
- import"../../index-1wz4y15d.js";
5
+ import"../../index-x2d51zay.js";
6
+ import"../../index-x2rvpbtj.js";
7
7
  import"../../index-yt1gg11x.js";
8
- import"../../index-x68eyh6y.js";
8
+ import"../../index-7cn66qdk.js";
9
9
  import {
10
10
  createToolInvoker2
11
- } from "../../index-z2z67tnv.js";
11
+ } from "../../index-cvjddnvd.js";
12
12
  export {
13
13
  createToolInvoker2 as createToolInvoker
14
14
  };
@@ -2,10 +2,10 @@ import"../../index-ndjzbt2v.js";
2
2
  import"../../index-dsa676h8.js";
3
3
  import"../../index-t8jz0e20.js";
4
4
  import"../../index-5dmk54h9.js";
5
- import"../../index-rk7m4j7r.js";
6
- import"../../index-1wz4y15d.js";
5
+ import"../../index-x2d51zay.js";
6
+ import"../../index-x2rvpbtj.js";
7
7
  import"../../index-yt1gg11x.js";
8
- import"../../index-x68eyh6y.js";
8
+ import"../../index-7cn66qdk.js";
9
9
  import"../../index-332d0m9g.js";
10
10
  import {
11
11
  RESOURCE_MIME_TYPE2,
@@ -18,7 +18,7 @@ import {
18
18
  createMcpHandler2,
19
19
  createMcpHttpRoute2,
20
20
  createStdioMcpServer2
21
- } from "../../index-3n8k175r.js";
21
+ } from "../../index-fgzbc06j.js";
22
22
  import {
23
23
  DEFAULT_PROCESS_SIGNALS,
24
24
  defaultSignalSource,
@@ -30,8 +30,8 @@ import {
30
30
  mcpCatalogMeta2,
31
31
  readMcpCatalogStamp2
32
32
  } from "../../index-mm89hd8v.js";
33
- import"../../index-q7s1yr9g.js";
34
- import"../../index-r7v5xz0g.js";
33
+ import"../../index-kxff9e9w.js";
34
+ import"../../index-m0wsfmrc.js";
35
35
  // src/tools/mcp/stdio-signals.ts
36
36
  var bound = new WeakSet;
37
37
  function bindStdioProcessSignals(handle, options = {}) {
@@ -2,16 +2,16 @@ import"../../index-ndjzbt2v.js";
2
2
  import"../../index-dsa676h8.js";
3
3
  import"../../index-t8jz0e20.js";
4
4
  import"../../index-5dmk54h9.js";
5
- import"../../index-rk7m4j7r.js";
6
- import"../../index-1wz4y15d.js";
5
+ import"../../index-x2d51zay.js";
6
+ import"../../index-x2rvpbtj.js";
7
7
  import"../../index-yt1gg11x.js";
8
- import"../../index-x68eyh6y.js";
8
+ import"../../index-7cn66qdk.js";
9
9
  import {
10
10
  mountAgent2
11
- } from "../../index-2ds89z96.js";
11
+ } from "../../index-n6hvd1r2.js";
12
12
  import {
13
13
  createCli2
14
- } from "../../index-a3ekss9t.js";
14
+ } from "../../index-v7rbjatr.js";
15
15
  import"../../index-332d0m9g.js";
16
16
  import"../../index-sqc6ezrb.js";
17
17
  import"../../index-gy9x38a2.js";
@@ -21,11 +21,11 @@ import {
21
21
  buildMcpServer2,
22
22
  createMcpHandler2,
23
23
  createStdioMcpServer2
24
- } from "../../index-3n8k175r.js";
24
+ } from "../../index-fgzbc06j.js";
25
25
  import"../../index-fa53vygr.js";
26
26
  import"../../index-ww3gss55.js";
27
- import"../../index-q7s1yr9g.js";
28
- import"../../index-r7v5xz0g.js";
27
+ import"../../index-kxff9e9w.js";
28
+ import"../../index-m0wsfmrc.js";
29
29
 
30
30
  // src/tools/toolkit.ts
31
31
  function createToolkit() {
@@ -19,18 +19,18 @@ import {
19
19
  findNonPortableFormats2,
20
20
  flattenToolJsonSchema2,
21
21
  findUntypedProperties2
22
- } from "../index-rk7m4j7r.js";
22
+ } from "../index-x2d51zay.js";
23
23
  import {
24
24
  ToolExecutionControlError2,
25
25
  isToolExecutionControlError2
26
- } from "../index-1wz4y15d.js";
26
+ } from "../index-x2rvpbtj.js";
27
27
  import {
28
28
  ALL_TRANSPORTS2,
29
29
  TOOL_TRANSPORTS2
30
30
  } from "../index-yt1gg11x.js";
31
31
  import {
32
32
  collectTools2
33
- } from "../index-x68eyh6y.js";
33
+ } from "../index-7cn66qdk.js";
34
34
  import"../index-m38ej7e5.js";
35
35
  import {
36
36
  defineContract2
@@ -62,7 +62,7 @@ import"../index-9ypczvpj.js";
62
62
  import {
63
63
  describeToolCatalog2,
64
64
  buildToolManifest2
65
- } from "../index-xaem29dc.js";
65
+ } from "../index-a3z56mtn.js";
66
66
  import {
67
67
  PROTECTED_RESOURCE_PATH2,
68
68
  protectedResourceMetadataUrl2,
@@ -79,7 +79,7 @@ import {
79
79
  } from "../index-1psbyyhj.js";
80
80
  import {
81
81
  createToolInvoker2
82
- } from "../index-z2z67tnv.js";
82
+ } from "../index-cvjddnvd.js";
83
83
  import {
84
84
  WaitTimeoutError,
85
85
  runWaitOperation,
@@ -90,14 +90,14 @@ import {
90
90
  } from "../index-zs8cze4j.js";
91
91
  import {
92
92
  collectToolSurface
93
- } from "../index-q7s1yr9g.js";
93
+ } from "../index-kxff9e9w.js";
94
94
  import {
95
95
  getTraceId2
96
96
  } from "../index-1d7s7da0.js";
97
97
  import {
98
98
  defineRuntimeTool2,
99
99
  createRuntimeToolFactory2
100
- } from "../index-r7v5xz0g.js";
100
+ } from "../index-m0wsfmrc.js";
101
101
  import {
102
102
  ManagedFileError2
103
103
  } from "../index-wt6rw7rf.js";
@@ -4,7 +4,7 @@ import {
4
4
  AgentSandboxRestrictionSchema2,
5
5
  AgentSandboxGradeSchema2,
6
6
  AGENT_CODING_TOOL_NAMES
7
- } from "./index-6fmg17bg.js";
7
+ } from "./index-8wzhmgpa.js";
8
8
  import {
9
9
  AgentRecordIdSchema2,
10
10
  AgentRecordVersionSchema2,
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  ToolExecutionControlError2,
16
16
  isToolExecutionControlError2
17
- } from "./index-1wz4y15d.js";
17
+ } from "./index-x2rvpbtj.js";
18
18
  import {
19
19
  AGENT_TOOL_PROGRESS_MESSAGE_MAX2,
20
20
  agentDurableEventId2
@@ -3,11 +3,11 @@ import {
3
3
  mergeSchemas,
4
4
  assertToolExtensionCompatible,
5
5
  projectToolSurface
6
- } from "./index-rk7m4j7r.js";
6
+ } from "./index-x2d51zay.js";
7
7
  import {
8
8
  toolErrorFromResult,
9
9
  executeToolMethod
10
- } from "./index-1wz4y15d.js";
10
+ } from "./index-x2rvpbtj.js";
11
11
  import {
12
12
  isRetryableStatus2
13
13
  } from "./index-0w0hxp7n.js";
@@ -30,7 +30,7 @@ import {
30
30
  } from "./index-ww3gss55.js";
31
31
  import {
32
32
  defineRuntimeTool2
33
- } from "./index-r7v5xz0g.js";
33
+ } from "./index-m0wsfmrc.js";
34
34
  import {
35
35
  errnoOf
36
36
  } from "./index-jj9228tt.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  collectToolSurface
3
- } from "./index-q7s1yr9g.js";
3
+ } from "./index-kxff9e9w.js";
4
4
 
5
5
  // src/tools/manifest.ts
6
6
  function utf8Length(value) {
@@ -15,7 +15,7 @@ import {
15
15
  appendEventIn,
16
16
  ArchiveProjectionSchema,
17
17
  createAgentRuntimeStore2
18
- } from "./index-afc3mtah.js";
18
+ } from "./index-0sg3wnzr.js";
19
19
  import {
20
20
  AgentMessageSchema2,
21
21
  AgentRunSchema2
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  assertUniqueToolName
3
- } from "./index-rk7m4j7r.js";
3
+ } from "./index-x2d51zay.js";
4
4
  import {
5
5
  toolErrorFromResult
6
- } from "./index-1wz4y15d.js";
6
+ } from "./index-x2rvpbtj.js";
7
7
  import {
8
8
  collectTools2,
9
9
  createToolRunner
10
- } from "./index-x68eyh6y.js";
10
+ } from "./index-7cn66qdk.js";
11
11
  import {
12
12
  AppError2
13
13
  } from "./index-0w0hxp7n.js";
@@ -8,17 +8,17 @@ import {
8
8
  validateResolvedInputRounds,
9
9
  presentationMetadata,
10
10
  prepareProjectedMcpTools
11
- } from "./index-rk7m4j7r.js";
11
+ } from "./index-x2d51zay.js";
12
12
  import {
13
13
  parseToolCallArguments,
14
14
  toolResultFromError,
15
15
  observed
16
- } from "./index-1wz4y15d.js";
16
+ } from "./index-x2rvpbtj.js";
17
17
  import {
18
18
  collectTools2,
19
19
  createToolRunner,
20
20
  formatToolError
21
- } from "./index-x68eyh6y.js";
21
+ } from "./index-7cn66qdk.js";
22
22
  import {
23
23
  publishedToolAnnotations
24
24
  } from "./index-332d0m9g.js";
@@ -40,7 +40,7 @@ import {
40
40
  } from "./index-568w258r.js";
41
41
  import {
42
42
  collectToolSurface
43
- } from "./index-q7s1yr9g.js";
43
+ } from "./index-kxff9e9w.js";
44
44
  import {
45
45
  runWithRequestContext2,
46
46
  getRequestContext2
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  projectToolSurface
3
- } from "./index-rk7m4j7r.js";
3
+ } from "./index-x2d51zay.js";
4
4
  import {
5
5
  contractToolMountable
6
- } from "./index-x68eyh6y.js";
6
+ } from "./index-7cn66qdk.js";
7
7
  import {
8
8
  runtimeToolMountable
9
- } from "./index-r7v5xz0g.js";
9
+ } from "./index-m0wsfmrc.js";
10
10
 
11
11
  // src/tools/surface.ts
12
12
  function collectToolSurface({