@vellumai/plugin-api 0.10.2-dev.202606242332.3fa9b2b → 0.10.2-dev.202606250106.466483e
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 +35 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1056,6 +1056,40 @@ declare interface ConversationListResponse {
|
|
|
1056
1056
|
hasMore?: boolean;
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
|
+
declare type ConversationNoticeEvent = z.infer<typeof ConversationNoticeEventSchema>;
|
|
1060
|
+
|
|
1061
|
+
declare const ConversationNoticeEventSchema: z.ZodObject<{
|
|
1062
|
+
type: z.ZodLiteral<"conversation_notice">;
|
|
1063
|
+
conversationId: z.ZodString;
|
|
1064
|
+
source: z.ZodEnum<{
|
|
1065
|
+
memory_v3: "memory_v3";
|
|
1066
|
+
}>;
|
|
1067
|
+
code: z.ZodEnum<{
|
|
1068
|
+
PROVIDER_NETWORK: "PROVIDER_NETWORK";
|
|
1069
|
+
PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
|
|
1070
|
+
MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
|
|
1071
|
+
PROVIDER_OVERLOADED: "PROVIDER_OVERLOADED";
|
|
1072
|
+
PROVIDER_API: "PROVIDER_API";
|
|
1073
|
+
IMAGE_TOO_LARGE: "IMAGE_TOO_LARGE";
|
|
1074
|
+
PROVIDER_BILLING: "PROVIDER_BILLING";
|
|
1075
|
+
PROVIDER_ORDERING: "PROVIDER_ORDERING";
|
|
1076
|
+
PROVIDER_WEB_SEARCH: "PROVIDER_WEB_SEARCH";
|
|
1077
|
+
PROVIDER_NOT_CONFIGURED: "PROVIDER_NOT_CONFIGURED";
|
|
1078
|
+
PROVIDER_INVALID_KEY: "PROVIDER_INVALID_KEY";
|
|
1079
|
+
MANAGED_KEY_INVALID: "MANAGED_KEY_INVALID";
|
|
1080
|
+
CONTEXT_TOO_LARGE: "CONTEXT_TOO_LARGE";
|
|
1081
|
+
BUDGET_YIELD_UNRECOVERED: "BUDGET_YIELD_UNRECOVERED";
|
|
1082
|
+
MAX_TOKENS_REACHED: "MAX_TOKENS_REACHED";
|
|
1083
|
+
CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
|
|
1084
|
+
CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
|
|
1085
|
+
DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
|
|
1086
|
+
REGENERATE_FAILED: "REGENERATE_FAILED";
|
|
1087
|
+
UNKNOWN: "UNKNOWN";
|
|
1088
|
+
}>;
|
|
1089
|
+
userMessage: z.ZodString;
|
|
1090
|
+
errorCategory: z.ZodOptional<z.ZodString>;
|
|
1091
|
+
}, z.core.$strip>;
|
|
1092
|
+
|
|
1059
1093
|
declare interface ConversationsClearResponse {
|
|
1060
1094
|
type: "conversations_clear_response";
|
|
1061
1095
|
cleared: number;
|
|
@@ -1082,7 +1116,7 @@ declare interface ConversationSearchResultItem {
|
|
|
1082
1116
|
matchingMessages: ConversationSearchMatchingMessage[];
|
|
1083
1117
|
}
|
|
1084
1118
|
|
|
1085
|
-
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;
|
|
1119
|
+
declare type _ConversationsServerMessages = AuthResult | PongMessage | AssistantStatusMessage | GenerationCancelledEvent | GenerationHandoffEvent | ModelInfo | HistoryResponse | UndoComplete | UsageUpdateEvent | UsageProgressEvent | UsageResponse | ContextCompacted | CompactionCircuitOpenEvent | CompactionCircuitClosedEvent | ConversationErrorEvent | ConversationNoticeEvent | ConversationInfo | ConversationTitleUpdatedEvent | ConversationListResponse | ConversationsClearResponse | ConversationSearchResponse | MessageContentResponse | ConversationListInvalidatedEvent | ScheduleConversationCreated | OpenConversation;
|
|
1086
1120
|
|
|
1087
1121
|
declare type ConversationTitleUpdatedEvent = z.infer<typeof ConversationTitleUpdatedEventSchema>;
|
|
1088
1122
|
|
package/package.json
CHANGED