@vellumai/plugin-api 0.11.3-dev.202608172108.14b9345 → 0.11.3-dev.202608172253.65bf2a2

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 (3) hide show
  1. package/index.d.ts +12 -0
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7512,6 +7512,11 @@ declare interface UserPromptSubmitInputContext {
7512
7512
  * user speech (e.g. title generation) should skip these turns.
7513
7513
  */
7514
7514
  readonly isHiddenPrompt?: boolean;
7515
+ /**
7516
+ * Daemon-authored kind from the triggering row's `metadata.messageKind`,
7517
+ * when the turn needs a more specific identity than role or visibility.
7518
+ */
7519
+ readonly messageKind?: string;
7515
7520
  /**
7516
7521
  * The user's original message list, immutable for the hook. Plugins
7517
7522
  * may snapshot or compare against this but MUST NOT mutate it.
@@ -7530,6 +7535,13 @@ export declare interface VideoEmbeddingInput {
7530
7535
  mimeType: string;
7531
7536
  }
7532
7537
 
7538
+ /**
7539
+ * Message kind for the hidden user row that starts a voice escalation leg.
7540
+ * Hooks use this marker to distinguish the continuation instruction from
7541
+ * other transcript-suppressed prompts without depending on host voice code.
7542
+ */
7543
+ export declare const VOICE_ESCALATION_CONTINUATION_MESSAGE_KIND = "voice_escalation_continuation";
7544
+
7533
7545
  declare interface WebFetchMetadata {
7534
7546
  url: string;
7535
7547
  finalUrl: string;
package/index.js CHANGED
@@ -7,6 +7,7 @@ export const INTERNAL_NUDGE_OUTPUT_SUPPRESSION = api.INTERNAL_NUDGE_OUTPUT_SUPPR
7
7
  export const REFUSAL_FALLBACK_TEXT = api.REFUSAL_FALLBACK_TEXT;
8
8
  export const RiskLevel = api.RiskLevel;
9
9
  export const TtsSynthesisError = api.TtsSynthesisError;
10
+ export const VOICE_ESCALATION_CONTINUATION_MESSAGE_KIND = api.VOICE_ESCALATION_CONTINUATION_MESSAGE_KIND;
10
11
  export const addMessage = api.addMessage;
11
12
  export const assistantEventHub = api.assistantEventHub;
12
13
  export const buildMessageExcerpt = api.buildMessageExcerpt;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.3-dev.202608172108.14b9345",
3
+ "version": "0.11.3-dev.202608172253.65bf2a2",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",