@vellumai/plugin-api 0.10.6-dev.202607072134.71ed9c4 → 0.10.6-staging.1
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 +40 -22
- 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 {
|
|
@@ -3673,11 +3667,8 @@ export declare interface ShutdownContext {
|
|
|
3673
3667
|
* - `uninstall` — the plugin's directory was removed at runtime.
|
|
3674
3668
|
* - `disable` — the plugin was disabled at runtime (e.g. a `.disabled`
|
|
3675
3669
|
* sentinel was added, or a feature flag turned it off).
|
|
3676
|
-
* - `reload` — a source file inside the plugin directory changed and the
|
|
3677
|
-
* plugin is being redeployed in place; the old version's `shutdown` runs
|
|
3678
|
-
* before the new version is imported and its `init` fires.
|
|
3679
3670
|
*/
|
|
3680
|
-
declare type ShutdownReason = "shutdown" | "uninstall" | "disable"
|
|
3671
|
+
declare type ShutdownReason = "shutdown" | "uninstall" | "disable";
|
|
3681
3672
|
|
|
3682
3673
|
declare interface SignBundlePayloadRequest {
|
|
3683
3674
|
type: "sign_bundle_payload";
|
|
@@ -4200,17 +4191,7 @@ export declare interface ToolContext {
|
|
|
4200
4191
|
*/
|
|
4201
4192
|
requesterDisplayName?: string;
|
|
4202
4193
|
/**
|
|
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.
|
|
4194
|
+
* Slack channel ID for channel-scoped permission enforcement. When set, tools are checked against the channel's permission profile.
|
|
4214
4195
|
* @legacy
|
|
4215
4196
|
*/
|
|
4216
4197
|
channelPermissionChannelId?: string;
|
|
@@ -4713,6 +4694,43 @@ declare const ToolUseStartEventSchema: z.ZodObject<{
|
|
|
4713
4694
|
previewStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
4714
4695
|
}, z.core.$strip>;
|
|
4715
4696
|
|
|
4697
|
+
declare type TraceEvent = z.infer<typeof TraceEventSchema>;
|
|
4698
|
+
|
|
4699
|
+
declare const TraceEventSchema: z.ZodObject<{
|
|
4700
|
+
type: z.ZodLiteral<"trace_event">;
|
|
4701
|
+
eventId: z.ZodString;
|
|
4702
|
+
conversationId: z.ZodString;
|
|
4703
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
4704
|
+
timestampMs: z.ZodNumber;
|
|
4705
|
+
sequence: z.ZodNumber;
|
|
4706
|
+
kind: z.ZodEnum<{
|
|
4707
|
+
generation_cancelled: "generation_cancelled";
|
|
4708
|
+
generation_handoff: "generation_handoff";
|
|
4709
|
+
message_complete: "message_complete";
|
|
4710
|
+
request_received: "request_received";
|
|
4711
|
+
request_queued: "request_queued";
|
|
4712
|
+
request_dequeued: "request_dequeued";
|
|
4713
|
+
llm_call_started: "llm_call_started";
|
|
4714
|
+
llm_call_finished: "llm_call_finished";
|
|
4715
|
+
assistant_message: "assistant_message";
|
|
4716
|
+
tool_started: "tool_started";
|
|
4717
|
+
tool_permission_requested: "tool_permission_requested";
|
|
4718
|
+
tool_permission_decided: "tool_permission_decided";
|
|
4719
|
+
tool_finished: "tool_finished";
|
|
4720
|
+
tool_failed: "tool_failed";
|
|
4721
|
+
request_error: "request_error";
|
|
4722
|
+
tool_profiling_summary: "tool_profiling_summary";
|
|
4723
|
+
}>;
|
|
4724
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
4725
|
+
error: "error";
|
|
4726
|
+
success: "success";
|
|
4727
|
+
warning: "warning";
|
|
4728
|
+
info: "info";
|
|
4729
|
+
}>>;
|
|
4730
|
+
summary: z.ZodString;
|
|
4731
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
4732
|
+
}, z.core.$strip>;
|
|
4733
|
+
|
|
4716
4734
|
declare type TrustClass = z.infer<typeof trustClassSchema>;
|
|
4717
4735
|
|
|
4718
4736
|
declare const trustClassSchema: z.ZodEnum<{
|
package/package.json
CHANGED