@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.
- package/index.d.ts +47 -37
- 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
|
|
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
|
|
3204
|
-
type: "
|
|
3205
|
-
requestId:
|
|
3206
|
-
conversationId:
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
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 =
|
|
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
|
|
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
|
|
3247
|
-
type: "
|
|
3248
|
-
requestId:
|
|
3249
|
-
conversationId:
|
|
3250
|
-
targetClientId
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
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 =
|
|
3267
|
+
declare type _HostCuServerMessages = HostCuRequestEvent | HostCuCancelEvent;
|
|
3258
3268
|
|
|
3259
3269
|
declare interface HostFileCancelRequest {
|
|
3260
3270
|
type: "host_file_cancel";
|
package/package.json
CHANGED