@vellumai/plugin-api 0.10.11-dev.202607231833.6582892 → 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.
- package/index.d.ts +42 -37
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3197,28 +3197,29 @@ declare interface HostAppControlTypeInput {
|
|
|
3197
3197
|
text: string;
|
|
3198
3198
|
}
|
|
3199
3199
|
|
|
3200
|
-
declare
|
|
3201
|
-
type: "host_bash_cancel";
|
|
3202
|
-
requestId: string;
|
|
3203
|
-
conversationId: string;
|
|
3204
|
-
/** When set, route this cancel only to the client that owns the request. */
|
|
3205
|
-
targetClientId?: string;
|
|
3206
|
-
}
|
|
3200
|
+
declare type HostBashCancelEvent = z.infer<typeof HostBashCancelEventSchema>;
|
|
3207
3201
|
|
|
3208
|
-
declare
|
|
3209
|
-
type: "
|
|
3210
|
-
requestId:
|
|
3211
|
-
conversationId:
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
timeout_seconds?: number;
|
|
3215
|
-
/** Extra environment variables to inject into the subprocess (e.g. __CONVERSATION_ID). */
|
|
3216
|
-
env?: Record<string, string>;
|
|
3217
|
-
/** When set, route this request only to the client with this ID. */
|
|
3218
|
-
targetClientId?: string;
|
|
3219
|
-
}
|
|
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>;
|
|
3220
3208
|
|
|
3221
|
-
declare type
|
|
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>;
|
|
3221
|
+
|
|
3222
|
+
declare type _HostBashServerMessages = HostBashRequestEvent | HostBashCancelEvent;
|
|
3222
3223
|
|
|
3223
3224
|
declare interface HostBrowserCancelRequest {
|
|
3224
3225
|
type: "host_browser_cancel";
|
|
@@ -3241,25 +3242,29 @@ declare interface HostBrowserRequest {
|
|
|
3241
3242
|
|
|
3242
3243
|
declare type _HostBrowserServerMessages = HostBrowserRequest | HostBrowserCancelRequest;
|
|
3243
3244
|
|
|
3244
|
-
declare
|
|
3245
|
-
type: "host_cu_cancel";
|
|
3246
|
-
requestId: string;
|
|
3247
|
-
conversationId: string;
|
|
3248
|
-
targetClientId?: string;
|
|
3249
|
-
}
|
|
3245
|
+
declare type HostCuCancelEvent = z.infer<typeof HostCuCancelEventSchema>;
|
|
3250
3246
|
|
|
3251
|
-
declare
|
|
3252
|
-
type: "
|
|
3253
|
-
requestId:
|
|
3254
|
-
conversationId:
|
|
3255
|
-
targetClientId
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
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>;
|
|
3261
3266
|
|
|
3262
|
-
declare type _HostCuServerMessages =
|
|
3267
|
+
declare type _HostCuServerMessages = HostCuRequestEvent | HostCuCancelEvent;
|
|
3263
3268
|
|
|
3264
3269
|
declare interface HostFileCancelRequest {
|
|
3265
3270
|
type: "host_file_cancel";
|
package/package.json
CHANGED