botmux 3.18.6 → 3.18.7
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/dist/.runtime-build-id +1 -1
- package/dist/adapters/backend/riff-backend.d.ts +158 -0
- package/dist/adapters/backend/riff-backend.d.ts.map +1 -1
- package/dist/adapters/backend/riff-backend.js +330 -7
- package/dist/adapters/backend/riff-backend.js.map +1 -1
- package/dist/adapters/backend/sandbox.d.ts +42 -0
- package/dist/adapters/backend/sandbox.d.ts.map +1 -1
- package/dist/adapters/backend/sandbox.js +95 -5
- package/dist/adapters/backend/sandbox.js.map +1 -1
- package/dist/adapters/cli/codex-app.d.ts.map +1 -1
- package/dist/adapters/cli/codex-app.js +2 -1
- package/dist/adapters/cli/codex-app.js.map +1 -1
- package/dist/adapters/cli/dsh.d.ts.map +1 -1
- package/dist/adapters/cli/dsh.js +2 -1
- package/dist/adapters/cli/dsh.js.map +1 -1
- package/dist/adapters/cli/mir.d.ts.map +1 -1
- package/dist/adapters/cli/mir.js +2 -1
- package/dist/adapters/cli/mir.js.map +1 -1
- package/dist/adapters/cli/mira.d.ts.map +1 -1
- package/dist/adapters/cli/mira.js +2 -1
- package/dist/adapters/cli/mira.js.map +1 -1
- package/dist/adapters/hook-command.d.ts +3 -5
- package/dist/adapters/hook-command.d.ts.map +1 -1
- package/dist/adapters/hook-command.js +59 -13
- package/dist/adapters/hook-command.js.map +1 -1
- package/dist/autostart.d.ts +76 -0
- package/dist/autostart.d.ts.map +1 -1
- package/dist/autostart.js +105 -28
- package/dist/autostart.js.map +1 -1
- package/dist/bot-registry.d.ts +12 -0
- package/dist/bot-registry.d.ts.map +1 -1
- package/dist/bot-registry.js +43 -3
- package/dist/bot-registry.js.map +1 -1
- package/dist/cli/dashboard-command.d.ts +142 -0
- package/dist/cli/dashboard-command.d.ts.map +1 -1
- package/dist/cli/dashboard-command.js +160 -0
- package/dist/cli/dashboard-command.js.map +1 -1
- package/dist/cli/dashboard-endpoint.d.ts +66 -0
- package/dist/cli/dashboard-endpoint.d.ts.map +1 -1
- package/dist/cli/dashboard-endpoint.js +144 -30
- package/dist/cli/dashboard-endpoint.js.map +1 -1
- package/dist/cli/send-dispatch.d.ts +2 -0
- package/dist/cli/send-dispatch.d.ts.map +1 -1
- package/dist/cli/send-dispatch.js +8 -2
- package/dist/cli/send-dispatch.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +270 -38
- package/dist/cli.js.map +1 -1
- package/dist/core/binary-self-update.d.ts +7 -0
- package/dist/core/binary-self-update.d.ts.map +1 -1
- package/dist/core/binary-self-update.js +17 -0
- package/dist/core/binary-self-update.js.map +1 -1
- package/dist/core/command-handler.d.ts.map +1 -1
- package/dist/core/command-handler.js +52 -1
- package/dist/core/command-handler.js.map +1 -1
- package/dist/core/cost-calculator.d.ts +9 -1
- package/dist/core/cost-calculator.d.ts.map +1 -1
- package/dist/core/cost-calculator.js +5 -0
- package/dist/core/cost-calculator.js.map +1 -1
- package/dist/core/passthrough-commands.d.ts.map +1 -1
- package/dist/core/passthrough-commands.js +1 -1
- package/dist/core/passthrough-commands.js.map +1 -1
- package/dist/core/self-spawn.d.ts +46 -1
- package/dist/core/self-spawn.d.ts.map +1 -1
- package/dist/core/self-spawn.js +57 -0
- package/dist/core/self-spawn.js.map +1 -1
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +81 -5
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +93 -0
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/autostart-api.d.ts.map +1 -1
- package/dist/dashboard/autostart-api.js +16 -3
- package/dist/dashboard/autostart-api.js.map +1 -1
- package/dist/dashboard/bot-onboarding.d.ts +2 -1
- package/dist/dashboard/bot-onboarding.d.ts.map +1 -1
- package/dist/dashboard/bot-onboarding.js +22 -6
- package/dist/dashboard/bot-onboarding.js.map +1 -1
- package/dist/dashboard/bot-payload.d.ts +1 -0
- package/dist/dashboard/bot-payload.d.ts.map +1 -1
- package/dist/dashboard/bot-payload.js +3 -0
- package/dist/dashboard/bot-payload.js.map +1 -1
- package/dist/dashboard/connector-api.d.ts.map +1 -1
- package/dist/dashboard/connector-api.js +28 -0
- package/dist/dashboard/connector-api.js.map +1 -1
- package/dist/dashboard/trigger-api.d.ts.map +1 -1
- package/dist/dashboard/trigger-api.js +33 -21
- package/dist/dashboard/trigger-api.js.map +1 -1
- package/dist/dashboard/web/bot-defaults-page.d.ts.map +1 -1
- package/dist/dashboard/web/bot-defaults-page.js +12 -2
- package/dist/dashboard/web/bot-defaults-page.js.map +1 -1
- package/dist/dashboard/web/bot-defaults.d.ts +2 -0
- package/dist/dashboard/web/bot-defaults.d.ts.map +1 -1
- package/dist/dashboard/web/bot-defaults.js.map +1 -1
- package/dist/dashboard/web/bot-onboarding.d.ts +40 -1
- package/dist/dashboard/web/bot-onboarding.d.ts.map +1 -1
- package/dist/dashboard/web/bot-onboarding.js +52 -2
- package/dist/dashboard/web/bot-onboarding.js.map +1 -1
- package/dist/dashboard/web/i18n.d.ts.map +1 -1
- package/dist/dashboard/web/i18n.js +2 -0
- package/dist/dashboard/web/i18n.js.map +1 -1
- package/dist/dashboard/webhook-routes.d.ts.map +1 -1
- package/dist/dashboard/webhook-routes.js +272 -30
- package/dist/dashboard/webhook-routes.js.map +1 -1
- package/dist/dashboard-web/app.js +1 -1
- package/dist/dashboard-web/chunks/{agent-workbench-dock-page-XHJUYFGN.js → agent-workbench-dock-page-6LC422N6.js} +1 -1
- package/dist/dashboard-web/chunks/{agent-workbench-page-FLKTLIRM.js → agent-workbench-page-RSAWY7O2.js} +1 -1
- package/dist/dashboard-web/chunks/{bot-defaults-page-XMGLZZ2E.js → bot-defaults-page-67RAWCSQ.js} +1 -1
- package/dist/dashboard-web/chunks/{chunk-TLG45URB.js → chunk-IA5KMD5O.js} +1 -1
- package/dist/dashboard-web/chunks/{chunk-BU3Q6XC6.js → chunk-K232GT3M.js} +2 -2
- package/dist/dashboard-web/chunks/chunk-MMLTCXHP.js +10 -0
- package/dist/dashboard-web/chunks/{chunk-ECFC7UG2.js → chunk-R3LJUCEO.js} +1 -1
- package/dist/dashboard-web/chunks/{chunk-Z67OSM5P.js → chunk-YJA3KY3J.js} +1 -1
- package/dist/dashboard-web/chunks/{connectors-page-WDM4CEAU.js → connectors-page-DJCTHSFB.js} +1 -1
- package/dist/dashboard-web/chunks/{feedback-page-GMJ4FLJ4.js → feedback-page-O7SZRKNM.js} +1 -1
- package/dist/dashboard-web/chunks/{groups-page-L4ZJNWVR.js → groups-page-7PONUYHE.js} +1 -1
- package/dist/dashboard-web/chunks/{insights-page-7LUJU2CX.js → insights-page-J6DAAJ6D.js} +1 -1
- package/dist/dashboard-web/chunks/{monitor-room-7LZUJQPF.js → monitor-room-F3QNEW7N.js} +1 -1
- package/dist/dashboard-web/chunks/{monitoring-page-AUSXMPYO.js → monitoring-page-JHDD2VS2.js} +1 -1
- package/dist/dashboard-web/chunks/{office-page-6ZU6MAZN.js → office-page-MMTN4IKD.js} +1 -1
- package/dist/dashboard-web/chunks/{overview-page-QBC5CIYH.js → overview-page-IQ2UJAJP.js} +1 -1
- package/dist/dashboard-web/chunks/{roles-page-QO3YCA7D.js → roles-page-FNI4MGX6.js} +1 -1
- package/dist/dashboard-web/chunks/{schedules-page-YNGSKDQW.js → schedules-page-6PUU63KS.js} +1 -1
- package/dist/dashboard-web/chunks/{sessions-page-BWR4UB6X.js → sessions-page-O4N72EXT.js} +4 -4
- package/dist/dashboard-web/chunks/{settings-page-2IRIS3FP.js → settings-page-G7B3STUF.js} +1 -1
- package/dist/dashboard-web/chunks/{skills-page-5RZPM6HJ.js → skills-page-CEWKQOIG.js} +1 -1
- package/dist/dashboard-web/chunks/{team-federation-page-KERG6LKC.js → team-federation-page-NUP4VK4H.js} +1 -1
- package/dist/dashboard-web/chunks/{v3-page-766CBD7H.js → v3-page-M4XF6D5Z.js} +1 -1
- package/dist/dashboard-web/chunks/{whiteboards-page-2M6XZD5C.js → whiteboards-page-L755NZX6.js} +1 -1
- package/dist/dashboard-web/style.css +13 -0
- package/dist/dashboard.js +3 -0
- package/dist/dashboard.js.map +1 -1
- package/dist/global-config.d.ts +3 -0
- package/dist/global-config.d.ts.map +1 -1
- package/dist/global-config.js +10 -3
- package/dist/global-config.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +19 -1
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +19 -1
- package/dist/i18n/zh.js.map +1 -1
- package/dist/im/lark/api-gate.d.ts +53 -0
- package/dist/im/lark/api-gate.d.ts.map +1 -0
- package/dist/im/lark/api-gate.js +322 -0
- package/dist/im/lark/api-gate.js.map +1 -0
- package/dist/im/lark/audio-transcribe.d.ts +23 -0
- package/dist/im/lark/audio-transcribe.d.ts.map +1 -0
- package/dist/im/lark/audio-transcribe.js +126 -0
- package/dist/im/lark/audio-transcribe.js.map +1 -0
- package/dist/im/lark/card-builder.d.ts +6 -0
- package/dist/im/lark/card-builder.d.ts.map +1 -1
- package/dist/im/lark/card-builder.js +53 -1
- package/dist/im/lark/card-builder.js.map +1 -1
- package/dist/im/lark/card-handler.d.ts +10 -0
- package/dist/im/lark/card-handler.d.ts.map +1 -1
- package/dist/im/lark/card-handler.js +68 -1
- package/dist/im/lark/card-handler.js.map +1 -1
- package/dist/im/lark/client.d.ts.map +1 -1
- package/dist/im/lark/client.js +247 -224
- package/dist/im/lark/client.js.map +1 -1
- package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
- package/dist/im/lark/event-dispatcher.js +34 -3
- package/dist/im/lark/event-dispatcher.js.map +1 -1
- package/dist/im/lark/message-parser.d.ts +16 -0
- package/dist/im/lark/message-parser.d.ts.map +1 -1
- package/dist/im/lark/message-parser.js +31 -0
- package/dist/im/lark/message-parser.js.map +1 -1
- package/dist/services/budget-tracker.d.ts +61 -0
- package/dist/services/budget-tracker.d.ts.map +1 -0
- package/dist/services/budget-tracker.js +306 -0
- package/dist/services/budget-tracker.js.map +1 -0
- package/dist/services/connector-store.d.ts +16 -0
- package/dist/services/connector-store.d.ts.map +1 -1
- package/dist/services/connector-store.js.map +1 -1
- package/dist/services/failed-turn-retry.d.ts +43 -0
- package/dist/services/failed-turn-retry.d.ts.map +1 -0
- package/dist/services/failed-turn-retry.js +50 -0
- package/dist/services/failed-turn-retry.js.map +1 -0
- package/dist/services/model-pricing.d.ts +80 -0
- package/dist/services/model-pricing.d.ts.map +1 -0
- package/dist/services/model-pricing.js +182 -0
- package/dist/services/model-pricing.js.map +1 -0
- package/dist/services/session-store.d.ts.map +1 -1
- package/dist/services/session-store.js +13 -3
- package/dist/services/session-store.js.map +1 -1
- package/dist/services/trigger-types.d.ts +10 -0
- package/dist/services/trigger-types.d.ts.map +1 -1
- package/dist/services/trigger-types.js.map +1 -1
- package/dist/services/usage-ledger.d.ts +10 -0
- package/dist/services/usage-ledger.d.ts.map +1 -1
- package/dist/services/usage-ledger.js +36 -0
- package/dist/services/usage-ledger.js.map +1 -1
- package/dist/services/voice/asr.d.ts +17 -0
- package/dist/services/voice/asr.d.ts.map +1 -0
- package/dist/services/voice/asr.js +64 -0
- package/dist/services/voice/asr.js.map +1 -0
- package/dist/services/voice/index.d.ts +17 -2
- package/dist/services/voice/index.d.ts.map +1 -1
- package/dist/services/voice/index.js +43 -0
- package/dist/services/voice/index.js.map +1 -1
- package/dist/services/voice/types.d.ts +15 -0
- package/dist/services/voice/types.d.ts.map +1 -1
- package/dist/services/webhook-idempotency.d.ts +134 -0
- package/dist/services/webhook-idempotency.d.ts.map +1 -0
- package/dist/services/webhook-idempotency.js +265 -0
- package/dist/services/webhook-idempotency.js.map +1 -0
- package/dist/setup/app-name.d.ts +1 -0
- package/dist/setup/app-name.d.ts.map +1 -1
- package/dist/setup/app-name.js +7 -0
- package/dist/setup/app-name.js.map +1 -1
- package/dist/setup/bot-config-editor.d.ts +28 -0
- package/dist/setup/bot-config-editor.d.ts.map +1 -1
- package/dist/setup/bot-config-editor.js +73 -0
- package/dist/setup/bot-config-editor.js.map +1 -1
- package/dist/setup/open-platform-automation.d.ts +26 -0
- package/dist/setup/open-platform-automation.d.ts.map +1 -1
- package/dist/setup/open-platform-automation.js +90 -1
- package/dist/setup/open-platform-automation.js.map +1 -1
- package/dist/setup/open-platform-outcome.d.ts.map +1 -1
- package/dist/setup/open-platform-outcome.js +8 -2
- package/dist/setup/open-platform-outcome.js.map +1 -1
- package/dist/types.d.ts +20 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/usage-limit-tracker.d.ts +29 -9
- package/dist/utils/usage-limit-tracker.d.ts.map +1 -1
- package/dist/utils/usage-limit-tracker.js +122 -14
- package/dist/utils/usage-limit-tracker.js.map +1 -1
- package/dist/worker.js +27 -6
- package/dist/worker.js.map +1 -1
- package/dist/workflows/definition.d.ts +56 -56
- package/dist/workflows/events/payloads.d.ts +2 -2
- package/dist/workflows/events/schema.d.ts +430 -430
- package/dist/workflows/migration/v2-run-archive-schema.d.ts +2 -2
- package/dist/workflows/v3/run-envelope.d.ts +56 -56
- package/package.json +9 -8
- package/scripts/postinstall-bin.mjs +25 -0
- package/dist/dashboard-web/chunks/chunk-NJCJR3U2.js +0 -10
|
@@ -26,14 +26,14 @@ export declare const ParamDefSchema: z.ZodObject<{
|
|
|
26
26
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
27
27
|
default?: unknown;
|
|
28
28
|
required?: boolean | undefined;
|
|
29
|
-
description?: string | undefined;
|
|
30
29
|
format?: string | undefined;
|
|
30
|
+
description?: string | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
33
33
|
default?: unknown;
|
|
34
34
|
required?: boolean | undefined;
|
|
35
|
-
description?: string | undefined;
|
|
36
35
|
format?: string | undefined;
|
|
36
|
+
description?: string | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export type ParamDef = z.infer<typeof ParamDefSchema>;
|
|
39
39
|
export declare const RetryPolicySchema: z.ZodObject<{
|
|
@@ -226,8 +226,6 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
226
226
|
};
|
|
227
227
|
bot: string;
|
|
228
228
|
workingDir?: string | undefined;
|
|
229
|
-
description?: string | undefined;
|
|
230
|
-
timeoutMs?: number | undefined;
|
|
231
229
|
depends?: string[] | undefined;
|
|
232
230
|
humanGate?: {
|
|
233
231
|
stage: "before";
|
|
@@ -238,6 +236,8 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
238
236
|
deadlineMs?: number | undefined;
|
|
239
237
|
onTimeout?: "fail" | "success" | undefined;
|
|
240
238
|
} | undefined;
|
|
239
|
+
description?: string | undefined;
|
|
240
|
+
timeoutMs?: number | undefined;
|
|
241
241
|
outputSchema?: Record<string, unknown> | undefined;
|
|
242
242
|
maxOutputBytes?: number | undefined;
|
|
243
243
|
modelOverrides?: {
|
|
@@ -263,8 +263,6 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
263
263
|
};
|
|
264
264
|
bot: string;
|
|
265
265
|
workingDir?: string | undefined;
|
|
266
|
-
description?: string | undefined;
|
|
267
|
-
timeoutMs?: number | undefined;
|
|
268
266
|
depends?: string[] | undefined;
|
|
269
267
|
humanGate?: {
|
|
270
268
|
stage: "before";
|
|
@@ -275,6 +273,8 @@ export declare const SubagentNodeSchema: z.ZodObject<{
|
|
|
275
273
|
deadlineMs?: number | undefined;
|
|
276
274
|
onTimeout?: "fail" | "success" | undefined;
|
|
277
275
|
} | undefined;
|
|
276
|
+
description?: string | undefined;
|
|
277
|
+
timeoutMs?: number | undefined;
|
|
278
278
|
outputSchema?: Record<string, unknown> | undefined;
|
|
279
279
|
maxOutputBytes?: number | undefined;
|
|
280
280
|
modelOverrides?: {
|
|
@@ -367,8 +367,6 @@ export declare const HostExecutorNodeSchema: z.ZodObject<{
|
|
|
367
367
|
}, "strip", z.ZodTypeAny, {
|
|
368
368
|
type: "hostExecutor";
|
|
369
369
|
executor: string;
|
|
370
|
-
description?: string | undefined;
|
|
371
|
-
timeoutMs?: number | undefined;
|
|
372
370
|
input?: unknown;
|
|
373
371
|
depends?: string[] | undefined;
|
|
374
372
|
humanGate?: {
|
|
@@ -380,6 +378,8 @@ export declare const HostExecutorNodeSchema: z.ZodObject<{
|
|
|
380
378
|
deadlineMs?: number | undefined;
|
|
381
379
|
onTimeout?: "fail" | "success" | undefined;
|
|
382
380
|
} | undefined;
|
|
381
|
+
description?: string | undefined;
|
|
382
|
+
timeoutMs?: number | undefined;
|
|
383
383
|
outputSchema?: Record<string, unknown> | undefined;
|
|
384
384
|
maxOutputBytes?: number | undefined;
|
|
385
385
|
retryPolicy?: {
|
|
@@ -393,8 +393,6 @@ export declare const HostExecutorNodeSchema: z.ZodObject<{
|
|
|
393
393
|
}, {
|
|
394
394
|
type: "hostExecutor";
|
|
395
395
|
executor: string;
|
|
396
|
-
description?: string | undefined;
|
|
397
|
-
timeoutMs?: number | undefined;
|
|
398
396
|
input?: unknown;
|
|
399
397
|
depends?: string[] | undefined;
|
|
400
398
|
humanGate?: {
|
|
@@ -406,6 +404,8 @@ export declare const HostExecutorNodeSchema: z.ZodObject<{
|
|
|
406
404
|
deadlineMs?: number | undefined;
|
|
407
405
|
onTimeout?: "fail" | "success" | undefined;
|
|
408
406
|
} | undefined;
|
|
407
|
+
description?: string | undefined;
|
|
408
|
+
timeoutMs?: number | undefined;
|
|
409
409
|
outputSchema?: Record<string, unknown> | undefined;
|
|
410
410
|
maxOutputBytes?: number | undefined;
|
|
411
411
|
retryPolicy?: {
|
|
@@ -473,8 +473,8 @@ export declare const LoopNodeSchema: z.ZodObject<{
|
|
|
473
473
|
output?: {
|
|
474
474
|
from: string;
|
|
475
475
|
} | undefined;
|
|
476
|
-
description?: string | undefined;
|
|
477
476
|
depends?: string[] | undefined;
|
|
477
|
+
description?: string | undefined;
|
|
478
478
|
}, {
|
|
479
479
|
type: "loop";
|
|
480
480
|
body: string[];
|
|
@@ -486,8 +486,8 @@ export declare const LoopNodeSchema: z.ZodObject<{
|
|
|
486
486
|
output?: {
|
|
487
487
|
from: string;
|
|
488
488
|
} | undefined;
|
|
489
|
-
description?: string | undefined;
|
|
490
489
|
depends?: string[] | undefined;
|
|
490
|
+
description?: string | undefined;
|
|
491
491
|
}>;
|
|
492
492
|
export type LoopNode = z.infer<typeof LoopNodeSchema>;
|
|
493
493
|
export declare const DecisionNodeSchema: z.ZodObject<{
|
|
@@ -534,8 +534,8 @@ export declare const DecisionNodeSchema: z.ZodObject<{
|
|
|
534
534
|
deadlineMs?: number | undefined;
|
|
535
535
|
onTimeout?: "fail" | "success" | undefined;
|
|
536
536
|
};
|
|
537
|
-
description?: string | undefined;
|
|
538
537
|
depends?: string[] | undefined;
|
|
538
|
+
description?: string | undefined;
|
|
539
539
|
}, {
|
|
540
540
|
type: "decision";
|
|
541
541
|
humanGate: {
|
|
@@ -547,8 +547,8 @@ export declare const DecisionNodeSchema: z.ZodObject<{
|
|
|
547
547
|
deadlineMs?: number | undefined;
|
|
548
548
|
onTimeout?: "fail" | "success" | undefined;
|
|
549
549
|
};
|
|
550
|
-
description?: string | undefined;
|
|
551
550
|
depends?: string[] | undefined;
|
|
551
|
+
description?: string | undefined;
|
|
552
552
|
}>;
|
|
553
553
|
export type DecisionNode = z.infer<typeof DecisionNodeSchema>;
|
|
554
554
|
export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -654,8 +654,6 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
654
654
|
};
|
|
655
655
|
bot: string;
|
|
656
656
|
workingDir?: string | undefined;
|
|
657
|
-
description?: string | undefined;
|
|
658
|
-
timeoutMs?: number | undefined;
|
|
659
657
|
depends?: string[] | undefined;
|
|
660
658
|
humanGate?: {
|
|
661
659
|
stage: "before";
|
|
@@ -666,6 +664,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
666
664
|
deadlineMs?: number | undefined;
|
|
667
665
|
onTimeout?: "fail" | "success" | undefined;
|
|
668
666
|
} | undefined;
|
|
667
|
+
description?: string | undefined;
|
|
668
|
+
timeoutMs?: number | undefined;
|
|
669
669
|
outputSchema?: Record<string, unknown> | undefined;
|
|
670
670
|
maxOutputBytes?: number | undefined;
|
|
671
671
|
modelOverrides?: {
|
|
@@ -691,8 +691,6 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
691
691
|
};
|
|
692
692
|
bot: string;
|
|
693
693
|
workingDir?: string | undefined;
|
|
694
|
-
description?: string | undefined;
|
|
695
|
-
timeoutMs?: number | undefined;
|
|
696
694
|
depends?: string[] | undefined;
|
|
697
695
|
humanGate?: {
|
|
698
696
|
stage: "before";
|
|
@@ -703,6 +701,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
703
701
|
deadlineMs?: number | undefined;
|
|
704
702
|
onTimeout?: "fail" | "success" | undefined;
|
|
705
703
|
} | undefined;
|
|
704
|
+
description?: string | undefined;
|
|
705
|
+
timeoutMs?: number | undefined;
|
|
706
706
|
outputSchema?: Record<string, unknown> | undefined;
|
|
707
707
|
maxOutputBytes?: number | undefined;
|
|
708
708
|
modelOverrides?: {
|
|
@@ -793,8 +793,6 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
793
793
|
}, "strip", z.ZodTypeAny, {
|
|
794
794
|
type: "hostExecutor";
|
|
795
795
|
executor: string;
|
|
796
|
-
description?: string | undefined;
|
|
797
|
-
timeoutMs?: number | undefined;
|
|
798
796
|
input?: unknown;
|
|
799
797
|
depends?: string[] | undefined;
|
|
800
798
|
humanGate?: {
|
|
@@ -806,6 +804,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
806
804
|
deadlineMs?: number | undefined;
|
|
807
805
|
onTimeout?: "fail" | "success" | undefined;
|
|
808
806
|
} | undefined;
|
|
807
|
+
description?: string | undefined;
|
|
808
|
+
timeoutMs?: number | undefined;
|
|
809
809
|
outputSchema?: Record<string, unknown> | undefined;
|
|
810
810
|
maxOutputBytes?: number | undefined;
|
|
811
811
|
retryPolicy?: {
|
|
@@ -819,8 +819,6 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
819
819
|
}, {
|
|
820
820
|
type: "hostExecutor";
|
|
821
821
|
executor: string;
|
|
822
|
-
description?: string | undefined;
|
|
823
|
-
timeoutMs?: number | undefined;
|
|
824
822
|
input?: unknown;
|
|
825
823
|
depends?: string[] | undefined;
|
|
826
824
|
humanGate?: {
|
|
@@ -832,6 +830,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
832
830
|
deadlineMs?: number | undefined;
|
|
833
831
|
onTimeout?: "fail" | "success" | undefined;
|
|
834
832
|
} | undefined;
|
|
833
|
+
description?: string | undefined;
|
|
834
|
+
timeoutMs?: number | undefined;
|
|
835
835
|
outputSchema?: Record<string, unknown> | undefined;
|
|
836
836
|
maxOutputBytes?: number | undefined;
|
|
837
837
|
retryPolicy?: {
|
|
@@ -876,8 +876,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
876
876
|
output?: {
|
|
877
877
|
from: string;
|
|
878
878
|
} | undefined;
|
|
879
|
-
description?: string | undefined;
|
|
880
879
|
depends?: string[] | undefined;
|
|
880
|
+
description?: string | undefined;
|
|
881
881
|
}, {
|
|
882
882
|
type: "loop";
|
|
883
883
|
body: string[];
|
|
@@ -889,8 +889,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
889
889
|
output?: {
|
|
890
890
|
from: string;
|
|
891
891
|
} | undefined;
|
|
892
|
-
description?: string | undefined;
|
|
893
892
|
depends?: string[] | undefined;
|
|
893
|
+
description?: string | undefined;
|
|
894
894
|
}>, z.ZodObject<{
|
|
895
895
|
type: z.ZodLiteral<"decision">;
|
|
896
896
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -935,8 +935,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
935
935
|
deadlineMs?: number | undefined;
|
|
936
936
|
onTimeout?: "fail" | "success" | undefined;
|
|
937
937
|
};
|
|
938
|
-
description?: string | undefined;
|
|
939
938
|
depends?: string[] | undefined;
|
|
939
|
+
description?: string | undefined;
|
|
940
940
|
}, {
|
|
941
941
|
type: "decision";
|
|
942
942
|
humanGate: {
|
|
@@ -948,8 +948,8 @@ export declare const WorkflowNodeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
948
948
|
deadlineMs?: number | undefined;
|
|
949
949
|
onTimeout?: "fail" | "success" | undefined;
|
|
950
950
|
};
|
|
951
|
-
description?: string | undefined;
|
|
952
951
|
depends?: string[] | undefined;
|
|
952
|
+
description?: string | undefined;
|
|
953
953
|
}>]>;
|
|
954
954
|
export type WorkflowNode = z.infer<typeof WorkflowNodeSchema>;
|
|
955
955
|
/**
|
|
@@ -972,14 +972,14 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
972
972
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
973
973
|
default?: unknown;
|
|
974
974
|
required?: boolean | undefined;
|
|
975
|
-
description?: string | undefined;
|
|
976
975
|
format?: string | undefined;
|
|
976
|
+
description?: string | undefined;
|
|
977
977
|
}, {
|
|
978
978
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
979
979
|
default?: unknown;
|
|
980
980
|
required?: boolean | undefined;
|
|
981
|
-
description?: string | undefined;
|
|
982
981
|
format?: string | undefined;
|
|
982
|
+
description?: string | undefined;
|
|
983
983
|
}>>>;
|
|
984
984
|
defaults: z.ZodOptional<z.ZodObject<{
|
|
985
985
|
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
@@ -1140,8 +1140,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1140
1140
|
};
|
|
1141
1141
|
bot: string;
|
|
1142
1142
|
workingDir?: string | undefined;
|
|
1143
|
-
description?: string | undefined;
|
|
1144
|
-
timeoutMs?: number | undefined;
|
|
1145
1143
|
depends?: string[] | undefined;
|
|
1146
1144
|
humanGate?: {
|
|
1147
1145
|
stage: "before";
|
|
@@ -1152,6 +1150,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1152
1150
|
deadlineMs?: number | undefined;
|
|
1153
1151
|
onTimeout?: "fail" | "success" | undefined;
|
|
1154
1152
|
} | undefined;
|
|
1153
|
+
description?: string | undefined;
|
|
1154
|
+
timeoutMs?: number | undefined;
|
|
1155
1155
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1156
1156
|
maxOutputBytes?: number | undefined;
|
|
1157
1157
|
modelOverrides?: {
|
|
@@ -1177,8 +1177,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1177
1177
|
};
|
|
1178
1178
|
bot: string;
|
|
1179
1179
|
workingDir?: string | undefined;
|
|
1180
|
-
description?: string | undefined;
|
|
1181
|
-
timeoutMs?: number | undefined;
|
|
1182
1180
|
depends?: string[] | undefined;
|
|
1183
1181
|
humanGate?: {
|
|
1184
1182
|
stage: "before";
|
|
@@ -1189,6 +1187,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1189
1187
|
deadlineMs?: number | undefined;
|
|
1190
1188
|
onTimeout?: "fail" | "success" | undefined;
|
|
1191
1189
|
} | undefined;
|
|
1190
|
+
description?: string | undefined;
|
|
1191
|
+
timeoutMs?: number | undefined;
|
|
1192
1192
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1193
1193
|
maxOutputBytes?: number | undefined;
|
|
1194
1194
|
modelOverrides?: {
|
|
@@ -1279,8 +1279,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1279
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1280
1280
|
type: "hostExecutor";
|
|
1281
1281
|
executor: string;
|
|
1282
|
-
description?: string | undefined;
|
|
1283
|
-
timeoutMs?: number | undefined;
|
|
1284
1282
|
input?: unknown;
|
|
1285
1283
|
depends?: string[] | undefined;
|
|
1286
1284
|
humanGate?: {
|
|
@@ -1292,6 +1290,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1292
1290
|
deadlineMs?: number | undefined;
|
|
1293
1291
|
onTimeout?: "fail" | "success" | undefined;
|
|
1294
1292
|
} | undefined;
|
|
1293
|
+
description?: string | undefined;
|
|
1294
|
+
timeoutMs?: number | undefined;
|
|
1295
1295
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1296
1296
|
maxOutputBytes?: number | undefined;
|
|
1297
1297
|
retryPolicy?: {
|
|
@@ -1305,8 +1305,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1305
1305
|
}, {
|
|
1306
1306
|
type: "hostExecutor";
|
|
1307
1307
|
executor: string;
|
|
1308
|
-
description?: string | undefined;
|
|
1309
|
-
timeoutMs?: number | undefined;
|
|
1310
1308
|
input?: unknown;
|
|
1311
1309
|
depends?: string[] | undefined;
|
|
1312
1310
|
humanGate?: {
|
|
@@ -1318,6 +1316,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1318
1316
|
deadlineMs?: number | undefined;
|
|
1319
1317
|
onTimeout?: "fail" | "success" | undefined;
|
|
1320
1318
|
} | undefined;
|
|
1319
|
+
description?: string | undefined;
|
|
1320
|
+
timeoutMs?: number | undefined;
|
|
1321
1321
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1322
1322
|
maxOutputBytes?: number | undefined;
|
|
1323
1323
|
retryPolicy?: {
|
|
@@ -1362,8 +1362,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1362
1362
|
output?: {
|
|
1363
1363
|
from: string;
|
|
1364
1364
|
} | undefined;
|
|
1365
|
-
description?: string | undefined;
|
|
1366
1365
|
depends?: string[] | undefined;
|
|
1366
|
+
description?: string | undefined;
|
|
1367
1367
|
}, {
|
|
1368
1368
|
type: "loop";
|
|
1369
1369
|
body: string[];
|
|
@@ -1375,8 +1375,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1375
1375
|
output?: {
|
|
1376
1376
|
from: string;
|
|
1377
1377
|
} | undefined;
|
|
1378
|
-
description?: string | undefined;
|
|
1379
1378
|
depends?: string[] | undefined;
|
|
1379
|
+
description?: string | undefined;
|
|
1380
1380
|
}>, z.ZodObject<{
|
|
1381
1381
|
type: z.ZodLiteral<"decision">;
|
|
1382
1382
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1421,8 +1421,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1421
1421
|
deadlineMs?: number | undefined;
|
|
1422
1422
|
onTimeout?: "fail" | "success" | undefined;
|
|
1423
1423
|
};
|
|
1424
|
-
description?: string | undefined;
|
|
1425
1424
|
depends?: string[] | undefined;
|
|
1425
|
+
description?: string | undefined;
|
|
1426
1426
|
}, {
|
|
1427
1427
|
type: "decision";
|
|
1428
1428
|
humanGate: {
|
|
@@ -1434,11 +1434,10 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1434
1434
|
deadlineMs?: number | undefined;
|
|
1435
1435
|
onTimeout?: "fail" | "success" | undefined;
|
|
1436
1436
|
};
|
|
1437
|
-
description?: string | undefined;
|
|
1438
1437
|
depends?: string[] | undefined;
|
|
1438
|
+
description?: string | undefined;
|
|
1439
1439
|
}>]>>;
|
|
1440
1440
|
}, "strip", z.ZodTypeAny, {
|
|
1441
|
-
version: number;
|
|
1442
1441
|
nodes: Record<string, {
|
|
1443
1442
|
type: "subagent";
|
|
1444
1443
|
prompt: string | {
|
|
@@ -1446,8 +1445,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1446
1445
|
};
|
|
1447
1446
|
bot: string;
|
|
1448
1447
|
workingDir?: string | undefined;
|
|
1449
|
-
description?: string | undefined;
|
|
1450
|
-
timeoutMs?: number | undefined;
|
|
1451
1448
|
depends?: string[] | undefined;
|
|
1452
1449
|
humanGate?: {
|
|
1453
1450
|
stage: "before";
|
|
@@ -1458,6 +1455,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1458
1455
|
deadlineMs?: number | undefined;
|
|
1459
1456
|
onTimeout?: "fail" | "success" | undefined;
|
|
1460
1457
|
} | undefined;
|
|
1458
|
+
description?: string | undefined;
|
|
1459
|
+
timeoutMs?: number | undefined;
|
|
1461
1460
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1462
1461
|
maxOutputBytes?: number | undefined;
|
|
1463
1462
|
modelOverrides?: {
|
|
@@ -1479,8 +1478,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1479
1478
|
} | {
|
|
1480
1479
|
type: "hostExecutor";
|
|
1481
1480
|
executor: string;
|
|
1482
|
-
description?: string | undefined;
|
|
1483
|
-
timeoutMs?: number | undefined;
|
|
1484
1481
|
input?: unknown;
|
|
1485
1482
|
depends?: string[] | undefined;
|
|
1486
1483
|
humanGate?: {
|
|
@@ -1492,6 +1489,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1492
1489
|
deadlineMs?: number | undefined;
|
|
1493
1490
|
onTimeout?: "fail" | "success" | undefined;
|
|
1494
1491
|
} | undefined;
|
|
1492
|
+
description?: string | undefined;
|
|
1493
|
+
timeoutMs?: number | undefined;
|
|
1495
1494
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1496
1495
|
maxOutputBytes?: number | undefined;
|
|
1497
1496
|
retryPolicy?: {
|
|
@@ -1513,8 +1512,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1513
1512
|
output?: {
|
|
1514
1513
|
from: string;
|
|
1515
1514
|
} | undefined;
|
|
1516
|
-
description?: string | undefined;
|
|
1517
1515
|
depends?: string[] | undefined;
|
|
1516
|
+
description?: string | undefined;
|
|
1518
1517
|
} | {
|
|
1519
1518
|
type: "decision";
|
|
1520
1519
|
humanGate: {
|
|
@@ -1526,16 +1525,17 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1526
1525
|
deadlineMs?: number | undefined;
|
|
1527
1526
|
onTimeout?: "fail" | "success" | undefined;
|
|
1528
1527
|
};
|
|
1529
|
-
description?: string | undefined;
|
|
1530
1528
|
depends?: string[] | undefined;
|
|
1529
|
+
description?: string | undefined;
|
|
1531
1530
|
}>;
|
|
1531
|
+
version: number;
|
|
1532
1532
|
workflowId: string;
|
|
1533
1533
|
params?: Record<string, {
|
|
1534
1534
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
1535
1535
|
default?: unknown;
|
|
1536
1536
|
required?: boolean | undefined;
|
|
1537
|
-
description?: string | undefined;
|
|
1538
1537
|
format?: string | undefined;
|
|
1538
|
+
description?: string | undefined;
|
|
1539
1539
|
}> | undefined;
|
|
1540
1540
|
defaults?: {
|
|
1541
1541
|
timeoutMs?: number | undefined;
|
|
@@ -1550,7 +1550,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1550
1550
|
maxConcurrency?: number | undefined;
|
|
1551
1551
|
} | undefined;
|
|
1552
1552
|
}, {
|
|
1553
|
-
version: number;
|
|
1554
1553
|
nodes: Record<string, {
|
|
1555
1554
|
type: "subagent";
|
|
1556
1555
|
prompt: string | {
|
|
@@ -1558,8 +1557,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1558
1557
|
};
|
|
1559
1558
|
bot: string;
|
|
1560
1559
|
workingDir?: string | undefined;
|
|
1561
|
-
description?: string | undefined;
|
|
1562
|
-
timeoutMs?: number | undefined;
|
|
1563
1560
|
depends?: string[] | undefined;
|
|
1564
1561
|
humanGate?: {
|
|
1565
1562
|
stage: "before";
|
|
@@ -1570,6 +1567,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1570
1567
|
deadlineMs?: number | undefined;
|
|
1571
1568
|
onTimeout?: "fail" | "success" | undefined;
|
|
1572
1569
|
} | undefined;
|
|
1570
|
+
description?: string | undefined;
|
|
1571
|
+
timeoutMs?: number | undefined;
|
|
1573
1572
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1574
1573
|
maxOutputBytes?: number | undefined;
|
|
1575
1574
|
modelOverrides?: {
|
|
@@ -1591,8 +1590,6 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1591
1590
|
} | {
|
|
1592
1591
|
type: "hostExecutor";
|
|
1593
1592
|
executor: string;
|
|
1594
|
-
description?: string | undefined;
|
|
1595
|
-
timeoutMs?: number | undefined;
|
|
1596
1593
|
input?: unknown;
|
|
1597
1594
|
depends?: string[] | undefined;
|
|
1598
1595
|
humanGate?: {
|
|
@@ -1604,6 +1601,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1604
1601
|
deadlineMs?: number | undefined;
|
|
1605
1602
|
onTimeout?: "fail" | "success" | undefined;
|
|
1606
1603
|
} | undefined;
|
|
1604
|
+
description?: string | undefined;
|
|
1605
|
+
timeoutMs?: number | undefined;
|
|
1607
1606
|
outputSchema?: Record<string, unknown> | undefined;
|
|
1608
1607
|
maxOutputBytes?: number | undefined;
|
|
1609
1608
|
retryPolicy?: {
|
|
@@ -1625,8 +1624,8 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1625
1624
|
output?: {
|
|
1626
1625
|
from: string;
|
|
1627
1626
|
} | undefined;
|
|
1628
|
-
description?: string | undefined;
|
|
1629
1627
|
depends?: string[] | undefined;
|
|
1628
|
+
description?: string | undefined;
|
|
1630
1629
|
} | {
|
|
1631
1630
|
type: "decision";
|
|
1632
1631
|
humanGate: {
|
|
@@ -1638,16 +1637,17 @@ export declare const WorkflowDefinitionSchema: z.ZodObject<{
|
|
|
1638
1637
|
deadlineMs?: number | undefined;
|
|
1639
1638
|
onTimeout?: "fail" | "success" | undefined;
|
|
1640
1639
|
};
|
|
1641
|
-
description?: string | undefined;
|
|
1642
1640
|
depends?: string[] | undefined;
|
|
1641
|
+
description?: string | undefined;
|
|
1643
1642
|
}>;
|
|
1643
|
+
version: number;
|
|
1644
1644
|
workflowId: string;
|
|
1645
1645
|
params?: Record<string, {
|
|
1646
1646
|
type: "string" | "number" | "boolean" | "object" | "array";
|
|
1647
1647
|
default?: unknown;
|
|
1648
1648
|
required?: boolean | undefined;
|
|
1649
|
-
description?: string | undefined;
|
|
1650
1649
|
format?: string | undefined;
|
|
1650
|
+
description?: string | undefined;
|
|
1651
1651
|
}> | undefined;
|
|
1652
1652
|
defaults?: {
|
|
1653
1653
|
timeoutMs?: number | undefined;
|
|
@@ -577,14 +577,14 @@ export declare const LeaseSignedPayload: z.ZodObject<{
|
|
|
577
577
|
timeoutMs: z.ZodNumber;
|
|
578
578
|
maxOutputBytes: z.ZodNumber;
|
|
579
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
|
-
timeoutMs: number;
|
|
581
580
|
attemptId: string;
|
|
581
|
+
timeoutMs: number;
|
|
582
582
|
leaseId: string;
|
|
583
583
|
activityId: string;
|
|
584
584
|
maxOutputBytes: number;
|
|
585
585
|
}, {
|
|
586
|
-
timeoutMs: number;
|
|
587
586
|
attemptId: string;
|
|
587
|
+
timeoutMs: number;
|
|
588
588
|
leaseId: string;
|
|
589
589
|
activityId: string;
|
|
590
590
|
maxOutputBytes: number;
|