@threadplane/a2ui 0.0.66 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadplane/a2ui",
3
- "version": "0.0.66",
3
+ "version": "0.1.0",
4
4
  "description": "A2UI protocol types, streaming parser, and dynamic-value resolver for agent-generated UI. Pure TypeScript.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -15,8 +15,9 @@ export declare function withActiveRegistry<T>(registry: A2uiFunctionRegistry, fn
15
15
  export declare function warnUnknownA2uiFunction(name: string): void;
16
16
  /**
17
17
  * Creates an A2UI client-side function registry containing the standard
18
- * basic-catalog functions (`formatString`, `formatNumber`, `formatCurrency`,
19
- * `formatDate`, `pluralize`, `and`, `or`, `not`), optionally extended or
18
+ * basic-catalog functions — `formatString`, `formatNumber`, `formatCurrency`,
19
+ * `formatDate`, `pluralize`, `and`, `or`, `not`, plus the check-rule validators
20
+ * `required`, `regex`, `length`, `numeric`, and `email` — optionally extended or
20
21
  * overridden with custom implementations.
21
22
  *
22
23
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../libs/a2ui/src/lib/functions.ts"],"names":[],"mappings":"AAIA,iEAAiE;AACjE,MAAM,WAAW,mBAAmB;IAClC;+EAC2E;IAC3E,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACpC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,CAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,GAAG,EAAE,mBAAmB,KACrB,OAAO,CAAC;AAEb,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAsWzE;sDACsD;AACtD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAQpF;AAED,oEAAoE;AACpE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAE1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAC3C,oBAAoB,CAMtB"}
1
+ {"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../../../libs/a2ui/src/lib/functions.ts"],"names":[],"mappings":"AAIA,iEAAiE;AACjE,MAAM,WAAW,mBAAmB;IAClC;+EAC2E;IAC3E,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACpC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,CAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,GAAG,EAAE,mBAAmB,KACrB,OAAO,CAAC;AAEb,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;AAsWzE;sDACsD;AACtD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,oBAAoB,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAQpF;AAED,oEAAoE;AACpE,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAE1D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAC3C,oBAAoB,CAMtB"}
@@ -397,8 +397,9 @@ export function warnUnknownA2uiFunction(name) {
397
397
  }
398
398
  /**
399
399
  * Creates an A2UI client-side function registry containing the standard
400
- * basic-catalog functions (`formatString`, `formatNumber`, `formatCurrency`,
401
- * `formatDate`, `pluralize`, `and`, `or`, `not`), optionally extended or
400
+ * basic-catalog functions — `formatString`, `formatNumber`, `formatCurrency`,
401
+ * `formatDate`, `pluralize`, `and`, `or`, `not`, plus the check-rule validators
402
+ * `required`, `regex`, `length`, `numeric`, and `email` — optionally extended or
402
403
  * overridden with custom implementations.
403
404
  *
404
405
  * @example