@vellumai/plugin-api 0.11.1-dev.202608032128.6f59e1c → 0.11.1-dev.202608032226.351a4e2

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 +30 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -4503,10 +4503,30 @@ export declare function listConversations(limit?: number, conversationType?: Con
4503
4503
  */
4504
4504
  export declare function listInstalledSkills(): Promise<ResolvedSkillEntry[]>;
4505
4505
 
4506
- declare const _LIVE_VOICE_SERVER_FRAME_TYPES: readonly ["ready", "busy", "speech_started", "utterance_end", "utterance_discarded", "stt_partial", "stt_final", "thinking", "assistant_text_delta", "tts_audio", "tts_done", "turn_cancelled", "minimize_room", "metrics", "archived", "error"];
4506
+ declare const _LIVE_VOICE_SERVER_FRAME_TYPES: readonly ["ready", "busy", "speech_started", "utterance_end", "utterance_discarded", "stt_partial", "stt_final", "thinking", "activity", "assistant_text_delta", "tts_audio", "tts_done", "turn_cancelled", "minimize_room", "metrics", "archived", "error"];
4507
4507
 
4508
4508
  declare const LIVE_VOICE_TURN_DETECTION_MODES: readonly ["manual", "server_vad"];
4509
4509
 
4510
+ /**
4511
+ * What the assistant is doing inside a turn, as one short user-facing line.
4512
+ *
4513
+ * Exists because a live-voice turn can go silent for a long time while it
4514
+ * works, and the surfaces that show the session (the iOS Live Activity, and
4515
+ * the room) can otherwise only say "Thinking...". The label is composed here
4516
+ * rather than by each surface for the same reason phase wording is composed
4517
+ * once: the Live Activity has two independent drivers (this socket and an APNs
4518
+ * push the daemon dispatches), they must carry identical content, and the only
4519
+ * way to guarantee that is for both to be handed the same string.
4520
+ *
4521
+ * An empty `label` means "no current activity", which is what a turn's end
4522
+ * sends. Emitted only on change, never per tool result.
4523
+ */
4524
+ declare interface LiveVoiceActivityServerFrame extends LiveVoiceServerFrameBase {
4525
+ readonly type: "activity";
4526
+ readonly turnId: string;
4527
+ readonly label: string;
4528
+ }
4529
+
4510
4530
  declare interface LiveVoiceArchivedServerFrame extends LiveVoiceServerFrameBase {
4511
4531
  readonly type: "archived";
4512
4532
  readonly conversationId: string;
@@ -4642,7 +4662,7 @@ declare interface LiveVoiceReadyServerFrame extends LiveVoiceServerFrameBase {
4642
4662
  readonly turnDetection?: LiveVoiceTurnDetectionMode;
4643
4663
  }
4644
4664
 
4645
- export declare type LiveVoiceServerFrame = LiveVoiceReadyServerFrame | LiveVoiceBusyServerFrame | LiveVoiceSpeechStartedServerFrame | LiveVoiceUtteranceEndServerFrame | LiveVoiceUtteranceDiscardedServerFrame | LiveVoiceSttPartialServerFrame | LiveVoiceSttFinalServerFrame | LiveVoiceThinkingServerFrame | LiveVoiceAssistantTextDeltaServerFrame | LiveVoiceTtsAudioServerFrame | LiveVoiceTtsDoneServerFrame | LiveVoiceTurnCancelledServerFrame | LiveVoiceMinimizeRoomServerFrame | LiveVoiceMetricsServerFrame | LiveVoiceArchivedServerFrame | LiveVoiceErrorServerFrame;
4665
+ export declare type LiveVoiceServerFrame = LiveVoiceReadyServerFrame | LiveVoiceBusyServerFrame | LiveVoiceSpeechStartedServerFrame | LiveVoiceUtteranceEndServerFrame | LiveVoiceUtteranceDiscardedServerFrame | LiveVoiceSttPartialServerFrame | LiveVoiceSttFinalServerFrame | LiveVoiceThinkingServerFrame | LiveVoiceActivityServerFrame | LiveVoiceAssistantTextDeltaServerFrame | LiveVoiceTtsAudioServerFrame | LiveVoiceTtsDoneServerFrame | LiveVoiceTurnCancelledServerFrame | LiveVoiceMinimizeRoomServerFrame | LiveVoiceMetricsServerFrame | LiveVoiceArchivedServerFrame | LiveVoiceErrorServerFrame;
4646
4666
 
4647
4667
  declare interface LiveVoiceServerFrameBase {
4648
4668
  readonly type: LiveVoiceServerFrameType;
@@ -5337,6 +5357,8 @@ declare interface ProcessEntry extends BaseSubscriberEntry {
5337
5357
 
5338
5358
  export declare interface Provider {
5339
5359
  name: string;
5360
+ /** Connection route whose credentials this provider instance uses. */
5361
+ routeAttribution?: ProviderRouteAttribution;
5340
5362
  /**
5341
5363
  * Provider key used by the local token estimator to select model-family
5342
5364
  * specific rules (e.g. Anthropic's `width * height / 750` image sizing).
@@ -5460,6 +5482,12 @@ export declare interface ProviderResponse {
5460
5482
  rawResponse?: unknown;
5461
5483
  }
5462
5484
 
5485
+ declare interface ProviderRouteAttribution {
5486
+ connectionName?: string;
5487
+ profileName?: string;
5488
+ isManagedRoute?: boolean;
5489
+ }
5490
+
5463
5491
  /** Callback for proxy policy decisions requiring user confirmation. Returns true if approved. */
5464
5492
  declare type ProxyApprovalCallback = (request: ProxyApprovalRequest) => Promise<boolean>;
5465
5493
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.1-dev.202608032128.6f59e1c",
3
+ "version": "0.11.1-dev.202608032226.351a4e2",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",