@builder.io/ai-utils 0.5.38 → 0.5.40
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 +11 -0
- package/src/repo-indexing.d.ts +5 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -228,6 +228,7 @@ export interface CodeGenInputOptions {
|
|
|
228
228
|
maxTokens?: number;
|
|
229
229
|
maxPages?: number;
|
|
230
230
|
autoContinue?: number;
|
|
231
|
+
isManualContinue?: boolean;
|
|
231
232
|
promptCaching?: boolean;
|
|
232
233
|
llmSuggestions?: boolean;
|
|
233
234
|
conclusionText?: boolean;
|
|
@@ -374,6 +375,7 @@ export interface GenerateCompletionStepDone {
|
|
|
374
375
|
actions: ActionItem[];
|
|
375
376
|
creditsUsed: number;
|
|
376
377
|
sessionUsage: number;
|
|
378
|
+
model: string;
|
|
377
379
|
usage: CodegenUsage | undefined;
|
|
378
380
|
url?: string;
|
|
379
381
|
stopReason: CompletionStopReason;
|
|
@@ -615,6 +617,7 @@ export interface GenerateUserMessage {
|
|
|
615
617
|
dropAbortedPrompt?: boolean;
|
|
616
618
|
modelOverride?: string;
|
|
617
619
|
maxCompletions?: number;
|
|
620
|
+
isManualContinue?: boolean;
|
|
618
621
|
repair?: boolean;
|
|
619
622
|
}
|
|
620
623
|
export interface UserInput {
|
|
@@ -966,3 +969,11 @@ export interface FusionMetrics {
|
|
|
966
969
|
attributes: Record<string, string>;
|
|
967
970
|
}[];
|
|
968
971
|
}
|
|
972
|
+
export interface AnalyzeChatSentimentResults {
|
|
973
|
+
sentiment: "positive" | "neutral" | "negative";
|
|
974
|
+
frustration_level: "none" | "low" | "medium" | "high";
|
|
975
|
+
repeated_attempts: boolean;
|
|
976
|
+
confusion_level: "none" | "low" | "medium" | "high";
|
|
977
|
+
urgency: "none" | "low" | "medium" | "high";
|
|
978
|
+
satisfaction: "none" | "low" | "medium" | "high";
|
|
979
|
+
}
|
package/src/repo-indexing.d.ts
CHANGED
|
@@ -49,10 +49,14 @@ export interface AddDesignSystemInput {
|
|
|
49
49
|
export interface UpdateDesignSystemInput {
|
|
50
50
|
id: string;
|
|
51
51
|
designSystemName: string;
|
|
52
|
+
scope: DesignSystemScope;
|
|
52
53
|
designSystemPackage?: string;
|
|
53
54
|
designSystemVersion?: string;
|
|
54
55
|
status?: "in-progress" | "completed" | "failed";
|
|
55
|
-
|
|
56
|
+
}
|
|
57
|
+
export interface UpdateDesignSystemScopeInput {
|
|
58
|
+
id: string;
|
|
59
|
+
scope: DesignSystemScope;
|
|
56
60
|
}
|
|
57
61
|
export interface DesignSystem {
|
|
58
62
|
id: string;
|