lace-mcp 0.0.2-alpha.15 → 0.0.2-alpha.16
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/cli.js +154 -145
- package/package.json +4 -4
package/dist/cli.js
CHANGED
|
@@ -700,13 +700,12 @@ function config(newConfig) {
|
|
|
700
700
|
Object.assign(globalConfig, newConfig);
|
|
701
701
|
return globalConfig;
|
|
702
702
|
}
|
|
703
|
-
var NEVER, $
|
|
703
|
+
var NEVER, $ZodAsyncError, globalConfig;
|
|
704
704
|
var init_core = __esm({
|
|
705
705
|
"../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.js"() {
|
|
706
706
|
NEVER = Object.freeze({
|
|
707
707
|
status: "aborted"
|
|
708
708
|
});
|
|
709
|
-
$brand = Symbol("zod_brand");
|
|
710
709
|
$ZodAsyncError = class extends Error {
|
|
711
710
|
constructor() {
|
|
712
711
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -3278,11 +3277,9 @@ var init_locales = __esm({
|
|
|
3278
3277
|
function registry() {
|
|
3279
3278
|
return new $ZodRegistry();
|
|
3280
3279
|
}
|
|
3281
|
-
var $
|
|
3280
|
+
var $ZodRegistry, globalRegistry;
|
|
3282
3281
|
var init_registries = __esm({
|
|
3283
3282
|
"../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js"() {
|
|
3284
|
-
$output = Symbol("ZodOutput");
|
|
3285
|
-
$input = Symbol("ZodInput");
|
|
3286
3283
|
$ZodRegistry = class {
|
|
3287
3284
|
constructor() {
|
|
3288
3285
|
this._map = /* @__PURE__ */ new Map();
|
|
@@ -5355,7 +5352,7 @@ var init_v4 = __esm({
|
|
|
5355
5352
|
}
|
|
5356
5353
|
});
|
|
5357
5354
|
|
|
5358
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
5355
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
5359
5356
|
function assertCompleteRequestPrompt(request2) {
|
|
5360
5357
|
if (request2.params.ref.type !== "ref/prompt") {
|
|
5361
5358
|
throw new TypeError(`Expected CompleteRequestPrompt, but got ${request2.params.ref.type}`);
|
|
@@ -5370,7 +5367,7 @@ function assertCompleteRequestResourceTemplate(request2) {
|
|
|
5370
5367
|
}
|
|
5371
5368
|
var LATEST_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY, JSONRPC_VERSION, AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest, JSONRPCNotificationSchema, isJSONRPCNotification, JSONRPCResultResponseSchema, isJSONRPCResultResponse, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
|
|
5372
5369
|
var init_types = __esm({
|
|
5373
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
5370
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js"() {
|
|
5374
5371
|
init_v4();
|
|
5375
5372
|
LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
5376
5373
|
SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
@@ -5381,10 +5378,9 @@ var init_types = __esm({
|
|
|
5381
5378
|
CursorSchema = string2();
|
|
5382
5379
|
TaskCreationParamsSchema = looseObject({
|
|
5383
5380
|
/**
|
|
5384
|
-
*
|
|
5385
|
-
* If null, the task has unlimited lifetime until manually cleaned up.
|
|
5381
|
+
* Requested duration in milliseconds to retain task from creation.
|
|
5386
5382
|
*/
|
|
5387
|
-
ttl:
|
|
5383
|
+
ttl: number2().optional(),
|
|
5388
5384
|
/**
|
|
5389
5385
|
* Time in milliseconds to wait between task status requests.
|
|
5390
5386
|
*/
|
|
@@ -5683,7 +5679,11 @@ var init_types = __esm({
|
|
|
5683
5679
|
/**
|
|
5684
5680
|
* Present if the client supports task creation.
|
|
5685
5681
|
*/
|
|
5686
|
-
tasks: ClientTasksCapabilitySchema.optional()
|
|
5682
|
+
tasks: ClientTasksCapabilitySchema.optional(),
|
|
5683
|
+
/**
|
|
5684
|
+
* Extensions that the client supports. Keys are extension identifiers (vendor-prefix/extension-name).
|
|
5685
|
+
*/
|
|
5686
|
+
extensions: record(string2(), AssertObjectSchema).optional()
|
|
5687
5687
|
});
|
|
5688
5688
|
InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({
|
|
5689
5689
|
/**
|
|
@@ -5744,7 +5744,11 @@ var init_types = __esm({
|
|
|
5744
5744
|
/**
|
|
5745
5745
|
* Present if the server supports task creation.
|
|
5746
5746
|
*/
|
|
5747
|
-
tasks: ServerTasksCapabilitySchema.optional()
|
|
5747
|
+
tasks: ServerTasksCapabilitySchema.optional(),
|
|
5748
|
+
/**
|
|
5749
|
+
* Extensions that the server supports. Keys are extension identifiers (vendor-prefix/extension-name).
|
|
5750
|
+
*/
|
|
5751
|
+
extensions: record(string2(), AssertObjectSchema).optional()
|
|
5748
5752
|
});
|
|
5749
5753
|
InitializeResultSchema = ResultSchema.extend({
|
|
5750
5754
|
/**
|
|
@@ -5936,6 +5940,12 @@ var init_types = __esm({
|
|
|
5936
5940
|
* The MIME type of this resource, if known.
|
|
5937
5941
|
*/
|
|
5938
5942
|
mimeType: optional(string2()),
|
|
5943
|
+
/**
|
|
5944
|
+
* The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.
|
|
5945
|
+
*
|
|
5946
|
+
* This can be used by Hosts to display file sizes and estimate context window usage.
|
|
5947
|
+
*/
|
|
5948
|
+
size: optional(number2()),
|
|
5939
5949
|
/**
|
|
5940
5950
|
* Optional annotations for the client.
|
|
5941
5951
|
*/
|
|
@@ -6878,7 +6888,7 @@ var init_types = __esm({
|
|
|
6878
6888
|
}
|
|
6879
6889
|
});
|
|
6880
6890
|
|
|
6881
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
6891
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
6882
6892
|
function deserializeMessage(line) {
|
|
6883
6893
|
return JSONRPCMessageSchema.parse(JSON.parse(line));
|
|
6884
6894
|
}
|
|
@@ -6887,7 +6897,7 @@ function serializeMessage(message) {
|
|
|
6887
6897
|
}
|
|
6888
6898
|
var ReadBuffer;
|
|
6889
6899
|
var init_stdio = __esm({
|
|
6890
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
6900
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js"() {
|
|
6891
6901
|
init_types();
|
|
6892
6902
|
ReadBuffer = class {
|
|
6893
6903
|
append(chunk) {
|
|
@@ -6912,11 +6922,11 @@ var init_stdio = __esm({
|
|
|
6912
6922
|
}
|
|
6913
6923
|
});
|
|
6914
6924
|
|
|
6915
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
6925
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
6916
6926
|
import process2 from "node:process";
|
|
6917
6927
|
var StdioServerTransport;
|
|
6918
6928
|
var init_stdio2 = __esm({
|
|
6919
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
6929
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js"() {
|
|
6920
6930
|
init_stdio();
|
|
6921
6931
|
StdioServerTransport = class {
|
|
6922
6932
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
|
|
@@ -7197,7 +7207,7 @@ var init_observability = __esm({
|
|
|
7197
7207
|
"thinkharder",
|
|
7198
7208
|
"tool"
|
|
7199
7209
|
]);
|
|
7200
|
-
UNSANITIZED = Symbol("unsanitized");
|
|
7210
|
+
UNSANITIZED = /* @__PURE__ */ Symbol("unsanitized");
|
|
7201
7211
|
}
|
|
7202
7212
|
});
|
|
7203
7213
|
|
|
@@ -7393,7 +7403,7 @@ var init_global_utils = __esm({
|
|
|
7393
7403
|
init_version();
|
|
7394
7404
|
init_semver();
|
|
7395
7405
|
major = VERSION.split(".")[0];
|
|
7396
|
-
GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for("opentelemetry.js.api." + major);
|
|
7406
|
+
GLOBAL_OPENTELEMETRY_API_KEY = /* @__PURE__ */ Symbol.for("opentelemetry.js.api." + major);
|
|
7397
7407
|
_global = _globalThis;
|
|
7398
7408
|
}
|
|
7399
7409
|
});
|
|
@@ -7722,7 +7732,7 @@ var init_baggage_impl = __esm({
|
|
|
7722
7732
|
var baggageEntryMetadataSymbol;
|
|
7723
7733
|
var init_symbol = __esm({
|
|
7724
7734
|
"../../node_modules/.pnpm/@opentelemetry+api@1.9.0/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js"() {
|
|
7725
|
-
baggageEntryMetadataSymbol = Symbol("BaggageEntryMetadata");
|
|
7735
|
+
baggageEntryMetadataSymbol = /* @__PURE__ */ Symbol("BaggageEntryMetadata");
|
|
7726
7736
|
}
|
|
7727
7737
|
});
|
|
7728
7738
|
|
|
@@ -13953,7 +13963,7 @@ var require_range = __commonJS({
|
|
|
13953
13963
|
var require_comparator = __commonJS({
|
|
13954
13964
|
"../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js"(exports, module2) {
|
|
13955
13965
|
"use strict";
|
|
13956
|
-
var ANY = Symbol("SemVer ANY");
|
|
13966
|
+
var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
|
|
13957
13967
|
var Comparator = class _Comparator {
|
|
13958
13968
|
static get ANY() {
|
|
13959
13969
|
return ANY;
|
|
@@ -14828,7 +14838,7 @@ var require_global_utils = __commonJS({
|
|
|
14828
14838
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14829
14839
|
exports.API_BACKWARDS_COMPATIBILITY_VERSION = exports.makeGetter = exports._global = exports.GLOBAL_LOGS_API_KEY = void 0;
|
|
14830
14840
|
var platform_1 = require_platform2();
|
|
14831
|
-
exports.GLOBAL_LOGS_API_KEY = Symbol.for("io.opentelemetry.js.api.logs");
|
|
14841
|
+
exports.GLOBAL_LOGS_API_KEY = /* @__PURE__ */ Symbol.for("io.opentelemetry.js.api.logs");
|
|
14832
14842
|
exports._global = platform_1._globalThis;
|
|
14833
14843
|
function makeGetter(requiredVersion, instance, fallback) {
|
|
14834
14844
|
return (version3) => version3 === requiredVersion ? instance : fallback;
|
|
@@ -15320,9 +15330,9 @@ var require_ms = __commonJS({
|
|
|
15320
15330
|
}
|
|
15321
15331
|
});
|
|
15322
15332
|
|
|
15323
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15333
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/common.js
|
|
15324
15334
|
var require_common = __commonJS({
|
|
15325
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15335
|
+
"../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
15326
15336
|
function setup(env) {
|
|
15327
15337
|
createDebug.debug = createDebug;
|
|
15328
15338
|
createDebug.default = createDebug;
|
|
@@ -15497,9 +15507,9 @@ var require_common = __commonJS({
|
|
|
15497
15507
|
}
|
|
15498
15508
|
});
|
|
15499
15509
|
|
|
15500
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15510
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/browser.js
|
|
15501
15511
|
var require_browser = __commonJS({
|
|
15502
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15512
|
+
"../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
15503
15513
|
exports.formatArgs = formatArgs;
|
|
15504
15514
|
exports.save = save;
|
|
15505
15515
|
exports.load = load;
|
|
@@ -15680,29 +15690,27 @@ var require_has_flag = __commonJS({
|
|
|
15680
15690
|
}
|
|
15681
15691
|
});
|
|
15682
15692
|
|
|
15683
|
-
// ../../node_modules/.pnpm/supports-color@
|
|
15693
|
+
// ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
|
|
15684
15694
|
var require_supports_color = __commonJS({
|
|
15685
|
-
"../../node_modules/.pnpm/supports-color@
|
|
15695
|
+
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
15686
15696
|
"use strict";
|
|
15687
15697
|
var os3 = __require("os");
|
|
15688
15698
|
var tty = __require("tty");
|
|
15689
15699
|
var hasFlag = require_has_flag();
|
|
15690
15700
|
var { env } = process;
|
|
15691
|
-
var
|
|
15701
|
+
var forceColor;
|
|
15692
15702
|
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
15693
|
-
|
|
15703
|
+
forceColor = 0;
|
|
15694
15704
|
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
15695
|
-
|
|
15705
|
+
forceColor = 1;
|
|
15696
15706
|
}
|
|
15697
|
-
|
|
15698
|
-
if (
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
|
|
15703
|
-
|
|
15704
|
-
}
|
|
15705
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
15707
|
+
if ("FORCE_COLOR" in env) {
|
|
15708
|
+
if (env.FORCE_COLOR === "true") {
|
|
15709
|
+
forceColor = 1;
|
|
15710
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
15711
|
+
forceColor = 0;
|
|
15712
|
+
} else {
|
|
15713
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
15706
15714
|
}
|
|
15707
15715
|
}
|
|
15708
15716
|
function translateLevel(level) {
|
|
@@ -15716,22 +15724,15 @@ var require_supports_color = __commonJS({
|
|
|
15716
15724
|
has16m: level >= 3
|
|
15717
15725
|
};
|
|
15718
15726
|
}
|
|
15719
|
-
function supportsColor(haveStream,
|
|
15720
|
-
const noFlagForceColor = envForceColor();
|
|
15721
|
-
if (noFlagForceColor !== void 0) {
|
|
15722
|
-
flagForceColor = noFlagForceColor;
|
|
15723
|
-
}
|
|
15724
|
-
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
15727
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
15725
15728
|
if (forceColor === 0) {
|
|
15726
15729
|
return 0;
|
|
15727
15730
|
}
|
|
15728
|
-
if (
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
|
-
return 2;
|
|
15734
|
-
}
|
|
15731
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
15732
|
+
return 3;
|
|
15733
|
+
}
|
|
15734
|
+
if (hasFlag("color=256")) {
|
|
15735
|
+
return 2;
|
|
15735
15736
|
}
|
|
15736
15737
|
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
15737
15738
|
return 0;
|
|
@@ -15748,7 +15749,7 @@ var require_supports_color = __commonJS({
|
|
|
15748
15749
|
return 1;
|
|
15749
15750
|
}
|
|
15750
15751
|
if ("CI" in env) {
|
|
15751
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"
|
|
15752
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
15752
15753
|
return 1;
|
|
15753
15754
|
}
|
|
15754
15755
|
return min;
|
|
@@ -15760,7 +15761,7 @@ var require_supports_color = __commonJS({
|
|
|
15760
15761
|
return 3;
|
|
15761
15762
|
}
|
|
15762
15763
|
if ("TERM_PROGRAM" in env) {
|
|
15763
|
-
const version3 =
|
|
15764
|
+
const version3 = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
15764
15765
|
switch (env.TERM_PROGRAM) {
|
|
15765
15766
|
case "iTerm.app":
|
|
15766
15767
|
return version3 >= 3 ? 3 : 2;
|
|
@@ -15779,24 +15780,21 @@ var require_supports_color = __commonJS({
|
|
|
15779
15780
|
}
|
|
15780
15781
|
return min;
|
|
15781
15782
|
}
|
|
15782
|
-
function getSupportLevel(stream
|
|
15783
|
-
const level = supportsColor(stream,
|
|
15784
|
-
streamIsTTY: stream && stream.isTTY,
|
|
15785
|
-
...options
|
|
15786
|
-
});
|
|
15783
|
+
function getSupportLevel(stream) {
|
|
15784
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
15787
15785
|
return translateLevel(level);
|
|
15788
15786
|
}
|
|
15789
15787
|
module2.exports = {
|
|
15790
15788
|
supportsColor: getSupportLevel,
|
|
15791
|
-
stdout:
|
|
15792
|
-
stderr:
|
|
15789
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
15790
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
15793
15791
|
};
|
|
15794
15792
|
}
|
|
15795
15793
|
});
|
|
15796
15794
|
|
|
15797
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15795
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/node.js
|
|
15798
15796
|
var require_node3 = __commonJS({
|
|
15799
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15797
|
+
"../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
15800
15798
|
var tty = __require("tty");
|
|
15801
15799
|
var util3 = __require("util");
|
|
15802
15800
|
exports.init = init3;
|
|
@@ -15968,9 +15966,9 @@ var require_node3 = __commonJS({
|
|
|
15968
15966
|
}
|
|
15969
15967
|
});
|
|
15970
15968
|
|
|
15971
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15969
|
+
// ../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/index.js
|
|
15972
15970
|
var require_src3 = __commonJS({
|
|
15973
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15971
|
+
"../../node_modules/.pnpm/debug@4.4.3_supports-color@7.2.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
15974
15972
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
15975
15973
|
module2.exports = require_browser();
|
|
15976
15974
|
} else {
|
|
@@ -17320,7 +17318,7 @@ var require_require_in_the_middle = __commonJS({
|
|
|
17320
17318
|
var ExportsCache = class {
|
|
17321
17319
|
constructor() {
|
|
17322
17320
|
this._localCache = /* @__PURE__ */ new Map();
|
|
17323
|
-
this._kRitmExports = Symbol("RitmExports");
|
|
17321
|
+
this._kRitmExports = /* @__PURE__ */ Symbol("RitmExports");
|
|
17324
17322
|
}
|
|
17325
17323
|
has(filename, isBuiltin2) {
|
|
17326
17324
|
if (this._localCache.has(filename)) {
|
|
@@ -24219,8 +24217,8 @@ var init_client = __esm({
|
|
|
24219
24217
|
init_transactionEvent();
|
|
24220
24218
|
ALREADY_SEEN_ERROR = "Not capturing exception because it's already been captured.";
|
|
24221
24219
|
MISSING_RELEASE_FOR_SESSION_ERROR = "Discarded session because of missing or non-string release";
|
|
24222
|
-
INTERNAL_ERROR_SYMBOL = Symbol.for("SentryInternalError");
|
|
24223
|
-
DO_NOT_SEND_EVENT_SYMBOL = Symbol.for("SentryDoNotSendEventError");
|
|
24220
|
+
INTERNAL_ERROR_SYMBOL = /* @__PURE__ */ Symbol.for("SentryInternalError");
|
|
24221
|
+
DO_NOT_SEND_EVENT_SYMBOL = /* @__PURE__ */ Symbol.for("SentryDoNotSendEventError");
|
|
24224
24222
|
Client = class {
|
|
24225
24223
|
/** Options passed to the SDK. */
|
|
24226
24224
|
/** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */
|
|
@@ -25448,7 +25446,7 @@ var SENTRY_BUFFER_FULL_ERROR;
|
|
|
25448
25446
|
var init_promisebuffer = __esm({
|
|
25449
25447
|
"../../node_modules/.pnpm/@sentry+core@9.47.1/node_modules/@sentry/core/build/esm/utils/promisebuffer.js"() {
|
|
25450
25448
|
init_syncpromise();
|
|
25451
|
-
SENTRY_BUFFER_FULL_ERROR = Symbol.for("SentryBufferFullError");
|
|
25449
|
+
SENTRY_BUFFER_FULL_ERROR = /* @__PURE__ */ Symbol.for("SentryBufferFullError");
|
|
25452
25450
|
}
|
|
25453
25451
|
});
|
|
25454
25452
|
|
|
@@ -37800,9 +37798,9 @@ var init_winston = __esm({
|
|
|
37800
37798
|
"../../node_modules/.pnpm/@sentry+node-core@9.47.1_@opentelemetry+api@1.9.0_@opentelemetry+context-async-hooks@1._f3a85afd199c88ccf6af581f824d81bd/node_modules/@sentry/node-core/build/esm/integrations/winston.js"() {
|
|
37801
37799
|
init_capture();
|
|
37802
37800
|
DEFAULT_CAPTURED_LEVELS = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
37803
|
-
LEVEL_SYMBOL = Symbol.for("level");
|
|
37804
|
-
MESSAGE_SYMBOL = Symbol.for("message");
|
|
37805
|
-
SPLAT_SYMBOL = Symbol.for("splat");
|
|
37801
|
+
LEVEL_SYMBOL = /* @__PURE__ */ Symbol.for("level");
|
|
37802
|
+
MESSAGE_SYMBOL = /* @__PURE__ */ Symbol.for("message");
|
|
37803
|
+
SPLAT_SYMBOL = /* @__PURE__ */ Symbol.for("splat");
|
|
37806
37804
|
WINSTON_LEVEL_TO_LOG_SEVERITY_LEVEL_MAP = {
|
|
37807
37805
|
// npm
|
|
37808
37806
|
silly: "trace",
|
|
@@ -37848,7 +37846,7 @@ var require_AbstractAsyncHooksContextManager = __commonJS({
|
|
|
37848
37846
|
];
|
|
37849
37847
|
var AbstractAsyncHooksContextManager = class {
|
|
37850
37848
|
constructor() {
|
|
37851
|
-
this._kOtListeners = Symbol("OtListeners");
|
|
37849
|
+
this._kOtListeners = /* @__PURE__ */ Symbol("OtListeners");
|
|
37852
37850
|
this._wrapped = false;
|
|
37853
37851
|
}
|
|
37854
37852
|
/**
|
|
@@ -38199,7 +38197,7 @@ import * as http2 from "node:http";
|
|
|
38199
38197
|
var INTERNAL, Agent2;
|
|
38200
38198
|
var init_base2 = __esm({
|
|
38201
38199
|
"../../node_modules/.pnpm/@sentry+node-core@9.47.1_@opentelemetry+api@1.9.0_@opentelemetry+context-async-hooks@1._f3a85afd199c88ccf6af581f824d81bd/node_modules/@sentry/node-core/build/esm/proxy/base.js"() {
|
|
38202
|
-
INTERNAL = Symbol("AgentBaseInternalState");
|
|
38200
|
+
INTERNAL = /* @__PURE__ */ Symbol("AgentBaseInternalState");
|
|
38203
38201
|
Agent2 = class extends http2.Agent {
|
|
38204
38202
|
// Set by `http.Agent` - missing from `@types/node`
|
|
38205
38203
|
constructor(opts) {
|
|
@@ -40675,7 +40673,7 @@ var require_internal_types = __commonJS({
|
|
|
40675
40673
|
"use strict";
|
|
40676
40674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40677
40675
|
exports._LAYERS_STORE_PROPERTY = exports.kLayerPatched = void 0;
|
|
40678
|
-
exports.kLayerPatched = Symbol("express-layer-patched");
|
|
40676
|
+
exports.kLayerPatched = /* @__PURE__ */ Symbol("express-layer-patched");
|
|
40679
40677
|
exports._LAYERS_STORE_PROPERTY = "__ot_middlewares";
|
|
40680
40678
|
}
|
|
40681
40679
|
});
|
|
@@ -41106,7 +41104,7 @@ var init_ExpressLayerType = __esm({
|
|
|
41106
41104
|
var kLayerPatched, _LAYERS_STORE_PROPERTY;
|
|
41107
41105
|
var init_internal_types = __esm({
|
|
41108
41106
|
"../../node_modules/.pnpm/@sentry+node@9.47.1/node_modules/@sentry/node/build/esm/integrations/tracing/express-v5/internal-types.js"() {
|
|
41109
|
-
kLayerPatched = Symbol("express-layer-patched");
|
|
41107
|
+
kLayerPatched = /* @__PURE__ */ Symbol("express-layer-patched");
|
|
41110
41108
|
_LAYERS_STORE_PROPERTY = "__ot_middlewares";
|
|
41111
41109
|
}
|
|
41112
41110
|
});
|
|
@@ -41600,9 +41598,9 @@ var require_balanced_match = __commonJS({
|
|
|
41600
41598
|
}
|
|
41601
41599
|
});
|
|
41602
41600
|
|
|
41603
|
-
// ../../node_modules/.pnpm/brace-expansion@2.0.
|
|
41601
|
+
// ../../node_modules/.pnpm/brace-expansion@2.0.3/node_modules/brace-expansion/index.js
|
|
41604
41602
|
var require_brace_expansion = __commonJS({
|
|
41605
|
-
"../../node_modules/.pnpm/brace-expansion@2.0.
|
|
41603
|
+
"../../node_modules/.pnpm/brace-expansion@2.0.3/node_modules/brace-expansion/index.js"(exports, module2) {
|
|
41606
41604
|
var balanced = require_balanced_match();
|
|
41607
41605
|
module2.exports = expandTop;
|
|
41608
41606
|
var escSlash = "\0SLASH" + Math.random() + "\0";
|
|
@@ -41701,7 +41699,7 @@ var require_brace_expansion = __commonJS({
|
|
|
41701
41699
|
var x = numeric(n[0]);
|
|
41702
41700
|
var y = numeric(n[1]);
|
|
41703
41701
|
var width = Math.max(n[0].length, n[1].length);
|
|
41704
|
-
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
41702
|
+
var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
|
|
41705
41703
|
var test = lte;
|
|
41706
41704
|
var reverse = y < x;
|
|
41707
41705
|
if (reverse) {
|
|
@@ -42594,7 +42592,7 @@ var init_esm7 = __esm({
|
|
|
42594
42592
|
};
|
|
42595
42593
|
sep2 = defaultPlatform === "win32" ? path.win32.sep : path.posix.sep;
|
|
42596
42594
|
minimatch.sep = sep2;
|
|
42597
|
-
GLOBSTAR = Symbol("globstar **");
|
|
42595
|
+
GLOBSTAR = /* @__PURE__ */ Symbol("globstar **");
|
|
42598
42596
|
minimatch.GLOBSTAR = GLOBSTAR;
|
|
42599
42597
|
qmark2 = "[^/]";
|
|
42600
42598
|
star2 = qmark2 + "*?";
|
|
@@ -43354,12 +43352,12 @@ var init_fastify_otel = __esm({
|
|
|
43354
43352
|
HANDLER: "request-handler"
|
|
43355
43353
|
};
|
|
43356
43354
|
ANONYMOUS_FUNCTION_NAME = "anonymous";
|
|
43357
|
-
kInstrumentation = Symbol("fastify otel instance");
|
|
43358
|
-
kRequestSpan = Symbol("fastify otel request spans");
|
|
43359
|
-
kRequestContext = Symbol("fastify otel request context");
|
|
43360
|
-
kAddHookOriginal = Symbol("fastify otel addhook original");
|
|
43361
|
-
kSetNotFoundOriginal = Symbol("fastify otel setnotfound original");
|
|
43362
|
-
kIgnorePaths = Symbol("fastify otel ignore path");
|
|
43355
|
+
kInstrumentation = /* @__PURE__ */ Symbol("fastify otel instance");
|
|
43356
|
+
kRequestSpan = /* @__PURE__ */ Symbol("fastify otel request spans");
|
|
43357
|
+
kRequestContext = /* @__PURE__ */ Symbol("fastify otel request context");
|
|
43358
|
+
kAddHookOriginal = /* @__PURE__ */ Symbol("fastify otel addhook original");
|
|
43359
|
+
kSetNotFoundOriginal = /* @__PURE__ */ Symbol("fastify otel setnotfound original");
|
|
43360
|
+
kIgnorePaths = /* @__PURE__ */ Symbol("fastify otel ignore path");
|
|
43363
43361
|
FastifyOtelInstrumentation = class extends import_instrumentation8.InstrumentationBase {
|
|
43364
43362
|
constructor(config4) {
|
|
43365
43363
|
super(PACKAGE_NAME4, PACKAGE_VERSION2, config4);
|
|
@@ -43404,9 +43402,9 @@ var init_fastify_otel = __esm({
|
|
|
43404
43402
|
}
|
|
43405
43403
|
plugin() {
|
|
43406
43404
|
const instrumentation = this;
|
|
43407
|
-
FastifyInstrumentationPlugin[Symbol.for("skip-override")] = true;
|
|
43408
|
-
FastifyInstrumentationPlugin[Symbol.for("fastify.display-name")] = "@fastify/otel";
|
|
43409
|
-
FastifyInstrumentationPlugin[Symbol.for("plugin-meta")] = {
|
|
43405
|
+
FastifyInstrumentationPlugin[/* @__PURE__ */ Symbol.for("skip-override")] = true;
|
|
43406
|
+
FastifyInstrumentationPlugin[/* @__PURE__ */ Symbol.for("fastify.display-name")] = "@fastify/otel";
|
|
43407
|
+
FastifyInstrumentationPlugin[/* @__PURE__ */ Symbol.for("plugin-meta")] = {
|
|
43410
43408
|
fastify: SUPPORTED_VERSIONS,
|
|
43411
43409
|
name: "@fastify/otel"
|
|
43412
43410
|
};
|
|
@@ -43714,7 +43712,7 @@ var init_AttributeNames2 = __esm({
|
|
|
43714
43712
|
var spanRequestSymbol;
|
|
43715
43713
|
var init_constants4 = __esm({
|
|
43716
43714
|
"../../node_modules/.pnpm/@sentry+node@9.47.1/node_modules/@sentry/node/build/esm/integrations/tracing/fastify/v3/constants.js"() {
|
|
43717
|
-
spanRequestSymbol = Symbol("opentelemetry.instrumentation.fastify.request_active_span");
|
|
43715
|
+
spanRequestSymbol = /* @__PURE__ */ Symbol("opentelemetry.instrumentation.fastify.request_active_span");
|
|
43718
43716
|
}
|
|
43719
43717
|
});
|
|
43720
43718
|
|
|
@@ -44045,8 +44043,8 @@ function setupFastifyErrorHandler(fastify, options) {
|
|
|
44045
44043
|
done();
|
|
44046
44044
|
},
|
|
44047
44045
|
{
|
|
44048
|
-
[Symbol.for("skip-override")]: true,
|
|
44049
|
-
[Symbol.for("fastify.display-name")]: "sentry-fastify-error-handler"
|
|
44046
|
+
[/* @__PURE__ */ Symbol.for("skip-override")]: true,
|
|
44047
|
+
[/* @__PURE__ */ Symbol.for("fastify.display-name")]: "sentry-fastify-error-handler"
|
|
44050
44048
|
}
|
|
44051
44049
|
);
|
|
44052
44050
|
fastify.register(plugin);
|
|
@@ -44226,8 +44224,8 @@ var require_symbols = __commonJS({
|
|
|
44226
44224
|
"use strict";
|
|
44227
44225
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
44228
44226
|
exports.OTEL_GRAPHQL_DATA_SYMBOL = exports.OTEL_PATCHED_SYMBOL = void 0;
|
|
44229
|
-
exports.OTEL_PATCHED_SYMBOL = Symbol.for("opentelemetry.patched");
|
|
44230
|
-
exports.OTEL_GRAPHQL_DATA_SYMBOL = Symbol.for("opentelemetry.graphql_data");
|
|
44227
|
+
exports.OTEL_PATCHED_SYMBOL = /* @__PURE__ */ Symbol.for("opentelemetry.patched");
|
|
44228
|
+
exports.OTEL_GRAPHQL_DATA_SYMBOL = /* @__PURE__ */ Symbol.for("opentelemetry.graphql_data");
|
|
44231
44229
|
}
|
|
44232
44230
|
});
|
|
44233
44231
|
|
|
@@ -46206,7 +46204,7 @@ var require_mongoose = __commonJS({
|
|
|
46206
46204
|
function instrumentRemove(moduleVersion) {
|
|
46207
46205
|
return moduleVersion && (moduleVersion.startsWith("5.") || moduleVersion.startsWith("6.")) || false;
|
|
46208
46206
|
}
|
|
46209
|
-
exports._STORED_PARENT_SPAN = Symbol("stored-parent-span");
|
|
46207
|
+
exports._STORED_PARENT_SPAN = /* @__PURE__ */ Symbol("stored-parent-span");
|
|
46210
46208
|
var MongooseInstrumentation2 = class extends instrumentation_1.InstrumentationBase {
|
|
46211
46209
|
constructor(config4 = {}) {
|
|
46212
46210
|
super(version_1.PACKAGE_NAME, version_1.PACKAGE_VERSION, config4);
|
|
@@ -47510,8 +47508,8 @@ var require_instrumentation12 = __commonJS({
|
|
|
47510
47508
|
var redis_common_1 = require_src20();
|
|
47511
47509
|
var version_1 = require_version14();
|
|
47512
47510
|
var semantic_conventions_1 = (init_esm4(), __toCommonJS(esm_exports3));
|
|
47513
|
-
var OTEL_OPEN_SPANS = Symbol("opentelemetry.instrumentation.redis.open_spans");
|
|
47514
|
-
var MULTI_COMMAND_OPTIONS = Symbol("opentelemetry.instrumentation.redis.multi_command_options");
|
|
47511
|
+
var OTEL_OPEN_SPANS = /* @__PURE__ */ Symbol("opentelemetry.instrumentation.redis.open_spans");
|
|
47512
|
+
var MULTI_COMMAND_OPTIONS = /* @__PURE__ */ Symbol("opentelemetry.instrumentation.redis.multi_command_options");
|
|
47515
47513
|
var DEFAULT_CONFIG = {
|
|
47516
47514
|
requireParentSpan: false
|
|
47517
47515
|
};
|
|
@@ -47980,7 +47978,7 @@ var require_internal_types4 = __commonJS({
|
|
|
47980
47978
|
"use strict";
|
|
47981
47979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47982
47980
|
exports.EVENT_LISTENERS_SET = void 0;
|
|
47983
|
-
exports.EVENT_LISTENERS_SET = Symbol("opentelemetry.instrumentation.pg.eventListenersSet");
|
|
47981
|
+
exports.EVENT_LISTENERS_SET = /* @__PURE__ */ Symbol("opentelemetry.instrumentation.pg.eventListenersSet");
|
|
47984
47982
|
}
|
|
47985
47983
|
});
|
|
47986
47984
|
|
|
@@ -49183,7 +49181,7 @@ var require_internal_types5 = __commonJS({
|
|
|
49183
49181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49184
49182
|
exports.HapiLifecycleMethodNames = exports.HapiLayerType = exports.handlerPatched = exports.HapiComponentName = void 0;
|
|
49185
49183
|
exports.HapiComponentName = "@hapi/hapi";
|
|
49186
|
-
exports.handlerPatched = Symbol("hapi-handler-patched");
|
|
49184
|
+
exports.handlerPatched = /* @__PURE__ */ Symbol("hapi-handler-patched");
|
|
49187
49185
|
exports.HapiLayerType = {
|
|
49188
49186
|
ROUTER: "router",
|
|
49189
49187
|
PLUGIN: "plugin",
|
|
@@ -49769,7 +49767,7 @@ var require_internal_types6 = __commonJS({
|
|
|
49769
49767
|
"use strict";
|
|
49770
49768
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49771
49769
|
exports.kLayerPatched = void 0;
|
|
49772
|
-
exports.kLayerPatched = Symbol("koa-layer-patched");
|
|
49770
|
+
exports.kLayerPatched = /* @__PURE__ */ Symbol("koa-layer-patched");
|
|
49773
49771
|
}
|
|
49774
49772
|
});
|
|
49775
49773
|
|
|
@@ -50036,7 +50034,7 @@ var require_internal_types7 = __commonJS({
|
|
|
50036
50034
|
"use strict";
|
|
50037
50035
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50038
50036
|
exports._LAYERS_STORE_PROPERTY = void 0;
|
|
50039
|
-
exports._LAYERS_STORE_PROPERTY = Symbol("opentelemetry.instrumentation-connect.request-route-stack");
|
|
50037
|
+
exports._LAYERS_STORE_PROPERTY = /* @__PURE__ */ Symbol("opentelemetry.instrumentation-connect.request-route-stack");
|
|
50040
50038
|
}
|
|
50041
50039
|
});
|
|
50042
50040
|
|
|
@@ -50415,7 +50413,7 @@ var require_instrumentation17 = __commonJS({
|
|
|
50415
50413
|
var instrumentation_1 = require_src4();
|
|
50416
50414
|
var semantic_conventions_1 = (init_esm4(), __toCommonJS(esm_exports3));
|
|
50417
50415
|
var utils = require_utils18();
|
|
50418
|
-
var contextSymbol = Symbol("opentelemetry.instrumentation-knex.context");
|
|
50416
|
+
var contextSymbol = /* @__PURE__ */ Symbol("opentelemetry.instrumentation-knex.context");
|
|
50419
50417
|
var DEFAULT_CONFIG = {
|
|
50420
50418
|
maxQueryLength: 1022,
|
|
50421
50419
|
requireParentSpan: false
|
|
@@ -50649,7 +50647,7 @@ var require_instrumentation18 = __commonJS({
|
|
|
50649
50647
|
var semantic_conventions_1 = (init_esm4(), __toCommonJS(esm_exports3));
|
|
50650
50648
|
var utils_1 = require_utils19();
|
|
50651
50649
|
var version_1 = require_version20();
|
|
50652
|
-
var CURRENT_DATABASE = Symbol("opentelemetry.instrumentation-tedious.current-database");
|
|
50650
|
+
var CURRENT_DATABASE = /* @__PURE__ */ Symbol("opentelemetry.instrumentation-tedious.current-database");
|
|
50653
50651
|
var PATCHED_METHODS = [
|
|
50654
50652
|
"callProcedure",
|
|
50655
50653
|
"execSql",
|
|
@@ -51295,10 +51293,10 @@ var require_utils20 = __commonJS({
|
|
|
51295
51293
|
exports.isConfirmChannelTracing = exports.unmarkConfirmChannelTracing = exports.markConfirmChannelTracing = exports.getConnectionAttributesFromUrl = exports.getConnectionAttributesFromServer = exports.normalizeExchange = exports.CONNECTION_ATTRIBUTES = exports.CHANNEL_CONSUME_TIMEOUT_TIMER = exports.CHANNEL_SPANS_NOT_ENDED = exports.MESSAGE_STORED_SPAN = void 0;
|
|
51296
51294
|
var api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
51297
51295
|
var semantic_conventions_1 = (init_esm4(), __toCommonJS(esm_exports3));
|
|
51298
|
-
exports.MESSAGE_STORED_SPAN = Symbol("opentelemetry.amqplib.message.stored-span");
|
|
51299
|
-
exports.CHANNEL_SPANS_NOT_ENDED = Symbol("opentelemetry.amqplib.channel.spans-not-ended");
|
|
51300
|
-
exports.CHANNEL_CONSUME_TIMEOUT_TIMER = Symbol("opentelemetry.amqplib.channel.consumer-timeout-timer");
|
|
51301
|
-
exports.CONNECTION_ATTRIBUTES = Symbol("opentelemetry.amqplib.connection.attributes");
|
|
51296
|
+
exports.MESSAGE_STORED_SPAN = /* @__PURE__ */ Symbol("opentelemetry.amqplib.message.stored-span");
|
|
51297
|
+
exports.CHANNEL_SPANS_NOT_ENDED = /* @__PURE__ */ Symbol("opentelemetry.amqplib.channel.spans-not-ended");
|
|
51298
|
+
exports.CHANNEL_CONSUME_TIMEOUT_TIMER = /* @__PURE__ */ Symbol("opentelemetry.amqplib.channel.consumer-timeout-timer");
|
|
51299
|
+
exports.CONNECTION_ATTRIBUTES = /* @__PURE__ */ Symbol("opentelemetry.amqplib.connection.attributes");
|
|
51302
51300
|
var IS_CONFIRM_CHANNEL_CONTEXT_KEY = (0, api_1.createContextKey)("opentelemetry.amqplib.channel.is-confirm-channel");
|
|
51303
51301
|
var normalizeExchange = (exchangeName) => exchangeName !== "" ? exchangeName : "<default>";
|
|
51304
51302
|
exports.normalizeExchange = normalizeExchange;
|
|
@@ -53322,7 +53320,7 @@ function createZodEnum(values, params) {
|
|
|
53322
53320
|
...processCreateParams(params)
|
|
53323
53321
|
});
|
|
53324
53322
|
}
|
|
53325
|
-
var ParseInputLazyPath, handleResult, ZodType2, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString2, ZodNumber2, ZodBigInt, ZodBoolean2, ZodDate, ZodSymbol, ZodUndefined, ZodNull2, ZodAny, ZodUnknown2, ZodNever2, ZodVoid, ZodArray2, ZodObject2, ZodUnion2, getDiscriminator, ZodDiscriminatedUnion2, ZodIntersection2, ZodTuple, ZodRecord2, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral2, ZodEnum2, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional2, ZodNullable2, ZodDefault2, ZodCatch2, ZodNaN,
|
|
53323
|
+
var ParseInputLazyPath, handleResult, ZodType2, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString2, ZodNumber2, ZodBigInt, ZodBoolean2, ZodDate, ZodSymbol, ZodUndefined, ZodNull2, ZodAny, ZodUnknown2, ZodNever2, ZodVoid, ZodArray2, ZodObject2, ZodUnion2, getDiscriminator, ZodDiscriminatedUnion2, ZodIntersection2, ZodTuple, ZodRecord2, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral2, ZodEnum2, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional2, ZodNullable2, ZodDefault2, ZodCatch2, ZodNaN, ZodBranded, ZodPipeline, ZodReadonly2, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType;
|
|
53326
53324
|
var init_types3 = __esm({
|
|
53327
53325
|
"../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js"() {
|
|
53328
53326
|
init_ZodError();
|
|
@@ -56399,7 +56397,6 @@ var init_types3 = __esm({
|
|
|
56399
56397
|
...processCreateParams(params)
|
|
56400
56398
|
});
|
|
56401
56399
|
};
|
|
56402
|
-
BRAND = Symbol("zod_brand");
|
|
56403
56400
|
ZodBranded = class extends ZodType2 {
|
|
56404
56401
|
_parse(input) {
|
|
56405
56402
|
const { ctx } = this._processInputParams(input);
|
|
@@ -56695,7 +56692,7 @@ var init_v4_mini = __esm({
|
|
|
56695
56692
|
}
|
|
56696
56693
|
});
|
|
56697
56694
|
|
|
56698
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
56695
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
56699
56696
|
function isZ4Schema(s) {
|
|
56700
56697
|
const schema = s;
|
|
56701
56698
|
return !!schema._zod;
|
|
@@ -56839,18 +56836,18 @@ function getLiteralValue(schema) {
|
|
|
56839
56836
|
return void 0;
|
|
56840
56837
|
}
|
|
56841
56838
|
var init_zod_compat = __esm({
|
|
56842
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
56839
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js"() {
|
|
56843
56840
|
init_v3();
|
|
56844
56841
|
init_v4_mini();
|
|
56845
56842
|
}
|
|
56846
56843
|
});
|
|
56847
56844
|
|
|
56848
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
56845
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
56849
56846
|
function isTerminal(status) {
|
|
56850
56847
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
56851
56848
|
}
|
|
56852
56849
|
var init_interfaces = __esm({
|
|
56853
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
56850
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js"() {
|
|
56854
56851
|
}
|
|
56855
56852
|
});
|
|
56856
56853
|
|
|
@@ -56858,7 +56855,7 @@ var init_interfaces = __esm({
|
|
|
56858
56855
|
var ignoreOverride, defaultOptions, getDefaultOptions;
|
|
56859
56856
|
var init_Options = __esm({
|
|
56860
56857
|
"../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js"() {
|
|
56861
|
-
ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
56858
|
+
ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
56862
56859
|
defaultOptions = {
|
|
56863
56860
|
name: void 0,
|
|
56864
56861
|
$refStrategy: "root",
|
|
@@ -58427,7 +58424,7 @@ var init_esm9 = __esm({
|
|
|
58427
58424
|
}
|
|
58428
58425
|
});
|
|
58429
58426
|
|
|
58430
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
58427
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
58431
58428
|
function mapMiniTarget(t) {
|
|
58432
58429
|
if (!t)
|
|
58433
58430
|
return "draft-7";
|
|
@@ -58469,14 +58466,14 @@ function parseWithCompat(schema, data) {
|
|
|
58469
58466
|
return result.data;
|
|
58470
58467
|
}
|
|
58471
58468
|
var init_zod_json_schema_compat = __esm({
|
|
58472
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
58469
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js"() {
|
|
58473
58470
|
init_v4_mini();
|
|
58474
58471
|
init_zod_compat();
|
|
58475
58472
|
init_esm9();
|
|
58476
58473
|
}
|
|
58477
58474
|
});
|
|
58478
58475
|
|
|
58479
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
58476
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
58480
58477
|
function isPlainObject3(value) {
|
|
58481
58478
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
58482
58479
|
}
|
|
@@ -58498,7 +58495,7 @@ function mergeCapabilities(base, additional) {
|
|
|
58498
58495
|
}
|
|
58499
58496
|
var DEFAULT_REQUEST_TIMEOUT_MSEC, Protocol;
|
|
58500
58497
|
var init_protocol = __esm({
|
|
58501
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
58498
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js"() {
|
|
58502
58499
|
init_zod_compat();
|
|
58503
58500
|
init_types();
|
|
58504
58501
|
init_interfaces();
|
|
@@ -58714,6 +58711,10 @@ var init_protocol = __esm({
|
|
|
58714
58711
|
this._progressHandlers.clear();
|
|
58715
58712
|
this._taskProgressTokens.clear();
|
|
58716
58713
|
this._pendingDebouncedNotifications.clear();
|
|
58714
|
+
for (const info2 of this._timeoutInfo.values()) {
|
|
58715
|
+
clearTimeout(info2.timeoutId);
|
|
58716
|
+
}
|
|
58717
|
+
this._timeoutInfo.clear();
|
|
58717
58718
|
for (const controller of this._requestHandlerAbortControllers.values()) {
|
|
58718
58719
|
controller.abort();
|
|
58719
58720
|
}
|
|
@@ -58844,7 +58845,9 @@ var init_protocol = __esm({
|
|
|
58844
58845
|
await capturedTransport?.send(errorResponse);
|
|
58845
58846
|
}
|
|
58846
58847
|
}).catch((error51) => this._onerror(new Error(`Failed to send response: ${error51}`))).finally(() => {
|
|
58847
|
-
this._requestHandlerAbortControllers.
|
|
58848
|
+
if (this._requestHandlerAbortControllers.get(request2.id) === abortController) {
|
|
58849
|
+
this._requestHandlerAbortControllers.delete(request2.id);
|
|
58850
|
+
}
|
|
58848
58851
|
});
|
|
58849
58852
|
}
|
|
58850
58853
|
_onprogress(notification) {
|
|
@@ -66202,7 +66205,7 @@ var require_dist = __commonJS({
|
|
|
66202
66205
|
}
|
|
66203
66206
|
});
|
|
66204
66207
|
|
|
66205
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66208
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
66206
66209
|
function createDefaultAjvInstance() {
|
|
66207
66210
|
const ajv = new import_ajv.default({
|
|
66208
66211
|
strict: false,
|
|
@@ -66216,7 +66219,7 @@ function createDefaultAjvInstance() {
|
|
|
66216
66219
|
}
|
|
66217
66220
|
var import_ajv, import_ajv_formats, AjvJsonSchemaValidator;
|
|
66218
66221
|
var init_ajv_provider = __esm({
|
|
66219
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66222
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js"() {
|
|
66220
66223
|
import_ajv = __toESM(require_ajv(), 1);
|
|
66221
66224
|
import_ajv_formats = __toESM(require_dist(), 1);
|
|
66222
66225
|
AjvJsonSchemaValidator = class {
|
|
@@ -66275,10 +66278,10 @@ var init_ajv_provider = __esm({
|
|
|
66275
66278
|
}
|
|
66276
66279
|
});
|
|
66277
66280
|
|
|
66278
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66281
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
66279
66282
|
var ExperimentalServerTasks;
|
|
66280
66283
|
var init_server = __esm({
|
|
66281
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66284
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js"() {
|
|
66282
66285
|
init_types();
|
|
66283
66286
|
ExperimentalServerTasks = class {
|
|
66284
66287
|
constructor(_server) {
|
|
@@ -66494,7 +66497,7 @@ var init_server = __esm({
|
|
|
66494
66497
|
}
|
|
66495
66498
|
});
|
|
66496
66499
|
|
|
66497
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66500
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
66498
66501
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
66499
66502
|
if (!requests) {
|
|
66500
66503
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -66529,14 +66532,14 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
66529
66532
|
}
|
|
66530
66533
|
}
|
|
66531
66534
|
var init_helpers = __esm({
|
|
66532
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66535
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js"() {
|
|
66533
66536
|
}
|
|
66534
66537
|
});
|
|
66535
66538
|
|
|
66536
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66539
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
66537
66540
|
var Server;
|
|
66538
66541
|
var init_server2 = __esm({
|
|
66539
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66542
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js"() {
|
|
66540
66543
|
init_protocol();
|
|
66541
66544
|
init_types();
|
|
66542
66545
|
init_ajv_provider();
|
|
@@ -66924,7 +66927,7 @@ var init_server2 = __esm({
|
|
|
66924
66927
|
}
|
|
66925
66928
|
});
|
|
66926
66929
|
|
|
66927
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66930
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
66928
66931
|
function isCompletable(schema) {
|
|
66929
66932
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
66930
66933
|
}
|
|
@@ -66934,21 +66937,21 @@ function getCompleter(schema) {
|
|
|
66934
66937
|
}
|
|
66935
66938
|
var COMPLETABLE_SYMBOL, McpZodTypeKind;
|
|
66936
66939
|
var init_completable = __esm({
|
|
66937
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66938
|
-
COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
|
|
66940
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js"() {
|
|
66941
|
+
COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
66939
66942
|
(function(McpZodTypeKind2) {
|
|
66940
66943
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
66941
66944
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
66942
66945
|
}
|
|
66943
66946
|
});
|
|
66944
66947
|
|
|
66945
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66948
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js
|
|
66946
66949
|
var init_uriTemplate = __esm({
|
|
66947
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66950
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js"() {
|
|
66948
66951
|
}
|
|
66949
66952
|
});
|
|
66950
66953
|
|
|
66951
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
66954
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
66952
66955
|
function validateToolName(name) {
|
|
66953
66956
|
const warnings = [];
|
|
66954
66957
|
if (name.length === 0) {
|
|
@@ -67006,15 +67009,15 @@ function validateAndWarnToolName(name) {
|
|
|
67006
67009
|
}
|
|
67007
67010
|
var TOOL_NAME_REGEX;
|
|
67008
67011
|
var init_toolNameValidation = __esm({
|
|
67009
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
67012
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js"() {
|
|
67010
67013
|
TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
67011
67014
|
}
|
|
67012
67015
|
});
|
|
67013
67016
|
|
|
67014
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
67017
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
67015
67018
|
var ExperimentalMcpServerTasks;
|
|
67016
67019
|
var init_mcp_server2 = __esm({
|
|
67017
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
67020
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js"() {
|
|
67018
67021
|
ExperimentalMcpServerTasks = class {
|
|
67019
67022
|
constructor(_mcpServer) {
|
|
67020
67023
|
this._mcpServer = _mcpServer;
|
|
@@ -67038,7 +67041,7 @@ var init_zod = __esm({
|
|
|
67038
67041
|
}
|
|
67039
67042
|
});
|
|
67040
67043
|
|
|
67041
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
67044
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
67042
67045
|
function isZodTypeLike(value) {
|
|
67043
67046
|
return value !== null && typeof value === "object" && "parse" in value && typeof value.parse === "function" && "safeParse" in value && typeof value.safeParse === "function";
|
|
67044
67047
|
}
|
|
@@ -67064,6 +67067,9 @@ function getZodSchemaObject(schema) {
|
|
|
67064
67067
|
if (isZodRawShapeCompat(schema)) {
|
|
67065
67068
|
return objectFromShape(schema);
|
|
67066
67069
|
}
|
|
67070
|
+
if (!isZodSchemaInstance(schema)) {
|
|
67071
|
+
throw new Error("inputSchema must be a Zod schema or raw shape, received an unrecognized object");
|
|
67072
|
+
}
|
|
67067
67073
|
return schema;
|
|
67068
67074
|
}
|
|
67069
67075
|
function promptArgumentsFromSchema(schema) {
|
|
@@ -67103,7 +67109,7 @@ function createCompletionResult(suggestions) {
|
|
|
67103
67109
|
}
|
|
67104
67110
|
var McpServer, EMPTY_OBJECT_JSON_SCHEMA, EMPTY_COMPLETION_RESULT;
|
|
67105
67111
|
var init_mcp = __esm({
|
|
67106
|
-
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
67112
|
+
"../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js"() {
|
|
67107
67113
|
init_server2();
|
|
67108
67114
|
init_zod_compat();
|
|
67109
67115
|
init_zod_json_schema_compat();
|
|
@@ -67736,6 +67742,9 @@ var init_mcp = __esm({
|
|
|
67736
67742
|
annotations = rest.shift();
|
|
67737
67743
|
}
|
|
67738
67744
|
} else if (typeof firstArg === "object" && firstArg !== null) {
|
|
67745
|
+
if (Object.values(firstArg).some((v) => typeof v === "object" && v !== null)) {
|
|
67746
|
+
throw new Error(`Tool ${name} expected a Zod schema or ToolAnnotations, but received an unrecognized object`);
|
|
67747
|
+
}
|
|
67739
67748
|
annotations = rest.shift();
|
|
67740
67749
|
}
|
|
67741
67750
|
}
|
|
@@ -67902,7 +67911,7 @@ var init_core3 = __esm({
|
|
|
67902
67911
|
NEVER2 = Object.freeze({
|
|
67903
67912
|
status: "aborted"
|
|
67904
67913
|
});
|
|
67905
|
-
$brand2 = Symbol("zod_brand");
|
|
67914
|
+
$brand2 = /* @__PURE__ */ Symbol("zod_brand");
|
|
67906
67915
|
$ZodAsyncError2 = class extends Error {
|
|
67907
67916
|
constructor() {
|
|
67908
67917
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -68523,7 +68532,7 @@ function uint8ArrayToHex(bytes) {
|
|
|
68523
68532
|
var EVALUATING, captureStackTrace2, allowsEval2, getParsedType3, propertyKeyTypes2, primitiveTypes2, NUMBER_FORMAT_RANGES2, BIGINT_FORMAT_RANGES2, Class2;
|
|
68524
68533
|
var init_util3 = __esm({
|
|
68525
68534
|
"../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js"() {
|
|
68526
|
-
EVALUATING = Symbol("evaluating");
|
|
68535
|
+
EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
68527
68536
|
captureStackTrace2 = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
|
|
68528
68537
|
};
|
|
68529
68538
|
allowsEval2 = cached2(() => {
|
|
@@ -77526,8 +77535,8 @@ function registry2() {
|
|
|
77526
77535
|
var _a2, $output2, $input2, $ZodRegistry2, globalRegistry2;
|
|
77527
77536
|
var init_registries2 = __esm({
|
|
77528
77537
|
"../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js"() {
|
|
77529
|
-
$output2 = Symbol("ZodOutput");
|
|
77530
|
-
$input2 = Symbol("ZodInput");
|
|
77538
|
+
$output2 = /* @__PURE__ */ Symbol("ZodOutput");
|
|
77539
|
+
$input2 = /* @__PURE__ */ Symbol("ZodInput");
|
|
77531
77540
|
$ZodRegistry2 = class {
|
|
77532
77541
|
constructor() {
|
|
77533
77542
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -82577,7 +82586,7 @@ function registerMcpTools(server2, loader, getScope, onToolInvoked) {
|
|
|
82577
82586
|
{
|
|
82578
82587
|
title: "List Decisions",
|
|
82579
82588
|
description: "List all resolved product decisions. Returns summary fields: id, headline, elementEid, appName, resolvedAt. Use apply_decision to implement a specific decision, or get_decision_detail for element images and thread context.",
|
|
82580
|
-
annotations: { readOnlyHint: true }
|
|
82589
|
+
annotations: { readOnlyHint: true, destructiveHint: false }
|
|
82581
82590
|
},
|
|
82582
82591
|
async () => {
|
|
82583
82592
|
onToolInvoked?.("list_decisions");
|
|
@@ -82599,7 +82608,7 @@ function registerMcpTools(server2, loader, getScope, onToolInvoked) {
|
|
|
82599
82608
|
title: "Apply Decision",
|
|
82600
82609
|
description: "Get a resolved decision with a screenshot and implementation instructions. Returns everything needed to implement the code change: decision context, element targeting, page screenshot, and step-by-step instructions. Use get_decision_detail only when you need a cropped element image or thread context.",
|
|
82601
82610
|
inputSchema: { id: external_exports.string().describe("Decision ID from list_decisions") },
|
|
82602
|
-
annotations: { readOnlyHint: true }
|
|
82611
|
+
annotations: { readOnlyHint: true, destructiveHint: false }
|
|
82603
82612
|
},
|
|
82604
82613
|
async ({ id }) => {
|
|
82605
82614
|
onToolInvoked?.("apply_decision");
|
|
@@ -82628,7 +82637,7 @@ function registerMcpTools(server2, loader, getScope, onToolInvoked) {
|
|
|
82628
82637
|
id: external_exports.string().describe("Decision ID from list_decisions"),
|
|
82629
82638
|
include: external_exports.enum(["image", "context", "all"]).describe("What to include: image (cropped element), context (thread discussion), or all")
|
|
82630
82639
|
},
|
|
82631
|
-
annotations: { readOnlyHint: true }
|
|
82640
|
+
annotations: { readOnlyHint: true, destructiveHint: false }
|
|
82632
82641
|
},
|
|
82633
82642
|
async ({ id, include }) => {
|
|
82634
82643
|
onToolInvoked?.("get_decision_detail");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lace-mcp",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/cli.js",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
16
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
17
17
|
"zod": "^3.25.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"esbuild": "^0.
|
|
21
|
-
"tsx": "^4.
|
|
20
|
+
"esbuild": "^0.28.0",
|
|
21
|
+
"tsx": "^4.21.0",
|
|
22
22
|
"typescript": "^5.8.0"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|