@avallon-labs/mcp 72.1.0-staging.1526 → 72.3.0-staging.1539

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
@@ -56,5 +56,5 @@ function describeErrors(body) {
56
56
 
57
57
  // src/index.ts
58
58
  setupFetch();
59
- await import("./server-ZQTEQX3I.js");
59
+ await import("./server-GYI5MNCW.js");
60
60
  //# sourceMappingURL=index.js.map
@@ -13155,6 +13155,7 @@ var CreateWorkerResponse = zod.object({
13155
13155
  "permissions": zod.array(zod.enum(["inboxes:send", "artifacts:write", "outbound-jobs:schedule", "cases:write", "schedules:write", "information-requests:write", "forms:request"])).describe("Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."),
13156
13156
  "model": zod.string(),
13157
13157
  "fast_mode": zod.boolean(),
13158
+ "effort_level": zod.union([zod.enum(["low", "medium", "high", "max"]), zod.null()]),
13158
13159
  "max_concurrent_runs": zod.union([zod.number().int().min(createWorkerResponseDataMaxConcurrentRunsOneMin).max(createWorkerResponseDataMaxConcurrentRunsOneMax), zod.null()])
13159
13160
  }),
13160
13161
  "message": zod.string()
@@ -13237,6 +13238,7 @@ var GetWorkerResponse = zod.object({
13237
13238
  "permissions": zod.array(zod.enum(["inboxes:send", "artifacts:write", "outbound-jobs:schedule", "cases:write", "schedules:write", "information-requests:write", "forms:request"])).describe("Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."),
13238
13239
  "model": zod.string(),
13239
13240
  "fast_mode": zod.boolean(),
13241
+ "effort_level": zod.union([zod.enum(["low", "medium", "high", "max"]), zod.null()]),
13240
13242
  "max_concurrent_runs": zod.union([zod.number().int().min(getWorkerResponseDataMaxConcurrentRunsOneMin).max(getWorkerResponseDataMaxConcurrentRunsOneMax), zod.null()])
13241
13243
  }),
13242
13244
  "message": zod.string()
@@ -13259,6 +13261,7 @@ var UpdateWorkerBody = zod.object({
13259
13261
  })).optional().describe("Replace the MCP servers the worker connects to. Omit to leave unchanged; pass [] to disconnect all."),
13260
13262
  "model": zod.string().min(1).optional().describe("LLM model identifier the worker runs on. Omit to leave unchanged."),
13261
13263
  "fast_mode": zod.boolean().optional().describe("Toggle fast mode for the worker. Omit to leave unchanged."),
13264
+ "effort_level": zod.union([zod.enum(["low", "medium", "high", "max"]), zod.null()]).optional().describe("How much the worker thinks before each step. Omit to leave unchanged; pass null for the model's default."),
13262
13265
  "max_concurrent_runs": zod.union([zod.number(), zod.null()]).optional().describe("Most runs of this worker allowed in flight at once, per environment. Omit to leave unchanged; pass null to remove the limit."),
13263
13266
  "schema": zod.record(zod.string(), zod.unknown()).optional(),
13264
13267
  "tools": zod.array(zod.string().uuid()).optional().describe("Replace the worker's attached tool set. Omit to leave unchanged; pass [] to clear."),
@@ -13297,6 +13300,7 @@ var UpdateWorkerResponse = zod.object({
13297
13300
  "permissions": zod.array(zod.enum(["inboxes:send", "artifacts:write", "outbound-jobs:schedule", "cases:write", "schedules:write", "information-requests:write", "forms:request"])).describe("Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."),
13298
13301
  "model": zod.string(),
13299
13302
  "fast_mode": zod.boolean(),
13303
+ "effort_level": zod.union([zod.enum(["low", "medium", "high", "max"]), zod.null()]),
13300
13304
  "max_concurrent_runs": zod.union([zod.number().int().min(updateWorkerResponseDataMaxConcurrentRunsOneMin).max(updateWorkerResponseDataMaxConcurrentRunsOneMax), zod.null()])
13301
13305
  }),
13302
13306
  "message": zod.string()
@@ -13374,6 +13378,7 @@ var UpdateWorkerMcpsResponse = zod.object({
13374
13378
  "permissions": zod.array(zod.enum(["inboxes:send", "artifacts:write", "outbound-jobs:schedule", "cases:write", "schedules:write", "information-requests:write", "forms:request"])).describe("Core Plane operations the worker's runs are authorized to perform. Executing a tool attached to the worker is governed by the attachment, not by this list."),
13375
13379
  "model": zod.string(),
13376
13380
  "fast_mode": zod.boolean(),
13381
+ "effort_level": zod.union([zod.enum(["low", "medium", "high", "max"]), zod.null()]),
13377
13382
  "max_concurrent_runs": zod.union([zod.number().int().min(updateWorkerMcpsResponseDataMaxConcurrentRunsOneMin).max(updateWorkerMcpsResponseDataMaxConcurrentRunsOneMax), zod.null()])
13378
13383
  }),
13379
13384
  "message": zod.string()
@@ -13487,6 +13492,7 @@ var GetWorkerVersionResponse = zod.object({
13487
13492
  "permissions": zod.array(zod.enum(["inboxes:send", "artifacts:write", "outbound-jobs:schedule", "cases:write", "schedules:write", "information-requests:write", "forms:request"])),
13488
13493
  "model": zod.string(),
13489
13494
  "fast_mode": zod.boolean(),
13495
+ "effort_level": zod.union([zod.enum(["low", "medium", "high", "max"]), zod.null()]),
13490
13496
  "max_concurrent_runs": zod.union([zod.number().int().min(getWorkerVersionResponseDataMaxConcurrentRunsOneMin).max(getWorkerVersionResponseDataMaxConcurrentRunsOneMax), zod.null()]),
13491
13497
  "tool_ids": zod.array(zod.string()),
13492
13498
  "secret_ids": zod.array(zod.string()),
@@ -19880,7 +19886,7 @@ var createMcpServer = (options) => {
19880
19886
  "listDispatches",
19881
19887
  {
19882
19888
  title: "List dispatches",
19883
- description: "List the organization's dispatches, newest occurrence first.\n\nA dispatch is one occurrence of a trigger in one environment, carried out on its own: a schedule produces one per environment it runs in every time it fires, an inbound email produces one for the environment its inbox received it in, a resolved information request produces one that restarts the worker that asked, an ended call produces one that runs its voice agent's post-call processor once its transcript is ready, and creating a worker run through the API produces a `manual` one, carried out before the request returns. Listing them shows what a trigger has actually done, including occurrences that never produced anything.\n\n- `pending` \u2014 not carried out yet: waiting to be picked up, in flight, or waiting on a retry after an earlier pickup did not complete.\n- `dispatched` \u2014 carried out.\n- `abandoned` \u2014 gave up, because the occurrence passed its `expires_at` deadline before it could be carried out, or, for a `manual` dispatch, because the request that created it failed.\n\n`attempts` counts how many times the occurrence has been picked up, not how many times it failed: a dispatch carried out on the first pickup ends at `attempts: 1`, and a higher count means earlier pickups did not complete.\n\n`target` is what the occurrence produced: a worker run, an extractor job (for an email whose inbox extracts or a call whose voice agent extracts), or a tool call (for an `execute_tool` schedule). It is null until the dispatch is carried out, and for a tool call until the tool has run.\n\nNarrow to one trigger with `trigger_type` and `trigger_id` \u2014 the schedule's ID for a schedule, the email's ID for an email, the request's ID for an information request, the call's ID for a call. `trigger_id` requires `trigger_type`.",
19889
+ description: "List the organization's dispatches, newest occurrence first.\n\nA dispatch is one occurrence of a trigger in one environment, carried out on its own: a schedule produces one per environment it runs in every time it fires, an inbound email produces one for the environment its inbox received it in, a resolved information request produces one that restarts the worker that asked, an ended call produces one that runs its voice agent's post-call processor once its transcript is ready, and creating a worker run or an extractor job through the API produces a `manual` one, carried out before the request returns. Listing them shows what a trigger has actually done, including occurrences that never produced anything.\n\n- `pending` \u2014 not carried out yet: waiting to be picked up, in flight, or waiting on a retry after an earlier pickup did not complete.\n- `dispatched` \u2014 carried out.\n- `abandoned` \u2014 gave up, because the occurrence passed its `expires_at` deadline before it could be carried out, or, for a `manual` dispatch, because the request that created it failed.\n\n`attempts` counts how many times the occurrence has been picked up, not how many times it failed: a dispatch carried out on the first pickup ends at `attempts: 1`, and a higher count means earlier pickups did not complete.\n\n`target` is what the occurrence produced: a worker run, an extractor job, or a tool call (for an `execute_tool` schedule). It is null until the dispatch is carried out, and for a tool call until the tool has run.\n\nNarrow to one trigger with `trigger_type` and `trigger_id` \u2014 the schedule's ID for a schedule, the email's ID for an email, the request's ID for an information request, the call's ID for a call. `trigger_id` requires `trigger_type`.",
19884
19890
  inputSchema: {
19885
19891
  queryParams: ListDispatchesQueryParams
19886
19892
  },
@@ -20687,4 +20693,4 @@ var transport = new StdioServerTransport();
20687
20693
  server.connect(transport).then(() => {
20688
20694
  console.error("MCP server running on stdio");
20689
20695
  }).catch(console.error);
20690
- //# sourceMappingURL=server-ZQTEQX3I.js.map
20696
+ //# sourceMappingURL=server-GYI5MNCW.js.map