@vellumai/plugin-api 0.12.3 → 0.12.4-dev.202609231620.a15f321
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 +31 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1091,6 +1091,17 @@ declare interface AddMessageOptions {
|
|
|
1091
1091
|
* during that sleep.
|
|
1092
1092
|
*/
|
|
1093
1093
|
insertPrecondition?: () => boolean;
|
|
1094
|
+
/**
|
|
1095
|
+
* The row is the assistant's bookkeeping ABOUT this conversation rather than
|
|
1096
|
+
* activity in it, so it must not bring the conversation back from Done (see
|
|
1097
|
+
* {@link resurfaceArchivedConversation}). The producer declares this, because
|
|
1098
|
+
* only the producer knows which of the two a row is.
|
|
1099
|
+
*
|
|
1100
|
+
* The retrospective skill card is the case: a pass runs once a conversation
|
|
1101
|
+
* has gone idle, which is exactly when the user has just marked it done, so
|
|
1102
|
+
* a card that resurfaced would bounce fresh done chats back into the sidebar.
|
|
1103
|
+
*/
|
|
1104
|
+
skipResurface?: boolean;
|
|
1094
1105
|
}
|
|
1095
1106
|
|
|
1096
1107
|
declare type AddMessageResult = Awaited<ReturnType<addMessage_2>>;
|
|
@@ -1913,6 +1924,10 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1913
1924
|
}, z.core.$strip>>>;
|
|
1914
1925
|
profileOrder: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1915
1926
|
callSites: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
1927
|
+
autoProfileRouter: "autoProfileRouter";
|
|
1928
|
+
voiceEscalationJudge: "voiceEscalationJudge";
|
|
1929
|
+
voiceContinuationJudge: "voiceContinuationJudge";
|
|
1930
|
+
memoryV3SelectL2: "memoryV3SelectL2";
|
|
1916
1931
|
mainAgent: "mainAgent";
|
|
1917
1932
|
subagentSpawn: "subagentSpawn";
|
|
1918
1933
|
heartbeatAgent: "heartbeatAgent";
|
|
@@ -1925,7 +1940,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1925
1940
|
memoryV2Migration: "memoryV2Migration";
|
|
1926
1941
|
memoryV2Sweep: "memoryV2Sweep";
|
|
1927
1942
|
memoryRouter: "memoryRouter";
|
|
1928
|
-
memoryV3SelectL2: "memoryV3SelectL2";
|
|
1929
1943
|
memoryV2Consolidation: "memoryV2Consolidation";
|
|
1930
1944
|
memoryRetrospective: "memoryRetrospective";
|
|
1931
1945
|
recall: "recall";
|
|
@@ -1951,8 +1965,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1951
1965
|
vision: "vision";
|
|
1952
1966
|
voiceProgressNarration: "voiceProgressNarration";
|
|
1953
1967
|
voiceFrontDoor: "voiceFrontDoor";
|
|
1954
|
-
voiceEscalationJudge: "voiceEscalationJudge";
|
|
1955
|
-
voiceContinuationJudge: "voiceContinuationJudge";
|
|
1956
1968
|
voiceContinuationLabel: "voiceContinuationLabel";
|
|
1957
1969
|
trustRuleSuggestion: "trustRuleSuggestion";
|
|
1958
1970
|
homeGreeting: "homeGreeting";
|
|
@@ -3632,6 +3644,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3632
3644
|
fastcrw: "fastcrw";
|
|
3633
3645
|
searxng: "searxng";
|
|
3634
3646
|
tinyfish: "tinyfish";
|
|
3647
|
+
exa: "exa";
|
|
3635
3648
|
}>;
|
|
3636
3649
|
resultCount: z.ZodNumber;
|
|
3637
3650
|
durationMs: z.ZodNumber;
|
|
@@ -3668,6 +3681,8 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3668
3681
|
durationMs: z.ZodNumber;
|
|
3669
3682
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3670
3683
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
3684
|
+
startIndexPastEnd: z.ZodOptional<z.ZodBoolean>;
|
|
3685
|
+
providerWarning: z.ZodOptional<z.ZodString>;
|
|
3671
3686
|
}, z.core.$strip>>;
|
|
3672
3687
|
recall: z.ZodOptional<z.ZodObject<{
|
|
3673
3688
|
query: z.ZodString;
|
|
@@ -5267,6 +5282,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5267
5282
|
fastcrw: "fastcrw";
|
|
5268
5283
|
searxng: "searxng";
|
|
5269
5284
|
tinyfish: "tinyfish";
|
|
5285
|
+
exa: "exa";
|
|
5270
5286
|
}>;
|
|
5271
5287
|
resultCount: z.ZodNumber;
|
|
5272
5288
|
durationMs: z.ZodNumber;
|
|
@@ -5303,6 +5319,8 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5303
5319
|
durationMs: z.ZodNumber;
|
|
5304
5320
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
5305
5321
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
5322
|
+
startIndexPastEnd: z.ZodOptional<z.ZodBoolean>;
|
|
5323
|
+
providerWarning: z.ZodOptional<z.ZodString>;
|
|
5306
5324
|
}, z.core.$strip>>;
|
|
5307
5325
|
recall: z.ZodOptional<z.ZodObject<{
|
|
5308
5326
|
query: z.ZodString;
|
|
@@ -11938,7 +11956,9 @@ export declare function getMessages(conversationId: string): Promise<MessageRow[
|
|
|
11938
11956
|
/**
|
|
11939
11957
|
* List the workspace inference profiles a plugin can route to, in the order a
|
|
11940
11958
|
* user-facing model picker presents them (`llm.profileOrder` first, then the
|
|
11941
|
-
* rest alphabetically). Managed backup routes
|
|
11959
|
+
* rest alphabetically). Managed backup routes and the managed Jev profile
|
|
11960
|
+
* are omitted with the rest of the conversation view: a plugin routes
|
|
11961
|
+
* conversation turns, and a decision model cannot answer them.
|
|
11942
11962
|
* Metadata-only entries without a provider, model, or mix are not routing
|
|
11943
11963
|
* targets, so plugins never see them. Disabled profiles are included and flagged via
|
|
11944
11964
|
* {@link ModelProfileInfo.isDisabled}; weighted "mix" profiles are included and
|
|
@@ -12905,6 +12925,10 @@ export declare type LLMCallSite = z.infer<typeof LLMCallSiteEnum>;
|
|
|
12905
12925
|
* this list in sync with the resolver and registry (introduced in PR 2).
|
|
12906
12926
|
*/
|
|
12907
12927
|
declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
12928
|
+
autoProfileRouter: "autoProfileRouter";
|
|
12929
|
+
voiceEscalationJudge: "voiceEscalationJudge";
|
|
12930
|
+
voiceContinuationJudge: "voiceContinuationJudge";
|
|
12931
|
+
memoryV3SelectL2: "memoryV3SelectL2";
|
|
12908
12932
|
mainAgent: "mainAgent";
|
|
12909
12933
|
subagentSpawn: "subagentSpawn";
|
|
12910
12934
|
heartbeatAgent: "heartbeatAgent";
|
|
@@ -12917,7 +12941,6 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
|
12917
12941
|
memoryV2Migration: "memoryV2Migration";
|
|
12918
12942
|
memoryV2Sweep: "memoryV2Sweep";
|
|
12919
12943
|
memoryRouter: "memoryRouter";
|
|
12920
|
-
memoryV3SelectL2: "memoryV3SelectL2";
|
|
12921
12944
|
memoryV2Consolidation: "memoryV2Consolidation";
|
|
12922
12945
|
memoryRetrospective: "memoryRetrospective";
|
|
12923
12946
|
recall: "recall";
|
|
@@ -12943,8 +12966,6 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
|
12943
12966
|
vision: "vision";
|
|
12944
12967
|
voiceProgressNarration: "voiceProgressNarration";
|
|
12945
12968
|
voiceFrontDoor: "voiceFrontDoor";
|
|
12946
|
-
voiceEscalationJudge: "voiceEscalationJudge";
|
|
12947
|
-
voiceContinuationJudge: "voiceContinuationJudge";
|
|
12948
12969
|
voiceContinuationLabel: "voiceContinuationLabel";
|
|
12949
12970
|
trustRuleSuggestion: "trustRuleSuggestion";
|
|
12950
12971
|
homeGreeting: "homeGreeting";
|
|
@@ -23644,6 +23665,7 @@ declare const ToolActivityMetadataSchema: z.ZodObject<{
|
|
|
23644
23665
|
fastcrw: "fastcrw";
|
|
23645
23666
|
searxng: "searxng";
|
|
23646
23667
|
tinyfish: "tinyfish";
|
|
23668
|
+
exa: "exa";
|
|
23647
23669
|
}>;
|
|
23648
23670
|
resultCount: z.ZodNumber;
|
|
23649
23671
|
durationMs: z.ZodNumber;
|
|
@@ -23680,6 +23702,8 @@ declare const ToolActivityMetadataSchema: z.ZodObject<{
|
|
|
23680
23702
|
durationMs: z.ZodNumber;
|
|
23681
23703
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
23682
23704
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
23705
|
+
startIndexPastEnd: z.ZodOptional<z.ZodBoolean>;
|
|
23706
|
+
providerWarning: z.ZodOptional<z.ZodString>;
|
|
23683
23707
|
}, z.core.$strip>>;
|
|
23684
23708
|
recall: z.ZodOptional<z.ZodObject<{
|
|
23685
23709
|
query: z.ZodString;
|