stitchkit 0.124.3 → 0.124.4
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.
- package/CHANGELOG.md +24 -0
- package/dist/entrypoints/agent-runtime/coding-tools.js +4 -4
- package/dist/entrypoints/agent-runtime/harness.js +5 -5
- package/dist/entrypoints/agent-runtime/sandbox.js +4 -4
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +6 -6
- package/dist/entrypoints/agent-runtime/sqlite/node.js +6 -6
- package/dist/entrypoints/agent-runtime/testing.js +6 -6
- package/dist/entrypoints/agent-runtime.js +12 -12
- package/dist/entrypoints/cli.js +7 -7
- package/dist/entrypoints/server.js +1 -1
- package/dist/entrypoints/testing.js +2 -2
- package/dist/entrypoints/tools/agent.js +7 -7
- package/dist/entrypoints/tools/connections.js +6 -5
- package/dist/entrypoints/tools/invoker.js +5 -5
- package/dist/entrypoints/tools/mcp.js +7 -7
- package/dist/entrypoints/tools/toolkit.js +9 -9
- package/dist/entrypoints/tools.js +8 -8
- package/dist/{index-s512scra.js → index-1wz4y15d.js} +1 -1
- package/dist/{index-yebkpytc.js → index-2ds89z96.js} +4 -4
- package/dist/{index-jkjh7zw4.js → index-3n8k175r.js} +5 -5
- package/dist/index-5dmk54h9.js +256 -0
- package/dist/{index-8pwwd6rp.js → index-6fmg17bg.js} +1 -1
- package/dist/{index-7rq5p3hk.js → index-a3ekss9t.js} +13 -28
- package/dist/{index-7177dxjn.js → index-afc3mtah.js} +1 -1
- package/dist/{index-0d3sm0m9.js → index-cm07qz01.js} +1 -1
- package/dist/{index-qsm899qp.js → index-en2xqhty.js} +1 -1
- package/dist/{index-782qtc24.js → index-p9saezh1.js} +1 -1
- package/dist/{index-993vtv1w.js → index-q7s1yr9g.js} +3 -3
- package/dist/{index-6k47xdtt.js → index-r7v5xz0g.js} +1 -1
- package/dist/{index-tynna0n4.js → index-rk7m4j7r.js} +3 -94
- package/dist/{index-qc7tq0za.js → index-x68eyh6y.js} +2 -2
- package/dist/{index-enkc9pem.js → index-xaem29dc.js} +1 -1
- package/dist/{index-96yjwwgf.js → index-z2z67tnv.js} +3 -3
- package/dist/json-schema/dialect.d.ts +6 -0
- package/dist/json-schema/dialect.d.ts.map +1 -1
- package/dist/json-schema/json-schema.d.ts.map +1 -1
- package/dist/json-schema/string-format.d.ts +36 -0
- package/dist/json-schema/string-format.d.ts.map +1 -0
- package/dist/tools/cli/help.d.ts.map +1 -1
- package/dist/tools/connections/runtime.d.ts.map +1 -1
- package/llms/cli.txt +6 -3
- package/llms-full.txt +6 -3
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/dist/index-ct75c3at.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,30 @@ additive**; the first breaking change landed in 0.10.0. Grep the file for
|
|
|
15
15
|
|
|
16
16
|
## [Unreleased]
|
|
17
17
|
|
|
18
|
+
## [0.124.4] - 2026-11-18
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- `stitchkit/cli` help names the format of an argument discovered from a server:
|
|
23
|
+
`<string> [uuid]`. A served `"format": "uuid"` arrives with a `"pattern"`, and
|
|
24
|
+
the schema restored from the two was written back as a conjunction of patterns
|
|
25
|
+
with no `format`, so help printed `[all of: string [pattern /…/] & string
|
|
26
|
+
[pattern /…/]]`. A format the reader has no check for was lost outright:
|
|
27
|
+
`time`, `idn-email`, `iri`, `json-pointer`, and `uri-reference` came back as
|
|
28
|
+
`uri`. A discovered schema now keeps every `format` as its server spelled it,
|
|
29
|
+
and its patterns as they were served, in help, `--schema`, a re-served MCP tool
|
|
30
|
+
list, agent tools and manifests; the digest of a discovered surface with such
|
|
31
|
+
fields changes once.
|
|
32
|
+
**Affects:** `stitchkit/cli` behaviour; `stitchkit/tools/connections` behaviour
|
|
33
|
+
- `stitchkit/tools` writes `"format"` for a string whose format is followed by a
|
|
34
|
+
pattern — `z.uuid().regex(…)`, `z.email().regex(…)` — in MCP tool lists, agent
|
|
35
|
+
tools, manifests and OpenAPI; before, the document carried the format's
|
|
36
|
+
expression and the pattern under `allOf` and no name. The name is written where
|
|
37
|
+
it says all the check does, and the expression it implies is left out; a check
|
|
38
|
+
narrower or wider than its name (`z.uuidv4()`, `z.guid()`) keeps the document
|
|
39
|
+
it had. A surface digest over such a field changes once.
|
|
40
|
+
**Affects:** `stitchkit/tools` behaviour; `stitchkit/server` behaviour
|
|
41
|
+
|
|
18
42
|
## [0.124.3] - 2026-11-18
|
|
19
43
|
|
|
20
44
|
### Added
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import"../../index-yt1gg11x.js";
|
|
2
|
-
import"../../index-
|
|
3
|
-
import"../../index-
|
|
2
|
+
import"../../index-5dmk54h9.js";
|
|
3
|
+
import"../../index-rk7m4j7r.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-
|
|
10
|
+
} from "../../index-6fmg17bg.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-
|
|
17
|
+
import"../../index-r7v5xz0g.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-
|
|
8
|
+
} from "../../index-cm07qz01.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
|
-
import"../../index-
|
|
15
|
-
import"../../index-
|
|
16
|
-
import"../../index-
|
|
14
|
+
import"../../index-5dmk54h9.js";
|
|
15
|
+
import"../../index-rk7m4j7r.js";
|
|
16
|
+
import"../../index-1wz4y15d.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-
|
|
34
|
+
} from "../../index-r7v5xz0g.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-
|
|
6
|
+
} from "../../index-6fmg17bg.js";
|
|
7
7
|
import"../../index-sqc6ezrb.js";
|
|
8
8
|
import"../../index-yt1gg11x.js";
|
|
9
|
-
import"../../index-
|
|
10
|
-
import"../../index-
|
|
9
|
+
import"../../index-5dmk54h9.js";
|
|
10
|
+
import"../../index-rk7m4j7r.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-
|
|
28
|
+
import"../../index-r7v5xz0g.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-
|
|
2
|
+
import"../../../index-afc3mtah.js";
|
|
3
3
|
import"../../../index-8kzct1d6.js";
|
|
4
4
|
import {
|
|
5
5
|
initializeAgentRuntimeSqlite2,
|
|
6
6
|
createSqliteAgentRuntimeStore2
|
|
7
|
-
} from "../../../index-
|
|
7
|
+
} from "../../../index-en2xqhty.js";
|
|
8
8
|
import"../../../index-kqnd6a85.js";
|
|
9
9
|
import"../../../index-m8ddk770.js";
|
|
10
|
-
import"../../../index-
|
|
10
|
+
import"../../../index-6fmg17bg.js";
|
|
11
11
|
import"../../../index-yt1gg11x.js";
|
|
12
|
-
import"../../../index-
|
|
13
|
-
import"../../../index-
|
|
12
|
+
import"../../../index-5dmk54h9.js";
|
|
13
|
+
import"../../../index-rk7m4j7r.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-
|
|
22
|
+
import"../../../index-r7v5xz0g.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-
|
|
2
|
+
import"../../../index-afc3mtah.js";
|
|
3
3
|
import"../../../index-8kzct1d6.js";
|
|
4
4
|
import {
|
|
5
5
|
initializeAgentRuntimeSqlite2,
|
|
6
6
|
createSqliteAgentRuntimeStore2
|
|
7
|
-
} from "../../../index-
|
|
7
|
+
} from "../../../index-en2xqhty.js";
|
|
8
8
|
import"../../../index-kqnd6a85.js";
|
|
9
9
|
import"../../../index-m8ddk770.js";
|
|
10
|
-
import"../../../index-
|
|
10
|
+
import"../../../index-6fmg17bg.js";
|
|
11
11
|
import"../../../index-yt1gg11x.js";
|
|
12
|
-
import"../../../index-
|
|
13
|
-
import"../../../index-
|
|
12
|
+
import"../../../index-5dmk54h9.js";
|
|
13
|
+
import"../../../index-rk7m4j7r.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-
|
|
22
|
+
import"../../../index-r7v5xz0g.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-
|
|
14
|
-
import"../../index-
|
|
13
|
+
import"../../index-6fmg17bg.js";
|
|
14
|
+
import"../../index-afc3mtah.js";
|
|
15
15
|
import"../../index-yt1gg11x.js";
|
|
16
|
-
import"../../index-
|
|
17
|
-
import"../../index-
|
|
16
|
+
import"../../index-5dmk54h9.js";
|
|
17
|
+
import"../../index-rk7m4j7r.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-
|
|
25
|
+
} from "../../index-p9saezh1.js";
|
|
26
26
|
import"../../index-kffm4r8w.js";
|
|
27
27
|
import"../../index-fa53vygr.js";
|
|
28
28
|
import"../../index-ww3gss55.js";
|
|
29
|
-
import"../../index-
|
|
29
|
+
import"../../index-r7v5xz0g.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-
|
|
8
|
+
} from "../index-6fmg17bg.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-
|
|
55
|
+
} from "../index-afc3mtah.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-
|
|
127
|
+
} from "../index-cm07qz01.js";
|
|
128
128
|
import {
|
|
129
129
|
AgentConversationSummarySchema2,
|
|
130
130
|
AgentConversationPageSchema2,
|
|
@@ -133,14 +133,14 @@ import {
|
|
|
133
133
|
import"../index-ndjzbt2v.js";
|
|
134
134
|
import"../index-dsa676h8.js";
|
|
135
135
|
import"../index-t8jz0e20.js";
|
|
136
|
-
import"../index-
|
|
137
|
-
import"../index-
|
|
138
|
-
import"../index-
|
|
136
|
+
import"../index-5dmk54h9.js";
|
|
137
|
+
import"../index-rk7m4j7r.js";
|
|
138
|
+
import"../index-1wz4y15d.js";
|
|
139
139
|
import"../index-yt1gg11x.js";
|
|
140
|
-
import"../index-
|
|
140
|
+
import"../index-x68eyh6y.js";
|
|
141
141
|
import {
|
|
142
142
|
mountAgent2
|
|
143
|
-
} from "../index-
|
|
143
|
+
} from "../index-2ds89z96.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-
|
|
196
|
+
} from "../index-p9saezh1.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-
|
|
206
|
-
import"../index-
|
|
205
|
+
} from "../index-xaem29dc.js";
|
|
206
|
+
import"../index-q7s1yr9g.js";
|
|
207
207
|
import {
|
|
208
208
|
defineRuntimeTool2,
|
|
209
209
|
executableAgentRuntimeTools
|
|
210
|
-
} from "../index-
|
|
210
|
+
} from "../index-r7v5xz0g.js";
|
|
211
211
|
import {
|
|
212
212
|
MAX_TIMER_MS
|
|
213
213
|
} from "../index-eemvahkc.js";
|
package/dist/entrypoints/cli.js
CHANGED
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
renderCliView2,
|
|
18
18
|
pollUntilDone2,
|
|
19
19
|
createCli2
|
|
20
|
-
} from "../index-
|
|
20
|
+
} from "../index-a3ekss9t.js";
|
|
21
21
|
import"../index-ndjzbt2v.js";
|
|
22
|
-
import"../index-
|
|
23
|
-
import"../index-
|
|
24
|
-
import"../index-
|
|
22
|
+
import"../index-5dmk54h9.js";
|
|
23
|
+
import"../index-rk7m4j7r.js";
|
|
24
|
+
import"../index-1wz4y15d.js";
|
|
25
25
|
import"../index-yt1gg11x.js";
|
|
26
|
-
import"../index-
|
|
26
|
+
import"../index-x68eyh6y.js";
|
|
27
27
|
import"../index-332d0m9g.js";
|
|
28
28
|
import"../index-sqc6ezrb.js";
|
|
29
29
|
import"../index-gy9x38a2.js";
|
|
@@ -55,8 +55,8 @@ import"../index-fvd6pvw3.js";
|
|
|
55
55
|
import {
|
|
56
56
|
argumentsDigest
|
|
57
57
|
} from "../index-mfntvj58.js";
|
|
58
|
-
import"../index-
|
|
59
|
-
import"../index-
|
|
58
|
+
import"../index-q7s1yr9g.js";
|
|
59
|
+
import"../index-r7v5xz0g.js";
|
|
60
60
|
import {
|
|
61
61
|
writeFileAtomicSync2
|
|
62
62
|
} from "../index-jp2qd9jb.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
} from "../index-814xpr6d.js";
|
|
26
26
|
import {
|
|
27
27
|
toJsonSchema
|
|
28
|
-
} from "../index-
|
|
28
|
+
} from "../index-5dmk54h9.js";
|
|
29
29
|
import {
|
|
30
30
|
staticInputRounds,
|
|
31
31
|
projectToolSurface,
|
|
32
32
|
mcpProjectionCandidate,
|
|
33
33
|
prepareProjectedMcpTools
|
|
34
|
-
} from "../index-
|
|
34
|
+
} from "../index-rk7m4j7r.js";
|
|
35
35
|
import"../index-ndjzbt2v.js";
|
|
36
36
|
import {
|
|
37
37
|
createClient2,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import"../../index-ndjzbt2v.js";
|
|
2
2
|
import"../../index-dsa676h8.js";
|
|
3
3
|
import"../../index-t8jz0e20.js";
|
|
4
|
-
import"../../index-
|
|
5
|
-
import"../../index-
|
|
6
|
-
import"../../index-
|
|
4
|
+
import"../../index-5dmk54h9.js";
|
|
5
|
+
import"../../index-rk7m4j7r.js";
|
|
6
|
+
import"../../index-1wz4y15d.js";
|
|
7
7
|
import"../../index-yt1gg11x.js";
|
|
8
|
-
import"../../index-
|
|
8
|
+
import"../../index-x68eyh6y.js";
|
|
9
9
|
import {
|
|
10
10
|
mountAgent2
|
|
11
|
-
} from "../../index-
|
|
12
|
-
import"../../index-
|
|
13
|
-
import"../../index-
|
|
11
|
+
} from "../../index-2ds89z96.js";
|
|
12
|
+
import"../../index-q7s1yr9g.js";
|
|
13
|
+
import"../../index-r7v5xz0g.js";
|
|
14
14
|
export {
|
|
15
15
|
mountAgent2 as mountAgent
|
|
16
16
|
};
|
|
@@ -2,11 +2,12 @@ import {
|
|
|
2
2
|
readDiscoveredToolAnnotations
|
|
3
3
|
} from "../../index-332d0m9g.js";
|
|
4
4
|
import"../../index-yt1gg11x.js";
|
|
5
|
-
import"../../index-ct75c3at.js";
|
|
6
5
|
import {
|
|
7
6
|
declaresDraft07,
|
|
8
|
-
withDraft2020Keywords
|
|
9
|
-
|
|
7
|
+
withDraft2020Keywords,
|
|
8
|
+
withServedFormats
|
|
9
|
+
} from "../../index-5dmk54h9.js";
|
|
10
|
+
import"../../index-rk7m4j7r.js";
|
|
10
11
|
import"../../index-ndjzbt2v.js";
|
|
11
12
|
import {
|
|
12
13
|
markJsonSchemaObjectGuards,
|
|
@@ -19,7 +20,7 @@ import {
|
|
|
19
20
|
} from "../../index-mm89hd8v.js";
|
|
20
21
|
import {
|
|
21
22
|
defineRuntimeTool2
|
|
22
|
-
} from "../../index-
|
|
23
|
+
} from "../../index-r7v5xz0g.js";
|
|
23
24
|
import {
|
|
24
25
|
TOOL_ERROR_PROJECTION
|
|
25
26
|
} from "../../index-aw6kx2e6.js";
|
|
@@ -934,7 +935,7 @@ async function withConnectionToken(params, body) {
|
|
|
934
935
|
function zodObjectFromJsonSchema(schema) {
|
|
935
936
|
if (!schema || Object.keys(schema).length === 0)
|
|
936
937
|
return z2.looseObject({});
|
|
937
|
-
const parsed = z2.fromJSONSchema(reconcileDialect(schema));
|
|
938
|
+
const parsed = z2.fromJSONSchema(withServedFormats(reconcileDialect(schema)));
|
|
938
939
|
if (parsed instanceof z2.ZodObject) {
|
|
939
940
|
markJsonSchemaObjectGuards(parsed);
|
|
940
941
|
markRemoteSchemaVerdict(parsed);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import"../../index-ndjzbt2v.js";
|
|
2
2
|
import"../../index-dsa676h8.js";
|
|
3
3
|
import"../../index-t8jz0e20.js";
|
|
4
|
-
import"../../index-
|
|
5
|
-
import"../../index-
|
|
6
|
-
import"../../index-
|
|
4
|
+
import"../../index-5dmk54h9.js";
|
|
5
|
+
import"../../index-rk7m4j7r.js";
|
|
6
|
+
import"../../index-1wz4y15d.js";
|
|
7
7
|
import"../../index-yt1gg11x.js";
|
|
8
|
-
import"../../index-
|
|
8
|
+
import"../../index-x68eyh6y.js";
|
|
9
9
|
import {
|
|
10
10
|
createToolInvoker2
|
|
11
|
-
} from "../../index-
|
|
11
|
+
} from "../../index-z2z67tnv.js";
|
|
12
12
|
export {
|
|
13
13
|
createToolInvoker2 as createToolInvoker
|
|
14
14
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import"../../index-ndjzbt2v.js";
|
|
2
2
|
import"../../index-dsa676h8.js";
|
|
3
3
|
import"../../index-t8jz0e20.js";
|
|
4
|
-
import"../../index-
|
|
5
|
-
import"../../index-
|
|
6
|
-
import"../../index-
|
|
4
|
+
import"../../index-5dmk54h9.js";
|
|
5
|
+
import"../../index-rk7m4j7r.js";
|
|
6
|
+
import"../../index-1wz4y15d.js";
|
|
7
7
|
import"../../index-yt1gg11x.js";
|
|
8
|
-
import"../../index-
|
|
8
|
+
import"../../index-x68eyh6y.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-
|
|
21
|
+
} from "../../index-3n8k175r.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-
|
|
34
|
-
import"../../index-
|
|
33
|
+
import"../../index-q7s1yr9g.js";
|
|
34
|
+
import"../../index-r7v5xz0g.js";
|
|
35
35
|
// src/tools/mcp/stdio-signals.ts
|
|
36
36
|
var bound = new WeakSet;
|
|
37
37
|
function bindStdioProcessSignals(handle, options = {}) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import"../../index-ndjzbt2v.js";
|
|
2
2
|
import"../../index-dsa676h8.js";
|
|
3
3
|
import"../../index-t8jz0e20.js";
|
|
4
|
-
import"../../index-
|
|
5
|
-
import"../../index-
|
|
6
|
-
import"../../index-
|
|
4
|
+
import"../../index-5dmk54h9.js";
|
|
5
|
+
import"../../index-rk7m4j7r.js";
|
|
6
|
+
import"../../index-1wz4y15d.js";
|
|
7
7
|
import"../../index-yt1gg11x.js";
|
|
8
|
-
import"../../index-
|
|
8
|
+
import"../../index-x68eyh6y.js";
|
|
9
9
|
import {
|
|
10
10
|
mountAgent2
|
|
11
|
-
} from "../../index-
|
|
11
|
+
} from "../../index-2ds89z96.js";
|
|
12
12
|
import {
|
|
13
13
|
createCli2
|
|
14
|
-
} from "../../index-
|
|
14
|
+
} from "../../index-a3ekss9t.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-
|
|
24
|
+
} from "../../index-3n8k175r.js";
|
|
25
25
|
import"../../index-fa53vygr.js";
|
|
26
26
|
import"../../index-ww3gss55.js";
|
|
27
|
-
import"../../index-
|
|
28
|
-
import"../../index-
|
|
27
|
+
import"../../index-q7s1yr9g.js";
|
|
28
|
+
import"../../index-r7v5xz0g.js";
|
|
29
29
|
|
|
30
30
|
// src/tools/toolkit.ts
|
|
31
31
|
function createToolkit() {
|
|
@@ -11,7 +11,7 @@ import"../index-dsa676h8.js";
|
|
|
11
11
|
import {
|
|
12
12
|
coerceJsonArgs2
|
|
13
13
|
} from "../index-t8jz0e20.js";
|
|
14
|
-
import"../index-
|
|
14
|
+
import"../index-5dmk54h9.js";
|
|
15
15
|
import {
|
|
16
16
|
assertToolName,
|
|
17
17
|
assertUniqueToolName,
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
findNonPortableFormats2,
|
|
20
20
|
flattenToolJsonSchema2,
|
|
21
21
|
findUntypedProperties2
|
|
22
|
-
} from "../index-
|
|
22
|
+
} from "../index-rk7m4j7r.js";
|
|
23
23
|
import {
|
|
24
24
|
ToolExecutionControlError2,
|
|
25
25
|
isToolExecutionControlError2
|
|
26
|
-
} from "../index-
|
|
26
|
+
} from "../index-1wz4y15d.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-
|
|
33
|
+
} from "../index-x68eyh6y.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-
|
|
65
|
+
} from "../index-xaem29dc.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-
|
|
82
|
+
} from "../index-z2z67tnv.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-
|
|
93
|
+
} from "../index-q7s1yr9g.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-
|
|
100
|
+
} from "../index-r7v5xz0g.js";
|
|
101
101
|
import {
|
|
102
102
|
ManagedFileError2
|
|
103
103
|
} from "../index-wt6rw7rf.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
toolResultFromError,
|
|
3
3
|
toolCauseFromResult,
|
|
4
4
|
isToolExecutionControlError2
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-1wz4y15d.js";
|
|
6
6
|
import {
|
|
7
7
|
createToolRunner,
|
|
8
8
|
formatToolError
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-x68eyh6y.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveRuntimeToolCall
|
|
12
12
|
} from "./index-eh71zr32.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./index-1psbyyhj.js";
|
|
16
16
|
import {
|
|
17
17
|
collectToolSurface
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-q7s1yr9g.js";
|
|
19
19
|
import {
|
|
20
20
|
agentPresenterOf
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-r7v5xz0g.js";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
24
|
} from "./index-hkxgennw.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toJsonSchema
|
|
3
|
-
} from "./index-
|
|
3
|
+
} from "./index-5dmk54h9.js";
|
|
4
4
|
import {
|
|
5
5
|
toolSurfaceOutputSchema,
|
|
6
6
|
staticInputRounds,
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
validateResolvedInputRounds,
|
|
9
9
|
presentationMetadata,
|
|
10
10
|
prepareProjectedMcpTools
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-rk7m4j7r.js";
|
|
12
12
|
import {
|
|
13
13
|
parseToolCallArguments,
|
|
14
14
|
toolResultFromError,
|
|
15
15
|
observed
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-1wz4y15d.js";
|
|
17
17
|
import {
|
|
18
18
|
collectTools2,
|
|
19
19
|
createToolRunner,
|
|
20
20
|
formatToolError
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-x68eyh6y.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-
|
|
43
|
+
} from "./index-q7s1yr9g.js";
|
|
44
44
|
import {
|
|
45
45
|
runWithRequestContext2,
|
|
46
46
|
getRequestContext2
|