@avallon-labs/mcp 41.1.0 → 41.3.0-staging.1002
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
|
@@ -6596,6 +6596,7 @@ var ListCallsQueryParams = zod.object({
|
|
|
6596
6596
|
agent_name: zod.string().min(1).optional(),
|
|
6597
6597
|
job_id: zod.string().uuid().optional(),
|
|
6598
6598
|
direction: zod.enum(["INBOUND", "OUTBOUND"]).optional(),
|
|
6599
|
+
environment: zod.enum(["live", "test"]).optional(),
|
|
6599
6600
|
status: zod.enum(["COMPLETED", "TRANSFERRED", "DISCONNECTED", "UNEXPECTED_SHUTDOWN"]).optional(),
|
|
6600
6601
|
started_after: zod.string().datetime({}).optional(),
|
|
6601
6602
|
started_before: zod.string().datetime({}).optional(),
|
|
@@ -6614,6 +6615,9 @@ var ListCallsResponse = zod.object({
|
|
|
6614
6615
|
external_call_id: zod.union([zod.string(), zod.null()]),
|
|
6615
6616
|
direction: zod.enum(["INBOUND", "OUTBOUND"]),
|
|
6616
6617
|
agent_id: zod.string(),
|
|
6618
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
6619
|
+
"Release channel that handled the call. Test calls hand over to the worker's test version."
|
|
6620
|
+
),
|
|
6617
6621
|
job_id: zod.union([zod.string(), zod.null()]),
|
|
6618
6622
|
from_phone_number: zod.union([zod.string(), zod.null()]),
|
|
6619
6623
|
to_phone_number: zod.union([zod.string(), zod.null()]),
|
|
@@ -6659,6 +6663,9 @@ var GetCallResponse = zod.object({
|
|
|
6659
6663
|
external_call_id: zod.union([zod.string(), zod.null()]),
|
|
6660
6664
|
direction: zod.enum(["INBOUND", "OUTBOUND"]),
|
|
6661
6665
|
agent_id: zod.string(),
|
|
6666
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
6667
|
+
"Release channel that handled the call. Test calls hand over to the worker's test version."
|
|
6668
|
+
),
|
|
6662
6669
|
job_id: zod.union([zod.string(), zod.null()]),
|
|
6663
6670
|
from_phone_number: zod.union([zod.string(), zod.null()]),
|
|
6664
6671
|
to_phone_number: zod.union([zod.string(), zod.null()]),
|
|
@@ -7305,6 +7312,7 @@ var ListWorkerRunsQueryParams = zod.object({
|
|
|
7305
7312
|
worker_id: zod.string().uuid().optional(),
|
|
7306
7313
|
case_id: zod.string().min(1).optional(),
|
|
7307
7314
|
outcome: zod.string().min(1).optional(),
|
|
7315
|
+
environment: zod.enum(["live", "test"]).optional(),
|
|
7308
7316
|
created_after: zod.string().datetime({}).optional(),
|
|
7309
7317
|
created_before: zod.string().datetime({}).optional(),
|
|
7310
7318
|
count: zod.number().min(1).max(listWorkerRunsQueryCountMax).default(listWorkerRunsQueryCountDefault),
|
|
@@ -7328,6 +7336,9 @@ var ListWorkerRunsResponse = zod.object({
|
|
|
7328
7336
|
"The worker config version this run executes: the version live at run creation. Editing the worker afterwards does not change it."
|
|
7329
7337
|
),
|
|
7330
7338
|
worker_name: zod.string().describe("Name of the worker"),
|
|
7339
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
7340
|
+
"Release channel the run was started for. Test calls run the worker's test version; every other trigger runs live."
|
|
7341
|
+
),
|
|
7331
7342
|
status: zod.enum([
|
|
7332
7343
|
"pending",
|
|
7333
7344
|
"queued",
|
|
@@ -7361,6 +7372,7 @@ var ListWorkerRunsResponse = zod.object({
|
|
|
7361
7372
|
total: zod.number().min(listWorkerRunsResponseMetaTotalMin).max(listWorkerRunsResponseMetaTotalMax).describe("Total number of matching runs")
|
|
7362
7373
|
})
|
|
7363
7374
|
});
|
|
7375
|
+
var createWorkerRunBodyEnvironmentDefault = `live`;
|
|
7364
7376
|
var CreateWorkerRunBody = zod.object({
|
|
7365
7377
|
worker_id: zod.string().uuid(),
|
|
7366
7378
|
scope: zod.union([
|
|
@@ -7369,13 +7381,17 @@ var CreateWorkerRunBody = zod.object({
|
|
|
7369
7381
|
zod.union([zod.string(), zod.number(), zod.boolean(), zod.null()])
|
|
7370
7382
|
),
|
|
7371
7383
|
zod.null()
|
|
7372
|
-
])
|
|
7384
|
+
]),
|
|
7385
|
+
environment: zod.enum(["live", "test"]).default(createWorkerRunBodyEnvironmentDefault).describe(
|
|
7386
|
+
"Release channel to run. `test` runs the worker's test version, `live` the live one."
|
|
7387
|
+
)
|
|
7373
7388
|
});
|
|
7374
7389
|
var CreateWorkerRunResponse = zod.object({
|
|
7375
7390
|
data: zod.object({
|
|
7376
7391
|
id: zod.string(),
|
|
7377
7392
|
worker_id: zod.string(),
|
|
7378
7393
|
worker_version: zod.number(),
|
|
7394
|
+
environment: zod.enum(["live", "test"]),
|
|
7379
7395
|
scope: zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]),
|
|
7380
7396
|
status: zod.enum([
|
|
7381
7397
|
"pending",
|
|
@@ -7434,6 +7450,9 @@ var UpdateWorkerRunScopeResponse = zod.object({
|
|
|
7434
7450
|
"The worker config version this run executes: the version live at run creation. Editing the worker afterwards does not change it."
|
|
7435
7451
|
),
|
|
7436
7452
|
worker_name: zod.string().describe("Name of the worker"),
|
|
7453
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
7454
|
+
"Release channel the run was started for. Test calls run the worker's test version; every other trigger runs live."
|
|
7455
|
+
),
|
|
7437
7456
|
status: zod.enum([
|
|
7438
7457
|
"pending",
|
|
7439
7458
|
"queued",
|
|
@@ -7476,6 +7495,9 @@ var CancelWorkerRunResponse = zod.object({
|
|
|
7476
7495
|
"The worker config version this run executes: the version live at run creation. Editing the worker afterwards does not change it."
|
|
7477
7496
|
),
|
|
7478
7497
|
worker_name: zod.string().describe("Name of the worker"),
|
|
7498
|
+
environment: zod.enum(["live", "test"]).describe(
|
|
7499
|
+
"Release channel the run was started for. Test calls run the worker's test version; every other trigger runs live."
|
|
7500
|
+
),
|
|
7479
7501
|
status: zod.enum([
|
|
7480
7502
|
"pending",
|
|
7481
7503
|
"queued",
|
|
@@ -10986,4 +11008,4 @@ var transport = new StdioServerTransport();
|
|
|
10986
11008
|
server.connect(transport).then(() => {
|
|
10987
11009
|
console.error("MCP server running on stdio");
|
|
10988
11010
|
}).catch(console.error);
|
|
10989
|
-
//# sourceMappingURL=server-
|
|
11011
|
+
//# sourceMappingURL=server-HMRWNZFA.js.map
|