@vellumai/plugin-api 0.10.6 → 0.10.7-dev.202607072228.38de414

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 +18 -39
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2569,7 +2569,7 @@ declare const MessageRequestCompleteEventSchema: z.ZodObject<{
2569
2569
  runStillActive: z.ZodOptional<z.ZodBoolean>;
2570
2570
  }, z.core.$strip>;
2571
2571
 
2572
- declare type _MessagesServerMessages = UserMessageEchoEvent | AssistantTurnStartEvent | AssistantTextDeltaEvent | AssistantThinkingDeltaEvent | ToolUseStartEvent | ToolUsePreviewStartEvent | ToolOutputChunkEvent | ToolInputDelta | ToolResultEvent | ConfirmationRequestEvent | SecretRequestEvent | QuestionRequestEvent | MessageCompleteEvent | ErrorEvent_2 | MessageQueuedEvent | MessageDequeuedEvent | MessageRequestCompleteEvent | MessageQueuedDeletedEvent | MessageSteered | SuggestionResponse | TraceEvent | ConfirmationStateChanged | AssistantActivityStateEvent | ConversationInferenceProfileUpdated | InteractionResolvedEvent;
2572
+ declare type _MessagesServerMessages = UserMessageEchoEvent | AssistantTurnStartEvent | AssistantTextDeltaEvent | AssistantThinkingDeltaEvent | ToolUseStartEvent | ToolUsePreviewStartEvent | ToolOutputChunkEvent | ToolInputDelta | ToolResultEvent | ConfirmationRequestEvent | SecretRequestEvent | QuestionRequestEvent | MessageCompleteEvent | ErrorEvent_2 | MessageQueuedEvent | MessageDequeuedEvent | MessageRequestCompleteEvent | MessageQueuedDeletedEvent | MessageSteered | SuggestionResponse | ConfirmationStateChanged | AssistantActivityStateEvent | ConversationInferenceProfileUpdated | InteractionResolvedEvent;
2573
2573
 
2574
2574
  declare interface MessageSteered {
2575
2575
  type: "message_steered";
@@ -3435,6 +3435,12 @@ declare interface ScopeOption {
3435
3435
  scope: string;
3436
3436
  }
3437
3437
 
3438
+ /**
3439
+ * Result vocabulary for a secret prompt: how the value is delivered and the
3440
+ * outcome of the prompt. Kept in a leaf module (no runtime dependencies) so
3441
+ * type-only consumers can reference the shapes without importing the prompter
3442
+ * implementation and its daemon-internal dependencies.
3443
+ */
3438
3444
  declare type SecretDelivery = "store" | "transient_send";
3439
3445
 
3440
3446
  declare interface SecretPromptResult {
@@ -4194,7 +4200,17 @@ export declare interface ToolContext {
4194
4200
  */
4195
4201
  requesterDisplayName?: string;
4196
4202
  /**
4197
- * Slack channel ID for channel-scoped permission enforcement. When set, tools are checked against the channel's permission profile.
4203
+ * Conversation type of the current channel chat on the permission-matrix
4204
+ * axis (dm | private | public). Feeds the channel-type tier of matrix cell
4205
+ * resolution; undefined when the chat type is unknown or ambiguous.
4206
+ * @legacy
4207
+ */
4208
+ channelConversationType?: "dm" | "private" | "public";
4209
+ /**
4210
+ * External channel/conversation ID of the current chat (the binding's
4211
+ * external chat id — Slack channel, Telegram chat, …). Keys the channel
4212
+ * tier of permission-matrix cell resolution for every channel adapter;
4213
+ * for Slack it also drives the legacy per-tool channel gate.
4198
4214
  * @legacy
4199
4215
  */
4200
4216
  channelPermissionChannelId?: string;
@@ -4697,43 +4713,6 @@ declare const ToolUseStartEventSchema: z.ZodObject<{
4697
4713
  previewStartedAt: z.ZodOptional<z.ZodNumber>;
4698
4714
  }, z.core.$strip>;
4699
4715
 
4700
- declare type TraceEvent = z.infer<typeof TraceEventSchema>;
4701
-
4702
- declare const TraceEventSchema: z.ZodObject<{
4703
- type: z.ZodLiteral<"trace_event">;
4704
- eventId: z.ZodString;
4705
- conversationId: z.ZodString;
4706
- requestId: z.ZodOptional<z.ZodString>;
4707
- timestampMs: z.ZodNumber;
4708
- sequence: z.ZodNumber;
4709
- kind: z.ZodEnum<{
4710
- generation_cancelled: "generation_cancelled";
4711
- generation_handoff: "generation_handoff";
4712
- message_complete: "message_complete";
4713
- request_received: "request_received";
4714
- request_queued: "request_queued";
4715
- request_dequeued: "request_dequeued";
4716
- llm_call_started: "llm_call_started";
4717
- llm_call_finished: "llm_call_finished";
4718
- assistant_message: "assistant_message";
4719
- tool_started: "tool_started";
4720
- tool_permission_requested: "tool_permission_requested";
4721
- tool_permission_decided: "tool_permission_decided";
4722
- tool_finished: "tool_finished";
4723
- tool_failed: "tool_failed";
4724
- request_error: "request_error";
4725
- tool_profiling_summary: "tool_profiling_summary";
4726
- }>;
4727
- status: z.ZodOptional<z.ZodEnum<{
4728
- error: "error";
4729
- success: "success";
4730
- warning: "warning";
4731
- info: "info";
4732
- }>>;
4733
- summary: z.ZodString;
4734
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
4735
- }, z.core.$strip>;
4736
-
4737
4716
  declare type TrustClass = z.infer<typeof trustClassSchema>;
4738
4717
 
4739
4718
  declare const trustClassSchema: z.ZodEnum<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.6",
3
+ "version": "0.10.7-dev.202607072228.38de414",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",