@builder.io/ai-utils 0.18.7 → 0.19.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": "@builder.io/ai-utils",
3
- "version": "0.18.7",
3
+ "version": "0.19.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -16,13 +16,21 @@ export interface TokenDocument extends DocumentBase {
16
16
  type: "token";
17
17
  hash: string;
18
18
  relevantFiles: string[];
19
+ rawTokens?: string[];
20
+ tokenValues?: Record<string, string>;
19
21
  }
20
22
  export interface IconDocument extends DocumentBase {
21
23
  type: "icon";
22
24
  hash: string;
23
25
  }
26
+ export interface RawComponent {
27
+ name: string;
28
+ description: string;
29
+ }
24
30
  export interface AgentDocument extends DocumentBase {
25
31
  type: "agent";
32
+ rawComponents?: RawComponent[];
33
+ rawTokenGroups?: string[];
26
34
  }
27
35
  export interface InstallationDocument extends DocumentBase {
28
36
  type: "installation";