bitfab-cli 0.2.478 → 0.2.480
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/index.js +67 -44
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8872,9 +8872,9 @@ var require_ajv = __commonJS({
|
|
|
8872
8872
|
}
|
|
8873
8873
|
});
|
|
8874
8874
|
|
|
8875
|
-
// ../node_modules/.pnpm/ajv-formats@3.0.
|
|
8875
|
+
// ../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
|
|
8876
8876
|
var require_formats = __commonJS({
|
|
8877
|
-
"../node_modules/.pnpm/ajv-formats@3.0.
|
|
8877
|
+
"../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js"(exports) {
|
|
8878
8878
|
"use strict";
|
|
8879
8879
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8880
8880
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
@@ -9075,9 +9075,9 @@ var require_formats = __commonJS({
|
|
|
9075
9075
|
}
|
|
9076
9076
|
});
|
|
9077
9077
|
|
|
9078
|
-
// ../node_modules/.pnpm/ajv-formats@3.0.
|
|
9078
|
+
// ../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
|
|
9079
9079
|
var require_limit = __commonJS({
|
|
9080
|
-
"../node_modules/.pnpm/ajv-formats@3.0.
|
|
9080
|
+
"../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js"(exports) {
|
|
9081
9081
|
"use strict";
|
|
9082
9082
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9083
9083
|
exports.formatLimitDefinition = void 0;
|
|
@@ -9147,9 +9147,9 @@ var require_limit = __commonJS({
|
|
|
9147
9147
|
}
|
|
9148
9148
|
});
|
|
9149
9149
|
|
|
9150
|
-
// ../node_modules/.pnpm/ajv-formats@3.0.
|
|
9150
|
+
// ../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
|
|
9151
9151
|
var require_dist = __commonJS({
|
|
9152
|
-
"../node_modules/.pnpm/ajv-formats@3.0.
|
|
9152
|
+
"../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js"(exports, module) {
|
|
9153
9153
|
"use strict";
|
|
9154
9154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9155
9155
|
var formats_1 = require_formats();
|
|
@@ -31126,8 +31126,8 @@ var semver2 = __toESM(require_semver2(), 1);
|
|
|
31126
31126
|
|
|
31127
31127
|
// ../bitfab-plugin-lib/dist/bakedSdkVersions.js
|
|
31128
31128
|
var BAKED_SDK_VERSIONS = {
|
|
31129
|
-
typescript: "0.68.
|
|
31130
|
-
python: "0.68.
|
|
31129
|
+
typescript: "0.68.3",
|
|
31130
|
+
python: "0.68.3",
|
|
31131
31131
|
ruby: "0.67.0",
|
|
31132
31132
|
go: "0.67.0"
|
|
31133
31133
|
};
|
|
@@ -34462,14 +34462,14 @@ var FRAMEWORKS = [
|
|
|
34462
34462
|
py: "get_langchain_callback_handler"
|
|
34463
34463
|
},
|
|
34464
34464
|
experimentalToolReplay: {
|
|
34465
|
+
spans: "ToolNode tool spans",
|
|
34465
34466
|
factory: {
|
|
34466
34467
|
ts: "getLangGraphIntegration",
|
|
34467
34468
|
py: "get_langgraph_integration"
|
|
34468
34469
|
},
|
|
34469
34470
|
invoker: {
|
|
34470
|
-
ts: "
|
|
34471
|
-
py: "
|
|
34472
|
-
pyAsync: "create_async_invoker"
|
|
34471
|
+
ts: "instrument",
|
|
34472
|
+
py: "instrument"
|
|
34473
34473
|
}
|
|
34474
34474
|
},
|
|
34475
34475
|
// Callback handler: every node, tool, retriever, and LLM span is observed
|
|
@@ -34480,6 +34480,30 @@ var FRAMEWORKS = [
|
|
|
34480
34480
|
py: "`langgraph`, `langchain`, `langchain_core`"
|
|
34481
34481
|
}
|
|
34482
34482
|
},
|
|
34483
|
+
{
|
|
34484
|
+
id: "deep-agents",
|
|
34485
|
+
label: "LangChain Deep Agents",
|
|
34486
|
+
docsPath: "/frameworks/deep-agents",
|
|
34487
|
+
handlerKind: "callbackHandler",
|
|
34488
|
+
handlerNoun: "integration",
|
|
34489
|
+
handler: {
|
|
34490
|
+
ts: "getDeepAgentsIntegration",
|
|
34491
|
+
py: "get_deep_agents_integration"
|
|
34492
|
+
},
|
|
34493
|
+
experimentalToolReplay: {
|
|
34494
|
+
spans: "Tool spans of the main agent (including `task`) and of declarative subagents, for an agent built with the integration's `createDeepAgent({...})` / `create_deep_agent(...)` (same arguments as Deep Agents' own; async in TypeScript)",
|
|
34495
|
+
factory: {
|
|
34496
|
+
ts: "getDeepAgentsIntegration",
|
|
34497
|
+
py: "get_deep_agents_integration"
|
|
34498
|
+
},
|
|
34499
|
+
invoker: { ts: "createDeepAgent", py: "create_deep_agent" }
|
|
34500
|
+
},
|
|
34501
|
+
autoCapture: { modelCall: "observed", child: "observed" },
|
|
34502
|
+
signals: {
|
|
34503
|
+
ts: "`deepagents`, `createDeepAgent` (takes precedence over LangGraph / LangChain when present)",
|
|
34504
|
+
py: "`deepagents`, `create_deep_agent` (takes precedence over LangGraph / LangChain when present)"
|
|
34505
|
+
}
|
|
34506
|
+
},
|
|
34483
34507
|
{
|
|
34484
34508
|
id: "openai-agents",
|
|
34485
34509
|
label: "OpenAI Agents SDK",
|
|
@@ -34558,6 +34582,8 @@ var FRAMEWORKS = [
|
|
|
34558
34582
|
}
|
|
34559
34583
|
];
|
|
34560
34584
|
var code = (s2) => `\`${s2}\``;
|
|
34585
|
+
var preferredName = (names) => names.ts === void 0 ? names.py : names.py ?? names.ts;
|
|
34586
|
+
var namePair = (names) => [names.ts, names.py].filter((name) => name !== void 0).map(code).join(" / ");
|
|
34561
34587
|
var docsUrl = (docsPath) => `${docsPath}.md`;
|
|
34562
34588
|
var handlerRoots = FRAMEWORKS.filter((f) => f.handlerKind !== "wrapper");
|
|
34563
34589
|
var keyedReplayHandlers = FRAMEWORKS.flatMap((f) => {
|
|
@@ -34583,35 +34609,35 @@ function frameworkDocsPaths() {
|
|
|
34583
34609
|
}
|
|
34584
34610
|
function frameworkDetectionBullets() {
|
|
34585
34611
|
return FRAMEWORKS.map((f) => {
|
|
34612
|
+
if (f.signals.ts === void 0) {
|
|
34613
|
+
return `- **${f.label}**: Python: ${f.signals.py} (Python only)`;
|
|
34614
|
+
}
|
|
34586
34615
|
const py = f.signals.py ? `; Python: ${f.signals.py}` : " (TypeScript only)";
|
|
34587
34616
|
return `- **${f.label}**: TS: ${f.signals.ts}${py}`;
|
|
34588
34617
|
}).join("\n");
|
|
34589
34618
|
}
|
|
34590
34619
|
function frameworkReferenceList() {
|
|
34591
34620
|
return FRAMEWORKS.map((f) => {
|
|
34592
|
-
const methods =
|
|
34593
|
-
const alias = f.aliasHandler ? `; in a LangChain-only project, prefer the identical aliases ${
|
|
34594
|
-
const wrapper = f.rootWrapper ? `, plus the replayable run wrapper ${
|
|
34595
|
-
const toolReplay = f.experimentalToolReplay ? `; Experimental (alpha) tool replay: ${
|
|
34621
|
+
const methods = namePair(f.handler);
|
|
34622
|
+
const alias = f.aliasHandler ? `; in a LangChain-only project, prefer the identical aliases ${namePair(f.aliasHandler)} so the code reads naturally` : "";
|
|
34623
|
+
const wrapper = f.rootWrapper ? `, plus the replayable run wrapper ${namePair(f.rootWrapper)} (drop-in for the run call)` : "";
|
|
34624
|
+
const toolReplay = f.experimentalToolReplay ? `; Experimental (alpha) tool replay: ${namePair(f.experimentalToolReplay.factory)} with ${namePair(f.experimentalToolReplay.invoker)}` : "";
|
|
34596
34625
|
const underTraceRoot = f.recordedUnderTraceRoot ? `; beneath an opt-out ${code("withTrace")} / ${code("trace")} root its calls are recorded as ${code("llm")} spans with no ${methods}, so add that ${f.handlerNoun} only under opt-in ${code("withSpan")} / ${code("@span")} code, and configure one call with ${code("withNode")} / ${code("node()")} on the bound method` : "";
|
|
34597
34626
|
return `${f.label} \u2192 ${code(docsUrl(f.docsPath))} (${methods}${alias}${wrapper}${toolReplay}${underTraceRoot})`;
|
|
34598
34627
|
}).join("; ");
|
|
34599
34628
|
}
|
|
34600
34629
|
function handlerFrameworksWithMethods() {
|
|
34601
|
-
return handlerRoots.map((f) => {
|
|
34602
|
-
const methods = f.handler.py ? `${code(f.handler.ts)} / ${code(f.handler.py)}` : code(f.handler.ts);
|
|
34603
|
-
return `${f.label} via ${methods}`;
|
|
34604
|
-
}).join(", ");
|
|
34630
|
+
return handlerRoots.map((f) => `${f.label} via ${namePair(f.handler)}`).join(", ");
|
|
34605
34631
|
}
|
|
34606
34632
|
function handlerFrameworkNames() {
|
|
34607
34633
|
return joinOr(handlerRoots.map((f) => f.label));
|
|
34608
34634
|
}
|
|
34609
34635
|
function keyedHandlerKeyRefs() {
|
|
34610
|
-
const refs = keyedReplayHandlers.map((k) => code(`${k.method
|
|
34636
|
+
const refs = keyedReplayHandlers.map((k) => code(`${preferredName(k.method)}("key")`));
|
|
34611
34637
|
return `${refs.join(", ")}, or the TS equivalents`;
|
|
34612
34638
|
}
|
|
34613
34639
|
function keyedHandlerExamples() {
|
|
34614
|
-
return keyedReplayHandlers.map((k) => `${k.framework.label} ${code(k.method
|
|
34640
|
+
return keyedReplayHandlers.map((k) => `${k.framework.label} ${code(preferredName(k.method))}`).join(", ");
|
|
34615
34641
|
}
|
|
34616
34642
|
function replayableRootHandlerNames() {
|
|
34617
34643
|
return joinOr(keyedReplayHandlers.map((k) => k.framework.label));
|
|
@@ -34623,10 +34649,7 @@ function traceProcessorNames() {
|
|
|
34623
34649
|
return joinOr(FRAMEWORKS.filter((f) => f.handlerKind === "traceProcessor").map((f) => f.label));
|
|
34624
34650
|
}
|
|
34625
34651
|
function traceProcessorRootWrappers() {
|
|
34626
|
-
return FRAMEWORKS.filter((f) => f.handlerKind === "traceProcessor" && f.rootWrapper).map((f) =>
|
|
34627
|
-
const w = f.rootWrapper;
|
|
34628
|
-
return w.py ? `${code(w.ts)} / ${code(w.py)}` : code(w.ts);
|
|
34629
|
-
}).join(", ");
|
|
34652
|
+
return FRAMEWORKS.filter((f) => f.handlerKind === "traceProcessor" && f.rootWrapper).map((f) => namePair(f.rootWrapper)).join(", ");
|
|
34630
34653
|
}
|
|
34631
34654
|
var AUTO_CAPTURE_ROLE_LABEL = {
|
|
34632
34655
|
modelCall: "model-call",
|
|
@@ -34645,7 +34668,7 @@ function frameworkMockabilityBullets() {
|
|
|
34645
34668
|
clauses.push(`${wrapped.join(" and ")} spans run through \`withSpan\` via its ${f.handlerNoun}, so they ARE mockable (though re-run live by default)`);
|
|
34646
34669
|
}
|
|
34647
34670
|
if (f.experimentalToolReplay) {
|
|
34648
|
-
clauses.push(
|
|
34671
|
+
clauses.push(`${f.experimentalToolReplay.spans} configured through its Experimental (alpha) ${namePair(f.experimentalToolReplay.factory)} integration ARE mockable; callback-only tool spans remain NOT mockable`);
|
|
34649
34672
|
}
|
|
34650
34673
|
return `- **${f.label}**: ${clauses.join("; ")}.`;
|
|
34651
34674
|
}).join("\n");
|
|
@@ -34656,10 +34679,10 @@ function handlerNounList() {
|
|
|
34656
34679
|
function buildSdkPatterns() {
|
|
34657
34680
|
const base = '`getFunction("key")`, `get_function("key")`, `bitfab_function "key"`, `WithFunctionName("key")`';
|
|
34658
34681
|
const keyed = keyedReplayHandlers.map(({ framework, method }) => {
|
|
34659
|
-
const pair = method.py
|
|
34682
|
+
const pair = [method.ts, method.py].filter((name) => name !== void 0).map((name) => code(`${name}("key")`)).join(" / ");
|
|
34660
34683
|
return framework.aliasHandler ? `${pair} (or the LangChain-named aliases)` : pair;
|
|
34661
34684
|
}).join(" and ");
|
|
34662
|
-
const processors = FRAMEWORKS.filter((f) => f.handlerKind === "traceProcessor").map((f) =>
|
|
34685
|
+
const processors = FRAMEWORKS.filter((f) => f.handlerKind === "traceProcessor").map((f) => [f.handler.ts, f.handler.py].filter((name) => name !== void 0).map((name) => code(`${name}()`)).join(" / ")).join(" and ");
|
|
34663
34686
|
return `${base}, plus keyed framework handlers: ${keyed}; plus trace-processor registrations (unkeyed in code, the key is derived server-side from the workflow name): ${processors}`;
|
|
34664
34687
|
}
|
|
34665
34688
|
function handlerReplayBlock(verb) {
|
|
@@ -41014,7 +41037,7 @@ function object2(shape, params) {
|
|
|
41014
41037
|
return new ZodMiniObject(def);
|
|
41015
41038
|
}
|
|
41016
41039
|
|
|
41017
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
41040
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
41018
41041
|
function isZ4Schema(s2) {
|
|
41019
41042
|
const schema = s2;
|
|
41020
41043
|
return !!schema._zod;
|
|
@@ -41174,7 +41197,7 @@ function getLiteralValue(schema) {
|
|
|
41174
41197
|
return void 0;
|
|
41175
41198
|
}
|
|
41176
41199
|
|
|
41177
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
41200
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
41178
41201
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
41179
41202
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
41180
41203
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -42705,7 +42728,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
42705
42728
|
}
|
|
42706
42729
|
};
|
|
42707
42730
|
|
|
42708
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
42731
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
42709
42732
|
function isTerminal(status) {
|
|
42710
42733
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
42711
42734
|
}
|
|
@@ -43994,7 +44017,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
43994
44017
|
return combined;
|
|
43995
44018
|
};
|
|
43996
44019
|
|
|
43997
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
44020
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
43998
44021
|
function mapMiniTarget(t) {
|
|
43999
44022
|
if (!t)
|
|
44000
44023
|
return "draft-7";
|
|
@@ -44036,7 +44059,7 @@ function parseWithCompat(schema, data) {
|
|
|
44036
44059
|
return result.data;
|
|
44037
44060
|
}
|
|
44038
44061
|
|
|
44039
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
44062
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
44040
44063
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
44041
44064
|
var Protocol = class {
|
|
44042
44065
|
constructor(_options) {
|
|
@@ -45013,7 +45036,7 @@ function mergeCapabilities(base, additional) {
|
|
|
45013
45036
|
return result;
|
|
45014
45037
|
}
|
|
45015
45038
|
|
|
45016
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
45039
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
45017
45040
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
45018
45041
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
45019
45042
|
function createDefaultAjvInstance() {
|
|
@@ -45081,7 +45104,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
45081
45104
|
}
|
|
45082
45105
|
};
|
|
45083
45106
|
|
|
45084
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
45107
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
45085
45108
|
var ExperimentalServerTasks = class {
|
|
45086
45109
|
constructor(_server) {
|
|
45087
45110
|
this._server = _server;
|
|
@@ -45294,7 +45317,7 @@ var ExperimentalServerTasks = class {
|
|
|
45294
45317
|
}
|
|
45295
45318
|
};
|
|
45296
45319
|
|
|
45297
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
45320
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
45298
45321
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
45299
45322
|
if (!requests) {
|
|
45300
45323
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -45329,7 +45352,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
45329
45352
|
}
|
|
45330
45353
|
}
|
|
45331
45354
|
|
|
45332
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
45355
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
45333
45356
|
var Server = class extends Protocol {
|
|
45334
45357
|
/**
|
|
45335
45358
|
* Initializes this server with the given name and version information.
|
|
@@ -45700,7 +45723,7 @@ var Server = class extends Protocol {
|
|
|
45700
45723
|
}
|
|
45701
45724
|
};
|
|
45702
45725
|
|
|
45703
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
45726
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
45704
45727
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
45705
45728
|
function isCompletable(schema) {
|
|
45706
45729
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -45714,7 +45737,7 @@ var McpZodTypeKind;
|
|
|
45714
45737
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
45715
45738
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
45716
45739
|
|
|
45717
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
45740
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
45718
45741
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
45719
45742
|
function validateToolName(name) {
|
|
45720
45743
|
const warnings = [];
|
|
@@ -45772,7 +45795,7 @@ function validateAndWarnToolName(name) {
|
|
|
45772
45795
|
return result.isValid;
|
|
45773
45796
|
}
|
|
45774
45797
|
|
|
45775
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
45798
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
45776
45799
|
var ExperimentalMcpServerTasks = class {
|
|
45777
45800
|
constructor(_mcpServer) {
|
|
45778
45801
|
this._mcpServer = _mcpServer;
|
|
@@ -45787,7 +45810,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
45787
45810
|
}
|
|
45788
45811
|
};
|
|
45789
45812
|
|
|
45790
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
45813
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
45791
45814
|
function toolInputElementCount(value, max) {
|
|
45792
45815
|
let count = 0;
|
|
45793
45816
|
const stack = [value];
|
|
@@ -46619,10 +46642,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
46619
46642
|
}
|
|
46620
46643
|
};
|
|
46621
46644
|
|
|
46622
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
46645
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
46623
46646
|
import process2 from "process";
|
|
46624
46647
|
|
|
46625
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
46648
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
46626
46649
|
var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
|
|
46627
46650
|
var ReadBuffer = class {
|
|
46628
46651
|
constructor(options) {
|
|
@@ -46659,7 +46682,7 @@ function serializeMessage(message) {
|
|
|
46659
46682
|
return JSON.stringify(message) + "\n";
|
|
46660
46683
|
}
|
|
46661
46684
|
|
|
46662
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
46685
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_@cfworker+json-schema@4.1.1_supports-color@8.1.1_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
46663
46686
|
var StdioServerTransport = class {
|
|
46664
46687
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout, options) {
|
|
46665
46688
|
this._stdin = _stdin;
|
package/package.json
CHANGED