@avallon-labs/mcp 54.2.0-staging.1244 → 54.3.0

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
@@ -46,5 +46,5 @@ function setupFetch() {
46
46
 
47
47
  // src/index.ts
48
48
  setupFetch();
49
- await import("./server-35HQQNHY.js");
49
+ await import("./server-L4QBVRPT.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -10528,6 +10528,10 @@ var UpdateWorkerParams = zod.object({
10528
10528
  });
10529
10529
  var UpdateWorkerBody = zod.object({
10530
10530
  "name": zod.string().min(1).optional(),
10531
+ "prompt": zod.string().min(1).optional().describe("Replace the worker's prompt. Requires the `prompts:write` permission."),
10532
+ "mcps": zod.array(zod.object({
10533
+ "name": zod.enum(["ventiv", "klear", "klear-browser", "demo-browser", "demo-claims", "filehandler-browser"]).describe("MCP server identifier.")
10534
+ })).optional().describe("Replace the MCP servers the worker connects to. Omit to leave unchanged; pass [] to disconnect all."),
10531
10535
  "model": zod.string().min(1).optional().describe("LLM model identifier the worker runs on. Omit to leave unchanged."),
10532
10536
  "fast_mode": zod.boolean().optional().describe("Toggle fast mode for the worker. Omit to leave unchanged."),
10533
10537
  "schema": zod.record(zod.string(), zod.unknown()).optional(),
@@ -14121,7 +14125,7 @@ var createMcpServer = (options) => {
14121
14125
  "updateWorker",
14122
14126
  {
14123
14127
  title: "Update worker",
14124
- description: "Update the configuration of a worker, including the attached tool set.",
14128
+ description: "Partially update a worker. Omitted fields are left unchanged, and one request creates at most one new config version. Updating `prompt` requires the `prompts:write` permission.",
14125
14129
  inputSchema: {
14126
14130
  pathParams: UpdateWorkerParams,
14127
14131
  bodyParams: UpdateWorkerBody.optional()
@@ -14154,8 +14158,8 @@ var createMcpServer = (options) => {
14154
14158
  tools.updateWorkerPrompt = server2.registerTool(
14155
14159
  "updateWorkerPrompt",
14156
14160
  {
14157
- title: "Update worker prompt",
14158
- description: "Update the prompt for a worker. Internal use only.",
14161
+ title: "Update worker prompt (deprecated)",
14162
+ description: "Update the prompt for a worker. Internal use only.\n\n**Deprecated:** Use `PATCH /v1/workers/{workerId}` instead.",
14159
14163
  inputSchema: {
14160
14164
  pathParams: UpdateWorkerPromptParams,
14161
14165
  bodyParams: UpdateWorkerPromptBody.optional()
@@ -14184,8 +14188,8 @@ var createMcpServer = (options) => {
14184
14188
  tools.updateWorkerMcps = server2.registerTool(
14185
14189
  "updateWorkerMcps",
14186
14190
  {
14187
- title: "Update worker MCP servers",
14188
- description: "Replace the set of MCP servers a worker connects to. Pass an empty array to disconnect.",
14191
+ title: "Update worker MCP servers (deprecated)",
14192
+ description: "Replace the set of MCP servers a worker connects to. Pass an empty array to disconnect.\n\n**Deprecated:** Use `PATCH /v1/workers/{workerId}` instead.",
14189
14193
  inputSchema: {
14190
14194
  pathParams: UpdateWorkerMcpsParams,
14191
14195
  bodyParams: UpdateWorkerMcpsBody.optional()
@@ -15650,4 +15654,4 @@ var transport = new StdioServerTransport();
15650
15654
  server.connect(transport).then(() => {
15651
15655
  console.error("MCP server running on stdio");
15652
15656
  }).catch(console.error);
15653
- //# sourceMappingURL=server-35HQQNHY.js.map
15657
+ //# sourceMappingURL=server-L4QBVRPT.js.map