@builder.io/ai-utils 0.62.0 → 0.63.0
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 +571 -480
- package/src/codegen.js +1 -0
- package/src/messages.d.ts +49 -20
- package/src/proxy.d.ts +1 -1
package/src/codegen.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ export declare const CustomInstructionSchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
content: z.ZodString;
|
|
34
34
|
type: z.ZodOptional<z.ZodEnum<{
|
|
35
|
-
always: "always";
|
|
36
35
|
"agent-mode": "agent-mode";
|
|
36
|
+
always: "always";
|
|
37
37
|
}>>;
|
|
38
38
|
filePath: z.ZodOptional<z.ZodString>;
|
|
39
39
|
glob: z.ZodOptional<z.ZodString>;
|
|
@@ -44,23 +44,23 @@ export declare const CustomInstructionSchema: z.ZodObject<{
|
|
|
44
44
|
disableModelInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
userInvocable: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
user: "user";
|
|
48
|
-
project: "project";
|
|
49
47
|
plugin: "plugin";
|
|
48
|
+
project: "project";
|
|
49
|
+
user: "user";
|
|
50
50
|
}>>;
|
|
51
51
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
52
52
|
}, z.core.$strip>;
|
|
53
53
|
export type CustomInstruction = z.infer<typeof CustomInstructionSchema>;
|
|
54
54
|
/** Reasoning effort level for LLM completions. */
|
|
55
55
|
export declare const ReasoningEffortSchema: z.ZodEnum<{
|
|
56
|
-
|
|
56
|
+
auto: "auto";
|
|
57
|
+
high: "high";
|
|
57
58
|
low: "low";
|
|
59
|
+
max: "max";
|
|
58
60
|
medium: "medium";
|
|
59
|
-
high: "high";
|
|
60
|
-
auto: "auto";
|
|
61
61
|
minimal: "minimal";
|
|
62
|
+
none: "none";
|
|
62
63
|
xhigh: "xhigh";
|
|
63
|
-
max: "max";
|
|
64
64
|
}>;
|
|
65
65
|
export type ReasoningEffort = z.infer<typeof ReasoningEffortSchema>;
|
|
66
66
|
export declare const CustomAgentInfoSchema: z.ZodObject<{
|
|
@@ -138,42 +138,42 @@ export interface CustomAgentDefinition {
|
|
|
138
138
|
pluginName?: string;
|
|
139
139
|
}
|
|
140
140
|
export declare const CodeGenFrameworkSchema: z.ZodEnum<{
|
|
141
|
+
angular: "angular";
|
|
142
|
+
flutter: "flutter";
|
|
141
143
|
html: "html";
|
|
142
|
-
|
|
144
|
+
"jetpack-compose": "jetpack-compose";
|
|
145
|
+
marko: "marko";
|
|
143
146
|
mitosis: "mitosis";
|
|
144
|
-
"react-native": "react-native";
|
|
145
|
-
angular: "angular";
|
|
146
|
-
vue: "vue";
|
|
147
|
-
svelte: "svelte";
|
|
148
147
|
qwik: "qwik";
|
|
148
|
+
react: "react";
|
|
149
|
+
"react-native": "react-native";
|
|
149
150
|
solid: "solid";
|
|
150
|
-
|
|
151
|
+
svelte: "svelte";
|
|
151
152
|
swiftui: "swiftui";
|
|
152
|
-
|
|
153
|
-
flutter: "flutter";
|
|
153
|
+
vue: "vue";
|
|
154
154
|
}>;
|
|
155
155
|
export type CodeGenFramework = z.infer<typeof CodeGenFrameworkSchema>;
|
|
156
156
|
export declare const CodeGenStyleLibrarySchema: z.ZodEnum<{
|
|
157
|
-
"react-native": "react-native";
|
|
158
|
-
tailwind: "tailwind";
|
|
159
|
-
"tailwind-precise": "tailwind-precise";
|
|
160
157
|
emotion: "emotion";
|
|
158
|
+
"react-native": "react-native";
|
|
161
159
|
"styled-components": "styled-components";
|
|
162
160
|
"styled-jsx": "styled-jsx";
|
|
161
|
+
tailwind: "tailwind";
|
|
162
|
+
"tailwind-precise": "tailwind-precise";
|
|
163
163
|
}>;
|
|
164
164
|
export type CodeGenStyleLibrary = z.infer<typeof CodeGenStyleLibrarySchema>;
|
|
165
165
|
export declare const CompletionStopReasonSchema: z.ZodNullable<z.ZodEnum<{
|
|
166
|
-
error: "error";
|
|
167
|
-
tool_use: "tool_use";
|
|
168
166
|
aborted: "aborted";
|
|
169
|
-
|
|
170
|
-
stop_sequence: "stop_sequence";
|
|
171
|
-
end_turn: "end_turn";
|
|
167
|
+
compaction: "compaction";
|
|
172
168
|
content_filter: "content_filter";
|
|
169
|
+
end_turn: "end_turn";
|
|
170
|
+
error: "error";
|
|
171
|
+
max_tokens: "max_tokens";
|
|
172
|
+
model_context_window_exceeded: "model_context_window_exceeded";
|
|
173
173
|
pause_turn: "pause_turn";
|
|
174
174
|
refusal: "refusal";
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
stop_sequence: "stop_sequence";
|
|
176
|
+
tool_use: "tool_use";
|
|
177
177
|
}>>;
|
|
178
178
|
export type CompletionStopReason = z.infer<typeof CompletionStopReasonSchema>;
|
|
179
179
|
export declare const FILE_PATH_DESCRIPTION = "The path of the file. Accepts a path relative to the project working directory, an absolute path (`/Users/.../skill.md`), or a tilde path (`~/.builder/skills/.../SKILL.md`). User-level Builder state under `~/.builder/**` is allowed by default for plugin operations; other absolute paths require an explicit ACL policy.";
|
|
@@ -267,8 +267,8 @@ export type MultiSearchReplaceInput = z.infer<typeof MultiSearchReplaceInputSche
|
|
|
267
267
|
export declare const FindMediaToolInputSchema: z.ZodObject<{
|
|
268
268
|
query: z.ZodString;
|
|
269
269
|
type: z.ZodEnum<{
|
|
270
|
-
video: "video";
|
|
271
270
|
image: "image";
|
|
271
|
+
video: "video";
|
|
272
272
|
}>;
|
|
273
273
|
orientation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
274
274
|
landscape: "landscape";
|
|
@@ -281,9 +281,9 @@ export type FindMediaToolInput = z.infer<typeof FindMediaToolInputSchema>;
|
|
|
281
281
|
export declare const MediaToolInputSchema: z.ZodObject<{
|
|
282
282
|
query: z.ZodString;
|
|
283
283
|
type: z.ZodEnum<{
|
|
284
|
-
video: "video";
|
|
285
|
-
image: "image";
|
|
286
284
|
"gen-image": "gen-image";
|
|
285
|
+
image: "image";
|
|
286
|
+
video: "video";
|
|
287
287
|
}>;
|
|
288
288
|
orientation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
289
289
|
landscape: "landscape";
|
|
@@ -311,16 +311,16 @@ export declare const SearchMemoriesToolInputSchema: z.ZodObject<{
|
|
|
311
311
|
export type SearchMemoriesToolInput = z.infer<typeof SearchMemoriesToolInputSchema>;
|
|
312
312
|
export declare const ScoreMemoriesToolInputSchema: z.ZodObject<{
|
|
313
313
|
outcome: z.ZodEnum<{
|
|
314
|
-
unknown: "unknown";
|
|
315
314
|
failed: "failed";
|
|
316
|
-
worked: "worked";
|
|
317
315
|
partial: "partial";
|
|
316
|
+
unknown: "unknown";
|
|
317
|
+
worked: "worked";
|
|
318
318
|
}>;
|
|
319
319
|
memory_scores: z.ZodObject<{}, z.core.$catchall<z.ZodEnum<{
|
|
320
|
-
unknown: "unknown";
|
|
321
320
|
failed: "failed";
|
|
322
|
-
worked: "worked";
|
|
323
321
|
partial: "partial";
|
|
322
|
+
unknown: "unknown";
|
|
323
|
+
worked: "worked";
|
|
324
324
|
}>>>;
|
|
325
325
|
}, z.core.$strip>;
|
|
326
326
|
export type ScoreMemoriesToolInput = z.infer<typeof ScoreMemoriesToolInputSchema>;
|
|
@@ -382,15 +382,15 @@ export declare const RunningAgentsToolInputSchema: z.ZodObject<{}, z.core.$strip
|
|
|
382
382
|
export type RunningAgentsToolInput = z.infer<typeof RunningAgentsToolInputSchema>;
|
|
383
383
|
export declare const TodoWriteToolInputSchema: z.ZodObject<{
|
|
384
384
|
mode: z.ZodEnum<{
|
|
385
|
-
replace: "replace";
|
|
386
385
|
patch: "patch";
|
|
386
|
+
replace: "replace";
|
|
387
387
|
}>;
|
|
388
388
|
todos: z.ZodArray<z.ZodObject<{
|
|
389
389
|
content: z.ZodString;
|
|
390
390
|
status: z.ZodEnum<{
|
|
391
|
-
pending: "pending";
|
|
392
|
-
in_progress: "in_progress";
|
|
393
391
|
completed: "completed";
|
|
392
|
+
in_progress: "in_progress";
|
|
393
|
+
pending: "pending";
|
|
394
394
|
}>;
|
|
395
395
|
id: z.ZodString;
|
|
396
396
|
}, z.core.$strip>>;
|
|
@@ -408,10 +408,10 @@ export declare const TaskUpdateToolInputSchema: z.ZodObject<{
|
|
|
408
408
|
subject: z.ZodOptional<z.ZodString>;
|
|
409
409
|
description: z.ZodOptional<z.ZodString>;
|
|
410
410
|
status: z.ZodOptional<z.ZodEnum<{
|
|
411
|
-
pending: "pending";
|
|
412
|
-
in_progress: "in_progress";
|
|
413
411
|
completed: "completed";
|
|
414
412
|
deleted: "deleted";
|
|
413
|
+
in_progress: "in_progress";
|
|
414
|
+
pending: "pending";
|
|
415
415
|
}>>;
|
|
416
416
|
owner: z.ZodOptional<z.ZodString>;
|
|
417
417
|
addBlocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -446,9 +446,9 @@ export declare const WebFetchToolInputSchema: z.ZodObject<{
|
|
|
446
446
|
export type WebFetchToolInput = z.infer<typeof WebFetchToolInputSchema>;
|
|
447
447
|
export declare const ExplorationMetadataToolInputSchema: z.ZodObject<{
|
|
448
448
|
category: z.ZodOptional<z.ZodEnum<{
|
|
449
|
-
reusable_knowledge: "reusable_knowledge";
|
|
450
|
-
one_off: "one_off";
|
|
451
449
|
bad_quality: "bad_quality";
|
|
450
|
+
one_off: "one_off";
|
|
451
|
+
reusable_knowledge: "reusable_knowledge";
|
|
452
452
|
}>>;
|
|
453
453
|
gif_id: z.ZodOptional<z.ZodString>;
|
|
454
454
|
timeline_id: z.ZodOptional<z.ZodString>;
|
|
@@ -456,9 +456,9 @@ export declare const ExplorationMetadataToolInputSchema: z.ZodObject<{
|
|
|
456
456
|
important_files: z.ZodArray<z.ZodObject<{
|
|
457
457
|
file_path: z.ZodString;
|
|
458
458
|
relevance: z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
high: "high";
|
|
459
460
|
low: "low";
|
|
460
461
|
medium: "medium";
|
|
461
|
-
high: "high";
|
|
462
462
|
}>>;
|
|
463
463
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
464
464
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -478,45 +478,45 @@ export declare const ReadMcpResourceToolInputSchema: z.ZodObject<{
|
|
|
478
478
|
}, z.core.$strip>;
|
|
479
479
|
export type ReadMcpResourceToolInput = z.infer<typeof ReadMcpResourceToolInputSchema>;
|
|
480
480
|
export declare const TimelineEventCategorySchema: z.ZodEnum<{
|
|
481
|
+
assertion: "assertion";
|
|
482
|
+
"code-change": "code-change";
|
|
481
483
|
error: "error";
|
|
482
|
-
navigation: "navigation";
|
|
483
484
|
interaction: "interaction";
|
|
484
|
-
assertion: "assertion";
|
|
485
485
|
milestone: "milestone";
|
|
486
|
-
|
|
486
|
+
navigation: "navigation";
|
|
487
487
|
observation: "observation";
|
|
488
488
|
}>;
|
|
489
489
|
export type TimelineEventCategory = z.infer<typeof TimelineEventCategorySchema>;
|
|
490
490
|
export declare const TestOutcomeSchema: z.ZodEnum<{
|
|
491
|
-
|
|
491
|
+
couldnt_verify: "couldnt_verify";
|
|
492
492
|
failed: "failed";
|
|
493
|
+
other: "other";
|
|
493
494
|
succeeded: "succeeded";
|
|
494
|
-
couldnt_verify: "couldnt_verify";
|
|
495
495
|
}>;
|
|
496
496
|
export type TestOutcome = z.infer<typeof TestOutcomeSchema>;
|
|
497
497
|
export declare const TestCaseFailureCategorySchema: z.ZodEnum<{
|
|
498
|
-
|
|
499
|
-
env_issue: "env_issue";
|
|
498
|
+
assertion_failed: "assertion_failed";
|
|
500
499
|
creds_missing: "creds_missing";
|
|
500
|
+
env_issue: "env_issue";
|
|
501
|
+
escalated: "escalated";
|
|
502
|
+
feature_not_reachable: "feature_not_reachable";
|
|
501
503
|
needs_user_input: "needs_user_input";
|
|
504
|
+
not_applicable: "not_applicable";
|
|
502
505
|
server_not_ready: "server_not_ready";
|
|
503
|
-
|
|
504
|
-
assertion_failed: "assertion_failed";
|
|
506
|
+
timeout: "timeout";
|
|
505
507
|
unexpected_error: "unexpected_error";
|
|
506
|
-
not_applicable: "not_applicable";
|
|
507
|
-
escalated: "escalated";
|
|
508
508
|
}>;
|
|
509
509
|
export type TestCaseFailureCategory = z.infer<typeof TestCaseFailureCategorySchema>;
|
|
510
510
|
export declare const RecordFrameToolInputSchema: z.ZodObject<{
|
|
511
511
|
title: z.ZodString;
|
|
512
512
|
frame: z.ZodLiteral<"last-image">;
|
|
513
513
|
category: z.ZodOptional<z.ZodEnum<{
|
|
514
|
+
assertion: "assertion";
|
|
515
|
+
"code-change": "code-change";
|
|
514
516
|
error: "error";
|
|
515
|
-
navigation: "navigation";
|
|
516
517
|
interaction: "interaction";
|
|
517
|
-
assertion: "assertion";
|
|
518
518
|
milestone: "milestone";
|
|
519
|
-
|
|
519
|
+
navigation: "navigation";
|
|
520
520
|
observation: "observation";
|
|
521
521
|
}>>;
|
|
522
522
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -524,26 +524,26 @@ export declare const RecordFrameToolInputSchema: z.ZodObject<{
|
|
|
524
524
|
export type RecordFrameToolInput = z.infer<typeof RecordFrameToolInputSchema>;
|
|
525
525
|
export declare const ReportTestOutcomeToolInputSchema: z.ZodObject<{
|
|
526
526
|
outcome: z.ZodEnum<{
|
|
527
|
-
|
|
527
|
+
couldnt_verify: "couldnt_verify";
|
|
528
528
|
failed: "failed";
|
|
529
|
+
other: "other";
|
|
529
530
|
succeeded: "succeeded";
|
|
530
|
-
couldnt_verify: "couldnt_verify";
|
|
531
531
|
}>;
|
|
532
532
|
summary: z.ZodString;
|
|
533
533
|
details: z.ZodOptional<z.ZodString>;
|
|
534
534
|
test_case_id: z.ZodOptional<z.ZodString>;
|
|
535
535
|
evidence_frame_count: z.ZodOptional<z.ZodNumber>;
|
|
536
536
|
failure_category: z.ZodOptional<z.ZodEnum<{
|
|
537
|
-
|
|
538
|
-
env_issue: "env_issue";
|
|
537
|
+
assertion_failed: "assertion_failed";
|
|
539
538
|
creds_missing: "creds_missing";
|
|
539
|
+
env_issue: "env_issue";
|
|
540
|
+
escalated: "escalated";
|
|
541
|
+
feature_not_reachable: "feature_not_reachable";
|
|
540
542
|
needs_user_input: "needs_user_input";
|
|
543
|
+
not_applicable: "not_applicable";
|
|
541
544
|
server_not_ready: "server_not_ready";
|
|
542
|
-
|
|
543
|
-
assertion_failed: "assertion_failed";
|
|
545
|
+
timeout: "timeout";
|
|
544
546
|
unexpected_error: "unexpected_error";
|
|
545
|
-
not_applicable: "not_applicable";
|
|
546
|
-
escalated: "escalated";
|
|
547
547
|
}>>;
|
|
548
548
|
failure_detail: z.ZodOptional<z.ZodString>;
|
|
549
549
|
console_errors: z.ZodOptional<z.ZodString>;
|
|
@@ -631,15 +631,15 @@ export declare const SetupAnalysisValuesSchema: z.ZodObject<{
|
|
|
631
631
|
projectOverview: z.ZodObject<{
|
|
632
632
|
framework: z.ZodNullable<z.ZodString>;
|
|
633
633
|
packageManager: z.ZodNullable<z.ZodEnum<{
|
|
634
|
+
bun: "bun";
|
|
634
635
|
npm: "npm";
|
|
635
|
-
yarn: "yarn";
|
|
636
636
|
pnpm: "pnpm";
|
|
637
|
-
|
|
637
|
+
yarn: "yarn";
|
|
638
638
|
}>>;
|
|
639
639
|
isMonorepo: z.ZodBoolean;
|
|
640
640
|
detectedLanguage: z.ZodNullable<z.ZodEnum<{
|
|
641
|
-
typescript: "typescript";
|
|
642
641
|
javascript: "javascript";
|
|
642
|
+
typescript: "typescript";
|
|
643
643
|
}>>;
|
|
644
644
|
}, z.core.$strip>;
|
|
645
645
|
rootDirectory: z.ZodNullable<z.ZodObject<{
|
|
@@ -685,15 +685,15 @@ export declare const ProposeConfigToolInputSchema: z.ZodObject<{
|
|
|
685
685
|
projectOverview: z.ZodObject<{
|
|
686
686
|
framework: z.ZodNullable<z.ZodString>;
|
|
687
687
|
packageManager: z.ZodNullable<z.ZodEnum<{
|
|
688
|
+
bun: "bun";
|
|
688
689
|
npm: "npm";
|
|
689
|
-
yarn: "yarn";
|
|
690
690
|
pnpm: "pnpm";
|
|
691
|
-
|
|
691
|
+
yarn: "yarn";
|
|
692
692
|
}>>;
|
|
693
693
|
isMonorepo: z.ZodBoolean;
|
|
694
694
|
detectedLanguage: z.ZodNullable<z.ZodEnum<{
|
|
695
|
-
typescript: "typescript";
|
|
696
695
|
javascript: "javascript";
|
|
696
|
+
typescript: "typescript";
|
|
697
697
|
}>>;
|
|
698
698
|
}, z.core.$strip>;
|
|
699
699
|
rootDirectory: z.ZodNullable<z.ZodObject<{
|
|
@@ -737,17 +737,17 @@ export declare const ProposeConfigToolInputSchema: z.ZodObject<{
|
|
|
737
737
|
}, z.core.$strip>;
|
|
738
738
|
export type ProposeConfigToolInput = z.infer<typeof ProposeConfigToolInputSchema>;
|
|
739
739
|
export declare const SetupValueFieldSchema: z.ZodEnum<{
|
|
740
|
-
installCommand: "installCommand";
|
|
741
740
|
devServer: "devServer";
|
|
742
741
|
environmentVariables: "environmentVariables";
|
|
742
|
+
installCommand: "installCommand";
|
|
743
743
|
validationScript: "validationScript";
|
|
744
744
|
}>;
|
|
745
745
|
export type SetupValueField = z.infer<typeof SetupValueFieldSchema>;
|
|
746
746
|
export declare const UpdateSetupValueToolInputSchema: z.ZodObject<{
|
|
747
747
|
field: z.ZodEnum<{
|
|
748
|
-
installCommand: "installCommand";
|
|
749
748
|
devServer: "devServer";
|
|
750
749
|
environmentVariables: "environmentVariables";
|
|
750
|
+
installCommand: "installCommand";
|
|
751
751
|
validationScript: "validationScript";
|
|
752
752
|
}>;
|
|
753
753
|
value: z.ZodObject<{
|
|
@@ -766,28 +766,28 @@ export declare const UpdateSetupValueToolInputSchema: z.ZodObject<{
|
|
|
766
766
|
}, z.core.$strip>;
|
|
767
767
|
export type UpdateSetupValueToolInput = z.infer<typeof UpdateSetupValueToolInputSchema>;
|
|
768
768
|
export declare const ExitStateSchema: z.ZodEnum<{
|
|
769
|
-
|
|
770
|
-
"no-frontend": "no-frontend";
|
|
769
|
+
"code-change-required": "code-change-required";
|
|
771
770
|
"empty-project": "empty-project";
|
|
771
|
+
failed: "failed";
|
|
772
772
|
"mobile-project": "mobile-project";
|
|
773
|
-
"
|
|
774
|
-
"code-change-required": "code-change-required";
|
|
773
|
+
"no-frontend": "no-frontend";
|
|
775
774
|
other: "other";
|
|
776
775
|
started: "started";
|
|
777
|
-
|
|
776
|
+
"user-question": "user-question";
|
|
777
|
+
verified: "verified";
|
|
778
778
|
}>;
|
|
779
779
|
export type ExitState = z.infer<typeof ExitStateSchema>;
|
|
780
780
|
export declare const ExitToolInputSchema: z.ZodObject<{
|
|
781
781
|
state: z.ZodEnum<{
|
|
782
|
-
|
|
783
|
-
"no-frontend": "no-frontend";
|
|
782
|
+
"code-change-required": "code-change-required";
|
|
784
783
|
"empty-project": "empty-project";
|
|
784
|
+
failed: "failed";
|
|
785
785
|
"mobile-project": "mobile-project";
|
|
786
|
-
"
|
|
787
|
-
"code-change-required": "code-change-required";
|
|
786
|
+
"no-frontend": "no-frontend";
|
|
788
787
|
other: "other";
|
|
789
788
|
started: "started";
|
|
790
|
-
|
|
789
|
+
"user-question": "user-question";
|
|
790
|
+
verified: "verified";
|
|
791
791
|
}>;
|
|
792
792
|
summary: z.ZodString;
|
|
793
793
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -795,9 +795,9 @@ export declare const ExitToolInputSchema: z.ZodObject<{
|
|
|
795
795
|
context: z.ZodString;
|
|
796
796
|
header: z.ZodOptional<z.ZodString>;
|
|
797
797
|
type: z.ZodOptional<z.ZodEnum<{
|
|
798
|
-
text: "text";
|
|
799
|
-
select: "select";
|
|
800
798
|
"multi-select": "multi-select";
|
|
799
|
+
select: "select";
|
|
800
|
+
text: "text";
|
|
801
801
|
}>>;
|
|
802
802
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
803
803
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -832,27 +832,27 @@ export declare const ProposedConfigSchema: z.ZodObject<{
|
|
|
832
832
|
updatedAt: z.ZodNumber;
|
|
833
833
|
ownerId: z.ZodString;
|
|
834
834
|
state: z.ZodEnum<{
|
|
835
|
-
|
|
836
|
-
"no-frontend": "no-frontend";
|
|
835
|
+
"code-change-required": "code-change-required";
|
|
837
836
|
"empty-project": "empty-project";
|
|
837
|
+
failed: "failed";
|
|
838
838
|
"mobile-project": "mobile-project";
|
|
839
|
-
"
|
|
840
|
-
"code-change-required": "code-change-required";
|
|
839
|
+
"no-frontend": "no-frontend";
|
|
841
840
|
other: "other";
|
|
842
841
|
started: "started";
|
|
843
|
-
|
|
842
|
+
"user-question": "user-question";
|
|
843
|
+
verified: "verified";
|
|
844
844
|
}>;
|
|
845
845
|
running: z.ZodDefault<z.ZodBoolean>;
|
|
846
846
|
previousStates: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
847
|
-
|
|
848
|
-
"no-frontend": "no-frontend";
|
|
847
|
+
"code-change-required": "code-change-required";
|
|
849
848
|
"empty-project": "empty-project";
|
|
849
|
+
failed: "failed";
|
|
850
850
|
"mobile-project": "mobile-project";
|
|
851
|
-
"
|
|
852
|
-
"code-change-required": "code-change-required";
|
|
851
|
+
"no-frontend": "no-frontend";
|
|
853
852
|
other: "other";
|
|
854
853
|
started: "started";
|
|
855
|
-
|
|
854
|
+
"user-question": "user-question";
|
|
855
|
+
verified: "verified";
|
|
856
856
|
}>>>;
|
|
857
857
|
summary: z.ZodString;
|
|
858
858
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -861,9 +861,9 @@ export declare const ProposedConfigSchema: z.ZodObject<{
|
|
|
861
861
|
whatYouTried: z.ZodOptional<z.ZodString>;
|
|
862
862
|
header: z.ZodOptional<z.ZodString>;
|
|
863
863
|
type: z.ZodOptional<z.ZodEnum<{
|
|
864
|
-
text: "text";
|
|
865
|
-
select: "select";
|
|
866
864
|
"multi-select": "multi-select";
|
|
865
|
+
select: "select";
|
|
866
|
+
text: "text";
|
|
867
867
|
}>>;
|
|
868
868
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
869
869
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -940,33 +940,33 @@ export declare const ProposedConfigSchema: z.ZodObject<{
|
|
|
940
940
|
sessionId: z.ZodString;
|
|
941
941
|
orchestratorStates: z.ZodObject<{
|
|
942
942
|
setupState: z.ZodEnum<{
|
|
943
|
-
"not-installed": "not-installed";
|
|
944
|
-
installing: "installing";
|
|
945
|
-
installed: "installed";
|
|
946
|
-
"install-failed": "install-failed";
|
|
947
943
|
"install-aborted": "install-aborted";
|
|
944
|
+
"install-failed": "install-failed";
|
|
945
|
+
installed: "installed";
|
|
946
|
+
installing: "installing";
|
|
947
|
+
"not-installed": "not-installed";
|
|
948
948
|
}>;
|
|
949
949
|
devState: z.ZodEnum<{
|
|
950
950
|
failed: "failed";
|
|
951
951
|
running: "running";
|
|
952
|
-
stopped: "stopped";
|
|
953
952
|
starting: "starting";
|
|
953
|
+
stopped: "stopped";
|
|
954
954
|
unset: "unset";
|
|
955
955
|
}>;
|
|
956
956
|
httpServerState: z.ZodEnum<{
|
|
957
|
-
|
|
958
|
-
"ok-2xx": "ok-2xx";
|
|
957
|
+
connecting: "connecting";
|
|
959
958
|
"error-4xx": "error-4xx";
|
|
960
959
|
"error-5xx": "error-5xx";
|
|
961
960
|
"error-fetch": "error-fetch";
|
|
962
|
-
|
|
961
|
+
"ok-2xx": "ok-2xx";
|
|
962
|
+
stopped: "stopped";
|
|
963
963
|
}>;
|
|
964
964
|
validateState: z.ZodEnum<{
|
|
965
|
-
|
|
965
|
+
failure: "failure";
|
|
966
966
|
running: "running";
|
|
967
967
|
stopped: "stopped";
|
|
968
|
+
success: "success";
|
|
968
969
|
unset: "unset";
|
|
969
|
-
failure: "failure";
|
|
970
970
|
}>;
|
|
971
971
|
}, z.core.$strip>;
|
|
972
972
|
peakDiskUsage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -992,15 +992,15 @@ export declare const ProposeConfigParamsSchema: z.ZodObject<{
|
|
|
992
992
|
projectId: z.ZodString;
|
|
993
993
|
branchName: z.ZodString;
|
|
994
994
|
state: z.ZodEnum<{
|
|
995
|
-
|
|
996
|
-
"no-frontend": "no-frontend";
|
|
995
|
+
"code-change-required": "code-change-required";
|
|
997
996
|
"empty-project": "empty-project";
|
|
997
|
+
failed: "failed";
|
|
998
998
|
"mobile-project": "mobile-project";
|
|
999
|
-
"
|
|
1000
|
-
"code-change-required": "code-change-required";
|
|
999
|
+
"no-frontend": "no-frontend";
|
|
1001
1000
|
other: "other";
|
|
1002
1001
|
started: "started";
|
|
1003
|
-
|
|
1002
|
+
"user-question": "user-question";
|
|
1003
|
+
verified: "verified";
|
|
1004
1004
|
}>;
|
|
1005
1005
|
summary: z.ZodString;
|
|
1006
1006
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1083,33 +1083,33 @@ export declare const ProposeConfigParamsSchema: z.ZodObject<{
|
|
|
1083
1083
|
sessionId: z.ZodString;
|
|
1084
1084
|
orchestratorStates: z.ZodObject<{
|
|
1085
1085
|
setupState: z.ZodEnum<{
|
|
1086
|
-
"not-installed": "not-installed";
|
|
1087
|
-
installing: "installing";
|
|
1088
|
-
installed: "installed";
|
|
1089
|
-
"install-failed": "install-failed";
|
|
1090
1086
|
"install-aborted": "install-aborted";
|
|
1087
|
+
"install-failed": "install-failed";
|
|
1088
|
+
installed: "installed";
|
|
1089
|
+
installing: "installing";
|
|
1090
|
+
"not-installed": "not-installed";
|
|
1091
1091
|
}>;
|
|
1092
1092
|
devState: z.ZodEnum<{
|
|
1093
1093
|
failed: "failed";
|
|
1094
1094
|
running: "running";
|
|
1095
|
-
stopped: "stopped";
|
|
1096
1095
|
starting: "starting";
|
|
1096
|
+
stopped: "stopped";
|
|
1097
1097
|
unset: "unset";
|
|
1098
1098
|
}>;
|
|
1099
1099
|
httpServerState: z.ZodEnum<{
|
|
1100
|
-
|
|
1101
|
-
"ok-2xx": "ok-2xx";
|
|
1100
|
+
connecting: "connecting";
|
|
1102
1101
|
"error-4xx": "error-4xx";
|
|
1103
1102
|
"error-5xx": "error-5xx";
|
|
1104
1103
|
"error-fetch": "error-fetch";
|
|
1105
|
-
|
|
1104
|
+
"ok-2xx": "ok-2xx";
|
|
1105
|
+
stopped: "stopped";
|
|
1106
1106
|
}>;
|
|
1107
1107
|
validateState: z.ZodEnum<{
|
|
1108
|
-
|
|
1108
|
+
failure: "failure";
|
|
1109
1109
|
running: "running";
|
|
1110
1110
|
stopped: "stopped";
|
|
1111
|
+
success: "success";
|
|
1111
1112
|
unset: "unset";
|
|
1112
|
-
failure: "failure";
|
|
1113
1113
|
}>;
|
|
1114
1114
|
}, z.core.$strip>;
|
|
1115
1115
|
peakDiskUsage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1175,11 +1175,11 @@ export declare const SendMessageToolInputSchema: z.ZodObject<{
|
|
|
1175
1175
|
channel_id: z.ZodString;
|
|
1176
1176
|
markdown: z.ZodString;
|
|
1177
1177
|
status: z.ZodEnum<{
|
|
1178
|
+
"done:error": "done:error";
|
|
1179
|
+
"done:success": "done:success";
|
|
1178
1180
|
question: "question";
|
|
1179
1181
|
starting: "starting";
|
|
1180
1182
|
"will-follow-up": "will-follow-up";
|
|
1181
|
-
"done:success": "done:success";
|
|
1182
|
-
"done:error": "done:error";
|
|
1183
1183
|
}>;
|
|
1184
1184
|
loading_message: z.ZodOptional<z.ZodString>;
|
|
1185
1185
|
voice_response: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1193,15 +1193,15 @@ export declare const SpawnBranchToolInputSchema: z.ZodObject<{
|
|
|
1193
1193
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1194
1194
|
origin_channel_id: z.ZodOptional<z.ZodString>;
|
|
1195
1195
|
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
1196
|
+
"deep-research": "deep-research";
|
|
1196
1197
|
normal: "normal";
|
|
1197
1198
|
planning: "planning";
|
|
1198
|
-
"deep-research": "deep-research";
|
|
1199
1199
|
}>>;
|
|
1200
1200
|
model: z.ZodOptional<z.ZodEnum<{
|
|
1201
1201
|
auto: "auto";
|
|
1202
|
+
haiku: "haiku";
|
|
1202
1203
|
opus: "opus";
|
|
1203
1204
|
sonnet: "sonnet";
|
|
1204
|
-
haiku: "haiku";
|
|
1205
1205
|
}>>;
|
|
1206
1206
|
attachment_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1207
1207
|
git_base_branch: z.ZodOptional<z.ZodString>;
|
|
@@ -1231,9 +1231,9 @@ export declare const ArchiveBranchToolInputSchema: z.ZodObject<{
|
|
|
1231
1231
|
}, z.core.$strip>;
|
|
1232
1232
|
export type ArchiveBranchToolInput = z.infer<typeof ArchiveBranchToolInputSchema>;
|
|
1233
1233
|
export declare const ReviewSeveritySchema: z.ZodEnum<{
|
|
1234
|
+
high: "high";
|
|
1234
1235
|
low: "low";
|
|
1235
1236
|
medium: "medium";
|
|
1236
|
-
high: "high";
|
|
1237
1237
|
}>;
|
|
1238
1238
|
export type ReviewSeverity = z.infer<typeof ReviewSeveritySchema>;
|
|
1239
1239
|
/** Comment for PR review - used by SubmitPRReview */
|
|
@@ -1248,18 +1248,18 @@ export declare const PRReviewCommentSchema: z.ZodObject<{
|
|
|
1248
1248
|
title: z.ZodString;
|
|
1249
1249
|
body: z.ZodString;
|
|
1250
1250
|
severity: z.ZodEnum<{
|
|
1251
|
+
high: "high";
|
|
1251
1252
|
low: "low";
|
|
1252
1253
|
medium: "medium";
|
|
1253
|
-
high: "high";
|
|
1254
1254
|
}>;
|
|
1255
1255
|
debugInfo: z.ZodOptional<z.ZodString>;
|
|
1256
1256
|
gif_id: z.ZodOptional<z.ZodString>;
|
|
1257
1257
|
}, z.core.$strip>;
|
|
1258
1258
|
export type PRReviewComment = z.infer<typeof PRReviewCommentSchema>;
|
|
1259
1259
|
export declare const ReviewVerdictSchema: z.ZodEnum<{
|
|
1260
|
-
looks_good: "looks_good";
|
|
1261
|
-
has_findings: "has_findings";
|
|
1262
1260
|
blocking: "blocking";
|
|
1261
|
+
has_findings: "has_findings";
|
|
1262
|
+
looks_good: "looks_good";
|
|
1263
1263
|
}>;
|
|
1264
1264
|
export type ReviewVerdict = z.infer<typeof ReviewVerdictSchema>;
|
|
1265
1265
|
/** SubmitPRReview - Fast code review without recording */
|
|
@@ -1276,22 +1276,22 @@ export declare const SubmitPRReviewToolInputSchema: z.ZodObject<{
|
|
|
1276
1276
|
title: z.ZodString;
|
|
1277
1277
|
body: z.ZodString;
|
|
1278
1278
|
severity: z.ZodEnum<{
|
|
1279
|
+
high: "high";
|
|
1279
1280
|
low: "low";
|
|
1280
1281
|
medium: "medium";
|
|
1281
|
-
high: "high";
|
|
1282
1282
|
}>;
|
|
1283
1283
|
debugInfo: z.ZodOptional<z.ZodString>;
|
|
1284
1284
|
gif_id: z.ZodOptional<z.ZodString>;
|
|
1285
1285
|
}, z.core.$strip>>>;
|
|
1286
1286
|
risk_level: z.ZodOptional<z.ZodEnum<{
|
|
1287
|
+
high: "high";
|
|
1287
1288
|
low: "low";
|
|
1288
1289
|
medium: "medium";
|
|
1289
|
-
high: "high";
|
|
1290
1290
|
}>>;
|
|
1291
1291
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
1292
|
-
looks_good: "looks_good";
|
|
1293
|
-
has_findings: "has_findings";
|
|
1294
1292
|
blocking: "blocking";
|
|
1293
|
+
has_findings: "has_findings";
|
|
1294
|
+
looks_good: "looks_good";
|
|
1295
1295
|
}>>;
|
|
1296
1296
|
}, z.core.$strip>;
|
|
1297
1297
|
export type SubmitPRReviewToolInput = z.infer<typeof SubmitPRReviewToolInputSchema>;
|
|
@@ -1311,9 +1311,9 @@ export declare const ReportIssueToolInputSchema: z.ZodObject<{
|
|
|
1311
1311
|
start_line: z.ZodOptional<z.ZodNumber>;
|
|
1312
1312
|
title: z.ZodString;
|
|
1313
1313
|
severity: z.ZodEnum<{
|
|
1314
|
+
high: "high";
|
|
1314
1315
|
low: "low";
|
|
1315
1316
|
medium: "medium";
|
|
1316
|
-
high: "high";
|
|
1317
1317
|
}>;
|
|
1318
1318
|
body: z.ZodString;
|
|
1319
1319
|
}, z.core.$strip>;
|
|
@@ -1400,8 +1400,8 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1400
1400
|
FindMedia: z.ZodObject<{
|
|
1401
1401
|
query: z.ZodString;
|
|
1402
1402
|
type: z.ZodEnum<{
|
|
1403
|
-
video: "video";
|
|
1404
1403
|
image: "image";
|
|
1404
|
+
video: "video";
|
|
1405
1405
|
}>;
|
|
1406
1406
|
orientation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1407
1407
|
landscape: "landscape";
|
|
@@ -1413,9 +1413,9 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1413
1413
|
Media: z.ZodObject<{
|
|
1414
1414
|
query: z.ZodString;
|
|
1415
1415
|
type: z.ZodEnum<{
|
|
1416
|
-
video: "video";
|
|
1417
|
-
image: "image";
|
|
1418
1416
|
"gen-image": "gen-image";
|
|
1417
|
+
image: "image";
|
|
1418
|
+
video: "video";
|
|
1419
1419
|
}>;
|
|
1420
1420
|
orientation: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1421
1421
|
landscape: "landscape";
|
|
@@ -1440,16 +1440,16 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1440
1440
|
}, z.core.$strip>;
|
|
1441
1441
|
ScoreMemories: z.ZodObject<{
|
|
1442
1442
|
outcome: z.ZodEnum<{
|
|
1443
|
-
unknown: "unknown";
|
|
1444
1443
|
failed: "failed";
|
|
1445
|
-
worked: "worked";
|
|
1446
1444
|
partial: "partial";
|
|
1445
|
+
unknown: "unknown";
|
|
1446
|
+
worked: "worked";
|
|
1447
1447
|
}>;
|
|
1448
1448
|
memory_scores: z.ZodObject<{}, z.core.$catchall<z.ZodEnum<{
|
|
1449
|
-
unknown: "unknown";
|
|
1450
1449
|
failed: "failed";
|
|
1451
|
-
worked: "worked";
|
|
1452
1450
|
partial: "partial";
|
|
1451
|
+
unknown: "unknown";
|
|
1452
|
+
worked: "worked";
|
|
1453
1453
|
}>>>;
|
|
1454
1454
|
}, z.core.$strip>;
|
|
1455
1455
|
Bash: z.ZodObject<{
|
|
@@ -1510,15 +1510,15 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1510
1510
|
TodoRead: z.ZodObject<{}, z.core.$strip>;
|
|
1511
1511
|
TodoWrite: z.ZodObject<{
|
|
1512
1512
|
mode: z.ZodEnum<{
|
|
1513
|
-
replace: "replace";
|
|
1514
1513
|
patch: "patch";
|
|
1514
|
+
replace: "replace";
|
|
1515
1515
|
}>;
|
|
1516
1516
|
todos: z.ZodArray<z.ZodObject<{
|
|
1517
1517
|
content: z.ZodString;
|
|
1518
1518
|
status: z.ZodEnum<{
|
|
1519
|
-
pending: "pending";
|
|
1520
|
-
in_progress: "in_progress";
|
|
1521
1519
|
completed: "completed";
|
|
1520
|
+
in_progress: "in_progress";
|
|
1521
|
+
pending: "pending";
|
|
1522
1522
|
}>;
|
|
1523
1523
|
id: z.ZodString;
|
|
1524
1524
|
}, z.core.$strip>>;
|
|
@@ -1533,10 +1533,10 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1533
1533
|
subject: z.ZodOptional<z.ZodString>;
|
|
1534
1534
|
description: z.ZodOptional<z.ZodString>;
|
|
1535
1535
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1536
|
-
pending: "pending";
|
|
1537
|
-
in_progress: "in_progress";
|
|
1538
1536
|
completed: "completed";
|
|
1539
1537
|
deleted: "deleted";
|
|
1538
|
+
in_progress: "in_progress";
|
|
1539
|
+
pending: "pending";
|
|
1540
1540
|
}>>;
|
|
1541
1541
|
owner: z.ZodOptional<z.ZodString>;
|
|
1542
1542
|
addBlocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1556,9 +1556,9 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1556
1556
|
}, z.core.$strip>;
|
|
1557
1557
|
ExplorationMetadata: z.ZodObject<{
|
|
1558
1558
|
category: z.ZodOptional<z.ZodEnum<{
|
|
1559
|
-
reusable_knowledge: "reusable_knowledge";
|
|
1560
|
-
one_off: "one_off";
|
|
1561
1559
|
bad_quality: "bad_quality";
|
|
1560
|
+
one_off: "one_off";
|
|
1561
|
+
reusable_knowledge: "reusable_knowledge";
|
|
1562
1562
|
}>>;
|
|
1563
1563
|
gif_id: z.ZodOptional<z.ZodString>;
|
|
1564
1564
|
timeline_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1566,9 +1566,9 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1566
1566
|
important_files: z.ZodArray<z.ZodObject<{
|
|
1567
1567
|
file_path: z.ZodString;
|
|
1568
1568
|
relevance: z.ZodOptional<z.ZodEnum<{
|
|
1569
|
+
high: "high";
|
|
1569
1570
|
low: "low";
|
|
1570
1571
|
medium: "medium";
|
|
1571
|
-
high: "high";
|
|
1572
1572
|
}>>;
|
|
1573
1573
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1574
1574
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1587,12 +1587,12 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1587
1587
|
title: z.ZodString;
|
|
1588
1588
|
frame: z.ZodLiteral<"last-image">;
|
|
1589
1589
|
category: z.ZodOptional<z.ZodEnum<{
|
|
1590
|
+
assertion: "assertion";
|
|
1591
|
+
"code-change": "code-change";
|
|
1590
1592
|
error: "error";
|
|
1591
|
-
navigation: "navigation";
|
|
1592
1593
|
interaction: "interaction";
|
|
1593
|
-
assertion: "assertion";
|
|
1594
1594
|
milestone: "milestone";
|
|
1595
|
-
|
|
1595
|
+
navigation: "navigation";
|
|
1596
1596
|
observation: "observation";
|
|
1597
1597
|
}>>;
|
|
1598
1598
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1610,22 +1610,22 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1610
1610
|
title: z.ZodString;
|
|
1611
1611
|
body: z.ZodString;
|
|
1612
1612
|
severity: z.ZodEnum<{
|
|
1613
|
+
high: "high";
|
|
1613
1614
|
low: "low";
|
|
1614
1615
|
medium: "medium";
|
|
1615
|
-
high: "high";
|
|
1616
1616
|
}>;
|
|
1617
1617
|
debugInfo: z.ZodOptional<z.ZodString>;
|
|
1618
1618
|
gif_id: z.ZodOptional<z.ZodString>;
|
|
1619
1619
|
}, z.core.$strip>>>;
|
|
1620
1620
|
risk_level: z.ZodOptional<z.ZodEnum<{
|
|
1621
|
+
high: "high";
|
|
1621
1622
|
low: "low";
|
|
1622
1623
|
medium: "medium";
|
|
1623
|
-
high: "high";
|
|
1624
1624
|
}>>;
|
|
1625
1625
|
verdict: z.ZodOptional<z.ZodEnum<{
|
|
1626
|
-
looks_good: "looks_good";
|
|
1627
|
-
has_findings: "has_findings";
|
|
1628
1626
|
blocking: "blocking";
|
|
1627
|
+
has_findings: "has_findings";
|
|
1628
|
+
looks_good: "looks_good";
|
|
1629
1629
|
}>>;
|
|
1630
1630
|
}, z.core.$strip>;
|
|
1631
1631
|
ProposeConfig: z.ZodObject<{
|
|
@@ -1633,15 +1633,15 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1633
1633
|
projectOverview: z.ZodObject<{
|
|
1634
1634
|
framework: z.ZodNullable<z.ZodString>;
|
|
1635
1635
|
packageManager: z.ZodNullable<z.ZodEnum<{
|
|
1636
|
+
bun: "bun";
|
|
1636
1637
|
npm: "npm";
|
|
1637
|
-
yarn: "yarn";
|
|
1638
1638
|
pnpm: "pnpm";
|
|
1639
|
-
|
|
1639
|
+
yarn: "yarn";
|
|
1640
1640
|
}>>;
|
|
1641
1641
|
isMonorepo: z.ZodBoolean;
|
|
1642
1642
|
detectedLanguage: z.ZodNullable<z.ZodEnum<{
|
|
1643
|
-
typescript: "typescript";
|
|
1644
1643
|
javascript: "javascript";
|
|
1644
|
+
typescript: "typescript";
|
|
1645
1645
|
}>>;
|
|
1646
1646
|
}, z.core.$strip>;
|
|
1647
1647
|
rootDirectory: z.ZodNullable<z.ZodObject<{
|
|
@@ -1685,9 +1685,9 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1685
1685
|
}, z.core.$strip>;
|
|
1686
1686
|
UpdateSetupValue: z.ZodObject<{
|
|
1687
1687
|
field: z.ZodEnum<{
|
|
1688
|
-
installCommand: "installCommand";
|
|
1689
1688
|
devServer: "devServer";
|
|
1690
1689
|
environmentVariables: "environmentVariables";
|
|
1690
|
+
installCommand: "installCommand";
|
|
1691
1691
|
validationScript: "validationScript";
|
|
1692
1692
|
}>;
|
|
1693
1693
|
value: z.ZodObject<{
|
|
@@ -1706,15 +1706,15 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1706
1706
|
}, z.core.$strip>;
|
|
1707
1707
|
Exit: z.ZodObject<{
|
|
1708
1708
|
state: z.ZodEnum<{
|
|
1709
|
-
|
|
1710
|
-
"no-frontend": "no-frontend";
|
|
1709
|
+
"code-change-required": "code-change-required";
|
|
1711
1710
|
"empty-project": "empty-project";
|
|
1711
|
+
failed: "failed";
|
|
1712
1712
|
"mobile-project": "mobile-project";
|
|
1713
|
-
"
|
|
1714
|
-
"code-change-required": "code-change-required";
|
|
1713
|
+
"no-frontend": "no-frontend";
|
|
1715
1714
|
other: "other";
|
|
1716
1715
|
started: "started";
|
|
1717
|
-
|
|
1716
|
+
"user-question": "user-question";
|
|
1717
|
+
verified: "verified";
|
|
1718
1718
|
}>;
|
|
1719
1719
|
summary: z.ZodString;
|
|
1720
1720
|
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1722,9 +1722,9 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1722
1722
|
context: z.ZodString;
|
|
1723
1723
|
header: z.ZodOptional<z.ZodString>;
|
|
1724
1724
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1725
|
-
text: "text";
|
|
1726
|
-
select: "select";
|
|
1727
1725
|
"multi-select": "multi-select";
|
|
1726
|
+
select: "select";
|
|
1727
|
+
text: "text";
|
|
1728
1728
|
}>>;
|
|
1729
1729
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1730
1730
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1757,34 +1757,34 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1757
1757
|
start_line: z.ZodOptional<z.ZodNumber>;
|
|
1758
1758
|
title: z.ZodString;
|
|
1759
1759
|
severity: z.ZodEnum<{
|
|
1760
|
+
high: "high";
|
|
1760
1761
|
low: "low";
|
|
1761
1762
|
medium: "medium";
|
|
1762
|
-
high: "high";
|
|
1763
1763
|
}>;
|
|
1764
1764
|
body: z.ZodString;
|
|
1765
1765
|
}, z.core.$strip>;
|
|
1766
1766
|
ReportTestOutcome: z.ZodObject<{
|
|
1767
1767
|
outcome: z.ZodEnum<{
|
|
1768
|
-
|
|
1768
|
+
couldnt_verify: "couldnt_verify";
|
|
1769
1769
|
failed: "failed";
|
|
1770
|
+
other: "other";
|
|
1770
1771
|
succeeded: "succeeded";
|
|
1771
|
-
couldnt_verify: "couldnt_verify";
|
|
1772
1772
|
}>;
|
|
1773
1773
|
summary: z.ZodString;
|
|
1774
1774
|
details: z.ZodOptional<z.ZodString>;
|
|
1775
1775
|
test_case_id: z.ZodOptional<z.ZodString>;
|
|
1776
1776
|
evidence_frame_count: z.ZodOptional<z.ZodNumber>;
|
|
1777
1777
|
failure_category: z.ZodOptional<z.ZodEnum<{
|
|
1778
|
-
|
|
1779
|
-
env_issue: "env_issue";
|
|
1778
|
+
assertion_failed: "assertion_failed";
|
|
1780
1779
|
creds_missing: "creds_missing";
|
|
1780
|
+
env_issue: "env_issue";
|
|
1781
|
+
escalated: "escalated";
|
|
1782
|
+
feature_not_reachable: "feature_not_reachable";
|
|
1781
1783
|
needs_user_input: "needs_user_input";
|
|
1784
|
+
not_applicable: "not_applicable";
|
|
1782
1785
|
server_not_ready: "server_not_ready";
|
|
1783
|
-
|
|
1784
|
-
assertion_failed: "assertion_failed";
|
|
1786
|
+
timeout: "timeout";
|
|
1785
1787
|
unexpected_error: "unexpected_error";
|
|
1786
|
-
not_applicable: "not_applicable";
|
|
1787
|
-
escalated: "escalated";
|
|
1788
1788
|
}>>;
|
|
1789
1789
|
failure_detail: z.ZodOptional<z.ZodString>;
|
|
1790
1790
|
console_errors: z.ZodOptional<z.ZodString>;
|
|
@@ -1834,11 +1834,11 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1834
1834
|
channel_id: z.ZodString;
|
|
1835
1835
|
markdown: z.ZodString;
|
|
1836
1836
|
status: z.ZodEnum<{
|
|
1837
|
+
"done:error": "done:error";
|
|
1838
|
+
"done:success": "done:success";
|
|
1837
1839
|
question: "question";
|
|
1838
1840
|
starting: "starting";
|
|
1839
1841
|
"will-follow-up": "will-follow-up";
|
|
1840
|
-
"done:success": "done:success";
|
|
1841
|
-
"done:error": "done:error";
|
|
1842
1842
|
}>;
|
|
1843
1843
|
loading_message: z.ZodOptional<z.ZodString>;
|
|
1844
1844
|
voice_response: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1851,15 +1851,15 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1851
1851
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1852
1852
|
origin_channel_id: z.ZodOptional<z.ZodString>;
|
|
1853
1853
|
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
1854
|
+
"deep-research": "deep-research";
|
|
1854
1855
|
normal: "normal";
|
|
1855
1856
|
planning: "planning";
|
|
1856
|
-
"deep-research": "deep-research";
|
|
1857
1857
|
}>>;
|
|
1858
1858
|
model: z.ZodOptional<z.ZodEnum<{
|
|
1859
1859
|
auto: "auto";
|
|
1860
|
+
haiku: "haiku";
|
|
1860
1861
|
opus: "opus";
|
|
1861
1862
|
sonnet: "sonnet";
|
|
1862
|
-
haiku: "haiku";
|
|
1863
1863
|
}>>;
|
|
1864
1864
|
attachment_urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1865
1865
|
git_base_branch: z.ZodOptional<z.ZodString>;
|
|
@@ -1911,79 +1911,79 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1911
1911
|
}, z.core.$strip>;
|
|
1912
1912
|
export type CodeGenToolMap = z.infer<typeof CodeGenToolMapSchema>;
|
|
1913
1913
|
export declare const CodeGenToolsSchema: z.ZodEnum<{
|
|
1914
|
-
AskUserQuestion: "AskUserQuestion";
|
|
1915
|
-
EscalateToPlanner: "EscalateToPlanner";
|
|
1916
|
-
Read: "Read";
|
|
1917
|
-
Write: "Write";
|
|
1918
|
-
Edit: "Edit";
|
|
1919
|
-
ReadRule: "ReadRule";
|
|
1920
|
-
Skill: "Skill";
|
|
1921
|
-
GetStyleInspiration: "GetStyleInspiration";
|
|
1922
|
-
GetScreenshot: "GetScreenshot";
|
|
1923
|
-
NavigatePreview: "NavigatePreview";
|
|
1924
|
-
MultiEdit: "MultiEdit";
|
|
1925
|
-
FindMedia: "FindMedia";
|
|
1926
|
-
Media: "Media";
|
|
1927
1914
|
AddMemory: "AddMemory";
|
|
1928
|
-
SearchMemories: "SearchMemories";
|
|
1929
|
-
ScoreMemories: "ScoreMemories";
|
|
1930
|
-
Bash: "Bash";
|
|
1931
|
-
PowerShell: "PowerShell";
|
|
1932
|
-
WebSearch: "WebSearch";
|
|
1933
1915
|
Agent: "Agent";
|
|
1934
|
-
|
|
1935
|
-
|
|
1916
|
+
ArchiveBranch: "ArchiveBranch";
|
|
1917
|
+
AskUserQuestion: "AskUserQuestion";
|
|
1918
|
+
Bash: "Bash";
|
|
1919
|
+
BuilderEdit: "BuilderEdit";
|
|
1920
|
+
ConnectMCP: "ConnectMCP";
|
|
1921
|
+
CreateProject: "CreateProject";
|
|
1936
1922
|
DevServerControl: "DevServerControl";
|
|
1937
1923
|
DevServerLogs: "DevServerLogs";
|
|
1938
1924
|
DevServerRestart: "DevServerRestart";
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
TodoWrite: "TodoWrite";
|
|
1942
|
-
TaskCreate: "TaskCreate";
|
|
1943
|
-
TaskUpdate: "TaskUpdate";
|
|
1944
|
-
TaskList: "TaskList";
|
|
1945
|
-
BuilderEdit: "BuilderEdit";
|
|
1946
|
-
WebFetch: "WebFetch";
|
|
1947
|
-
ExplorationMetadata: "ExplorationMetadata";
|
|
1925
|
+
Edit: "Edit";
|
|
1926
|
+
EnsurePR: "EnsurePR";
|
|
1948
1927
|
EnterPlanMode: "EnterPlanMode";
|
|
1928
|
+
EscalateToPlanner: "EscalateToPlanner";
|
|
1929
|
+
Exit: "Exit";
|
|
1949
1930
|
ExitPlanMode: "ExitPlanMode";
|
|
1931
|
+
ExplorationMetadata: "ExplorationMetadata";
|
|
1932
|
+
FindMedia: "FindMedia";
|
|
1933
|
+
GetAvailableRepos: "GetAvailableRepos";
|
|
1934
|
+
GetLastBrowserTest: "GetLastBrowserTest";
|
|
1935
|
+
GetScreenshot: "GetScreenshot";
|
|
1936
|
+
GetStyleInspiration: "GetStyleInspiration";
|
|
1937
|
+
Glob: "Glob";
|
|
1938
|
+
Grep: "Grep";
|
|
1939
|
+
IDEDiagnostics: "IDEDiagnostics";
|
|
1940
|
+
Media: "Media";
|
|
1941
|
+
MultiEdit: "MultiEdit";
|
|
1942
|
+
NavigatePreview: "NavigatePreview";
|
|
1943
|
+
PowerShell: "PowerShell";
|
|
1944
|
+
ProposeConfig: "ProposeConfig";
|
|
1945
|
+
ProposeEnvVariable: "ProposeEnvVariable";
|
|
1946
|
+
PullPrototype: "PullPrototype";
|
|
1947
|
+
Read: "Read";
|
|
1948
|
+
ReadBranch: "ReadBranch";
|
|
1950
1949
|
ReadMcpResource: "ReadMcpResource";
|
|
1950
|
+
ReadRule: "ReadRule";
|
|
1951
1951
|
RecordFrame: "RecordFrame";
|
|
1952
|
-
SubmitPRReview: "SubmitPRReview";
|
|
1953
|
-
ProposeConfig: "ProposeConfig";
|
|
1954
|
-
UpdateSetupValue: "UpdateSetupValue";
|
|
1955
|
-
Exit: "Exit";
|
|
1956
|
-
ResolveQAComments: "ResolveQAComments";
|
|
1957
|
-
GetLastBrowserTest: "GetLastBrowserTest";
|
|
1958
|
-
ReportUIIssue: "ReportUIIssue";
|
|
1959
1952
|
ReportIssue: "ReportIssue";
|
|
1960
1953
|
ReportTestOutcome: "ReportTestOutcome";
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1954
|
+
ReportUIIssue: "ReportUIIssue";
|
|
1955
|
+
ResolveQAComments: "ResolveQAComments";
|
|
1956
|
+
Revert: "Revert";
|
|
1957
|
+
RunningAgents: "RunningAgents";
|
|
1958
|
+
ScoreMemories: "ScoreMemories";
|
|
1959
|
+
SearchMemories: "SearchMemories";
|
|
1960
|
+
SendMessage: "SendMessage";
|
|
1966
1961
|
SetEnvVariable: "SetEnvVariable";
|
|
1967
1962
|
SetFileOverride: "SetFileOverride";
|
|
1968
|
-
|
|
1963
|
+
Skill: "Skill";
|
|
1969
1964
|
SpawnBranch: "SpawnBranch";
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1965
|
+
SubmitPRReview: "SubmitPRReview";
|
|
1966
|
+
TaskCreate: "TaskCreate";
|
|
1967
|
+
TaskList: "TaskList";
|
|
1968
|
+
TaskUpdate: "TaskUpdate";
|
|
1969
|
+
TodoRead: "TodoRead";
|
|
1970
|
+
TodoWrite: "TodoWrite";
|
|
1971
|
+
UpdateSetupValue: "UpdateSetupValue";
|
|
1972
|
+
VerifyDevCommand: "VerifyDevCommand";
|
|
1973
|
+
VerifyDevServer: "VerifyDevServer";
|
|
1974
|
+
VerifySetupCommand: "VerifySetupCommand";
|
|
1975
|
+
VerifyValidateCommand: "VerifyValidateCommand";
|
|
1976
|
+
WebFetch: "WebFetch";
|
|
1977
|
+
WebSearch: "WebSearch";
|
|
1978
|
+
Write: "Write";
|
|
1979
1979
|
}>;
|
|
1980
1980
|
export type CodeGenTools = z.infer<typeof CodeGenToolsSchema>;
|
|
1981
1981
|
export type AllCodeGenTools = CodeGenTools | "web_search";
|
|
1982
1982
|
export declare const SessionModeSchema: z.ZodEnum<{
|
|
1983
|
+
"auto-planning": "auto-planning";
|
|
1984
|
+
"deep-research": "deep-research";
|
|
1983
1985
|
normal: "normal";
|
|
1984
1986
|
planning: "planning";
|
|
1985
|
-
"deep-research": "deep-research";
|
|
1986
|
-
"auto-planning": "auto-planning";
|
|
1987
1987
|
}>;
|
|
1988
1988
|
export type SessionMode = z.infer<typeof SessionModeSchema>;
|
|
1989
1989
|
export declare const CodeGenModeSchema: z.ZodEnum<{
|
|
@@ -2053,47 +2053,47 @@ export declare function normalizeQueueMode(mode: QueueMode | undefined): QueueBe
|
|
|
2053
2053
|
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", "org-worker", "browser-testing", "projects-scheduler-memory-extraction", "builder-code", "unknown", "dsi-mcp", "design-system-indexer", "builder-publish-integration"];
|
|
2054
2054
|
export type BaseCodeGenPosition = (typeof BASE_CODEGEN_POSITIONS)[number];
|
|
2055
2055
|
export declare const BaseCodeGenPositionSchema: z.ZodEnum<{
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
"
|
|
2059
|
-
"
|
|
2056
|
+
"browser-testing": "browser-testing";
|
|
2057
|
+
"builder-code": "builder-code";
|
|
2058
|
+
"builder-code-panel": "builder-code-panel";
|
|
2059
|
+
"builder-publish-integration": "builder-publish-integration";
|
|
2060
2060
|
cli: "cli";
|
|
2061
|
+
"code-review-orchestrator": "code-review-orchestrator";
|
|
2061
2062
|
"create-app-firebase": "create-app-firebase";
|
|
2062
2063
|
"create-app-lovable": "create-app-lovable";
|
|
2063
|
-
"
|
|
2064
|
-
"
|
|
2065
|
-
"
|
|
2066
|
-
|
|
2064
|
+
"design-system-indexer": "design-system-indexer";
|
|
2065
|
+
"dsi-mcp": "dsi-mcp";
|
|
2066
|
+
"editor-ai": "editor-ai";
|
|
2067
|
+
fusion: "fusion";
|
|
2067
2068
|
"org-agent": "org-agent";
|
|
2068
2069
|
"org-worker": "org-worker";
|
|
2069
|
-
"
|
|
2070
|
+
"project-configuration": "project-configuration";
|
|
2070
2071
|
"projects-scheduler-memory-extraction": "projects-scheduler-memory-extraction";
|
|
2071
|
-
"
|
|
2072
|
-
"
|
|
2073
|
-
|
|
2074
|
-
"builder-publish-integration": "builder-publish-integration";
|
|
2072
|
+
"repo-indexing": "repo-indexing";
|
|
2073
|
+
"setup-project": "setup-project";
|
|
2074
|
+
unknown: "unknown";
|
|
2075
2075
|
}>;
|
|
2076
2076
|
export declare const CodeGenPositionSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
"
|
|
2080
|
-
"
|
|
2077
|
+
"browser-testing": "browser-testing";
|
|
2078
|
+
"builder-code": "builder-code";
|
|
2079
|
+
"builder-code-panel": "builder-code-panel";
|
|
2080
|
+
"builder-publish-integration": "builder-publish-integration";
|
|
2081
2081
|
cli: "cli";
|
|
2082
|
+
"code-review-orchestrator": "code-review-orchestrator";
|
|
2082
2083
|
"create-app-firebase": "create-app-firebase";
|
|
2083
2084
|
"create-app-lovable": "create-app-lovable";
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2086
|
-
"
|
|
2087
|
-
|
|
2085
|
+
"design-system-indexer": "design-system-indexer";
|
|
2086
|
+
"dsi-mcp": "dsi-mcp";
|
|
2087
|
+
"editor-ai": "editor-ai";
|
|
2088
|
+
fusion: "fusion";
|
|
2088
2089
|
"org-agent": "org-agent";
|
|
2089
2090
|
"org-worker": "org-worker";
|
|
2090
|
-
"
|
|
2091
|
+
"project-configuration": "project-configuration";
|
|
2091
2092
|
"projects-scheduler-memory-extraction": "projects-scheduler-memory-extraction";
|
|
2092
|
-
"
|
|
2093
|
-
"
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
}>, z.ZodTemplateLiteral<"unknown-agent" | "fusion-agent" | "editor-ai-agent" | "repo-indexing-agent" | "cli-agent" | "create-app-firebase-agent" | "create-app-lovable-agent" | "builder-code-panel-agent" | "setup-project-agent" | "code-review-orchestrator-agent" | "project-configuration-agent" | "org-agent-agent" | "org-worker-agent" | "browser-testing-agent" | "projects-scheduler-memory-extraction-agent" | "builder-code-agent" | "dsi-mcp-agent" | "design-system-indexer-agent" | "builder-publish-integration-agent">]>;
|
|
2093
|
+
"repo-indexing": "repo-indexing";
|
|
2094
|
+
"setup-project": "setup-project";
|
|
2095
|
+
unknown: "unknown";
|
|
2096
|
+
}>, z.ZodTemplateLiteral<"browser-testing-agent" | "builder-code-agent" | "builder-code-panel-agent" | "builder-publish-integration-agent" | "cli-agent" | "code-review-orchestrator-agent" | "create-app-firebase-agent" | "create-app-lovable-agent" | "design-system-indexer-agent" | "dsi-mcp-agent" | "editor-ai-agent" | "fusion-agent" | "org-agent-agent" | "org-worker-agent" | "project-configuration-agent" | "projects-scheduler-memory-extraction-agent" | "repo-indexing-agent" | "setup-project-agent" | "unknown-agent">]>;
|
|
2097
2097
|
export type CodeGenPosition = z.infer<typeof CodeGenPositionSchema>;
|
|
2098
2098
|
export declare const RepoIndexingConfigSchema: z.ZodObject<{
|
|
2099
2099
|
designSystems: z.ZodArray<z.ZodString>;
|
|
@@ -2104,31 +2104,32 @@ export declare const LocalMCPToolsSchema: z.ZodObject<{
|
|
|
2104
2104
|
description: z.ZodOptional<z.ZodString>;
|
|
2105
2105
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
2106
2106
|
serverName: z.ZodString;
|
|
2107
|
+
deferLoading: z.ZodOptional<z.ZodBoolean>;
|
|
2107
2108
|
}, z.core.$strip>;
|
|
2108
2109
|
export type LocalMCPTools = z.infer<typeof LocalMCPToolsSchema>;
|
|
2109
2110
|
export declare const CodeGenCategorySchema: z.ZodUnion<readonly [z.ZodTemplateLiteral<`repair-${string}`>, z.ZodLiteral<"user-normal">, z.ZodLiteral<"user-figma">, z.ZodLiteral<"user-pdf">, z.ZodLiteral<"user-image">, z.ZodLiteral<"setup-agent">, z.ZodTemplateLiteral<`background-${string}`>, z.ZodTemplateLiteral<`indexing-${string}`>]>;
|
|
2110
2111
|
export type CodeGenCategory = z.infer<typeof CodeGenCategorySchema>;
|
|
2111
2112
|
export declare const UserSourcePermissionSchema: z.ZodEnum<{
|
|
2113
|
+
createBranches: "createBranches";
|
|
2112
2114
|
editCode: "editCode";
|
|
2113
2115
|
modifyMcpServers: "modifyMcpServers";
|
|
2114
2116
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2115
|
-
createBranches: "createBranches";
|
|
2116
2117
|
sendPullRequests: "sendPullRequests";
|
|
2117
2118
|
view: "view";
|
|
2118
2119
|
}>;
|
|
2119
2120
|
export type UserSourcePermission = z.infer<typeof UserSourcePermissionSchema>;
|
|
2120
2121
|
export declare const UserSourceBaseSchema: z.ZodObject<{
|
|
2121
2122
|
role: z.ZodEnum<{
|
|
2122
|
-
user: "user";
|
|
2123
2123
|
agent: "agent";
|
|
2124
|
+
user: "user";
|
|
2124
2125
|
}>;
|
|
2125
2126
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2126
2127
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2127
2128
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2129
|
+
createBranches: "createBranches";
|
|
2128
2130
|
editCode: "editCode";
|
|
2129
2131
|
modifyMcpServers: "modifyMcpServers";
|
|
2130
2132
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2131
|
-
createBranches: "createBranches";
|
|
2132
2133
|
sendPullRequests: "sendPullRequests";
|
|
2133
2134
|
view: "view";
|
|
2134
2135
|
}>>>;
|
|
@@ -2137,17 +2138,32 @@ export declare const UserSourceBaseSchema: z.ZodObject<{
|
|
|
2137
2138
|
export type UserSourceBase = z.infer<typeof UserSourceBaseSchema>;
|
|
2138
2139
|
/** All integration sources: Slack, Teams, Jira, Linear, and git providers (GitHub, GitLab, Azure, Bitbucket). */
|
|
2139
2140
|
export declare const UserSourceOtherSchema: z.ZodObject<{
|
|
2141
|
+
role: z.ZodEnum<{
|
|
2142
|
+
agent: "agent";
|
|
2143
|
+
user: "user";
|
|
2144
|
+
}>;
|
|
2145
|
+
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2146
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2147
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2148
|
+
createBranches: "createBranches";
|
|
2149
|
+
editCode: "editCode";
|
|
2150
|
+
modifyMcpServers: "modifyMcpServers";
|
|
2151
|
+
modifyProjectSettings: "modifyProjectSettings";
|
|
2152
|
+
sendPullRequests: "sendPullRequests";
|
|
2153
|
+
view: "view";
|
|
2154
|
+
}>>>;
|
|
2155
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
2140
2156
|
source: z.ZodEnum<{
|
|
2157
|
+
azure: "azure";
|
|
2158
|
+
bitbucket: "bitbucket";
|
|
2141
2159
|
github: "github";
|
|
2142
2160
|
gitlab: "gitlab";
|
|
2143
|
-
|
|
2144
|
-
|
|
2161
|
+
jira: "jira";
|
|
2162
|
+
linear: "linear";
|
|
2145
2163
|
slack: "slack";
|
|
2164
|
+
teams: "teams";
|
|
2146
2165
|
telegram: "telegram";
|
|
2147
2166
|
whatsapp: "whatsapp";
|
|
2148
|
-
teams: "teams";
|
|
2149
|
-
jira: "jira";
|
|
2150
|
-
linear: "linear";
|
|
2151
2167
|
}>;
|
|
2152
2168
|
userId: z.ZodOptional<z.ZodString>;
|
|
2153
2169
|
userName: z.ZodOptional<z.ZodString>;
|
|
@@ -2155,80 +2171,80 @@ export declare const UserSourceOtherSchema: z.ZodObject<{
|
|
|
2155
2171
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
2156
2172
|
builderUserId: z.ZodOptional<z.ZodString>;
|
|
2157
2173
|
link: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
}, z.core.$strip>;
|
|
2175
|
+
export type UserSourceOther = z.infer<typeof UserSourceOtherSchema>;
|
|
2176
|
+
export declare const UserSourceBuilderSchema: z.ZodObject<{
|
|
2158
2177
|
role: z.ZodEnum<{
|
|
2159
|
-
user: "user";
|
|
2160
2178
|
agent: "agent";
|
|
2179
|
+
user: "user";
|
|
2161
2180
|
}>;
|
|
2162
2181
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2163
2182
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2164
2183
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2184
|
+
createBranches: "createBranches";
|
|
2165
2185
|
editCode: "editCode";
|
|
2166
2186
|
modifyMcpServers: "modifyMcpServers";
|
|
2167
2187
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2168
|
-
createBranches: "createBranches";
|
|
2169
2188
|
sendPullRequests: "sendPullRequests";
|
|
2170
2189
|
view: "view";
|
|
2171
2190
|
}>>>;
|
|
2172
2191
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2173
|
-
}, z.core.$strip>;
|
|
2174
|
-
export type UserSourceOther = z.infer<typeof UserSourceOtherSchema>;
|
|
2175
|
-
export declare const UserSourceBuilderSchema: z.ZodObject<{
|
|
2176
2192
|
source: z.ZodLiteral<"builder.io">;
|
|
2177
2193
|
userId: z.ZodOptional<z.ZodString>;
|
|
2178
2194
|
userName: z.ZodOptional<z.ZodString>;
|
|
2179
2195
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
2180
2196
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
2197
|
+
}, z.core.$strip>;
|
|
2198
|
+
export type UserSourceBuilder = z.infer<typeof UserSourceBuilderSchema>;
|
|
2199
|
+
export declare const UserSourceAgentSchema: z.ZodObject<{
|
|
2181
2200
|
role: z.ZodEnum<{
|
|
2182
|
-
user: "user";
|
|
2183
2201
|
agent: "agent";
|
|
2202
|
+
user: "user";
|
|
2184
2203
|
}>;
|
|
2185
2204
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2186
2205
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2187
2206
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2207
|
+
createBranches: "createBranches";
|
|
2188
2208
|
editCode: "editCode";
|
|
2189
2209
|
modifyMcpServers: "modifyMcpServers";
|
|
2190
2210
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2191
|
-
createBranches: "createBranches";
|
|
2192
2211
|
sendPullRequests: "sendPullRequests";
|
|
2193
2212
|
view: "view";
|
|
2194
2213
|
}>>>;
|
|
2195
2214
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2196
|
-
}, z.core.$strip>;
|
|
2197
|
-
export type UserSourceBuilder = z.infer<typeof UserSourceBuilderSchema>;
|
|
2198
|
-
export declare const UserSourceAgentSchema: z.ZodObject<{
|
|
2199
2215
|
source: z.ZodLiteral<"agent">;
|
|
2200
2216
|
userId: z.ZodOptional<z.ZodString>;
|
|
2201
2217
|
userName: z.ZodOptional<z.ZodString>;
|
|
2202
2218
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
2219
|
+
}, z.core.$strip>;
|
|
2220
|
+
export type UserSourceAgent = z.infer<typeof UserSourceAgentSchema>;
|
|
2221
|
+
export declare const UserSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2203
2222
|
role: z.ZodEnum<{
|
|
2204
|
-
user: "user";
|
|
2205
2223
|
agent: "agent";
|
|
2224
|
+
user: "user";
|
|
2206
2225
|
}>;
|
|
2207
2226
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2208
2227
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2209
2228
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2229
|
+
createBranches: "createBranches";
|
|
2210
2230
|
editCode: "editCode";
|
|
2211
2231
|
modifyMcpServers: "modifyMcpServers";
|
|
2212
2232
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2213
|
-
createBranches: "createBranches";
|
|
2214
2233
|
sendPullRequests: "sendPullRequests";
|
|
2215
2234
|
view: "view";
|
|
2216
2235
|
}>>>;
|
|
2217
2236
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2218
|
-
}, z.core.$strip>;
|
|
2219
|
-
export type UserSourceAgent = z.infer<typeof UserSourceAgentSchema>;
|
|
2220
|
-
export declare const UserSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2221
2237
|
source: z.ZodEnum<{
|
|
2238
|
+
azure: "azure";
|
|
2239
|
+
bitbucket: "bitbucket";
|
|
2222
2240
|
github: "github";
|
|
2223
2241
|
gitlab: "gitlab";
|
|
2224
|
-
|
|
2225
|
-
|
|
2242
|
+
jira: "jira";
|
|
2243
|
+
linear: "linear";
|
|
2226
2244
|
slack: "slack";
|
|
2245
|
+
teams: "teams";
|
|
2227
2246
|
telegram: "telegram";
|
|
2228
2247
|
whatsapp: "whatsapp";
|
|
2229
|
-
teams: "teams";
|
|
2230
|
-
jira: "jira";
|
|
2231
|
-
linear: "linear";
|
|
2232
2248
|
}>;
|
|
2233
2249
|
userId: z.ZodOptional<z.ZodString>;
|
|
2234
2250
|
userName: z.ZodOptional<z.ZodString>;
|
|
@@ -2236,68 +2252,53 @@ export declare const UserSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2236
2252
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
2237
2253
|
builderUserId: z.ZodOptional<z.ZodString>;
|
|
2238
2254
|
link: z.ZodOptional<z.ZodString>;
|
|
2255
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2239
2256
|
role: z.ZodEnum<{
|
|
2240
|
-
user: "user";
|
|
2241
2257
|
agent: "agent";
|
|
2258
|
+
user: "user";
|
|
2242
2259
|
}>;
|
|
2243
2260
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2244
2261
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2245
2262
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2263
|
+
createBranches: "createBranches";
|
|
2246
2264
|
editCode: "editCode";
|
|
2247
2265
|
modifyMcpServers: "modifyMcpServers";
|
|
2248
2266
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2249
|
-
createBranches: "createBranches";
|
|
2250
2267
|
sendPullRequests: "sendPullRequests";
|
|
2251
2268
|
view: "view";
|
|
2252
2269
|
}>>>;
|
|
2253
2270
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2254
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2255
2271
|
source: z.ZodLiteral<"builder.io">;
|
|
2256
2272
|
userId: z.ZodOptional<z.ZodString>;
|
|
2257
2273
|
userName: z.ZodOptional<z.ZodString>;
|
|
2258
2274
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
2259
2275
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
2276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2260
2277
|
role: z.ZodEnum<{
|
|
2261
|
-
user: "user";
|
|
2262
2278
|
agent: "agent";
|
|
2279
|
+
user: "user";
|
|
2263
2280
|
}>;
|
|
2264
2281
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2265
2282
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2266
2283
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2284
|
+
createBranches: "createBranches";
|
|
2267
2285
|
editCode: "editCode";
|
|
2268
2286
|
modifyMcpServers: "modifyMcpServers";
|
|
2269
2287
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2270
|
-
createBranches: "createBranches";
|
|
2271
2288
|
sendPullRequests: "sendPullRequests";
|
|
2272
2289
|
view: "view";
|
|
2273
2290
|
}>>>;
|
|
2274
2291
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2275
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2276
2292
|
source: z.ZodLiteral<"agent">;
|
|
2277
2293
|
userId: z.ZodOptional<z.ZodString>;
|
|
2278
2294
|
userName: z.ZodOptional<z.ZodString>;
|
|
2279
2295
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
2280
|
-
role: z.ZodEnum<{
|
|
2281
|
-
user: "user";
|
|
2282
|
-
agent: "agent";
|
|
2283
|
-
}>;
|
|
2284
|
-
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2285
|
-
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2286
|
-
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2287
|
-
editCode: "editCode";
|
|
2288
|
-
modifyMcpServers: "modifyMcpServers";
|
|
2289
|
-
modifyProjectSettings: "modifyProjectSettings";
|
|
2290
|
-
createBranches: "createBranches";
|
|
2291
|
-
sendPullRequests: "sendPullRequests";
|
|
2292
|
-
view: "view";
|
|
2293
|
-
}>>>;
|
|
2294
|
-
channelId: z.ZodOptional<z.ZodString>;
|
|
2295
2296
|
}, z.core.$strip>], "source">;
|
|
2296
2297
|
export type UserSource = z.infer<typeof UserSourceSchema>;
|
|
2297
2298
|
export declare const PermissionSchema: z.ZodEnum<{
|
|
2299
|
+
list: "list";
|
|
2298
2300
|
read: "read";
|
|
2299
2301
|
write: "write";
|
|
2300
|
-
list: "list";
|
|
2301
2302
|
}>;
|
|
2302
2303
|
export type Permission = z.infer<typeof PermissionSchema>;
|
|
2303
2304
|
export declare const AclEntrySchema: z.ZodObject<{
|
|
@@ -2307,9 +2308,9 @@ export declare const AclEntrySchema: z.ZodObject<{
|
|
|
2307
2308
|
}>;
|
|
2308
2309
|
resource: z.ZodString;
|
|
2309
2310
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
2311
|
+
list: "list";
|
|
2310
2312
|
read: "read";
|
|
2311
2313
|
write: "write";
|
|
2312
|
-
list: "list";
|
|
2313
2314
|
}>>;
|
|
2314
2315
|
description: z.ZodOptional<z.ZodString>;
|
|
2315
2316
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2324,9 +2325,9 @@ export declare const AclPolicySchema: z.ZodObject<{
|
|
|
2324
2325
|
}>;
|
|
2325
2326
|
resource: z.ZodString;
|
|
2326
2327
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
2328
|
+
list: "list";
|
|
2327
2329
|
read: "read";
|
|
2328
2330
|
write: "write";
|
|
2329
|
-
list: "list";
|
|
2330
2331
|
}>>;
|
|
2331
2332
|
description: z.ZodOptional<z.ZodString>;
|
|
2332
2333
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2348,26 +2349,26 @@ export declare const SystemReminderSchema: z.ZodUnion<readonly [z.ZodString, z.Z
|
|
|
2348
2349
|
export type SystemReminder = z.infer<typeof SystemReminderSchema>;
|
|
2349
2350
|
export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
2350
2351
|
position: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
"
|
|
2354
|
-
"
|
|
2352
|
+
"browser-testing": "browser-testing";
|
|
2353
|
+
"builder-code": "builder-code";
|
|
2354
|
+
"builder-code-panel": "builder-code-panel";
|
|
2355
|
+
"builder-publish-integration": "builder-publish-integration";
|
|
2355
2356
|
cli: "cli";
|
|
2357
|
+
"code-review-orchestrator": "code-review-orchestrator";
|
|
2356
2358
|
"create-app-firebase": "create-app-firebase";
|
|
2357
2359
|
"create-app-lovable": "create-app-lovable";
|
|
2358
|
-
"
|
|
2359
|
-
"
|
|
2360
|
-
"
|
|
2361
|
-
|
|
2360
|
+
"design-system-indexer": "design-system-indexer";
|
|
2361
|
+
"dsi-mcp": "dsi-mcp";
|
|
2362
|
+
"editor-ai": "editor-ai";
|
|
2363
|
+
fusion: "fusion";
|
|
2362
2364
|
"org-agent": "org-agent";
|
|
2363
2365
|
"org-worker": "org-worker";
|
|
2364
|
-
"
|
|
2366
|
+
"project-configuration": "project-configuration";
|
|
2365
2367
|
"projects-scheduler-memory-extraction": "projects-scheduler-memory-extraction";
|
|
2366
|
-
"
|
|
2367
|
-
"
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
}>, z.ZodTemplateLiteral<"unknown-agent" | "fusion-agent" | "editor-ai-agent" | "repo-indexing-agent" | "cli-agent" | "create-app-firebase-agent" | "create-app-lovable-agent" | "builder-code-panel-agent" | "setup-project-agent" | "code-review-orchestrator-agent" | "project-configuration-agent" | "org-agent-agent" | "org-worker-agent" | "browser-testing-agent" | "projects-scheduler-memory-extraction-agent" | "builder-code-agent" | "dsi-mcp-agent" | "design-system-indexer-agent" | "builder-publish-integration-agent">]>;
|
|
2368
|
+
"repo-indexing": "repo-indexing";
|
|
2369
|
+
"setup-project": "setup-project";
|
|
2370
|
+
unknown: "unknown";
|
|
2371
|
+
}>, z.ZodTemplateLiteral<"browser-testing-agent" | "builder-code-agent" | "builder-code-panel-agent" | "builder-publish-integration-agent" | "cli-agent" | "code-review-orchestrator-agent" | "create-app-firebase-agent" | "create-app-lovable-agent" | "design-system-indexer-agent" | "dsi-mcp-agent" | "editor-ai-agent" | "fusion-agent" | "org-agent-agent" | "org-worker-agent" | "project-configuration-agent" | "projects-scheduler-memory-extraction-agent" | "repo-indexing-agent" | "setup-project-agent" | "unknown-agent">]>;
|
|
2371
2372
|
eventName: z.ZodOptional<z.ZodString>;
|
|
2372
2373
|
sessionId: z.ZodString;
|
|
2373
2374
|
codeGenMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2376,10 +2377,10 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2376
2377
|
"quality-v4-agent": "quality-v4-agent";
|
|
2377
2378
|
}>>;
|
|
2378
2379
|
sessionMode: z.ZodOptional<z.ZodEnum<{
|
|
2380
|
+
"auto-planning": "auto-planning";
|
|
2381
|
+
"deep-research": "deep-research";
|
|
2379
2382
|
normal: "normal";
|
|
2380
2383
|
planning: "planning";
|
|
2381
|
-
"deep-research": "deep-research";
|
|
2382
|
-
"auto-planning": "auto-planning";
|
|
2383
2384
|
}>>;
|
|
2384
2385
|
url: z.ZodOptional<z.ZodString>;
|
|
2385
2386
|
diffActions: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2389,8 +2390,8 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2389
2390
|
name: z.ZodString;
|
|
2390
2391
|
content: z.ZodString;
|
|
2391
2392
|
type: z.ZodOptional<z.ZodEnum<{
|
|
2392
|
-
always: "always";
|
|
2393
2393
|
"agent-mode": "agent-mode";
|
|
2394
|
+
always: "always";
|
|
2394
2395
|
}>>;
|
|
2395
2396
|
filePath: z.ZodOptional<z.ZodString>;
|
|
2396
2397
|
glob: z.ZodOptional<z.ZodString>;
|
|
@@ -2401,9 +2402,9 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2401
2402
|
disableModelInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
2402
2403
|
userInvocable: z.ZodOptional<z.ZodBoolean>;
|
|
2403
2404
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
2404
|
-
user: "user";
|
|
2405
|
-
project: "project";
|
|
2406
2405
|
plugin: "plugin";
|
|
2406
|
+
project: "project";
|
|
2407
|
+
user: "user";
|
|
2407
2408
|
}>>;
|
|
2408
2409
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
2409
2410
|
}, z.core.$strip>>>;
|
|
@@ -2476,10 +2477,10 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2476
2477
|
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2477
2478
|
type: z.ZodLiteral<"base64">;
|
|
2478
2479
|
media_type: z.ZodEnum<{
|
|
2479
|
-
"image/webp": "image/webp";
|
|
2480
|
-
"image/png": "image/png";
|
|
2481
|
-
"image/jpeg": "image/jpeg";
|
|
2482
2480
|
"image/gif": "image/gif";
|
|
2481
|
+
"image/jpeg": "image/jpeg";
|
|
2482
|
+
"image/png": "image/png";
|
|
2483
|
+
"image/webp": "image/webp";
|
|
2483
2484
|
}>;
|
|
2484
2485
|
data: z.ZodString;
|
|
2485
2486
|
original_url: z.ZodOptional<z.ZodString>;
|
|
@@ -2506,12 +2507,12 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2506
2507
|
attachments: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2507
2508
|
type: z.ZodLiteral<"upload">;
|
|
2508
2509
|
contentType: z.ZodEnum<{
|
|
2509
|
-
"image/webp": "image/webp";
|
|
2510
|
-
"image/png": "image/png";
|
|
2511
|
-
"image/jpeg": "image/jpeg";
|
|
2512
|
-
"image/gif": "image/gif";
|
|
2513
|
-
"application/pdf": "application/pdf";
|
|
2514
2510
|
"application/json": "application/json";
|
|
2511
|
+
"application/pdf": "application/pdf";
|
|
2512
|
+
"image/gif": "image/gif";
|
|
2513
|
+
"image/jpeg": "image/jpeg";
|
|
2514
|
+
"image/png": "image/png";
|
|
2515
|
+
"image/webp": "image/webp";
|
|
2515
2516
|
"text/plain": "text/plain";
|
|
2516
2517
|
}>;
|
|
2517
2518
|
name: z.ZodString;
|
|
@@ -2548,14 +2549,14 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2548
2549
|
v3: "v3";
|
|
2549
2550
|
}>>;
|
|
2550
2551
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
2551
|
-
|
|
2552
|
+
auto: "auto";
|
|
2553
|
+
high: "high";
|
|
2552
2554
|
low: "low";
|
|
2555
|
+
max: "max";
|
|
2553
2556
|
medium: "medium";
|
|
2554
|
-
high: "high";
|
|
2555
|
-
auto: "auto";
|
|
2556
2557
|
minimal: "minimal";
|
|
2558
|
+
none: "none";
|
|
2557
2559
|
xhigh: "xhigh";
|
|
2558
|
-
max: "max";
|
|
2559
2560
|
}>>;
|
|
2560
2561
|
redactUserMessages: z.ZodOptional<z.ZodBoolean>;
|
|
2561
2562
|
redactLLMMessages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2569,27 +2570,27 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2569
2570
|
skipCommandSecurity: z.ZodOptional<z.ZodBoolean>;
|
|
2570
2571
|
builderContent: z.ZodOptional<z.ZodCustom<BuilderContent, BuilderContent>>;
|
|
2571
2572
|
framework: z.ZodOptional<z.ZodEnum<{
|
|
2573
|
+
angular: "angular";
|
|
2574
|
+
flutter: "flutter";
|
|
2572
2575
|
html: "html";
|
|
2573
|
-
|
|
2576
|
+
"jetpack-compose": "jetpack-compose";
|
|
2577
|
+
marko: "marko";
|
|
2574
2578
|
mitosis: "mitosis";
|
|
2575
|
-
"react-native": "react-native";
|
|
2576
|
-
angular: "angular";
|
|
2577
|
-
vue: "vue";
|
|
2578
|
-
svelte: "svelte";
|
|
2579
2579
|
qwik: "qwik";
|
|
2580
|
+
react: "react";
|
|
2581
|
+
"react-native": "react-native";
|
|
2580
2582
|
solid: "solid";
|
|
2581
|
-
|
|
2583
|
+
svelte: "svelte";
|
|
2582
2584
|
swiftui: "swiftui";
|
|
2583
|
-
|
|
2584
|
-
flutter: "flutter";
|
|
2585
|
+
vue: "vue";
|
|
2585
2586
|
}>>;
|
|
2586
2587
|
styleLibrary: z.ZodOptional<z.ZodEnum<{
|
|
2587
|
-
"react-native": "react-native";
|
|
2588
|
-
tailwind: "tailwind";
|
|
2589
|
-
"tailwind-precise": "tailwind-precise";
|
|
2590
2588
|
emotion: "emotion";
|
|
2589
|
+
"react-native": "react-native";
|
|
2591
2590
|
"styled-components": "styled-components";
|
|
2592
2591
|
"styled-jsx": "styled-jsx";
|
|
2592
|
+
tailwind: "tailwind";
|
|
2593
|
+
"tailwind-precise": "tailwind-precise";
|
|
2593
2594
|
}>>;
|
|
2594
2595
|
typescript: z.ZodOptional<z.ZodBoolean>;
|
|
2595
2596
|
userContext: z.ZodOptional<z.ZodObject<{
|
|
@@ -2612,9 +2613,9 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2612
2613
|
}>;
|
|
2613
2614
|
resource: z.ZodString;
|
|
2614
2615
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
2616
|
+
list: "list";
|
|
2615
2617
|
read: "read";
|
|
2616
2618
|
write: "write";
|
|
2617
|
-
list: "list";
|
|
2618
2619
|
}>>;
|
|
2619
2620
|
description: z.ZodOptional<z.ZodString>;
|
|
2620
2621
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2626,71 +2627,71 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2626
2627
|
}, z.core.$strip>>;
|
|
2627
2628
|
recommendedRoot: z.ZodOptional<z.ZodString>;
|
|
2628
2629
|
enabledTools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2629
|
-
AskUserQuestion: "AskUserQuestion";
|
|
2630
|
-
EscalateToPlanner: "EscalateToPlanner";
|
|
2631
|
-
Read: "Read";
|
|
2632
|
-
Write: "Write";
|
|
2633
|
-
Edit: "Edit";
|
|
2634
|
-
ReadRule: "ReadRule";
|
|
2635
|
-
Skill: "Skill";
|
|
2636
|
-
GetStyleInspiration: "GetStyleInspiration";
|
|
2637
|
-
GetScreenshot: "GetScreenshot";
|
|
2638
|
-
NavigatePreview: "NavigatePreview";
|
|
2639
|
-
MultiEdit: "MultiEdit";
|
|
2640
|
-
FindMedia: "FindMedia";
|
|
2641
|
-
Media: "Media";
|
|
2642
2630
|
AddMemory: "AddMemory";
|
|
2643
|
-
SearchMemories: "SearchMemories";
|
|
2644
|
-
ScoreMemories: "ScoreMemories";
|
|
2645
|
-
Bash: "Bash";
|
|
2646
|
-
PowerShell: "PowerShell";
|
|
2647
|
-
WebSearch: "WebSearch";
|
|
2648
2631
|
Agent: "Agent";
|
|
2649
|
-
|
|
2650
|
-
|
|
2632
|
+
ArchiveBranch: "ArchiveBranch";
|
|
2633
|
+
AskUserQuestion: "AskUserQuestion";
|
|
2634
|
+
Bash: "Bash";
|
|
2635
|
+
BuilderEdit: "BuilderEdit";
|
|
2636
|
+
ConnectMCP: "ConnectMCP";
|
|
2637
|
+
CreateProject: "CreateProject";
|
|
2651
2638
|
DevServerControl: "DevServerControl";
|
|
2652
2639
|
DevServerLogs: "DevServerLogs";
|
|
2653
2640
|
DevServerRestart: "DevServerRestart";
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
TodoWrite: "TodoWrite";
|
|
2657
|
-
TaskCreate: "TaskCreate";
|
|
2658
|
-
TaskUpdate: "TaskUpdate";
|
|
2659
|
-
TaskList: "TaskList";
|
|
2660
|
-
BuilderEdit: "BuilderEdit";
|
|
2661
|
-
WebFetch: "WebFetch";
|
|
2662
|
-
ExplorationMetadata: "ExplorationMetadata";
|
|
2641
|
+
Edit: "Edit";
|
|
2642
|
+
EnsurePR: "EnsurePR";
|
|
2663
2643
|
EnterPlanMode: "EnterPlanMode";
|
|
2644
|
+
EscalateToPlanner: "EscalateToPlanner";
|
|
2645
|
+
Exit: "Exit";
|
|
2664
2646
|
ExitPlanMode: "ExitPlanMode";
|
|
2647
|
+
ExplorationMetadata: "ExplorationMetadata";
|
|
2648
|
+
FindMedia: "FindMedia";
|
|
2649
|
+
GetAvailableRepos: "GetAvailableRepos";
|
|
2650
|
+
GetLastBrowserTest: "GetLastBrowserTest";
|
|
2651
|
+
GetScreenshot: "GetScreenshot";
|
|
2652
|
+
GetStyleInspiration: "GetStyleInspiration";
|
|
2653
|
+
Glob: "Glob";
|
|
2654
|
+
Grep: "Grep";
|
|
2655
|
+
IDEDiagnostics: "IDEDiagnostics";
|
|
2656
|
+
Media: "Media";
|
|
2657
|
+
MultiEdit: "MultiEdit";
|
|
2658
|
+
NavigatePreview: "NavigatePreview";
|
|
2659
|
+
PowerShell: "PowerShell";
|
|
2660
|
+
ProposeConfig: "ProposeConfig";
|
|
2661
|
+
ProposeEnvVariable: "ProposeEnvVariable";
|
|
2662
|
+
PullPrototype: "PullPrototype";
|
|
2663
|
+
Read: "Read";
|
|
2664
|
+
ReadBranch: "ReadBranch";
|
|
2665
2665
|
ReadMcpResource: "ReadMcpResource";
|
|
2666
|
+
ReadRule: "ReadRule";
|
|
2666
2667
|
RecordFrame: "RecordFrame";
|
|
2667
|
-
SubmitPRReview: "SubmitPRReview";
|
|
2668
|
-
ProposeConfig: "ProposeConfig";
|
|
2669
|
-
UpdateSetupValue: "UpdateSetupValue";
|
|
2670
|
-
Exit: "Exit";
|
|
2671
|
-
ResolveQAComments: "ResolveQAComments";
|
|
2672
|
-
GetLastBrowserTest: "GetLastBrowserTest";
|
|
2673
|
-
ReportUIIssue: "ReportUIIssue";
|
|
2674
2668
|
ReportIssue: "ReportIssue";
|
|
2675
2669
|
ReportTestOutcome: "ReportTestOutcome";
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2670
|
+
ReportUIIssue: "ReportUIIssue";
|
|
2671
|
+
ResolveQAComments: "ResolveQAComments";
|
|
2672
|
+
Revert: "Revert";
|
|
2673
|
+
RunningAgents: "RunningAgents";
|
|
2674
|
+
ScoreMemories: "ScoreMemories";
|
|
2675
|
+
SearchMemories: "SearchMemories";
|
|
2676
|
+
SendMessage: "SendMessage";
|
|
2681
2677
|
SetEnvVariable: "SetEnvVariable";
|
|
2682
2678
|
SetFileOverride: "SetFileOverride";
|
|
2683
|
-
|
|
2679
|
+
Skill: "Skill";
|
|
2684
2680
|
SpawnBranch: "SpawnBranch";
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2681
|
+
SubmitPRReview: "SubmitPRReview";
|
|
2682
|
+
TaskCreate: "TaskCreate";
|
|
2683
|
+
TaskList: "TaskList";
|
|
2684
|
+
TaskUpdate: "TaskUpdate";
|
|
2685
|
+
TodoRead: "TodoRead";
|
|
2686
|
+
TodoWrite: "TodoWrite";
|
|
2687
|
+
UpdateSetupValue: "UpdateSetupValue";
|
|
2688
|
+
VerifyDevCommand: "VerifyDevCommand";
|
|
2689
|
+
VerifyDevServer: "VerifyDevServer";
|
|
2690
|
+
VerifySetupCommand: "VerifySetupCommand";
|
|
2691
|
+
VerifyValidateCommand: "VerifyValidateCommand";
|
|
2692
|
+
WebFetch: "WebFetch";
|
|
2693
|
+
WebSearch: "WebSearch";
|
|
2694
|
+
Write: "Write";
|
|
2694
2695
|
}>>>;
|
|
2695
2696
|
enabledMCPs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2696
2697
|
skipFileDiff: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2700,6 +2701,7 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2700
2701
|
description: z.ZodOptional<z.ZodString>;
|
|
2701
2702
|
inputSchema: z.ZodOptional<z.ZodAny>;
|
|
2702
2703
|
serverName: z.ZodString;
|
|
2704
|
+
deferLoading: z.ZodOptional<z.ZodBoolean>;
|
|
2703
2705
|
}, z.core.$strip>>>;
|
|
2704
2706
|
isLocal: z.ZodOptional<z.ZodBoolean>;
|
|
2705
2707
|
maxAgentLoops: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2719,21 +2721,36 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2719
2721
|
searchResponse: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2720
2722
|
prettierConfig: z.ZodOptional<z.ZodCustom<PrettierOptions, PrettierOptions>>;
|
|
2721
2723
|
role: z.ZodOptional<z.ZodEnum<{
|
|
2722
|
-
user: "user";
|
|
2723
2724
|
agent: "agent";
|
|
2725
|
+
user: "user";
|
|
2724
2726
|
}>>;
|
|
2725
2727
|
user: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2728
|
+
role: z.ZodEnum<{
|
|
2729
|
+
agent: "agent";
|
|
2730
|
+
user: "user";
|
|
2731
|
+
}>;
|
|
2732
|
+
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2733
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2734
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2735
|
+
createBranches: "createBranches";
|
|
2736
|
+
editCode: "editCode";
|
|
2737
|
+
modifyMcpServers: "modifyMcpServers";
|
|
2738
|
+
modifyProjectSettings: "modifyProjectSettings";
|
|
2739
|
+
sendPullRequests: "sendPullRequests";
|
|
2740
|
+
view: "view";
|
|
2741
|
+
}>>>;
|
|
2742
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
2726
2743
|
source: z.ZodEnum<{
|
|
2744
|
+
azure: "azure";
|
|
2745
|
+
bitbucket: "bitbucket";
|
|
2727
2746
|
github: "github";
|
|
2728
2747
|
gitlab: "gitlab";
|
|
2729
|
-
|
|
2730
|
-
|
|
2748
|
+
jira: "jira";
|
|
2749
|
+
linear: "linear";
|
|
2731
2750
|
slack: "slack";
|
|
2751
|
+
teams: "teams";
|
|
2732
2752
|
telegram: "telegram";
|
|
2733
2753
|
whatsapp: "whatsapp";
|
|
2734
|
-
teams: "teams";
|
|
2735
|
-
jira: "jira";
|
|
2736
|
-
linear: "linear";
|
|
2737
2754
|
}>;
|
|
2738
2755
|
userId: z.ZodOptional<z.ZodString>;
|
|
2739
2756
|
userName: z.ZodOptional<z.ZodString>;
|
|
@@ -2741,62 +2758,47 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2741
2758
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
2742
2759
|
builderUserId: z.ZodOptional<z.ZodString>;
|
|
2743
2760
|
link: z.ZodOptional<z.ZodString>;
|
|
2761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2744
2762
|
role: z.ZodEnum<{
|
|
2745
|
-
user: "user";
|
|
2746
2763
|
agent: "agent";
|
|
2764
|
+
user: "user";
|
|
2747
2765
|
}>;
|
|
2748
2766
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2749
2767
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2750
2768
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2769
|
+
createBranches: "createBranches";
|
|
2751
2770
|
editCode: "editCode";
|
|
2752
2771
|
modifyMcpServers: "modifyMcpServers";
|
|
2753
2772
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2754
|
-
createBranches: "createBranches";
|
|
2755
2773
|
sendPullRequests: "sendPullRequests";
|
|
2756
2774
|
view: "view";
|
|
2757
2775
|
}>>>;
|
|
2758
2776
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2759
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2760
2777
|
source: z.ZodLiteral<"builder.io">;
|
|
2761
2778
|
userId: z.ZodOptional<z.ZodString>;
|
|
2762
2779
|
userName: z.ZodOptional<z.ZodString>;
|
|
2763
2780
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
2764
2781
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
2782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2765
2783
|
role: z.ZodEnum<{
|
|
2766
|
-
user: "user";
|
|
2767
2784
|
agent: "agent";
|
|
2785
|
+
user: "user";
|
|
2768
2786
|
}>;
|
|
2769
2787
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2770
2788
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2771
2789
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2790
|
+
createBranches: "createBranches";
|
|
2772
2791
|
editCode: "editCode";
|
|
2773
2792
|
modifyMcpServers: "modifyMcpServers";
|
|
2774
2793
|
modifyProjectSettings: "modifyProjectSettings";
|
|
2775
|
-
createBranches: "createBranches";
|
|
2776
2794
|
sendPullRequests: "sendPullRequests";
|
|
2777
2795
|
view: "view";
|
|
2778
2796
|
}>>>;
|
|
2779
2797
|
channelId: z.ZodOptional<z.ZodString>;
|
|
2780
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2781
2798
|
source: z.ZodLiteral<"agent">;
|
|
2782
2799
|
userId: z.ZodOptional<z.ZodString>;
|
|
2783
2800
|
userName: z.ZodOptional<z.ZodString>;
|
|
2784
2801
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
2785
|
-
role: z.ZodEnum<{
|
|
2786
|
-
user: "user";
|
|
2787
|
-
agent: "agent";
|
|
2788
|
-
}>;
|
|
2789
|
-
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2790
|
-
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2791
|
-
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2792
|
-
editCode: "editCode";
|
|
2793
|
-
modifyMcpServers: "modifyMcpServers";
|
|
2794
|
-
modifyProjectSettings: "modifyProjectSettings";
|
|
2795
|
-
createBranches: "createBranches";
|
|
2796
|
-
sendPullRequests: "sendPullRequests";
|
|
2797
|
-
view: "view";
|
|
2798
|
-
}>>>;
|
|
2799
|
-
channelId: z.ZodOptional<z.ZodString>;
|
|
2800
2802
|
}, z.core.$strip>], "source">>;
|
|
2801
2803
|
projectId: z.ZodOptional<z.ZodString>;
|
|
2802
2804
|
branchName: z.ZodOptional<z.ZodString>;
|
|
@@ -2811,6 +2813,8 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
|
|
|
2811
2813
|
}, z.core.$loose>;
|
|
2812
2814
|
export type CodeGenInputOptions = z.infer<typeof CodeGenInputOptionsSchema> & {
|
|
2813
2815
|
/**
|
|
2816
|
+
* Optional factory function to wrap the MCP client with custom behavior
|
|
2817
|
+
* Used by Editor AI to add permission checks for model operations
|
|
2814
2818
|
* Optional factory function to wrap the MCP client with custom behavior.
|
|
2815
2819
|
* Used by Editor AI to add permission checks for model operations.
|
|
2816
2820
|
* @internal
|
|
@@ -3092,6 +3096,26 @@ export interface GenerateCompletionStepBuilderActionMCPConnect {
|
|
|
3092
3096
|
mcpServer: string;
|
|
3093
3097
|
};
|
|
3094
3098
|
}
|
|
3099
|
+
/**
|
|
3100
|
+
* Emitted by the CLI when an LLM-triggered `mcp__<n>__authenticate` OAuth
|
|
3101
|
+
* flow against a CLI-managed (local `mcp.json`) MCP server has finished.
|
|
3102
|
+
* Carries the outcome so the editor UI / CLI logs can surface a single
|
|
3103
|
+
* row instead of staying silent.
|
|
3104
|
+
*
|
|
3105
|
+
* `toolsAdded` is the count of real MCP tools that became available after
|
|
3106
|
+
* the reconnect attempt — `0` means OAuth succeeded but the server still
|
|
3107
|
+
* has no tools (rare; usually a misconfiguration) or the reconnect itself
|
|
3108
|
+
* failed (`success: false`).
|
|
3109
|
+
*/
|
|
3110
|
+
export interface GenerateCompletionStepLocalMCPAuthComplete {
|
|
3111
|
+
type: "local-mcp-auth-complete";
|
|
3112
|
+
serverName: string;
|
|
3113
|
+
normalizedServerName: string;
|
|
3114
|
+
serverUrl: string;
|
|
3115
|
+
success: boolean;
|
|
3116
|
+
toolsAdded: number;
|
|
3117
|
+
message?: string;
|
|
3118
|
+
}
|
|
3095
3119
|
export interface GenerateCompletionStepAbort {
|
|
3096
3120
|
type: "user-abort";
|
|
3097
3121
|
hasContinueMessage: boolean;
|
|
@@ -3166,6 +3190,8 @@ export interface CustomInstructionDefinition {
|
|
|
3166
3190
|
glob?: string;
|
|
3167
3191
|
isSkill?: boolean;
|
|
3168
3192
|
userInvocable?: boolean;
|
|
3193
|
+
scope?: "project" | "user" | "plugin";
|
|
3194
|
+
pluginName?: string;
|
|
3169
3195
|
}
|
|
3170
3196
|
export interface GenerateCompletionStepSession {
|
|
3171
3197
|
type: "session";
|
|
@@ -3261,7 +3287,7 @@ export interface GenerateCompletionStepUpdateSetupValue {
|
|
|
3261
3287
|
};
|
|
3262
3288
|
reason: string;
|
|
3263
3289
|
}
|
|
3264
|
-
export type GenerateCompletionStep = GenerateCompletionStepThinking | GenerateCompletionStepStart | GenerateCompletionStepDelta | GenerateCompletionStepUser | GenerateCompletionStepFile | GenerateCompletionStepDiff | GenerateCompletionStepTool | GenerateCompletionStepError | GenerateCompletionStepContinue | GenerateCompletionStepWaitForInput | GenerateCompletionStepAbort | GenerateCompletionStepDone | GenerateCompletionStepUserInput | GenerateCompletionStepText | GenerateCompletionStepRestore | GenerateCompletionStepState | GenerateCompletionStepStdio | GenerateCompletionStepSession | GenerateCompletionStepServerToolResult | GenerateCompletionStepGit | GenerateCompletionStepBuilderAction | GenerateCompletionStepToolResult | GenerateCompletionStepFusionConfigPatch | GenerateCompletionStepToolCallRequest | GenerateCodeEventMCPStatus | GenerateCodeEventMCPAuthRequired | GenerateCompletionStepDevServerState | GenerateCompletionStepAgent | GenerateCompletionStepBatch | GenerateCompletionStepTerminals | GenerateCompletionStepMetadata | GenerateCompletionStepMessageQueue | GenerateCompletionStepProposeConfig | GenerateCompletionStepUpdateSetupValue | GenerateCompletionStepIde;
|
|
3290
|
+
export type GenerateCompletionStep = GenerateCompletionStepThinking | GenerateCompletionStepStart | GenerateCompletionStepDelta | GenerateCompletionStepUser | GenerateCompletionStepFile | GenerateCompletionStepDiff | GenerateCompletionStepTool | GenerateCompletionStepError | GenerateCompletionStepContinue | GenerateCompletionStepWaitForInput | GenerateCompletionStepAbort | GenerateCompletionStepDone | GenerateCompletionStepUserInput | GenerateCompletionStepText | GenerateCompletionStepRestore | GenerateCompletionStepState | GenerateCompletionStepStdio | GenerateCompletionStepSession | GenerateCompletionStepServerToolResult | GenerateCompletionStepGit | GenerateCompletionStepBuilderAction | GenerateCompletionStepLocalMCPAuthComplete | GenerateCompletionStepToolResult | GenerateCompletionStepFusionConfigPatch | GenerateCompletionStepToolCallRequest | GenerateCodeEventMCPStatus | GenerateCodeEventMCPAuthRequired | GenerateCompletionStepDevServerState | GenerateCompletionStepAgent | GenerateCompletionStepBatch | GenerateCompletionStepTerminals | GenerateCompletionStepMetadata | GenerateCompletionStepMessageQueue | GenerateCompletionStepProposeConfig | GenerateCompletionStepUpdateSetupValue | GenerateCompletionStepIde;
|
|
3265
3291
|
export interface ApplyActionsResult {
|
|
3266
3292
|
filePath: string;
|
|
3267
3293
|
addedLines: number;
|
|
@@ -3271,29 +3297,29 @@ export interface ApplyActionsResult {
|
|
|
3271
3297
|
oldContent?: string;
|
|
3272
3298
|
}
|
|
3273
3299
|
export declare const AutoPushModeSchema: z.ZodEnum<{
|
|
3274
|
-
|
|
3300
|
+
"ff-push": "ff-push";
|
|
3275
3301
|
"force-push": "force-push";
|
|
3276
3302
|
"merge-push": "merge-push";
|
|
3277
|
-
|
|
3303
|
+
none: "none";
|
|
3278
3304
|
"safe-push": "safe-push";
|
|
3279
3305
|
}>;
|
|
3280
3306
|
export type AutoPushMode = z.infer<typeof AutoPushModeSchema>;
|
|
3281
3307
|
export declare const SyncChangesFromRemoteSchema: z.ZodObject<{
|
|
3282
3308
|
remoteBranches: z.ZodOptional<z.ZodEnum<{
|
|
3309
|
+
ai: "ai";
|
|
3283
3310
|
both: "both";
|
|
3284
3311
|
main: "main";
|
|
3285
|
-
ai: "ai";
|
|
3286
3312
|
}>>;
|
|
3287
3313
|
fastForward: z.ZodOptional<z.ZodEnum<{
|
|
3288
|
-
never: "never";
|
|
3289
3314
|
auto: "auto";
|
|
3315
|
+
never: "never";
|
|
3290
3316
|
required: "required";
|
|
3291
3317
|
}>>;
|
|
3292
3318
|
canPush: z.ZodOptional<z.ZodBoolean>;
|
|
3293
3319
|
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
3320
|
+
commit: "commit";
|
|
3294
3321
|
fail: "fail";
|
|
3295
3322
|
stash: "stash";
|
|
3296
|
-
commit: "commit";
|
|
3297
3323
|
}>>;
|
|
3298
3324
|
requestRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
3299
3325
|
allowUnrelatedHistory: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3304,17 +3330,32 @@ export type SyncChangesFromRemote = z.infer<typeof SyncChangesFromRemoteSchema>;
|
|
|
3304
3330
|
export declare const GenerateUserMessageSchema: z.ZodObject<{
|
|
3305
3331
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3306
3332
|
user: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3333
|
+
role: z.ZodEnum<{
|
|
3334
|
+
agent: "agent";
|
|
3335
|
+
user: "user";
|
|
3336
|
+
}>;
|
|
3337
|
+
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3338
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3339
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3340
|
+
createBranches: "createBranches";
|
|
3341
|
+
editCode: "editCode";
|
|
3342
|
+
modifyMcpServers: "modifyMcpServers";
|
|
3343
|
+
modifyProjectSettings: "modifyProjectSettings";
|
|
3344
|
+
sendPullRequests: "sendPullRequests";
|
|
3345
|
+
view: "view";
|
|
3346
|
+
}>>>;
|
|
3347
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
3307
3348
|
source: z.ZodEnum<{
|
|
3349
|
+
azure: "azure";
|
|
3350
|
+
bitbucket: "bitbucket";
|
|
3308
3351
|
github: "github";
|
|
3309
3352
|
gitlab: "gitlab";
|
|
3310
|
-
|
|
3311
|
-
|
|
3353
|
+
jira: "jira";
|
|
3354
|
+
linear: "linear";
|
|
3312
3355
|
slack: "slack";
|
|
3356
|
+
teams: "teams";
|
|
3313
3357
|
telegram: "telegram";
|
|
3314
3358
|
whatsapp: "whatsapp";
|
|
3315
|
-
teams: "teams";
|
|
3316
|
-
jira: "jira";
|
|
3317
|
-
linear: "linear";
|
|
3318
3359
|
}>;
|
|
3319
3360
|
userId: z.ZodOptional<z.ZodString>;
|
|
3320
3361
|
userName: z.ZodOptional<z.ZodString>;
|
|
@@ -3322,62 +3363,47 @@ export declare const GenerateUserMessageSchema: z.ZodObject<{
|
|
|
3322
3363
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
3323
3364
|
builderUserId: z.ZodOptional<z.ZodString>;
|
|
3324
3365
|
link: z.ZodOptional<z.ZodString>;
|
|
3366
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3325
3367
|
role: z.ZodEnum<{
|
|
3326
|
-
user: "user";
|
|
3327
3368
|
agent: "agent";
|
|
3369
|
+
user: "user";
|
|
3328
3370
|
}>;
|
|
3329
3371
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3330
3372
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3331
3373
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3374
|
+
createBranches: "createBranches";
|
|
3332
3375
|
editCode: "editCode";
|
|
3333
3376
|
modifyMcpServers: "modifyMcpServers";
|
|
3334
3377
|
modifyProjectSettings: "modifyProjectSettings";
|
|
3335
|
-
createBranches: "createBranches";
|
|
3336
3378
|
sendPullRequests: "sendPullRequests";
|
|
3337
3379
|
view: "view";
|
|
3338
3380
|
}>>>;
|
|
3339
3381
|
channelId: z.ZodOptional<z.ZodString>;
|
|
3340
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3341
3382
|
source: z.ZodLiteral<"builder.io">;
|
|
3342
3383
|
userId: z.ZodOptional<z.ZodString>;
|
|
3343
3384
|
userName: z.ZodOptional<z.ZodString>;
|
|
3344
3385
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
3345
3386
|
photoURL: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3346
3388
|
role: z.ZodEnum<{
|
|
3347
|
-
user: "user";
|
|
3348
3389
|
agent: "agent";
|
|
3390
|
+
user: "user";
|
|
3349
3391
|
}>;
|
|
3350
3392
|
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3351
3393
|
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3352
3394
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3395
|
+
createBranches: "createBranches";
|
|
3353
3396
|
editCode: "editCode";
|
|
3354
3397
|
modifyMcpServers: "modifyMcpServers";
|
|
3355
3398
|
modifyProjectSettings: "modifyProjectSettings";
|
|
3356
|
-
createBranches: "createBranches";
|
|
3357
3399
|
sendPullRequests: "sendPullRequests";
|
|
3358
3400
|
view: "view";
|
|
3359
3401
|
}>>>;
|
|
3360
3402
|
channelId: z.ZodOptional<z.ZodString>;
|
|
3361
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3362
3403
|
source: z.ZodLiteral<"agent">;
|
|
3363
3404
|
userId: z.ZodOptional<z.ZodString>;
|
|
3364
3405
|
userName: z.ZodOptional<z.ZodString>;
|
|
3365
3406
|
userEmail: z.ZodOptional<z.ZodString>;
|
|
3366
|
-
role: z.ZodEnum<{
|
|
3367
|
-
user: "user";
|
|
3368
|
-
agent: "agent";
|
|
3369
|
-
}>;
|
|
3370
|
-
principals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3371
|
-
jobs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3372
|
-
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3373
|
-
editCode: "editCode";
|
|
3374
|
-
modifyMcpServers: "modifyMcpServers";
|
|
3375
|
-
modifyProjectSettings: "modifyProjectSettings";
|
|
3376
|
-
createBranches: "createBranches";
|
|
3377
|
-
sendPullRequests: "sendPullRequests";
|
|
3378
|
-
view: "view";
|
|
3379
|
-
}>>>;
|
|
3380
|
-
channelId: z.ZodOptional<z.ZodString>;
|
|
3381
3407
|
}, z.core.$strip>], "source">>;
|
|
3382
3408
|
userPrompt: z.ZodString;
|
|
3383
3409
|
uiContextPrompt: z.ZodOptional<z.ZodString>;
|
|
@@ -3393,12 +3419,12 @@ export declare const GenerateUserMessageSchema: z.ZodObject<{
|
|
|
3393
3419
|
attachments: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3394
3420
|
type: z.ZodLiteral<"upload">;
|
|
3395
3421
|
contentType: z.ZodEnum<{
|
|
3396
|
-
"image/webp": "image/webp";
|
|
3397
|
-
"image/png": "image/png";
|
|
3398
|
-
"image/jpeg": "image/jpeg";
|
|
3399
|
-
"image/gif": "image/gif";
|
|
3400
|
-
"application/pdf": "application/pdf";
|
|
3401
3422
|
"application/json": "application/json";
|
|
3423
|
+
"application/pdf": "application/pdf";
|
|
3424
|
+
"image/gif": "image/gif";
|
|
3425
|
+
"image/jpeg": "image/jpeg";
|
|
3426
|
+
"image/png": "image/png";
|
|
3427
|
+
"image/webp": "image/webp";
|
|
3402
3428
|
"text/plain": "text/plain";
|
|
3403
3429
|
}>;
|
|
3404
3430
|
name: z.ZodString;
|
|
@@ -3434,28 +3460,28 @@ export declare const GenerateUserMessageSchema: z.ZodObject<{
|
|
|
3434
3460
|
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodTemplateLiteral<`repair-${string}`>, z.ZodLiteral<"user-normal">, z.ZodLiteral<"user-figma">, z.ZodLiteral<"user-pdf">, z.ZodLiteral<"user-image">, z.ZodLiteral<"setup-agent">, z.ZodTemplateLiteral<`background-${string}`>, z.ZodTemplateLiteral<`indexing-${string}`>]>>;
|
|
3435
3461
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3436
3462
|
autoPush: z.ZodOptional<z.ZodEnum<{
|
|
3437
|
-
|
|
3463
|
+
"ff-push": "ff-push";
|
|
3438
3464
|
"force-push": "force-push";
|
|
3439
3465
|
"merge-push": "merge-push";
|
|
3440
|
-
|
|
3466
|
+
none: "none";
|
|
3441
3467
|
"safe-push": "safe-push";
|
|
3442
3468
|
}>>;
|
|
3443
3469
|
syncChanges: z.ZodOptional<z.ZodObject<{
|
|
3444
3470
|
remoteBranches: z.ZodOptional<z.ZodEnum<{
|
|
3471
|
+
ai: "ai";
|
|
3445
3472
|
both: "both";
|
|
3446
3473
|
main: "main";
|
|
3447
|
-
ai: "ai";
|
|
3448
3474
|
}>>;
|
|
3449
3475
|
fastForward: z.ZodOptional<z.ZodEnum<{
|
|
3450
|
-
never: "never";
|
|
3451
3476
|
auto: "auto";
|
|
3477
|
+
never: "never";
|
|
3452
3478
|
required: "required";
|
|
3453
3479
|
}>>;
|
|
3454
3480
|
canPush: z.ZodOptional<z.ZodBoolean>;
|
|
3455
3481
|
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
3482
|
+
commit: "commit";
|
|
3456
3483
|
fail: "fail";
|
|
3457
3484
|
stash: "stash";
|
|
3458
|
-
commit: "commit";
|
|
3459
3485
|
}>>;
|
|
3460
3486
|
requestRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
3461
3487
|
allowUnrelatedHistory: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3464,23 +3490,23 @@ export declare const GenerateUserMessageSchema: z.ZodObject<{
|
|
|
3464
3490
|
}, z.core.$strip>>;
|
|
3465
3491
|
enabledMCPs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3466
3492
|
sessionMode: z.ZodOptional<z.ZodEnum<{
|
|
3493
|
+
"auto-planning": "auto-planning";
|
|
3494
|
+
"deep-research": "deep-research";
|
|
3467
3495
|
normal: "normal";
|
|
3468
3496
|
planning: "planning";
|
|
3469
|
-
"deep-research": "deep-research";
|
|
3470
|
-
"auto-planning": "auto-planning";
|
|
3471
3497
|
}>>;
|
|
3472
3498
|
queue: z.ZodOptional<z.ZodBoolean>;
|
|
3473
3499
|
agentType: z.ZodOptional<z.ZodString>;
|
|
3474
3500
|
enableQAReviewTool: z.ZodOptional<z.ZodBoolean>;
|
|
3475
3501
|
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
3476
|
-
|
|
3502
|
+
auto: "auto";
|
|
3503
|
+
high: "high";
|
|
3477
3504
|
low: "low";
|
|
3505
|
+
max: "max";
|
|
3478
3506
|
medium: "medium";
|
|
3479
|
-
high: "high";
|
|
3480
|
-
auto: "auto";
|
|
3481
3507
|
minimal: "minimal";
|
|
3508
|
+
none: "none";
|
|
3482
3509
|
xhigh: "xhigh";
|
|
3483
|
-
max: "max";
|
|
3484
3510
|
}>>;
|
|
3485
3511
|
repair: z.ZodOptional<z.ZodBoolean>;
|
|
3486
3512
|
forceCompact: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3630,8 +3656,17 @@ export interface GenerateCodeEventUser {
|
|
|
3630
3656
|
/** @deprecated */
|
|
3631
3657
|
role: "user" | "agent";
|
|
3632
3658
|
}
|
|
3659
|
+
/**
|
|
3660
|
+
* Origin of an MCP registration as seen by the cross-registry deduplicator.
|
|
3661
|
+
*
|
|
3662
|
+
* String literals must match `MCPRegistrationSource` in
|
|
3663
|
+
* `packages/vcp-common/mcp.ts`. They are duplicated here only to avoid an
|
|
3664
|
+
* `ai-utils -> vcp-common` import cycle (vcp-common already depends on
|
|
3665
|
+
* ai-utils).
|
|
3666
|
+
*/
|
|
3667
|
+
export type MCPRegistrationSource = "local-configured" | "remote-registered" | "local-failed" | "remote-failed";
|
|
3633
3668
|
export interface MCPClientStatus {
|
|
3634
|
-
status: "ok" | "error" | "disabled" | "auth_required" | "auth_error";
|
|
3669
|
+
status: "ok" | "error" | "disabled" | "auth_required" | "auth_error" | "shadowed";
|
|
3635
3670
|
message?: string;
|
|
3636
3671
|
protocol?: "streamable-http" | "sse" | "stdio";
|
|
3637
3672
|
connectionDurationMs: number;
|
|
@@ -3639,6 +3674,62 @@ export interface MCPClientStatus {
|
|
|
3639
3674
|
authorizationUrl?: string;
|
|
3640
3675
|
scopes?: string[];
|
|
3641
3676
|
isReauth?: boolean;
|
|
3677
|
+
/**
|
|
3678
|
+
* Present when status is "shadowed": describes the higher-precedence
|
|
3679
|
+
* registration that hides this one. Cross-registry dedup runs at
|
|
3680
|
+
* registration-resolution time before any connection attempt — a
|
|
3681
|
+
* shadowed registration contributes zero tools, opens no transport,
|
|
3682
|
+
* and emits no `__authenticate` tool. The winning registration owns
|
|
3683
|
+
* the user-facing surface.
|
|
3684
|
+
*
|
|
3685
|
+
* `matchedOn` is which match key triggered the dedup; URL match is
|
|
3686
|
+
* stronger evidence of "same MCP" than name match. It lives on this
|
|
3687
|
+
* object (not as a sibling field) because both pieces describe the
|
|
3688
|
+
* same shadowing relationship.
|
|
3689
|
+
*
|
|
3690
|
+
* `disabled` (existing user toggle) takes display precedence over
|
|
3691
|
+
* `shadowed`: when both apply, the registration is reported as
|
|
3692
|
+
* `disabled` and the shadowing annotation is dropped.
|
|
3693
|
+
*/
|
|
3694
|
+
shadowedBy?: {
|
|
3695
|
+
source: MCPRegistrationSource;
|
|
3696
|
+
name: string;
|
|
3697
|
+
url?: string;
|
|
3698
|
+
matchedOn: "url" | "name";
|
|
3699
|
+
};
|
|
3700
|
+
/**
|
|
3701
|
+
* Where this MCP was registered. Used by the `/mcp` slash command to
|
|
3702
|
+
* group servers and gate per-source actions (e.g. server-managed MCPs
|
|
3703
|
+
* can't be reconnected from the CLI).
|
|
3704
|
+
*/
|
|
3705
|
+
source?: "local" | "plugin" | "builtin" | "server";
|
|
3706
|
+
/** Precedence scope from MCPServerDefinition (local/plugin only). */
|
|
3707
|
+
scope?: "project" | "user" | "plugin";
|
|
3708
|
+
/** Plugin that contributed this server, if any. */
|
|
3709
|
+
pluginName?: string;
|
|
3710
|
+
/**
|
|
3711
|
+
* For local/plugin: absolute path of the mcp.json or plugin manifest.
|
|
3712
|
+
* For server-managed: undefined (UI shows "Builder.io org settings").
|
|
3713
|
+
*/
|
|
3714
|
+
configFilePath?: string;
|
|
3715
|
+
/** Firestore server doc id, when source === "server". */
|
|
3716
|
+
serverId?: string;
|
|
3717
|
+
/** Transport target — url for remote, command for stdio. */
|
|
3718
|
+
url?: string;
|
|
3719
|
+
command?: string;
|
|
3720
|
+
/** Number of real (non-synthetic) tools currently exposed. */
|
|
3721
|
+
toolCount?: number;
|
|
3722
|
+
/** Lightweight tool catalog for the "View tools" sub-view. */
|
|
3723
|
+
tools?: {
|
|
3724
|
+
name: string;
|
|
3725
|
+
description?: string;
|
|
3726
|
+
}[];
|
|
3727
|
+
/** Capability flags reported by the server during initialize. */
|
|
3728
|
+
capabilities?: {
|
|
3729
|
+
tools?: boolean;
|
|
3730
|
+
resources?: boolean;
|
|
3731
|
+
prompts?: boolean;
|
|
3732
|
+
};
|
|
3642
3733
|
}
|
|
3643
3734
|
export interface GenerateCodeEventMCPStatus {
|
|
3644
3735
|
type: "mcp-status";
|