@vellumai/plugin-api 0.10.6-dev.202607072134.71ed9c4 → 0.10.6-staging.2
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.
- package/index.d.ts +39 -18
- 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 | 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 | TraceEvent | ConfirmationStateChanged | AssistantActivityStateEvent | ConversationInferenceProfileUpdated | InteractionResolvedEvent;
|
|
2573
2573
|
|
|
2574
2574
|
declare interface MessageSteered {
|
|
2575
2575
|
type: "message_steered";
|
|
@@ -3435,12 +3435,6 @@ 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
|
-
*/
|
|
3444
3438
|
declare type SecretDelivery = "store" | "transient_send";
|
|
3445
3439
|
|
|
3446
3440
|
declare interface SecretPromptResult {
|
|
@@ -4200,17 +4194,7 @@ export declare interface ToolContext {
|
|
|
4200
4194
|
*/
|
|
4201
4195
|
requesterDisplayName?: string;
|
|
4202
4196
|
/**
|
|
4203
|
-
*
|
|
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.
|
|
4197
|
+
* Slack channel ID for channel-scoped permission enforcement. When set, tools are checked against the channel's permission profile.
|
|
4214
4198
|
* @legacy
|
|
4215
4199
|
*/
|
|
4216
4200
|
channelPermissionChannelId?: string;
|
|
@@ -4713,6 +4697,43 @@ declare const ToolUseStartEventSchema: z.ZodObject<{
|
|
|
4713
4697
|
previewStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
4714
4698
|
}, z.core.$strip>;
|
|
4715
4699
|
|
|
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
|
+
|
|
4716
4737
|
declare type TrustClass = z.infer<typeof trustClassSchema>;
|
|
4717
4738
|
|
|
4718
4739
|
declare const trustClassSchema: z.ZodEnum<{
|
package/package.json
CHANGED