@avallon-labs/mcp 42.3.0 → 43.0.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-LTIAFBWR.js");
49
+ await import("./server-EO5QEKBX.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -8988,6 +8988,9 @@ var CreateScheduleBody = zod.object({
8988
8988
  )
8989
8989
  })
8990
8990
  ]).describe("When the schedule fires"),
8991
+ environments: zod.array(zod.enum(["live", "test"])).describe(
8992
+ "Environments the schedule fires in. `live` resolves the worker at its live version, `test` at its test version. Listing both fires every occurrence twice, once per version."
8993
+ ),
8991
8994
  name: zod.string().min(1).max(createScheduleBodyNameMax).optional().describe('Human-readable name, e.g. "Nightly claim sweep"'),
8992
8995
  enabled: zod.boolean().optional().describe(
8993
8996
  "Whether the schedule starts firing right away. Defaults to true. Must be omitted or true for `once` rules."
@@ -9002,6 +9005,9 @@ var listSchedulesQuerySortOrderDefault = `asc`;
9002
9005
  var ListSchedulesQueryParams = zod.object({
9003
9006
  worker_id: zod.string().uuid().optional().describe("Only schedules that trigger this worker"),
9004
9007
  rule_type: zod.enum(["once", "recurring"]).optional().describe("Only schedules whose rule is of this type"),
9008
+ environment: zod.enum(["live", "test"]).optional().describe(
9009
+ "Only schedules that run in this environment. A schedule that runs in both matches either value."
9010
+ ),
9005
9011
  case_id: zod.string().min(1).optional().describe(
9006
9012
  "Only schedules linked to this case. Values are normalized server-side (trimmed and lowercased)."
9007
9013
  ),
@@ -9098,6 +9104,7 @@ var ListSchedulesResponse = zod.object({
9098
9104
  )
9099
9105
  })
9100
9106
  ]).describe("When the schedule fires"),
9107
+ environments: zod.array(zod.enum(["live", "test"])).describe("Environments the schedule fires in"),
9101
9108
  enabled: zod.boolean().describe(
9102
9109
  "Whether the schedule currently fires. Disabled never fires."
9103
9110
  ),
@@ -9195,6 +9202,7 @@ var GetScheduleResponse = zod.object({
9195
9202
  )
9196
9203
  })
9197
9204
  ]).describe("When the schedule fires"),
9205
+ environments: zod.array(zod.enum(["live", "test"])).describe("Environments the schedule fires in"),
9198
9206
  enabled: zod.boolean().describe("Whether the schedule currently fires. Disabled never fires."),
9199
9207
  next_run_at: zod.union([zod.string().datetime({}), zod.null()]).describe(
9200
9208
  "When the schedule fires next, in UTC. Null while disabled, or once a one-off has fired."
@@ -9263,6 +9271,9 @@ var UpdateScheduleBody = zod.object({
9263
9271
  )
9264
9272
  })
9265
9273
  ]).optional().describe("When the schedule fires"),
9274
+ environments: zod.array(zod.enum(["live", "test"])).optional().describe(
9275
+ "Environments the schedule fires in. `live` resolves the worker at its live version, `test` at its test version. Listing both fires every occurrence twice, once per version."
9276
+ ),
9266
9277
  name: zod.union([zod.string().min(1).max(updateScheduleBodyNameOneMax), zod.null()]).optional().describe("Human-readable name. Send null to clear it."),
9267
9278
  enabled: zod.boolean().optional().describe(
9268
9279
  "Whether the schedule fires. Disabled never fires. Must be omitted or true for `once` rules."
@@ -9346,6 +9357,7 @@ var UpdateScheduleResponse = zod.object({
9346
9357
  )
9347
9358
  })
9348
9359
  ]).describe("When the schedule fires"),
9360
+ environments: zod.array(zod.enum(["live", "test"])).describe("Environments the schedule fires in"),
9349
9361
  enabled: zod.boolean().describe("Whether the schedule currently fires. Disabled never fires."),
9350
9362
  next_run_at: zod.union([zod.string().datetime({}), zod.null()]).describe(
9351
9363
  "When the schedule fires next, in UTC. Null while disabled, or once a one-off has fired."
@@ -9398,6 +9410,7 @@ var ListDispatchesResponse = zod.object({
9398
9410
  ]),
9399
9411
  due_at: zod.string().datetime({}),
9400
9412
  expires_at: zod.string().datetime({}),
9413
+ environment: zod.enum(["live", "test"]),
9401
9414
  status: zod.enum(["pending", "dispatched", "abandoned"]),
9402
9415
  attempts: zod.number().min(listDispatchesResponseDataItemAttemptsMin).max(listDispatchesResponseDataItemAttemptsMax)
9403
9416
  })
@@ -11128,4 +11141,4 @@ var transport = new StdioServerTransport();
11128
11141
  server.connect(transport).then(() => {
11129
11142
  console.error("MCP server running on stdio");
11130
11143
  }).catch(console.error);
11131
- //# sourceMappingURL=server-LTIAFBWR.js.map
11144
+ //# sourceMappingURL=server-EO5QEKBX.js.map