@vellumai/plugin-api 0.10.11-dev.202607231734.1a56a33 → 0.10.11-dev.202607231902.0887e08

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 +47 -37
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -689,6 +689,11 @@ declare const AssistantConfigSchema: z.ZodObject<{
689
689
  enabled: z.ZodDefault<z.ZodBoolean>;
690
690
  }, z.core.$strip>>;
691
691
  }, z.core.$strip>>;
692
+ userRoutes: z.ZodDefault<z.ZodObject<{
693
+ host: z.ZodDefault<z.ZodObject<{
694
+ enabled: z.ZodDefault<z.ZodBoolean>;
695
+ }, z.core.$strip>>;
696
+ }, z.core.$strip>>;
692
697
  dataDir: z.ZodDefault<z.ZodString>;
693
698
  timeouts: z.ZodDefault<z.ZodObject<{
694
699
  shellMaxTimeoutSec: z.ZodDefault<z.ZodNumber>;
@@ -3192,28 +3197,29 @@ declare interface HostAppControlTypeInput {
3192
3197
  text: string;
3193
3198
  }
3194
3199
 
3195
- declare interface HostBashCancelRequest {
3196
- type: "host_bash_cancel";
3197
- requestId: string;
3198
- conversationId: string;
3199
- /** When set, route this cancel only to the client that owns the request. */
3200
- targetClientId?: string;
3201
- }
3200
+ declare type HostBashCancelEvent = z.infer<typeof HostBashCancelEventSchema>;
3202
3201
 
3203
- declare interface HostBashRequest {
3204
- type: "host_bash_request";
3205
- requestId: string;
3206
- conversationId: string;
3207
- command: string;
3208
- working_dir?: string;
3209
- timeout_seconds?: number;
3210
- /** Extra environment variables to inject into the subprocess (e.g. __CONVERSATION_ID). */
3211
- env?: Record<string, string>;
3212
- /** When set, route this request only to the client with this ID. */
3213
- targetClientId?: string;
3214
- }
3202
+ declare const HostBashCancelEventSchema: z.ZodObject<{
3203
+ type: z.ZodLiteral<"host_bash_cancel">;
3204
+ requestId: z.ZodString;
3205
+ conversationId: z.ZodString;
3206
+ targetClientId: z.ZodOptional<z.ZodString>;
3207
+ }, z.core.$strip>;
3208
+
3209
+ declare type HostBashRequestEvent = z.infer<typeof HostBashRequestEventSchema>;
3210
+
3211
+ declare const HostBashRequestEventSchema: z.ZodObject<{
3212
+ type: z.ZodLiteral<"host_bash_request">;
3213
+ requestId: z.ZodString;
3214
+ conversationId: z.ZodString;
3215
+ command: z.ZodString;
3216
+ working_dir: z.ZodOptional<z.ZodString>;
3217
+ timeout_seconds: z.ZodOptional<z.ZodNumber>;
3218
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3219
+ targetClientId: z.ZodOptional<z.ZodString>;
3220
+ }, z.core.$strip>;
3215
3221
 
3216
- declare type _HostBashServerMessages = HostBashRequest | HostBashCancelRequest;
3222
+ declare type _HostBashServerMessages = HostBashRequestEvent | HostBashCancelEvent;
3217
3223
 
3218
3224
  declare interface HostBrowserCancelRequest {
3219
3225
  type: "host_browser_cancel";
@@ -3236,25 +3242,29 @@ declare interface HostBrowserRequest {
3236
3242
 
3237
3243
  declare type _HostBrowserServerMessages = HostBrowserRequest | HostBrowserCancelRequest;
3238
3244
 
3239
- declare interface HostCuCancelRequest {
3240
- type: "host_cu_cancel";
3241
- requestId: string;
3242
- conversationId: string;
3243
- targetClientId?: string;
3244
- }
3245
+ declare type HostCuCancelEvent = z.infer<typeof HostCuCancelEventSchema>;
3245
3246
 
3246
- declare interface HostCuRequest {
3247
- type: "host_cu_request";
3248
- requestId: string;
3249
- conversationId: string;
3250
- targetClientId?: string;
3251
- toolName: string;
3252
- input: Record<string, unknown>;
3253
- stepNumber: number;
3254
- reasoning?: string;
3255
- }
3247
+ declare const HostCuCancelEventSchema: z.ZodObject<{
3248
+ type: z.ZodLiteral<"host_cu_cancel">;
3249
+ requestId: z.ZodString;
3250
+ conversationId: z.ZodString;
3251
+ targetClientId: z.ZodOptional<z.ZodString>;
3252
+ }, z.core.$strip>;
3253
+
3254
+ declare type HostCuRequestEvent = z.infer<typeof HostCuRequestEventSchema>;
3255
+
3256
+ declare const HostCuRequestEventSchema: z.ZodObject<{
3257
+ type: z.ZodLiteral<"host_cu_request">;
3258
+ requestId: z.ZodString;
3259
+ conversationId: z.ZodString;
3260
+ targetClientId: z.ZodOptional<z.ZodString>;
3261
+ toolName: z.ZodString;
3262
+ input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3263
+ stepNumber: z.ZodNumber;
3264
+ reasoning: z.ZodOptional<z.ZodString>;
3265
+ }, z.core.$strip>;
3256
3266
 
3257
- declare type _HostCuServerMessages = HostCuRequest | HostCuCancelRequest;
3267
+ declare type _HostCuServerMessages = HostCuRequestEvent | HostCuCancelEvent;
3258
3268
 
3259
3269
  declare interface HostFileCancelRequest {
3260
3270
  type: "host_file_cancel";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.11-dev.202607231734.1a56a33",
3
+ "version": "0.10.11-dev.202607231902.0887e08",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",