@avallon-labs/mcp 62.3.0-staging.1337 → 62.4.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-6YQRCXWM.js");
59
+ await import("./server-PJ4HAQ7D.js");
60
60
  //# sourceMappingURL=index.js.map
@@ -12726,7 +12726,8 @@ var GetPublicFormSubmissionParams = zod.object({
12726
12726
  var GetPublicFormSubmissionResponse = zod.object({
12727
12727
  "data": zod.object({
12728
12728
  "title": zod.string(),
12729
- "schema": zod.record(zod.string(), zod.unknown()).describe("JSON Schema of the form version this submission is pinned to. Property order is the display order.")
12729
+ "schema": zod.record(zod.string(), zod.unknown()).describe("JSON Schema of the form version this submission is pinned to. Property order is the display order."),
12730
+ "prefill": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]).describe("Field values to fill in, null when none")
12730
12731
  }),
12731
12732
  "message": zod.string()
12732
12733
  });
@@ -12918,7 +12919,8 @@ var PromoteFormVersionResponse = zod.object({
12918
12919
  });
12919
12920
  var CreateFormSubmissionBody = zod.object({
12920
12921
  "form_id": zod.string().uuid(),
12921
- "environment": zod.enum(["live", "test"])
12922
+ "environment": zod.enum(["live", "test"]),
12923
+ "prefill": zod.record(zod.string(), zod.union([zod.string(), zod.number(), zod.boolean()])).optional().describe("Field values to fill in, checked against the form's schema")
12922
12924
  });
12923
12925
  var CreateFormSubmissionResponse = zod.object({
12924
12926
  "data": zod.object({
@@ -12926,6 +12928,7 @@ var CreateFormSubmissionResponse = zod.object({
12926
12928
  "form_id": zod.string().uuid(),
12927
12929
  "form_version": zod.number(),
12928
12930
  "environment": zod.enum(["live", "test"]),
12931
+ "prefill": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]).describe("Values the renderer fills in before the person edits them"),
12929
12932
  "submission": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]).describe("Answers keyed by form field; null until submitted"),
12930
12933
  "created_at": zod.string().datetime({ "offset": true }),
12931
12934
  "submitted_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()]),
@@ -12942,6 +12945,7 @@ var GetFormSubmissionResponse = zod.object({
12942
12945
  "form_id": zod.string().uuid(),
12943
12946
  "form_version": zod.number(),
12944
12947
  "environment": zod.enum(["live", "test"]),
12948
+ "prefill": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]).describe("Values the renderer fills in before the person edits them"),
12945
12949
  "submission": zod.union([zod.record(zod.string(), zod.unknown()), zod.null()]).describe("Answers keyed by form field; null until submitted"),
12946
12950
  "created_at": zod.string().datetime({ "offset": true }),
12947
12951
  "submitted_at": zod.union([zod.string().datetime({ "offset": true }), zod.null()])
@@ -18435,4 +18439,4 @@ var transport = new StdioServerTransport();
18435
18439
  server.connect(transport).then(() => {
18436
18440
  console.error("MCP server running on stdio");
18437
18441
  }).catch(console.error);
18438
- //# sourceMappingURL=server-6YQRCXWM.js.map
18442
+ //# sourceMappingURL=server-PJ4HAQ7D.js.map