@avallon-labs/mcp 41.1.0 → 41.2.0-staging.1001
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
|
@@ -6659,6 +6659,9 @@ var GetCallResponse = zod.object({
|
|
|
6659
6659
|
external_call_id: zod.union([zod.string(), zod.null()]),
|
|
6660
6660
|
direction: zod.enum(["INBOUND", "OUTBOUND"]),
|
|
6661
6661
|
agent_id: zod.string(),
|
|
6662
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
6663
|
+
"Release channel that handled the call. Test calls hand over to the worker's test version."
|
|
6664
|
+
),
|
|
6662
6665
|
job_id: zod.union([zod.string(), zod.null()]),
|
|
6663
6666
|
from_phone_number: zod.union([zod.string(), zod.null()]),
|
|
6664
6667
|
to_phone_number: zod.union([zod.string(), zod.null()]),
|
|
@@ -7305,6 +7308,7 @@ var ListWorkerRunsQueryParams = zod.object({
|
|
|
7305
7308
|
worker_id: zod.string().uuid().optional(),
|
|
7306
7309
|
case_id: zod.string().min(1).optional(),
|
|
7307
7310
|
outcome: zod.string().min(1).optional(),
|
|
7311
|
+
environment: zod.enum(["live", "test"]).optional(),
|
|
7308
7312
|
created_after: zod.string().datetime({}).optional(),
|
|
7309
7313
|
created_before: zod.string().datetime({}).optional(),
|
|
7310
7314
|
count: zod.number().min(1).max(listWorkerRunsQueryCountMax).default(listWorkerRunsQueryCountDefault),
|
|
@@ -7328,6 +7332,9 @@ var ListWorkerRunsResponse = zod.object({
|
|
|
7328
7332
|
"The worker config version this run executes: the version live at run creation. Editing the worker afterwards does not change it."
|
|
7329
7333
|
),
|
|
7330
7334
|
worker_name: zod.string().describe("Name of the worker"),
|
|
7335
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
7336
|
+
"Release channel the run was started for. Test calls run the worker's test version; every other trigger runs live."
|
|
7337
|
+
),
|
|
7331
7338
|
status: zod.enum([
|
|
7332
7339
|
"pending",
|
|
7333
7340
|
"queued",
|
|
@@ -7361,6 +7368,7 @@ var ListWorkerRunsResponse = zod.object({
|
|
|
7361
7368
|
total: zod.number().min(listWorkerRunsResponseMetaTotalMin).max(listWorkerRunsResponseMetaTotalMax).describe("Total number of matching runs")
|
|
7362
7369
|
})
|
|
7363
7370
|
});
|
|
7371
|
+
var createWorkerRunBodyEnvironmentDefault = `live`;
|
|
7364
7372
|
var CreateWorkerRunBody = zod.object({
|
|
7365
7373
|
worker_id: zod.string().uuid(),
|
|
7366
7374
|
scope: zod.union([
|
|
@@ -7369,13 +7377,17 @@ var CreateWorkerRunBody = zod.object({
|
|
|
7369
7377
|
zod.union([zod.string(), zod.number(), zod.boolean(), zod.null()])
|
|
7370
7378
|
),
|
|
7371
7379
|
zod.null()
|
|
7372
|
-
])
|
|
7380
|
+
]),
|
|
7381
|
+
environment: zod.enum(["live", "test"]).default(createWorkerRunBodyEnvironmentDefault).describe(
|
|
7382
|
+
"Release channel to run. `test` runs the worker's test version, `live` the live one."
|
|
7383
|
+
)
|
|
7373
7384
|
});
|
|
7374
7385
|
var CreateWorkerRunResponse = zod.object({
|
|
7375
7386
|
data: zod.object({
|
|
7376
7387
|
id: zod.string(),
|
|
7377
7388
|
worker_id: zod.string(),
|
|
7378
7389
|
worker_version: zod.number(),
|
|
7390
|
+
environment: zod.enum(["live", "test"]),
|
|
7379
7391
|
scope: zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]),
|
|
7380
7392
|
status: zod.enum([
|
|
7381
7393
|
"pending",
|
|
@@ -7434,6 +7446,9 @@ var UpdateWorkerRunScopeResponse = zod.object({
|
|
|
7434
7446
|
"The worker config version this run executes: the version live at run creation. Editing the worker afterwards does not change it."
|
|
7435
7447
|
),
|
|
7436
7448
|
worker_name: zod.string().describe("Name of the worker"),
|
|
7449
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
7450
|
+
"Release channel the run was started for. Test calls run the worker's test version; every other trigger runs live."
|
|
7451
|
+
),
|
|
7437
7452
|
status: zod.enum([
|
|
7438
7453
|
"pending",
|
|
7439
7454
|
"queued",
|
|
@@ -7476,6 +7491,9 @@ var CancelWorkerRunResponse = zod.object({
|
|
|
7476
7491
|
"The worker config version this run executes: the version live at run creation. Editing the worker afterwards does not change it."
|
|
7477
7492
|
),
|
|
7478
7493
|
worker_name: zod.string().describe("Name of the worker"),
|
|
7494
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
7495
|
+
"Release channel the run was started for. Test calls run the worker's test version; every other trigger runs live."
|
|
7496
|
+
),
|
|
7479
7497
|
status: zod.enum([
|
|
7480
7498
|
"pending",
|
|
7481
7499
|
"queued",
|
|
@@ -10986,4 +11004,4 @@ var transport = new StdioServerTransport();
|
|
|
10986
11004
|
server.connect(transport).then(() => {
|
|
10987
11005
|
console.error("MCP server running on stdio");
|
|
10988
11006
|
}).catch(console.error);
|
|
10989
|
-
//# sourceMappingURL=server-
|
|
11007
|
+
//# sourceMappingURL=server-G5BSEBPW.js.map
|