@vellumai/plugin-api 0.8.11-dev.202606112147.04177ac → 0.8.11
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 +14 -11
- 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 | UsageProgress | 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,16 +4310,19 @@ declare interface UsageAttributionSnapshot {
|
|
|
4310
4310
|
resolvedMixArm: string | null;
|
|
4311
4311
|
}
|
|
4312
4312
|
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4313
|
+
/**
|
|
4314
|
+
* Emitted after each LLM call with per-call token deltas and estimated cost.
|
|
4315
|
+
* Clients accumulate these additively for live-updating usage metrics.
|
|
4316
|
+
* This is a UI-only hint — it does not persist to DB or affect billing.
|
|
4317
|
+
*/
|
|
4318
|
+
declare interface UsageProgress {
|
|
4319
|
+
type: "usage_progress";
|
|
4320
|
+
conversationId: string;
|
|
4321
|
+
inputTokens: number;
|
|
4322
|
+
outputTokens: number;
|
|
4323
|
+
estimatedCost: number;
|
|
4324
|
+
model: string;
|
|
4325
|
+
}
|
|
4323
4326
|
|
|
4324
4327
|
declare interface UsageResponse {
|
|
4325
4328
|
type: "usage_response";
|