@vellumai/plugin-api 0.12.4-dev.202609242115.494829c → 0.12.4-dev.202609250222.b57e122

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 +11 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5807,6 +5807,9 @@ export declare interface AudioEmbeddingInput {
5807
5807
  mimeType: string;
5808
5808
  }
5809
5809
 
5810
+ /** `profileSource` reported for a turn whose profile the Auto router chose. */
5811
+ declare const AUTO_PROFILE_SOURCE = "auto";
5812
+
5810
5813
  /**
5811
5814
  * Media payload for an image or file content block. One unified type covers
5812
5815
  * both blocks and both storage forms:
@@ -22339,6 +22342,13 @@ export declare interface SendMessageConfig {
22339
22342
  * silently fall through.
22340
22343
  */
22341
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";
22342
22352
  /**
22343
22353
  * When true, the resolver floats `overrideProfile` above the call-site
22344
22354
  * layers (named site profile + call-site override) for non-main-agent call
@@ -24645,7 +24655,7 @@ declare interface UiSurfaceContent {
24645
24655
  /** Merge the given keys into a message's metadata JSON. */
24646
24656
  export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
24647
24657
 
24648
- declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | "unknown";
24658
+ declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | typeof AUTO_PROFILE_SOURCE | "unknown";
24649
24659
 
24650
24660
  declare interface UsageAttributionSnapshot {
24651
24661
  callSite: LLMCallSite | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.4-dev.202609242115.494829c",
3
+ "version": "0.12.4-dev.202609250222.b57e122",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",