@builder.io/dev-tools 1.27.2-dev.202602180847.1db105408 → 1.27.2-dev.202602181247.863df8f5f

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.
@@ -6,6 +6,7 @@ import { type SubAgent } from "./utils/agent-discovery";
6
6
  import EventEmitter from "node:events";
7
7
  import { type RunCommandOptions } from "./utils/git";
8
8
  import { type DevServerOrchestrator } from "./launch/dev-server-orchestrator";
9
+ import type { FusionStatusMonitor } from "./launch/machine-health";
9
10
  export interface SyncChangesFromBranches {
10
11
  canPush: boolean;
11
12
  branches: string[];
@@ -58,6 +59,7 @@ export interface CodeGenSessionOptionsBase {
58
59
  skipFileDiff?: boolean;
59
60
  agentType?: string;
60
61
  includeMemories?: boolean;
62
+ fusionStatusMonitor?: FusionStatusMonitor;
61
63
  }
62
64
  export interface CodeGenSessionOptionsSession extends CodeGenSessionOptionsBase {
63
65
  sessionOrCompletionId?: string;
@@ -53,7 +53,11 @@ export interface DevServerOrchestrator {
53
53
  abortSetupCommand: () => Promise<SetupCommandResult | undefined>;
54
54
  abortValidateCommand: () => Promise<ValidateCommandResult | undefined>;
55
55
  clearEnvVariables: () => void;
56
- setEnvVariable: (key: string, value: string | undefined) => boolean;
56
+ setEnvVariable: (key: string, value: string | undefined, options?: {
57
+ secret?: boolean;
58
+ placeholder?: boolean;
59
+ explanation?: string;
60
+ }) => boolean;
57
61
  ensureDevCommand: (abortSignal?: AbortSignal) => Promise<boolean>;
58
62
  ensureSetupCommand: (abortSignal?: AbortSignal) => Promise<boolean>;
59
63
  setupCommandPromise: Promise<SetupCommandResult> | undefined;
@@ -1,7 +1,7 @@
1
1
  import type { DevToolsSys } from "@builder.io/dev-tools/core";
2
2
  import type { Credentials } from "../credentials";
3
3
  import type { FusionConfig, LaunchServerStatus } from "$/ai-utils";
4
- interface FusionStatusMonitor {
4
+ export interface FusionStatusMonitor {
5
5
  start: () => void;
6
6
  stop: () => void;
7
7
  getPeakUsage: () => {
@@ -10,4 +10,3 @@ interface FusionStatusMonitor {
10
10
  };
11
11
  }
12
12
  export declare function createFusionStatusMonitor(sys: DevToolsSys, credentials: Credentials, fusionConfig: FusionConfig, sharedState: LaunchServerStatus): FusionStatusMonitor | null;
13
- export {};