@builder.io/ai-utils 0.5.38 → 0.5.39

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.5.38",
3
+ "version": "0.5.39",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -374,6 +374,7 @@ export interface GenerateCompletionStepDone {
374
374
  actions: ActionItem[];
375
375
  creditsUsed: number;
376
376
  sessionUsage: number;
377
+ model: string;
377
378
  usage: CodegenUsage | undefined;
378
379
  url?: string;
379
380
  stopReason: CompletionStopReason;
@@ -49,10 +49,14 @@ export interface AddDesignSystemInput {
49
49
  export interface UpdateDesignSystemInput {
50
50
  id: string;
51
51
  designSystemName: string;
52
+ scope: DesignSystemScope;
52
53
  designSystemPackage?: string;
53
54
  designSystemVersion?: string;
54
55
  status?: "in-progress" | "completed" | "failed";
55
- scope?: DesignSystemScope;
56
+ }
57
+ export interface UpdateDesignSystemScopeInput {
58
+ id: string;
59
+ scope: DesignSystemScope;
56
60
  }
57
61
  export interface DesignSystem {
58
62
  id: string;