@avallon-labs/mcp 69.5.0-staging.1482 → 69.6.0-staging.1483
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."),
|
|
@@ -15572,6 +15575,7 @@ var WorkerGetToolResponse = zod.object({
|
|
|
15572
15575
|
"code": zod.string(),
|
|
15573
15576
|
"schema": zod.record(zod.string(), zod.unknown()),
|
|
15574
15577
|
"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."),
|
|
15578
|
+
"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
15579
|
"versions": zod.object({
|
|
15576
15580
|
"latest": zod.number().int().min(workerGetToolResponseDataToolVersionsLatestMin).max(workerGetToolResponseDataToolVersionsLatestMax).describe("Newest config version. The code, schema and secrets in this response are its snapshot."),
|
|
15577
15581
|
"live": zod.number().int().min(workerGetToolResponseDataToolVersionsLiveMin).max(workerGetToolResponseDataToolVersionsLiveMax).describe("Config version runs in the `live` environment execute."),
|
|
@@ -19218,7 +19222,7 @@ var createMcpServer = (options) => {
|
|
|
19218
19222
|
"updateTool",
|
|
19219
19223
|
{
|
|
19220
19224
|
title: "Update tool",
|
|
19221
|
-
description: "Update a code tool's name, description, code, or
|
|
19225
|
+
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
19226
|
inputSchema: {
|
|
19223
19227
|
pathParams: UpdateToolParams,
|
|
19224
19228
|
bodyParams: UpdateToolBody.optional()
|
|
@@ -19651,4 +19655,4 @@ var transport = new StdioServerTransport();
|
|
|
19651
19655
|
server.connect(transport).then(() => {
|
|
19652
19656
|
console.error("MCP server running on stdio");
|
|
19653
19657
|
}).catch(console.error);
|
|
19654
|
-
//# sourceMappingURL=server-
|
|
19658
|
+
//# sourceMappingURL=server-JGXXRVLB.js.map
|