@vellumai/plugin-api 0.10.11-dev.202607231953.b64451d → 0.10.11-dev.202607232108.d026831
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 +121 -286
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1487,11 +1487,13 @@ export declare interface AssistantEventSubscription {
|
|
|
1487
1487
|
readonly connectionId: string;
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
|
-
declare
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1490
|
+
declare type AssistantStatusEvent = z.infer<typeof AssistantStatusEventSchema>;
|
|
1491
|
+
|
|
1492
|
+
declare const AssistantStatusEventSchema: z.ZodObject<{
|
|
1493
|
+
type: z.ZodLiteral<"assistant_status">;
|
|
1494
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
keyFingerprint: z.ZodOptional<z.ZodString>;
|
|
1496
|
+
}, z.core.$strip>;
|
|
1495
1497
|
|
|
1496
1498
|
declare type AssistantTextDeltaEvent = z.infer<typeof AssistantTextDeltaEventSchema>;
|
|
1497
1499
|
|
|
@@ -1526,12 +1528,6 @@ declare interface AudioEmbeddingInput {
|
|
|
1526
1528
|
mimeType: string;
|
|
1527
1529
|
}
|
|
1528
1530
|
|
|
1529
|
-
declare interface AuthResult {
|
|
1530
|
-
type: "auth_result";
|
|
1531
|
-
success: boolean;
|
|
1532
|
-
message?: string;
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
1531
|
declare type AvatarUpdatedEvent = z.infer<typeof AvatarUpdatedEventSchema>;
|
|
1536
1532
|
|
|
1537
1533
|
declare const AvatarUpdatedEventSchema: z.ZodObject<{
|
|
@@ -2008,25 +2004,30 @@ declare const ConfirmationRequestEventSchema: z.ZodObject<{
|
|
|
2008
2004
|
}, z.core.$strip>>>;
|
|
2009
2005
|
}, z.core.$strip>;
|
|
2010
2006
|
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2007
|
+
declare type ConfirmationStateChangedEvent = z.infer<typeof ConfirmationStateChangedEventSchema>;
|
|
2008
|
+
|
|
2009
|
+
declare const ConfirmationStateChangedEventSchema: z.ZodObject<{
|
|
2010
|
+
type: z.ZodLiteral<"confirmation_state_changed">;
|
|
2011
|
+
conversationId: z.ZodString;
|
|
2012
|
+
requestId: z.ZodString;
|
|
2013
|
+
state: z.ZodEnum<{
|
|
2014
|
+
timed_out: "timed_out";
|
|
2015
|
+
pending: "pending";
|
|
2016
|
+
approved: "approved";
|
|
2017
|
+
denied: "denied";
|
|
2018
|
+
resolved_stale: "resolved_stale";
|
|
2019
|
+
}>;
|
|
2020
|
+
source: z.ZodEnum<{
|
|
2021
|
+
button: "button";
|
|
2022
|
+
inline_nl: "inline_nl";
|
|
2023
|
+
auto_deny: "auto_deny";
|
|
2024
|
+
timeout: "timeout";
|
|
2025
|
+
system: "system";
|
|
2026
|
+
}>;
|
|
2027
|
+
causedByRequestId: z.ZodOptional<z.ZodString>;
|
|
2028
|
+
decisionText: z.ZodOptional<z.ZodString>;
|
|
2029
|
+
toolUseId: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
}, z.core.$strip>;
|
|
2030
2031
|
|
|
2031
2032
|
declare type ConfirmationSurfaceData = z.infer<typeof ConfirmationSurfaceDataSchema>;
|
|
2032
2033
|
|
|
@@ -2061,42 +2062,24 @@ declare type _ContactsServerMessages = ContactsChangedEvent | ContactRequestEven
|
|
|
2061
2062
|
|
|
2062
2063
|
export declare type ContentBlock = TextContent | ThinkingContent | RedactedThinkingContent | ImageContent | FileContent | ToolUseContent | ToolResultContent | ServerToolUseContent | WebSearchToolResultContent;
|
|
2063
2064
|
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
summaryModel: string;
|
|
2083
|
-
/**
|
|
2084
|
-
* Quality signals for the generated summary. Emitted for every
|
|
2085
|
-
* compaction (including truncation-only paths where the summary text
|
|
2086
|
-
* is unchanged from the prior pass). Consumers can use these to detect
|
|
2087
|
-
* regressions without needing to read the summary text itself.
|
|
2088
|
-
*
|
|
2089
|
-
* - `summaryCharCount`: length of the produced summary text.
|
|
2090
|
-
* - `summaryHeaderCount`: number of `## ` section headers in the summary.
|
|
2091
|
-
* - `summaryHadMemoryEcho`: `true` if the summary contains any runtime
|
|
2092
|
-
* injection tag (e.g. `<memory`, `<turn_context>`, `<workspace>`). The
|
|
2093
|
-
* durable summary should be clean prose, so `true` flags an echoed or
|
|
2094
|
-
* invented tag worth investigating.
|
|
2095
|
-
*/
|
|
2096
|
-
summaryCharCount?: number;
|
|
2097
|
-
summaryHeaderCount?: number;
|
|
2098
|
-
summaryHadMemoryEcho?: boolean;
|
|
2099
|
-
}
|
|
2065
|
+
declare type ContextCompactedEvent = z.infer<typeof ContextCompactedEventSchema>;
|
|
2066
|
+
|
|
2067
|
+
declare const ContextCompactedEventSchema: z.ZodObject<{
|
|
2068
|
+
type: z.ZodLiteral<"context_compacted">;
|
|
2069
|
+
conversationId: z.ZodString;
|
|
2070
|
+
previousEstimatedInputTokens: z.ZodNumber;
|
|
2071
|
+
estimatedInputTokens: z.ZodNumber;
|
|
2072
|
+
maxInputTokens: z.ZodNumber;
|
|
2073
|
+
thresholdTokens: z.ZodNumber;
|
|
2074
|
+
compactedMessages: z.ZodNumber;
|
|
2075
|
+
summaryCalls: z.ZodNumber;
|
|
2076
|
+
summaryInputTokens: z.ZodNumber;
|
|
2077
|
+
summaryOutputTokens: z.ZodNumber;
|
|
2078
|
+
summaryModel: z.ZodString;
|
|
2079
|
+
summaryCharCount: z.ZodOptional<z.ZodNumber>;
|
|
2080
|
+
summaryHeaderCount: z.ZodOptional<z.ZodNumber>;
|
|
2081
|
+
summaryHadMemoryEcho: z.ZodOptional<z.ZodBoolean>;
|
|
2082
|
+
}, z.core.$strip>;
|
|
2100
2083
|
|
|
2101
2084
|
/** How a conversation was created / its execution mode. */
|
|
2102
2085
|
declare type ConversationCreateType = "standard" | "background" | "scheduled";
|
|
@@ -2168,19 +2151,15 @@ declare interface ConversationForkParent {
|
|
|
2168
2151
|
title: string;
|
|
2169
2152
|
}
|
|
2170
2153
|
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
profile: string | null;
|
|
2181
|
-
sessionId?: string | null;
|
|
2182
|
-
expiresAt?: number | null;
|
|
2183
|
-
}
|
|
2154
|
+
declare type ConversationInferenceProfileUpdatedEvent = z.infer<typeof ConversationInferenceProfileUpdatedEventSchema>;
|
|
2155
|
+
|
|
2156
|
+
declare const ConversationInferenceProfileUpdatedEventSchema: z.ZodObject<{
|
|
2157
|
+
type: z.ZodLiteral<"conversation_inference_profile_updated">;
|
|
2158
|
+
conversationId: z.ZodString;
|
|
2159
|
+
profile: z.ZodNullable<z.ZodString>;
|
|
2160
|
+
sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2161
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2162
|
+
}, z.core.$strip>;
|
|
2184
2163
|
|
|
2185
2164
|
declare interface ConversationInfo {
|
|
2186
2165
|
type: "conversation_info";
|
|
@@ -2312,33 +2291,7 @@ export declare interface ConversationRow {
|
|
|
2312
2291
|
*/
|
|
2313
2292
|
export declare type ConversationsClearedContext = BaseHookContext;
|
|
2314
2293
|
|
|
2315
|
-
declare
|
|
2316
|
-
type: "conversations_clear_response";
|
|
2317
|
-
cleared: number;
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
declare interface ConversationSearchMatchingMessage {
|
|
2321
|
-
messageId: string;
|
|
2322
|
-
role: string;
|
|
2323
|
-
/** Plain-text excerpt around the match, truncated to ~200 chars. */
|
|
2324
|
-
excerpt: string;
|
|
2325
|
-
createdAt: number;
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
declare interface ConversationSearchResponse {
|
|
2329
|
-
type: "conversation_search_response";
|
|
2330
|
-
query: string;
|
|
2331
|
-
results: ConversationSearchResultItem[];
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
declare interface ConversationSearchResultItem {
|
|
2335
|
-
conversationId: string;
|
|
2336
|
-
conversationTitle: string | null;
|
|
2337
|
-
conversationUpdatedAt: number;
|
|
2338
|
-
matchingMessages: ConversationSearchMatchingMessage[];
|
|
2339
|
-
}
|
|
2340
|
-
|
|
2341
|
-
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 | OpenConversationEvent;
|
|
2294
|
+
declare type _ConversationsServerMessages = AssistantStatusEvent | GenerationCancelledEvent | GenerationHandoffEvent | ModelInfoEvent | HistoryResponse | UndoComplete | UsageUpdateEvent | UsageProgressEvent | UsageResponse | ContextCompactedEvent | CompactionCircuitOpenEvent | CompactionCircuitClosedEvent | ConversationErrorEvent | ConversationNoticeEvent | ConversationInfo | ConversationTitleUpdatedEvent | ConversationListResponse | ConversationListInvalidatedEvent | ScheduleConversationCreatedEvent | OpenConversationEvent;
|
|
2342
2295
|
|
|
2343
2296
|
declare type ConversationTitleUpdatedEvent = z.infer<typeof ConversationTitleUpdatedEventSchema>;
|
|
2344
2297
|
|
|
@@ -2623,25 +2576,6 @@ declare const FileUploadSurfaceDataSchema: z.ZodObject<{
|
|
|
2623
2576
|
maxSizeBytes: z.ZodCatch<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
2624
2577
|
}, z.core.$strip>;
|
|
2625
2578
|
|
|
2626
|
-
declare interface FilingConfigResponse {
|
|
2627
|
-
type: "filing_config_response";
|
|
2628
|
-
enabled: boolean;
|
|
2629
|
-
intervalMs: number;
|
|
2630
|
-
activeHoursStart: number | null;
|
|
2631
|
-
activeHoursEnd: number | null;
|
|
2632
|
-
nextRunAt: number | null;
|
|
2633
|
-
lastRunAt: number | null;
|
|
2634
|
-
success: boolean;
|
|
2635
|
-
error?: string;
|
|
2636
|
-
}
|
|
2637
|
-
|
|
2638
|
-
declare interface FilingRunNowResponse {
|
|
2639
|
-
type: "filing_run_now_response";
|
|
2640
|
-
success: boolean;
|
|
2641
|
-
ran: boolean;
|
|
2642
|
-
error?: string;
|
|
2643
|
-
}
|
|
2644
|
-
|
|
2645
2579
|
declare interface ForkSharedAppResponse {
|
|
2646
2580
|
type: "fork_shared_app_response";
|
|
2647
2581
|
success: boolean;
|
|
@@ -2818,64 +2752,21 @@ declare interface GraphNodeSweepResult {
|
|
|
2818
2752
|
/** Whether the text tokenizes to at least one lexical search token. */
|
|
2819
2753
|
export declare function hasLexicalTokens(text: string): Promise<boolean>;
|
|
2820
2754
|
|
|
2821
|
-
declare
|
|
2822
|
-
type: "heartbeat_alert";
|
|
2823
|
-
title: string;
|
|
2824
|
-
body: string;
|
|
2825
|
-
}
|
|
2826
|
-
|
|
2827
|
-
declare interface HeartbeatChecklistResponse {
|
|
2828
|
-
type: "heartbeat_checklist_response";
|
|
2829
|
-
content: string;
|
|
2830
|
-
isDefault: boolean;
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
declare interface HeartbeatChecklistWriteResponse {
|
|
2834
|
-
type: "heartbeat_checklist_write_response";
|
|
2835
|
-
success: boolean;
|
|
2836
|
-
error?: string;
|
|
2837
|
-
}
|
|
2838
|
-
|
|
2839
|
-
declare interface HeartbeatConfigResponse {
|
|
2840
|
-
type: "heartbeat_config_response";
|
|
2841
|
-
enabled: boolean;
|
|
2842
|
-
intervalMs: number;
|
|
2843
|
-
activeHoursStart: number | null;
|
|
2844
|
-
activeHoursEnd: number | null;
|
|
2845
|
-
nextRunAt: number | null;
|
|
2846
|
-
lastRunAt: number | null;
|
|
2847
|
-
success: boolean;
|
|
2848
|
-
error?: string;
|
|
2849
|
-
}
|
|
2755
|
+
declare type HeartbeatAlertEvent = z.infer<typeof HeartbeatAlertEventSchema>;
|
|
2850
2756
|
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
}
|
|
2757
|
+
declare const HeartbeatAlertEventSchema: z.ZodObject<{
|
|
2758
|
+
type: z.ZodLiteral<"heartbeat_alert">;
|
|
2759
|
+
title: z.ZodString;
|
|
2760
|
+
body: z.ZodString;
|
|
2761
|
+
}, z.core.$strip>;
|
|
2857
2762
|
|
|
2858
|
-
declare
|
|
2859
|
-
type: "heartbeat_run_now_response";
|
|
2860
|
-
success: boolean;
|
|
2861
|
-
error?: string;
|
|
2862
|
-
}
|
|
2763
|
+
declare type HeartbeatConversationCreatedEvent = z.infer<typeof HeartbeatConversationCreatedEventSchema>;
|
|
2863
2764
|
|
|
2864
|
-
declare
|
|
2865
|
-
type: "
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
startedAt: number | null;
|
|
2870
|
-
finishedAt: number | null;
|
|
2871
|
-
durationMs: number | null;
|
|
2872
|
-
status: string;
|
|
2873
|
-
skipReason: string | null;
|
|
2874
|
-
error: string | null;
|
|
2875
|
-
conversationId: string | null;
|
|
2876
|
-
createdAt: number;
|
|
2877
|
-
}>;
|
|
2878
|
-
}
|
|
2765
|
+
declare const HeartbeatConversationCreatedEventSchema: z.ZodObject<{
|
|
2766
|
+
type: z.ZodLiteral<"heartbeat_conversation_created">;
|
|
2767
|
+
conversationId: z.ZodString;
|
|
2768
|
+
title: z.ZodString;
|
|
2769
|
+
}, z.core.$strip>;
|
|
2879
2770
|
|
|
2880
2771
|
declare interface HistoryResponse {
|
|
2881
2772
|
type: "history_response";
|
|
@@ -3916,18 +3807,6 @@ declare const MessageCompleteEventSchema: z.ZodObject<{
|
|
|
3916
3807
|
attachmentWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3917
3808
|
}, z.core.$strip>;
|
|
3918
3809
|
|
|
3919
|
-
declare interface MessageContentResponse {
|
|
3920
|
-
type: "message_content_response";
|
|
3921
|
-
conversationId: string;
|
|
3922
|
-
messageId: string;
|
|
3923
|
-
text?: string;
|
|
3924
|
-
toolCalls?: Array<{
|
|
3925
|
-
name: string;
|
|
3926
|
-
result?: string;
|
|
3927
|
-
input?: Record<string, unknown>;
|
|
3928
|
-
}>;
|
|
3929
|
-
}
|
|
3930
|
-
|
|
3931
3810
|
declare type MessageDequeuedEvent = z.infer<typeof MessageDequeuedEventSchema>;
|
|
3932
3811
|
|
|
3933
3812
|
declare const MessageDequeuedEventSchema: z.ZodObject<{
|
|
@@ -4103,36 +3982,40 @@ declare interface MessageRow {
|
|
|
4103
3982
|
finalized: number;
|
|
4104
3983
|
}
|
|
4105
3984
|
|
|
4106
|
-
declare type _MessagesServerMessages = UserMessageEchoEvent | AssistantTurnStartEvent | AssistantTextDeltaEvent | AssistantThinkingDeltaEvent | ToolUseStartEvent | ToolUsePreviewStartEvent | ToolOutputChunkEvent |
|
|
3985
|
+
declare type _MessagesServerMessages = UserMessageEchoEvent | AssistantTurnStartEvent | AssistantTextDeltaEvent | AssistantThinkingDeltaEvent | ToolUseStartEvent | ToolUsePreviewStartEvent | ToolOutputChunkEvent | ToolInputDeltaEvent | ToolResultEvent | ConfirmationRequestEvent | SecretRequestEvent | QuestionRequestEvent | MessageCompleteEvent | ErrorEvent_2 | MessageQueuedEvent | MessageDequeuedEvent | MessageRequestCompleteEvent | MessageQueuedDeletedEvent | MessageSteeredEvent | ConfirmationStateChangedEvent | AssistantActivityStateEvent | ConversationInferenceProfileUpdatedEvent | InteractionResolvedEvent;
|
|
4107
3986
|
|
|
4108
|
-
declare
|
|
4109
|
-
type: "message_steered";
|
|
4110
|
-
conversationId: string;
|
|
4111
|
-
requestId: string;
|
|
4112
|
-
}
|
|
3987
|
+
declare type MessageSteeredEvent = z.infer<typeof MessageSteeredEventSchema>;
|
|
4113
3988
|
|
|
4114
|
-
declare
|
|
4115
|
-
type: "
|
|
4116
|
-
conversationId
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
3989
|
+
declare const MessageSteeredEventSchema: z.ZodObject<{
|
|
3990
|
+
type: z.ZodLiteral<"message_steered">;
|
|
3991
|
+
conversationId: z.ZodString;
|
|
3992
|
+
requestId: z.ZodString;
|
|
3993
|
+
}, z.core.$strip>;
|
|
3994
|
+
|
|
3995
|
+
declare type ModelInfoEvent = z.infer<typeof ModelInfoEventSchema>;
|
|
3996
|
+
|
|
3997
|
+
declare const ModelInfoEventSchema: z.ZodObject<{
|
|
3998
|
+
type: z.ZodLiteral<"model_info">;
|
|
3999
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
4000
|
+
model: z.ZodString;
|
|
4001
|
+
provider: z.ZodString;
|
|
4002
|
+
configuredProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4003
|
+
availableModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4004
|
+
id: z.ZodString;
|
|
4005
|
+
displayName: z.ZodString;
|
|
4006
|
+
}, z.core.$strip>>>;
|
|
4007
|
+
allProviders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4008
|
+
id: z.ZodString;
|
|
4009
|
+
displayName: z.ZodString;
|
|
4010
|
+
models: z.ZodArray<z.ZodObject<{
|
|
4011
|
+
id: z.ZodString;
|
|
4012
|
+
displayName: z.ZodString;
|
|
4013
|
+
}, z.core.$strip>>;
|
|
4014
|
+
defaultModel: z.ZodString;
|
|
4015
|
+
apiKeyUrl: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
apiKeyPlaceholder: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
}, z.core.$strip>>>;
|
|
4018
|
+
}, z.core.$strip>;
|
|
4136
4019
|
|
|
4137
4020
|
/**
|
|
4138
4021
|
* A workspace inference profile a plugin can route to. Returned by
|
|
@@ -4342,10 +4225,6 @@ export declare interface PluginLogger {
|
|
|
4342
4225
|
debug(obj: Record<string, unknown>, msg?: string): void;
|
|
4343
4226
|
}
|
|
4344
4227
|
|
|
4345
|
-
declare interface PongMessage {
|
|
4346
|
-
type: "pong";
|
|
4347
|
-
}
|
|
4348
|
-
|
|
4349
4228
|
/**
|
|
4350
4229
|
* The full `post-compact` context a hook receives — the dispatching call
|
|
4351
4230
|
* site's {@link PostCompactInputContext} plus the pipeline-stamped
|
|
@@ -5163,52 +5042,16 @@ export declare interface RunConversationTurnResult {
|
|
|
5163
5042
|
queued?: boolean;
|
|
5164
5043
|
}
|
|
5165
5044
|
|
|
5166
|
-
|
|
5167
|
-
* Emitted when the compaction circuit breaker trips. After three consecutive
|
|
5168
|
-
* summary-LLM failures (with local fallback covering each), auto-compaction is
|
|
5169
|
-
* suspended until `openUntil` to avoid repeatedly hammering a broken provider.
|
|
5170
|
-
* User-initiated compaction (`/compact`, `force: true`) bypasses the breaker.
|
|
5171
|
-
*
|
|
5172
|
-
* `conversationId` scopes the event so clients can ignore breaker trips from
|
|
5173
|
-
* other conversations — `EventStreamClient` broadcasts every parsed server
|
|
5174
|
-
* message to all subscribers, so without this field a breaker trip in one
|
|
5175
|
-
* conversation would set the "auto-compaction paused" banner on every open
|
|
5176
|
-
* `ChatViewModel`.
|
|
5177
|
-
*/
|
|
5178
|
-
/** Server push — broadcast when a schedule creates a conversation. */
|
|
5179
|
-
declare interface ScheduleConversationCreated {
|
|
5180
|
-
type: "schedule_conversation_created";
|
|
5181
|
-
conversationId: string;
|
|
5182
|
-
scheduleJobId: string;
|
|
5183
|
-
title: string;
|
|
5184
|
-
}
|
|
5045
|
+
declare type ScheduleConversationCreatedEvent = z.infer<typeof ScheduleConversationCreatedEventSchema>;
|
|
5185
5046
|
|
|
5186
|
-
declare
|
|
5187
|
-
type: "
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
syntax: string;
|
|
5193
|
-
expression: string | null;
|
|
5194
|
-
cronExpression: string | null;
|
|
5195
|
-
timezone: string | null;
|
|
5196
|
-
message: string;
|
|
5197
|
-
nextRunAt: number;
|
|
5198
|
-
lastRunAt: number | null;
|
|
5199
|
-
lastStatus: string | null;
|
|
5200
|
-
description: string;
|
|
5201
|
-
cadenceDescription: string;
|
|
5202
|
-
mode: string;
|
|
5203
|
-
status: string;
|
|
5204
|
-
routingIntent: string;
|
|
5205
|
-
reuseConversation: boolean;
|
|
5206
|
-
wakeConversationId: string | null;
|
|
5207
|
-
isOneShot: boolean;
|
|
5208
|
-
}>;
|
|
5209
|
-
}
|
|
5047
|
+
declare const ScheduleConversationCreatedEventSchema: z.ZodObject<{
|
|
5048
|
+
type: z.ZodLiteral<"schedule_conversation_created">;
|
|
5049
|
+
conversationId: z.ZodString;
|
|
5050
|
+
scheduleJobId: z.ZodString;
|
|
5051
|
+
title: z.ZodString;
|
|
5052
|
+
}, z.core.$strip>;
|
|
5210
5053
|
|
|
5211
|
-
declare type _SchedulesServerMessages =
|
|
5054
|
+
declare type _SchedulesServerMessages = HeartbeatAlertEvent | HeartbeatConversationCreatedEvent;
|
|
5212
5055
|
|
|
5213
5056
|
/** Sparse lexical search over stored message text; ranked message-id hits. */
|
|
5214
5057
|
export declare function searchMessageIdsLexical(query: string, limit: number, opts?: {
|
|
@@ -5884,13 +5727,6 @@ declare type SubscriberInput = DistributiveOmit<SubscriberEntry, "active" | "con
|
|
|
5884
5727
|
onEvict?: () => void;
|
|
5885
5728
|
};
|
|
5886
5729
|
|
|
5887
|
-
declare interface SuggestionResponse {
|
|
5888
|
-
type: "suggestion_response";
|
|
5889
|
-
requestId: string;
|
|
5890
|
-
suggestion: string | null;
|
|
5891
|
-
source: "llm" | "none";
|
|
5892
|
-
}
|
|
5893
|
-
|
|
5894
5730
|
declare interface SurfaceAction {
|
|
5895
5731
|
id: string;
|
|
5896
5732
|
label: string;
|
|
@@ -6500,17 +6336,16 @@ export declare interface ToolExecutionResult {
|
|
|
6500
6336
|
activityMetadata?: ToolActivityMetadata;
|
|
6501
6337
|
}
|
|
6502
6338
|
|
|
6503
|
-
declare
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
}
|
|
6339
|
+
declare type ToolInputDeltaEvent = z.infer<typeof ToolInputDeltaEventSchema>;
|
|
6340
|
+
|
|
6341
|
+
declare const ToolInputDeltaEventSchema: z.ZodObject<{
|
|
6342
|
+
type: z.ZodLiteral<"tool_input_delta">;
|
|
6343
|
+
toolName: z.ZodString;
|
|
6344
|
+
content: z.ZodString;
|
|
6345
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
6346
|
+
toolUseId: z.ZodOptional<z.ZodString>;
|
|
6347
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
6348
|
+
}, z.core.$strip>;
|
|
6514
6349
|
|
|
6515
6350
|
declare interface ToolInputSchema {
|
|
6516
6351
|
type: "object";
|
package/package.json
CHANGED