@vellumai/plugin-api 0.10.8-dev.202607110044.c89e85d → 0.10.8-dev.202607110139.afd85ad
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 +32 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3430,10 +3430,10 @@ declare interface HostFileWriteRequest {
|
|
|
3430
3430
|
|
|
3431
3431
|
/**
|
|
3432
3432
|
* Host proxy capabilities that an interface can support. The macOS client
|
|
3433
|
-
* supports all
|
|
3433
|
+
* supports all of them; the chrome-extension interface only supports
|
|
3434
3434
|
* host_browser (via the Chrome DevTools Protocol proxy).
|
|
3435
3435
|
*/
|
|
3436
|
-
declare type HostProxyCapability = "host_bash" | "host_file" | "host_cu" | "host_browser" | "host_app_control";
|
|
3436
|
+
declare type HostProxyCapability = "host_bash" | "host_file" | "host_cu" | "host_browser" | "host_app_control" | "host_ui_snapshot";
|
|
3437
3437
|
|
|
3438
3438
|
declare interface HostTransferCancelRequest {
|
|
3439
3439
|
type: "host_transfer_cancel";
|
|
@@ -3469,6 +3469,29 @@ declare interface HostTransferToSandboxRequest {
|
|
|
3469
3469
|
sourcePath: string;
|
|
3470
3470
|
}
|
|
3471
3471
|
|
|
3472
|
+
declare interface HostUiSnapshotCancelMessage {
|
|
3473
|
+
type: "host_ui_snapshot_cancel";
|
|
3474
|
+
requestId: string;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
declare interface HostUiSnapshotRequestMessage {
|
|
3478
|
+
type: "host_ui_snapshot_request";
|
|
3479
|
+
requestId: string;
|
|
3480
|
+
view: HostUiSnapshotView;
|
|
3481
|
+
/**
|
|
3482
|
+
* Validated workspace-theme tokens to apply on the stage. The daemon reads
|
|
3483
|
+
* them from ui/theme.json at request time so the capture reflects the
|
|
3484
|
+
* current file even before connected clients refetch. Absent when no valid
|
|
3485
|
+
* theme exists — the stage renders the built-in base theme.
|
|
3486
|
+
*/
|
|
3487
|
+
tokens?: Record<string, string>;
|
|
3488
|
+
}
|
|
3489
|
+
|
|
3490
|
+
declare type _HostUiSnapshotServerMessages = HostUiSnapshotRequestMessage | HostUiSnapshotCancelMessage;
|
|
3491
|
+
|
|
3492
|
+
/** Staged compositions the web client can render for capture. */
|
|
3493
|
+
declare type HostUiSnapshotView = "sampler" | "chat";
|
|
3494
|
+
|
|
3472
3495
|
declare type IdentityChangedEvent = z.infer<typeof IdentityChangedEventSchema>;
|
|
3473
3496
|
|
|
3474
3497
|
declare const IdentityChangedEventSchema: z.ZodObject<{
|
|
@@ -5059,10 +5082,12 @@ export declare interface SendMessageConfig {
|
|
|
5059
5082
|
* Per-conversation prompt-cache key for providers with explicit prompt
|
|
5060
5083
|
* caching (sent as the OpenAI `prompt_cache_key` request param). Set by
|
|
5061
5084
|
* `RetryProvider` from `selectionSeed` (the durable conversation id) for
|
|
5062
|
-
* the `openai`
|
|
5063
|
-
* breakpoint matching, and OpenAI's ~15 req/min-per-key routing
|
|
5064
|
-
* is satisfied by per-conversation ids. A non-wire field for
|
|
5065
|
-
* provider client
|
|
5085
|
+
* the `openai` and `openrouter` providers — GPT-5.6+ requires the key for
|
|
5086
|
+
* reliable breakpoint matching, and OpenAI's ~15 req/min-per-key routing
|
|
5087
|
+
* guidance is satisfied by per-conversation ids. A non-wire field for
|
|
5088
|
+
* every other provider client (the Anthropic client strips it, covering
|
|
5089
|
+
* OpenRouter's `anthropic/*` delegation); the request param is omitted
|
|
5090
|
+
* when absent.
|
|
5066
5091
|
*/
|
|
5067
5092
|
promptCacheKey?: string;
|
|
5068
5093
|
/**
|
|
@@ -5126,7 +5151,7 @@ declare interface SensitiveOutputBinding {
|
|
|
5126
5151
|
|
|
5127
5152
|
declare type SensitiveOutputKind = "invite_code";
|
|
5128
5153
|
|
|
5129
|
-
declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _WorkItemsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | HookEvent | SubagentEvent;
|
|
5154
|
+
declare type ServerMessage = _ConversationsServerMessages | _MessagesServerMessages | _SurfacesServerMessages | _SkillsServerMessages | _AppsServerMessages | _IntegrationsServerMessages | _ComputerUseServerMessages | _ContactsServerMessages | _WorkItemsServerMessages | _SubagentsServerMessages | _DocumentsServerMessages | _DocumentCommentsServerMessages | _GuardianActionsServerMessages | _SyncInvalidationServerMessages | _HomeServerMessages | _HostAppControlServerMessages | _HostBashServerMessages | _HostBrowserServerMessages | _HostCuServerMessages | _HostFileServerMessages | _HostTransferServerMessages | _HostUiSnapshotServerMessages | _MemoryServerMessages | _WorkspaceServerMessages | _SchedulesServerMessages | _SettingsServerMessages | _DiagnosticsServerMessages | _InboxServerMessages | _NotificationsServerMessages | _UpgradesServerMessages | _AcpServerMessages | _BackgroundToolsServerMessages | _BookmarksServerMessages | _WorkflowsServerMessages | DiskPressureStatusChangedEvent | HookEvent | SubagentEvent;
|
|
5130
5155
|
|
|
5131
5156
|
export declare interface ServerToolUseContent {
|
|
5132
5157
|
type: "server_tool_use";
|
package/package.json
CHANGED