@vellumai/plugin-api 0.12.4 → 0.12.5-dev.202609251017.e467a6c
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 +30 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1924,6 +1924,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1924
1924
|
}, z.core.$strip>>>;
|
|
1925
1925
|
profileOrder: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1926
1926
|
callSites: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
1927
|
+
autoProfileRouter: "autoProfileRouter";
|
|
1927
1928
|
voiceEscalationJudge: "voiceEscalationJudge";
|
|
1928
1929
|
voiceContinuationJudge: "voiceContinuationJudge";
|
|
1929
1930
|
memoryV3SelectL2: "memoryV3SelectL2";
|
|
@@ -2641,9 +2642,9 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
2641
2642
|
id: z.ZodString;
|
|
2642
2643
|
conversationId: z.ZodString;
|
|
2643
2644
|
status: z.ZodEnum<{
|
|
2645
|
+
cancelled: "cancelled";
|
|
2644
2646
|
completed: "completed";
|
|
2645
2647
|
failed: "failed";
|
|
2646
|
-
cancelled: "cancelled";
|
|
2647
2648
|
}>;
|
|
2648
2649
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2649
2650
|
output: z.ZodOptional<z.ZodString>;
|
|
@@ -3007,6 +3008,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3007
3008
|
filePath: z.ZodOptional<z.ZodString>;
|
|
3008
3009
|
}, z.core.$strip>>>;
|
|
3009
3010
|
attachmentWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3011
|
+
autoRoutedProfile: z.ZodOptional<z.ZodString>;
|
|
3010
3012
|
}, z.core.$strip>, z.ZodObject<{
|
|
3011
3013
|
type: z.ZodLiteral<"heartbeat_conversation_created">;
|
|
3012
3014
|
conversationId: z.ZodString;
|
|
@@ -3297,6 +3299,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3297
3299
|
private: "private";
|
|
3298
3300
|
visible: "visible";
|
|
3299
3301
|
}>>;
|
|
3302
|
+
autoRoutedProfile: z.ZodOptional<z.ZodString>;
|
|
3300
3303
|
}, z.core.$strip>, z.ZodObject<{
|
|
3301
3304
|
type: z.ZodLiteral<"message_dequeued">;
|
|
3302
3305
|
conversationId: z.ZodString;
|
|
@@ -3643,6 +3646,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3643
3646
|
fastcrw: "fastcrw";
|
|
3644
3647
|
searxng: "searxng";
|
|
3645
3648
|
tinyfish: "tinyfish";
|
|
3649
|
+
exa: "exa";
|
|
3646
3650
|
}>;
|
|
3647
3651
|
resultCount: z.ZodNumber;
|
|
3648
3652
|
durationMs: z.ZodNumber;
|
|
@@ -3679,6 +3683,8 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3679
3683
|
durationMs: z.ZodNumber;
|
|
3680
3684
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
3681
3685
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
3686
|
+
startIndexPastEnd: z.ZodOptional<z.ZodBoolean>;
|
|
3687
|
+
providerWarning: z.ZodOptional<z.ZodString>;
|
|
3682
3688
|
}, z.core.$strip>>;
|
|
3683
3689
|
recall: z.ZodOptional<z.ZodObject<{
|
|
3684
3690
|
query: z.ZodString;
|
|
@@ -4276,9 +4282,9 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4276
4282
|
id: z.ZodString;
|
|
4277
4283
|
conversationId: z.ZodString;
|
|
4278
4284
|
status: z.ZodEnum<{
|
|
4285
|
+
cancelled: "cancelled";
|
|
4279
4286
|
completed: "completed";
|
|
4280
4287
|
failed: "failed";
|
|
4281
|
-
cancelled: "cancelled";
|
|
4282
4288
|
}>;
|
|
4283
4289
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4284
4290
|
output: z.ZodOptional<z.ZodString>;
|
|
@@ -4642,6 +4648,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4642
4648
|
filePath: z.ZodOptional<z.ZodString>;
|
|
4643
4649
|
}, z.core.$strip>>>;
|
|
4644
4650
|
attachmentWarnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4651
|
+
autoRoutedProfile: z.ZodOptional<z.ZodString>;
|
|
4645
4652
|
}, z.core.$strip>, z.ZodObject<{
|
|
4646
4653
|
type: z.ZodLiteral<"heartbeat_conversation_created">;
|
|
4647
4654
|
conversationId: z.ZodString;
|
|
@@ -4932,6 +4939,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4932
4939
|
private: "private";
|
|
4933
4940
|
visible: "visible";
|
|
4934
4941
|
}>>;
|
|
4942
|
+
autoRoutedProfile: z.ZodOptional<z.ZodString>;
|
|
4935
4943
|
}, z.core.$strip>, z.ZodObject<{
|
|
4936
4944
|
type: z.ZodLiteral<"message_dequeued">;
|
|
4937
4945
|
conversationId: z.ZodString;
|
|
@@ -5278,6 +5286,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5278
5286
|
fastcrw: "fastcrw";
|
|
5279
5287
|
searxng: "searxng";
|
|
5280
5288
|
tinyfish: "tinyfish";
|
|
5289
|
+
exa: "exa";
|
|
5281
5290
|
}>;
|
|
5282
5291
|
resultCount: z.ZodNumber;
|
|
5283
5292
|
durationMs: z.ZodNumber;
|
|
@@ -5314,6 +5323,8 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5314
5323
|
durationMs: z.ZodNumber;
|
|
5315
5324
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
5316
5325
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
5326
|
+
startIndexPastEnd: z.ZodOptional<z.ZodBoolean>;
|
|
5327
|
+
providerWarning: z.ZodOptional<z.ZodString>;
|
|
5317
5328
|
}, z.core.$strip>>;
|
|
5318
5329
|
recall: z.ZodOptional<z.ZodObject<{
|
|
5319
5330
|
query: z.ZodString;
|
|
@@ -5796,6 +5807,9 @@ export declare interface AudioEmbeddingInput {
|
|
|
5796
5807
|
mimeType: string;
|
|
5797
5808
|
}
|
|
5798
5809
|
|
|
5810
|
+
/** `profileSource` reported for a turn whose profile the Auto router chose. */
|
|
5811
|
+
declare const AUTO_PROFILE_SOURCE = "auto";
|
|
5812
|
+
|
|
5799
5813
|
/**
|
|
5800
5814
|
* Media payload for an image or file content block. One unified type covers
|
|
5801
5815
|
* both blocks and both storage forms:
|
|
@@ -12918,6 +12932,7 @@ export declare type LLMCallSite = z.infer<typeof LLMCallSiteEnum>;
|
|
|
12918
12932
|
* this list in sync with the resolver and registry (introduced in PR 2).
|
|
12919
12933
|
*/
|
|
12920
12934
|
declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
12935
|
+
autoProfileRouter: "autoProfileRouter";
|
|
12921
12936
|
voiceEscalationJudge: "voiceEscalationJudge";
|
|
12922
12937
|
voiceContinuationJudge: "voiceContinuationJudge";
|
|
12923
12938
|
memoryV3SelectL2: "memoryV3SelectL2";
|
|
@@ -17050,6 +17065,7 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
17050
17065
|
provenanceLookupFailed: z.ZodOptional<z.ZodBoolean>;
|
|
17051
17066
|
automated: z.ZodOptional<z.ZodBoolean>;
|
|
17052
17067
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
17068
|
+
voiceContinuationResult: z.ZodOptional<z.ZodBoolean>;
|
|
17053
17069
|
voiceSessionTurn: z.ZodOptional<z.ZodBoolean>;
|
|
17054
17070
|
computerUseScreenshotAttachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17055
17071
|
messageKind: z.ZodOptional<z.ZodString>;
|
|
@@ -17063,9 +17079,9 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
17063
17079
|
command: z.ZodString;
|
|
17064
17080
|
startedAt: z.ZodNumber;
|
|
17065
17081
|
status: z.ZodEnum<{
|
|
17082
|
+
cancelled: "cancelled";
|
|
17066
17083
|
completed: "completed";
|
|
17067
17084
|
failed: "failed";
|
|
17068
|
-
cancelled: "cancelled";
|
|
17069
17085
|
}>;
|
|
17070
17086
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
17071
17087
|
output: z.ZodString;
|
|
@@ -22326,6 +22342,13 @@ export declare interface SendMessageConfig {
|
|
|
22326
22342
|
* silently fall through.
|
|
22327
22343
|
*/
|
|
22328
22344
|
overrideProfile?: string;
|
|
22345
|
+
/**
|
|
22346
|
+
* Who chose `overrideProfile`: `"auto"` when the Auto profile's router
|
|
22347
|
+
* picked it for the turn. Usage attribution reports it as the profile
|
|
22348
|
+
* source so a routed turn is not counted as a user pin. A routing-time
|
|
22349
|
+
* concern only; stripped before any provider wire request.
|
|
22350
|
+
*/
|
|
22351
|
+
overrideProfileOrigin?: "auto";
|
|
22329
22352
|
/**
|
|
22330
22353
|
* When true, the resolver floats `overrideProfile` above the call-site
|
|
22331
22354
|
* layers (named site profile + call-site override) for non-main-agent call
|
|
@@ -23657,6 +23680,7 @@ declare const ToolActivityMetadataSchema: z.ZodObject<{
|
|
|
23657
23680
|
fastcrw: "fastcrw";
|
|
23658
23681
|
searxng: "searxng";
|
|
23659
23682
|
tinyfish: "tinyfish";
|
|
23683
|
+
exa: "exa";
|
|
23660
23684
|
}>;
|
|
23661
23685
|
resultCount: z.ZodNumber;
|
|
23662
23686
|
durationMs: z.ZodNumber;
|
|
@@ -23693,6 +23717,8 @@ declare const ToolActivityMetadataSchema: z.ZodObject<{
|
|
|
23693
23717
|
durationMs: z.ZodNumber;
|
|
23694
23718
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
23695
23719
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
23720
|
+
startIndexPastEnd: z.ZodOptional<z.ZodBoolean>;
|
|
23721
|
+
providerWarning: z.ZodOptional<z.ZodString>;
|
|
23696
23722
|
}, z.core.$strip>>;
|
|
23697
23723
|
recall: z.ZodOptional<z.ZodObject<{
|
|
23698
23724
|
query: z.ZodString;
|
|
@@ -24629,7 +24655,7 @@ declare interface UiSurfaceContent {
|
|
|
24629
24655
|
/** Merge the given keys into a message's metadata JSON. */
|
|
24630
24656
|
export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
|
|
24631
24657
|
|
|
24632
|
-
declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | "unknown";
|
|
24658
|
+
declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | typeof AUTO_PROFILE_SOURCE | "unknown";
|
|
24633
24659
|
|
|
24634
24660
|
declare interface UsageAttributionSnapshot {
|
|
24635
24661
|
callSite: LLMCallSite | null;
|