stitchkit 0.70.0 → 0.70.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.
- package/dist/agent-runtime/coding-tool-files.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-paths.d.ts +0 -1
- package/dist/agent-runtime/coding-tool-paths.d.ts.map +1 -1
- package/dist/agent-runtime/coding-tool-search-patch.d.ts.map +1 -1
- package/dist/agent-runtime/contained-files.d.ts +30 -7
- package/dist/agent-runtime/contained-files.d.ts.map +1 -1
- package/dist/agent-runtime/harness-control.d.ts +2 -0
- package/dist/agent-runtime/harness-control.d.ts.map +1 -1
- package/dist/agent-runtime/history-chronology.d.ts +19 -0
- package/dist/agent-runtime/history-chronology.d.ts.map +1 -0
- package/dist/agent-runtime/history.d.ts.map +1 -1
- package/dist/agent-runtime/run-execution.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-status.d.ts.map +1 -1
- package/dist/agent-runtime-browser.js +51 -51
- package/dist/agent-runtime-coding-tools.js +31 -34
- package/dist/agent-runtime-harness.js +61 -17
- package/dist/agent-runtime-openrouter.js +2 -2
- package/dist/agent-runtime-sqlite-bun.js +5 -5
- package/dist/agent-runtime-sqlite-node.js +5 -5
- package/dist/agent-runtime.js +110 -110
- package/dist/application/server-resource.d.ts +1 -0
- package/dist/application/server-resource.d.ts.map +1 -1
- package/dist/application-grammy.js +2 -2
- package/dist/application.js +68 -65
- package/dist/browser/live-state.d.ts +126 -0
- package/dist/browser/live-state.d.ts.map +1 -0
- package/dist/cli.js +5 -5
- package/dist/contract/index.js +20 -20
- package/dist/declaration.d.ts +4 -0
- package/dist/declaration.d.ts.map +1 -1
- package/dist/declaration.js +22 -22
- package/dist/files.js +3 -3
- package/dist/index-1z5xxfst.js +397 -0
- package/dist/{index-vy5bjy07.js → index-4qfqy0m6.js} +21 -31
- package/dist/{index-dk6e56g0.js → index-7wpgrqa8.js} +37 -2
- package/dist/{index-10gbbbaa.js → index-9sx8tbz2.js} +1 -1
- package/dist/{index-38hs3a58.js → index-a01jky8m.js} +73 -8
- package/dist/{index-hsabxjz0.js → index-jw81xr75.js} +1 -1
- package/dist/{index-6wzr93cg.js → index-w0445741.js} +1 -1
- package/dist/index-y2s6h5bf.js +83 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +667 -56
- package/dist/node.js +47 -27
- package/dist/observability/index.js +22 -22
- package/dist/react.js +2 -2
- package/dist/realtime/contract.d.ts +30 -11
- package/dist/realtime/contract.d.ts.map +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/realtime/index.d.ts.map +1 -1
- package/dist/server/bun.d.ts.map +1 -1
- package/dist/server/index.js +88 -80
- package/dist/server/multipart.d.ts.map +1 -1
- package/dist/server/node.d.ts.map +1 -1
- package/dist/server/process-signals.d.ts.map +1 -1
- package/dist/server/shutdown.d.ts +2 -0
- package/dist/server/shutdown.d.ts.map +1 -1
- package/dist/testing/surface-conformance.d.ts +4 -2
- package/dist/testing/surface-conformance.d.ts.map +1 -1
- package/dist/testing.js +124 -113
- package/dist/tools.js +57 -57
- package/llms-full.txt +246 -17
- package/native/darwin-arm64.node +0 -0
- package/native/darwin-x64.node +0 -0
- package/package.json +3 -1
- package/dist/index-es0h4w26.js +0 -63
- package/dist/index-xbtcszs7.js +0 -202
package/dist/testing.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./index-x1th9s8c.js";
|
|
5
5
|
import {
|
|
6
6
|
createApplication
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-w0445741.js";
|
|
8
8
|
import"./index-2k4yrqkc.js";
|
|
9
9
|
import"./index-8eywc9zv.js";
|
|
10
10
|
import {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
RealtimeRequestInvalidAcknowledgementError,
|
|
13
13
|
RealtimeRequestTimeoutError
|
|
14
14
|
} from "./index-7b188kmz.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-7wpgrqa8.js";
|
|
16
16
|
import {
|
|
17
17
|
mcpProjectionCandidate,
|
|
18
18
|
prepareProjectedMcpTools,
|
|
@@ -1389,72 +1389,90 @@ async function runManagedResourceConformance(config) {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
1391
|
// src/testing/surface-conformance.ts
|
|
1392
|
-
import { z as
|
|
1392
|
+
import { z as z4 } from "zod";
|
|
1393
|
+
|
|
1394
|
+
// src/realtime/contract.ts
|
|
1395
|
+
import { z as z2 } from "zod";
|
|
1396
|
+
var RealtimeRejectDirectionSchema = z2.enum([
|
|
1397
|
+
"client-inbound",
|
|
1398
|
+
"client-outbound",
|
|
1399
|
+
"server-inbound",
|
|
1400
|
+
"server-outbound"
|
|
1401
|
+
]);
|
|
1402
|
+
var RealtimeRejectPhaseSchema = z2.enum(["arguments", "acknowledgement"]);
|
|
1403
|
+
var RealtimeRejectReasonSchema = z2.enum([
|
|
1404
|
+
"unknown-event",
|
|
1405
|
+
"invalid-arguments",
|
|
1406
|
+
"invalid-acknowledgement-value",
|
|
1407
|
+
"missing-acknowledgement",
|
|
1408
|
+
"rejected-by-peer"
|
|
1409
|
+
]);
|
|
1410
|
+
var RealtimeRejectFaultSchema = z2.enum(["peer", "local"]);
|
|
1393
1411
|
|
|
1394
1412
|
// src/testing/surface-manifest.ts
|
|
1395
1413
|
import { createHash } from "node:crypto";
|
|
1396
|
-
import { z as
|
|
1397
|
-
var HttpMethodSchema =
|
|
1398
|
-
var ToolTransportSchema =
|
|
1399
|
-
var SurfaceTransportSchema =
|
|
1400
|
-
var SurfaceSchemaDigestsSchema =
|
|
1401
|
-
params:
|
|
1402
|
-
input:
|
|
1403
|
-
output:
|
|
1404
|
-
multipart:
|
|
1414
|
+
import { z as z3 } from "zod";
|
|
1415
|
+
var HttpMethodSchema = z3.enum(["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD"]);
|
|
1416
|
+
var ToolTransportSchema = z3.enum(["MCP", "AGENT", "CLI"]);
|
|
1417
|
+
var SurfaceTransportSchema = z3.enum(["HTTP", "MCP", "AGENT", "CLI", "REALTIME"]);
|
|
1418
|
+
var SurfaceSchemaDigestsSchema = z3.object({
|
|
1419
|
+
params: z3.string().nullable(),
|
|
1420
|
+
input: z3.string().nullable(),
|
|
1421
|
+
output: z3.string().nullable(),
|
|
1422
|
+
multipart: z3.string().nullable()
|
|
1405
1423
|
});
|
|
1406
|
-
var SurfaceManifestOperationSchema =
|
|
1407
|
-
kind:
|
|
1408
|
-
service:
|
|
1409
|
-
action:
|
|
1424
|
+
var SurfaceManifestOperationSchema = z3.object({
|
|
1425
|
+
kind: z3.enum(["contract", "runtime"]),
|
|
1426
|
+
service: z3.string(),
|
|
1427
|
+
action: z3.string(),
|
|
1410
1428
|
method: HttpMethodSchema,
|
|
1411
|
-
scope:
|
|
1412
|
-
description:
|
|
1429
|
+
scope: z3.string().nullable(),
|
|
1430
|
+
description: z3.string(),
|
|
1413
1431
|
schemas: SurfaceSchemaDigestsSchema,
|
|
1414
|
-
http:
|
|
1432
|
+
http: z3.array(z3.object({ method: HttpMethodSchema, path: z3.string() }))
|
|
1415
1433
|
});
|
|
1416
|
-
var SurfaceManifestToolSchema =
|
|
1417
|
-
kind:
|
|
1418
|
-
service:
|
|
1419
|
-
action:
|
|
1420
|
-
name:
|
|
1421
|
-
input:
|
|
1434
|
+
var SurfaceManifestToolSchema = z3.object({
|
|
1435
|
+
kind: z3.enum(["contract", "runtime"]),
|
|
1436
|
+
service: z3.string(),
|
|
1437
|
+
action: z3.string(),
|
|
1438
|
+
name: z3.string(),
|
|
1439
|
+
input: z3.string()
|
|
1422
1440
|
});
|
|
1423
|
-
var SurfaceManifestToolSurfaceSchema =
|
|
1441
|
+
var SurfaceManifestToolSurfaceSchema = z3.object({
|
|
1424
1442
|
transport: ToolTransportSchema,
|
|
1425
|
-
surface:
|
|
1426
|
-
tools:
|
|
1443
|
+
surface: z3.string().nullable(),
|
|
1444
|
+
tools: z3.array(SurfaceManifestToolSchema)
|
|
1427
1445
|
});
|
|
1428
|
-
var SurfaceManifestCliCommandSchema =
|
|
1429
|
-
name:
|
|
1430
|
-
description:
|
|
1431
|
-
input:
|
|
1432
|
-
output:
|
|
1446
|
+
var SurfaceManifestCliCommandSchema = z3.object({
|
|
1447
|
+
name: z3.string(),
|
|
1448
|
+
description: z3.string(),
|
|
1449
|
+
input: z3.string(),
|
|
1450
|
+
output: z3.string().nullable()
|
|
1433
1451
|
});
|
|
1434
|
-
var SurfaceManifestExtensionSchema =
|
|
1435
|
-
name:
|
|
1452
|
+
var SurfaceManifestExtensionSchema = z3.object({
|
|
1453
|
+
name: z3.string(),
|
|
1436
1454
|
transport: SurfaceTransportSchema
|
|
1437
1455
|
});
|
|
1438
|
-
var SurfaceRealtimeSchemaPairSchema =
|
|
1439
|
-
input:
|
|
1440
|
-
output:
|
|
1456
|
+
var SurfaceRealtimeSchemaPairSchema = z3.object({
|
|
1457
|
+
input: z3.string(),
|
|
1458
|
+
output: z3.string()
|
|
1441
1459
|
});
|
|
1442
|
-
var SurfaceManifestRealtimeEventSchema =
|
|
1443
|
-
contract:
|
|
1444
|
-
direction:
|
|
1445
|
-
event:
|
|
1460
|
+
var SurfaceManifestRealtimeEventSchema = z3.object({
|
|
1461
|
+
contract: z3.string(),
|
|
1462
|
+
direction: z3.enum(["serverToClient", "clientToServer"]),
|
|
1463
|
+
event: z3.string(),
|
|
1446
1464
|
args: SurfaceRealtimeSchemaPairSchema,
|
|
1447
1465
|
acknowledgement: SurfaceRealtimeSchemaPairSchema.nullable()
|
|
1448
1466
|
});
|
|
1449
|
-
var SurfaceManifestSchema =
|
|
1450
|
-
manifestVersion:
|
|
1451
|
-
digestVersion:
|
|
1452
|
-
operations:
|
|
1453
|
-
toolSurfaces:
|
|
1454
|
-
realtimeContracts:
|
|
1455
|
-
realtime:
|
|
1456
|
-
cliOnly:
|
|
1457
|
-
extensions:
|
|
1467
|
+
var SurfaceManifestSchema = z3.object({
|
|
1468
|
+
manifestVersion: z3.literal(2),
|
|
1469
|
+
digestVersion: z3.literal(1),
|
|
1470
|
+
operations: z3.array(SurfaceManifestOperationSchema),
|
|
1471
|
+
toolSurfaces: z3.array(SurfaceManifestToolSurfaceSchema),
|
|
1472
|
+
realtimeContracts: z3.array(z3.string()),
|
|
1473
|
+
realtime: z3.array(SurfaceManifestRealtimeEventSchema),
|
|
1474
|
+
cliOnly: z3.array(SurfaceManifestCliCommandSchema),
|
|
1475
|
+
extensions: z3.array(SurfaceManifestExtensionSchema)
|
|
1458
1476
|
});
|
|
1459
1477
|
function compareCodepoints(left, right) {
|
|
1460
1478
|
if (left < right)
|
|
@@ -1735,52 +1753,42 @@ actual: ${actual}`);
|
|
|
1735
1753
|
}
|
|
1736
1754
|
|
|
1737
1755
|
// src/testing/surface-conformance.ts
|
|
1738
|
-
var RealtimeRejectionObservationSchema =
|
|
1739
|
-
direction:
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
"server-outbound"
|
|
1744
|
-
]),
|
|
1745
|
-
phase: z3.enum(["arguments", "acknowledgement"]),
|
|
1746
|
-
reason: z3.enum([
|
|
1747
|
-
"unknown-event",
|
|
1748
|
-
"invalid-arguments",
|
|
1749
|
-
"invalid-acknowledgement-value",
|
|
1750
|
-
"missing-acknowledgement"
|
|
1751
|
-
]),
|
|
1752
|
-
fault: z3.enum(["peer", "local"])
|
|
1756
|
+
var RealtimeRejectionObservationSchema = z4.object({
|
|
1757
|
+
direction: RealtimeRejectDirectionSchema,
|
|
1758
|
+
phase: RealtimeRejectPhaseSchema,
|
|
1759
|
+
reason: RealtimeRejectReasonSchema,
|
|
1760
|
+
fault: RealtimeRejectFaultSchema
|
|
1753
1761
|
});
|
|
1754
1762
|
var ObservationFields = {
|
|
1755
|
-
code:
|
|
1756
|
-
data:
|
|
1757
|
-
diagnostic:
|
|
1758
|
-
handlerCalls:
|
|
1763
|
+
code: z4.string().optional(),
|
|
1764
|
+
data: z4.unknown().optional(),
|
|
1765
|
+
diagnostic: z4.string().optional(),
|
|
1766
|
+
handlerCalls: z4.number().int().nonnegative().optional()
|
|
1759
1767
|
};
|
|
1760
|
-
var RealtimeDisconnectObservationSchema =
|
|
1761
|
-
phase:
|
|
1768
|
+
var RealtimeDisconnectObservationSchema = z4.object({
|
|
1769
|
+
phase: z4.enum(["before-invoke", "in-flight"])
|
|
1762
1770
|
});
|
|
1763
|
-
var TransportObservationSchema =
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
outcome:
|
|
1771
|
+
var TransportObservationSchema = z4.discriminatedUnion("outcome", [
|
|
1772
|
+
z4.object({ outcome: z4.literal("success"), ...ObservationFields }),
|
|
1773
|
+
z4.object({ outcome: z4.literal("validation_error"), ...ObservationFields }),
|
|
1774
|
+
z4.object({ outcome: z4.literal("domain_error"), ...ObservationFields }),
|
|
1775
|
+
z4.object({ outcome: z4.literal("aborted"), ...ObservationFields }),
|
|
1776
|
+
z4.object({
|
|
1777
|
+
outcome: z4.literal("realtime_rejected"),
|
|
1770
1778
|
...ObservationFields,
|
|
1771
1779
|
rejection: RealtimeRejectionObservationSchema
|
|
1772
1780
|
}),
|
|
1773
|
-
|
|
1774
|
-
outcome:
|
|
1781
|
+
z4.object({
|
|
1782
|
+
outcome: z4.literal("disconnected"),
|
|
1775
1783
|
...ObservationFields,
|
|
1776
1784
|
disconnect: RealtimeDisconnectObservationSchema
|
|
1777
1785
|
}),
|
|
1778
|
-
|
|
1786
|
+
z4.object({ outcome: z4.literal("timeout"), ...ObservationFields })
|
|
1779
1787
|
]);
|
|
1780
1788
|
function scenarioOutcome(scenario) {
|
|
1781
1789
|
if (scenario === "event" || scenario === "acknowledgement")
|
|
1782
1790
|
return "success";
|
|
1783
|
-
if (scenario === "invalid_arguments" || scenario === "invalid_acknowledgement") {
|
|
1791
|
+
if (scenario === "invalid_arguments" || scenario === "invalid_acknowledgement" || scenario === "peer_rejection") {
|
|
1784
1792
|
return "realtime_rejected";
|
|
1785
1793
|
}
|
|
1786
1794
|
if (scenario === "disconnected" || scenario === "in_flight_disconnect") {
|
|
@@ -1799,6 +1807,9 @@ function assertScenarioExpectation(scenario, expected) {
|
|
|
1799
1807
|
if (scenario === "invalid_arguments" && expected.handlerCalls !== 0) {
|
|
1800
1808
|
throw new TypeError('Realtime probe scenario "invalid_arguments" requires handlerCalls: 0');
|
|
1801
1809
|
}
|
|
1810
|
+
if (scenario === "peer_rejection" && (expected.outcome !== "realtime_rejected" || expected.rejection.reason !== "rejected-by-peer")) {
|
|
1811
|
+
throw new TypeError('Realtime probe scenario "peer_rejection" requires a rejected-by-peer outcome');
|
|
1812
|
+
}
|
|
1802
1813
|
if (expected.outcome === "disconnected") {
|
|
1803
1814
|
const phase = scenario === "disconnected" ? "before-invoke" : "in-flight";
|
|
1804
1815
|
if (expected.disconnect.phase !== phase) {
|
|
@@ -2087,35 +2098,35 @@ function createHandlerTestClients(config) {
|
|
|
2087
2098
|
return createClients(config.contracts, createTestClientConfig(config), config.contractConfig);
|
|
2088
2099
|
}
|
|
2089
2100
|
export {
|
|
2090
|
-
|
|
2091
|
-
ManagedResourceConformancePhaseSchema,
|
|
2092
|
-
ManagedResourceConformanceScenarioIdSchema,
|
|
2093
|
-
ManagedResourceConformanceScenarioSchema,
|
|
2094
|
-
ManagedResourceConformanceTraceEntrySchema,
|
|
2095
|
-
ManagedResourceConformanceTraceOutcomeSchema,
|
|
2096
|
-
RealtimeDisconnectObservationSchema,
|
|
2097
|
-
RealtimeRejectionObservationSchema,
|
|
2098
|
-
SurfaceManifestExtensionSchema,
|
|
2099
|
-
SurfaceManifestOperationSchema,
|
|
2100
|
-
SurfaceManifestRealtimeEventSchema,
|
|
2101
|
-
SurfaceManifestSchema,
|
|
2102
|
-
SurfaceManifestToolSchema,
|
|
2103
|
-
SurfaceManifestToolSurfaceSchema,
|
|
2104
|
-
SurfaceRealtimeSchemaPairSchema,
|
|
2105
|
-
SurfaceSchemaDigestsSchema,
|
|
2106
|
-
TransportObservationSchema,
|
|
2107
|
-
assertSurfaceDiscovery,
|
|
2108
|
-
assertSurfaceManifestSnapshot,
|
|
2109
|
-
buildSurfaceManifest,
|
|
2110
|
-
createAgentRaceBarrier,
|
|
2111
|
-
createAgentRaceDriver,
|
|
2112
|
-
createAgentRaceTrace,
|
|
2113
|
-
createHandlerTestClient,
|
|
2114
|
-
createHandlerTestClients,
|
|
2115
|
-
createRealtimeProbeDriver,
|
|
2116
|
-
defineRealtimeProbe,
|
|
2117
|
-
runAgentStoreConformance,
|
|
2118
|
-
runManagedResourceConformance,
|
|
2101
|
+
serializeSurfaceValue,
|
|
2119
2102
|
runSurfaceProbes,
|
|
2120
|
-
|
|
2103
|
+
runManagedResourceConformance,
|
|
2104
|
+
runAgentStoreConformance,
|
|
2105
|
+
defineRealtimeProbe,
|
|
2106
|
+
createRealtimeProbeDriver,
|
|
2107
|
+
createHandlerTestClients,
|
|
2108
|
+
createHandlerTestClient,
|
|
2109
|
+
createAgentRaceTrace,
|
|
2110
|
+
createAgentRaceDriver,
|
|
2111
|
+
createAgentRaceBarrier,
|
|
2112
|
+
buildSurfaceManifest,
|
|
2113
|
+
assertSurfaceManifestSnapshot,
|
|
2114
|
+
assertSurfaceDiscovery,
|
|
2115
|
+
TransportObservationSchema,
|
|
2116
|
+
SurfaceSchemaDigestsSchema,
|
|
2117
|
+
SurfaceRealtimeSchemaPairSchema,
|
|
2118
|
+
SurfaceManifestToolSurfaceSchema,
|
|
2119
|
+
SurfaceManifestToolSchema,
|
|
2120
|
+
SurfaceManifestSchema,
|
|
2121
|
+
SurfaceManifestRealtimeEventSchema,
|
|
2122
|
+
SurfaceManifestOperationSchema,
|
|
2123
|
+
SurfaceManifestExtensionSchema,
|
|
2124
|
+
RealtimeRejectionObservationSchema,
|
|
2125
|
+
RealtimeDisconnectObservationSchema,
|
|
2126
|
+
ManagedResourceConformanceTraceOutcomeSchema,
|
|
2127
|
+
ManagedResourceConformanceTraceEntrySchema,
|
|
2128
|
+
ManagedResourceConformanceScenarioSchema,
|
|
2129
|
+
ManagedResourceConformanceScenarioIdSchema,
|
|
2130
|
+
ManagedResourceConformancePhaseSchema,
|
|
2131
|
+
ManagedResourceConformanceError
|
|
2121
2132
|
};
|
package/dist/tools.js
CHANGED
|
@@ -2666,62 +2666,62 @@ function summarizeTransports(surface) {
|
|
|
2666
2666
|
};
|
|
2667
2667
|
}
|
|
2668
2668
|
export {
|
|
2669
|
-
|
|
2670
|
-
EXT_APPS_BUNDLE_PLACEHOLDER,
|
|
2671
|
-
McpAnnotationsSchema,
|
|
2672
|
-
McpMediaContentSchema,
|
|
2673
|
-
PORTABLE_JSON_SCHEMA_FORMATS,
|
|
2674
|
-
PROTECTED_RESOURCE_PATH,
|
|
2675
|
-
RESOURCE_MIME_TYPE,
|
|
2676
|
-
ToolExecutionControlError,
|
|
2677
|
-
UploadToolInputSchema,
|
|
2678
|
-
ViewFileErrorSchema,
|
|
2679
|
-
ViewFileInputSchema,
|
|
2680
|
-
ViewFileOutputSchema,
|
|
2681
|
-
bindContractAsyncOperation,
|
|
2682
|
-
bindStdioProcessSignals,
|
|
2683
|
-
buildMcpServer,
|
|
2684
|
-
buildToolManifest,
|
|
2685
|
-
coerceJsonArgs,
|
|
2686
|
-
collectTools,
|
|
2687
|
-
composeToolLifecycle,
|
|
2688
|
-
createAsyncOperationSnapshotSchema,
|
|
2689
|
-
createCli,
|
|
2690
|
-
createMcpHandler,
|
|
2691
|
-
createMcpHttpRoute,
|
|
2692
|
-
createRuntimeToolFactory,
|
|
2693
|
-
createSecureClientMetadataFetcher,
|
|
2694
|
-
createStdioMcpServer,
|
|
2695
|
-
createToolInvoker,
|
|
2696
|
-
createToolLogger,
|
|
2697
|
-
createToolkit,
|
|
2698
|
-
defineAsyncOperation,
|
|
2699
|
-
defineAsyncOperationContract,
|
|
2700
|
-
defineCliCommand,
|
|
2701
|
-
defineDownloadTool,
|
|
2702
|
-
defineRuntimeTool,
|
|
2703
|
-
defineUploadTool,
|
|
2704
|
-
defineViewFileTool,
|
|
2705
|
-
defineWaitTool,
|
|
2706
|
-
findNonPortableFormats,
|
|
2707
|
-
findUntypedProperties,
|
|
2708
|
-
flattenToolJsonSchema,
|
|
2709
|
-
inlineMcpAppBundle,
|
|
2710
|
-
isToolExecutionControlError,
|
|
2711
|
-
listContractToolNames,
|
|
2712
|
-
listToolNames,
|
|
2713
|
-
mountAgent,
|
|
2714
|
-
mountDownload,
|
|
2715
|
-
mountMcp,
|
|
2716
|
-
mountMcpResource,
|
|
2717
|
-
mountOAuthProvider,
|
|
2718
|
-
mountUpload,
|
|
2719
|
-
mountViewFile,
|
|
2720
|
-
mountWait,
|
|
2721
|
-
oauthProtectedResourceRoute,
|
|
2722
|
-
protectedResourceMetadataUrl,
|
|
2723
|
-
resolveMedia,
|
|
2724
|
-
summarizeTransports,
|
|
2669
|
+
wwwAuthenticateHeader,
|
|
2725
2670
|
validateMcpSchemas,
|
|
2726
|
-
|
|
2671
|
+
summarizeTransports,
|
|
2672
|
+
resolveMedia,
|
|
2673
|
+
protectedResourceMetadataUrl,
|
|
2674
|
+
oauthProtectedResourceRoute,
|
|
2675
|
+
mountWait,
|
|
2676
|
+
mountViewFile,
|
|
2677
|
+
mountUpload,
|
|
2678
|
+
mountOAuthProvider,
|
|
2679
|
+
mountMcpResource,
|
|
2680
|
+
mountMcp,
|
|
2681
|
+
mountDownload,
|
|
2682
|
+
mountAgent,
|
|
2683
|
+
listToolNames,
|
|
2684
|
+
listContractToolNames,
|
|
2685
|
+
isToolExecutionControlError,
|
|
2686
|
+
inlineMcpAppBundle,
|
|
2687
|
+
flattenToolJsonSchema,
|
|
2688
|
+
findUntypedProperties,
|
|
2689
|
+
findNonPortableFormats,
|
|
2690
|
+
defineWaitTool,
|
|
2691
|
+
defineViewFileTool,
|
|
2692
|
+
defineUploadTool,
|
|
2693
|
+
defineRuntimeTool,
|
|
2694
|
+
defineDownloadTool,
|
|
2695
|
+
defineCliCommand,
|
|
2696
|
+
defineAsyncOperationContract,
|
|
2697
|
+
defineAsyncOperation,
|
|
2698
|
+
createToolkit,
|
|
2699
|
+
createToolLogger,
|
|
2700
|
+
createToolInvoker,
|
|
2701
|
+
createStdioMcpServer,
|
|
2702
|
+
createSecureClientMetadataFetcher,
|
|
2703
|
+
createRuntimeToolFactory,
|
|
2704
|
+
createMcpHttpRoute,
|
|
2705
|
+
createMcpHandler,
|
|
2706
|
+
createCli,
|
|
2707
|
+
createAsyncOperationSnapshotSchema,
|
|
2708
|
+
composeToolLifecycle,
|
|
2709
|
+
collectTools,
|
|
2710
|
+
coerceJsonArgs,
|
|
2711
|
+
buildToolManifest,
|
|
2712
|
+
buildMcpServer,
|
|
2713
|
+
bindStdioProcessSignals,
|
|
2714
|
+
bindContractAsyncOperation,
|
|
2715
|
+
ViewFileOutputSchema,
|
|
2716
|
+
ViewFileInputSchema,
|
|
2717
|
+
ViewFileErrorSchema,
|
|
2718
|
+
UploadToolInputSchema,
|
|
2719
|
+
ToolExecutionControlError,
|
|
2720
|
+
RESOURCE_MIME_TYPE,
|
|
2721
|
+
PROTECTED_RESOURCE_PATH,
|
|
2722
|
+
PORTABLE_JSON_SCHEMA_FORMATS,
|
|
2723
|
+
McpMediaContentSchema,
|
|
2724
|
+
McpAnnotationsSchema,
|
|
2725
|
+
EXT_APPS_BUNDLE_PLACEHOLDER,
|
|
2726
|
+
AsyncOperationCancelResultSchema
|
|
2727
2727
|
};
|