@avallon-labs/mcp 69.5.0-staging.1482 → 69.7.0-staging.1484
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
CHANGED
|
@@ -15308,6 +15308,7 @@ var GetToolResponse = zod.object({
|
|
|
15308
15308
|
"code": zod.string(),
|
|
15309
15309
|
"schema": zod.record(zod.string(), zod.unknown()),
|
|
15310
15310
|
"secret_ids": zod.array(zod.string()).describe("Secrets attached to the tool. A tool with attached secrets takes its execution environment exclusively from the secret store, each secret arriving under its own env key."),
|
|
15311
|
+
"eval_behavior": zod.enum(["lookup", "write"]).describe("How evals treat the tool: `lookup` expects the response recorded for the same input; `write` marks a tool that changes an outside system, which the fixture match rate leaves out."),
|
|
15311
15312
|
"versions": zod.object({
|
|
15312
15313
|
"latest": zod.number().int().min(getToolResponseDataToolVersionsLatestMin).max(getToolResponseDataToolVersionsLatestMax).describe("Newest config version. The code, schema and secrets in this response are its snapshot."),
|
|
15313
15314
|
"live": zod.number().int().min(getToolResponseDataToolVersionsLiveMin).max(getToolResponseDataToolVersionsLiveMax).describe("Config version runs in the `live` environment execute."),
|
|
@@ -15324,7 +15325,8 @@ var UpdateToolBody = zod.object({
|
|
|
15324
15325
|
"name": zod.string().min(1).optional(),
|
|
15325
15326
|
"code": zod.string().min(1).optional(),
|
|
15326
15327
|
"description": zod.string().min(1).optional(),
|
|
15327
|
-
"secret_ids": zod.array(zod.string().uuid()).optional().describe("Replace the tool's attached secret set. Omit to leave unchanged; pass [] to detach all.")
|
|
15328
|
+
"secret_ids": zod.array(zod.string().uuid()).optional().describe("Replace the tool's attached secret set. Omit to leave unchanged; pass [] to detach all."),
|
|
15329
|
+
"eval_behavior": zod.enum(["lookup", "write"]).optional().describe("How evals treat the tool: `lookup` expects the response recorded for the same input; `write` marks a tool that changes an outside system, which the fixture match rate leaves out.")
|
|
15328
15330
|
});
|
|
15329
15331
|
var updateToolResponseDataToolVersionsLatestMin = -9007199254740991;
|
|
15330
15332
|
var updateToolResponseDataToolVersionsLatestMax = 9007199254740991;
|
|
@@ -15341,6 +15343,7 @@ var UpdateToolResponse = zod.object({
|
|
|
15341
15343
|
"code": zod.string(),
|
|
15342
15344
|
"schema": zod.record(zod.string(), zod.unknown()),
|
|
15343
15345
|
"secret_ids": zod.array(zod.string()).describe("Secrets attached to the tool. A tool with attached secrets takes its execution environment exclusively from the secret store, each secret arriving under its own env key."),
|
|
15346
|
+
"eval_behavior": zod.enum(["lookup", "write"]).describe("How evals treat the tool: `lookup` expects the response recorded for the same input; `write` marks a tool that changes an outside system, which the fixture match rate leaves out."),
|
|
15344
15347
|
"versions": zod.object({
|
|
15345
15348
|
"latest": zod.number().int().min(updateToolResponseDataToolVersionsLatestMin).max(updateToolResponseDataToolVersionsLatestMax).describe("Newest config version. The code, schema and secrets in this response are its snapshot."),
|
|
15346
15349
|
"live": zod.number().int().min(updateToolResponseDataToolVersionsLiveMin).max(updateToolResponseDataToolVersionsLiveMax).describe("Config version runs in the `live` environment execute."),
|
|
@@ -15464,6 +15467,7 @@ var listToolCallsQuerySortByDefault = `created_at`;
|
|
|
15464
15467
|
var listToolCallsQuerySortOrderDefault = `desc`;
|
|
15465
15468
|
var ListToolCallsQueryParams = zod.object({
|
|
15466
15469
|
"tool_id": zod.string().uuid().optional(),
|
|
15470
|
+
"outcome": zod.enum(["success", "failed"]).optional(),
|
|
15467
15471
|
"count": zod.number().min(1).max(listToolCallsQueryCountMax).default(listToolCallsQueryCountDefault),
|
|
15468
15472
|
"offset": zod.number().min(listToolCallsQueryOffsetMin).default(listToolCallsQueryOffsetDefault),
|
|
15469
15473
|
"sort_by": zod.enum(["created_at"]).default(listToolCallsQuerySortByDefault),
|
|
@@ -15476,6 +15480,7 @@ var ListToolCallsResponse = zod.object({
|
|
|
15476
15480
|
"tool_version": zod.number(),
|
|
15477
15481
|
"environment": zod.enum(["live", "test"]),
|
|
15478
15482
|
"outcome": zod.enum(["success", "failed"]),
|
|
15483
|
+
"duration_ms": zod.union([zod.number(), zod.null()]).describe("Null when the call was rejected before running, or recorded before durations were stored"),
|
|
15479
15484
|
"created_by": zod.string().describe("Actor that executed the tool"),
|
|
15480
15485
|
"created_at": zod.string().datetime({ "offset": true })
|
|
15481
15486
|
})),
|
|
@@ -15496,6 +15501,7 @@ var GetToolCallResponse = zod.object({
|
|
|
15496
15501
|
"tool_version": zod.number(),
|
|
15497
15502
|
"environment": zod.enum(["live", "test"]),
|
|
15498
15503
|
"outcome": zod.enum(["success", "failed"]),
|
|
15504
|
+
"duration_ms": zod.union([zod.number(), zod.null()]).describe("Null when the call was rejected before running, or recorded before durations were stored"),
|
|
15499
15505
|
"created_by": zod.string().describe("Actor that executed the tool"),
|
|
15500
15506
|
"created_at": zod.string().datetime({ "offset": true }),
|
|
15501
15507
|
"dispatch": zod.union([zod.object({
|
|
@@ -15572,6 +15578,7 @@ var WorkerGetToolResponse = zod.object({
|
|
|
15572
15578
|
"code": zod.string(),
|
|
15573
15579
|
"schema": zod.record(zod.string(), zod.unknown()),
|
|
15574
15580
|
"secret_ids": zod.array(zod.string()).describe("Secrets attached to the tool. A tool with attached secrets takes its execution environment exclusively from the secret store, each secret arriving under its own env key."),
|
|
15581
|
+
"eval_behavior": zod.enum(["lookup", "write"]).describe("How evals treat the tool: `lookup` expects the response recorded for the same input; `write` marks a tool that changes an outside system, which the fixture match rate leaves out."),
|
|
15575
15582
|
"versions": zod.object({
|
|
15576
15583
|
"latest": zod.number().int().min(workerGetToolResponseDataToolVersionsLatestMin).max(workerGetToolResponseDataToolVersionsLatestMax).describe("Newest config version. The code, schema and secrets in this response are its snapshot."),
|
|
15577
15584
|
"live": zod.number().int().min(workerGetToolResponseDataToolVersionsLiveMin).max(workerGetToolResponseDataToolVersionsLiveMax).describe("Config version runs in the `live` environment execute."),
|
|
@@ -19218,7 +19225,7 @@ var createMcpServer = (options) => {
|
|
|
19218
19225
|
"updateTool",
|
|
19219
19226
|
{
|
|
19220
19227
|
title: "Update tool",
|
|
19221
|
-
description: "Update a code tool's name, description, code, or
|
|
19228
|
+
description: "Update a code tool's name, description, code, attached secrets or eval behavior. All fields are optional \u2014 only provided fields are updated.\n\nChanging the code, description or attached secrets creates a new config version; runs keep executing the versions promoted to live and test until that version is promoted. Renaming and changing the eval behavior do not create a version.",
|
|
19222
19229
|
inputSchema: {
|
|
19223
19230
|
pathParams: UpdateToolParams,
|
|
19224
19231
|
bodyParams: UpdateToolBody.optional()
|
|
@@ -19651,4 +19658,4 @@ var transport = new StdioServerTransport();
|
|
|
19651
19658
|
server.connect(transport).then(() => {
|
|
19652
19659
|
console.error("MCP server running on stdio");
|
|
19653
19660
|
}).catch(console.error);
|
|
19654
|
-
//# sourceMappingURL=server-
|
|
19661
|
+
//# sourceMappingURL=server-ZIYZ3SP5.js.map
|