@vellumai/plugin-api 0.12.2-staging.1 → 0.12.2-staging.3

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 +37 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -330,6 +330,12 @@ declare const AssistantConfigSchema: z.ZodObject<{
330
330
  "your-own": "your-own";
331
331
  }>>;
332
332
  }, z.core.$strip>>;
333
+ "quickbooks-oauth": z.ZodDefault<z.ZodObject<{
334
+ mode: z.ZodDefault<z.ZodEnum<{
335
+ managed: "managed";
336
+ "your-own": "your-own";
337
+ }>>;
338
+ }, z.core.$strip>>;
333
339
  "eventbrite-oauth": z.ZodDefault<z.ZodObject<{
334
340
  mode: z.ZodDefault<z.ZodEnum<{
335
341
  managed: "managed";
@@ -618,6 +624,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
618
624
  fdPollIntervalMs: z.ZodDefault<z.ZodNumber>;
619
625
  highFdThresholdRatio: z.ZodDefault<z.ZodNumber>;
620
626
  fdWarnCooldownMs: z.ZodDefault<z.ZodNumber>;
627
+ mountWatchIntervalMs: z.ZodDefault<z.ZodNumber>;
621
628
  pluginSourceScanIntervalMs: z.ZodDefault<z.ZodNumber>;
622
629
  baselineSnapshotIntervalMs: z.ZodDefault<z.ZodNumber>;
623
630
  }, z.core.$strip>>;
@@ -5125,7 +5132,9 @@ export declare function listConversations(limit?: number, conversationType?: Con
5125
5132
  */
5126
5133
  export declare function listInstalledSkills(): Promise<ResolvedSkillEntry[]>;
5127
5134
 
5128
- 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"];
5135
+ 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", "session_control", "metrics", "archived", "error"];
5136
+
5137
+ declare const LIVE_VOICE_SESSION_CONTROLS: readonly ["end", "mute", "look_screen", "look_camera", "look_stop"];
5129
5138
 
5130
5139
  declare const LIVE_VOICE_TURN_DETECTION_MODES: readonly ["manual", "server_vad"];
5131
5140
 
@@ -5368,7 +5377,7 @@ declare interface LiveVoiceReadyServerFrame extends LiveVoiceServerFrameBase {
5368
5377
  readonly audioInput?: boolean;
5369
5378
  }
5370
5379
 
5371
- export declare type LiveVoiceServerFrame = LiveVoiceReadyServerFrame | LiveVoiceBusyServerFrame | LiveVoiceSpeechStartedServerFrame | LiveVoiceUtteranceEndServerFrame | LiveVoiceUtteranceDiscardedServerFrame | LiveVoiceSttPartialServerFrame | LiveVoiceSttFinalServerFrame | LiveVoiceThinkingServerFrame | LiveVoiceActivityServerFrame | LiveVoiceAssistantTextDeltaServerFrame | LiveVoiceTtsAudioServerFrame | LiveVoiceTtsDoneServerFrame | LiveVoiceTurnCancelledServerFrame | LiveVoiceMinimizeRoomServerFrame | LiveVoiceMetricsServerFrame | LiveVoiceArchivedServerFrame | LiveVoiceErrorServerFrame;
5380
+ export declare type LiveVoiceServerFrame = LiveVoiceReadyServerFrame | LiveVoiceBusyServerFrame | LiveVoiceSpeechStartedServerFrame | LiveVoiceUtteranceEndServerFrame | LiveVoiceUtteranceDiscardedServerFrame | LiveVoiceSttPartialServerFrame | LiveVoiceSttFinalServerFrame | LiveVoiceThinkingServerFrame | LiveVoiceActivityServerFrame | LiveVoiceAssistantTextDeltaServerFrame | LiveVoiceTtsAudioServerFrame | LiveVoiceTtsDoneServerFrame | LiveVoiceTurnCancelledServerFrame | LiveVoiceMinimizeRoomServerFrame | LiveVoiceSessionControlServerFrame | LiveVoiceMetricsServerFrame | LiveVoiceArchivedServerFrame | LiveVoiceErrorServerFrame;
5372
5381
 
5373
5382
  declare interface LiveVoiceServerFrameBase {
5374
5383
  readonly type: LiveVoiceServerFrameType;
@@ -5379,6 +5388,32 @@ declare type LiveVoiceServerFrameType = (typeof _LIVE_VOICE_SERVER_FRAME_TYPES)[
5379
5388
 
5380
5389
  export declare type LiveVoiceSessionCloseReason = "client_end" | "error" | "websocket_close" | "transport_closed" | "client_timeout" | "forced_end" | "manager_shutdown";
5381
5390
 
5391
+ /** A session control a client can carry out on the assistant's behalf. */
5392
+ declare type LiveVoiceSessionControl = (typeof LIVE_VOICE_SESSION_CONTROLS)[number];
5393
+
5394
+ /**
5395
+ * A session control the just-completed reply asked for with a terminal marker
5396
+ * (`[END_CALL]`, `[MUTE]`, `[MUTE:<seconds>]`). Sent only after the turn's TTS
5397
+ * has fully drained, so the spoken acknowledgement is heard first, never for a
5398
+ * turn the user barged in on, at most once per turn, and only for a control
5399
+ * the client listed in the start frame's `sessionControls`.
5400
+ *
5401
+ * - `end`: end the session the way the client's own end control does.
5402
+ * - `mute`: mute the microphone. With `durationMs`, unmute again once it
5403
+ * elapses; without, stay muted until the user unmutes. The timer is the
5404
+ * client's: a muted microphone sends silence, so the daemon cannot hear an
5405
+ * "unmute".
5406
+ * - `look_screen`: start showing the call the user's screen.
5407
+ * - `look_camera`: start showing the call what the camera sees.
5408
+ * - `look_stop`: stop showing the call the screen and the camera.
5409
+ */
5410
+ declare interface LiveVoiceSessionControlServerFrame extends LiveVoiceServerFrameBase {
5411
+ readonly type: "session_control";
5412
+ readonly turnId: string;
5413
+ readonly action: LiveVoiceSessionControl;
5414
+ readonly durationMs?: number;
5415
+ }
5416
+
5382
5417
  /**
5383
5418
  * Where the session holding the daemon's single live-voice slot is running,
5384
5419
  * as much of it as the daemon knows.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.12.2-staging.1",
3
+ "version": "0.12.2-staging.3",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",