@avallon-labs/mcp 70.4.0 → 71.0.0-staging.1514
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
|
@@ -14800,6 +14800,7 @@ var ListIntakeBundlesQueryParams = zod.object({
|
|
|
14800
14800
|
"destination": zod.enum(["route", "ignore", "review", "reroute"]).optional(),
|
|
14801
14801
|
"environment": zod.enum(["live", "test"]).optional(),
|
|
14802
14802
|
"deferred": zod.enum(["true", "false"]).optional().describe("`true` for bundles deferred until a later time, `false` for bundles that are due. Omit to list both."),
|
|
14803
|
+
"resolved": zod.enum(["true", "false"]).optional().describe("`true` for bundles a person resolved, `false` for the rest. Omit to list both."),
|
|
14803
14804
|
"count": zod.number().min(1).max(listIntakeBundlesQueryCountMax).default(listIntakeBundlesQueryCountDefault),
|
|
14804
14805
|
"offset": zod.number().min(listIntakeBundlesQueryOffsetMin).default(listIntakeBundlesQueryOffsetDefault),
|
|
14805
14806
|
"sort_by": zod.enum(["created_at"]).default(listIntakeBundlesQuerySortByDefault),
|
|
@@ -14810,12 +14811,18 @@ var ListIntakeBundlesResponse = zod.object({
|
|
|
14810
14811
|
"id": zod.string(),
|
|
14811
14812
|
"intake_id": zod.string(),
|
|
14812
14813
|
"environment": zod.enum(["live", "test"]),
|
|
14813
|
-
"routing_run_id": zod.string(),
|
|
14814
|
+
"routing_run_id": zod.union([zod.string(), zod.null()]).describe("Null when a person or a failed delivery created the bundle."),
|
|
14814
14815
|
"destination": zod.enum(["route", "ignore", "review", "reroute"]),
|
|
14815
14816
|
"route_id": zod.union([zod.string(), zod.null()]).describe("On a bundle in review, the route routing suggests."),
|
|
14816
14817
|
"deferred_until": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
14817
|
-
"routing_reason": zod.string(),
|
|
14818
|
+
"routing_reason": zod.union([zod.string(), zod.null()]),
|
|
14818
14819
|
"delivery_failure": zod.union([zod.string(), zod.null()]),
|
|
14820
|
+
"resolved_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
14821
|
+
"resolved_by": zod.union([zod.string().describe('Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'), zod.null()]),
|
|
14822
|
+
"sources": zod.array(zod.object({
|
|
14823
|
+
"type": zod.enum(["email", "intake_bundle"]),
|
|
14824
|
+
"id": zod.string()
|
|
14825
|
+
})),
|
|
14819
14826
|
"artifact_ids": zod.array(zod.string()),
|
|
14820
14827
|
"created_at": zod.string().datetime({ "offset": true }),
|
|
14821
14828
|
"updated_at": zod.string().datetime({ "offset": true })
|
|
@@ -14848,12 +14855,18 @@ var ResolveIntakeBundleResponse = zod.object({
|
|
|
14848
14855
|
"id": zod.string(),
|
|
14849
14856
|
"intake_id": zod.string(),
|
|
14850
14857
|
"environment": zod.enum(["live", "test"]),
|
|
14851
|
-
"routing_run_id": zod.string(),
|
|
14858
|
+
"routing_run_id": zod.union([zod.string(), zod.null()]).describe("Null when a person or a failed delivery created the bundle."),
|
|
14852
14859
|
"destination": zod.enum(["route", "ignore", "review", "reroute"]),
|
|
14853
14860
|
"route_id": zod.union([zod.string(), zod.null()]).describe("On a bundle in review, the route routing suggests."),
|
|
14854
14861
|
"deferred_until": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
14855
|
-
"routing_reason": zod.string(),
|
|
14862
|
+
"routing_reason": zod.union([zod.string(), zod.null()]),
|
|
14856
14863
|
"delivery_failure": zod.union([zod.string(), zod.null()]),
|
|
14864
|
+
"resolved_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
|
|
14865
|
+
"resolved_by": zod.union([zod.string().describe('Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'), zod.null()]),
|
|
14866
|
+
"sources": zod.array(zod.object({
|
|
14867
|
+
"type": zod.enum(["email", "intake_bundle"]),
|
|
14868
|
+
"id": zod.string()
|
|
14869
|
+
})),
|
|
14857
14870
|
"artifact_ids": zod.array(zod.string()),
|
|
14858
14871
|
"created_at": zod.string().datetime({ "offset": true }),
|
|
14859
14872
|
"updated_at": zod.string().datetime({ "offset": true })
|
|
@@ -19416,7 +19429,7 @@ var createMcpServer = (options) => {
|
|
|
19416
19429
|
"listIntakeBundles",
|
|
19417
19430
|
{
|
|
19418
19431
|
title: "List intake bundles",
|
|
19419
|
-
description: "List the bundles an intake sorted its documents into. Bundles waiting for review have the destination `review
|
|
19432
|
+
description: "List the bundles an intake sorted its documents into. Bundles waiting for review have the destination `review` and aren't resolved.",
|
|
19420
19433
|
inputSchema: {
|
|
19421
19434
|
pathParams: ListIntakeBundlesParams,
|
|
19422
19435
|
queryParams: ListIntakeBundlesQueryParams
|
|
@@ -19433,7 +19446,7 @@ var createMcpServer = (options) => {
|
|
|
19433
19446
|
"resolveIntakeBundle",
|
|
19434
19447
|
{
|
|
19435
19448
|
title: "Resolve intake bundle",
|
|
19436
|
-
description: "
|
|
19449
|
+
description: "Resolve a bundle in review: send it to a route, ignore it, or route it again. Returns the new bundle that carries the decision.",
|
|
19437
19450
|
inputSchema: {
|
|
19438
19451
|
pathParams: ResolveIntakeBundleParams,
|
|
19439
19452
|
bodyParams: ResolveIntakeBundleBody.optional()
|
|
@@ -20742,4 +20755,4 @@ var transport = new StdioServerTransport();
|
|
|
20742
20755
|
server.connect(transport).then(() => {
|
|
20743
20756
|
console.error("MCP server running on stdio");
|
|
20744
20757
|
}).catch(console.error);
|
|
20745
|
-
//# sourceMappingURL=server-
|
|
20758
|
+
//# sourceMappingURL=server-FGHMPX3E.js.map
|