@vellumai/plugin-api 0.12.3 → 0.12.4-staging.2

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.
Files changed (2) hide show
  1. package/index.d.ts +20 -7
  2. 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,9 @@ 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
+ voiceEscalationJudge: "voiceEscalationJudge";
1928
+ voiceContinuationJudge: "voiceContinuationJudge";
1929
+ memoryV3SelectL2: "memoryV3SelectL2";
1916
1930
  mainAgent: "mainAgent";
1917
1931
  subagentSpawn: "subagentSpawn";
1918
1932
  heartbeatAgent: "heartbeatAgent";
@@ -1925,7 +1939,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
1925
1939
  memoryV2Migration: "memoryV2Migration";
1926
1940
  memoryV2Sweep: "memoryV2Sweep";
1927
1941
  memoryRouter: "memoryRouter";
1928
- memoryV3SelectL2: "memoryV3SelectL2";
1929
1942
  memoryV2Consolidation: "memoryV2Consolidation";
1930
1943
  memoryRetrospective: "memoryRetrospective";
1931
1944
  recall: "recall";
@@ -1951,8 +1964,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
1951
1964
  vision: "vision";
1952
1965
  voiceProgressNarration: "voiceProgressNarration";
1953
1966
  voiceFrontDoor: "voiceFrontDoor";
1954
- voiceEscalationJudge: "voiceEscalationJudge";
1955
- voiceContinuationJudge: "voiceContinuationJudge";
1956
1967
  voiceContinuationLabel: "voiceContinuationLabel";
1957
1968
  trustRuleSuggestion: "trustRuleSuggestion";
1958
1969
  homeGreeting: "homeGreeting";
@@ -11938,7 +11949,9 @@ export declare function getMessages(conversationId: string): Promise<MessageRow[
11938
11949
  /**
11939
11950
  * List the workspace inference profiles a plugin can route to, in the order a
11940
11951
  * user-facing model picker presents them (`llm.profileOrder` first, then the
11941
- * rest alphabetically). Managed backup routes are internal and omitted.
11952
+ * rest alphabetically). Managed backup routes and the managed Jev profile
11953
+ * are omitted with the rest of the conversation view: a plugin routes
11954
+ * conversation turns, and a decision model cannot answer them.
11942
11955
  * Metadata-only entries without a provider, model, or mix are not routing
11943
11956
  * targets, so plugins never see them. Disabled profiles are included and flagged via
11944
11957
  * {@link ModelProfileInfo.isDisabled}; weighted "mix" profiles are included and
@@ -12905,6 +12918,9 @@ export declare type LLMCallSite = z.infer<typeof LLMCallSiteEnum>;
12905
12918
  * this list in sync with the resolver and registry (introduced in PR 2).
12906
12919
  */
12907
12920
  declare const LLMCallSiteEnum: z.ZodEnum<{
12921
+ voiceEscalationJudge: "voiceEscalationJudge";
12922
+ voiceContinuationJudge: "voiceContinuationJudge";
12923
+ memoryV3SelectL2: "memoryV3SelectL2";
12908
12924
  mainAgent: "mainAgent";
12909
12925
  subagentSpawn: "subagentSpawn";
12910
12926
  heartbeatAgent: "heartbeatAgent";
@@ -12917,7 +12933,6 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
12917
12933
  memoryV2Migration: "memoryV2Migration";
12918
12934
  memoryV2Sweep: "memoryV2Sweep";
12919
12935
  memoryRouter: "memoryRouter";
12920
- memoryV3SelectL2: "memoryV3SelectL2";
12921
12936
  memoryV2Consolidation: "memoryV2Consolidation";
12922
12937
  memoryRetrospective: "memoryRetrospective";
12923
12938
  recall: "recall";
@@ -12943,8 +12958,6 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
12943
12958
  vision: "vision";
12944
12959
  voiceProgressNarration: "voiceProgressNarration";
12945
12960
  voiceFrontDoor: "voiceFrontDoor";
12946
- voiceEscalationJudge: "voiceEscalationJudge";
12947
- voiceContinuationJudge: "voiceContinuationJudge";
12948
12961
  voiceContinuationLabel: "voiceContinuationLabel";
12949
12962
  trustRuleSuggestion: "trustRuleSuggestion";
12950
12963
  homeGreeting: "homeGreeting";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.3",
3
+ "version": "0.12.4-staging.2",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",