@builder.io/ai-utils 0.5.37 → 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.37",
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;
@@ -844,6 +845,7 @@ export interface PrivacyMode {
844
845
  */
845
846
  mcpServers?: boolean;
846
847
  }
848
+ export type Mode = "init-and-launch" | "backup";
847
849
  export interface FusionConfig {
848
850
  devCommand?: string;
849
851
  checkCommand?: string;
@@ -868,6 +870,7 @@ export interface FusionConfig {
868
870
  repoIndexingConfig?: RepoIndexingConfig;
869
871
  machine?: RemoteMachineConfig;
870
872
  _attemptDryRunBackupGit?: boolean;
873
+ mode?: Mode;
871
874
  /** @deprecated use devCommand */
872
875
  command?: string;
873
876
  }
@@ -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;