@builder.io/ai-utils 0.26.3 → 0.27.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 +6 -1
- package/src/events.d.ts +8 -1
- package/src/events.js +4 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -1805,11 +1805,16 @@ export interface FusionStatus {
|
|
|
1805
1805
|
memoryUsage?: number;
|
|
1806
1806
|
}
|
|
1807
1807
|
export interface FusionMetrics {
|
|
1808
|
-
counters
|
|
1808
|
+
counters?: {
|
|
1809
1809
|
key: string;
|
|
1810
1810
|
value: number;
|
|
1811
1811
|
attributes: Record<string, string>;
|
|
1812
1812
|
}[];
|
|
1813
|
+
durations?: {
|
|
1814
|
+
key: string;
|
|
1815
|
+
ms: number;
|
|
1816
|
+
attributes: Record<string, string>;
|
|
1817
|
+
}[];
|
|
1813
1818
|
}
|
|
1814
1819
|
export interface AnalyzeChatSentimentResults {
|
|
1815
1820
|
sentiment: "positive" | "neutral" | "negative";
|
package/src/events.d.ts
CHANGED
|
@@ -512,7 +512,14 @@ export declare const SetupAgentCompletedV1: {
|
|
|
512
512
|
eventName: "fusion.setup.completed";
|
|
513
513
|
version: "1";
|
|
514
514
|
};
|
|
515
|
-
export type
|
|
515
|
+
export type ForceSetupAgentV1 = FusionEventVariant<"fusion.setup.force", {
|
|
516
|
+
projectId: string;
|
|
517
|
+
}, {}, 1>;
|
|
518
|
+
export declare const ForceSetupAgentV1: {
|
|
519
|
+
eventName: "fusion.setup.force";
|
|
520
|
+
version: "1";
|
|
521
|
+
};
|
|
522
|
+
export type FusionEvent = AiTaskCompletedEvent | AiTaskFailedEvent | GitPrCreatedEvent | ClientDevtoolsSessionStartedEvent | FusionProjectCreatedV1 | SetupAgentCompletedV1 | ForceSetupAgentV1;
|
|
516
523
|
export interface ModelPermissionRequiredEvent {
|
|
517
524
|
type: "assistant.model.permission.required";
|
|
518
525
|
data: {
|