@avallon-labs/mcp 72.5.0-staging.1546 → 72.6.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
@@ -56,5 +56,5 @@ function describeErrors(body) {
56
56
 
57
57
  // src/index.ts
58
58
  setupFetch();
59
- await import("./server-EJM7EZXD.js");
59
+ await import("./server-YZTZCXBV.js");
60
60
  //# sourceMappingURL=index.js.map
@@ -15084,6 +15084,8 @@ var GetFormSubmissionResponse = zod.object({
15084
15084
  "message": zod.string()
15085
15085
  });
15086
15086
  var createIntakeBodyDryRunDefault = false;
15087
+ var createIntakeBodyRoutesItemPropertiesItemNameRegExp = new RegExp("^[a-z][a-z0-9_]*$");
15088
+ var createIntakeBodyRoutesItemPropertiesDefault = [];
15087
15089
  var CreateIntakeBody = zod.object({
15088
15090
  "name": zod.string().min(1),
15089
15091
  "dry_run": zod.boolean().default(createIntakeBodyDryRunDefault),
@@ -15091,7 +15093,12 @@ var CreateIntakeBody = zod.object({
15091
15093
  "name": zod.string().min(1),
15092
15094
  "description": zod.string().min(1).describe("What the routing worker reads to pick this route."),
15093
15095
  "processor_type": zod.enum(["extractor", "worker"]),
15094
- "processor_id": zod.string().uuid()
15096
+ "processor_id": zod.string().uuid(),
15097
+ "properties": zod.array(zod.object({
15098
+ "name": zod.string().regex(createIntakeBodyRoutesItemPropertiesItemNameRegExp),
15099
+ "description": zod.string().min(1).describe("What the routing worker reads to find the value."),
15100
+ "required": zod.boolean().describe("Whether a bundle needs a value for it before it is sent to the route.")
15101
+ })).default(createIntakeBodyRoutesItemPropertiesDefault)
15095
15102
  })).min(1)
15096
15103
  });
15097
15104
  var CreateIntakeResponse = zod.object({
@@ -15110,7 +15117,12 @@ var CreateIntakeResponse = zod.object({
15110
15117
  "name": zod.string(),
15111
15118
  "description": zod.string(),
15112
15119
  "processor_type": zod.enum(["extractor", "worker"]),
15113
- "processor_id": zod.string()
15120
+ "processor_id": zod.string(),
15121
+ "properties": zod.array(zod.object({
15122
+ "name": zod.string(),
15123
+ "description": zod.string(),
15124
+ "required": zod.boolean()
15125
+ }))
15114
15126
  })),
15115
15127
  "created_at": zod.string().datetime({ "offset": true }),
15116
15128
  "updated_at": zod.string().datetime({ "offset": true })
@@ -15145,7 +15157,12 @@ var ListIntakesResponse = zod.object({
15145
15157
  "name": zod.string(),
15146
15158
  "description": zod.string(),
15147
15159
  "processor_type": zod.enum(["extractor", "worker"]),
15148
- "processor_id": zod.string()
15160
+ "processor_id": zod.string(),
15161
+ "properties": zod.array(zod.object({
15162
+ "name": zod.string(),
15163
+ "description": zod.string(),
15164
+ "required": zod.boolean()
15165
+ }))
15149
15166
  })),
15150
15167
  "created_at": zod.string().datetime({ "offset": true }),
15151
15168
  "updated_at": zod.string().datetime({ "offset": true })
@@ -15174,7 +15191,12 @@ var GetIntakeResponse = zod.object({
15174
15191
  "name": zod.string(),
15175
15192
  "description": zod.string(),
15176
15193
  "processor_type": zod.enum(["extractor", "worker"]),
15177
- "processor_id": zod.string()
15194
+ "processor_id": zod.string(),
15195
+ "properties": zod.array(zod.object({
15196
+ "name": zod.string(),
15197
+ "description": zod.string(),
15198
+ "required": zod.boolean()
15199
+ }))
15178
15200
  })),
15179
15201
  "created_at": zod.string().datetime({ "offset": true }),
15180
15202
  "updated_at": zod.string().datetime({ "offset": true }),
@@ -15204,7 +15226,12 @@ var UpdateIntakeResponse = zod.object({
15204
15226
  "name": zod.string(),
15205
15227
  "description": zod.string(),
15206
15228
  "processor_type": zod.enum(["extractor", "worker"]),
15207
- "processor_id": zod.string()
15229
+ "processor_id": zod.string(),
15230
+ "properties": zod.array(zod.object({
15231
+ "name": zod.string(),
15232
+ "description": zod.string(),
15233
+ "required": zod.boolean()
15234
+ }))
15208
15235
  })),
15209
15236
  "created_at": zod.string().datetime({ "offset": true }),
15210
15237
  "updated_at": zod.string().datetime({ "offset": true })
@@ -15255,6 +15282,7 @@ var ListIntakeBundlesResponse = zod.object({
15255
15282
  "deferred_until": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
15256
15283
  "routing_reason": zod.union([zod.string(), zod.null()]),
15257
15284
  "summary": zod.string(),
15285
+ "properties": zod.record(zod.string(), zod.string()),
15258
15286
  "delivery_failure": zod.union([zod.string(), zod.null()]),
15259
15287
  "resolved_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
15260
15288
  "resolved_by": zod.union([zod.string().describe('Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'), zod.null()]),
@@ -15281,7 +15309,8 @@ var resolveIntakeBundleBodyThreeReasonMax = 1e4;
15281
15309
  var ResolveIntakeBundleBody = zod.union([zod.object({
15282
15310
  "destination": zod.literal("route"),
15283
15311
  "route_id": zod.string().uuid(),
15284
- "reason": zod.string().min(1).max(resolveIntakeBundleBodyOneReasonMax).optional().describe("Why you chose this destination.")
15312
+ "reason": zod.string().min(1).max(resolveIntakeBundleBodyOneReasonMax).optional().describe("Why you chose this destination."),
15313
+ "properties": zod.record(zod.string(), zod.string().min(1)).optional().describe("Values for the route's properties, by name. Every required property needs one.")
15285
15314
  }), zod.object({
15286
15315
  "destination": zod.literal("ignore"),
15287
15316
  "reason": zod.string().min(1).max(resolveIntakeBundleBodyTwoReasonMax).optional().describe("Why you chose this destination.")
@@ -15300,6 +15329,7 @@ var ResolveIntakeBundleResponse = zod.object({
15300
15329
  "deferred_until": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
15301
15330
  "routing_reason": zod.union([zod.string(), zod.null()]),
15302
15331
  "summary": zod.string(),
15332
+ "properties": zod.record(zod.string(), zod.string()),
15303
15333
  "delivery_failure": zod.union([zod.string(), zod.null()]),
15304
15334
  "resolved_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
15305
15335
  "resolved_by": zod.union([zod.string().describe('Actor string, e.g. "worker:<workerId>" or "user:<profileId>".'), zod.null()]),
@@ -21586,4 +21616,4 @@ var transport = new StdioServerTransport();
21586
21616
  server.connect(transport).then(() => {
21587
21617
  console.error("MCP server running on stdio");
21588
21618
  }).catch(console.error);
21589
- //# sourceMappingURL=server-EJM7EZXD.js.map
21619
+ //# sourceMappingURL=server-YZTZCXBV.js.map