@builder.io/ai-utils 0.37.1 → 0.38.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 +7 -1
- package/src/projects.d.ts +2 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export interface CustomInstruction {
|
|
|
35
35
|
disableModelInvocation?: boolean;
|
|
36
36
|
userInvocable?: boolean;
|
|
37
37
|
}
|
|
38
|
+
/** Reasoning effort level for LLM completions. */
|
|
39
|
+
export type ReasoningEffort = "low" | "medium" | "high" | "minimal";
|
|
38
40
|
export interface CustomAgentInfo {
|
|
39
41
|
name: string;
|
|
40
42
|
description?: string;
|
|
@@ -56,6 +58,8 @@ export interface CustomAgentDefinition {
|
|
|
56
58
|
asyncSubAgents?: boolean;
|
|
57
59
|
queueMode?: QueueMode;
|
|
58
60
|
filePath?: string;
|
|
61
|
+
/** Default reasoning effort level for this agent type. Overrides the session default. */
|
|
62
|
+
reasoning?: ReasoningEffort;
|
|
59
63
|
}
|
|
60
64
|
export type CodeGenFramework = "react" | "html" | "mitosis" | "react-native" | "angular" | "vue" | "svelte" | "qwik" | "solid" | "marko" | "swiftui" | "jetpack-compose" | "flutter";
|
|
61
65
|
export type CodeGenStyleLibrary = "tailwind" | "tailwind-precise" | "emotion" | "styled-components" | "styled-jsx" | "react-native" | undefined;
|
|
@@ -737,8 +741,9 @@ export interface CodeGenInputOptions {
|
|
|
737
741
|
encryptKey?: string;
|
|
738
742
|
modelOverride?: string;
|
|
739
743
|
errorIfHadCompaction?: boolean;
|
|
744
|
+
softContextWindow?: number;
|
|
740
745
|
promptVersion?: "v1" | "v2" | "v3";
|
|
741
|
-
reasoning?:
|
|
746
|
+
reasoning?: ReasoningEffort;
|
|
742
747
|
redactUserMessages?: boolean;
|
|
743
748
|
redactLLMMessages?: boolean;
|
|
744
749
|
environmentVariables?: EnvironmentVariable[];
|
|
@@ -1294,6 +1299,7 @@ export interface GenerateUserMessage {
|
|
|
1294
1299
|
dropAbortedPrompt?: boolean;
|
|
1295
1300
|
runValidateCommand?: boolean;
|
|
1296
1301
|
modelOverride?: string;
|
|
1302
|
+
softContextWindow?: number;
|
|
1297
1303
|
maxCompletions?: number;
|
|
1298
1304
|
isManualContinue?: boolean;
|
|
1299
1305
|
includeRelevantMemories?: boolean;
|
package/src/projects.d.ts
CHANGED
|
@@ -990,6 +990,8 @@ export interface CronJobConfig {
|
|
|
990
990
|
description: string;
|
|
991
991
|
prompt: string;
|
|
992
992
|
enabled: boolean;
|
|
993
|
+
/** Users who created or last updated this job (e.g. Slack user IDs, emails, display names) */
|
|
994
|
+
maintainers?: string[];
|
|
993
995
|
}
|
|
994
996
|
export interface OrgCronConfigOptions {
|
|
995
997
|
jobs: CronJobConfig[];
|