@builder.io/ai-utils 0.12.8 → 0.12.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -485,6 +485,12 @@ export interface GenerateCompletionStepContinue {
485
485
  export type DevCommandState = "running" | "stopped" | "starting" | "failed" | "unset";
486
486
  export type SetupCommandState = "not-installed" | "installing" | "installed" | "install-failed" | "install-aborted";
487
487
  export type HttpServerState = "ok-2xx" | "error-4xx" | "error-5xx" | "error-fetch" | "stopped" | "connecting";
488
+ export type ProxyServerSelection = "hardcoded" | "auto-detected" | "port-env";
489
+ export interface HttpServerData {
490
+ state: HttpServerState;
491
+ remoteAddress: string | undefined;
492
+ remotePort: number | undefined;
493
+ }
488
494
  export interface CodeGenHealthStatus {
489
495
  devServerState: DevCommandState;
490
496
  setupState: SetupCommandState;
@@ -561,6 +567,10 @@ export interface GenerateCompletionStepDevServerState {
561
567
  devCommand: string | undefined;
562
568
  setupCommand: string | undefined;
563
569
  proxyServer: string | undefined;
570
+ proxyServerSelection: ProxyServerSelection | undefined;
571
+ remoteAddress: string | undefined;
572
+ remotePort: number | undefined;
573
+ proxyServerReachable: boolean;
564
574
  }
565
575
  export interface GenerateCompletionStepGit {
566
576
  type: "git";