@vellumai/plugin-api 0.8.10-dev.202606111334.d8a7740 → 0.8.10-dev.202606111724.d4e5462
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/index.d.ts +11 -14
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1062,7 +1062,7 @@ declare interface ConversationSearchResultItem {
|
|
|
1062
1062
|
matchingMessages: ConversationSearchMatchingMessage[];
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
|
-
declare type _ConversationsServerMessages = AuthResult | PongMessage | AssistantStatusMessage | GenerationCancelledEvent | GenerationHandoffEvent | ModelInfo | HistoryResponse | UndoComplete | UsageUpdateEvent |
|
|
1065
|
+
declare type _ConversationsServerMessages = AuthResult | PongMessage | AssistantStatusMessage | GenerationCancelledEvent | GenerationHandoffEvent | ModelInfo | HistoryResponse | UndoComplete | UsageUpdateEvent | UsageProgressEvent | UsageResponse | ContextCompacted | CompactionCircuitOpenEvent | CompactionCircuitClosedEvent | ConversationErrorEvent | ConversationInfo | ConversationTitleUpdatedEvent | ConversationListResponse | ConversationsClearResponse | ConversationSearchResponse | MessageContentResponse | ConversationListInvalidatedEvent | ScheduleConversationCreated | OpenConversation;
|
|
1066
1066
|
|
|
1067
1067
|
declare type ConversationTitleUpdatedEvent = z.infer<typeof ConversationTitleUpdatedEventSchema>;
|
|
1068
1068
|
|
|
@@ -4310,19 +4310,16 @@ declare interface UsageAttributionSnapshot {
|
|
|
4310
4310
|
resolvedMixArm: string | null;
|
|
4311
4311
|
}
|
|
4312
4312
|
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
estimatedCost: number;
|
|
4324
|
-
model: string;
|
|
4325
|
-
}
|
|
4313
|
+
declare type UsageProgressEvent = z.infer<typeof UsageProgressEventSchema>;
|
|
4314
|
+
|
|
4315
|
+
declare const UsageProgressEventSchema: z.ZodObject<{
|
|
4316
|
+
type: z.ZodLiteral<"usage_progress">;
|
|
4317
|
+
conversationId: z.ZodString;
|
|
4318
|
+
inputTokens: z.ZodNumber;
|
|
4319
|
+
outputTokens: z.ZodNumber;
|
|
4320
|
+
estimatedCost: z.ZodNumber;
|
|
4321
|
+
model: z.ZodString;
|
|
4322
|
+
}, z.core.$strip>;
|
|
4326
4323
|
|
|
4327
4324
|
declare interface UsageResponse {
|
|
4328
4325
|
type: "usage_response";
|
package/package.json
CHANGED