botmux 3.15.0 → 3.16.0
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/README.en.md +2 -2
- package/README.md +2 -2
- package/dist/.runtime-build-id +1 -1
- package/dist/adapters/backend/destroy-result.d.ts +159 -0
- package/dist/adapters/backend/destroy-result.d.ts.map +1 -0
- package/dist/adapters/backend/destroy-result.js +223 -0
- package/dist/adapters/backend/destroy-result.js.map +1 -0
- package/dist/adapters/backend/herdr-backend.d.ts +4 -0
- package/dist/adapters/backend/herdr-backend.d.ts.map +1 -1
- package/dist/adapters/backend/herdr-backend.js +23 -1
- package/dist/adapters/backend/herdr-backend.js.map +1 -1
- package/dist/adapters/backend/mojo-backend.d.ts +577 -0
- package/dist/adapters/backend/mojo-backend.d.ts.map +1 -0
- package/dist/adapters/backend/mojo-backend.js +2471 -0
- package/dist/adapters/backend/mojo-backend.js.map +1 -0
- package/dist/adapters/backend/mojo-budgets.d.ts +21 -0
- package/dist/adapters/backend/mojo-budgets.d.ts.map +1 -0
- package/dist/adapters/backend/mojo-budgets.js +22 -0
- package/dist/adapters/backend/mojo-budgets.js.map +1 -0
- package/dist/adapters/backend/mojo-isolated-workspace.d.ts +69 -0
- package/dist/adapters/backend/mojo-isolated-workspace.d.ts.map +1 -0
- package/dist/adapters/backend/mojo-isolated-workspace.js +213 -0
- package/dist/adapters/backend/mojo-isolated-workspace.js.map +1 -0
- package/dist/adapters/backend/mojo-process-tree.d.ts +292 -0
- package/dist/adapters/backend/mojo-process-tree.d.ts.map +1 -0
- package/dist/adapters/backend/mojo-process-tree.js +486 -0
- package/dist/adapters/backend/mojo-process-tree.js.map +1 -0
- package/dist/adapters/backend/mojo-types.d.ts +542 -0
- package/dist/adapters/backend/mojo-types.d.ts.map +1 -0
- package/dist/adapters/backend/mojo-types.js +682 -0
- package/dist/adapters/backend/mojo-types.js.map +1 -0
- package/dist/adapters/backend/reproduce-command.js +3 -3
- package/dist/adapters/backend/reproduce-command.js.map +1 -1
- package/dist/adapters/backend/riff-backend.js +1 -1
- package/dist/adapters/backend/riff-backend.js.map +1 -1
- package/dist/adapters/backend/sandbox.d.ts +44 -7
- package/dist/adapters/backend/sandbox.d.ts.map +1 -1
- package/dist/adapters/backend/sandbox.js +30 -7
- package/dist/adapters/backend/sandbox.js.map +1 -1
- package/dist/adapters/backend/session-backend-selector.d.ts +14 -1
- package/dist/adapters/backend/session-backend-selector.d.ts.map +1 -1
- package/dist/adapters/backend/session-backend-selector.js +82 -10
- package/dist/adapters/backend/session-backend-selector.js.map +1 -1
- package/dist/adapters/backend/types.d.ts +101 -6
- package/dist/adapters/backend/types.d.ts.map +1 -1
- package/dist/adapters/backend/types.js.map +1 -1
- package/dist/adapters/backend/zmx-backend.d.ts +11 -0
- package/dist/adapters/backend/zmx-backend.d.ts.map +1 -1
- package/dist/adapters/backend/zmx-backend.js +16 -1
- package/dist/adapters/backend/zmx-backend.js.map +1 -1
- package/dist/adapters/cli/codex-app.d.ts.map +1 -1
- package/dist/adapters/cli/codex-app.js +2 -2
- package/dist/adapters/cli/codex-app.js.map +1 -1
- package/dist/adapters/cli/codex.d.ts.map +1 -1
- package/dist/adapters/cli/codex.js +7 -0
- package/dist/adapters/cli/codex.js.map +1 -1
- package/dist/adapters/cli/copilot.d.ts +3 -1
- package/dist/adapters/cli/copilot.d.ts.map +1 -1
- package/dist/adapters/cli/copilot.js +23 -5
- package/dist/adapters/cli/copilot.js.map +1 -1
- package/dist/adapters/cli/cursor.d.ts.map +1 -1
- package/dist/adapters/cli/cursor.js +13 -3
- package/dist/adapters/cli/cursor.js.map +1 -1
- package/dist/adapters/cli/grok.d.ts.map +1 -1
- package/dist/adapters/cli/grok.js +24 -5
- package/dist/adapters/cli/grok.js.map +1 -1
- package/dist/adapters/cli/kimi.d.ts.map +1 -1
- package/dist/adapters/cli/kimi.js +19 -1
- package/dist/adapters/cli/kimi.js.map +1 -1
- package/dist/adapters/cli/mojo.d.ts +28 -0
- package/dist/adapters/cli/mojo.d.ts.map +1 -0
- package/dist/adapters/cli/mojo.js +58 -0
- package/dist/adapters/cli/mojo.js.map +1 -0
- package/dist/adapters/cli/pi.d.ts +6 -4
- package/dist/adapters/cli/pi.d.ts.map +1 -1
- package/dist/adapters/cli/pi.js +6 -4
- package/dist/adapters/cli/pi.js.map +1 -1
- package/dist/adapters/cli/read-isolation.d.ts +251 -1
- package/dist/adapters/cli/read-isolation.d.ts.map +1 -1
- package/dist/adapters/cli/read-isolation.js +254 -1
- package/dist/adapters/cli/read-isolation.js.map +1 -1
- package/dist/adapters/cli/registry.d.ts +13 -1
- package/dist/adapters/cli/registry.d.ts.map +1 -1
- package/dist/adapters/cli/registry.js +19 -1
- package/dist/adapters/cli/registry.js.map +1 -1
- package/dist/adapters/cli/runner-input.d.ts +3 -3
- package/dist/adapters/cli/runner-input.d.ts.map +1 -1
- package/dist/adapters/cli/runner-input.js +4 -3
- package/dist/adapters/cli/runner-input.js.map +1 -1
- package/dist/adapters/cli/shared-hints.d.ts +3 -1
- package/dist/adapters/cli/shared-hints.d.ts.map +1 -1
- package/dist/adapters/cli/shared-hints.js +22 -6
- package/dist/adapters/cli/shared-hints.js.map +1 -1
- package/dist/adapters/cli/types.d.ts +29 -4
- package/dist/adapters/cli/types.d.ts.map +1 -1
- package/dist/bot-registry.d.ts +20 -0
- package/dist/bot-registry.d.ts.map +1 -1
- package/dist/bot-registry.js +30 -4
- package/dist/bot-registry.js.map +1 -1
- package/dist/cli/arg-utils.d.ts +5 -0
- package/dist/cli/arg-utils.d.ts.map +1 -1
- package/dist/cli/arg-utils.js +7 -0
- package/dist/cli/arg-utils.js.map +1 -1
- package/dist/cli/bots-list-output.d.ts +130 -2
- package/dist/cli/bots-list-output.d.ts.map +1 -1
- package/dist/cli/bots-list-output.js +173 -27
- package/dist/cli/bots-list-output.js.map +1 -1
- package/dist/cli/daemon-lifecycle-env.d.ts +10 -3
- package/dist/cli/daemon-lifecycle-env.d.ts.map +1 -1
- package/dist/cli/daemon-lifecycle-env.js +38 -11
- package/dist/cli/daemon-lifecycle-env.js.map +1 -1
- package/dist/cli/dashboard-command.d.ts +15 -0
- package/dist/cli/dashboard-command.d.ts.map +1 -1
- package/dist/cli/dashboard-command.js +22 -0
- package/dist/cli/dashboard-command.js.map +1 -1
- package/dist/cli/log-tail.d.ts +54 -0
- package/dist/cli/log-tail.d.ts.map +1 -0
- package/dist/cli/log-tail.js +167 -0
- package/dist/cli/log-tail.js.map +1 -0
- package/dist/cli/pm2-env.d.ts +16 -0
- package/dist/cli/pm2-env.d.ts.map +1 -0
- package/dist/cli/pm2-env.js +63 -0
- package/dist/cli/pm2-env.js.map +1 -0
- package/dist/cli/pm2-fleet-lock.d.ts +26 -0
- package/dist/cli/pm2-fleet-lock.d.ts.map +1 -0
- package/dist/cli/pm2-fleet-lock.js +50 -0
- package/dist/cli/pm2-fleet-lock.js.map +1 -0
- package/dist/cli/pm2-god-retirement.d.ts +59 -0
- package/dist/cli/pm2-god-retirement.d.ts.map +1 -0
- package/dist/cli/pm2-god-retirement.js +95 -0
- package/dist/cli/pm2-god-retirement.js.map +1 -0
- package/dist/cli/session-list-wake.d.ts +41 -0
- package/dist/cli/session-list-wake.d.ts.map +1 -0
- package/dist/cli/session-list-wake.js +102 -0
- package/dist/cli/session-list-wake.js.map +1 -0
- package/dist/cli/workflow.d.ts.map +1 -1
- package/dist/cli/workflow.js +26 -0
- package/dist/cli/workflow.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +933 -115
- package/dist/cli.js.map +1 -1
- package/dist/codex-app-runner.js +261 -49
- package/dist/codex-app-runner.js.map +1 -1
- package/dist/core/cli-runtime-update.d.ts +8 -0
- package/dist/core/cli-runtime-update.d.ts.map +1 -1
- package/dist/core/cli-runtime-update.js +127 -8
- package/dist/core/cli-runtime-update.js.map +1 -1
- package/dist/core/close-residual.d.ts +64 -0
- package/dist/core/close-residual.d.ts.map +1 -0
- package/dist/core/close-residual.js +93 -0
- package/dist/core/close-residual.js.map +1 -0
- package/dist/core/closed-session-card.d.ts.map +1 -1
- package/dist/core/closed-session-card.js +11 -3
- package/dist/core/closed-session-card.js.map +1 -1
- package/dist/core/command-handler.d.ts.map +1 -1
- package/dist/core/command-handler.js +129 -27
- package/dist/core/command-handler.js.map +1 -1
- package/dist/core/cost-calculator.d.ts +3 -1
- package/dist/core/cost-calculator.d.ts.map +1 -1
- package/dist/core/cost-calculator.js +230 -1
- package/dist/core/cost-calculator.js.map +1 -1
- package/dist/core/daemon-background-close.d.ts +19 -0
- package/dist/core/daemon-background-close.d.ts.map +1 -0
- package/dist/core/daemon-background-close.js +39 -0
- package/dist/core/daemon-background-close.js.map +1 -0
- package/dist/core/dashboard-command/overview.d.ts +4 -0
- package/dist/core/dashboard-command/overview.d.ts.map +1 -1
- package/dist/core/dashboard-command/overview.js +8 -1
- package/dist/core/dashboard-command/overview.js.map +1 -1
- package/dist/core/dashboard-ipc-server.d.ts.map +1 -1
- package/dist/core/dashboard-ipc-server.js +373 -41
- package/dist/core/dashboard-ipc-server.js.map +1 -1
- package/dist/core/dashboard-rows.d.ts +4 -0
- package/dist/core/dashboard-rows.d.ts.map +1 -1
- package/dist/core/dashboard-rows.js +3 -0
- package/dist/core/dashboard-rows.js.map +1 -1
- package/dist/core/dashboard-url.d.ts +37 -0
- package/dist/core/dashboard-url.d.ts.map +1 -1
- package/dist/core/dashboard-url.js +71 -0
- package/dist/core/dashboard-url.js.map +1 -1
- package/dist/core/deferred-schedule-settlement.d.ts +15 -1
- package/dist/core/deferred-schedule-settlement.d.ts.map +1 -1
- package/dist/core/deferred-schedule-settlement.js +4 -1
- package/dist/core/deferred-schedule-settlement.js.map +1 -1
- package/dist/core/device-isolation-daemon.d.ts +91 -1
- package/dist/core/device-isolation-daemon.d.ts.map +1 -1
- package/dist/core/device-isolation-daemon.js +346 -2
- package/dist/core/device-isolation-daemon.js.map +1 -1
- package/dist/core/local-terminal-opener.d.ts.map +1 -1
- package/dist/core/local-terminal-opener.js +5 -1
- package/dist/core/local-terminal-opener.js.map +1 -1
- package/dist/core/loopback-target.d.ts +14 -0
- package/dist/core/loopback-target.d.ts.map +1 -0
- package/dist/core/loopback-target.js +20 -0
- package/dist/core/loopback-target.js.map +1 -0
- package/dist/core/maintenance.d.ts.map +1 -1
- package/dist/core/maintenance.js +16 -2
- package/dist/core/maintenance.js.map +1 -1
- package/dist/core/mojo-containment-command.d.ts +20 -0
- package/dist/core/mojo-containment-command.d.ts.map +1 -0
- package/dist/core/mojo-containment-command.js +266 -0
- package/dist/core/mojo-containment-command.js.map +1 -0
- package/dist/core/mojo-containment.d.ts +575 -0
- package/dist/core/mojo-containment.d.ts.map +1 -0
- package/dist/core/mojo-containment.js +1158 -0
- package/dist/core/mojo-containment.js.map +1 -0
- package/dist/core/mojo-launcher-env-quarantine.d.ts +30 -0
- package/dist/core/mojo-launcher-env-quarantine.d.ts.map +1 -0
- package/dist/core/mojo-launcher-env-quarantine.js +175 -0
- package/dist/core/mojo-launcher-env-quarantine.js.map +1 -0
- package/dist/core/mojo-session-identity.d.ts +3 -0
- package/dist/core/mojo-session-identity.d.ts.map +1 -0
- package/dist/core/mojo-session-identity.js +126 -0
- package/dist/core/mojo-session-identity.js.map +1 -0
- package/dist/core/persistent-backend.d.ts +32 -8
- package/dist/core/persistent-backend.d.ts.map +1 -1
- package/dist/core/persistent-backend.js +55 -17
- package/dist/core/persistent-backend.js.map +1 -1
- package/dist/core/plugins/mcp/gateway.d.ts +14 -1
- package/dist/core/plugins/mcp/gateway.d.ts.map +1 -1
- package/dist/core/plugins/mcp/gateway.js +70 -3
- package/dist/core/plugins/mcp/gateway.js.map +1 -1
- package/dist/core/plugins/mcp/host.d.ts +2 -0
- package/dist/core/plugins/mcp/host.d.ts.map +1 -1
- package/dist/core/plugins/mcp/host.js +2 -0
- package/dist/core/plugins/mcp/host.js.map +1 -1
- package/dist/core/plugins/pm2.d.ts.map +1 -1
- package/dist/core/plugins/pm2.js +16 -3
- package/dist/core/plugins/pm2.js.map +1 -1
- package/dist/core/plugins/service-manager.d.ts +9 -0
- package/dist/core/plugins/service-manager.d.ts.map +1 -1
- package/dist/core/plugins/service-manager.js +33 -16
- package/dist/core/plugins/service-manager.js.map +1 -1
- package/dist/core/preview-port-owner.d.ts +109 -0
- package/dist/core/preview-port-owner.d.ts.map +1 -0
- package/dist/core/preview-port-owner.js +320 -0
- package/dist/core/preview-port-owner.js.map +1 -0
- package/dist/core/remote-cli-ids.d.ts +5 -0
- package/dist/core/remote-cli-ids.d.ts.map +1 -0
- package/dist/core/remote-cli-ids.js +24 -0
- package/dist/core/remote-cli-ids.js.map +1 -0
- package/dist/core/{riff-shutdown-detach.d.ts → remote-shutdown-detach.d.ts} +40 -39
- package/dist/core/remote-shutdown-detach.d.ts.map +1 -0
- package/dist/core/{riff-shutdown-detach.js → remote-shutdown-detach.js} +85 -83
- package/dist/core/remote-shutdown-detach.js.map +1 -0
- package/dist/core/{riff-worker-shutdown-readiness.d.ts → remote-worker-shutdown-readiness.d.ts} +5 -4
- package/dist/core/remote-worker-shutdown-readiness.d.ts.map +1 -0
- package/dist/core/{riff-worker-shutdown-readiness.js → remote-worker-shutdown-readiness.js} +4 -3
- package/dist/core/remote-worker-shutdown-readiness.js.map +1 -0
- package/dist/core/reply-target.d.ts +16 -1
- package/dist/core/reply-target.d.ts.map +1 -1
- package/dist/core/reply-target.js +61 -0
- package/dist/core/reply-target.js.map +1 -1
- package/dist/core/session-group-birth.d.ts +26 -0
- package/dist/core/session-group-birth.d.ts.map +1 -1
- package/dist/core/session-group-birth.js +81 -4
- package/dist/core/session-group-birth.js.map +1 -1
- package/dist/core/session-manager.d.ts +15 -2
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +259 -5
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-model.d.ts +46 -0
- package/dist/core/session-model.d.ts.map +1 -0
- package/dist/core/session-model.js +42 -0
- package/dist/core/session-model.js.map +1 -0
- package/dist/core/session-owner-reminder.d.ts +63 -0
- package/dist/core/session-owner-reminder.d.ts.map +1 -0
- package/dist/core/session-owner-reminder.js +196 -0
- package/dist/core/session-owner-reminder.js.map +1 -0
- package/dist/core/session-preview-registry.d.ts +53 -0
- package/dist/core/session-preview-registry.d.ts.map +1 -0
- package/dist/core/session-preview-registry.js +82 -0
- package/dist/core/session-preview-registry.js.map +1 -0
- package/dist/core/session-preview.d.ts +114 -0
- package/dist/core/session-preview.d.ts.map +1 -0
- package/dist/core/session-preview.js +184 -0
- package/dist/core/session-preview.js.map +1 -0
- package/dist/core/session-rename.d.ts.map +1 -1
- package/dist/core/session-rename.js +5 -3
- package/dist/core/session-rename.js.map +1 -1
- package/dist/core/session-wake-deadline.d.ts +5 -0
- package/dist/core/session-wake-deadline.d.ts.map +1 -0
- package/dist/core/session-wake-deadline.js +13 -0
- package/dist/core/session-wake-deadline.js.map +1 -0
- package/dist/core/shutdown-budgets.d.ts +7 -6
- package/dist/core/shutdown-budgets.d.ts.map +1 -1
- package/dist/core/shutdown-budgets.js +11 -10
- package/dist/core/shutdown-budgets.js.map +1 -1
- package/dist/core/terminal-control-grant.d.ts +74 -0
- package/dist/core/terminal-control-grant.d.ts.map +1 -0
- package/dist/core/terminal-control-grant.js +183 -0
- package/dist/core/terminal-control-grant.js.map +1 -0
- package/dist/core/terminal-proxy.d.ts.map +1 -1
- package/dist/core/terminal-proxy.js +4 -5
- package/dist/core/terminal-proxy.js.map +1 -1
- package/dist/core/terminal-write-auth.d.ts +4 -11
- package/dist/core/terminal-write-auth.d.ts.map +1 -1
- package/dist/core/terminal-write-auth.js +19 -16
- package/dist/core/terminal-write-auth.js.map +1 -1
- package/dist/core/trigger-session.d.ts.map +1 -1
- package/dist/core/trigger-session.js +36 -29
- package/dist/core/trigger-session.js.map +1 -1
- package/dist/core/types.d.ts +88 -10
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +9 -7
- package/dist/core/types.js.map +1 -1
- package/dist/core/workbench-link.d.ts +81 -0
- package/dist/core/workbench-link.d.ts.map +1 -0
- package/dist/core/workbench-link.js +109 -0
- package/dist/core/workbench-link.js.map +1 -0
- package/dist/core/worker-pool.d.ts +312 -11
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +2494 -209
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/daemon.d.ts +6 -0
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +443 -106
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/aggregator.d.ts +33 -3
- package/dist/dashboard/aggregator.d.ts.map +1 -1
- package/dist/dashboard/aggregator.js +93 -17
- package/dist/dashboard/aggregator.js.map +1 -1
- package/dist/dashboard/auth-session-connections.d.ts +59 -0
- package/dist/dashboard/auth-session-connections.d.ts.map +1 -0
- package/dist/dashboard/auth-session-connections.js +109 -0
- package/dist/dashboard/auth-session-connections.js.map +1 -0
- package/dist/dashboard/auth.d.ts +99 -1
- package/dist/dashboard/auth.d.ts.map +1 -1
- package/dist/dashboard/auth.js +176 -64
- package/dist/dashboard/auth.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/control-audit.d.ts +112 -0
- package/dist/dashboard/control-audit.d.ts.map +1 -0
- package/dist/dashboard/control-audit.js +195 -0
- package/dist/dashboard/control-audit.js.map +1 -0
- package/dist/dashboard/control-csrf.d.ts +123 -0
- package/dist/dashboard/control-csrf.d.ts.map +1 -0
- package/dist/dashboard/control-csrf.js +392 -0
- package/dist/dashboard/control-csrf.js.map +1 -0
- package/dist/dashboard/daemon-reconcile.d.ts +26 -0
- package/dist/dashboard/daemon-reconcile.d.ts.map +1 -0
- package/dist/dashboard/daemon-reconcile.js +46 -0
- package/dist/dashboard/daemon-reconcile.js.map +1 -0
- package/dist/dashboard/debug-terminal.d.ts.map +1 -1
- package/dist/dashboard/debug-terminal.js +18 -4
- package/dist/dashboard/debug-terminal.js.map +1 -1
- package/dist/dashboard/events-sse.d.ts +60 -0
- package/dist/dashboard/events-sse.d.ts.map +1 -0
- package/dist/dashboard/events-sse.js +63 -0
- package/dist/dashboard/events-sse.js.map +1 -0
- package/dist/dashboard/h5-auth.d.ts +256 -0
- package/dist/dashboard/h5-auth.d.ts.map +1 -0
- package/dist/dashboard/h5-auth.js +825 -0
- package/dist/dashboard/h5-auth.js.map +1 -0
- package/dist/dashboard/managed-spawn.d.ts +36 -0
- package/dist/dashboard/managed-spawn.d.ts.map +1 -0
- package/dist/dashboard/managed-spawn.js +169 -0
- package/dist/dashboard/managed-spawn.js.map +1 -0
- package/dist/dashboard/preview-content-capability.d.ts +41 -0
- package/dist/dashboard/preview-content-capability.d.ts.map +1 -0
- package/dist/dashboard/preview-content-capability.js +127 -0
- package/dist/dashboard/preview-content-capability.js.map +1 -0
- package/dist/dashboard/preview-contract.d.ts +85 -0
- package/dist/dashboard/preview-contract.d.ts.map +1 -0
- package/dist/dashboard/preview-contract.js +198 -0
- package/dist/dashboard/preview-contract.js.map +1 -0
- package/dist/dashboard/preview-guard-page.d.ts +52 -0
- package/dist/dashboard/preview-guard-page.d.ts.map +1 -0
- package/dist/dashboard/preview-guard-page.js +162 -0
- package/dist/dashboard/preview-guard-page.js.map +1 -0
- package/dist/dashboard/preview-interaction.d.ts +57 -0
- package/dist/dashboard/preview-interaction.d.ts.map +1 -0
- package/dist/dashboard/preview-interaction.js +198 -0
- package/dist/dashboard/preview-interaction.js.map +1 -0
- package/dist/dashboard/preview-proxy.d.ts +113 -0
- package/dist/dashboard/preview-proxy.d.ts.map +1 -0
- package/dist/dashboard/preview-proxy.js +543 -0
- package/dist/dashboard/preview-proxy.js.map +1 -0
- package/dist/dashboard/public-redact.d.ts +23 -0
- package/dist/dashboard/public-redact.d.ts.map +1 -1
- package/dist/dashboard/public-redact.js +90 -21
- package/dist/dashboard/public-redact.js.map +1 -1
- package/dist/dashboard/request-identity.d.ts +77 -0
- package/dist/dashboard/request-identity.d.ts.map +1 -0
- package/dist/dashboard/request-identity.js +72 -0
- package/dist/dashboard/request-identity.js.map +1 -0
- package/dist/dashboard/session-cleanup.d.ts +5 -0
- package/dist/dashboard/session-cleanup.d.ts.map +1 -1
- package/dist/dashboard/session-cleanup.js +4 -0
- package/dist/dashboard/session-cleanup.js.map +1 -1
- package/dist/dashboard/settings-write-applier.d.ts +5 -1
- package/dist/dashboard/settings-write-applier.d.ts.map +1 -1
- package/dist/dashboard/settings-write-applier.js +14 -0
- package/dist/dashboard/settings-write-applier.js.map +1 -1
- package/dist/dashboard/standing-link.d.ts +76 -0
- package/dist/dashboard/standing-link.d.ts.map +1 -0
- package/dist/dashboard/standing-link.js +111 -0
- package/dist/dashboard/standing-link.js.map +1 -0
- package/dist/dashboard/terminal-control.d.ts +105 -0
- package/dist/dashboard/terminal-control.d.ts.map +1 -0
- package/dist/dashboard/terminal-control.js +296 -0
- package/dist/dashboard/terminal-control.js.map +1 -0
- package/dist/dashboard/terminal-front-proxy.d.ts +55 -0
- package/dist/dashboard/terminal-front-proxy.d.ts.map +1 -0
- package/dist/dashboard/terminal-front-proxy.js +397 -0
- package/dist/dashboard/terminal-front-proxy.js.map +1 -0
- package/dist/dashboard/terminal-view-capability.d.ts +97 -0
- package/dist/dashboard/terminal-view-capability.d.ts.map +1 -0
- package/dist/dashboard/terminal-view-capability.js +145 -0
- package/dist/dashboard/terminal-view-capability.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-api.d.ts +59 -0
- package/dist/dashboard/web/agent-workbench-api.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-api.js +227 -0
- package/dist/dashboard/web/agent-workbench-api.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-appearance-menu.d.ts +59 -0
- package/dist/dashboard/web/agent-workbench-appearance-menu.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-appearance-menu.js +195 -0
- package/dist/dashboard/web/agent-workbench-appearance-menu.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-appearance.d.ts +222 -0
- package/dist/dashboard/web/agent-workbench-appearance.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-appearance.js +499 -0
- package/dist/dashboard/web/agent-workbench-appearance.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-capabilities.d.ts +13 -0
- package/dist/dashboard/web/agent-workbench-capabilities.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-capabilities.js +24 -0
- package/dist/dashboard/web/agent-workbench-capabilities.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-chat.d.ts +90 -0
- package/dist/dashboard/web/agent-workbench-chat.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-chat.js +168 -0
- package/dist/dashboard/web/agent-workbench-chat.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-dock-page.d.ts +3 -0
- package/dist/dashboard/web/agent-workbench-dock-page.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-dock-page.js +23 -0
- package/dist/dashboard/web/agent-workbench-dock-page.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-dock-view.d.ts +22 -0
- package/dist/dashboard/web/agent-workbench-dock-view.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-dock-view.js +76 -0
- package/dist/dashboard/web/agent-workbench-dock-view.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-model.d.ts +196 -0
- package/dist/dashboard/web/agent-workbench-model.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-model.js +529 -0
- package/dist/dashboard/web/agent-workbench-model.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-page.d.ts +3 -0
- package/dist/dashboard/web/agent-workbench-page.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-page.js +27 -0
- package/dist/dashboard/web/agent-workbench-page.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-panes.d.ts +49 -0
- package/dist/dashboard/web/agent-workbench-panes.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-panes.js +468 -0
- package/dist/dashboard/web/agent-workbench-panes.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-session-list.d.ts +42 -0
- package/dist/dashboard/web/agent-workbench-session-list.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-session-list.js +353 -0
- package/dist/dashboard/web/agent-workbench-session-list.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-storage.d.ts +49 -0
- package/dist/dashboard/web/agent-workbench-storage.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-storage.js +197 -0
- package/dist/dashboard/web/agent-workbench-storage.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-touch.d.ts +46 -0
- package/dist/dashboard/web/agent-workbench-touch.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-touch.js +96 -0
- package/dist/dashboard/web/agent-workbench-touch.js.map +1 -0
- package/dist/dashboard/web/agent-workbench-view.d.ts +34 -0
- package/dist/dashboard/web/agent-workbench-view.d.ts.map +1 -0
- package/dist/dashboard/web/agent-workbench-view.js +439 -0
- package/dist/dashboard/web/agent-workbench-view.js.map +1 -0
- package/dist/dashboard/web/app.d.ts.map +1 -1
- package/dist/dashboard/web/app.js +63 -2
- package/dist/dashboard/web/app.js.map +1 -1
- package/dist/dashboard/web/bot-defaults-page.d.ts +11 -0
- package/dist/dashboard/web/bot-defaults-page.d.ts.map +1 -1
- package/dist/dashboard/web/bot-defaults-page.js +267 -36
- package/dist/dashboard/web/bot-defaults-page.js.map +1 -1
- package/dist/dashboard/web/bot-defaults.d.ts +6 -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/control-csrf.d.ts +4 -0
- package/dist/dashboard/web/control-csrf.d.ts.map +1 -0
- package/dist/dashboard/web/control-csrf.js +26 -0
- package/dist/dashboard/web/control-csrf.js.map +1 -0
- package/dist/dashboard/web/dashboard-routes.d.ts.map +1 -1
- package/dist/dashboard/web/dashboard-routes.js +2 -0
- package/dist/dashboard/web/dashboard-routes.js.map +1 -1
- package/dist/dashboard/web/groups-page.d.ts.map +1 -1
- package/dist/dashboard/web/groups-page.js +11 -2
- package/dist/dashboard/web/groups-page.js.map +1 -1
- package/dist/dashboard/web/i18n.d.ts.map +1 -1
- package/dist/dashboard/web/i18n.js +132 -6
- package/dist/dashboard/web/i18n.js.map +1 -1
- package/dist/dashboard/web/overview-page.d.ts.map +1 -1
- package/dist/dashboard/web/overview-page.js +3 -2
- package/dist/dashboard/web/overview-page.js.map +1 -1
- package/dist/dashboard/web/sessions-page.d.ts.map +1 -1
- package/dist/dashboard/web/sessions-page.js +41 -1
- package/dist/dashboard/web/sessions-page.js.map +1 -1
- package/dist/dashboard/web/sessions.d.ts.map +1 -1
- package/dist/dashboard/web/sessions.js +5 -1
- package/dist/dashboard/web/sessions.js.map +1 -1
- package/dist/dashboard/web/settings-page.d.ts +3 -0
- package/dist/dashboard/web/settings-page.d.ts.map +1 -1
- package/dist/dashboard/web/settings-page.js +56 -10
- package/dist/dashboard/web/settings-page.js.map +1 -1
- package/dist/dashboard/web/store.d.ts +27 -2
- package/dist/dashboard/web/store.d.ts.map +1 -1
- package/dist/dashboard/web/store.js +43 -4
- package/dist/dashboard/web/store.js.map +1 -1
- package/dist/dashboard/web/ui.d.ts +3 -0
- package/dist/dashboard/web/ui.d.ts.map +1 -1
- package/dist/dashboard/web/ui.js +11 -0
- package/dist/dashboard/web/ui.js.map +1 -1
- package/dist/dashboard/web/update-action.d.ts +12 -0
- package/dist/dashboard/web/update-action.d.ts.map +1 -1
- package/dist/dashboard/web/update-action.js +11 -0
- package/dist/dashboard/web/update-action.js.map +1 -1
- package/dist/dashboard/workbench-doctor.d.ts +114 -0
- package/dist/dashboard/workbench-doctor.d.ts.map +1 -0
- package/dist/dashboard/workbench-doctor.js +620 -0
- package/dist/dashboard/workbench-doctor.js.map +1 -0
- package/dist/dashboard/workbench-ticket.d.ts +165 -0
- package/dist/dashboard/workbench-ticket.d.ts.map +1 -0
- package/dist/dashboard/workbench-ticket.js +495 -0
- package/dist/dashboard/workbench-ticket.js.map +1 -0
- package/dist/dashboard-web/app.js +1 -1
- package/dist/dashboard-web/chunks/agent-workbench-dock-page-IKAC5CFL.js +1 -0
- package/dist/dashboard-web/chunks/agent-workbench-page-M53UN5EB.js +1 -0
- package/dist/dashboard-web/chunks/bot-defaults-page-YKE5SDZF.js +10 -0
- package/dist/dashboard-web/chunks/chunk-22WIADUT.js +2 -0
- package/dist/dashboard-web/chunks/chunk-24ONYQMR.js +1 -0
- package/dist/dashboard-web/chunks/{chunk-Z7B3E3US.js → chunk-2W6SCN3M.js} +1 -1
- package/dist/dashboard-web/chunks/chunk-4XNJX6B3.js +1 -0
- package/dist/dashboard-web/chunks/{chunk-VMWNR3SV.js → chunk-F6KNPF4R.js} +11 -9
- package/dist/dashboard-web/chunks/chunk-FXW3V4JR.js +1 -0
- package/dist/dashboard-web/chunks/chunk-G5ZS2YUS.js +1 -0
- package/dist/dashboard-web/chunks/chunk-KTQ7B6ZR.js +1 -0
- package/dist/dashboard-web/chunks/{chunk-Z7DO42GJ.js → chunk-NACP7BMR.js} +1 -1
- package/dist/dashboard-web/chunks/{connectors-page-CPH6VVFY.js → connectors-page-VOISXXII.js} +1 -1
- package/dist/dashboard-web/chunks/{feedback-page-J2FKQ3LK.js → feedback-page-RN6HRZMS.js} +1 -1
- package/dist/dashboard-web/chunks/groups-page-UQT6DCB7.js +8 -0
- package/dist/dashboard-web/chunks/{insights-page-A2LWTKJD.js → insights-page-HJFDYR5N.js} +3 -3
- package/dist/dashboard-web/chunks/{monitor-room-2YR752E3.js → monitor-room-V7PCP47V.js} +1 -1
- package/dist/dashboard-web/chunks/{monitoring-page-BGYSKZGM.js → monitoring-page-NKEKVQAP.js} +1 -1
- package/dist/dashboard-web/chunks/{office-page-ZZHTEAE4.js → office-page-GVJF73XW.js} +1 -1
- package/dist/dashboard-web/chunks/overview-page-KHLV6VTI.js +1 -0
- package/dist/dashboard-web/chunks/{plugin-page-VEGTCEAS.js → plugin-page-J3OF5IY4.js} +1 -1
- package/dist/dashboard-web/chunks/{roles-page-YUC4YLJG.js → roles-page-WQIRSOLZ.js} +1 -1
- package/dist/dashboard-web/chunks/{schedules-page-2L2NKTDJ.js → schedules-page-J2DEY2X6.js} +1 -1
- package/dist/dashboard-web/chunks/sessions-page-7BQFEA5P.js +8 -0
- package/dist/dashboard-web/chunks/settings-page-BJEIOFJH.js +2 -0
- package/dist/dashboard-web/chunks/{skills-page-DQPBBI3T.js → skills-page-HGIFR3IU.js} +1 -1
- package/dist/dashboard-web/chunks/{team-federation-page-LQKLDV4K.js → team-federation-page-MR5ZPL4B.js} +1 -1
- package/dist/dashboard-web/chunks/{v3-page-RVKQIMAP.js → v3-page-GBR5JWPE.js} +2 -2
- package/dist/dashboard-web/chunks/{whiteboards-page-S5K55HRZ.js → whiteboards-page-QAZM4BN3.js} +1 -1
- package/dist/dashboard-web/index.html +8 -1
- package/dist/dashboard-web/style.css +2006 -10
- package/dist/dashboard.js +1006 -263
- package/dist/dashboard.js.map +1 -1
- package/dist/global-config.d.ts +30 -0
- package/dist/global-config.d.ts.map +1 -1
- package/dist/global-config.js +33 -0
- package/dist/global-config.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +31 -1
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +28 -1
- package/dist/i18n/zh.js.map +1 -1
- package/dist/im/lark/card-builder.d.ts +1 -1
- package/dist/im/lark/card-builder.d.ts.map +1 -1
- package/dist/im/lark/card-builder.js +22 -6
- package/dist/im/lark/card-builder.js.map +1 -1
- package/dist/im/lark/card-handler.d.ts.map +1 -1
- package/dist/im/lark/card-handler.js +118 -24
- package/dist/im/lark/card-handler.js.map +1 -1
- package/dist/im/lark/client.d.ts +15 -0
- package/dist/im/lark/client.d.ts.map +1 -1
- package/dist/im/lark/client.js +30 -0
- package/dist/im/lark/client.js.map +1 -1
- package/dist/im/lark/event-dispatcher.d.ts +48 -0
- package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
- package/dist/im/lark/event-dispatcher.js +133 -22
- package/dist/im/lark/event-dispatcher.js.map +1 -1
- package/dist/im/lark/identity-cache.d.ts +14 -6
- package/dist/im/lark/identity-cache.d.ts.map +1 -1
- package/dist/im/lark/identity-cache.js +69 -26
- package/dist/im/lark/identity-cache.js.map +1 -1
- package/dist/im/lark/lark-hosts.d.ts +13 -0
- package/dist/im/lark/lark-hosts.d.ts.map +1 -1
- package/dist/im/lark/lark-hosts.js +16 -0
- package/dist/im/lark/lark-hosts.js.map +1 -1
- package/dist/im/lark/overview-card.d.ts +22 -0
- package/dist/im/lark/overview-card.d.ts.map +1 -1
- package/dist/im/lark/overview-card.js +53 -3
- package/dist/im/lark/overview-card.js.map +1 -1
- package/dist/im/lark/sessions-card.d.ts.map +1 -1
- package/dist/im/lark/sessions-card.js +26 -3
- package/dist/im/lark/sessions-card.js.map +1 -1
- package/dist/im/lark/workflow-slash-command.d.ts +6 -0
- package/dist/im/lark/workflow-slash-command.d.ts.map +1 -1
- package/dist/im/lark/workflow-slash-command.js +7 -0
- package/dist/im/lark/workflow-slash-command.js.map +1 -1
- package/dist/index-daemon.js +27 -4
- package/dist/index-daemon.js.map +1 -1
- package/dist/index-dashboard.d.ts +3 -0
- package/dist/index-dashboard.d.ts.map +1 -0
- package/dist/index-dashboard.js +94 -0
- package/dist/index-dashboard.js.map +1 -0
- package/dist/platform/team-agents-client.d.ts +199 -0
- package/dist/platform/team-agents-client.d.ts.map +1 -0
- package/dist/platform/team-agents-client.js +263 -0
- package/dist/platform/team-agents-client.js.map +1 -0
- package/dist/platform/tunnel-client.d.ts +6 -0
- package/dist/platform/tunnel-client.d.ts.map +1 -1
- package/dist/platform/tunnel-client.js.map +1 -1
- package/dist/services/async-trigger-state.d.ts +7 -3
- package/dist/services/async-trigger-state.d.ts.map +1 -1
- package/dist/services/async-trigger-state.js +28 -0
- package/dist/services/async-trigger-state.js.map +1 -1
- package/dist/services/async-trigger-store.d.ts +13 -4
- package/dist/services/async-trigger-store.d.ts.map +1 -1
- package/dist/services/async-trigger-store.js +55 -8
- package/dist/services/async-trigger-store.js.map +1 -1
- package/dist/services/bot-config-store.d.ts +1 -11
- package/dist/services/bot-config-store.d.ts.map +1 -1
- package/dist/services/bot-config-store.js +27 -3
- package/dist/services/bot-config-store.js.map +1 -1
- package/dist/services/bot-profile-store.d.ts +17 -2
- package/dist/services/bot-profile-store.d.ts.map +1 -1
- package/dist/services/bot-profile-store.js +93 -12
- package/dist/services/bot-profile-store.js.map +1 -1
- package/dist/services/bridge-turn-queue.d.ts +10 -1
- package/dist/services/bridge-turn-queue.d.ts.map +1 -1
- package/dist/services/bridge-turn-queue.js +29 -9
- package/dist/services/bridge-turn-queue.js.map +1 -1
- package/dist/services/claude-transcript.d.ts +19 -0
- package/dist/services/claude-transcript.d.ts.map +1 -1
- package/dist/services/claude-transcript.js +57 -5
- package/dist/services/claude-transcript.js.map +1 -1
- package/dist/services/codex-app-threads.d.ts +2 -0
- package/dist/services/codex-app-threads.d.ts.map +1 -1
- package/dist/services/codex-app-threads.js +1 -1
- package/dist/services/codex-app-threads.js.map +1 -1
- package/dist/services/codex-reasoning-effort.d.ts +8 -0
- package/dist/services/codex-reasoning-effort.d.ts.map +1 -1
- package/dist/services/codex-reasoning-effort.js +24 -0
- package/dist/services/codex-reasoning-effort.js.map +1 -1
- package/dist/services/cursor-resume-policy.d.ts.map +1 -1
- package/dist/services/cursor-resume-policy.js +15 -3
- package/dist/services/cursor-resume-policy.js.map +1 -1
- package/dist/services/open-platform-rename.d.ts.map +1 -1
- package/dist/services/open-platform-rename.js +3 -2
- package/dist/services/open-platform-rename.js.map +1 -1
- package/dist/services/ordinary-turn-recovery.d.ts +76 -0
- package/dist/services/ordinary-turn-recovery.d.ts.map +1 -0
- package/dist/services/ordinary-turn-recovery.js +349 -0
- package/dist/services/ordinary-turn-recovery.js.map +1 -0
- package/dist/services/resume-fresh-policy.d.ts +17 -0
- package/dist/services/resume-fresh-policy.d.ts.map +1 -0
- package/dist/services/resume-fresh-policy.js +24 -0
- package/dist/services/resume-fresh-policy.js.map +1 -0
- package/dist/services/session-group-title.d.ts +1 -0
- package/dist/services/session-group-title.d.ts.map +1 -1
- package/dist/services/session-group-title.js +16 -1
- package/dist/services/session-group-title.js.map +1 -1
- package/dist/services/session-groups-store.d.ts +30 -0
- package/dist/services/session-groups-store.d.ts.map +1 -1
- package/dist/services/session-groups-store.js +26 -4
- package/dist/services/session-groups-store.js.map +1 -1
- package/dist/services/session-owner-notification.d.ts +9 -0
- package/dist/services/session-owner-notification.d.ts.map +1 -0
- package/dist/services/session-owner-notification.js +10 -0
- package/dist/services/session-owner-notification.js.map +1 -0
- package/dist/services/session-owner-reminder-config-store.d.ts +9 -0
- package/dist/services/session-owner-reminder-config-store.d.ts.map +1 -0
- package/dist/services/session-owner-reminder-config-store.js +24 -0
- package/dist/services/session-owner-reminder-config-store.js.map +1 -0
- package/dist/services/session-owner-reminder-store.d.ts +5 -0
- package/dist/services/session-owner-reminder-store.d.ts.map +1 -0
- package/dist/services/session-owner-reminder-store.js +54 -0
- package/dist/services/session-owner-reminder-store.js.map +1 -0
- package/dist/services/session-store.d.ts +98 -21
- package/dist/services/session-store.d.ts.map +1 -1
- package/dist/services/session-store.js +406 -48
- package/dist/services/session-store.js.map +1 -1
- package/dist/services/structured-bridge-clis.d.ts +9 -5
- package/dist/services/structured-bridge-clis.d.ts.map +1 -1
- package/dist/services/structured-bridge-clis.js +9 -4
- package/dist/services/structured-bridge-clis.js.map +1 -1
- package/dist/services/transcript-resolver.d.ts +1 -1
- package/dist/services/transcript-resolver.d.ts.map +1 -1
- package/dist/services/transcript-resolver.js +6 -1
- package/dist/services/transcript-resolver.js.map +1 -1
- package/dist/setup/bot-config-editor.d.ts.map +1 -1
- package/dist/setup/bot-config-editor.js +7 -2
- package/dist/setup/bot-config-editor.js.map +1 -1
- package/dist/setup/ensure-herdr-integrations.d.ts +13 -0
- package/dist/setup/ensure-herdr-integrations.d.ts.map +1 -1
- package/dist/setup/ensure-herdr-integrations.js +21 -3
- package/dist/setup/ensure-herdr-integrations.js.map +1 -1
- package/dist/setup/open-platform-automation.d.ts +1 -0
- package/dist/setup/open-platform-automation.d.ts.map +1 -1
- package/dist/setup/open-platform-automation.js +107 -7
- package/dist/setup/open-platform-automation.js.map +1 -1
- package/dist/skills/definitions.d.ts +17 -0
- package/dist/skills/definitions.d.ts.map +1 -1
- package/dist/skills/definitions.js +78 -8
- package/dist/skills/definitions.js.map +1 -1
- package/dist/skills/injection-mode.d.ts +24 -3
- package/dist/skills/injection-mode.d.ts.map +1 -1
- package/dist/skills/injection-mode.js +64 -15
- package/dist/skills/injection-mode.js.map +1 -1
- package/dist/skills/installer.d.ts +18 -0
- package/dist/skills/installer.d.ts.map +1 -1
- package/dist/skills/installer.js +45 -1
- package/dist/skills/installer.js.map +1 -1
- package/dist/types.d.ts +221 -10
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/child-env.d.ts +92 -2
- package/dist/utils/child-env.d.ts.map +1 -1
- package/dist/utils/child-env.js +195 -1
- package/dist/utils/child-env.js.map +1 -1
- package/dist/utils/cli-usage-limit.d.ts +25 -14
- package/dist/utils/cli-usage-limit.d.ts.map +1 -1
- package/dist/utils/cli-usage-limit.js +25 -15
- package/dist/utils/cli-usage-limit.js.map +1 -1
- package/dist/utils/daemon-rejection-guard.d.ts +35 -0
- package/dist/utils/daemon-rejection-guard.d.ts.map +1 -0
- package/dist/utils/daemon-rejection-guard.js +101 -0
- package/dist/utils/daemon-rejection-guard.js.map +1 -0
- package/dist/utils/dashboard-env.d.ts +53 -0
- package/dist/utils/dashboard-env.d.ts.map +1 -0
- package/dist/utils/dashboard-env.js +116 -0
- package/dist/utils/dashboard-env.js.map +1 -0
- package/dist/utils/global-install.d.ts.map +1 -1
- package/dist/utils/global-install.js +61 -5
- package/dist/utils/global-install.js.map +1 -1
- package/dist/utils/install-diagnostics.d.ts +14 -7
- package/dist/utils/install-diagnostics.d.ts.map +1 -1
- package/dist/utils/install-diagnostics.js +20 -11
- package/dist/utils/install-diagnostics.js.map +1 -1
- package/dist/utils/local-dev-update.d.ts +132 -0
- package/dist/utils/local-dev-update.d.ts.map +1 -0
- package/dist/utils/local-dev-update.js +176 -0
- package/dist/utils/local-dev-update.js.map +1 -0
- package/dist/utils/pending-input-queue.d.ts +12 -1
- package/dist/utils/pending-input-queue.d.ts.map +1 -1
- package/dist/utils/pending-input-queue.js.map +1 -1
- package/dist/worker.js +1284 -225
- package/dist/worker.js.map +1 -1
- package/dist/workflows/definition.d.ts +68 -68
- package/dist/workflows/events/payloads.d.ts +14 -14
- package/dist/workflows/events/schema.d.ts +312 -312
- package/dist/workflows/migration/v2-run-archive-schema.d.ts +40 -40
- package/dist/workflows/v3/cli-run.d.ts.map +1 -1
- package/dist/workflows/v3/cli-run.js +7 -0
- package/dist/workflows/v3/cli-run.js.map +1 -1
- package/dist/workflows/v3/goal-cli.d.ts +3 -0
- package/dist/workflows/v3/goal-cli.d.ts.map +1 -1
- package/dist/workflows/v3/goal-cli.js +11 -0
- package/dist/workflows/v3/goal-cli.js.map +1 -1
- package/dist/workflows/v3/run-envelope.d.ts +144 -144
- package/package.json +3 -2
- package/dist/cli/pm2-god-admission.d.ts +0 -8
- package/dist/cli/pm2-god-admission.d.ts.map +0 -1
- package/dist/cli/pm2-god-admission.js +0 -25
- package/dist/cli/pm2-god-admission.js.map +0 -1
- package/dist/core/riff-shutdown-detach.d.ts.map +0 -1
- package/dist/core/riff-shutdown-detach.js.map +0 -1
- package/dist/core/riff-worker-shutdown-readiness.d.ts.map +0 -1
- package/dist/core/riff-worker-shutdown-readiness.js.map +0 -1
- package/dist/dashboard-web/chunks/bot-defaults-page-65SMZ4QY.js +0 -10
- package/dist/dashboard-web/chunks/chunk-G5XGBCM6.js +0 -1
- package/dist/dashboard-web/chunks/chunk-IKN6WURK.js +0 -1
- package/dist/dashboard-web/chunks/chunk-WLIVBPJC.js +0 -1
- package/dist/dashboard-web/chunks/groups-page-VDOOLS4M.js +0 -8
- package/dist/dashboard-web/chunks/overview-page-7NYPKQSB.js +0 -1
- package/dist/dashboard-web/chunks/sessions-page-DYZZMKFL.js +0 -8
- package/dist/dashboard-web/chunks/settings-page-LIULUSMH.js +0 -2
|
@@ -65,8 +65,9 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
65
65
|
sandboxReadonlyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66
66
|
sandboxNetwork: z.ZodOptional<z.ZodBoolean>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
displayName?: string | undefined;
|
|
69
68
|
cliPathOverride?: string | undefined;
|
|
69
|
+
workingDir?: string | undefined;
|
|
70
|
+
displayName?: string | undefined;
|
|
70
71
|
larkAppId?: string | undefined;
|
|
71
72
|
cliId?: string | undefined;
|
|
72
73
|
sandbox?: boolean | undefined;
|
|
@@ -78,10 +79,10 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
78
79
|
sandboxHidePaths?: string[] | undefined;
|
|
79
80
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
80
81
|
sandboxNetwork?: boolean | undefined;
|
|
81
|
-
workingDir?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
displayName?: string | undefined;
|
|
84
83
|
cliPathOverride?: string | undefined;
|
|
84
|
+
workingDir?: string | undefined;
|
|
85
|
+
displayName?: string | undefined;
|
|
85
86
|
larkAppId?: string | undefined;
|
|
86
87
|
cliId?: string | undefined;
|
|
87
88
|
sandbox?: boolean | undefined;
|
|
@@ -93,7 +94,6 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
93
94
|
sandboxHidePaths?: string[] | undefined;
|
|
94
95
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
95
96
|
sandboxNetwork?: boolean | undefined;
|
|
96
|
-
workingDir?: string | undefined;
|
|
97
97
|
}>>>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
99
|
workflowId: string;
|
|
@@ -107,8 +107,9 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
107
107
|
};
|
|
108
108
|
initiator: string;
|
|
109
109
|
botSnapshots?: Record<string, {
|
|
110
|
-
displayName?: string | undefined;
|
|
111
110
|
cliPathOverride?: string | undefined;
|
|
111
|
+
workingDir?: string | undefined;
|
|
112
|
+
displayName?: string | undefined;
|
|
112
113
|
larkAppId?: string | undefined;
|
|
113
114
|
cliId?: string | undefined;
|
|
114
115
|
sandbox?: boolean | undefined;
|
|
@@ -120,7 +121,6 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
120
121
|
sandboxHidePaths?: string[] | undefined;
|
|
121
122
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
122
123
|
sandboxNetwork?: boolean | undefined;
|
|
123
|
-
workingDir?: string | undefined;
|
|
124
124
|
}> | undefined;
|
|
125
125
|
}, {
|
|
126
126
|
workflowId: string;
|
|
@@ -134,8 +134,9 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
134
134
|
};
|
|
135
135
|
initiator: string;
|
|
136
136
|
botSnapshots?: Record<string, {
|
|
137
|
-
displayName?: string | undefined;
|
|
138
137
|
cliPathOverride?: string | undefined;
|
|
138
|
+
workingDir?: string | undefined;
|
|
139
|
+
displayName?: string | undefined;
|
|
139
140
|
larkAppId?: string | undefined;
|
|
140
141
|
cliId?: string | undefined;
|
|
141
142
|
sandbox?: boolean | undefined;
|
|
@@ -147,7 +148,6 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
147
148
|
sandboxHidePaths?: string[] | undefined;
|
|
148
149
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
149
150
|
sandboxNetwork?: boolean | undefined;
|
|
150
|
-
workingDir?: string | undefined;
|
|
151
151
|
}> | undefined;
|
|
152
152
|
}>, z.ZodObject<{
|
|
153
153
|
ref: z.ZodString;
|
|
@@ -169,6 +169,7 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
169
169
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
170
170
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
type: "runCreated";
|
|
172
173
|
payload: {
|
|
173
174
|
workflowId: string;
|
|
174
175
|
revisionId: string;
|
|
@@ -181,8 +182,9 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
181
182
|
};
|
|
182
183
|
initiator: string;
|
|
183
184
|
botSnapshots?: Record<string, {
|
|
184
|
-
displayName?: string | undefined;
|
|
185
185
|
cliPathOverride?: string | undefined;
|
|
186
|
+
workingDir?: string | undefined;
|
|
187
|
+
displayName?: string | undefined;
|
|
186
188
|
larkAppId?: string | undefined;
|
|
187
189
|
cliId?: string | undefined;
|
|
188
190
|
sandbox?: boolean | undefined;
|
|
@@ -194,21 +196,20 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
194
196
|
sandboxHidePaths?: string[] | undefined;
|
|
195
197
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
196
198
|
sandboxNetwork?: boolean | undefined;
|
|
197
|
-
workingDir?: string | undefined;
|
|
198
199
|
}> | undefined;
|
|
199
200
|
} | {
|
|
200
201
|
ref: string;
|
|
201
202
|
schemaVersion: number;
|
|
202
203
|
bytes: number;
|
|
203
204
|
};
|
|
204
|
-
type: "runCreated";
|
|
205
205
|
runId: string;
|
|
206
206
|
schemaVersion: 1;
|
|
207
207
|
timestamp: number;
|
|
208
208
|
eventId: string;
|
|
209
|
-
actor: "system" | "
|
|
209
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
210
210
|
payloadHash?: string | undefined;
|
|
211
211
|
}, {
|
|
212
|
+
type: "runCreated";
|
|
212
213
|
payload: {
|
|
213
214
|
workflowId: string;
|
|
214
215
|
revisionId: string;
|
|
@@ -221,8 +222,9 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
221
222
|
};
|
|
222
223
|
initiator: string;
|
|
223
224
|
botSnapshots?: Record<string, {
|
|
224
|
-
displayName?: string | undefined;
|
|
225
225
|
cliPathOverride?: string | undefined;
|
|
226
|
+
workingDir?: string | undefined;
|
|
227
|
+
displayName?: string | undefined;
|
|
226
228
|
larkAppId?: string | undefined;
|
|
227
229
|
cliId?: string | undefined;
|
|
228
230
|
sandbox?: boolean | undefined;
|
|
@@ -234,19 +236,17 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
234
236
|
sandboxHidePaths?: string[] | undefined;
|
|
235
237
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
236
238
|
sandboxNetwork?: boolean | undefined;
|
|
237
|
-
workingDir?: string | undefined;
|
|
238
239
|
}> | undefined;
|
|
239
240
|
} | {
|
|
240
241
|
ref: string;
|
|
241
242
|
schemaVersion: number;
|
|
242
243
|
bytes: number;
|
|
243
244
|
};
|
|
244
|
-
type: "runCreated";
|
|
245
245
|
runId: string;
|
|
246
246
|
schemaVersion: 1;
|
|
247
247
|
timestamp: number;
|
|
248
248
|
eventId: string;
|
|
249
|
-
actor: "system" | "
|
|
249
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
250
250
|
payloadHash?: string | undefined;
|
|
251
251
|
}>;
|
|
252
252
|
export declare const RunStartedEventSchema: z.ZodObject<{
|
|
@@ -271,30 +271,30 @@ export declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
271
271
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
272
272
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
273
273
|
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
type: "runStarted";
|
|
274
275
|
payload: {} | {
|
|
275
276
|
ref: string;
|
|
276
277
|
schemaVersion: number;
|
|
277
278
|
bytes: number;
|
|
278
279
|
};
|
|
279
|
-
type: "runStarted";
|
|
280
280
|
runId: string;
|
|
281
281
|
schemaVersion: 1;
|
|
282
282
|
timestamp: number;
|
|
283
283
|
eventId: string;
|
|
284
|
-
actor: "system" | "
|
|
284
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
285
285
|
payloadHash?: string | undefined;
|
|
286
286
|
}, {
|
|
287
|
+
type: "runStarted";
|
|
287
288
|
payload: {} | {
|
|
288
289
|
ref: string;
|
|
289
290
|
schemaVersion: number;
|
|
290
291
|
bytes: number;
|
|
291
292
|
};
|
|
292
|
-
type: "runStarted";
|
|
293
293
|
runId: string;
|
|
294
294
|
schemaVersion: 1;
|
|
295
295
|
timestamp: number;
|
|
296
296
|
eventId: string;
|
|
297
|
-
actor: "system" | "
|
|
297
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
298
298
|
payloadHash?: string | undefined;
|
|
299
299
|
}>;
|
|
300
300
|
export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
@@ -355,6 +355,7 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
355
355
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
356
356
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
357
357
|
}, "strip", z.ZodTypeAny, {
|
|
358
|
+
type: "runSucceeded";
|
|
358
359
|
payload: {
|
|
359
360
|
outputRef: {
|
|
360
361
|
outputHash: string;
|
|
@@ -368,14 +369,14 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
368
369
|
schemaVersion: number;
|
|
369
370
|
bytes: number;
|
|
370
371
|
};
|
|
371
|
-
type: "runSucceeded";
|
|
372
372
|
runId: string;
|
|
373
373
|
schemaVersion: 1;
|
|
374
374
|
timestamp: number;
|
|
375
375
|
eventId: string;
|
|
376
|
-
actor: "system" | "
|
|
376
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
377
377
|
payloadHash?: string | undefined;
|
|
378
378
|
}, {
|
|
379
|
+
type: "runSucceeded";
|
|
379
380
|
payload: {
|
|
380
381
|
outputRef: {
|
|
381
382
|
outputHash: string;
|
|
@@ -389,12 +390,11 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
389
390
|
schemaVersion: number;
|
|
390
391
|
bytes: number;
|
|
391
392
|
};
|
|
392
|
-
type: "runSucceeded";
|
|
393
393
|
runId: string;
|
|
394
394
|
schemaVersion: 1;
|
|
395
395
|
timestamp: number;
|
|
396
396
|
eventId: string;
|
|
397
|
-
actor: "system" | "
|
|
397
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
398
398
|
payloadHash?: string | undefined;
|
|
399
399
|
}>;
|
|
400
400
|
export declare const RunFailedEventSchema: z.ZodObject<{
|
|
@@ -428,6 +428,7 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
428
428
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
429
429
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
430
430
|
}, "strip", z.ZodTypeAny, {
|
|
431
|
+
type: "runFailed";
|
|
431
432
|
payload: {
|
|
432
433
|
failedNodeId: string;
|
|
433
434
|
rootCauseEventId: string;
|
|
@@ -436,14 +437,14 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
436
437
|
schemaVersion: number;
|
|
437
438
|
bytes: number;
|
|
438
439
|
};
|
|
439
|
-
type: "runFailed";
|
|
440
440
|
runId: string;
|
|
441
441
|
schemaVersion: 1;
|
|
442
442
|
timestamp: number;
|
|
443
443
|
eventId: string;
|
|
444
|
-
actor: "system" | "
|
|
444
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
445
445
|
payloadHash?: string | undefined;
|
|
446
446
|
}, {
|
|
447
|
+
type: "runFailed";
|
|
447
448
|
payload: {
|
|
448
449
|
failedNodeId: string;
|
|
449
450
|
rootCauseEventId: string;
|
|
@@ -452,12 +453,11 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
452
453
|
schemaVersion: number;
|
|
453
454
|
bytes: number;
|
|
454
455
|
};
|
|
455
|
-
type: "runFailed";
|
|
456
456
|
runId: string;
|
|
457
457
|
schemaVersion: 1;
|
|
458
458
|
timestamp: number;
|
|
459
459
|
eventId: string;
|
|
460
|
-
actor: "system" | "
|
|
460
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
461
461
|
payloadHash?: string | undefined;
|
|
462
462
|
}>;
|
|
463
463
|
export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
@@ -488,6 +488,7 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
488
488
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
489
489
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
490
490
|
}, "strip", z.ZodTypeAny, {
|
|
491
|
+
type: "runCanceled";
|
|
491
492
|
payload: {
|
|
492
493
|
cancelOriginEventId: string;
|
|
493
494
|
} | {
|
|
@@ -495,14 +496,14 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
495
496
|
schemaVersion: number;
|
|
496
497
|
bytes: number;
|
|
497
498
|
};
|
|
498
|
-
type: "runCanceled";
|
|
499
499
|
runId: string;
|
|
500
500
|
schemaVersion: 1;
|
|
501
501
|
timestamp: number;
|
|
502
502
|
eventId: string;
|
|
503
|
-
actor: "system" | "
|
|
503
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
504
504
|
payloadHash?: string | undefined;
|
|
505
505
|
}, {
|
|
506
|
+
type: "runCanceled";
|
|
506
507
|
payload: {
|
|
507
508
|
cancelOriginEventId: string;
|
|
508
509
|
} | {
|
|
@@ -510,12 +511,11 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
510
511
|
schemaVersion: number;
|
|
511
512
|
bytes: number;
|
|
512
513
|
};
|
|
513
|
-
type: "runCanceled";
|
|
514
514
|
runId: string;
|
|
515
515
|
schemaVersion: 1;
|
|
516
516
|
timestamp: number;
|
|
517
517
|
eventId: string;
|
|
518
|
-
actor: "system" | "
|
|
518
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
519
519
|
payloadHash?: string | undefined;
|
|
520
520
|
}>;
|
|
521
521
|
export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
@@ -552,6 +552,7 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
552
552
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
553
553
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
554
554
|
}, "strip", z.ZodTypeAny, {
|
|
555
|
+
type: "nodeWaiting";
|
|
555
556
|
payload: {
|
|
556
557
|
nodeId: string;
|
|
557
558
|
waitReason: string;
|
|
@@ -561,14 +562,14 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
561
562
|
schemaVersion: number;
|
|
562
563
|
bytes: number;
|
|
563
564
|
};
|
|
564
|
-
type: "nodeWaiting";
|
|
565
565
|
runId: string;
|
|
566
566
|
schemaVersion: 1;
|
|
567
567
|
timestamp: number;
|
|
568
568
|
eventId: string;
|
|
569
|
-
actor: "system" | "
|
|
569
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
570
570
|
payloadHash?: string | undefined;
|
|
571
571
|
}, {
|
|
572
|
+
type: "nodeWaiting";
|
|
572
573
|
payload: {
|
|
573
574
|
nodeId: string;
|
|
574
575
|
waitReason: string;
|
|
@@ -578,12 +579,11 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
578
579
|
schemaVersion: number;
|
|
579
580
|
bytes: number;
|
|
580
581
|
};
|
|
581
|
-
type: "nodeWaiting";
|
|
582
582
|
runId: string;
|
|
583
583
|
schemaVersion: 1;
|
|
584
584
|
timestamp: number;
|
|
585
585
|
eventId: string;
|
|
586
|
-
actor: "system" | "
|
|
586
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
587
587
|
payloadHash?: string | undefined;
|
|
588
588
|
}>;
|
|
589
589
|
export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
@@ -620,6 +620,7 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
620
620
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
621
621
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
622
622
|
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
type: "nodeRetrying";
|
|
623
624
|
payload: {
|
|
624
625
|
nodeId: string;
|
|
625
626
|
lastAttemptId: string;
|
|
@@ -629,14 +630,14 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
629
630
|
schemaVersion: number;
|
|
630
631
|
bytes: number;
|
|
631
632
|
};
|
|
632
|
-
type: "nodeRetrying";
|
|
633
633
|
runId: string;
|
|
634
634
|
schemaVersion: 1;
|
|
635
635
|
timestamp: number;
|
|
636
636
|
eventId: string;
|
|
637
|
-
actor: "system" | "
|
|
637
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
638
638
|
payloadHash?: string | undefined;
|
|
639
639
|
}, {
|
|
640
|
+
type: "nodeRetrying";
|
|
640
641
|
payload: {
|
|
641
642
|
nodeId: string;
|
|
642
643
|
lastAttemptId: string;
|
|
@@ -646,12 +647,11 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
646
647
|
schemaVersion: number;
|
|
647
648
|
bytes: number;
|
|
648
649
|
};
|
|
649
|
-
type: "nodeRetrying";
|
|
650
650
|
runId: string;
|
|
651
651
|
schemaVersion: 1;
|
|
652
652
|
timestamp: number;
|
|
653
653
|
eventId: string;
|
|
654
|
-
actor: "system" | "
|
|
654
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
655
655
|
payloadHash?: string | undefined;
|
|
656
656
|
}>;
|
|
657
657
|
export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
@@ -685,6 +685,7 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
685
685
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
686
686
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
688
|
+
type: "nodeSucceeded";
|
|
688
689
|
payload: {
|
|
689
690
|
nodeId: string;
|
|
690
691
|
lastActivityId: string;
|
|
@@ -693,14 +694,14 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
693
694
|
schemaVersion: number;
|
|
694
695
|
bytes: number;
|
|
695
696
|
};
|
|
696
|
-
type: "nodeSucceeded";
|
|
697
697
|
runId: string;
|
|
698
698
|
schemaVersion: 1;
|
|
699
699
|
timestamp: number;
|
|
700
700
|
eventId: string;
|
|
701
|
-
actor: "system" | "
|
|
701
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
702
702
|
payloadHash?: string | undefined;
|
|
703
703
|
}, {
|
|
704
|
+
type: "nodeSucceeded";
|
|
704
705
|
payload: {
|
|
705
706
|
nodeId: string;
|
|
706
707
|
lastActivityId: string;
|
|
@@ -709,12 +710,11 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
709
710
|
schemaVersion: number;
|
|
710
711
|
bytes: number;
|
|
711
712
|
};
|
|
712
|
-
type: "nodeSucceeded";
|
|
713
713
|
runId: string;
|
|
714
714
|
schemaVersion: 1;
|
|
715
715
|
timestamp: number;
|
|
716
716
|
eventId: string;
|
|
717
|
-
actor: "system" | "
|
|
717
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
718
718
|
payloadHash?: string | undefined;
|
|
719
719
|
}>;
|
|
720
720
|
export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
@@ -751,6 +751,7 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
751
751
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
752
752
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
753
753
|
}, "strip", z.ZodTypeAny, {
|
|
754
|
+
type: "nodeFailed";
|
|
754
755
|
payload: {
|
|
755
756
|
nodeId: string;
|
|
756
757
|
errorClass: "retryable" | "fatal" | "userFault" | "manual";
|
|
@@ -760,14 +761,14 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
760
761
|
schemaVersion: number;
|
|
761
762
|
bytes: number;
|
|
762
763
|
};
|
|
763
|
-
type: "nodeFailed";
|
|
764
764
|
runId: string;
|
|
765
765
|
schemaVersion: 1;
|
|
766
766
|
timestamp: number;
|
|
767
767
|
eventId: string;
|
|
768
|
-
actor: "system" | "
|
|
768
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
769
769
|
payloadHash?: string | undefined;
|
|
770
770
|
}, {
|
|
771
|
+
type: "nodeFailed";
|
|
771
772
|
payload: {
|
|
772
773
|
nodeId: string;
|
|
773
774
|
errorClass: "retryable" | "fatal" | "userFault" | "manual";
|
|
@@ -777,12 +778,11 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
777
778
|
schemaVersion: number;
|
|
778
779
|
bytes: number;
|
|
779
780
|
};
|
|
780
|
-
type: "nodeFailed";
|
|
781
781
|
runId: string;
|
|
782
782
|
schemaVersion: 1;
|
|
783
783
|
timestamp: number;
|
|
784
784
|
eventId: string;
|
|
785
|
-
actor: "system" | "
|
|
785
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
786
786
|
payloadHash?: string | undefined;
|
|
787
787
|
}>;
|
|
788
788
|
export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
@@ -816,6 +816,7 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
816
816
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
817
817
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
818
818
|
}, "strip", z.ZodTypeAny, {
|
|
819
|
+
type: "nodeSkipped";
|
|
819
820
|
payload: {
|
|
820
821
|
nodeId: string;
|
|
821
822
|
conditionEventId: string;
|
|
@@ -824,14 +825,14 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
824
825
|
schemaVersion: number;
|
|
825
826
|
bytes: number;
|
|
826
827
|
};
|
|
827
|
-
type: "nodeSkipped";
|
|
828
828
|
runId: string;
|
|
829
829
|
schemaVersion: 1;
|
|
830
830
|
timestamp: number;
|
|
831
831
|
eventId: string;
|
|
832
|
-
actor: "system" | "
|
|
832
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
833
833
|
payloadHash?: string | undefined;
|
|
834
834
|
}, {
|
|
835
|
+
type: "nodeSkipped";
|
|
835
836
|
payload: {
|
|
836
837
|
nodeId: string;
|
|
837
838
|
conditionEventId: string;
|
|
@@ -840,12 +841,11 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
840
841
|
schemaVersion: number;
|
|
841
842
|
bytes: number;
|
|
842
843
|
};
|
|
843
|
-
type: "nodeSkipped";
|
|
844
844
|
runId: string;
|
|
845
845
|
schemaVersion: 1;
|
|
846
846
|
timestamp: number;
|
|
847
847
|
eventId: string;
|
|
848
|
-
actor: "system" | "
|
|
848
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
849
849
|
payloadHash?: string | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
@@ -879,6 +879,7 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
879
879
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
880
880
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
881
881
|
}, "strip", z.ZodTypeAny, {
|
|
882
|
+
type: "nodeCanceled";
|
|
882
883
|
payload: {
|
|
883
884
|
nodeId: string;
|
|
884
885
|
cancelOriginEventId: string;
|
|
@@ -887,14 +888,14 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
887
888
|
schemaVersion: number;
|
|
888
889
|
bytes: number;
|
|
889
890
|
};
|
|
890
|
-
type: "nodeCanceled";
|
|
891
891
|
runId: string;
|
|
892
892
|
schemaVersion: 1;
|
|
893
893
|
timestamp: number;
|
|
894
894
|
eventId: string;
|
|
895
|
-
actor: "system" | "
|
|
895
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
896
896
|
payloadHash?: string | undefined;
|
|
897
897
|
}, {
|
|
898
|
+
type: "nodeCanceled";
|
|
898
899
|
payload: {
|
|
899
900
|
nodeId: string;
|
|
900
901
|
cancelOriginEventId: string;
|
|
@@ -903,12 +904,11 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
903
904
|
schemaVersion: number;
|
|
904
905
|
bytes: number;
|
|
905
906
|
};
|
|
906
|
-
type: "nodeCanceled";
|
|
907
907
|
runId: string;
|
|
908
908
|
schemaVersion: 1;
|
|
909
909
|
timestamp: number;
|
|
910
910
|
eventId: string;
|
|
911
|
-
actor: "system" | "
|
|
911
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
912
912
|
payloadHash?: string | undefined;
|
|
913
913
|
}>;
|
|
914
914
|
export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
@@ -945,6 +945,7 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
945
945
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
946
946
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
947
947
|
}, "strip", z.ZodTypeAny, {
|
|
948
|
+
type: "activityRunning";
|
|
948
949
|
payload: {
|
|
949
950
|
attemptId: string;
|
|
950
951
|
leaseId: string;
|
|
@@ -954,14 +955,14 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
954
955
|
schemaVersion: number;
|
|
955
956
|
bytes: number;
|
|
956
957
|
};
|
|
957
|
-
type: "activityRunning";
|
|
958
958
|
runId: string;
|
|
959
959
|
schemaVersion: 1;
|
|
960
960
|
timestamp: number;
|
|
961
961
|
eventId: string;
|
|
962
|
-
actor: "system" | "
|
|
962
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
963
963
|
payloadHash?: string | undefined;
|
|
964
964
|
}, {
|
|
965
|
+
type: "activityRunning";
|
|
965
966
|
payload: {
|
|
966
967
|
attemptId: string;
|
|
967
968
|
leaseId: string;
|
|
@@ -971,12 +972,11 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
971
972
|
schemaVersion: number;
|
|
972
973
|
bytes: number;
|
|
973
974
|
};
|
|
974
|
-
type: "activityRunning";
|
|
975
975
|
runId: string;
|
|
976
976
|
schemaVersion: 1;
|
|
977
977
|
timestamp: number;
|
|
978
978
|
eventId: string;
|
|
979
|
-
actor: "system" | "
|
|
979
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
980
980
|
payloadHash?: string | undefined;
|
|
981
981
|
}>;
|
|
982
982
|
export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
@@ -1010,6 +1010,7 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
1010
1010
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1011
1011
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1012
1012
|
}, "strip", z.ZodTypeAny, {
|
|
1013
|
+
type: "activityWaiting";
|
|
1013
1014
|
payload: {
|
|
1014
1015
|
reason: string;
|
|
1015
1016
|
activityId: string;
|
|
@@ -1018,14 +1019,14 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
1018
1019
|
schemaVersion: number;
|
|
1019
1020
|
bytes: number;
|
|
1020
1021
|
};
|
|
1021
|
-
type: "activityWaiting";
|
|
1022
1022
|
runId: string;
|
|
1023
1023
|
schemaVersion: 1;
|
|
1024
1024
|
timestamp: number;
|
|
1025
1025
|
eventId: string;
|
|
1026
|
-
actor: "system" | "
|
|
1026
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1027
1027
|
payloadHash?: string | undefined;
|
|
1028
1028
|
}, {
|
|
1029
|
+
type: "activityWaiting";
|
|
1029
1030
|
payload: {
|
|
1030
1031
|
reason: string;
|
|
1031
1032
|
activityId: string;
|
|
@@ -1034,12 +1035,11 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
1034
1035
|
schemaVersion: number;
|
|
1035
1036
|
bytes: number;
|
|
1036
1037
|
};
|
|
1037
|
-
type: "activityWaiting";
|
|
1038
1038
|
runId: string;
|
|
1039
1039
|
schemaVersion: 1;
|
|
1040
1040
|
timestamp: number;
|
|
1041
1041
|
eventId: string;
|
|
1042
|
-
actor: "system" | "
|
|
1042
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1043
1043
|
payloadHash?: string | undefined;
|
|
1044
1044
|
}>;
|
|
1045
1045
|
export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
@@ -1082,6 +1082,7 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1082
1082
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1083
1083
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1084
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1085
|
+
type: "activityTimedOut";
|
|
1085
1086
|
payload: {
|
|
1086
1087
|
reason: "LeaseExpired";
|
|
1087
1088
|
attemptId: string;
|
|
@@ -1093,14 +1094,14 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1093
1094
|
schemaVersion: number;
|
|
1094
1095
|
bytes: number;
|
|
1095
1096
|
};
|
|
1096
|
-
type: "activityTimedOut";
|
|
1097
1097
|
runId: string;
|
|
1098
1098
|
schemaVersion: 1;
|
|
1099
1099
|
timestamp: number;
|
|
1100
1100
|
eventId: string;
|
|
1101
|
-
actor: "system" | "
|
|
1101
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1102
1102
|
payloadHash?: string | undefined;
|
|
1103
1103
|
}, {
|
|
1104
|
+
type: "activityTimedOut";
|
|
1104
1105
|
payload: {
|
|
1105
1106
|
reason: "LeaseExpired";
|
|
1106
1107
|
attemptId: string;
|
|
@@ -1112,12 +1113,11 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1112
1113
|
schemaVersion: number;
|
|
1113
1114
|
bytes: number;
|
|
1114
1115
|
};
|
|
1115
|
-
type: "activityTimedOut";
|
|
1116
1116
|
runId: string;
|
|
1117
1117
|
schemaVersion: 1;
|
|
1118
1118
|
timestamp: number;
|
|
1119
1119
|
eventId: string;
|
|
1120
|
-
actor: "system" | "
|
|
1120
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1121
1121
|
payloadHash?: string | undefined;
|
|
1122
1122
|
}>;
|
|
1123
1123
|
export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
@@ -1151,6 +1151,7 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1151
1151
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1152
1152
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
|
+
type: "loopStarted";
|
|
1154
1155
|
payload: {
|
|
1155
1156
|
maxIterations: number;
|
|
1156
1157
|
loopId: string;
|
|
@@ -1159,14 +1160,14 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1159
1160
|
schemaVersion: number;
|
|
1160
1161
|
bytes: number;
|
|
1161
1162
|
};
|
|
1162
|
-
type: "loopStarted";
|
|
1163
1163
|
runId: string;
|
|
1164
1164
|
schemaVersion: 1;
|
|
1165
1165
|
timestamp: number;
|
|
1166
1166
|
eventId: string;
|
|
1167
|
-
actor: "system" | "
|
|
1167
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1168
1168
|
payloadHash?: string | undefined;
|
|
1169
1169
|
}, {
|
|
1170
|
+
type: "loopStarted";
|
|
1170
1171
|
payload: {
|
|
1171
1172
|
maxIterations: number;
|
|
1172
1173
|
loopId: string;
|
|
@@ -1175,12 +1176,11 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1175
1176
|
schemaVersion: number;
|
|
1176
1177
|
bytes: number;
|
|
1177
1178
|
};
|
|
1178
|
-
type: "loopStarted";
|
|
1179
1179
|
runId: string;
|
|
1180
1180
|
schemaVersion: 1;
|
|
1181
1181
|
timestamp: number;
|
|
1182
1182
|
eventId: string;
|
|
1183
|
-
actor: "system" | "
|
|
1183
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1184
1184
|
payloadHash?: string | undefined;
|
|
1185
1185
|
}>;
|
|
1186
1186
|
export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
@@ -1217,6 +1217,7 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1217
1217
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1218
1218
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1219
1219
|
}, "strip", z.ZodTypeAny, {
|
|
1220
|
+
type: "loopIterationStarted";
|
|
1220
1221
|
payload: {
|
|
1221
1222
|
loopId: string;
|
|
1222
1223
|
iteration: number;
|
|
@@ -1226,14 +1227,14 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1226
1227
|
schemaVersion: number;
|
|
1227
1228
|
bytes: number;
|
|
1228
1229
|
};
|
|
1229
|
-
type: "loopIterationStarted";
|
|
1230
1230
|
runId: string;
|
|
1231
1231
|
schemaVersion: 1;
|
|
1232
1232
|
timestamp: number;
|
|
1233
1233
|
eventId: string;
|
|
1234
|
-
actor: "system" | "
|
|
1234
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1235
1235
|
payloadHash?: string | undefined;
|
|
1236
1236
|
}, {
|
|
1237
|
+
type: "loopIterationStarted";
|
|
1237
1238
|
payload: {
|
|
1238
1239
|
loopId: string;
|
|
1239
1240
|
iteration: number;
|
|
@@ -1243,12 +1244,11 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1243
1244
|
schemaVersion: number;
|
|
1244
1245
|
bytes: number;
|
|
1245
1246
|
};
|
|
1246
|
-
type: "loopIterationStarted";
|
|
1247
1247
|
runId: string;
|
|
1248
1248
|
schemaVersion: 1;
|
|
1249
1249
|
timestamp: number;
|
|
1250
1250
|
eventId: string;
|
|
1251
|
-
actor: "system" | "
|
|
1251
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1252
1252
|
payloadHash?: string | undefined;
|
|
1253
1253
|
}>;
|
|
1254
1254
|
export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
@@ -1300,6 +1300,7 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1300
1300
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1301
1301
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1302
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1303
|
+
type: "loopIterationFinished";
|
|
1303
1304
|
payload: {
|
|
1304
1305
|
loopId: string;
|
|
1305
1306
|
iteration: number;
|
|
@@ -1314,14 +1315,14 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1314
1315
|
schemaVersion: number;
|
|
1315
1316
|
bytes: number;
|
|
1316
1317
|
};
|
|
1317
|
-
type: "loopIterationFinished";
|
|
1318
1318
|
runId: string;
|
|
1319
1319
|
schemaVersion: 1;
|
|
1320
1320
|
timestamp: number;
|
|
1321
1321
|
eventId: string;
|
|
1322
|
-
actor: "system" | "
|
|
1322
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1323
1323
|
payloadHash?: string | undefined;
|
|
1324
1324
|
}, {
|
|
1325
|
+
type: "loopIterationFinished";
|
|
1325
1326
|
payload: {
|
|
1326
1327
|
loopId: string;
|
|
1327
1328
|
iteration: number;
|
|
@@ -1336,12 +1337,11 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1336
1337
|
schemaVersion: number;
|
|
1337
1338
|
bytes: number;
|
|
1338
1339
|
};
|
|
1339
|
-
type: "loopIterationFinished";
|
|
1340
1340
|
runId: string;
|
|
1341
1341
|
schemaVersion: 1;
|
|
1342
1342
|
timestamp: number;
|
|
1343
1343
|
eventId: string;
|
|
1344
|
-
actor: "system" | "
|
|
1344
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1345
1345
|
payloadHash?: string | undefined;
|
|
1346
1346
|
}>;
|
|
1347
1347
|
export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
@@ -1417,6 +1417,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1417
1417
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1418
1418
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1419
1419
|
}, "strip", z.ZodTypeAny, {
|
|
1420
|
+
type: "loopFinished";
|
|
1420
1421
|
payload: {
|
|
1421
1422
|
loopId: string;
|
|
1422
1423
|
resolution: "cancelled" | "timeout" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
@@ -1435,14 +1436,14 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1435
1436
|
schemaVersion: number;
|
|
1436
1437
|
bytes: number;
|
|
1437
1438
|
};
|
|
1438
|
-
type: "loopFinished";
|
|
1439
1439
|
runId: string;
|
|
1440
1440
|
schemaVersion: 1;
|
|
1441
1441
|
timestamp: number;
|
|
1442
1442
|
eventId: string;
|
|
1443
|
-
actor: "system" | "
|
|
1443
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1444
1444
|
payloadHash?: string | undefined;
|
|
1445
1445
|
}, {
|
|
1446
|
+
type: "loopFinished";
|
|
1446
1447
|
payload: {
|
|
1447
1448
|
loopId: string;
|
|
1448
1449
|
resolution: "cancelled" | "timeout" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
@@ -1461,12 +1462,11 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1461
1462
|
schemaVersion: number;
|
|
1462
1463
|
bytes: number;
|
|
1463
1464
|
};
|
|
1464
|
-
type: "loopFinished";
|
|
1465
1465
|
runId: string;
|
|
1466
1466
|
schemaVersion: 1;
|
|
1467
1467
|
timestamp: number;
|
|
1468
1468
|
eventId: string;
|
|
1469
|
-
actor: "system" | "
|
|
1469
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1470
1470
|
payloadHash?: string | undefined;
|
|
1471
1471
|
}>;
|
|
1472
1472
|
export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
@@ -1506,6 +1506,7 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1506
1506
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1507
1507
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1508
1508
|
}, "strip", z.ZodTypeAny, {
|
|
1509
|
+
type: "conditionEvaluated";
|
|
1509
1510
|
payload: {
|
|
1510
1511
|
nodeId: string;
|
|
1511
1512
|
conditionExpr: string;
|
|
@@ -1516,14 +1517,14 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1516
1517
|
schemaVersion: number;
|
|
1517
1518
|
bytes: number;
|
|
1518
1519
|
};
|
|
1519
|
-
type: "conditionEvaluated";
|
|
1520
1520
|
runId: string;
|
|
1521
1521
|
schemaVersion: 1;
|
|
1522
1522
|
timestamp: number;
|
|
1523
1523
|
eventId: string;
|
|
1524
|
-
actor: "system" | "
|
|
1524
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1525
1525
|
payloadHash?: string | undefined;
|
|
1526
1526
|
}, {
|
|
1527
|
+
type: "conditionEvaluated";
|
|
1527
1528
|
payload: {
|
|
1528
1529
|
nodeId: string;
|
|
1529
1530
|
conditionExpr: string;
|
|
@@ -1534,12 +1535,11 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1534
1535
|
schemaVersion: number;
|
|
1535
1536
|
bytes: number;
|
|
1536
1537
|
};
|
|
1537
|
-
type: "conditionEvaluated";
|
|
1538
1538
|
runId: string;
|
|
1539
1539
|
schemaVersion: 1;
|
|
1540
1540
|
timestamp: number;
|
|
1541
1541
|
eventId: string;
|
|
1542
|
-
actor: "system" | "
|
|
1542
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1543
1543
|
payloadHash?: string | undefined;
|
|
1544
1544
|
}>;
|
|
1545
1545
|
export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
@@ -1582,6 +1582,7 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1582
1582
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1583
1583
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1584
1584
|
}, "strip", z.ZodTypeAny, {
|
|
1585
|
+
type: "leaseSigned";
|
|
1585
1586
|
payload: {
|
|
1586
1587
|
timeoutMs: number;
|
|
1587
1588
|
attemptId: string;
|
|
@@ -1593,14 +1594,14 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1593
1594
|
schemaVersion: number;
|
|
1594
1595
|
bytes: number;
|
|
1595
1596
|
};
|
|
1596
|
-
type: "leaseSigned";
|
|
1597
1597
|
runId: string;
|
|
1598
1598
|
schemaVersion: 1;
|
|
1599
1599
|
timestamp: number;
|
|
1600
1600
|
eventId: string;
|
|
1601
|
-
actor: "system" | "
|
|
1601
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1602
1602
|
payloadHash?: string | undefined;
|
|
1603
1603
|
}, {
|
|
1604
|
+
type: "leaseSigned";
|
|
1604
1605
|
payload: {
|
|
1605
1606
|
timeoutMs: number;
|
|
1606
1607
|
attemptId: string;
|
|
@@ -1612,12 +1613,11 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1612
1613
|
schemaVersion: number;
|
|
1613
1614
|
bytes: number;
|
|
1614
1615
|
};
|
|
1615
|
-
type: "leaseSigned";
|
|
1616
1616
|
runId: string;
|
|
1617
1617
|
schemaVersion: 1;
|
|
1618
1618
|
timestamp: number;
|
|
1619
1619
|
eventId: string;
|
|
1620
|
-
actor: "system" | "
|
|
1620
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1621
1621
|
payloadHash?: string | undefined;
|
|
1622
1622
|
}>;
|
|
1623
1623
|
export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
@@ -1690,6 +1690,7 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1690
1690
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1691
1691
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1692
1692
|
}, "strip", z.ZodTypeAny, {
|
|
1693
|
+
type: "attemptCreated";
|
|
1693
1694
|
payload: {
|
|
1694
1695
|
nodeId: string;
|
|
1695
1696
|
attemptId: string;
|
|
@@ -1707,14 +1708,14 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1707
1708
|
schemaVersion: number;
|
|
1708
1709
|
bytes: number;
|
|
1709
1710
|
};
|
|
1710
|
-
type: "attemptCreated";
|
|
1711
1711
|
runId: string;
|
|
1712
1712
|
schemaVersion: 1;
|
|
1713
1713
|
timestamp: number;
|
|
1714
1714
|
eventId: string;
|
|
1715
|
-
actor: "system" | "
|
|
1715
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1716
1716
|
payloadHash?: string | undefined;
|
|
1717
1717
|
}, {
|
|
1718
|
+
type: "attemptCreated";
|
|
1718
1719
|
payload: {
|
|
1719
1720
|
nodeId: string;
|
|
1720
1721
|
attemptId: string;
|
|
@@ -1732,12 +1733,11 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1732
1733
|
schemaVersion: number;
|
|
1733
1734
|
bytes: number;
|
|
1734
1735
|
};
|
|
1735
|
-
type: "attemptCreated";
|
|
1736
1736
|
runId: string;
|
|
1737
1737
|
schemaVersion: 1;
|
|
1738
1738
|
timestamp: number;
|
|
1739
1739
|
eventId: string;
|
|
1740
|
-
actor: "system" | "
|
|
1740
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1741
1741
|
payloadHash?: string | undefined;
|
|
1742
1742
|
}>;
|
|
1743
1743
|
export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
@@ -1802,6 +1802,7 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1802
1802
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1803
1803
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1804
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1805
|
+
type: "backoffScheduled";
|
|
1805
1806
|
payload: {
|
|
1806
1807
|
nodeId: string;
|
|
1807
1808
|
lastAttemptId: string;
|
|
@@ -1817,14 +1818,14 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1817
1818
|
schemaVersion: number;
|
|
1818
1819
|
bytes: number;
|
|
1819
1820
|
};
|
|
1820
|
-
type: "backoffScheduled";
|
|
1821
1821
|
runId: string;
|
|
1822
1822
|
schemaVersion: 1;
|
|
1823
1823
|
timestamp: number;
|
|
1824
1824
|
eventId: string;
|
|
1825
|
-
actor: "system" | "
|
|
1825
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1826
1826
|
payloadHash?: string | undefined;
|
|
1827
1827
|
}, {
|
|
1828
|
+
type: "backoffScheduled";
|
|
1828
1829
|
payload: {
|
|
1829
1830
|
nodeId: string;
|
|
1830
1831
|
lastAttemptId: string;
|
|
@@ -1840,12 +1841,11 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1840
1841
|
schemaVersion: number;
|
|
1841
1842
|
bytes: number;
|
|
1842
1843
|
};
|
|
1843
|
-
type: "backoffScheduled";
|
|
1844
1844
|
runId: string;
|
|
1845
1845
|
schemaVersion: 1;
|
|
1846
1846
|
timestamp: number;
|
|
1847
1847
|
eventId: string;
|
|
1848
|
-
actor: "system" | "
|
|
1848
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1849
1849
|
payloadHash?: string | undefined;
|
|
1850
1850
|
}>;
|
|
1851
1851
|
export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
@@ -1879,6 +1879,7 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1879
1879
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1880
1880
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1881
1881
|
}, "strip", z.ZodTypeAny, {
|
|
1882
|
+
type: "backoffElapsed";
|
|
1882
1883
|
payload: {
|
|
1883
1884
|
nodeId: string;
|
|
1884
1885
|
scheduledAttemptId: string;
|
|
@@ -1887,14 +1888,14 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1887
1888
|
schemaVersion: number;
|
|
1888
1889
|
bytes: number;
|
|
1889
1890
|
};
|
|
1890
|
-
type: "backoffElapsed";
|
|
1891
1891
|
runId: string;
|
|
1892
1892
|
schemaVersion: 1;
|
|
1893
1893
|
timestamp: number;
|
|
1894
1894
|
eventId: string;
|
|
1895
|
-
actor: "system" | "
|
|
1895
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1896
1896
|
payloadHash?: string | undefined;
|
|
1897
1897
|
}, {
|
|
1898
|
+
type: "backoffElapsed";
|
|
1898
1899
|
payload: {
|
|
1899
1900
|
nodeId: string;
|
|
1900
1901
|
scheduledAttemptId: string;
|
|
@@ -1903,12 +1904,11 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1903
1904
|
schemaVersion: number;
|
|
1904
1905
|
bytes: number;
|
|
1905
1906
|
};
|
|
1906
|
-
type: "backoffElapsed";
|
|
1907
1907
|
runId: string;
|
|
1908
1908
|
schemaVersion: 1;
|
|
1909
1909
|
timestamp: number;
|
|
1910
1910
|
eventId: string;
|
|
1911
|
-
actor: "system" | "
|
|
1911
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1912
1912
|
payloadHash?: string | undefined;
|
|
1913
1913
|
}>;
|
|
1914
1914
|
export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
@@ -1954,6 +1954,7 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1954
1954
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
1955
1955
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1956
1956
|
}, "strip", z.ZodTypeAny, {
|
|
1957
|
+
type: "effectAttempted";
|
|
1957
1958
|
payload: {
|
|
1958
1959
|
provider: string;
|
|
1959
1960
|
attemptId: string;
|
|
@@ -1966,14 +1967,14 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1966
1967
|
schemaVersion: number;
|
|
1967
1968
|
bytes: number;
|
|
1968
1969
|
};
|
|
1969
|
-
type: "effectAttempted";
|
|
1970
1970
|
runId: string;
|
|
1971
1971
|
schemaVersion: 1;
|
|
1972
1972
|
timestamp: number;
|
|
1973
1973
|
eventId: string;
|
|
1974
|
-
actor: "system" | "
|
|
1974
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1975
1975
|
payloadHash?: string | undefined;
|
|
1976
1976
|
}, {
|
|
1977
|
+
type: "effectAttempted";
|
|
1977
1978
|
payload: {
|
|
1978
1979
|
provider: string;
|
|
1979
1980
|
attemptId: string;
|
|
@@ -1986,12 +1987,11 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1986
1987
|
schemaVersion: number;
|
|
1987
1988
|
bytes: number;
|
|
1988
1989
|
};
|
|
1989
|
-
type: "effectAttempted";
|
|
1990
1990
|
runId: string;
|
|
1991
1991
|
schemaVersion: 1;
|
|
1992
1992
|
timestamp: number;
|
|
1993
1993
|
eventId: string;
|
|
1994
|
-
actor: "system" | "
|
|
1994
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1995
1995
|
payloadHash?: string | undefined;
|
|
1996
1996
|
}>;
|
|
1997
1997
|
export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
@@ -2061,6 +2061,7 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2061
2061
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2062
2062
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2063
2063
|
}, "strip", z.ZodTypeAny, {
|
|
2064
|
+
type: "activitySucceeded";
|
|
2064
2065
|
payload: {
|
|
2065
2066
|
attemptId: string;
|
|
2066
2067
|
activityId: string;
|
|
@@ -2077,14 +2078,14 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2077
2078
|
schemaVersion: number;
|
|
2078
2079
|
bytes: number;
|
|
2079
2080
|
};
|
|
2080
|
-
type: "activitySucceeded";
|
|
2081
2081
|
runId: string;
|
|
2082
2082
|
schemaVersion: 1;
|
|
2083
2083
|
timestamp: number;
|
|
2084
2084
|
eventId: string;
|
|
2085
|
-
actor: "system" | "
|
|
2085
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2086
2086
|
payloadHash?: string | undefined;
|
|
2087
2087
|
}, {
|
|
2088
|
+
type: "activitySucceeded";
|
|
2088
2089
|
payload: {
|
|
2089
2090
|
attemptId: string;
|
|
2090
2091
|
activityId: string;
|
|
@@ -2101,12 +2102,11 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2101
2102
|
schemaVersion: number;
|
|
2102
2103
|
bytes: number;
|
|
2103
2104
|
};
|
|
2104
|
-
type: "activitySucceeded";
|
|
2105
2105
|
runId: string;
|
|
2106
2106
|
schemaVersion: 1;
|
|
2107
2107
|
timestamp: number;
|
|
2108
2108
|
eventId: string;
|
|
2109
|
-
actor: "system" | "
|
|
2109
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2110
2110
|
payloadHash?: string | undefined;
|
|
2111
2111
|
}>;
|
|
2112
2112
|
export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
@@ -2168,6 +2168,7 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2168
2168
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2169
2169
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2170
2170
|
}, "strip", z.ZodTypeAny, {
|
|
2171
|
+
type: "activityFailed";
|
|
2171
2172
|
payload: {
|
|
2172
2173
|
error: {
|
|
2173
2174
|
errorCode: "IdempotencyConflict" | "InputValidationFailed" | "UnknownProviderError" | "ProviderRateLimited" | "NetworkError" | "LeaseExpired" | "WorkerCrashed" | "IdempotencyInputMismatch" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -2182,14 +2183,14 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2182
2183
|
schemaVersion: number;
|
|
2183
2184
|
bytes: number;
|
|
2184
2185
|
};
|
|
2185
|
-
type: "activityFailed";
|
|
2186
2186
|
runId: string;
|
|
2187
2187
|
schemaVersion: 1;
|
|
2188
2188
|
timestamp: number;
|
|
2189
2189
|
eventId: string;
|
|
2190
|
-
actor: "system" | "
|
|
2190
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2191
2191
|
payloadHash?: string | undefined;
|
|
2192
2192
|
}, {
|
|
2193
|
+
type: "activityFailed";
|
|
2193
2194
|
payload: {
|
|
2194
2195
|
error: {
|
|
2195
2196
|
errorCode: "IdempotencyConflict" | "InputValidationFailed" | "UnknownProviderError" | "ProviderRateLimited" | "NetworkError" | "LeaseExpired" | "WorkerCrashed" | "IdempotencyInputMismatch" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -2204,12 +2205,11 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2204
2205
|
schemaVersion: number;
|
|
2205
2206
|
bytes: number;
|
|
2206
2207
|
};
|
|
2207
|
-
type: "activityFailed";
|
|
2208
2208
|
runId: string;
|
|
2209
2209
|
schemaVersion: 1;
|
|
2210
2210
|
timestamp: number;
|
|
2211
2211
|
eventId: string;
|
|
2212
|
-
actor: "system" | "
|
|
2212
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2213
2213
|
payloadHash?: string | undefined;
|
|
2214
2214
|
}>;
|
|
2215
2215
|
export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
@@ -2294,6 +2294,7 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2294
2294
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2295
2295
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2296
2296
|
}, "strip", z.ZodTypeAny, {
|
|
2297
|
+
type: "waitCreated";
|
|
2297
2298
|
payload: {
|
|
2298
2299
|
nodeId: string;
|
|
2299
2300
|
activityId: string;
|
|
@@ -2315,14 +2316,14 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2315
2316
|
schemaVersion: number;
|
|
2316
2317
|
bytes: number;
|
|
2317
2318
|
};
|
|
2318
|
-
type: "waitCreated";
|
|
2319
2319
|
runId: string;
|
|
2320
2320
|
schemaVersion: 1;
|
|
2321
2321
|
timestamp: number;
|
|
2322
2322
|
eventId: string;
|
|
2323
|
-
actor: "system" | "
|
|
2323
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2324
2324
|
payloadHash?: string | undefined;
|
|
2325
2325
|
}, {
|
|
2326
|
+
type: "waitCreated";
|
|
2326
2327
|
payload: {
|
|
2327
2328
|
nodeId: string;
|
|
2328
2329
|
activityId: string;
|
|
@@ -2344,12 +2345,11 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2344
2345
|
schemaVersion: number;
|
|
2345
2346
|
bytes: number;
|
|
2346
2347
|
};
|
|
2347
|
-
type: "waitCreated";
|
|
2348
2348
|
runId: string;
|
|
2349
2349
|
schemaVersion: 1;
|
|
2350
2350
|
timestamp: number;
|
|
2351
2351
|
eventId: string;
|
|
2352
|
-
actor: "system" | "
|
|
2352
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2353
2353
|
payloadHash?: string | undefined;
|
|
2354
2354
|
}>;
|
|
2355
2355
|
export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
@@ -2389,6 +2389,7 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2389
2389
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2390
2390
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2391
2391
|
}, "strip", z.ZodTypeAny, {
|
|
2392
|
+
type: "waitResolved";
|
|
2392
2393
|
payload: {
|
|
2393
2394
|
resolution: "approved" | "rejected" | "external";
|
|
2394
2395
|
by: string;
|
|
@@ -2399,14 +2400,14 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2399
2400
|
schemaVersion: number;
|
|
2400
2401
|
bytes: number;
|
|
2401
2402
|
};
|
|
2402
|
-
type: "waitResolved";
|
|
2403
2403
|
runId: string;
|
|
2404
2404
|
schemaVersion: 1;
|
|
2405
2405
|
timestamp: number;
|
|
2406
2406
|
eventId: string;
|
|
2407
|
-
actor: "system" | "
|
|
2407
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2408
2408
|
payloadHash?: string | undefined;
|
|
2409
2409
|
}, {
|
|
2410
|
+
type: "waitResolved";
|
|
2410
2411
|
payload: {
|
|
2411
2412
|
resolution: "approved" | "rejected" | "external";
|
|
2412
2413
|
by: string;
|
|
@@ -2417,12 +2418,11 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2417
2418
|
schemaVersion: number;
|
|
2418
2419
|
bytes: number;
|
|
2419
2420
|
};
|
|
2420
|
-
type: "waitResolved";
|
|
2421
2421
|
runId: string;
|
|
2422
2422
|
schemaVersion: 1;
|
|
2423
2423
|
timestamp: number;
|
|
2424
2424
|
eventId: string;
|
|
2425
|
-
actor: "system" | "
|
|
2425
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2426
2426
|
payloadHash?: string | undefined;
|
|
2427
2427
|
}>;
|
|
2428
2428
|
export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
@@ -2459,6 +2459,7 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2459
2459
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2460
2460
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2461
2461
|
}, "strip", z.ZodTypeAny, {
|
|
2462
|
+
type: "waitDeadlineExceeded";
|
|
2462
2463
|
payload: {
|
|
2463
2464
|
deadlineAt: number;
|
|
2464
2465
|
activityId: string;
|
|
@@ -2468,14 +2469,14 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2468
2469
|
schemaVersion: number;
|
|
2469
2470
|
bytes: number;
|
|
2470
2471
|
};
|
|
2471
|
-
type: "waitDeadlineExceeded";
|
|
2472
2472
|
runId: string;
|
|
2473
2473
|
schemaVersion: 1;
|
|
2474
2474
|
timestamp: number;
|
|
2475
2475
|
eventId: string;
|
|
2476
|
-
actor: "system" | "
|
|
2476
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2477
2477
|
payloadHash?: string | undefined;
|
|
2478
2478
|
}, {
|
|
2479
|
+
type: "waitDeadlineExceeded";
|
|
2479
2480
|
payload: {
|
|
2480
2481
|
deadlineAt: number;
|
|
2481
2482
|
activityId: string;
|
|
@@ -2485,12 +2486,11 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2485
2486
|
schemaVersion: number;
|
|
2486
2487
|
bytes: number;
|
|
2487
2488
|
};
|
|
2488
|
-
type: "waitDeadlineExceeded";
|
|
2489
2489
|
runId: string;
|
|
2490
2490
|
schemaVersion: 1;
|
|
2491
2491
|
timestamp: number;
|
|
2492
2492
|
eventId: string;
|
|
2493
|
-
actor: "system" | "
|
|
2493
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2494
2494
|
payloadHash?: string | undefined;
|
|
2495
2495
|
}>;
|
|
2496
2496
|
export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
@@ -2527,7 +2527,6 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2527
2527
|
reason: z.ZodString;
|
|
2528
2528
|
by: z.ZodString;
|
|
2529
2529
|
}, "strip", z.ZodTypeAny, {
|
|
2530
|
-
reason: string;
|
|
2531
2530
|
target: {
|
|
2532
2531
|
kind: "run";
|
|
2533
2532
|
runId: string;
|
|
@@ -2538,9 +2537,9 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2538
2537
|
kind: "activity";
|
|
2539
2538
|
activityId: string;
|
|
2540
2539
|
};
|
|
2540
|
+
reason: string;
|
|
2541
2541
|
by: string;
|
|
2542
2542
|
}, {
|
|
2543
|
-
reason: string;
|
|
2544
2543
|
target: {
|
|
2545
2544
|
kind: "run";
|
|
2546
2545
|
runId: string;
|
|
@@ -2551,6 +2550,7 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2551
2550
|
kind: "activity";
|
|
2552
2551
|
activityId: string;
|
|
2553
2552
|
};
|
|
2553
|
+
reason: string;
|
|
2554
2554
|
by: string;
|
|
2555
2555
|
}>, z.ZodObject<{
|
|
2556
2556
|
ref: z.ZodString;
|
|
@@ -2572,8 +2572,8 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2572
2572
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2573
2573
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2574
2574
|
}, "strip", z.ZodTypeAny, {
|
|
2575
|
+
type: "cancelRequested";
|
|
2575
2576
|
payload: {
|
|
2576
|
-
reason: string;
|
|
2577
2577
|
target: {
|
|
2578
2578
|
kind: "run";
|
|
2579
2579
|
runId: string;
|
|
@@ -2584,22 +2584,22 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2584
2584
|
kind: "activity";
|
|
2585
2585
|
activityId: string;
|
|
2586
2586
|
};
|
|
2587
|
+
reason: string;
|
|
2587
2588
|
by: string;
|
|
2588
2589
|
} | {
|
|
2589
2590
|
ref: string;
|
|
2590
2591
|
schemaVersion: number;
|
|
2591
2592
|
bytes: number;
|
|
2592
2593
|
};
|
|
2593
|
-
type: "cancelRequested";
|
|
2594
2594
|
runId: string;
|
|
2595
2595
|
schemaVersion: 1;
|
|
2596
2596
|
timestamp: number;
|
|
2597
2597
|
eventId: string;
|
|
2598
|
-
actor: "system" | "
|
|
2598
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2599
2599
|
payloadHash?: string | undefined;
|
|
2600
2600
|
}, {
|
|
2601
|
+
type: "cancelRequested";
|
|
2601
2602
|
payload: {
|
|
2602
|
-
reason: string;
|
|
2603
2603
|
target: {
|
|
2604
2604
|
kind: "run";
|
|
2605
2605
|
runId: string;
|
|
@@ -2610,18 +2610,18 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2610
2610
|
kind: "activity";
|
|
2611
2611
|
activityId: string;
|
|
2612
2612
|
};
|
|
2613
|
+
reason: string;
|
|
2613
2614
|
by: string;
|
|
2614
2615
|
} | {
|
|
2615
2616
|
ref: string;
|
|
2616
2617
|
schemaVersion: number;
|
|
2617
2618
|
bytes: number;
|
|
2618
2619
|
};
|
|
2619
|
-
type: "cancelRequested";
|
|
2620
2620
|
runId: string;
|
|
2621
2621
|
schemaVersion: 1;
|
|
2622
2622
|
timestamp: number;
|
|
2623
2623
|
eventId: string;
|
|
2624
|
-
actor: "system" | "
|
|
2624
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2625
2625
|
payloadHash?: string | undefined;
|
|
2626
2626
|
}>;
|
|
2627
2627
|
export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
@@ -2700,6 +2700,7 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2700
2700
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2701
2701
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2702
2702
|
}, "strip", z.ZodTypeAny, {
|
|
2703
|
+
type: "cancelDelivered";
|
|
2703
2704
|
payload: {
|
|
2704
2705
|
target: {
|
|
2705
2706
|
kind: "run";
|
|
@@ -2717,14 +2718,14 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2717
2718
|
schemaVersion: number;
|
|
2718
2719
|
bytes: number;
|
|
2719
2720
|
};
|
|
2720
|
-
type: "cancelDelivered";
|
|
2721
2721
|
runId: string;
|
|
2722
2722
|
schemaVersion: 1;
|
|
2723
2723
|
timestamp: number;
|
|
2724
2724
|
eventId: string;
|
|
2725
|
-
actor: "system" | "
|
|
2725
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2726
2726
|
payloadHash?: string | undefined;
|
|
2727
2727
|
}, {
|
|
2728
|
+
type: "cancelDelivered";
|
|
2728
2729
|
payload: {
|
|
2729
2730
|
target: {
|
|
2730
2731
|
kind: "run";
|
|
@@ -2742,12 +2743,11 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2742
2743
|
schemaVersion: number;
|
|
2743
2744
|
bytes: number;
|
|
2744
2745
|
};
|
|
2745
|
-
type: "cancelDelivered";
|
|
2746
2746
|
runId: string;
|
|
2747
2747
|
schemaVersion: 1;
|
|
2748
2748
|
timestamp: number;
|
|
2749
2749
|
eventId: string;
|
|
2750
|
-
actor: "system" | "
|
|
2750
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2751
2751
|
payloadHash?: string | undefined;
|
|
2752
2752
|
}>;
|
|
2753
2753
|
export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
@@ -2784,6 +2784,7 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2784
2784
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2785
2785
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2786
2786
|
}, "strip", z.ZodTypeAny, {
|
|
2787
|
+
type: "activityCanceled";
|
|
2787
2788
|
payload: {
|
|
2788
2789
|
attemptId: string;
|
|
2789
2790
|
activityId: string;
|
|
@@ -2793,14 +2794,14 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2793
2794
|
schemaVersion: number;
|
|
2794
2795
|
bytes: number;
|
|
2795
2796
|
};
|
|
2796
|
-
type: "activityCanceled";
|
|
2797
2797
|
runId: string;
|
|
2798
2798
|
schemaVersion: 1;
|
|
2799
2799
|
timestamp: number;
|
|
2800
2800
|
eventId: string;
|
|
2801
|
-
actor: "system" | "
|
|
2801
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2802
2802
|
payloadHash?: string | undefined;
|
|
2803
2803
|
}, {
|
|
2804
|
+
type: "activityCanceled";
|
|
2804
2805
|
payload: {
|
|
2805
2806
|
attemptId: string;
|
|
2806
2807
|
activityId: string;
|
|
@@ -2810,12 +2811,11 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2810
2811
|
schemaVersion: number;
|
|
2811
2812
|
bytes: number;
|
|
2812
2813
|
};
|
|
2813
|
-
type: "activityCanceled";
|
|
2814
2814
|
runId: string;
|
|
2815
2815
|
schemaVersion: 1;
|
|
2816
2816
|
timestamp: number;
|
|
2817
2817
|
eventId: string;
|
|
2818
|
-
actor: "system" | "
|
|
2818
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2819
2819
|
payloadHash?: string | undefined;
|
|
2820
2820
|
}>;
|
|
2821
2821
|
export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
@@ -2849,6 +2849,7 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2849
2849
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2850
2850
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2851
2851
|
}, "strip", z.ZodTypeAny, {
|
|
2852
|
+
type: "workerLost";
|
|
2852
2853
|
payload: {
|
|
2853
2854
|
workerId: string;
|
|
2854
2855
|
lostActivityIds: string[];
|
|
@@ -2857,14 +2858,14 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2857
2858
|
schemaVersion: number;
|
|
2858
2859
|
bytes: number;
|
|
2859
2860
|
};
|
|
2860
|
-
type: "workerLost";
|
|
2861
2861
|
runId: string;
|
|
2862
2862
|
schemaVersion: 1;
|
|
2863
2863
|
timestamp: number;
|
|
2864
2864
|
eventId: string;
|
|
2865
|
-
actor: "system" | "
|
|
2865
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2866
2866
|
payloadHash?: string | undefined;
|
|
2867
2867
|
}, {
|
|
2868
|
+
type: "workerLost";
|
|
2868
2869
|
payload: {
|
|
2869
2870
|
workerId: string;
|
|
2870
2871
|
lostActivityIds: string[];
|
|
@@ -2873,12 +2874,11 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2873
2874
|
schemaVersion: number;
|
|
2874
2875
|
bytes: number;
|
|
2875
2876
|
};
|
|
2876
|
-
type: "workerLost";
|
|
2877
2877
|
runId: string;
|
|
2878
2878
|
schemaVersion: 1;
|
|
2879
2879
|
timestamp: number;
|
|
2880
2880
|
eventId: string;
|
|
2881
|
-
actor: "system" | "
|
|
2881
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2882
2882
|
payloadHash?: string | undefined;
|
|
2883
2883
|
}>;
|
|
2884
2884
|
export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
@@ -2912,6 +2912,7 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2912
2912
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2913
2913
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2914
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2915
|
+
type: "resumeStarted";
|
|
2915
2916
|
payload: {
|
|
2916
2917
|
daemonId: string;
|
|
2917
2918
|
lastSeenEventId: string;
|
|
@@ -2920,14 +2921,14 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2920
2921
|
schemaVersion: number;
|
|
2921
2922
|
bytes: number;
|
|
2922
2923
|
};
|
|
2923
|
-
type: "resumeStarted";
|
|
2924
2924
|
runId: string;
|
|
2925
2925
|
schemaVersion: 1;
|
|
2926
2926
|
timestamp: number;
|
|
2927
2927
|
eventId: string;
|
|
2928
|
-
actor: "system" | "
|
|
2928
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2929
2929
|
payloadHash?: string | undefined;
|
|
2930
2930
|
}, {
|
|
2931
|
+
type: "resumeStarted";
|
|
2931
2932
|
payload: {
|
|
2932
2933
|
daemonId: string;
|
|
2933
2934
|
lastSeenEventId: string;
|
|
@@ -2936,12 +2937,11 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2936
2937
|
schemaVersion: number;
|
|
2937
2938
|
bytes: number;
|
|
2938
2939
|
};
|
|
2939
|
-
type: "resumeStarted";
|
|
2940
2940
|
runId: string;
|
|
2941
2941
|
schemaVersion: 1;
|
|
2942
2942
|
timestamp: number;
|
|
2943
2943
|
eventId: string;
|
|
2944
|
-
actor: "system" | "
|
|
2944
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2945
2945
|
payloadHash?: string | undefined;
|
|
2946
2946
|
}>;
|
|
2947
2947
|
export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
@@ -2984,6 +2984,7 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2984
2984
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
2985
2985
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2986
2986
|
}, "strip", z.ZodTypeAny, {
|
|
2987
|
+
type: "reconcileResult";
|
|
2987
2988
|
payload: {
|
|
2988
2989
|
capability: "none" | "idempotentSubmit" | "readOnlyLookup";
|
|
2989
2990
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -2995,14 +2996,14 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2995
2996
|
schemaVersion: number;
|
|
2996
2997
|
bytes: number;
|
|
2997
2998
|
};
|
|
2998
|
-
type: "reconcileResult";
|
|
2999
2999
|
runId: string;
|
|
3000
3000
|
schemaVersion: 1;
|
|
3001
3001
|
timestamp: number;
|
|
3002
3002
|
eventId: string;
|
|
3003
|
-
actor: "system" | "
|
|
3003
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3004
3004
|
payloadHash?: string | undefined;
|
|
3005
3005
|
}, {
|
|
3006
|
+
type: "reconcileResult";
|
|
3006
3007
|
payload: {
|
|
3007
3008
|
capability: "none" | "idempotentSubmit" | "readOnlyLookup";
|
|
3008
3009
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -3014,12 +3015,11 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
3014
3015
|
schemaVersion: number;
|
|
3015
3016
|
bytes: number;
|
|
3016
3017
|
};
|
|
3017
|
-
type: "reconcileResult";
|
|
3018
3018
|
runId: string;
|
|
3019
3019
|
schemaVersion: 1;
|
|
3020
3020
|
timestamp: number;
|
|
3021
3021
|
eventId: string;
|
|
3022
|
-
actor: "system" | "
|
|
3022
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3023
3023
|
payloadHash?: string | undefined;
|
|
3024
3024
|
}>;
|
|
3025
3025
|
/**
|
|
@@ -3080,8 +3080,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3080
3080
|
sandboxReadonlyPaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3081
3081
|
sandboxNetwork: z.ZodOptional<z.ZodBoolean>;
|
|
3082
3082
|
}, "strip", z.ZodTypeAny, {
|
|
3083
|
-
displayName?: string | undefined;
|
|
3084
3083
|
cliPathOverride?: string | undefined;
|
|
3084
|
+
workingDir?: string | undefined;
|
|
3085
|
+
displayName?: string | undefined;
|
|
3085
3086
|
larkAppId?: string | undefined;
|
|
3086
3087
|
cliId?: string | undefined;
|
|
3087
3088
|
sandbox?: boolean | undefined;
|
|
@@ -3093,10 +3094,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3093
3094
|
sandboxHidePaths?: string[] | undefined;
|
|
3094
3095
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
3095
3096
|
sandboxNetwork?: boolean | undefined;
|
|
3096
|
-
workingDir?: string | undefined;
|
|
3097
3097
|
}, {
|
|
3098
|
-
displayName?: string | undefined;
|
|
3099
3098
|
cliPathOverride?: string | undefined;
|
|
3099
|
+
workingDir?: string | undefined;
|
|
3100
|
+
displayName?: string | undefined;
|
|
3100
3101
|
larkAppId?: string | undefined;
|
|
3101
3102
|
cliId?: string | undefined;
|
|
3102
3103
|
sandbox?: boolean | undefined;
|
|
@@ -3108,7 +3109,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3108
3109
|
sandboxHidePaths?: string[] | undefined;
|
|
3109
3110
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
3110
3111
|
sandboxNetwork?: boolean | undefined;
|
|
3111
|
-
workingDir?: string | undefined;
|
|
3112
3112
|
}>>>;
|
|
3113
3113
|
}, "strip", z.ZodTypeAny, {
|
|
3114
3114
|
workflowId: string;
|
|
@@ -3122,8 +3122,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3122
3122
|
};
|
|
3123
3123
|
initiator: string;
|
|
3124
3124
|
botSnapshots?: Record<string, {
|
|
3125
|
-
displayName?: string | undefined;
|
|
3126
3125
|
cliPathOverride?: string | undefined;
|
|
3126
|
+
workingDir?: string | undefined;
|
|
3127
|
+
displayName?: string | undefined;
|
|
3127
3128
|
larkAppId?: string | undefined;
|
|
3128
3129
|
cliId?: string | undefined;
|
|
3129
3130
|
sandbox?: boolean | undefined;
|
|
@@ -3135,7 +3136,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3135
3136
|
sandboxHidePaths?: string[] | undefined;
|
|
3136
3137
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
3137
3138
|
sandboxNetwork?: boolean | undefined;
|
|
3138
|
-
workingDir?: string | undefined;
|
|
3139
3139
|
}> | undefined;
|
|
3140
3140
|
}, {
|
|
3141
3141
|
workflowId: string;
|
|
@@ -3149,8 +3149,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3149
3149
|
};
|
|
3150
3150
|
initiator: string;
|
|
3151
3151
|
botSnapshots?: Record<string, {
|
|
3152
|
-
displayName?: string | undefined;
|
|
3153
3152
|
cliPathOverride?: string | undefined;
|
|
3153
|
+
workingDir?: string | undefined;
|
|
3154
|
+
displayName?: string | undefined;
|
|
3154
3155
|
larkAppId?: string | undefined;
|
|
3155
3156
|
cliId?: string | undefined;
|
|
3156
3157
|
sandbox?: boolean | undefined;
|
|
@@ -3162,7 +3163,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3162
3163
|
sandboxHidePaths?: string[] | undefined;
|
|
3163
3164
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
3164
3165
|
sandboxNetwork?: boolean | undefined;
|
|
3165
|
-
workingDir?: string | undefined;
|
|
3166
3166
|
}> | undefined;
|
|
3167
3167
|
}>, z.ZodObject<{
|
|
3168
3168
|
ref: z.ZodString;
|
|
@@ -3184,6 +3184,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3184
3184
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3185
3185
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3186
3186
|
}, "strip", z.ZodTypeAny, {
|
|
3187
|
+
type: "runCreated";
|
|
3187
3188
|
payload: {
|
|
3188
3189
|
workflowId: string;
|
|
3189
3190
|
revisionId: string;
|
|
@@ -3196,8 +3197,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3196
3197
|
};
|
|
3197
3198
|
initiator: string;
|
|
3198
3199
|
botSnapshots?: Record<string, {
|
|
3199
|
-
displayName?: string | undefined;
|
|
3200
3200
|
cliPathOverride?: string | undefined;
|
|
3201
|
+
workingDir?: string | undefined;
|
|
3202
|
+
displayName?: string | undefined;
|
|
3201
3203
|
larkAppId?: string | undefined;
|
|
3202
3204
|
cliId?: string | undefined;
|
|
3203
3205
|
sandbox?: boolean | undefined;
|
|
@@ -3209,21 +3211,20 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3209
3211
|
sandboxHidePaths?: string[] | undefined;
|
|
3210
3212
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
3211
3213
|
sandboxNetwork?: boolean | undefined;
|
|
3212
|
-
workingDir?: string | undefined;
|
|
3213
3214
|
}> | undefined;
|
|
3214
3215
|
} | {
|
|
3215
3216
|
ref: string;
|
|
3216
3217
|
schemaVersion: number;
|
|
3217
3218
|
bytes: number;
|
|
3218
3219
|
};
|
|
3219
|
-
type: "runCreated";
|
|
3220
3220
|
runId: string;
|
|
3221
3221
|
schemaVersion: 1;
|
|
3222
3222
|
timestamp: number;
|
|
3223
3223
|
eventId: string;
|
|
3224
|
-
actor: "system" | "
|
|
3224
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3225
3225
|
payloadHash?: string | undefined;
|
|
3226
3226
|
}, {
|
|
3227
|
+
type: "runCreated";
|
|
3227
3228
|
payload: {
|
|
3228
3229
|
workflowId: string;
|
|
3229
3230
|
revisionId: string;
|
|
@@ -3236,8 +3237,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3236
3237
|
};
|
|
3237
3238
|
initiator: string;
|
|
3238
3239
|
botSnapshots?: Record<string, {
|
|
3239
|
-
displayName?: string | undefined;
|
|
3240
3240
|
cliPathOverride?: string | undefined;
|
|
3241
|
+
workingDir?: string | undefined;
|
|
3242
|
+
displayName?: string | undefined;
|
|
3241
3243
|
larkAppId?: string | undefined;
|
|
3242
3244
|
cliId?: string | undefined;
|
|
3243
3245
|
sandbox?: boolean | undefined;
|
|
@@ -3249,19 +3251,17 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3249
3251
|
sandboxHidePaths?: string[] | undefined;
|
|
3250
3252
|
sandboxReadonlyPaths?: string[] | undefined;
|
|
3251
3253
|
sandboxNetwork?: boolean | undefined;
|
|
3252
|
-
workingDir?: string | undefined;
|
|
3253
3254
|
}> | undefined;
|
|
3254
3255
|
} | {
|
|
3255
3256
|
ref: string;
|
|
3256
3257
|
schemaVersion: number;
|
|
3257
3258
|
bytes: number;
|
|
3258
3259
|
};
|
|
3259
|
-
type: "runCreated";
|
|
3260
3260
|
runId: string;
|
|
3261
3261
|
schemaVersion: 1;
|
|
3262
3262
|
timestamp: number;
|
|
3263
3263
|
eventId: string;
|
|
3264
|
-
actor: "system" | "
|
|
3264
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3265
3265
|
payloadHash?: string | undefined;
|
|
3266
3266
|
}>, z.ZodObject<{
|
|
3267
3267
|
type: z.ZodLiteral<"runStarted">;
|
|
@@ -3285,30 +3285,30 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3285
3285
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3286
3286
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3287
3287
|
}, "strip", z.ZodTypeAny, {
|
|
3288
|
+
type: "runStarted";
|
|
3288
3289
|
payload: {} | {
|
|
3289
3290
|
ref: string;
|
|
3290
3291
|
schemaVersion: number;
|
|
3291
3292
|
bytes: number;
|
|
3292
3293
|
};
|
|
3293
|
-
type: "runStarted";
|
|
3294
3294
|
runId: string;
|
|
3295
3295
|
schemaVersion: 1;
|
|
3296
3296
|
timestamp: number;
|
|
3297
3297
|
eventId: string;
|
|
3298
|
-
actor: "system" | "
|
|
3298
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3299
3299
|
payloadHash?: string | undefined;
|
|
3300
3300
|
}, {
|
|
3301
|
+
type: "runStarted";
|
|
3301
3302
|
payload: {} | {
|
|
3302
3303
|
ref: string;
|
|
3303
3304
|
schemaVersion: number;
|
|
3304
3305
|
bytes: number;
|
|
3305
3306
|
};
|
|
3306
|
-
type: "runStarted";
|
|
3307
3307
|
runId: string;
|
|
3308
3308
|
schemaVersion: 1;
|
|
3309
3309
|
timestamp: number;
|
|
3310
3310
|
eventId: string;
|
|
3311
|
-
actor: "system" | "
|
|
3311
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3312
3312
|
payloadHash?: string | undefined;
|
|
3313
3313
|
}>, z.ZodObject<{
|
|
3314
3314
|
type: z.ZodLiteral<"runSucceeded">;
|
|
@@ -3368,6 +3368,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3368
3368
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3369
3369
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3370
3370
|
}, "strip", z.ZodTypeAny, {
|
|
3371
|
+
type: "runSucceeded";
|
|
3371
3372
|
payload: {
|
|
3372
3373
|
outputRef: {
|
|
3373
3374
|
outputHash: string;
|
|
@@ -3381,14 +3382,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3381
3382
|
schemaVersion: number;
|
|
3382
3383
|
bytes: number;
|
|
3383
3384
|
};
|
|
3384
|
-
type: "runSucceeded";
|
|
3385
3385
|
runId: string;
|
|
3386
3386
|
schemaVersion: 1;
|
|
3387
3387
|
timestamp: number;
|
|
3388
3388
|
eventId: string;
|
|
3389
|
-
actor: "system" | "
|
|
3389
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3390
3390
|
payloadHash?: string | undefined;
|
|
3391
3391
|
}, {
|
|
3392
|
+
type: "runSucceeded";
|
|
3392
3393
|
payload: {
|
|
3393
3394
|
outputRef: {
|
|
3394
3395
|
outputHash: string;
|
|
@@ -3402,12 +3403,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3402
3403
|
schemaVersion: number;
|
|
3403
3404
|
bytes: number;
|
|
3404
3405
|
};
|
|
3405
|
-
type: "runSucceeded";
|
|
3406
3406
|
runId: string;
|
|
3407
3407
|
schemaVersion: 1;
|
|
3408
3408
|
timestamp: number;
|
|
3409
3409
|
eventId: string;
|
|
3410
|
-
actor: "system" | "
|
|
3410
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3411
3411
|
payloadHash?: string | undefined;
|
|
3412
3412
|
}>, z.ZodObject<{
|
|
3413
3413
|
type: z.ZodLiteral<"runFailed">;
|
|
@@ -3440,6 +3440,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3440
3440
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3441
3441
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3442
3442
|
}, "strip", z.ZodTypeAny, {
|
|
3443
|
+
type: "runFailed";
|
|
3443
3444
|
payload: {
|
|
3444
3445
|
failedNodeId: string;
|
|
3445
3446
|
rootCauseEventId: string;
|
|
@@ -3448,14 +3449,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3448
3449
|
schemaVersion: number;
|
|
3449
3450
|
bytes: number;
|
|
3450
3451
|
};
|
|
3451
|
-
type: "runFailed";
|
|
3452
3452
|
runId: string;
|
|
3453
3453
|
schemaVersion: 1;
|
|
3454
3454
|
timestamp: number;
|
|
3455
3455
|
eventId: string;
|
|
3456
|
-
actor: "system" | "
|
|
3456
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3457
3457
|
payloadHash?: string | undefined;
|
|
3458
3458
|
}, {
|
|
3459
|
+
type: "runFailed";
|
|
3459
3460
|
payload: {
|
|
3460
3461
|
failedNodeId: string;
|
|
3461
3462
|
rootCauseEventId: string;
|
|
@@ -3464,12 +3465,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3464
3465
|
schemaVersion: number;
|
|
3465
3466
|
bytes: number;
|
|
3466
3467
|
};
|
|
3467
|
-
type: "runFailed";
|
|
3468
3468
|
runId: string;
|
|
3469
3469
|
schemaVersion: 1;
|
|
3470
3470
|
timestamp: number;
|
|
3471
3471
|
eventId: string;
|
|
3472
|
-
actor: "system" | "
|
|
3472
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3473
3473
|
payloadHash?: string | undefined;
|
|
3474
3474
|
}>, z.ZodObject<{
|
|
3475
3475
|
type: z.ZodLiteral<"runCanceled">;
|
|
@@ -3499,6 +3499,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3499
3499
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3500
3500
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3501
3501
|
}, "strip", z.ZodTypeAny, {
|
|
3502
|
+
type: "runCanceled";
|
|
3502
3503
|
payload: {
|
|
3503
3504
|
cancelOriginEventId: string;
|
|
3504
3505
|
} | {
|
|
@@ -3506,14 +3507,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3506
3507
|
schemaVersion: number;
|
|
3507
3508
|
bytes: number;
|
|
3508
3509
|
};
|
|
3509
|
-
type: "runCanceled";
|
|
3510
3510
|
runId: string;
|
|
3511
3511
|
schemaVersion: 1;
|
|
3512
3512
|
timestamp: number;
|
|
3513
3513
|
eventId: string;
|
|
3514
|
-
actor: "system" | "
|
|
3514
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3515
3515
|
payloadHash?: string | undefined;
|
|
3516
3516
|
}, {
|
|
3517
|
+
type: "runCanceled";
|
|
3517
3518
|
payload: {
|
|
3518
3519
|
cancelOriginEventId: string;
|
|
3519
3520
|
} | {
|
|
@@ -3521,12 +3522,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3521
3522
|
schemaVersion: number;
|
|
3522
3523
|
bytes: number;
|
|
3523
3524
|
};
|
|
3524
|
-
type: "runCanceled";
|
|
3525
3525
|
runId: string;
|
|
3526
3526
|
schemaVersion: 1;
|
|
3527
3527
|
timestamp: number;
|
|
3528
3528
|
eventId: string;
|
|
3529
|
-
actor: "system" | "
|
|
3529
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3530
3530
|
payloadHash?: string | undefined;
|
|
3531
3531
|
}>, z.ZodObject<{
|
|
3532
3532
|
type: z.ZodLiteral<"nodeWaiting">;
|
|
@@ -3562,6 +3562,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3562
3562
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3563
3563
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3564
3564
|
}, "strip", z.ZodTypeAny, {
|
|
3565
|
+
type: "nodeWaiting";
|
|
3565
3566
|
payload: {
|
|
3566
3567
|
nodeId: string;
|
|
3567
3568
|
waitReason: string;
|
|
@@ -3571,14 +3572,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3571
3572
|
schemaVersion: number;
|
|
3572
3573
|
bytes: number;
|
|
3573
3574
|
};
|
|
3574
|
-
type: "nodeWaiting";
|
|
3575
3575
|
runId: string;
|
|
3576
3576
|
schemaVersion: 1;
|
|
3577
3577
|
timestamp: number;
|
|
3578
3578
|
eventId: string;
|
|
3579
|
-
actor: "system" | "
|
|
3579
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3580
3580
|
payloadHash?: string | undefined;
|
|
3581
3581
|
}, {
|
|
3582
|
+
type: "nodeWaiting";
|
|
3582
3583
|
payload: {
|
|
3583
3584
|
nodeId: string;
|
|
3584
3585
|
waitReason: string;
|
|
@@ -3588,12 +3589,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3588
3589
|
schemaVersion: number;
|
|
3589
3590
|
bytes: number;
|
|
3590
3591
|
};
|
|
3591
|
-
type: "nodeWaiting";
|
|
3592
3592
|
runId: string;
|
|
3593
3593
|
schemaVersion: 1;
|
|
3594
3594
|
timestamp: number;
|
|
3595
3595
|
eventId: string;
|
|
3596
|
-
actor: "system" | "
|
|
3596
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3597
3597
|
payloadHash?: string | undefined;
|
|
3598
3598
|
}>, z.ZodObject<{
|
|
3599
3599
|
type: z.ZodLiteral<"nodeRetrying">;
|
|
@@ -3629,6 +3629,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3629
3629
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3630
3630
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3631
3631
|
}, "strip", z.ZodTypeAny, {
|
|
3632
|
+
type: "nodeRetrying";
|
|
3632
3633
|
payload: {
|
|
3633
3634
|
nodeId: string;
|
|
3634
3635
|
lastAttemptId: string;
|
|
@@ -3638,14 +3639,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3638
3639
|
schemaVersion: number;
|
|
3639
3640
|
bytes: number;
|
|
3640
3641
|
};
|
|
3641
|
-
type: "nodeRetrying";
|
|
3642
3642
|
runId: string;
|
|
3643
3643
|
schemaVersion: 1;
|
|
3644
3644
|
timestamp: number;
|
|
3645
3645
|
eventId: string;
|
|
3646
|
-
actor: "system" | "
|
|
3646
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3647
3647
|
payloadHash?: string | undefined;
|
|
3648
3648
|
}, {
|
|
3649
|
+
type: "nodeRetrying";
|
|
3649
3650
|
payload: {
|
|
3650
3651
|
nodeId: string;
|
|
3651
3652
|
lastAttemptId: string;
|
|
@@ -3655,12 +3656,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3655
3656
|
schemaVersion: number;
|
|
3656
3657
|
bytes: number;
|
|
3657
3658
|
};
|
|
3658
|
-
type: "nodeRetrying";
|
|
3659
3659
|
runId: string;
|
|
3660
3660
|
schemaVersion: 1;
|
|
3661
3661
|
timestamp: number;
|
|
3662
3662
|
eventId: string;
|
|
3663
|
-
actor: "system" | "
|
|
3663
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3664
3664
|
payloadHash?: string | undefined;
|
|
3665
3665
|
}>, z.ZodObject<{
|
|
3666
3666
|
type: z.ZodLiteral<"nodeSucceeded">;
|
|
@@ -3693,6 +3693,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3693
3693
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3694
3694
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3695
3695
|
}, "strip", z.ZodTypeAny, {
|
|
3696
|
+
type: "nodeSucceeded";
|
|
3696
3697
|
payload: {
|
|
3697
3698
|
nodeId: string;
|
|
3698
3699
|
lastActivityId: string;
|
|
@@ -3701,14 +3702,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3701
3702
|
schemaVersion: number;
|
|
3702
3703
|
bytes: number;
|
|
3703
3704
|
};
|
|
3704
|
-
type: "nodeSucceeded";
|
|
3705
3705
|
runId: string;
|
|
3706
3706
|
schemaVersion: 1;
|
|
3707
3707
|
timestamp: number;
|
|
3708
3708
|
eventId: string;
|
|
3709
|
-
actor: "system" | "
|
|
3709
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3710
3710
|
payloadHash?: string | undefined;
|
|
3711
3711
|
}, {
|
|
3712
|
+
type: "nodeSucceeded";
|
|
3712
3713
|
payload: {
|
|
3713
3714
|
nodeId: string;
|
|
3714
3715
|
lastActivityId: string;
|
|
@@ -3717,12 +3718,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3717
3718
|
schemaVersion: number;
|
|
3718
3719
|
bytes: number;
|
|
3719
3720
|
};
|
|
3720
|
-
type: "nodeSucceeded";
|
|
3721
3721
|
runId: string;
|
|
3722
3722
|
schemaVersion: 1;
|
|
3723
3723
|
timestamp: number;
|
|
3724
3724
|
eventId: string;
|
|
3725
|
-
actor: "system" | "
|
|
3725
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3726
3726
|
payloadHash?: string | undefined;
|
|
3727
3727
|
}>, z.ZodObject<{
|
|
3728
3728
|
type: z.ZodLiteral<"nodeFailed">;
|
|
@@ -3758,6 +3758,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3758
3758
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3759
3759
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3760
3760
|
}, "strip", z.ZodTypeAny, {
|
|
3761
|
+
type: "nodeFailed";
|
|
3761
3762
|
payload: {
|
|
3762
3763
|
nodeId: string;
|
|
3763
3764
|
errorClass: "retryable" | "fatal" | "userFault" | "manual";
|
|
@@ -3767,14 +3768,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3767
3768
|
schemaVersion: number;
|
|
3768
3769
|
bytes: number;
|
|
3769
3770
|
};
|
|
3770
|
-
type: "nodeFailed";
|
|
3771
3771
|
runId: string;
|
|
3772
3772
|
schemaVersion: 1;
|
|
3773
3773
|
timestamp: number;
|
|
3774
3774
|
eventId: string;
|
|
3775
|
-
actor: "system" | "
|
|
3775
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3776
3776
|
payloadHash?: string | undefined;
|
|
3777
3777
|
}, {
|
|
3778
|
+
type: "nodeFailed";
|
|
3778
3779
|
payload: {
|
|
3779
3780
|
nodeId: string;
|
|
3780
3781
|
errorClass: "retryable" | "fatal" | "userFault" | "manual";
|
|
@@ -3784,12 +3785,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3784
3785
|
schemaVersion: number;
|
|
3785
3786
|
bytes: number;
|
|
3786
3787
|
};
|
|
3787
|
-
type: "nodeFailed";
|
|
3788
3788
|
runId: string;
|
|
3789
3789
|
schemaVersion: 1;
|
|
3790
3790
|
timestamp: number;
|
|
3791
3791
|
eventId: string;
|
|
3792
|
-
actor: "system" | "
|
|
3792
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3793
3793
|
payloadHash?: string | undefined;
|
|
3794
3794
|
}>, z.ZodObject<{
|
|
3795
3795
|
type: z.ZodLiteral<"nodeSkipped">;
|
|
@@ -3822,6 +3822,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3822
3822
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3823
3823
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3824
3824
|
}, "strip", z.ZodTypeAny, {
|
|
3825
|
+
type: "nodeSkipped";
|
|
3825
3826
|
payload: {
|
|
3826
3827
|
nodeId: string;
|
|
3827
3828
|
conditionEventId: string;
|
|
@@ -3830,14 +3831,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3830
3831
|
schemaVersion: number;
|
|
3831
3832
|
bytes: number;
|
|
3832
3833
|
};
|
|
3833
|
-
type: "nodeSkipped";
|
|
3834
3834
|
runId: string;
|
|
3835
3835
|
schemaVersion: 1;
|
|
3836
3836
|
timestamp: number;
|
|
3837
3837
|
eventId: string;
|
|
3838
|
-
actor: "system" | "
|
|
3838
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3839
3839
|
payloadHash?: string | undefined;
|
|
3840
3840
|
}, {
|
|
3841
|
+
type: "nodeSkipped";
|
|
3841
3842
|
payload: {
|
|
3842
3843
|
nodeId: string;
|
|
3843
3844
|
conditionEventId: string;
|
|
@@ -3846,12 +3847,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3846
3847
|
schemaVersion: number;
|
|
3847
3848
|
bytes: number;
|
|
3848
3849
|
};
|
|
3849
|
-
type: "nodeSkipped";
|
|
3850
3850
|
runId: string;
|
|
3851
3851
|
schemaVersion: 1;
|
|
3852
3852
|
timestamp: number;
|
|
3853
3853
|
eventId: string;
|
|
3854
|
-
actor: "system" | "
|
|
3854
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3855
3855
|
payloadHash?: string | undefined;
|
|
3856
3856
|
}>, z.ZodObject<{
|
|
3857
3857
|
type: z.ZodLiteral<"nodeCanceled">;
|
|
@@ -3884,6 +3884,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3884
3884
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3885
3885
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3886
3886
|
}, "strip", z.ZodTypeAny, {
|
|
3887
|
+
type: "nodeCanceled";
|
|
3887
3888
|
payload: {
|
|
3888
3889
|
nodeId: string;
|
|
3889
3890
|
cancelOriginEventId: string;
|
|
@@ -3892,14 +3893,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3892
3893
|
schemaVersion: number;
|
|
3893
3894
|
bytes: number;
|
|
3894
3895
|
};
|
|
3895
|
-
type: "nodeCanceled";
|
|
3896
3896
|
runId: string;
|
|
3897
3897
|
schemaVersion: 1;
|
|
3898
3898
|
timestamp: number;
|
|
3899
3899
|
eventId: string;
|
|
3900
|
-
actor: "system" | "
|
|
3900
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3901
3901
|
payloadHash?: string | undefined;
|
|
3902
3902
|
}, {
|
|
3903
|
+
type: "nodeCanceled";
|
|
3903
3904
|
payload: {
|
|
3904
3905
|
nodeId: string;
|
|
3905
3906
|
cancelOriginEventId: string;
|
|
@@ -3908,12 +3909,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3908
3909
|
schemaVersion: number;
|
|
3909
3910
|
bytes: number;
|
|
3910
3911
|
};
|
|
3911
|
-
type: "nodeCanceled";
|
|
3912
3912
|
runId: string;
|
|
3913
3913
|
schemaVersion: 1;
|
|
3914
3914
|
timestamp: number;
|
|
3915
3915
|
eventId: string;
|
|
3916
|
-
actor: "system" | "
|
|
3916
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3917
3917
|
payloadHash?: string | undefined;
|
|
3918
3918
|
}>, z.ZodObject<{
|
|
3919
3919
|
type: z.ZodLiteral<"activityRunning">;
|
|
@@ -3949,6 +3949,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3949
3949
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
3950
3950
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3951
3951
|
}, "strip", z.ZodTypeAny, {
|
|
3952
|
+
type: "activityRunning";
|
|
3952
3953
|
payload: {
|
|
3953
3954
|
attemptId: string;
|
|
3954
3955
|
leaseId: string;
|
|
@@ -3958,14 +3959,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3958
3959
|
schemaVersion: number;
|
|
3959
3960
|
bytes: number;
|
|
3960
3961
|
};
|
|
3961
|
-
type: "activityRunning";
|
|
3962
3962
|
runId: string;
|
|
3963
3963
|
schemaVersion: 1;
|
|
3964
3964
|
timestamp: number;
|
|
3965
3965
|
eventId: string;
|
|
3966
|
-
actor: "system" | "
|
|
3966
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3967
3967
|
payloadHash?: string | undefined;
|
|
3968
3968
|
}, {
|
|
3969
|
+
type: "activityRunning";
|
|
3969
3970
|
payload: {
|
|
3970
3971
|
attemptId: string;
|
|
3971
3972
|
leaseId: string;
|
|
@@ -3975,12 +3976,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3975
3976
|
schemaVersion: number;
|
|
3976
3977
|
bytes: number;
|
|
3977
3978
|
};
|
|
3978
|
-
type: "activityRunning";
|
|
3979
3979
|
runId: string;
|
|
3980
3980
|
schemaVersion: 1;
|
|
3981
3981
|
timestamp: number;
|
|
3982
3982
|
eventId: string;
|
|
3983
|
-
actor: "system" | "
|
|
3983
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3984
3984
|
payloadHash?: string | undefined;
|
|
3985
3985
|
}>, z.ZodObject<{
|
|
3986
3986
|
type: z.ZodLiteral<"activityWaiting">;
|
|
@@ -4013,6 +4013,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4013
4013
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4014
4014
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4015
4015
|
}, "strip", z.ZodTypeAny, {
|
|
4016
|
+
type: "activityWaiting";
|
|
4016
4017
|
payload: {
|
|
4017
4018
|
reason: string;
|
|
4018
4019
|
activityId: string;
|
|
@@ -4021,14 +4022,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4021
4022
|
schemaVersion: number;
|
|
4022
4023
|
bytes: number;
|
|
4023
4024
|
};
|
|
4024
|
-
type: "activityWaiting";
|
|
4025
4025
|
runId: string;
|
|
4026
4026
|
schemaVersion: 1;
|
|
4027
4027
|
timestamp: number;
|
|
4028
4028
|
eventId: string;
|
|
4029
|
-
actor: "system" | "
|
|
4029
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4030
4030
|
payloadHash?: string | undefined;
|
|
4031
4031
|
}, {
|
|
4032
|
+
type: "activityWaiting";
|
|
4032
4033
|
payload: {
|
|
4033
4034
|
reason: string;
|
|
4034
4035
|
activityId: string;
|
|
@@ -4037,12 +4038,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4037
4038
|
schemaVersion: number;
|
|
4038
4039
|
bytes: number;
|
|
4039
4040
|
};
|
|
4040
|
-
type: "activityWaiting";
|
|
4041
4041
|
runId: string;
|
|
4042
4042
|
schemaVersion: 1;
|
|
4043
4043
|
timestamp: number;
|
|
4044
4044
|
eventId: string;
|
|
4045
|
-
actor: "system" | "
|
|
4045
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4046
4046
|
payloadHash?: string | undefined;
|
|
4047
4047
|
}>, z.ZodObject<{
|
|
4048
4048
|
type: z.ZodLiteral<"activityTimedOut">;
|
|
@@ -4084,6 +4084,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4084
4084
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4085
4085
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4086
4086
|
}, "strip", z.ZodTypeAny, {
|
|
4087
|
+
type: "activityTimedOut";
|
|
4087
4088
|
payload: {
|
|
4088
4089
|
reason: "LeaseExpired";
|
|
4089
4090
|
attemptId: string;
|
|
@@ -4095,14 +4096,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4095
4096
|
schemaVersion: number;
|
|
4096
4097
|
bytes: number;
|
|
4097
4098
|
};
|
|
4098
|
-
type: "activityTimedOut";
|
|
4099
4099
|
runId: string;
|
|
4100
4100
|
schemaVersion: 1;
|
|
4101
4101
|
timestamp: number;
|
|
4102
4102
|
eventId: string;
|
|
4103
|
-
actor: "system" | "
|
|
4103
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4104
4104
|
payloadHash?: string | undefined;
|
|
4105
4105
|
}, {
|
|
4106
|
+
type: "activityTimedOut";
|
|
4106
4107
|
payload: {
|
|
4107
4108
|
reason: "LeaseExpired";
|
|
4108
4109
|
attemptId: string;
|
|
@@ -4114,12 +4115,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4114
4115
|
schemaVersion: number;
|
|
4115
4116
|
bytes: number;
|
|
4116
4117
|
};
|
|
4117
|
-
type: "activityTimedOut";
|
|
4118
4118
|
runId: string;
|
|
4119
4119
|
schemaVersion: 1;
|
|
4120
4120
|
timestamp: number;
|
|
4121
4121
|
eventId: string;
|
|
4122
|
-
actor: "system" | "
|
|
4122
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4123
4123
|
payloadHash?: string | undefined;
|
|
4124
4124
|
}>, z.ZodObject<{
|
|
4125
4125
|
type: z.ZodLiteral<"loopStarted">;
|
|
@@ -4152,6 +4152,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4152
4152
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4153
4153
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4154
4154
|
}, "strip", z.ZodTypeAny, {
|
|
4155
|
+
type: "loopStarted";
|
|
4155
4156
|
payload: {
|
|
4156
4157
|
maxIterations: number;
|
|
4157
4158
|
loopId: string;
|
|
@@ -4160,14 +4161,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4160
4161
|
schemaVersion: number;
|
|
4161
4162
|
bytes: number;
|
|
4162
4163
|
};
|
|
4163
|
-
type: "loopStarted";
|
|
4164
4164
|
runId: string;
|
|
4165
4165
|
schemaVersion: 1;
|
|
4166
4166
|
timestamp: number;
|
|
4167
4167
|
eventId: string;
|
|
4168
|
-
actor: "system" | "
|
|
4168
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4169
4169
|
payloadHash?: string | undefined;
|
|
4170
4170
|
}, {
|
|
4171
|
+
type: "loopStarted";
|
|
4171
4172
|
payload: {
|
|
4172
4173
|
maxIterations: number;
|
|
4173
4174
|
loopId: string;
|
|
@@ -4176,12 +4177,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4176
4177
|
schemaVersion: number;
|
|
4177
4178
|
bytes: number;
|
|
4178
4179
|
};
|
|
4179
|
-
type: "loopStarted";
|
|
4180
4180
|
runId: string;
|
|
4181
4181
|
schemaVersion: 1;
|
|
4182
4182
|
timestamp: number;
|
|
4183
4183
|
eventId: string;
|
|
4184
|
-
actor: "system" | "
|
|
4184
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4185
4185
|
payloadHash?: string | undefined;
|
|
4186
4186
|
}>, z.ZodObject<{
|
|
4187
4187
|
type: z.ZodLiteral<"loopIterationStarted">;
|
|
@@ -4217,6 +4217,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4217
4217
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4218
4218
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4219
4219
|
}, "strip", z.ZodTypeAny, {
|
|
4220
|
+
type: "loopIterationStarted";
|
|
4220
4221
|
payload: {
|
|
4221
4222
|
loopId: string;
|
|
4222
4223
|
iteration: number;
|
|
@@ -4226,14 +4227,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4226
4227
|
schemaVersion: number;
|
|
4227
4228
|
bytes: number;
|
|
4228
4229
|
};
|
|
4229
|
-
type: "loopIterationStarted";
|
|
4230
4230
|
runId: string;
|
|
4231
4231
|
schemaVersion: 1;
|
|
4232
4232
|
timestamp: number;
|
|
4233
4233
|
eventId: string;
|
|
4234
|
-
actor: "system" | "
|
|
4234
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4235
4235
|
payloadHash?: string | undefined;
|
|
4236
4236
|
}, {
|
|
4237
|
+
type: "loopIterationStarted";
|
|
4237
4238
|
payload: {
|
|
4238
4239
|
loopId: string;
|
|
4239
4240
|
iteration: number;
|
|
@@ -4243,12 +4244,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4243
4244
|
schemaVersion: number;
|
|
4244
4245
|
bytes: number;
|
|
4245
4246
|
};
|
|
4246
|
-
type: "loopIterationStarted";
|
|
4247
4247
|
runId: string;
|
|
4248
4248
|
schemaVersion: 1;
|
|
4249
4249
|
timestamp: number;
|
|
4250
4250
|
eventId: string;
|
|
4251
|
-
actor: "system" | "
|
|
4251
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4252
4252
|
payloadHash?: string | undefined;
|
|
4253
4253
|
}>, z.ZodObject<{
|
|
4254
4254
|
type: z.ZodLiteral<"loopIterationFinished">;
|
|
@@ -4299,6 +4299,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4299
4299
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4300
4300
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4301
4301
|
}, "strip", z.ZodTypeAny, {
|
|
4302
|
+
type: "loopIterationFinished";
|
|
4302
4303
|
payload: {
|
|
4303
4304
|
loopId: string;
|
|
4304
4305
|
iteration: number;
|
|
@@ -4313,14 +4314,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4313
4314
|
schemaVersion: number;
|
|
4314
4315
|
bytes: number;
|
|
4315
4316
|
};
|
|
4316
|
-
type: "loopIterationFinished";
|
|
4317
4317
|
runId: string;
|
|
4318
4318
|
schemaVersion: 1;
|
|
4319
4319
|
timestamp: number;
|
|
4320
4320
|
eventId: string;
|
|
4321
|
-
actor: "system" | "
|
|
4321
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4322
4322
|
payloadHash?: string | undefined;
|
|
4323
4323
|
}, {
|
|
4324
|
+
type: "loopIterationFinished";
|
|
4324
4325
|
payload: {
|
|
4325
4326
|
loopId: string;
|
|
4326
4327
|
iteration: number;
|
|
@@ -4335,12 +4336,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4335
4336
|
schemaVersion: number;
|
|
4336
4337
|
bytes: number;
|
|
4337
4338
|
};
|
|
4338
|
-
type: "loopIterationFinished";
|
|
4339
4339
|
runId: string;
|
|
4340
4340
|
schemaVersion: 1;
|
|
4341
4341
|
timestamp: number;
|
|
4342
4342
|
eventId: string;
|
|
4343
|
-
actor: "system" | "
|
|
4343
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4344
4344
|
payloadHash?: string | undefined;
|
|
4345
4345
|
}>, z.ZodObject<{
|
|
4346
4346
|
type: z.ZodLiteral<"loopFinished">;
|
|
@@ -4415,6 +4415,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4415
4415
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4416
4416
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4417
4417
|
}, "strip", z.ZodTypeAny, {
|
|
4418
|
+
type: "loopFinished";
|
|
4418
4419
|
payload: {
|
|
4419
4420
|
loopId: string;
|
|
4420
4421
|
resolution: "cancelled" | "timeout" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
@@ -4433,14 +4434,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4433
4434
|
schemaVersion: number;
|
|
4434
4435
|
bytes: number;
|
|
4435
4436
|
};
|
|
4436
|
-
type: "loopFinished";
|
|
4437
4437
|
runId: string;
|
|
4438
4438
|
schemaVersion: 1;
|
|
4439
4439
|
timestamp: number;
|
|
4440
4440
|
eventId: string;
|
|
4441
|
-
actor: "system" | "
|
|
4441
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4442
4442
|
payloadHash?: string | undefined;
|
|
4443
4443
|
}, {
|
|
4444
|
+
type: "loopFinished";
|
|
4444
4445
|
payload: {
|
|
4445
4446
|
loopId: string;
|
|
4446
4447
|
resolution: "cancelled" | "timeout" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
@@ -4459,12 +4460,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4459
4460
|
schemaVersion: number;
|
|
4460
4461
|
bytes: number;
|
|
4461
4462
|
};
|
|
4462
|
-
type: "loopFinished";
|
|
4463
4463
|
runId: string;
|
|
4464
4464
|
schemaVersion: 1;
|
|
4465
4465
|
timestamp: number;
|
|
4466
4466
|
eventId: string;
|
|
4467
|
-
actor: "system" | "
|
|
4467
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4468
4468
|
payloadHash?: string | undefined;
|
|
4469
4469
|
}>, z.ZodObject<{
|
|
4470
4470
|
type: z.ZodLiteral<"conditionEvaluated">;
|
|
@@ -4503,6 +4503,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4503
4503
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4504
4504
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4505
4505
|
}, "strip", z.ZodTypeAny, {
|
|
4506
|
+
type: "conditionEvaluated";
|
|
4506
4507
|
payload: {
|
|
4507
4508
|
nodeId: string;
|
|
4508
4509
|
conditionExpr: string;
|
|
@@ -4513,14 +4514,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4513
4514
|
schemaVersion: number;
|
|
4514
4515
|
bytes: number;
|
|
4515
4516
|
};
|
|
4516
|
-
type: "conditionEvaluated";
|
|
4517
4517
|
runId: string;
|
|
4518
4518
|
schemaVersion: 1;
|
|
4519
4519
|
timestamp: number;
|
|
4520
4520
|
eventId: string;
|
|
4521
|
-
actor: "system" | "
|
|
4521
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4522
4522
|
payloadHash?: string | undefined;
|
|
4523
4523
|
}, {
|
|
4524
|
+
type: "conditionEvaluated";
|
|
4524
4525
|
payload: {
|
|
4525
4526
|
nodeId: string;
|
|
4526
4527
|
conditionExpr: string;
|
|
@@ -4531,12 +4532,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4531
4532
|
schemaVersion: number;
|
|
4532
4533
|
bytes: number;
|
|
4533
4534
|
};
|
|
4534
|
-
type: "conditionEvaluated";
|
|
4535
4535
|
runId: string;
|
|
4536
4536
|
schemaVersion: 1;
|
|
4537
4537
|
timestamp: number;
|
|
4538
4538
|
eventId: string;
|
|
4539
|
-
actor: "system" | "
|
|
4539
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4540
4540
|
payloadHash?: string | undefined;
|
|
4541
4541
|
}>, z.ZodObject<{
|
|
4542
4542
|
type: z.ZodLiteral<"leaseSigned">;
|
|
@@ -4578,6 +4578,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4578
4578
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4579
4579
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4580
4580
|
}, "strip", z.ZodTypeAny, {
|
|
4581
|
+
type: "leaseSigned";
|
|
4581
4582
|
payload: {
|
|
4582
4583
|
timeoutMs: number;
|
|
4583
4584
|
attemptId: string;
|
|
@@ -4589,14 +4590,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4589
4590
|
schemaVersion: number;
|
|
4590
4591
|
bytes: number;
|
|
4591
4592
|
};
|
|
4592
|
-
type: "leaseSigned";
|
|
4593
4593
|
runId: string;
|
|
4594
4594
|
schemaVersion: 1;
|
|
4595
4595
|
timestamp: number;
|
|
4596
4596
|
eventId: string;
|
|
4597
|
-
actor: "system" | "
|
|
4597
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4598
4598
|
payloadHash?: string | undefined;
|
|
4599
4599
|
}, {
|
|
4600
|
+
type: "leaseSigned";
|
|
4600
4601
|
payload: {
|
|
4601
4602
|
timeoutMs: number;
|
|
4602
4603
|
attemptId: string;
|
|
@@ -4608,12 +4609,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4608
4609
|
schemaVersion: number;
|
|
4609
4610
|
bytes: number;
|
|
4610
4611
|
};
|
|
4611
|
-
type: "leaseSigned";
|
|
4612
4612
|
runId: string;
|
|
4613
4613
|
schemaVersion: 1;
|
|
4614
4614
|
timestamp: number;
|
|
4615
4615
|
eventId: string;
|
|
4616
|
-
actor: "system" | "
|
|
4616
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4617
4617
|
payloadHash?: string | undefined;
|
|
4618
4618
|
}>, z.ZodObject<{
|
|
4619
4619
|
type: z.ZodLiteral<"attemptCreated">;
|
|
@@ -4685,6 +4685,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4685
4685
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4686
4686
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4687
4687
|
}, "strip", z.ZodTypeAny, {
|
|
4688
|
+
type: "attemptCreated";
|
|
4688
4689
|
payload: {
|
|
4689
4690
|
nodeId: string;
|
|
4690
4691
|
attemptId: string;
|
|
@@ -4702,14 +4703,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4702
4703
|
schemaVersion: number;
|
|
4703
4704
|
bytes: number;
|
|
4704
4705
|
};
|
|
4705
|
-
type: "attemptCreated";
|
|
4706
4706
|
runId: string;
|
|
4707
4707
|
schemaVersion: 1;
|
|
4708
4708
|
timestamp: number;
|
|
4709
4709
|
eventId: string;
|
|
4710
|
-
actor: "system" | "
|
|
4710
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4711
4711
|
payloadHash?: string | undefined;
|
|
4712
4712
|
}, {
|
|
4713
|
+
type: "attemptCreated";
|
|
4713
4714
|
payload: {
|
|
4714
4715
|
nodeId: string;
|
|
4715
4716
|
attemptId: string;
|
|
@@ -4727,12 +4728,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4727
4728
|
schemaVersion: number;
|
|
4728
4729
|
bytes: number;
|
|
4729
4730
|
};
|
|
4730
|
-
type: "attemptCreated";
|
|
4731
4731
|
runId: string;
|
|
4732
4732
|
schemaVersion: 1;
|
|
4733
4733
|
timestamp: number;
|
|
4734
4734
|
eventId: string;
|
|
4735
|
-
actor: "system" | "
|
|
4735
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4736
4736
|
payloadHash?: string | undefined;
|
|
4737
4737
|
}>, z.ZodObject<{
|
|
4738
4738
|
type: z.ZodLiteral<"backoffScheduled">;
|
|
@@ -4796,6 +4796,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4796
4796
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4797
4797
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4798
4798
|
}, "strip", z.ZodTypeAny, {
|
|
4799
|
+
type: "backoffScheduled";
|
|
4799
4800
|
payload: {
|
|
4800
4801
|
nodeId: string;
|
|
4801
4802
|
lastAttemptId: string;
|
|
@@ -4811,14 +4812,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4811
4812
|
schemaVersion: number;
|
|
4812
4813
|
bytes: number;
|
|
4813
4814
|
};
|
|
4814
|
-
type: "backoffScheduled";
|
|
4815
4815
|
runId: string;
|
|
4816
4816
|
schemaVersion: 1;
|
|
4817
4817
|
timestamp: number;
|
|
4818
4818
|
eventId: string;
|
|
4819
|
-
actor: "system" | "
|
|
4819
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4820
4820
|
payloadHash?: string | undefined;
|
|
4821
4821
|
}, {
|
|
4822
|
+
type: "backoffScheduled";
|
|
4822
4823
|
payload: {
|
|
4823
4824
|
nodeId: string;
|
|
4824
4825
|
lastAttemptId: string;
|
|
@@ -4834,12 +4835,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4834
4835
|
schemaVersion: number;
|
|
4835
4836
|
bytes: number;
|
|
4836
4837
|
};
|
|
4837
|
-
type: "backoffScheduled";
|
|
4838
4838
|
runId: string;
|
|
4839
4839
|
schemaVersion: 1;
|
|
4840
4840
|
timestamp: number;
|
|
4841
4841
|
eventId: string;
|
|
4842
|
-
actor: "system" | "
|
|
4842
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4843
4843
|
payloadHash?: string | undefined;
|
|
4844
4844
|
}>, z.ZodObject<{
|
|
4845
4845
|
type: z.ZodLiteral<"backoffElapsed">;
|
|
@@ -4872,6 +4872,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4872
4872
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4873
4873
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4874
4874
|
}, "strip", z.ZodTypeAny, {
|
|
4875
|
+
type: "backoffElapsed";
|
|
4875
4876
|
payload: {
|
|
4876
4877
|
nodeId: string;
|
|
4877
4878
|
scheduledAttemptId: string;
|
|
@@ -4880,14 +4881,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4880
4881
|
schemaVersion: number;
|
|
4881
4882
|
bytes: number;
|
|
4882
4883
|
};
|
|
4883
|
-
type: "backoffElapsed";
|
|
4884
4884
|
runId: string;
|
|
4885
4885
|
schemaVersion: 1;
|
|
4886
4886
|
timestamp: number;
|
|
4887
4887
|
eventId: string;
|
|
4888
|
-
actor: "system" | "
|
|
4888
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4889
4889
|
payloadHash?: string | undefined;
|
|
4890
4890
|
}, {
|
|
4891
|
+
type: "backoffElapsed";
|
|
4891
4892
|
payload: {
|
|
4892
4893
|
nodeId: string;
|
|
4893
4894
|
scheduledAttemptId: string;
|
|
@@ -4896,12 +4897,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4896
4897
|
schemaVersion: number;
|
|
4897
4898
|
bytes: number;
|
|
4898
4899
|
};
|
|
4899
|
-
type: "backoffElapsed";
|
|
4900
4900
|
runId: string;
|
|
4901
4901
|
schemaVersion: 1;
|
|
4902
4902
|
timestamp: number;
|
|
4903
4903
|
eventId: string;
|
|
4904
|
-
actor: "system" | "
|
|
4904
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4905
4905
|
payloadHash?: string | undefined;
|
|
4906
4906
|
}>, z.ZodObject<{
|
|
4907
4907
|
type: z.ZodLiteral<"effectAttempted">;
|
|
@@ -4946,6 +4946,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4946
4946
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
4947
4947
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4948
4948
|
}, "strip", z.ZodTypeAny, {
|
|
4949
|
+
type: "effectAttempted";
|
|
4949
4950
|
payload: {
|
|
4950
4951
|
provider: string;
|
|
4951
4952
|
attemptId: string;
|
|
@@ -4958,14 +4959,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4958
4959
|
schemaVersion: number;
|
|
4959
4960
|
bytes: number;
|
|
4960
4961
|
};
|
|
4961
|
-
type: "effectAttempted";
|
|
4962
4962
|
runId: string;
|
|
4963
4963
|
schemaVersion: 1;
|
|
4964
4964
|
timestamp: number;
|
|
4965
4965
|
eventId: string;
|
|
4966
|
-
actor: "system" | "
|
|
4966
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4967
4967
|
payloadHash?: string | undefined;
|
|
4968
4968
|
}, {
|
|
4969
|
+
type: "effectAttempted";
|
|
4969
4970
|
payload: {
|
|
4970
4971
|
provider: string;
|
|
4971
4972
|
attemptId: string;
|
|
@@ -4978,12 +4979,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4978
4979
|
schemaVersion: number;
|
|
4979
4980
|
bytes: number;
|
|
4980
4981
|
};
|
|
4981
|
-
type: "effectAttempted";
|
|
4982
4982
|
runId: string;
|
|
4983
4983
|
schemaVersion: 1;
|
|
4984
4984
|
timestamp: number;
|
|
4985
4985
|
eventId: string;
|
|
4986
|
-
actor: "system" | "
|
|
4986
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4987
4987
|
payloadHash?: string | undefined;
|
|
4988
4988
|
}>, z.ZodObject<{
|
|
4989
4989
|
type: z.ZodLiteral<"activitySucceeded">;
|
|
@@ -5052,6 +5052,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5052
5052
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5053
5053
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5054
5054
|
}, "strip", z.ZodTypeAny, {
|
|
5055
|
+
type: "activitySucceeded";
|
|
5055
5056
|
payload: {
|
|
5056
5057
|
attemptId: string;
|
|
5057
5058
|
activityId: string;
|
|
@@ -5068,14 +5069,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5068
5069
|
schemaVersion: number;
|
|
5069
5070
|
bytes: number;
|
|
5070
5071
|
};
|
|
5071
|
-
type: "activitySucceeded";
|
|
5072
5072
|
runId: string;
|
|
5073
5073
|
schemaVersion: 1;
|
|
5074
5074
|
timestamp: number;
|
|
5075
5075
|
eventId: string;
|
|
5076
|
-
actor: "system" | "
|
|
5076
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5077
5077
|
payloadHash?: string | undefined;
|
|
5078
5078
|
}, {
|
|
5079
|
+
type: "activitySucceeded";
|
|
5079
5080
|
payload: {
|
|
5080
5081
|
attemptId: string;
|
|
5081
5082
|
activityId: string;
|
|
@@ -5092,12 +5093,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5092
5093
|
schemaVersion: number;
|
|
5093
5094
|
bytes: number;
|
|
5094
5095
|
};
|
|
5095
|
-
type: "activitySucceeded";
|
|
5096
5096
|
runId: string;
|
|
5097
5097
|
schemaVersion: 1;
|
|
5098
5098
|
timestamp: number;
|
|
5099
5099
|
eventId: string;
|
|
5100
|
-
actor: "system" | "
|
|
5100
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5101
5101
|
payloadHash?: string | undefined;
|
|
5102
5102
|
}>, z.ZodObject<{
|
|
5103
5103
|
type: z.ZodLiteral<"activityFailed">;
|
|
@@ -5158,6 +5158,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5158
5158
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5159
5159
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5160
5160
|
}, "strip", z.ZodTypeAny, {
|
|
5161
|
+
type: "activityFailed";
|
|
5161
5162
|
payload: {
|
|
5162
5163
|
error: {
|
|
5163
5164
|
errorCode: "IdempotencyConflict" | "InputValidationFailed" | "UnknownProviderError" | "ProviderRateLimited" | "NetworkError" | "LeaseExpired" | "WorkerCrashed" | "IdempotencyInputMismatch" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -5172,14 +5173,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5172
5173
|
schemaVersion: number;
|
|
5173
5174
|
bytes: number;
|
|
5174
5175
|
};
|
|
5175
|
-
type: "activityFailed";
|
|
5176
5176
|
runId: string;
|
|
5177
5177
|
schemaVersion: 1;
|
|
5178
5178
|
timestamp: number;
|
|
5179
5179
|
eventId: string;
|
|
5180
|
-
actor: "system" | "
|
|
5180
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5181
5181
|
payloadHash?: string | undefined;
|
|
5182
5182
|
}, {
|
|
5183
|
+
type: "activityFailed";
|
|
5183
5184
|
payload: {
|
|
5184
5185
|
error: {
|
|
5185
5186
|
errorCode: "IdempotencyConflict" | "InputValidationFailed" | "UnknownProviderError" | "ProviderRateLimited" | "NetworkError" | "LeaseExpired" | "WorkerCrashed" | "IdempotencyInputMismatch" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -5194,12 +5195,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5194
5195
|
schemaVersion: number;
|
|
5195
5196
|
bytes: number;
|
|
5196
5197
|
};
|
|
5197
|
-
type: "activityFailed";
|
|
5198
5198
|
runId: string;
|
|
5199
5199
|
schemaVersion: 1;
|
|
5200
5200
|
timestamp: number;
|
|
5201
5201
|
eventId: string;
|
|
5202
|
-
actor: "system" | "
|
|
5202
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5203
5203
|
payloadHash?: string | undefined;
|
|
5204
5204
|
}>, z.ZodObject<{
|
|
5205
5205
|
type: z.ZodLiteral<"waitCreated">;
|
|
@@ -5283,6 +5283,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5283
5283
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5284
5284
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5285
5285
|
}, "strip", z.ZodTypeAny, {
|
|
5286
|
+
type: "waitCreated";
|
|
5286
5287
|
payload: {
|
|
5287
5288
|
nodeId: string;
|
|
5288
5289
|
activityId: string;
|
|
@@ -5304,14 +5305,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5304
5305
|
schemaVersion: number;
|
|
5305
5306
|
bytes: number;
|
|
5306
5307
|
};
|
|
5307
|
-
type: "waitCreated";
|
|
5308
5308
|
runId: string;
|
|
5309
5309
|
schemaVersion: 1;
|
|
5310
5310
|
timestamp: number;
|
|
5311
5311
|
eventId: string;
|
|
5312
|
-
actor: "system" | "
|
|
5312
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5313
5313
|
payloadHash?: string | undefined;
|
|
5314
5314
|
}, {
|
|
5315
|
+
type: "waitCreated";
|
|
5315
5316
|
payload: {
|
|
5316
5317
|
nodeId: string;
|
|
5317
5318
|
activityId: string;
|
|
@@ -5333,12 +5334,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5333
5334
|
schemaVersion: number;
|
|
5334
5335
|
bytes: number;
|
|
5335
5336
|
};
|
|
5336
|
-
type: "waitCreated";
|
|
5337
5337
|
runId: string;
|
|
5338
5338
|
schemaVersion: 1;
|
|
5339
5339
|
timestamp: number;
|
|
5340
5340
|
eventId: string;
|
|
5341
|
-
actor: "system" | "
|
|
5341
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5342
5342
|
payloadHash?: string | undefined;
|
|
5343
5343
|
}>, z.ZodObject<{
|
|
5344
5344
|
type: z.ZodLiteral<"waitResolved">;
|
|
@@ -5377,6 +5377,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5377
5377
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5378
5378
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5379
5379
|
}, "strip", z.ZodTypeAny, {
|
|
5380
|
+
type: "waitResolved";
|
|
5380
5381
|
payload: {
|
|
5381
5382
|
resolution: "approved" | "rejected" | "external";
|
|
5382
5383
|
by: string;
|
|
@@ -5387,14 +5388,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5387
5388
|
schemaVersion: number;
|
|
5388
5389
|
bytes: number;
|
|
5389
5390
|
};
|
|
5390
|
-
type: "waitResolved";
|
|
5391
5391
|
runId: string;
|
|
5392
5392
|
schemaVersion: 1;
|
|
5393
5393
|
timestamp: number;
|
|
5394
5394
|
eventId: string;
|
|
5395
|
-
actor: "system" | "
|
|
5395
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5396
5396
|
payloadHash?: string | undefined;
|
|
5397
5397
|
}, {
|
|
5398
|
+
type: "waitResolved";
|
|
5398
5399
|
payload: {
|
|
5399
5400
|
resolution: "approved" | "rejected" | "external";
|
|
5400
5401
|
by: string;
|
|
@@ -5405,12 +5406,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5405
5406
|
schemaVersion: number;
|
|
5406
5407
|
bytes: number;
|
|
5407
5408
|
};
|
|
5408
|
-
type: "waitResolved";
|
|
5409
5409
|
runId: string;
|
|
5410
5410
|
schemaVersion: 1;
|
|
5411
5411
|
timestamp: number;
|
|
5412
5412
|
eventId: string;
|
|
5413
|
-
actor: "system" | "
|
|
5413
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5414
5414
|
payloadHash?: string | undefined;
|
|
5415
5415
|
}>, z.ZodObject<{
|
|
5416
5416
|
type: z.ZodLiteral<"waitDeadlineExceeded">;
|
|
@@ -5446,6 +5446,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5446
5446
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5447
5447
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5448
5448
|
}, "strip", z.ZodTypeAny, {
|
|
5449
|
+
type: "waitDeadlineExceeded";
|
|
5449
5450
|
payload: {
|
|
5450
5451
|
deadlineAt: number;
|
|
5451
5452
|
activityId: string;
|
|
@@ -5455,14 +5456,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5455
5456
|
schemaVersion: number;
|
|
5456
5457
|
bytes: number;
|
|
5457
5458
|
};
|
|
5458
|
-
type: "waitDeadlineExceeded";
|
|
5459
5459
|
runId: string;
|
|
5460
5460
|
schemaVersion: 1;
|
|
5461
5461
|
timestamp: number;
|
|
5462
5462
|
eventId: string;
|
|
5463
|
-
actor: "system" | "
|
|
5463
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5464
5464
|
payloadHash?: string | undefined;
|
|
5465
5465
|
}, {
|
|
5466
|
+
type: "waitDeadlineExceeded";
|
|
5466
5467
|
payload: {
|
|
5467
5468
|
deadlineAt: number;
|
|
5468
5469
|
activityId: string;
|
|
@@ -5472,12 +5473,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5472
5473
|
schemaVersion: number;
|
|
5473
5474
|
bytes: number;
|
|
5474
5475
|
};
|
|
5475
|
-
type: "waitDeadlineExceeded";
|
|
5476
5476
|
runId: string;
|
|
5477
5477
|
schemaVersion: 1;
|
|
5478
5478
|
timestamp: number;
|
|
5479
5479
|
eventId: string;
|
|
5480
|
-
actor: "system" | "
|
|
5480
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5481
5481
|
payloadHash?: string | undefined;
|
|
5482
5482
|
}>, z.ZodObject<{
|
|
5483
5483
|
type: z.ZodLiteral<"cancelRequested">;
|
|
@@ -5513,7 +5513,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5513
5513
|
reason: z.ZodString;
|
|
5514
5514
|
by: z.ZodString;
|
|
5515
5515
|
}, "strip", z.ZodTypeAny, {
|
|
5516
|
-
reason: string;
|
|
5517
5516
|
target: {
|
|
5518
5517
|
kind: "run";
|
|
5519
5518
|
runId: string;
|
|
@@ -5524,9 +5523,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5524
5523
|
kind: "activity";
|
|
5525
5524
|
activityId: string;
|
|
5526
5525
|
};
|
|
5526
|
+
reason: string;
|
|
5527
5527
|
by: string;
|
|
5528
5528
|
}, {
|
|
5529
|
-
reason: string;
|
|
5530
5529
|
target: {
|
|
5531
5530
|
kind: "run";
|
|
5532
5531
|
runId: string;
|
|
@@ -5537,6 +5536,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5537
5536
|
kind: "activity";
|
|
5538
5537
|
activityId: string;
|
|
5539
5538
|
};
|
|
5539
|
+
reason: string;
|
|
5540
5540
|
by: string;
|
|
5541
5541
|
}>, z.ZodObject<{
|
|
5542
5542
|
ref: z.ZodString;
|
|
@@ -5558,8 +5558,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5558
5558
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5559
5559
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5560
5560
|
}, "strip", z.ZodTypeAny, {
|
|
5561
|
+
type: "cancelRequested";
|
|
5561
5562
|
payload: {
|
|
5562
|
-
reason: string;
|
|
5563
5563
|
target: {
|
|
5564
5564
|
kind: "run";
|
|
5565
5565
|
runId: string;
|
|
@@ -5570,22 +5570,22 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5570
5570
|
kind: "activity";
|
|
5571
5571
|
activityId: string;
|
|
5572
5572
|
};
|
|
5573
|
+
reason: string;
|
|
5573
5574
|
by: string;
|
|
5574
5575
|
} | {
|
|
5575
5576
|
ref: string;
|
|
5576
5577
|
schemaVersion: number;
|
|
5577
5578
|
bytes: number;
|
|
5578
5579
|
};
|
|
5579
|
-
type: "cancelRequested";
|
|
5580
5580
|
runId: string;
|
|
5581
5581
|
schemaVersion: 1;
|
|
5582
5582
|
timestamp: number;
|
|
5583
5583
|
eventId: string;
|
|
5584
|
-
actor: "system" | "
|
|
5584
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5585
5585
|
payloadHash?: string | undefined;
|
|
5586
5586
|
}, {
|
|
5587
|
+
type: "cancelRequested";
|
|
5587
5588
|
payload: {
|
|
5588
|
-
reason: string;
|
|
5589
5589
|
target: {
|
|
5590
5590
|
kind: "run";
|
|
5591
5591
|
runId: string;
|
|
@@ -5596,18 +5596,18 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5596
5596
|
kind: "activity";
|
|
5597
5597
|
activityId: string;
|
|
5598
5598
|
};
|
|
5599
|
+
reason: string;
|
|
5599
5600
|
by: string;
|
|
5600
5601
|
} | {
|
|
5601
5602
|
ref: string;
|
|
5602
5603
|
schemaVersion: number;
|
|
5603
5604
|
bytes: number;
|
|
5604
5605
|
};
|
|
5605
|
-
type: "cancelRequested";
|
|
5606
5606
|
runId: string;
|
|
5607
5607
|
schemaVersion: 1;
|
|
5608
5608
|
timestamp: number;
|
|
5609
5609
|
eventId: string;
|
|
5610
|
-
actor: "system" | "
|
|
5610
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5611
5611
|
payloadHash?: string | undefined;
|
|
5612
5612
|
}>, z.ZodObject<{
|
|
5613
5613
|
type: z.ZodLiteral<"cancelDelivered">;
|
|
@@ -5685,6 +5685,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5685
5685
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5686
5686
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5687
5687
|
}, "strip", z.ZodTypeAny, {
|
|
5688
|
+
type: "cancelDelivered";
|
|
5688
5689
|
payload: {
|
|
5689
5690
|
target: {
|
|
5690
5691
|
kind: "run";
|
|
@@ -5702,14 +5703,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5702
5703
|
schemaVersion: number;
|
|
5703
5704
|
bytes: number;
|
|
5704
5705
|
};
|
|
5705
|
-
type: "cancelDelivered";
|
|
5706
5706
|
runId: string;
|
|
5707
5707
|
schemaVersion: 1;
|
|
5708
5708
|
timestamp: number;
|
|
5709
5709
|
eventId: string;
|
|
5710
|
-
actor: "system" | "
|
|
5710
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5711
5711
|
payloadHash?: string | undefined;
|
|
5712
5712
|
}, {
|
|
5713
|
+
type: "cancelDelivered";
|
|
5713
5714
|
payload: {
|
|
5714
5715
|
target: {
|
|
5715
5716
|
kind: "run";
|
|
@@ -5727,12 +5728,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5727
5728
|
schemaVersion: number;
|
|
5728
5729
|
bytes: number;
|
|
5729
5730
|
};
|
|
5730
|
-
type: "cancelDelivered";
|
|
5731
5731
|
runId: string;
|
|
5732
5732
|
schemaVersion: 1;
|
|
5733
5733
|
timestamp: number;
|
|
5734
5734
|
eventId: string;
|
|
5735
|
-
actor: "system" | "
|
|
5735
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5736
5736
|
payloadHash?: string | undefined;
|
|
5737
5737
|
}>, z.ZodObject<{
|
|
5738
5738
|
type: z.ZodLiteral<"activityCanceled">;
|
|
@@ -5768,6 +5768,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5768
5768
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5769
5769
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5770
5770
|
}, "strip", z.ZodTypeAny, {
|
|
5771
|
+
type: "activityCanceled";
|
|
5771
5772
|
payload: {
|
|
5772
5773
|
attemptId: string;
|
|
5773
5774
|
activityId: string;
|
|
@@ -5777,14 +5778,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5777
5778
|
schemaVersion: number;
|
|
5778
5779
|
bytes: number;
|
|
5779
5780
|
};
|
|
5780
|
-
type: "activityCanceled";
|
|
5781
5781
|
runId: string;
|
|
5782
5782
|
schemaVersion: 1;
|
|
5783
5783
|
timestamp: number;
|
|
5784
5784
|
eventId: string;
|
|
5785
|
-
actor: "system" | "
|
|
5785
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5786
5786
|
payloadHash?: string | undefined;
|
|
5787
5787
|
}, {
|
|
5788
|
+
type: "activityCanceled";
|
|
5788
5789
|
payload: {
|
|
5789
5790
|
attemptId: string;
|
|
5790
5791
|
activityId: string;
|
|
@@ -5794,12 +5795,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5794
5795
|
schemaVersion: number;
|
|
5795
5796
|
bytes: number;
|
|
5796
5797
|
};
|
|
5797
|
-
type: "activityCanceled";
|
|
5798
5798
|
runId: string;
|
|
5799
5799
|
schemaVersion: 1;
|
|
5800
5800
|
timestamp: number;
|
|
5801
5801
|
eventId: string;
|
|
5802
|
-
actor: "system" | "
|
|
5802
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5803
5803
|
payloadHash?: string | undefined;
|
|
5804
5804
|
}>, z.ZodObject<{
|
|
5805
5805
|
type: z.ZodLiteral<"workerLost">;
|
|
@@ -5832,6 +5832,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5832
5832
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5833
5833
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5834
5834
|
}, "strip", z.ZodTypeAny, {
|
|
5835
|
+
type: "workerLost";
|
|
5835
5836
|
payload: {
|
|
5836
5837
|
workerId: string;
|
|
5837
5838
|
lostActivityIds: string[];
|
|
@@ -5840,14 +5841,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5840
5841
|
schemaVersion: number;
|
|
5841
5842
|
bytes: number;
|
|
5842
5843
|
};
|
|
5843
|
-
type: "workerLost";
|
|
5844
5844
|
runId: string;
|
|
5845
5845
|
schemaVersion: 1;
|
|
5846
5846
|
timestamp: number;
|
|
5847
5847
|
eventId: string;
|
|
5848
|
-
actor: "system" | "
|
|
5848
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5849
5849
|
payloadHash?: string | undefined;
|
|
5850
5850
|
}, {
|
|
5851
|
+
type: "workerLost";
|
|
5851
5852
|
payload: {
|
|
5852
5853
|
workerId: string;
|
|
5853
5854
|
lostActivityIds: string[];
|
|
@@ -5856,12 +5857,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5856
5857
|
schemaVersion: number;
|
|
5857
5858
|
bytes: number;
|
|
5858
5859
|
};
|
|
5859
|
-
type: "workerLost";
|
|
5860
5860
|
runId: string;
|
|
5861
5861
|
schemaVersion: 1;
|
|
5862
5862
|
timestamp: number;
|
|
5863
5863
|
eventId: string;
|
|
5864
|
-
actor: "system" | "
|
|
5864
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5865
5865
|
payloadHash?: string | undefined;
|
|
5866
5866
|
}>, z.ZodObject<{
|
|
5867
5867
|
type: z.ZodLiteral<"resumeStarted">;
|
|
@@ -5894,6 +5894,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5894
5894
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5895
5895
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5896
5896
|
}, "strip", z.ZodTypeAny, {
|
|
5897
|
+
type: "resumeStarted";
|
|
5897
5898
|
payload: {
|
|
5898
5899
|
daemonId: string;
|
|
5899
5900
|
lastSeenEventId: string;
|
|
@@ -5902,14 +5903,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5902
5903
|
schemaVersion: number;
|
|
5903
5904
|
bytes: number;
|
|
5904
5905
|
};
|
|
5905
|
-
type: "resumeStarted";
|
|
5906
5906
|
runId: string;
|
|
5907
5907
|
schemaVersion: 1;
|
|
5908
5908
|
timestamp: number;
|
|
5909
5909
|
eventId: string;
|
|
5910
|
-
actor: "system" | "
|
|
5910
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5911
5911
|
payloadHash?: string | undefined;
|
|
5912
5912
|
}, {
|
|
5913
|
+
type: "resumeStarted";
|
|
5913
5914
|
payload: {
|
|
5914
5915
|
daemonId: string;
|
|
5915
5916
|
lastSeenEventId: string;
|
|
@@ -5918,12 +5919,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5918
5919
|
schemaVersion: number;
|
|
5919
5920
|
bytes: number;
|
|
5920
5921
|
};
|
|
5921
|
-
type: "resumeStarted";
|
|
5922
5922
|
runId: string;
|
|
5923
5923
|
schemaVersion: 1;
|
|
5924
5924
|
timestamp: number;
|
|
5925
5925
|
eventId: string;
|
|
5926
|
-
actor: "system" | "
|
|
5926
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5927
5927
|
payloadHash?: string | undefined;
|
|
5928
5928
|
}>, z.ZodObject<{
|
|
5929
5929
|
type: z.ZodLiteral<"reconcileResult">;
|
|
@@ -5965,6 +5965,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5965
5965
|
actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
|
|
5966
5966
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5967
5967
|
}, "strip", z.ZodTypeAny, {
|
|
5968
|
+
type: "reconcileResult";
|
|
5968
5969
|
payload: {
|
|
5969
5970
|
capability: "none" | "idempotentSubmit" | "readOnlyLookup";
|
|
5970
5971
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -5976,14 +5977,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5976
5977
|
schemaVersion: number;
|
|
5977
5978
|
bytes: number;
|
|
5978
5979
|
};
|
|
5979
|
-
type: "reconcileResult";
|
|
5980
5980
|
runId: string;
|
|
5981
5981
|
schemaVersion: 1;
|
|
5982
5982
|
timestamp: number;
|
|
5983
5983
|
eventId: string;
|
|
5984
|
-
actor: "system" | "
|
|
5984
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5985
5985
|
payloadHash?: string | undefined;
|
|
5986
5986
|
}, {
|
|
5987
|
+
type: "reconcileResult";
|
|
5987
5988
|
payload: {
|
|
5988
5989
|
capability: "none" | "idempotentSubmit" | "readOnlyLookup";
|
|
5989
5990
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -5995,12 +5996,11 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5995
5996
|
schemaVersion: number;
|
|
5996
5997
|
bytes: number;
|
|
5997
5998
|
};
|
|
5998
|
-
type: "reconcileResult";
|
|
5999
5999
|
runId: string;
|
|
6000
6000
|
schemaVersion: 1;
|
|
6001
6001
|
timestamp: number;
|
|
6002
6002
|
eventId: string;
|
|
6003
|
-
actor: "system" | "
|
|
6003
|
+
actor: "system" | "worker" | "human" | "scheduler" | "hostExecutor" | "supervisor";
|
|
6004
6004
|
payloadHash?: string | undefined;
|
|
6005
6005
|
}>]>;
|
|
6006
6006
|
export type WorkflowEvent = z.infer<typeof EventSchema>;
|