@builder.io/ai-utils 0.23.3 → 0.24.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 +5 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface CustomAgentDefinition {
|
|
|
50
50
|
}
|
|
51
51
|
export type CodeGenFramework = "react" | "html" | "mitosis" | "react-native" | "angular" | "vue" | "svelte" | "qwik" | "solid" | "marko" | "swiftui" | "jetpack-compose" | "flutter";
|
|
52
52
|
export type CodeGenStyleLibrary = "tailwind" | "tailwind-precise" | "emotion" | "styled-components" | "styled-jsx" | "react-native" | undefined;
|
|
53
|
-
export type CompletionStopReason = "max_tokens" | "stop_sequence" | "tool_use" | "end_turn" | "content_filter" | "error" | "aborted" | "pause_turn" | "refusal" | "model_context_window_exceeded" | null;
|
|
53
|
+
export type CompletionStopReason = "max_tokens" | "stop_sequence" | "tool_use" | "end_turn" | "content_filter" | "error" | "aborted" | "pause_turn" | "refusal" | "compaction" | "model_context_window_exceeded" | null;
|
|
54
54
|
export interface ReadToolInput {
|
|
55
55
|
file_path: string;
|
|
56
56
|
view_range?: [number, number];
|
|
@@ -64,6 +64,7 @@ export interface GrepSearchToolInput {
|
|
|
64
64
|
query: string;
|
|
65
65
|
include_glob?: string | null;
|
|
66
66
|
exclude_glob?: string | null;
|
|
67
|
+
case_sensitive?: boolean | null;
|
|
67
68
|
}
|
|
68
69
|
export interface GetRuleToolInput {
|
|
69
70
|
name: string;
|
|
@@ -214,6 +215,8 @@ export interface ExplorationMetadataToolInput {
|
|
|
214
215
|
limit?: number;
|
|
215
216
|
}[];
|
|
216
217
|
}
|
|
218
|
+
export interface EnterPlanModeToolInput {
|
|
219
|
+
}
|
|
217
220
|
export interface ExitPlanModeToolInput {
|
|
218
221
|
plan: string;
|
|
219
222
|
handled?: boolean;
|
|
@@ -530,6 +533,7 @@ export interface CodeGenToolMap {
|
|
|
530
533
|
LS: ListDirToolInput;
|
|
531
534
|
WebFetch: WebFetchToolInput;
|
|
532
535
|
ExplorationMetadata: ExplorationMetadataToolInput;
|
|
536
|
+
EnterPlanMode: EnterPlanModeToolInput;
|
|
533
537
|
ExitPlanMode: ExitPlanModeToolInput;
|
|
534
538
|
ReadMcpResource: ReadMcpResourceToolInput;
|
|
535
539
|
RecordFrame: RecordFrameToolInput;
|