@vellumai/plugin-api 0.10.8-dev.202607110044.c89e85d → 0.10.8-dev.202607110310.3d0fcac

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 +33 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1162,6 +1162,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
1162
1162
  turnCommitMaxWaitMs: z.ZodDefault<z.ZodNumber>;
1163
1163
  failureBackoffBaseMs: z.ZodDefault<z.ZodNumber>;
1164
1164
  failureBackoffMaxMs: z.ZodDefault<z.ZodNumber>;
1165
+ maxFileSizeBytes: z.ZodDefault<z.ZodNumber>;
1165
1166
  interactiveGitTimeoutMs: z.ZodDefault<z.ZodNumber>;
1166
1167
  enrichmentQueueSize: z.ZodDefault<z.ZodNumber>;
1167
1168
  enrichmentConcurrency: z.ZodDefault<z.ZodNumber>;
@@ -3430,10 +3431,10 @@ declare interface HostFileWriteRequest {
3430
3431
 
3431
3432
  /**
3432
3433
  * Host proxy capabilities that an interface can support. The macOS client
3433
- * supports all five; the chrome-extension interface only supports
3434
+ * supports all of them; the chrome-extension interface only supports
3434
3435
  * host_browser (via the Chrome DevTools Protocol proxy).
3435
3436
  */
3436
- declare type HostProxyCapability = "host_bash" | "host_file" | "host_cu" | "host_browser" | "host_app_control";
3437
+ declare type HostProxyCapability = "host_bash" | "host_file" | "host_cu" | "host_browser" | "host_app_control" | "host_ui_snapshot";
3437
3438
 
3438
3439
  declare interface HostTransferCancelRequest {
3439
3440
  type: "host_transfer_cancel";
@@ -3469,6 +3470,29 @@ declare interface HostTransferToSandboxRequest {
3469
3470
  sourcePath: string;
3470
3471
  }
3471
3472
 
3473
+ declare interface HostUiSnapshotCancelMessage {
3474
+ type: "host_ui_snapshot_cancel";
3475
+ requestId: string;
3476
+ }
3477
+
3478
+ declare interface HostUiSnapshotRequestMessage {
3479
+ type: "host_ui_snapshot_request";
3480
+ requestId: string;
3481
+ view: HostUiSnapshotView;
3482
+ /**
3483
+ * Validated workspace-theme tokens to apply on the stage. The daemon reads
3484
+ * them from ui/theme.json at request time so the capture reflects the
3485
+ * current file even before connected clients refetch. Absent when no valid
3486
+ * theme exists — the stage renders the built-in base theme.
3487
+ */
3488
+ tokens?: Record<string, string>;
3489
+ }
3490
+
3491
+ declare type _HostUiSnapshotServerMessages = HostUiSnapshotRequestMessage | HostUiSnapshotCancelMessage;
3492
+
3493
+ /** Staged compositions the web client can render for capture. */
3494
+ declare type HostUiSnapshotView = "sampler" | "chat";
3495
+
3472
3496
  declare type IdentityChangedEvent = z.infer<typeof IdentityChangedEventSchema>;
3473
3497
 
3474
3498
  declare const IdentityChangedEventSchema: z.ZodObject<{
@@ -5059,10 +5083,12 @@ export declare interface SendMessageConfig {
5059
5083
  * Per-conversation prompt-cache key for providers with explicit prompt
5060
5084
  * caching (sent as the OpenAI `prompt_cache_key` request param). Set by
5061
5085
  * `RetryProvider` from `selectionSeed` (the durable conversation id) for
5062
- * the `openai` provider only — GPT-5.6+ requires the key for reliable
5063
- * breakpoint matching, and OpenAI's ~15 req/min-per-key routing guidance
5064
- * is satisfied by per-conversation ids. A non-wire field for every other
5065
- * provider client; the request param is omitted when absent.
5086
+ * the `openai` and `openrouter` providers — GPT-5.6+ requires the key for
5087
+ * reliable breakpoint matching, and OpenAI's ~15 req/min-per-key routing
5088
+ * guidance is satisfied by per-conversation ids. A non-wire field for
5089
+ * every other provider client (the Anthropic client strips it, covering
5090
+ * OpenRouter's `anthropic/*` delegation); the request param is omitted
5091
+ * when absent.
5066
5092
  */
5067
5093
  promptCacheKey?: string;
5068
5094
  /**
@@ -5126,7 +5152,7 @@ declare interface SensitiveOutputBinding {
5126
5152
 
5127
5153
  declare type SensitiveOutputKind = "invite_code";
5128
5154
 
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;
5155
+ 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
5156
 
5131
5157
  export declare interface ServerToolUseContent {
5132
5158
  type: "server_tool_use";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.8-dev.202607110044.c89e85d",
3
+ "version": "0.10.8-dev.202607110310.3d0fcac",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",