@builder.io/ai-utils 0.47.0 → 0.47.1
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 +1 -1
- package/src/codegen.d.ts +9 -1
- package/src/codegen.js +1 -0
- package/src/events.d.ts +1 -1
- package/src/messages.d.ts +1 -1
- package/src/projects.d.ts +1 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -747,13 +747,14 @@ export interface CodeGenToolMap {
|
|
|
747
747
|
ArchiveBranch: ArchiveBranchToolInput;
|
|
748
748
|
RunningAgents: RunningAgentsToolInput;
|
|
749
749
|
IDEDiagnostics: IDEDiagnosticsToolInput;
|
|
750
|
+
PullPrototype: PullPrototypeToolInput;
|
|
750
751
|
}
|
|
751
752
|
export type CodeGenTools = keyof CodeGenToolMap;
|
|
752
753
|
export type AllCodeGenTools = CodeGenTools | "web_search";
|
|
753
754
|
export type SessionMode = "planning" | "normal" | "auto-planning" | "deep-research";
|
|
754
755
|
export type CodeGenMode = "quality" | "quality-v3" | "quality-v4" | "quality-v4-agent";
|
|
755
756
|
export type QueueMode = "next-turn" | "until-idle";
|
|
756
|
-
export declare const BASE_CODEGEN_POSITIONS: readonly ["fusion", "editor-ai", "repo-indexing", "cli", "create-app-firebase", "create-app-lovable", "builder-code-panel", "setup-project", "code-review-orchestrator", "project-configuration", "org-agent", "browser-testing", "projects-scheduler-memory-extraction", "unknown", "dsi-mcp"];
|
|
757
|
+
export declare const BASE_CODEGEN_POSITIONS: readonly ["fusion", "editor-ai", "repo-indexing", "cli", "create-app-firebase", "create-app-lovable", "builder-code-panel", "setup-project", "code-review-orchestrator", "project-configuration", "org-agent", "browser-testing", "projects-scheduler-memory-extraction", "builder-code", "unknown", "dsi-mcp"];
|
|
757
758
|
export type BaseCodeGenPosition = (typeof BASE_CODEGEN_POSITIONS)[number];
|
|
758
759
|
export type CodeGenPosition = BaseCodeGenPosition | `${BaseCodeGenPosition}-agent`;
|
|
759
760
|
export interface RepoIndexingConfig {
|
|
@@ -1296,6 +1297,12 @@ export interface DiagnosticEntry {
|
|
|
1296
1297
|
export interface IDEDiagnosticsToolInput {
|
|
1297
1298
|
file_path?: string;
|
|
1298
1299
|
}
|
|
1300
|
+
export interface PullPrototypeToolInput {
|
|
1301
|
+
url: string;
|
|
1302
|
+
project_id?: string;
|
|
1303
|
+
branch_name?: string;
|
|
1304
|
+
space_id?: string;
|
|
1305
|
+
}
|
|
1299
1306
|
export interface DiagnosticsResponse {
|
|
1300
1307
|
ideName: string;
|
|
1301
1308
|
diagnostics: DiagnosticEntry[];
|
|
@@ -1571,6 +1578,7 @@ export interface GenerateCodeEventMCPStatus {
|
|
|
1571
1578
|
export interface MCPAuthRequiredServer {
|
|
1572
1579
|
serverId: string;
|
|
1573
1580
|
name: string;
|
|
1581
|
+
normalizedServerName: string;
|
|
1574
1582
|
url: string;
|
|
1575
1583
|
authorizationUrl: string;
|
|
1576
1584
|
scopes: string[];
|
package/src/codegen.js
CHANGED
package/src/events.d.ts
CHANGED
|
@@ -504,7 +504,7 @@ export type ReviewSubmittedV1 = FusionEventVariant<"review.submitted", {
|
|
|
504
504
|
hasRecording?: boolean;
|
|
505
505
|
/** Recording URL if hasRecording is true */
|
|
506
506
|
recordingUrl?: string;
|
|
507
|
-
/** Posted comments from GitHub API */
|
|
507
|
+
/** Posted comments from GitHub API (formatted bodies) */
|
|
508
508
|
postedComments: Array<{
|
|
509
509
|
id: number;
|
|
510
510
|
node_id: string;
|
package/src/messages.d.ts
CHANGED
|
@@ -152,7 +152,7 @@ export type ServerToolUseContentUnion = ServerToolUseContent[] | ServerToolUseCo
|
|
|
152
152
|
export interface ContentMessageItemServerToolUse {
|
|
153
153
|
type: "server_tool_use";
|
|
154
154
|
id: string;
|
|
155
|
-
name: "
|
|
155
|
+
name: "advisor" | "web_search" | "web_fetch" | "code_execution" | "bash_code_execution" | "text_editor_code_execution" | "tool_search_tool_regex" | "tool_search_tool_bm25";
|
|
156
156
|
input: unknown;
|
|
157
157
|
caller?: any;
|
|
158
158
|
completion?: string;
|
package/src/projects.d.ts
CHANGED