@builder.io/ai-utils 0.8.7 → 0.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -180,7 +180,6 @@ export interface CodeGenToolMap {
180
180
  write_file: WriteFileInput;
181
181
  search_replace_file: SearchReplaceInput;
182
182
  find_media: FindMediaToolInput;
183
- memory: MemoryToolInput;
184
183
  Read: ViewPathToolInput;
185
184
  Write: WriteFileInput;
186
185
  Edit: SearchReplaceInput;
@@ -659,6 +658,7 @@ export interface GenerateUserMessage {
659
658
  isManualContinue?: boolean;
660
659
  category?: CodeGenCategory;
661
660
  metadata?: Record<string, any>;
661
+ autoPush?: "force-push" | "merge-push" | "ff-push" | "none";
662
662
  /** @deprecated */
663
663
  repair?: boolean;
664
664
  }
@@ -1066,6 +1066,7 @@ export interface PushChangesOptions {
1066
1066
  actor?: string;
1067
1067
  refreshRemote?: boolean;
1068
1068
  pullFirst?: boolean;
1069
+ forcePush?: boolean;
1069
1070
  updateRepo?: {
1070
1071
  repoFullName: string;
1071
1072
  repoUrl: string;
@@ -6,6 +6,11 @@ export interface GithubEnterpriseSetupValue {
6
6
  pem: string;
7
7
  secondaryHost?: string;
8
8
  }
9
+ export interface BitbucketEnterprisePAT {
10
+ token: string;
11
+ host: string;
12
+ botUsername: string;
13
+ }
9
14
  interface OrganizationSettings {
10
15
  attribution?: string[];
11
16
  visualEditorAiStyleInspirationURL?: string;
@@ -19,6 +24,8 @@ interface OrganizationSettings {
19
24
  isUserPluginIntegrationRequestGranted?: boolean;
20
25
  shopify?: boolean;
21
26
  githubEnterpriseSetupValue?: GithubEnterpriseSetupValue;
27
+ fusionProviderOverride?: "ssh";
28
+ bitbucketEnterprisePAT?: BitbucketEnterprisePAT;
22
29
  }
23
30
  interface RoleOptions {
24
31
  read?: boolean;
package/src/projects.d.ts CHANGED
@@ -153,7 +153,7 @@ export interface CleanupCompletedMessage extends BaseMessage {
153
153
  export type ProjectsChunkMessage = InitializingMessage | FetchingGithubTokenMessage | FetchingFusionKeyMessage | CheckingAppMessage | CleaningUpAppMessage | CreatingAppMessage | CheckingIPMessage | AllocatingIPMessage | CheckingMachineMessage | CheckingVolumeMessage | ForkingVolumeMessage | RetryingWithNewRegionMessage | WaitingBeforePollingMessage | PollingMachineStatusMessage | WarningStateMessage | PingMessage | DebugMessage | ErrorMessage | InfoMessage | WarningMessage | MachineStatusMessage | LogsMessage | ConfigStatusMessage | AppCreatedMessage | MachineCreatedMessage | IpAllocatedMessage | VolumeForkedMessage | ReadyMessage | ErrorStateMessage | CleanupCompletedMessage;
154
154
  export type GitConfig = {
155
155
  url: string;
156
- provider: "github" | "bitbucket" | "gitlab" | "azure";
156
+ provider: "github" | "bitbucket" | "gitlab" | "azure" | "unknown";
157
157
  };
158
158
  export type GitConfigs = Record<string, GitConfig>;
159
159
  export declare const EXAMPLE_REPOS: string[];