@avallon-labs/mcp 70.4.0 → 71.1.0-staging.1515

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-MCY7RYOU.js");
59
+ await import("./server-XOONVXSS.js");
60
60
  //# sourceMappingURL=index.js.map
@@ -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 that were resolved into a new bundle, `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,19 @@ 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()]),
14819
+ "summary": zod.string(),
14818
14820
  "delivery_failure": zod.union([zod.string(), zod.null()]),
14821
+ "resolved_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
14822
+ "resolved_by": zod.union([zod.string().describe('Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'), zod.null()]),
14823
+ "sources": zod.array(zod.object({
14824
+ "type": zod.enum(["email", "intake_bundle"]),
14825
+ "id": zod.string()
14826
+ })),
14819
14827
  "artifact_ids": zod.array(zod.string()),
14820
14828
  "created_at": zod.string().datetime({ "offset": true }),
14821
14829
  "updated_at": zod.string().datetime({ "offset": true })
@@ -14848,12 +14856,19 @@ var ResolveIntakeBundleResponse = zod.object({
14848
14856
  "id": zod.string(),
14849
14857
  "intake_id": zod.string(),
14850
14858
  "environment": zod.enum(["live", "test"]),
14851
- "routing_run_id": zod.string(),
14859
+ "routing_run_id": zod.union([zod.string(), zod.null()]).describe("Null when a person or a failed delivery created the bundle."),
14852
14860
  "destination": zod.enum(["route", "ignore", "review", "reroute"]),
14853
14861
  "route_id": zod.union([zod.string(), zod.null()]).describe("On a bundle in review, the route routing suggests."),
14854
14862
  "deferred_until": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
14855
- "routing_reason": zod.string(),
14863
+ "routing_reason": zod.union([zod.string(), zod.null()]),
14864
+ "summary": zod.string(),
14856
14865
  "delivery_failure": zod.union([zod.string(), zod.null()]),
14866
+ "resolved_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
14867
+ "resolved_by": zod.union([zod.string().describe('Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'), zod.null()]),
14868
+ "sources": zod.array(zod.object({
14869
+ "type": zod.enum(["email", "intake_bundle"]),
14870
+ "id": zod.string()
14871
+ })),
14857
14872
  "artifact_ids": zod.array(zod.string()),
14858
14873
  "created_at": zod.string().datetime({ "offset": true }),
14859
14874
  "updated_at": zod.string().datetime({ "offset": true })
@@ -19416,7 +19431,7 @@ var createMcpServer = (options) => {
19416
19431
  "listIntakeBundles",
19417
19432
  {
19418
19433
  title: "List intake bundles",
19419
- description: "List the bundles an intake sorted its documents into. Bundles waiting for review have the destination `review`.",
19434
+ description: "List the bundles an intake sorted its documents into. Bundles waiting for review have the destination `review` and aren't resolved.",
19420
19435
  inputSchema: {
19421
19436
  pathParams: ListIntakeBundlesParams,
19422
19437
  queryParams: ListIntakeBundlesQueryParams
@@ -19433,7 +19448,7 @@ var createMcpServer = (options) => {
19433
19448
  "resolveIntakeBundle",
19434
19449
  {
19435
19450
  title: "Resolve intake bundle",
19436
- description: "Move a bundle out of review: send it to a route, ignore it, or route it again.",
19451
+ 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
19452
  inputSchema: {
19438
19453
  pathParams: ResolveIntakeBundleParams,
19439
19454
  bodyParams: ResolveIntakeBundleBody.optional()
@@ -20742,4 +20757,4 @@ var transport = new StdioServerTransport();
20742
20757
  server.connect(transport).then(() => {
20743
20758
  console.error("MCP server running on stdio");
20744
20759
  }).catch(console.error);
20745
- //# sourceMappingURL=server-MCY7RYOU.js.map
20760
+ //# sourceMappingURL=server-XOONVXSS.js.map