markform 0.1.9 → 0.1.11

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/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # Markform
2
2
 
3
3
  [![CI](https://github.com/jlevy/markform/actions/workflows/ci.yml/badge.svg)](https://github.com/jlevy/markform/actions/workflows/ci.yml)
4
- ![Coverage](./badges/coverage-total.svg)
4
+ ![Coverage](./badges/packages/markform/coverage-total.svg) [![X (formerly Twitter)
5
+ Follow](https://img.shields.io/twitter/follow/ojoshe)](https://x.com/ojoshe)
5
6
 
6
7
  **Markform** is a text format for defining structured forms that humans can read,
7
8
  machines can parse, and agents can fill via tool calls.
package/dist/ai-sdk.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import { At as PatchSchema, Dt as ParsedForm, Ot as Patch, Q as Id, V as FieldResponse, dr as ValidatorRegistry, q as FormSchema, r as ApplyResult, rt as InspectResult } from "./coreTypes-JCPm418M.mjs";
2
+ import { At as PatchSchema, Dt as ParsedForm, Ot as Patch, Q as Id, V as FieldResponse, dr as ValidatorRegistry, q as FormSchema, r as ApplyResult, rt as InspectResult } from "./coreTypes-Cw_cJsa5.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/integrations/toolTypes.d.ts
package/dist/ai-sdk.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
- import { L as PatchSchema } from "./coreTypes-B1oI7qvV.mjs";
3
- import { d as serialize, i as inspect, t as applyPatches } from "./apply-B2kt6C2z.mjs";
2
+ import { L as PatchSchema } from "./coreTypes-Z8SvQyoL.mjs";
3
+ import { d as serializeForm, i as inspect, t as applyPatches } from "./apply-yfRtNIHc.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/integrations/vercelAiSdkTools.ts
@@ -151,7 +151,7 @@ function createMarkformTools(options) {
151
151
  description: "Get the canonical Markdown representation of the current form. Use this to see the complete form with all current values in Markform format. The output is deterministic and round-trip safe.",
152
152
  inputSchema: GetMarkdownInputSchema,
153
153
  execute: () => {
154
- const markdown = serialize(sessionStore.getForm());
154
+ const markdown = serializeForm(sessionStore.getForm());
155
155
  return Promise.resolve({
156
156
  success: true,
157
157
  data: { markdown },