@getpaseo/server 0.1.68 → 0.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scripts/dev-runner.js +4 -1
- package/dist/scripts/dev-runner.js.map +1 -1
- package/dist/scripts/supervisor-entrypoint.js +32 -10
- package/dist/scripts/supervisor-entrypoint.js.map +1 -1
- package/dist/scripts/supervisor.js +71 -6
- package/dist/scripts/supervisor.js.map +1 -1
- package/dist/server/client/daemon-client-runtime-metrics.js.map +1 -1
- package/dist/server/client/daemon-client-websocket-transport.js.map +1 -1
- package/dist/server/client/daemon-client.d.ts +33 -0
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +37 -1
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/agent-manager.d.ts +8 -0
- package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
- package/dist/server/server/agent/agent-manager.js +54 -5
- package/dist/server/server/agent/agent-manager.js.map +1 -1
- package/dist/server/server/agent/agent-response-loop.js.map +1 -1
- package/dist/server/server/agent/agent-sdk-types.d.ts +15 -2
- package/dist/server/server/agent/agent-sdk-types.d.ts.map +1 -1
- package/dist/server/server/agent/agent-storage.d.ts +2 -2
- package/dist/server/server/agent/agent-stream-coalescer.d.ts +1 -1
- package/dist/server/server/agent/agent-stream-coalescer.d.ts.map +1 -1
- package/dist/server/server/agent/agent-timeline-store.js +1 -1
- package/dist/server/server/agent/agent-timeline-store.js.map +1 -1
- package/dist/server/server/agent/create-agent-mode.d.ts +14 -0
- package/dist/server/server/agent/create-agent-mode.d.ts.map +1 -0
- package/dist/server/server/agent/create-agent-mode.js +23 -0
- package/dist/server/server/agent/create-agent-mode.js.map +1 -0
- package/dist/server/server/agent/mcp-server.d.ts.map +1 -1
- package/dist/server/server/agent/mcp-server.js +36 -12
- package/dist/server/server/agent/mcp-server.js.map +1 -1
- package/dist/server/server/agent/mcp-shared.d.ts +8 -4
- package/dist/server/server/agent/mcp-shared.d.ts.map +1 -1
- package/dist/server/server/agent/mcp-shared.js +12 -5
- package/dist/server/server/agent/mcp-shared.js.map +1 -1
- package/dist/server/server/agent/pcm16-resampler.js.map +1 -1
- package/dist/server/server/agent/prompt-attachments.d.ts.map +1 -1
- package/dist/server/server/agent/prompt-attachments.js +2 -0
- package/dist/server/server/agent/prompt-attachments.js.map +1 -1
- package/dist/server/server/agent/provider-launch-config.js.map +1 -1
- package/dist/server/server/agent/provider-manifest.d.ts +4 -1
- package/dist/server/server/agent/provider-manifest.d.ts.map +1 -1
- package/dist/server/server/agent/provider-manifest.js +11 -0
- package/dist/server/server/agent/provider-manifest.js.map +1 -1
- package/dist/server/server/agent/provider-registry.d.ts.map +1 -1
- package/dist/server/server/agent/provider-registry.js +8 -3
- package/dist/server/server/agent/provider-registry.js.map +1 -1
- package/dist/server/server/agent/provider-snapshot-manager.js.map +1 -1
- package/dist/server/server/agent/providers/acp-agent.d.ts +2 -1
- package/dist/server/server/agent/providers/acp-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/acp-agent.js +35 -17
- package/dist/server/server/agent/providers/acp-agent.js.map +1 -1
- package/dist/server/server/agent/providers/{claude-agent.d.ts → claude/agent.d.ts} +10 -6
- package/dist/server/server/agent/providers/claude/agent.d.ts.map +1 -0
- package/dist/server/server/agent/providers/{claude-agent.js → claude/agent.js} +216 -153
- package/dist/server/server/agent/providers/claude/agent.js.map +1 -0
- package/dist/server/server/agent/providers/claude/{claude-models.d.ts → models.d.ts} +1 -1
- package/dist/server/server/agent/providers/claude/models.d.ts.map +1 -0
- package/dist/server/server/agent/providers/claude/{claude-models.js → models.js} +8 -1
- package/dist/server/server/agent/providers/claude/models.js.map +1 -0
- package/dist/server/server/agent/providers/claude/query.d.ts +14 -0
- package/dist/server/server/agent/providers/claude/query.d.ts.map +1 -0
- package/dist/server/server/agent/providers/claude/query.js +84 -0
- package/dist/server/server/agent/providers/claude/query.js.map +1 -0
- package/dist/server/server/agent/providers/claude/tool-call-mapper.js.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts +11 -2
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +408 -91
- package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/server/server/agent/providers/diagnostic-utils.d.ts.map +1 -1
- package/dist/server/server/agent/providers/diagnostic-utils.js +4 -0
- package/dist/server/server/agent/providers/diagnostic-utils.js.map +1 -1
- package/dist/server/server/agent/providers/generic-acp-agent.d.ts +1 -1
- package/dist/server/server/agent/providers/generic-acp-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/generic-acp-agent.js +0 -3
- package/dist/server/server/agent/providers/generic-acp-agent.js.map +1 -1
- package/dist/server/server/agent/providers/mock-load-test-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/mock-load-test-agent.js +6 -2
- package/dist/server/server/agent/providers/mock-load-test-agent.js.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.js +32 -27
- package/dist/server/server/agent/providers/opencode-agent.js.map +1 -1
- package/dist/server/server/agent/providers/provider-image-output.d.ts +20 -0
- package/dist/server/server/agent/providers/provider-image-output.d.ts.map +1 -0
- package/dist/server/server/agent/providers/provider-image-output.js +51 -0
- package/dist/server/server/agent/providers/provider-image-output.js.map +1 -0
- package/dist/server/server/agent/providers/provider-runner.d.ts +3 -3
- package/dist/server/server/agent/providers/provider-runner.d.ts.map +1 -1
- package/dist/server/server/agent/providers/test-utils/session-stream-adapter.js.map +1 -1
- package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts +7 -7
- package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts.map +1 -1
- package/dist/server/server/agent/providers/tool-call-detail-primitives.js +12 -18
- package/dist/server/server/agent/providers/tool-call-detail-primitives.js.map +1 -1
- package/dist/server/server/agent/stt-manager.d.ts +1 -0
- package/dist/server/server/agent/stt-manager.d.ts.map +1 -1
- package/dist/server/server/agent/stt-manager.js +3 -0
- package/dist/server/server/agent/stt-manager.js.map +1 -1
- package/dist/server/server/agent/tool-name-normalization.js.map +1 -1
- package/dist/server/server/agent/tts-manager.js.map +1 -1
- package/dist/server/server/bootstrap.d.ts +3 -0
- package/dist/server/server/bootstrap.d.ts.map +1 -1
- package/dist/server/server/bootstrap.js +3 -9
- package/dist/server/server/bootstrap.js.map +1 -1
- package/dist/server/server/chat/chat-rpc-schemas.d.ts +42 -42
- package/dist/server/server/chat/chat-types.d.ts +6 -6
- package/dist/server/server/config.d.ts +1 -0
- package/dist/server/server/config.d.ts.map +1 -1
- package/dist/server/server/config.js +27 -2
- package/dist/server/server/config.js.map +1 -1
- package/dist/server/server/connection-offer.d.ts +1 -0
- package/dist/server/server/connection-offer.d.ts.map +1 -1
- package/dist/server/server/daemon-config-store.d.ts.map +1 -1
- package/dist/server/server/daemon-config-store.js +2 -6
- package/dist/server/server/daemon-config-store.js.map +1 -1
- package/dist/server/server/daemon-keypair.js.map +1 -1
- package/dist/server/server/daemon-worker.d.ts +2 -0
- package/dist/server/server/daemon-worker.d.ts.map +1 -0
- package/dist/server/server/{index.js → daemon-worker.js} +13 -41
- package/dist/server/server/daemon-worker.js.map +1 -0
- package/dist/server/server/editor-targets.js.map +1 -1
- package/dist/server/server/json-utils.js.map +1 -1
- package/dist/server/server/logger.d.ts +2 -6
- package/dist/server/server/logger.d.ts.map +1 -1
- package/dist/server/server/logger.js +28 -118
- package/dist/server/server/logger.js.map +1 -1
- package/dist/server/server/loop/rpc-schemas.d.ts +340 -272
- package/dist/server/server/loop/rpc-schemas.d.ts.map +1 -1
- package/dist/server/server/loop/rpc-schemas.js +4 -0
- package/dist/server/server/loop/rpc-schemas.js.map +1 -1
- package/dist/server/server/loop-service.d.ts +58 -50
- package/dist/server/server/loop-service.d.ts.map +1 -1
- package/dist/server/server/loop-service.js +11 -2
- package/dist/server/server/loop-service.js.map +1 -1
- package/dist/server/server/package-version.d.ts +12 -0
- package/dist/server/server/package-version.d.ts.map +1 -1
- package/dist/server/server/package-version.js +13 -1
- package/dist/server/server/package-version.js.map +1 -1
- package/dist/server/server/pairing-offer.d.ts +1 -0
- package/dist/server/server/pairing-offer.d.ts.map +1 -1
- package/dist/server/server/pairing-offer.js +2 -1
- package/dist/server/server/pairing-offer.js.map +1 -1
- package/dist/server/server/pairing-qr.js +1 -1
- package/dist/server/server/pairing-qr.js.map +1 -1
- package/dist/server/server/paseo-env.d.ts +7 -3
- package/dist/server/server/paseo-env.d.ts.map +1 -1
- package/dist/server/server/paseo-env.js +16 -33
- package/dist/server/server/paseo-env.js.map +1 -1
- package/dist/server/server/persisted-config.d.ts +27 -16
- package/dist/server/server/persisted-config.d.ts.map +1 -1
- package/dist/server/server/persisted-config.js +3 -2
- package/dist/server/server/persisted-config.js.map +1 -1
- package/dist/server/server/persistence-hooks.js.map +1 -1
- package/dist/server/server/pid-lock.d.ts +21 -4
- package/dist/server/server/pid-lock.d.ts.map +1 -1
- package/dist/server/server/pid-lock.js +30 -8
- package/dist/server/server/pid-lock.js.map +1 -1
- package/dist/server/server/relay-transport.d.ts +2 -1
- package/dist/server/server/relay-transport.d.ts.map +1 -1
- package/dist/server/server/relay-transport.js +8 -5
- package/dist/server/server/relay-transport.js.map +1 -1
- package/dist/server/server/schedule/rpc-schemas.d.ts +1188 -52
- package/dist/server/server/schedule/rpc-schemas.d.ts.map +1 -1
- package/dist/server/server/schedule/rpc-schemas.js +39 -0
- package/dist/server/server/schedule/rpc-schemas.js.map +1 -1
- package/dist/server/server/schedule/service.d.ts +3 -1
- package/dist/server/server/schedule/service.d.ts.map +1 -1
- package/dist/server/server/schedule/service.js +92 -5
- package/dist/server/server/schedule/service.js.map +1 -1
- package/dist/server/server/schedule/types.d.ts +28 -12
- package/dist/server/server/schedule/types.d.ts.map +1 -1
- package/dist/server/server/script-health-monitor.js.map +1 -1
- package/dist/server/server/session.d.ts +3 -4
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +160 -120
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/server/speech/audio.js.map +1 -1
- package/dist/server/server/speech/providers/local/pocket/pocket-tts-onnx.d.ts.map +1 -1
- package/dist/server/server/speech/providers/local/pocket/pocket-tts-onnx.js +52 -52
- package/dist/server/server/speech/providers/local/pocket/pocket-tts-onnx.js.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/model-catalog.d.ts.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/model-catalog.js +9 -3
- package/dist/server/server/speech/providers/local/sherpa/model-catalog.js.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/model-downloader.d.ts.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/model-downloader.js +12 -10
- package/dist/server/server/speech/providers/local/sherpa/model-downloader.js.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/sherpa-realtime-session.js +2 -2
- package/dist/server/server/speech/providers/local/sherpa/sherpa-realtime-session.js.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/sherpa-stt.js +1 -1
- package/dist/server/server/speech/providers/local/sherpa/sherpa-stt.js.map +1 -1
- package/dist/server/server/speech/providers/local/sherpa/sherpa-tts.js.map +1 -1
- package/dist/server/server/voice/voice-turn-controller.d.ts +16 -13
- package/dist/server/server/voice/voice-turn-controller.d.ts.map +1 -1
- package/dist/server/server/voice/voice-turn-controller.js +303 -71
- package/dist/server/server/voice/voice-turn-controller.js.map +1 -1
- package/dist/server/server/voice-config.js +1 -1
- package/dist/server/server/voice-config.js.map +1 -1
- package/dist/server/server/websocket-server.js.map +1 -1
- package/dist/server/server/workspace-directory.d.ts.map +1 -1
- package/dist/server/server/workspace-directory.js +4 -2
- package/dist/server/server/workspace-directory.js.map +1 -1
- package/dist/server/server/workspace-git-metadata.d.ts.map +1 -1
- package/dist/server/server/workspace-git-metadata.js +12 -5
- package/dist/server/server/workspace-git-metadata.js.map +1 -1
- package/dist/server/server/workspace-git-service.d.ts +2 -0
- package/dist/server/server/workspace-git-service.d.ts.map +1 -1
- package/dist/server/server/workspace-git-service.js +49 -1
- package/dist/server/server/workspace-git-service.js.map +1 -1
- package/dist/server/server/workspace-registry-model.d.ts.map +1 -1
- package/dist/server/server/workspace-registry-model.js +10 -3
- package/dist/server/server/workspace-registry-model.js.map +1 -1
- package/dist/server/server/worktree-session.js +1 -1
- package/dist/server/server/worktree-session.js.map +1 -1
- package/dist/server/services/github-service.d.ts.map +1 -1
- package/dist/server/services/github-service.js +9 -2
- package/dist/server/services/github-service.js.map +1 -1
- package/dist/server/shared/connection-offer.d.ts +10 -0
- package/dist/server/shared/connection-offer.d.ts.map +1 -1
- package/dist/server/shared/connection-offer.js +1 -0
- package/dist/server/shared/connection-offer.js.map +1 -1
- package/dist/server/shared/daemon-endpoints.d.ts +4 -0
- package/dist/server/shared/daemon-endpoints.d.ts.map +1 -1
- package/dist/server/shared/daemon-endpoints.js +6 -1
- package/dist/server/shared/daemon-endpoints.js.map +1 -1
- package/dist/server/shared/error-utils.d.ts +11 -0
- package/dist/server/shared/error-utils.d.ts.map +1 -0
- package/dist/server/shared/error-utils.js +27 -0
- package/dist/server/shared/error-utils.js.map +1 -0
- package/dist/server/shared/messages.d.ts +8669 -4459
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +5 -1
- package/dist/server/shared/messages.js.map +1 -1
- package/dist/server/shared/tool-call-display.d.ts.map +1 -1
- package/dist/server/shared/tool-call-display.js +2 -0
- package/dist/server/shared/tool-call-display.js.map +1 -1
- package/dist/server/terminal/terminal-capture.d.ts +12 -0
- package/dist/server/terminal/terminal-capture.d.ts.map +1 -0
- package/dist/server/terminal/terminal-capture.js +43 -0
- package/dist/server/terminal/terminal-capture.js.map +1 -0
- package/dist/server/terminal/terminal-manager-factory.d.ts +2 -6
- package/dist/server/terminal/terminal-manager-factory.d.ts.map +1 -1
- package/dist/server/terminal/terminal-manager-factory.js +2 -10
- package/dist/server/terminal/terminal-manager-factory.js.map +1 -1
- package/dist/server/terminal/terminal-manager.d.ts +2 -1
- package/dist/server/terminal/terminal-manager.d.ts.map +1 -1
- package/dist/server/terminal/terminal-manager.js +2 -1
- package/dist/server/terminal/terminal-manager.js.map +1 -1
- package/dist/server/terminal/terminal-output-coalescer.js.map +1 -1
- package/dist/server/terminal/terminal-session-controller.d.ts.map +1 -1
- package/dist/server/terminal/terminal-session-controller.js +2 -0
- package/dist/server/terminal/terminal-session-controller.js.map +1 -1
- package/dist/server/terminal/terminal-worker-process.js +1 -1
- package/dist/server/terminal/terminal-worker-process.js.map +1 -1
- package/dist/server/terminal/terminal-worker-protocol.d.ts +1 -1
- package/dist/server/terminal/terminal-worker-protocol.d.ts.map +1 -1
- package/dist/server/terminal/terminal.d.ts +0 -10
- package/dist/server/terminal/terminal.d.ts.map +1 -1
- package/dist/server/terminal/terminal.js +53 -49
- package/dist/server/terminal/terminal.js.map +1 -1
- package/dist/server/terminal/worker-terminal-manager.js.map +1 -1
- package/dist/server/utils/checkout-git.d.ts.map +1 -1
- package/dist/server/utils/checkout-git.js +67 -11
- package/dist/server/utils/checkout-git.js.map +1 -1
- package/dist/server/utils/directory-suggestions.js.map +1 -1
- package/dist/server/utils/executable.d.ts +2 -1
- package/dist/server/utils/executable.d.ts.map +1 -1
- package/dist/server/utils/executable.js +50 -51
- package/dist/server/utils/executable.js.map +1 -1
- package/dist/server/utils/paseo-config-file.d.ts +1 -1
- package/dist/server/utils/paseo-config-file.d.ts.map +1 -1
- package/dist/server/utils/spawn.d.ts +2 -0
- package/dist/server/utils/spawn.d.ts.map +1 -1
- package/dist/server/utils/spawn.js +2 -1
- package/dist/server/utils/spawn.js.map +1 -1
- package/dist/server/utils/tree-kill.d.ts +18 -0
- package/dist/server/utils/tree-kill.d.ts.map +1 -0
- package/dist/server/utils/{process-tree.js → tree-kill.js} +14 -33
- package/dist/server/utils/tree-kill.js.map +1 -0
- package/dist/server/utils/worktree.d.ts.map +1 -1
- package/dist/server/utils/worktree.js +18 -43
- package/dist/server/utils/worktree.js.map +1 -1
- package/dist/src/server/agent/agent-sdk-types.js +12 -0
- package/dist/src/server/agent/agent-sdk-types.js.map +1 -0
- package/dist/src/server/agent/agent-title-limits.js +3 -0
- package/dist/src/server/agent/agent-title-limits.js.map +1 -0
- package/dist/src/server/agent/provider-launch-config.js +189 -0
- package/dist/src/server/agent/provider-launch-config.js.map +1 -0
- package/dist/src/server/agent/provider-manifest.js +197 -0
- package/dist/src/server/agent/provider-manifest.js.map +1 -0
- package/dist/src/server/chat/chat-rpc-schemas.js +103 -0
- package/dist/src/server/chat/chat-rpc-schemas.js.map +1 -0
- package/dist/src/server/chat/chat-types.js +22 -0
- package/dist/src/server/chat/chat-types.js.map +1 -0
- package/dist/src/server/loop/rpc-schemas.js +163 -0
- package/dist/src/server/loop/rpc-schemas.js.map +1 -0
- package/dist/src/server/paseo-env.js +53 -0
- package/dist/src/server/paseo-env.js.map +1 -0
- package/dist/src/server/persisted-config.js +363 -0
- package/dist/src/server/persisted-config.js.map +1 -0
- package/dist/src/server/pid-lock.js +30 -8
- package/dist/src/server/pid-lock.js.map +1 -1
- package/dist/src/server/schedule/rpc-schemas.js +151 -0
- package/dist/src/server/schedule/rpc-schemas.js.map +1 -0
- package/dist/src/server/schedule/types.js +73 -0
- package/dist/src/server/schedule/types.js.map +1 -0
- package/dist/src/shared/agent-lifecycle.js +8 -0
- package/dist/src/shared/agent-lifecycle.js.map +1 -0
- package/dist/src/shared/client-capabilities.js +4 -0
- package/dist/src/shared/client-capabilities.js.map +1 -0
- package/dist/src/shared/literal-union.js +2 -0
- package/dist/src/shared/literal-union.js.map +1 -0
- package/dist/src/shared/messages.js +3026 -0
- package/dist/src/shared/messages.js.map +1 -0
- package/dist/src/utils/executable.js +113 -0
- package/dist/src/utils/executable.js.map +1 -0
- package/dist/src/utils/paseo-config-schema.js +60 -0
- package/dist/src/utils/paseo-config-schema.js.map +1 -0
- package/dist/src/utils/spawn.js +71 -0
- package/dist/src/utils/spawn.js.map +1 -0
- package/dist/src/utils/windows-command.js +41 -0
- package/dist/src/utils/windows-command.js.map +1 -0
- package/package.json +7 -6
- package/dist/server/server/agent/providers/claude/claude-models.d.ts.map +0 -1
- package/dist/server/server/agent/providers/claude/claude-models.js.map +0 -1
- package/dist/server/server/agent/providers/claude-agent.d.ts.map +0 -1
- package/dist/server/server/agent/providers/claude-agent.js.map +0 -1
- package/dist/server/server/index.d.ts +0 -2
- package/dist/server/server/index.d.ts.map +0 -1
- package/dist/server/server/index.js.map +0 -1
- package/dist/server/server/voice/fixed-duration-pcm-ring-buffer.d.ts +0 -16
- package/dist/server/server/voice/fixed-duration-pcm-ring-buffer.d.ts.map +0 -1
- package/dist/server/server/voice/fixed-duration-pcm-ring-buffer.js +0 -35
- package/dist/server/server/voice/fixed-duration-pcm-ring-buffer.js.map +0 -1
- package/dist/server/utils/process-tree.d.ts +0 -25
- package/dist/server/utils/process-tree.d.ts.map +0 -1
- package/dist/server/utils/process-tree.js.map +0 -1
|
@@ -144,6 +144,7 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
|
|
|
144
144
|
}>]>;
|
|
145
145
|
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
146
146
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
147
|
+
runOnCreate: z.ZodOptional<z.ZodBoolean>;
|
|
147
148
|
}, "strip", z.ZodTypeAny, {
|
|
148
149
|
type: "schedule/create";
|
|
149
150
|
requestId: string;
|
|
@@ -185,6 +186,7 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
|
|
|
185
186
|
name?: string | undefined;
|
|
186
187
|
expiresAt?: string | undefined;
|
|
187
188
|
maxRuns?: number | undefined;
|
|
189
|
+
runOnCreate?: boolean | undefined;
|
|
188
190
|
}, {
|
|
189
191
|
type: "schedule/create";
|
|
190
192
|
requestId: string;
|
|
@@ -226,6 +228,7 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
|
|
|
226
228
|
name?: string | undefined;
|
|
227
229
|
expiresAt?: string | undefined;
|
|
228
230
|
maxRuns?: number | undefined;
|
|
231
|
+
runOnCreate?: boolean | undefined;
|
|
229
232
|
}>;
|
|
230
233
|
export declare const ScheduleListRequestSchema: z.ZodObject<{
|
|
231
234
|
type: z.ZodLiteral<"schedule/list">;
|
|
@@ -302,6 +305,105 @@ export declare const ScheduleDeleteRequestSchema: z.ZodObject<{
|
|
|
302
305
|
requestId: string;
|
|
303
306
|
scheduleId: string;
|
|
304
307
|
}>;
|
|
308
|
+
export declare const ScheduleRunOnceRequestSchema: z.ZodObject<{
|
|
309
|
+
type: z.ZodLiteral<"schedule/run-once">;
|
|
310
|
+
requestId: z.ZodString;
|
|
311
|
+
scheduleId: z.ZodString;
|
|
312
|
+
}, "strip", z.ZodTypeAny, {
|
|
313
|
+
type: "schedule/run-once";
|
|
314
|
+
requestId: string;
|
|
315
|
+
scheduleId: string;
|
|
316
|
+
}, {
|
|
317
|
+
type: "schedule/run-once";
|
|
318
|
+
requestId: string;
|
|
319
|
+
scheduleId: string;
|
|
320
|
+
}>;
|
|
321
|
+
export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
|
|
322
|
+
type: z.ZodLiteral<"schedule/update">;
|
|
323
|
+
requestId: z.ZodString;
|
|
324
|
+
scheduleId: z.ZodString;
|
|
325
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
327
|
+
cadence: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
328
|
+
type: z.ZodLiteral<"every">;
|
|
329
|
+
everyMs: z.ZodNumber;
|
|
330
|
+
}, "strip", z.ZodTypeAny, {
|
|
331
|
+
type: "every";
|
|
332
|
+
everyMs: number;
|
|
333
|
+
}, {
|
|
334
|
+
type: "every";
|
|
335
|
+
everyMs: number;
|
|
336
|
+
}>, z.ZodObject<{
|
|
337
|
+
type: z.ZodLiteral<"cron">;
|
|
338
|
+
expression: z.ZodString;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
type: "cron";
|
|
341
|
+
expression: string;
|
|
342
|
+
}, {
|
|
343
|
+
type: "cron";
|
|
344
|
+
expression: string;
|
|
345
|
+
}>]>>;
|
|
346
|
+
newAgentConfig: z.ZodOptional<z.ZodObject<{
|
|
347
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
348
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
|
+
modeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
350
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
cwd?: string | undefined;
|
|
353
|
+
provider?: string | undefined;
|
|
354
|
+
modeId?: string | null | undefined;
|
|
355
|
+
model?: string | null | undefined;
|
|
356
|
+
}, {
|
|
357
|
+
cwd?: string | undefined;
|
|
358
|
+
provider?: string | undefined;
|
|
359
|
+
modeId?: string | null | undefined;
|
|
360
|
+
model?: string | null | undefined;
|
|
361
|
+
}>>;
|
|
362
|
+
maxRuns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
363
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
|
+
}, "strip", z.ZodTypeAny, {
|
|
365
|
+
type: "schedule/update";
|
|
366
|
+
requestId: string;
|
|
367
|
+
scheduleId: string;
|
|
368
|
+
name?: string | null | undefined;
|
|
369
|
+
prompt?: string | undefined;
|
|
370
|
+
cadence?: {
|
|
371
|
+
type: "every";
|
|
372
|
+
everyMs: number;
|
|
373
|
+
} | {
|
|
374
|
+
type: "cron";
|
|
375
|
+
expression: string;
|
|
376
|
+
} | undefined;
|
|
377
|
+
expiresAt?: string | null | undefined;
|
|
378
|
+
maxRuns?: number | null | undefined;
|
|
379
|
+
newAgentConfig?: {
|
|
380
|
+
cwd?: string | undefined;
|
|
381
|
+
provider?: string | undefined;
|
|
382
|
+
modeId?: string | null | undefined;
|
|
383
|
+
model?: string | null | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
}, {
|
|
386
|
+
type: "schedule/update";
|
|
387
|
+
requestId: string;
|
|
388
|
+
scheduleId: string;
|
|
389
|
+
name?: string | null | undefined;
|
|
390
|
+
prompt?: string | undefined;
|
|
391
|
+
cadence?: {
|
|
392
|
+
type: "every";
|
|
393
|
+
everyMs: number;
|
|
394
|
+
} | {
|
|
395
|
+
type: "cron";
|
|
396
|
+
expression: string;
|
|
397
|
+
} | undefined;
|
|
398
|
+
expiresAt?: string | null | undefined;
|
|
399
|
+
maxRuns?: number | null | undefined;
|
|
400
|
+
newAgentConfig?: {
|
|
401
|
+
cwd?: string | undefined;
|
|
402
|
+
provider?: string | undefined;
|
|
403
|
+
modeId?: string | null | undefined;
|
|
404
|
+
model?: string | null | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
}>;
|
|
305
407
|
export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
306
408
|
type: z.ZodLiteral<"schedule/create/response">;
|
|
307
409
|
payload: z.ZodObject<{
|
|
@@ -460,26 +562,26 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
|
460
562
|
error: string | null;
|
|
461
563
|
agentId: string | null;
|
|
462
564
|
status: "running" | "failed" | "succeeded";
|
|
565
|
+
output: string | null;
|
|
463
566
|
id: string;
|
|
464
567
|
scheduledFor: string;
|
|
465
568
|
startedAt: string;
|
|
466
569
|
endedAt: string | null;
|
|
467
|
-
output: string | null;
|
|
468
570
|
}, {
|
|
469
571
|
error: string | null;
|
|
470
572
|
agentId: string | null;
|
|
471
573
|
status: "running" | "failed" | "succeeded";
|
|
574
|
+
output: string | null;
|
|
472
575
|
id: string;
|
|
473
576
|
scheduledFor: string;
|
|
474
577
|
startedAt: string;
|
|
475
578
|
endedAt: string | null;
|
|
476
|
-
output: string | null;
|
|
477
579
|
}>, "many">;
|
|
478
580
|
}, "runs">, "strip", z.ZodTypeAny, {
|
|
479
581
|
name: string | null;
|
|
480
582
|
status: "completed" | "active" | "paused";
|
|
481
|
-
id: string;
|
|
482
583
|
createdAt: string;
|
|
584
|
+
id: string;
|
|
483
585
|
updatedAt: string;
|
|
484
586
|
prompt: string;
|
|
485
587
|
cadence: {
|
|
@@ -521,8 +623,8 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
|
521
623
|
}, {
|
|
522
624
|
name: string | null;
|
|
523
625
|
status: "completed" | "active" | "paused";
|
|
524
|
-
id: string;
|
|
525
626
|
createdAt: string;
|
|
627
|
+
id: string;
|
|
526
628
|
updatedAt: string;
|
|
527
629
|
prompt: string;
|
|
528
630
|
cadence: {
|
|
@@ -569,8 +671,8 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
|
569
671
|
schedule: {
|
|
570
672
|
name: string | null;
|
|
571
673
|
status: "completed" | "active" | "paused";
|
|
572
|
-
id: string;
|
|
573
674
|
createdAt: string;
|
|
675
|
+
id: string;
|
|
574
676
|
updatedAt: string;
|
|
575
677
|
prompt: string;
|
|
576
678
|
cadence: {
|
|
@@ -616,8 +718,8 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
|
616
718
|
schedule: {
|
|
617
719
|
name: string | null;
|
|
618
720
|
status: "completed" | "active" | "paused";
|
|
619
|
-
id: string;
|
|
620
721
|
createdAt: string;
|
|
722
|
+
id: string;
|
|
621
723
|
updatedAt: string;
|
|
622
724
|
prompt: string;
|
|
623
725
|
cadence: {
|
|
@@ -666,8 +768,8 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
|
666
768
|
schedule: {
|
|
667
769
|
name: string | null;
|
|
668
770
|
status: "completed" | "active" | "paused";
|
|
669
|
-
id: string;
|
|
670
771
|
createdAt: string;
|
|
772
|
+
id: string;
|
|
671
773
|
updatedAt: string;
|
|
672
774
|
prompt: string;
|
|
673
775
|
cadence: {
|
|
@@ -716,8 +818,8 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
|
|
|
716
818
|
schedule: {
|
|
717
819
|
name: string | null;
|
|
718
820
|
status: "completed" | "active" | "paused";
|
|
719
|
-
id: string;
|
|
720
821
|
createdAt: string;
|
|
822
|
+
id: string;
|
|
721
823
|
updatedAt: string;
|
|
722
824
|
prompt: string;
|
|
723
825
|
cadence: {
|
|
@@ -917,26 +1019,26 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
|
|
|
917
1019
|
error: string | null;
|
|
918
1020
|
agentId: string | null;
|
|
919
1021
|
status: "running" | "failed" | "succeeded";
|
|
1022
|
+
output: string | null;
|
|
920
1023
|
id: string;
|
|
921
1024
|
scheduledFor: string;
|
|
922
1025
|
startedAt: string;
|
|
923
1026
|
endedAt: string | null;
|
|
924
|
-
output: string | null;
|
|
925
1027
|
}, {
|
|
926
1028
|
error: string | null;
|
|
927
1029
|
agentId: string | null;
|
|
928
1030
|
status: "running" | "failed" | "succeeded";
|
|
1031
|
+
output: string | null;
|
|
929
1032
|
id: string;
|
|
930
1033
|
scheduledFor: string;
|
|
931
1034
|
startedAt: string;
|
|
932
1035
|
endedAt: string | null;
|
|
933
|
-
output: string | null;
|
|
934
1036
|
}>, "many">;
|
|
935
1037
|
}, "runs">, "strip", z.ZodTypeAny, {
|
|
936
1038
|
name: string | null;
|
|
937
1039
|
status: "completed" | "active" | "paused";
|
|
938
|
-
id: string;
|
|
939
1040
|
createdAt: string;
|
|
1041
|
+
id: string;
|
|
940
1042
|
updatedAt: string;
|
|
941
1043
|
prompt: string;
|
|
942
1044
|
cadence: {
|
|
@@ -978,8 +1080,8 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
|
|
|
978
1080
|
}, {
|
|
979
1081
|
name: string | null;
|
|
980
1082
|
status: "completed" | "active" | "paused";
|
|
981
|
-
id: string;
|
|
982
1083
|
createdAt: string;
|
|
1084
|
+
id: string;
|
|
983
1085
|
updatedAt: string;
|
|
984
1086
|
prompt: string;
|
|
985
1087
|
cadence: {
|
|
@@ -1026,8 +1128,8 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
|
|
|
1026
1128
|
schedules: {
|
|
1027
1129
|
name: string | null;
|
|
1028
1130
|
status: "completed" | "active" | "paused";
|
|
1029
|
-
id: string;
|
|
1030
1131
|
createdAt: string;
|
|
1132
|
+
id: string;
|
|
1031
1133
|
updatedAt: string;
|
|
1032
1134
|
prompt: string;
|
|
1033
1135
|
cadence: {
|
|
@@ -1073,8 +1175,8 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
|
|
|
1073
1175
|
schedules: {
|
|
1074
1176
|
name: string | null;
|
|
1075
1177
|
status: "completed" | "active" | "paused";
|
|
1076
|
-
id: string;
|
|
1077
1178
|
createdAt: string;
|
|
1179
|
+
id: string;
|
|
1078
1180
|
updatedAt: string;
|
|
1079
1181
|
prompt: string;
|
|
1080
1182
|
cadence: {
|
|
@@ -1123,8 +1225,8 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
|
|
|
1123
1225
|
schedules: {
|
|
1124
1226
|
name: string | null;
|
|
1125
1227
|
status: "completed" | "active" | "paused";
|
|
1126
|
-
id: string;
|
|
1127
1228
|
createdAt: string;
|
|
1229
|
+
id: string;
|
|
1128
1230
|
updatedAt: string;
|
|
1129
1231
|
prompt: string;
|
|
1130
1232
|
cadence: {
|
|
@@ -1173,8 +1275,8 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
|
|
|
1173
1275
|
schedules: {
|
|
1174
1276
|
name: string | null;
|
|
1175
1277
|
status: "completed" | "active" | "paused";
|
|
1176
|
-
id: string;
|
|
1177
1278
|
createdAt: string;
|
|
1279
|
+
id: string;
|
|
1178
1280
|
updatedAt: string;
|
|
1179
1281
|
prompt: string;
|
|
1180
1282
|
cadence: {
|
|
@@ -1374,26 +1476,26 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1374
1476
|
error: string | null;
|
|
1375
1477
|
agentId: string | null;
|
|
1376
1478
|
status: "running" | "failed" | "succeeded";
|
|
1479
|
+
output: string | null;
|
|
1377
1480
|
id: string;
|
|
1378
1481
|
scheduledFor: string;
|
|
1379
1482
|
startedAt: string;
|
|
1380
1483
|
endedAt: string | null;
|
|
1381
|
-
output: string | null;
|
|
1382
1484
|
}, {
|
|
1383
1485
|
error: string | null;
|
|
1384
1486
|
agentId: string | null;
|
|
1385
1487
|
status: "running" | "failed" | "succeeded";
|
|
1488
|
+
output: string | null;
|
|
1386
1489
|
id: string;
|
|
1387
1490
|
scheduledFor: string;
|
|
1388
1491
|
startedAt: string;
|
|
1389
1492
|
endedAt: string | null;
|
|
1390
|
-
output: string | null;
|
|
1391
1493
|
}>, "many">;
|
|
1392
1494
|
}, "strip", z.ZodTypeAny, {
|
|
1393
1495
|
name: string | null;
|
|
1394
1496
|
status: "completed" | "active" | "paused";
|
|
1395
|
-
id: string;
|
|
1396
1497
|
createdAt: string;
|
|
1498
|
+
id: string;
|
|
1397
1499
|
updatedAt: string;
|
|
1398
1500
|
prompt: string;
|
|
1399
1501
|
cadence: {
|
|
@@ -1436,17 +1538,17 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1436
1538
|
error: string | null;
|
|
1437
1539
|
agentId: string | null;
|
|
1438
1540
|
status: "running" | "failed" | "succeeded";
|
|
1541
|
+
output: string | null;
|
|
1439
1542
|
id: string;
|
|
1440
1543
|
scheduledFor: string;
|
|
1441
1544
|
startedAt: string;
|
|
1442
1545
|
endedAt: string | null;
|
|
1443
|
-
output: string | null;
|
|
1444
1546
|
}[];
|
|
1445
1547
|
}, {
|
|
1446
1548
|
name: string | null;
|
|
1447
1549
|
status: "completed" | "active" | "paused";
|
|
1448
|
-
id: string;
|
|
1449
1550
|
createdAt: string;
|
|
1551
|
+
id: string;
|
|
1450
1552
|
updatedAt: string;
|
|
1451
1553
|
prompt: string;
|
|
1452
1554
|
cadence: {
|
|
@@ -1489,11 +1591,11 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1489
1591
|
error: string | null;
|
|
1490
1592
|
agentId: string | null;
|
|
1491
1593
|
status: "running" | "failed" | "succeeded";
|
|
1594
|
+
output: string | null;
|
|
1492
1595
|
id: string;
|
|
1493
1596
|
scheduledFor: string;
|
|
1494
1597
|
startedAt: string;
|
|
1495
1598
|
endedAt: string | null;
|
|
1496
|
-
output: string | null;
|
|
1497
1599
|
}[];
|
|
1498
1600
|
}>>;
|
|
1499
1601
|
error: z.ZodNullable<z.ZodString>;
|
|
@@ -1503,8 +1605,8 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1503
1605
|
schedule: {
|
|
1504
1606
|
name: string | null;
|
|
1505
1607
|
status: "completed" | "active" | "paused";
|
|
1506
|
-
id: string;
|
|
1507
1608
|
createdAt: string;
|
|
1609
|
+
id: string;
|
|
1508
1610
|
updatedAt: string;
|
|
1509
1611
|
prompt: string;
|
|
1510
1612
|
cadence: {
|
|
@@ -1547,11 +1649,11 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1547
1649
|
error: string | null;
|
|
1548
1650
|
agentId: string | null;
|
|
1549
1651
|
status: "running" | "failed" | "succeeded";
|
|
1652
|
+
output: string | null;
|
|
1550
1653
|
id: string;
|
|
1551
1654
|
scheduledFor: string;
|
|
1552
1655
|
startedAt: string;
|
|
1553
1656
|
endedAt: string | null;
|
|
1554
|
-
output: string | null;
|
|
1555
1657
|
}[];
|
|
1556
1658
|
} | null;
|
|
1557
1659
|
}, {
|
|
@@ -1560,8 +1662,8 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1560
1662
|
schedule: {
|
|
1561
1663
|
name: string | null;
|
|
1562
1664
|
status: "completed" | "active" | "paused";
|
|
1563
|
-
id: string;
|
|
1564
1665
|
createdAt: string;
|
|
1666
|
+
id: string;
|
|
1565
1667
|
updatedAt: string;
|
|
1566
1668
|
prompt: string;
|
|
1567
1669
|
cadence: {
|
|
@@ -1604,11 +1706,11 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1604
1706
|
error: string | null;
|
|
1605
1707
|
agentId: string | null;
|
|
1606
1708
|
status: "running" | "failed" | "succeeded";
|
|
1709
|
+
output: string | null;
|
|
1607
1710
|
id: string;
|
|
1608
1711
|
scheduledFor: string;
|
|
1609
1712
|
startedAt: string;
|
|
1610
1713
|
endedAt: string | null;
|
|
1611
|
-
output: string | null;
|
|
1612
1714
|
}[];
|
|
1613
1715
|
} | null;
|
|
1614
1716
|
}>;
|
|
@@ -1620,8 +1722,8 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1620
1722
|
schedule: {
|
|
1621
1723
|
name: string | null;
|
|
1622
1724
|
status: "completed" | "active" | "paused";
|
|
1623
|
-
id: string;
|
|
1624
1725
|
createdAt: string;
|
|
1726
|
+
id: string;
|
|
1625
1727
|
updatedAt: string;
|
|
1626
1728
|
prompt: string;
|
|
1627
1729
|
cadence: {
|
|
@@ -1664,11 +1766,11 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1664
1766
|
error: string | null;
|
|
1665
1767
|
agentId: string | null;
|
|
1666
1768
|
status: "running" | "failed" | "succeeded";
|
|
1769
|
+
output: string | null;
|
|
1667
1770
|
id: string;
|
|
1668
1771
|
scheduledFor: string;
|
|
1669
1772
|
startedAt: string;
|
|
1670
1773
|
endedAt: string | null;
|
|
1671
|
-
output: string | null;
|
|
1672
1774
|
}[];
|
|
1673
1775
|
} | null;
|
|
1674
1776
|
};
|
|
@@ -1680,8 +1782,8 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1680
1782
|
schedule: {
|
|
1681
1783
|
name: string | null;
|
|
1682
1784
|
status: "completed" | "active" | "paused";
|
|
1683
|
-
id: string;
|
|
1684
1785
|
createdAt: string;
|
|
1786
|
+
id: string;
|
|
1685
1787
|
updatedAt: string;
|
|
1686
1788
|
prompt: string;
|
|
1687
1789
|
cadence: {
|
|
@@ -1724,11 +1826,11 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
|
|
|
1724
1826
|
error: string | null;
|
|
1725
1827
|
agentId: string | null;
|
|
1726
1828
|
status: "running" | "failed" | "succeeded";
|
|
1829
|
+
output: string | null;
|
|
1727
1830
|
id: string;
|
|
1728
1831
|
scheduledFor: string;
|
|
1729
1832
|
startedAt: string;
|
|
1730
1833
|
endedAt: string | null;
|
|
1731
|
-
output: string | null;
|
|
1732
1834
|
}[];
|
|
1733
1835
|
} | null;
|
|
1734
1836
|
};
|
|
@@ -1750,20 +1852,20 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
|
|
|
1750
1852
|
error: string | null;
|
|
1751
1853
|
agentId: string | null;
|
|
1752
1854
|
status: "running" | "failed" | "succeeded";
|
|
1855
|
+
output: string | null;
|
|
1753
1856
|
id: string;
|
|
1754
1857
|
scheduledFor: string;
|
|
1755
1858
|
startedAt: string;
|
|
1756
1859
|
endedAt: string | null;
|
|
1757
|
-
output: string | null;
|
|
1758
1860
|
}, {
|
|
1759
1861
|
error: string | null;
|
|
1760
1862
|
agentId: string | null;
|
|
1761
1863
|
status: "running" | "failed" | "succeeded";
|
|
1864
|
+
output: string | null;
|
|
1762
1865
|
id: string;
|
|
1763
1866
|
scheduledFor: string;
|
|
1764
1867
|
startedAt: string;
|
|
1765
1868
|
endedAt: string | null;
|
|
1766
|
-
output: string | null;
|
|
1767
1869
|
}>, "many">;
|
|
1768
1870
|
error: z.ZodNullable<z.ZodString>;
|
|
1769
1871
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1773,11 +1875,11 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
|
|
|
1773
1875
|
error: string | null;
|
|
1774
1876
|
agentId: string | null;
|
|
1775
1877
|
status: "running" | "failed" | "succeeded";
|
|
1878
|
+
output: string | null;
|
|
1776
1879
|
id: string;
|
|
1777
1880
|
scheduledFor: string;
|
|
1778
1881
|
startedAt: string;
|
|
1779
1882
|
endedAt: string | null;
|
|
1780
|
-
output: string | null;
|
|
1781
1883
|
}[];
|
|
1782
1884
|
}, {
|
|
1783
1885
|
error: string | null;
|
|
@@ -1786,11 +1888,11 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
|
|
|
1786
1888
|
error: string | null;
|
|
1787
1889
|
agentId: string | null;
|
|
1788
1890
|
status: "running" | "failed" | "succeeded";
|
|
1891
|
+
output: string | null;
|
|
1789
1892
|
id: string;
|
|
1790
1893
|
scheduledFor: string;
|
|
1791
1894
|
startedAt: string;
|
|
1792
1895
|
endedAt: string | null;
|
|
1793
|
-
output: string | null;
|
|
1794
1896
|
}[];
|
|
1795
1897
|
}>;
|
|
1796
1898
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1802,11 +1904,11 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
|
|
|
1802
1904
|
error: string | null;
|
|
1803
1905
|
agentId: string | null;
|
|
1804
1906
|
status: "running" | "failed" | "succeeded";
|
|
1907
|
+
output: string | null;
|
|
1805
1908
|
id: string;
|
|
1806
1909
|
scheduledFor: string;
|
|
1807
1910
|
startedAt: string;
|
|
1808
1911
|
endedAt: string | null;
|
|
1809
|
-
output: string | null;
|
|
1810
1912
|
}[];
|
|
1811
1913
|
};
|
|
1812
1914
|
}, {
|
|
@@ -1818,11 +1920,11 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
|
|
|
1818
1920
|
error: string | null;
|
|
1819
1921
|
agentId: string | null;
|
|
1820
1922
|
status: "running" | "failed" | "succeeded";
|
|
1923
|
+
output: string | null;
|
|
1821
1924
|
id: string;
|
|
1822
1925
|
scheduledFor: string;
|
|
1823
1926
|
startedAt: string;
|
|
1824
1927
|
endedAt: string | null;
|
|
1825
|
-
output: string | null;
|
|
1826
1928
|
}[];
|
|
1827
1929
|
};
|
|
1828
1930
|
}>;
|
|
@@ -1984,26 +2086,26 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
|
|
|
1984
2086
|
error: string | null;
|
|
1985
2087
|
agentId: string | null;
|
|
1986
2088
|
status: "running" | "failed" | "succeeded";
|
|
2089
|
+
output: string | null;
|
|
1987
2090
|
id: string;
|
|
1988
2091
|
scheduledFor: string;
|
|
1989
2092
|
startedAt: string;
|
|
1990
2093
|
endedAt: string | null;
|
|
1991
|
-
output: string | null;
|
|
1992
2094
|
}, {
|
|
1993
2095
|
error: string | null;
|
|
1994
2096
|
agentId: string | null;
|
|
1995
2097
|
status: "running" | "failed" | "succeeded";
|
|
2098
|
+
output: string | null;
|
|
1996
2099
|
id: string;
|
|
1997
2100
|
scheduledFor: string;
|
|
1998
2101
|
startedAt: string;
|
|
1999
2102
|
endedAt: string | null;
|
|
2000
|
-
output: string | null;
|
|
2001
2103
|
}>, "many">;
|
|
2002
2104
|
}, "runs">, "strip", z.ZodTypeAny, {
|
|
2003
2105
|
name: string | null;
|
|
2004
2106
|
status: "completed" | "active" | "paused";
|
|
2005
|
-
id: string;
|
|
2006
2107
|
createdAt: string;
|
|
2108
|
+
id: string;
|
|
2007
2109
|
updatedAt: string;
|
|
2008
2110
|
prompt: string;
|
|
2009
2111
|
cadence: {
|
|
@@ -2045,8 +2147,8 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
|
|
|
2045
2147
|
}, {
|
|
2046
2148
|
name: string | null;
|
|
2047
2149
|
status: "completed" | "active" | "paused";
|
|
2048
|
-
id: string;
|
|
2049
2150
|
createdAt: string;
|
|
2151
|
+
id: string;
|
|
2050
2152
|
updatedAt: string;
|
|
2051
2153
|
prompt: string;
|
|
2052
2154
|
cadence: {
|
|
@@ -2093,8 +2195,8 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
|
|
|
2093
2195
|
schedule: {
|
|
2094
2196
|
name: string | null;
|
|
2095
2197
|
status: "completed" | "active" | "paused";
|
|
2096
|
-
id: string;
|
|
2097
2198
|
createdAt: string;
|
|
2199
|
+
id: string;
|
|
2098
2200
|
updatedAt: string;
|
|
2099
2201
|
prompt: string;
|
|
2100
2202
|
cadence: {
|
|
@@ -2140,8 +2242,8 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
|
|
|
2140
2242
|
schedule: {
|
|
2141
2243
|
name: string | null;
|
|
2142
2244
|
status: "completed" | "active" | "paused";
|
|
2143
|
-
id: string;
|
|
2144
2245
|
createdAt: string;
|
|
2246
|
+
id: string;
|
|
2145
2247
|
updatedAt: string;
|
|
2146
2248
|
prompt: string;
|
|
2147
2249
|
cadence: {
|
|
@@ -2190,8 +2292,8 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
|
|
|
2190
2292
|
schedule: {
|
|
2191
2293
|
name: string | null;
|
|
2192
2294
|
status: "completed" | "active" | "paused";
|
|
2193
|
-
id: string;
|
|
2194
2295
|
createdAt: string;
|
|
2296
|
+
id: string;
|
|
2195
2297
|
updatedAt: string;
|
|
2196
2298
|
prompt: string;
|
|
2197
2299
|
cadence: {
|
|
@@ -2240,8 +2342,8 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
|
|
|
2240
2342
|
schedule: {
|
|
2241
2343
|
name: string | null;
|
|
2242
2344
|
status: "completed" | "active" | "paused";
|
|
2243
|
-
id: string;
|
|
2244
2345
|
createdAt: string;
|
|
2346
|
+
id: string;
|
|
2245
2347
|
updatedAt: string;
|
|
2246
2348
|
prompt: string;
|
|
2247
2349
|
cadence: {
|
|
@@ -2441,26 +2543,26 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
|
|
|
2441
2543
|
error: string | null;
|
|
2442
2544
|
agentId: string | null;
|
|
2443
2545
|
status: "running" | "failed" | "succeeded";
|
|
2546
|
+
output: string | null;
|
|
2444
2547
|
id: string;
|
|
2445
2548
|
scheduledFor: string;
|
|
2446
2549
|
startedAt: string;
|
|
2447
2550
|
endedAt: string | null;
|
|
2448
|
-
output: string | null;
|
|
2449
2551
|
}, {
|
|
2450
2552
|
error: string | null;
|
|
2451
2553
|
agentId: string | null;
|
|
2452
2554
|
status: "running" | "failed" | "succeeded";
|
|
2555
|
+
output: string | null;
|
|
2453
2556
|
id: string;
|
|
2454
2557
|
scheduledFor: string;
|
|
2455
2558
|
startedAt: string;
|
|
2456
2559
|
endedAt: string | null;
|
|
2457
|
-
output: string | null;
|
|
2458
2560
|
}>, "many">;
|
|
2459
2561
|
}, "runs">, "strip", z.ZodTypeAny, {
|
|
2460
2562
|
name: string | null;
|
|
2461
2563
|
status: "completed" | "active" | "paused";
|
|
2462
|
-
id: string;
|
|
2463
2564
|
createdAt: string;
|
|
2565
|
+
id: string;
|
|
2464
2566
|
updatedAt: string;
|
|
2465
2567
|
prompt: string;
|
|
2466
2568
|
cadence: {
|
|
@@ -2502,8 +2604,8 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
|
|
|
2502
2604
|
}, {
|
|
2503
2605
|
name: string | null;
|
|
2504
2606
|
status: "completed" | "active" | "paused";
|
|
2505
|
-
id: string;
|
|
2506
2607
|
createdAt: string;
|
|
2608
|
+
id: string;
|
|
2507
2609
|
updatedAt: string;
|
|
2508
2610
|
prompt: string;
|
|
2509
2611
|
cadence: {
|
|
@@ -2550,8 +2652,8 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
|
|
|
2550
2652
|
schedule: {
|
|
2551
2653
|
name: string | null;
|
|
2552
2654
|
status: "completed" | "active" | "paused";
|
|
2553
|
-
id: string;
|
|
2554
2655
|
createdAt: string;
|
|
2656
|
+
id: string;
|
|
2555
2657
|
updatedAt: string;
|
|
2556
2658
|
prompt: string;
|
|
2557
2659
|
cadence: {
|
|
@@ -2597,8 +2699,8 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
|
|
|
2597
2699
|
schedule: {
|
|
2598
2700
|
name: string | null;
|
|
2599
2701
|
status: "completed" | "active" | "paused";
|
|
2600
|
-
id: string;
|
|
2601
2702
|
createdAt: string;
|
|
2703
|
+
id: string;
|
|
2602
2704
|
updatedAt: string;
|
|
2603
2705
|
prompt: string;
|
|
2604
2706
|
cadence: {
|
|
@@ -2647,8 +2749,8 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
|
|
|
2647
2749
|
schedule: {
|
|
2648
2750
|
name: string | null;
|
|
2649
2751
|
status: "completed" | "active" | "paused";
|
|
2650
|
-
id: string;
|
|
2651
2752
|
createdAt: string;
|
|
2753
|
+
id: string;
|
|
2652
2754
|
updatedAt: string;
|
|
2653
2755
|
prompt: string;
|
|
2654
2756
|
cadence: {
|
|
@@ -2697,8 +2799,8 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
|
|
|
2697
2799
|
schedule: {
|
|
2698
2800
|
name: string | null;
|
|
2699
2801
|
status: "completed" | "active" | "paused";
|
|
2700
|
-
id: string;
|
|
2701
2802
|
createdAt: string;
|
|
2803
|
+
id: string;
|
|
2702
2804
|
updatedAt: string;
|
|
2703
2805
|
prompt: string;
|
|
2704
2806
|
cadence: {
|
|
@@ -2770,4 +2872,1038 @@ export declare const ScheduleDeleteResponseSchema: z.ZodObject<{
|
|
|
2770
2872
|
scheduleId: string;
|
|
2771
2873
|
};
|
|
2772
2874
|
}>;
|
|
2875
|
+
export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
|
|
2876
|
+
type: z.ZodLiteral<"schedule/run-once/response">;
|
|
2877
|
+
payload: z.ZodObject<{
|
|
2878
|
+
requestId: z.ZodString;
|
|
2879
|
+
schedule: z.ZodNullable<z.ZodObject<{
|
|
2880
|
+
id: z.ZodString;
|
|
2881
|
+
name: z.ZodNullable<z.ZodString>;
|
|
2882
|
+
prompt: z.ZodString;
|
|
2883
|
+
cadence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2884
|
+
type: z.ZodLiteral<"every">;
|
|
2885
|
+
everyMs: z.ZodNumber;
|
|
2886
|
+
}, "strip", z.ZodTypeAny, {
|
|
2887
|
+
type: "every";
|
|
2888
|
+
everyMs: number;
|
|
2889
|
+
}, {
|
|
2890
|
+
type: "every";
|
|
2891
|
+
everyMs: number;
|
|
2892
|
+
}>, z.ZodObject<{
|
|
2893
|
+
type: z.ZodLiteral<"cron">;
|
|
2894
|
+
expression: z.ZodString;
|
|
2895
|
+
}, "strip", z.ZodTypeAny, {
|
|
2896
|
+
type: "cron";
|
|
2897
|
+
expression: string;
|
|
2898
|
+
}, {
|
|
2899
|
+
type: "cron";
|
|
2900
|
+
expression: string;
|
|
2901
|
+
}>]>;
|
|
2902
|
+
target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2903
|
+
type: z.ZodLiteral<"agent">;
|
|
2904
|
+
agentId: z.ZodString;
|
|
2905
|
+
}, "strip", z.ZodTypeAny, {
|
|
2906
|
+
agentId: string;
|
|
2907
|
+
type: "agent";
|
|
2908
|
+
}, {
|
|
2909
|
+
agentId: string;
|
|
2910
|
+
type: "agent";
|
|
2911
|
+
}>, z.ZodObject<{
|
|
2912
|
+
type: z.ZodLiteral<"new-agent">;
|
|
2913
|
+
config: z.ZodObject<{
|
|
2914
|
+
provider: z.ZodString;
|
|
2915
|
+
cwd: z.ZodString;
|
|
2916
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
2917
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
2919
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2920
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
2923
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
2924
|
+
extra: z.ZodOptional<z.ZodObject<{
|
|
2925
|
+
codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2926
|
+
claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2927
|
+
}, "strip", z.ZodTypeAny, {
|
|
2928
|
+
claude?: Record<string, unknown> | undefined;
|
|
2929
|
+
codex?: Record<string, unknown> | undefined;
|
|
2930
|
+
}, {
|
|
2931
|
+
claude?: Record<string, unknown> | undefined;
|
|
2932
|
+
codex?: Record<string, unknown> | undefined;
|
|
2933
|
+
}>>;
|
|
2934
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2936
|
+
}, "strip", z.ZodTypeAny, {
|
|
2937
|
+
cwd: string;
|
|
2938
|
+
provider: string;
|
|
2939
|
+
title?: string | null | undefined;
|
|
2940
|
+
modeId?: string | undefined;
|
|
2941
|
+
model?: string | undefined;
|
|
2942
|
+
thinkingOptionId?: string | undefined;
|
|
2943
|
+
approvalPolicy?: string | undefined;
|
|
2944
|
+
sandboxMode?: string | undefined;
|
|
2945
|
+
networkAccess?: boolean | undefined;
|
|
2946
|
+
webSearch?: boolean | undefined;
|
|
2947
|
+
extra?: {
|
|
2948
|
+
claude?: Record<string, unknown> | undefined;
|
|
2949
|
+
codex?: Record<string, unknown> | undefined;
|
|
2950
|
+
} | undefined;
|
|
2951
|
+
systemPrompt?: string | undefined;
|
|
2952
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
2953
|
+
}, {
|
|
2954
|
+
cwd: string;
|
|
2955
|
+
provider: string;
|
|
2956
|
+
title?: string | null | undefined;
|
|
2957
|
+
modeId?: string | undefined;
|
|
2958
|
+
model?: string | undefined;
|
|
2959
|
+
thinkingOptionId?: string | undefined;
|
|
2960
|
+
approvalPolicy?: string | undefined;
|
|
2961
|
+
sandboxMode?: string | undefined;
|
|
2962
|
+
networkAccess?: boolean | undefined;
|
|
2963
|
+
webSearch?: boolean | undefined;
|
|
2964
|
+
extra?: {
|
|
2965
|
+
claude?: Record<string, unknown> | undefined;
|
|
2966
|
+
codex?: Record<string, unknown> | undefined;
|
|
2967
|
+
} | undefined;
|
|
2968
|
+
systemPrompt?: string | undefined;
|
|
2969
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
2970
|
+
}>;
|
|
2971
|
+
}, "strip", z.ZodTypeAny, {
|
|
2972
|
+
type: "new-agent";
|
|
2973
|
+
config: {
|
|
2974
|
+
cwd: string;
|
|
2975
|
+
provider: string;
|
|
2976
|
+
title?: string | null | undefined;
|
|
2977
|
+
modeId?: string | undefined;
|
|
2978
|
+
model?: string | undefined;
|
|
2979
|
+
thinkingOptionId?: string | undefined;
|
|
2980
|
+
approvalPolicy?: string | undefined;
|
|
2981
|
+
sandboxMode?: string | undefined;
|
|
2982
|
+
networkAccess?: boolean | undefined;
|
|
2983
|
+
webSearch?: boolean | undefined;
|
|
2984
|
+
extra?: {
|
|
2985
|
+
claude?: Record<string, unknown> | undefined;
|
|
2986
|
+
codex?: Record<string, unknown> | undefined;
|
|
2987
|
+
} | undefined;
|
|
2988
|
+
systemPrompt?: string | undefined;
|
|
2989
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
2990
|
+
};
|
|
2991
|
+
}, {
|
|
2992
|
+
type: "new-agent";
|
|
2993
|
+
config: {
|
|
2994
|
+
cwd: string;
|
|
2995
|
+
provider: string;
|
|
2996
|
+
title?: string | null | undefined;
|
|
2997
|
+
modeId?: string | undefined;
|
|
2998
|
+
model?: string | undefined;
|
|
2999
|
+
thinkingOptionId?: string | undefined;
|
|
3000
|
+
approvalPolicy?: string | undefined;
|
|
3001
|
+
sandboxMode?: string | undefined;
|
|
3002
|
+
networkAccess?: boolean | undefined;
|
|
3003
|
+
webSearch?: boolean | undefined;
|
|
3004
|
+
extra?: {
|
|
3005
|
+
claude?: Record<string, unknown> | undefined;
|
|
3006
|
+
codex?: Record<string, unknown> | undefined;
|
|
3007
|
+
} | undefined;
|
|
3008
|
+
systemPrompt?: string | undefined;
|
|
3009
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3010
|
+
};
|
|
3011
|
+
}>]>;
|
|
3012
|
+
status: z.ZodEnum<["active", "paused", "completed"]>;
|
|
3013
|
+
createdAt: z.ZodString;
|
|
3014
|
+
updatedAt: z.ZodString;
|
|
3015
|
+
nextRunAt: z.ZodNullable<z.ZodString>;
|
|
3016
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
3017
|
+
pausedAt: z.ZodNullable<z.ZodString>;
|
|
3018
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3019
|
+
maxRuns: z.ZodNullable<z.ZodNumber>;
|
|
3020
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
3021
|
+
id: z.ZodString;
|
|
3022
|
+
scheduledFor: z.ZodString;
|
|
3023
|
+
startedAt: z.ZodString;
|
|
3024
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
3025
|
+
status: z.ZodEnum<["running", "succeeded", "failed"]>;
|
|
3026
|
+
agentId: z.ZodNullable<z.ZodString>;
|
|
3027
|
+
output: z.ZodNullable<z.ZodString>;
|
|
3028
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3029
|
+
}, "strip", z.ZodTypeAny, {
|
|
3030
|
+
error: string | null;
|
|
3031
|
+
agentId: string | null;
|
|
3032
|
+
status: "running" | "failed" | "succeeded";
|
|
3033
|
+
output: string | null;
|
|
3034
|
+
id: string;
|
|
3035
|
+
scheduledFor: string;
|
|
3036
|
+
startedAt: string;
|
|
3037
|
+
endedAt: string | null;
|
|
3038
|
+
}, {
|
|
3039
|
+
error: string | null;
|
|
3040
|
+
agentId: string | null;
|
|
3041
|
+
status: "running" | "failed" | "succeeded";
|
|
3042
|
+
output: string | null;
|
|
3043
|
+
id: string;
|
|
3044
|
+
scheduledFor: string;
|
|
3045
|
+
startedAt: string;
|
|
3046
|
+
endedAt: string | null;
|
|
3047
|
+
}>, "many">;
|
|
3048
|
+
}, "strip", z.ZodTypeAny, {
|
|
3049
|
+
name: string | null;
|
|
3050
|
+
status: "completed" | "active" | "paused";
|
|
3051
|
+
createdAt: string;
|
|
3052
|
+
id: string;
|
|
3053
|
+
updatedAt: string;
|
|
3054
|
+
prompt: string;
|
|
3055
|
+
cadence: {
|
|
3056
|
+
type: "every";
|
|
3057
|
+
everyMs: number;
|
|
3058
|
+
} | {
|
|
3059
|
+
type: "cron";
|
|
3060
|
+
expression: string;
|
|
3061
|
+
};
|
|
3062
|
+
target: {
|
|
3063
|
+
agentId: string;
|
|
3064
|
+
type: "agent";
|
|
3065
|
+
} | {
|
|
3066
|
+
type: "new-agent";
|
|
3067
|
+
config: {
|
|
3068
|
+
cwd: string;
|
|
3069
|
+
provider: string;
|
|
3070
|
+
title?: string | null | undefined;
|
|
3071
|
+
modeId?: string | undefined;
|
|
3072
|
+
model?: string | undefined;
|
|
3073
|
+
thinkingOptionId?: string | undefined;
|
|
3074
|
+
approvalPolicy?: string | undefined;
|
|
3075
|
+
sandboxMode?: string | undefined;
|
|
3076
|
+
networkAccess?: boolean | undefined;
|
|
3077
|
+
webSearch?: boolean | undefined;
|
|
3078
|
+
extra?: {
|
|
3079
|
+
claude?: Record<string, unknown> | undefined;
|
|
3080
|
+
codex?: Record<string, unknown> | undefined;
|
|
3081
|
+
} | undefined;
|
|
3082
|
+
systemPrompt?: string | undefined;
|
|
3083
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3084
|
+
};
|
|
3085
|
+
};
|
|
3086
|
+
nextRunAt: string | null;
|
|
3087
|
+
lastRunAt: string | null;
|
|
3088
|
+
pausedAt: string | null;
|
|
3089
|
+
expiresAt: string | null;
|
|
3090
|
+
maxRuns: number | null;
|
|
3091
|
+
runs: {
|
|
3092
|
+
error: string | null;
|
|
3093
|
+
agentId: string | null;
|
|
3094
|
+
status: "running" | "failed" | "succeeded";
|
|
3095
|
+
output: string | null;
|
|
3096
|
+
id: string;
|
|
3097
|
+
scheduledFor: string;
|
|
3098
|
+
startedAt: string;
|
|
3099
|
+
endedAt: string | null;
|
|
3100
|
+
}[];
|
|
3101
|
+
}, {
|
|
3102
|
+
name: string | null;
|
|
3103
|
+
status: "completed" | "active" | "paused";
|
|
3104
|
+
createdAt: string;
|
|
3105
|
+
id: string;
|
|
3106
|
+
updatedAt: string;
|
|
3107
|
+
prompt: string;
|
|
3108
|
+
cadence: {
|
|
3109
|
+
type: "every";
|
|
3110
|
+
everyMs: number;
|
|
3111
|
+
} | {
|
|
3112
|
+
type: "cron";
|
|
3113
|
+
expression: string;
|
|
3114
|
+
};
|
|
3115
|
+
target: {
|
|
3116
|
+
agentId: string;
|
|
3117
|
+
type: "agent";
|
|
3118
|
+
} | {
|
|
3119
|
+
type: "new-agent";
|
|
3120
|
+
config: {
|
|
3121
|
+
cwd: string;
|
|
3122
|
+
provider: string;
|
|
3123
|
+
title?: string | null | undefined;
|
|
3124
|
+
modeId?: string | undefined;
|
|
3125
|
+
model?: string | undefined;
|
|
3126
|
+
thinkingOptionId?: string | undefined;
|
|
3127
|
+
approvalPolicy?: string | undefined;
|
|
3128
|
+
sandboxMode?: string | undefined;
|
|
3129
|
+
networkAccess?: boolean | undefined;
|
|
3130
|
+
webSearch?: boolean | undefined;
|
|
3131
|
+
extra?: {
|
|
3132
|
+
claude?: Record<string, unknown> | undefined;
|
|
3133
|
+
codex?: Record<string, unknown> | undefined;
|
|
3134
|
+
} | undefined;
|
|
3135
|
+
systemPrompt?: string | undefined;
|
|
3136
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3137
|
+
};
|
|
3138
|
+
};
|
|
3139
|
+
nextRunAt: string | null;
|
|
3140
|
+
lastRunAt: string | null;
|
|
3141
|
+
pausedAt: string | null;
|
|
3142
|
+
expiresAt: string | null;
|
|
3143
|
+
maxRuns: number | null;
|
|
3144
|
+
runs: {
|
|
3145
|
+
error: string | null;
|
|
3146
|
+
agentId: string | null;
|
|
3147
|
+
status: "running" | "failed" | "succeeded";
|
|
3148
|
+
output: string | null;
|
|
3149
|
+
id: string;
|
|
3150
|
+
scheduledFor: string;
|
|
3151
|
+
startedAt: string;
|
|
3152
|
+
endedAt: string | null;
|
|
3153
|
+
}[];
|
|
3154
|
+
}>>;
|
|
3155
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3156
|
+
}, "strip", z.ZodTypeAny, {
|
|
3157
|
+
error: string | null;
|
|
3158
|
+
requestId: string;
|
|
3159
|
+
schedule: {
|
|
3160
|
+
name: string | null;
|
|
3161
|
+
status: "completed" | "active" | "paused";
|
|
3162
|
+
createdAt: string;
|
|
3163
|
+
id: string;
|
|
3164
|
+
updatedAt: string;
|
|
3165
|
+
prompt: string;
|
|
3166
|
+
cadence: {
|
|
3167
|
+
type: "every";
|
|
3168
|
+
everyMs: number;
|
|
3169
|
+
} | {
|
|
3170
|
+
type: "cron";
|
|
3171
|
+
expression: string;
|
|
3172
|
+
};
|
|
3173
|
+
target: {
|
|
3174
|
+
agentId: string;
|
|
3175
|
+
type: "agent";
|
|
3176
|
+
} | {
|
|
3177
|
+
type: "new-agent";
|
|
3178
|
+
config: {
|
|
3179
|
+
cwd: string;
|
|
3180
|
+
provider: string;
|
|
3181
|
+
title?: string | null | undefined;
|
|
3182
|
+
modeId?: string | undefined;
|
|
3183
|
+
model?: string | undefined;
|
|
3184
|
+
thinkingOptionId?: string | undefined;
|
|
3185
|
+
approvalPolicy?: string | undefined;
|
|
3186
|
+
sandboxMode?: string | undefined;
|
|
3187
|
+
networkAccess?: boolean | undefined;
|
|
3188
|
+
webSearch?: boolean | undefined;
|
|
3189
|
+
extra?: {
|
|
3190
|
+
claude?: Record<string, unknown> | undefined;
|
|
3191
|
+
codex?: Record<string, unknown> | undefined;
|
|
3192
|
+
} | undefined;
|
|
3193
|
+
systemPrompt?: string | undefined;
|
|
3194
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3195
|
+
};
|
|
3196
|
+
};
|
|
3197
|
+
nextRunAt: string | null;
|
|
3198
|
+
lastRunAt: string | null;
|
|
3199
|
+
pausedAt: string | null;
|
|
3200
|
+
expiresAt: string | null;
|
|
3201
|
+
maxRuns: number | null;
|
|
3202
|
+
runs: {
|
|
3203
|
+
error: string | null;
|
|
3204
|
+
agentId: string | null;
|
|
3205
|
+
status: "running" | "failed" | "succeeded";
|
|
3206
|
+
output: string | null;
|
|
3207
|
+
id: string;
|
|
3208
|
+
scheduledFor: string;
|
|
3209
|
+
startedAt: string;
|
|
3210
|
+
endedAt: string | null;
|
|
3211
|
+
}[];
|
|
3212
|
+
} | null;
|
|
3213
|
+
}, {
|
|
3214
|
+
error: string | null;
|
|
3215
|
+
requestId: string;
|
|
3216
|
+
schedule: {
|
|
3217
|
+
name: string | null;
|
|
3218
|
+
status: "completed" | "active" | "paused";
|
|
3219
|
+
createdAt: string;
|
|
3220
|
+
id: string;
|
|
3221
|
+
updatedAt: string;
|
|
3222
|
+
prompt: string;
|
|
3223
|
+
cadence: {
|
|
3224
|
+
type: "every";
|
|
3225
|
+
everyMs: number;
|
|
3226
|
+
} | {
|
|
3227
|
+
type: "cron";
|
|
3228
|
+
expression: string;
|
|
3229
|
+
};
|
|
3230
|
+
target: {
|
|
3231
|
+
agentId: string;
|
|
3232
|
+
type: "agent";
|
|
3233
|
+
} | {
|
|
3234
|
+
type: "new-agent";
|
|
3235
|
+
config: {
|
|
3236
|
+
cwd: string;
|
|
3237
|
+
provider: string;
|
|
3238
|
+
title?: string | null | undefined;
|
|
3239
|
+
modeId?: string | undefined;
|
|
3240
|
+
model?: string | undefined;
|
|
3241
|
+
thinkingOptionId?: string | undefined;
|
|
3242
|
+
approvalPolicy?: string | undefined;
|
|
3243
|
+
sandboxMode?: string | undefined;
|
|
3244
|
+
networkAccess?: boolean | undefined;
|
|
3245
|
+
webSearch?: boolean | undefined;
|
|
3246
|
+
extra?: {
|
|
3247
|
+
claude?: Record<string, unknown> | undefined;
|
|
3248
|
+
codex?: Record<string, unknown> | undefined;
|
|
3249
|
+
} | undefined;
|
|
3250
|
+
systemPrompt?: string | undefined;
|
|
3251
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3252
|
+
};
|
|
3253
|
+
};
|
|
3254
|
+
nextRunAt: string | null;
|
|
3255
|
+
lastRunAt: string | null;
|
|
3256
|
+
pausedAt: string | null;
|
|
3257
|
+
expiresAt: string | null;
|
|
3258
|
+
maxRuns: number | null;
|
|
3259
|
+
runs: {
|
|
3260
|
+
error: string | null;
|
|
3261
|
+
agentId: string | null;
|
|
3262
|
+
status: "running" | "failed" | "succeeded";
|
|
3263
|
+
output: string | null;
|
|
3264
|
+
id: string;
|
|
3265
|
+
scheduledFor: string;
|
|
3266
|
+
startedAt: string;
|
|
3267
|
+
endedAt: string | null;
|
|
3268
|
+
}[];
|
|
3269
|
+
} | null;
|
|
3270
|
+
}>;
|
|
3271
|
+
}, "strip", z.ZodTypeAny, {
|
|
3272
|
+
type: "schedule/run-once/response";
|
|
3273
|
+
payload: {
|
|
3274
|
+
error: string | null;
|
|
3275
|
+
requestId: string;
|
|
3276
|
+
schedule: {
|
|
3277
|
+
name: string | null;
|
|
3278
|
+
status: "completed" | "active" | "paused";
|
|
3279
|
+
createdAt: string;
|
|
3280
|
+
id: string;
|
|
3281
|
+
updatedAt: string;
|
|
3282
|
+
prompt: string;
|
|
3283
|
+
cadence: {
|
|
3284
|
+
type: "every";
|
|
3285
|
+
everyMs: number;
|
|
3286
|
+
} | {
|
|
3287
|
+
type: "cron";
|
|
3288
|
+
expression: string;
|
|
3289
|
+
};
|
|
3290
|
+
target: {
|
|
3291
|
+
agentId: string;
|
|
3292
|
+
type: "agent";
|
|
3293
|
+
} | {
|
|
3294
|
+
type: "new-agent";
|
|
3295
|
+
config: {
|
|
3296
|
+
cwd: string;
|
|
3297
|
+
provider: string;
|
|
3298
|
+
title?: string | null | undefined;
|
|
3299
|
+
modeId?: string | undefined;
|
|
3300
|
+
model?: string | undefined;
|
|
3301
|
+
thinkingOptionId?: string | undefined;
|
|
3302
|
+
approvalPolicy?: string | undefined;
|
|
3303
|
+
sandboxMode?: string | undefined;
|
|
3304
|
+
networkAccess?: boolean | undefined;
|
|
3305
|
+
webSearch?: boolean | undefined;
|
|
3306
|
+
extra?: {
|
|
3307
|
+
claude?: Record<string, unknown> | undefined;
|
|
3308
|
+
codex?: Record<string, unknown> | undefined;
|
|
3309
|
+
} | undefined;
|
|
3310
|
+
systemPrompt?: string | undefined;
|
|
3311
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3312
|
+
};
|
|
3313
|
+
};
|
|
3314
|
+
nextRunAt: string | null;
|
|
3315
|
+
lastRunAt: string | null;
|
|
3316
|
+
pausedAt: string | null;
|
|
3317
|
+
expiresAt: string | null;
|
|
3318
|
+
maxRuns: number | null;
|
|
3319
|
+
runs: {
|
|
3320
|
+
error: string | null;
|
|
3321
|
+
agentId: string | null;
|
|
3322
|
+
status: "running" | "failed" | "succeeded";
|
|
3323
|
+
output: string | null;
|
|
3324
|
+
id: string;
|
|
3325
|
+
scheduledFor: string;
|
|
3326
|
+
startedAt: string;
|
|
3327
|
+
endedAt: string | null;
|
|
3328
|
+
}[];
|
|
3329
|
+
} | null;
|
|
3330
|
+
};
|
|
3331
|
+
}, {
|
|
3332
|
+
type: "schedule/run-once/response";
|
|
3333
|
+
payload: {
|
|
3334
|
+
error: string | null;
|
|
3335
|
+
requestId: string;
|
|
3336
|
+
schedule: {
|
|
3337
|
+
name: string | null;
|
|
3338
|
+
status: "completed" | "active" | "paused";
|
|
3339
|
+
createdAt: string;
|
|
3340
|
+
id: string;
|
|
3341
|
+
updatedAt: string;
|
|
3342
|
+
prompt: string;
|
|
3343
|
+
cadence: {
|
|
3344
|
+
type: "every";
|
|
3345
|
+
everyMs: number;
|
|
3346
|
+
} | {
|
|
3347
|
+
type: "cron";
|
|
3348
|
+
expression: string;
|
|
3349
|
+
};
|
|
3350
|
+
target: {
|
|
3351
|
+
agentId: string;
|
|
3352
|
+
type: "agent";
|
|
3353
|
+
} | {
|
|
3354
|
+
type: "new-agent";
|
|
3355
|
+
config: {
|
|
3356
|
+
cwd: string;
|
|
3357
|
+
provider: string;
|
|
3358
|
+
title?: string | null | undefined;
|
|
3359
|
+
modeId?: string | undefined;
|
|
3360
|
+
model?: string | undefined;
|
|
3361
|
+
thinkingOptionId?: string | undefined;
|
|
3362
|
+
approvalPolicy?: string | undefined;
|
|
3363
|
+
sandboxMode?: string | undefined;
|
|
3364
|
+
networkAccess?: boolean | undefined;
|
|
3365
|
+
webSearch?: boolean | undefined;
|
|
3366
|
+
extra?: {
|
|
3367
|
+
claude?: Record<string, unknown> | undefined;
|
|
3368
|
+
codex?: Record<string, unknown> | undefined;
|
|
3369
|
+
} | undefined;
|
|
3370
|
+
systemPrompt?: string | undefined;
|
|
3371
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3372
|
+
};
|
|
3373
|
+
};
|
|
3374
|
+
nextRunAt: string | null;
|
|
3375
|
+
lastRunAt: string | null;
|
|
3376
|
+
pausedAt: string | null;
|
|
3377
|
+
expiresAt: string | null;
|
|
3378
|
+
maxRuns: number | null;
|
|
3379
|
+
runs: {
|
|
3380
|
+
error: string | null;
|
|
3381
|
+
agentId: string | null;
|
|
3382
|
+
status: "running" | "failed" | "succeeded";
|
|
3383
|
+
output: string | null;
|
|
3384
|
+
id: string;
|
|
3385
|
+
scheduledFor: string;
|
|
3386
|
+
startedAt: string;
|
|
3387
|
+
endedAt: string | null;
|
|
3388
|
+
}[];
|
|
3389
|
+
} | null;
|
|
3390
|
+
};
|
|
3391
|
+
}>;
|
|
3392
|
+
export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
|
|
3393
|
+
type: z.ZodLiteral<"schedule/update/response">;
|
|
3394
|
+
payload: z.ZodObject<{
|
|
3395
|
+
requestId: z.ZodString;
|
|
3396
|
+
schedule: z.ZodNullable<z.ZodObject<{
|
|
3397
|
+
id: z.ZodString;
|
|
3398
|
+
name: z.ZodNullable<z.ZodString>;
|
|
3399
|
+
prompt: z.ZodString;
|
|
3400
|
+
cadence: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3401
|
+
type: z.ZodLiteral<"every">;
|
|
3402
|
+
everyMs: z.ZodNumber;
|
|
3403
|
+
}, "strip", z.ZodTypeAny, {
|
|
3404
|
+
type: "every";
|
|
3405
|
+
everyMs: number;
|
|
3406
|
+
}, {
|
|
3407
|
+
type: "every";
|
|
3408
|
+
everyMs: number;
|
|
3409
|
+
}>, z.ZodObject<{
|
|
3410
|
+
type: z.ZodLiteral<"cron">;
|
|
3411
|
+
expression: z.ZodString;
|
|
3412
|
+
}, "strip", z.ZodTypeAny, {
|
|
3413
|
+
type: "cron";
|
|
3414
|
+
expression: string;
|
|
3415
|
+
}, {
|
|
3416
|
+
type: "cron";
|
|
3417
|
+
expression: string;
|
|
3418
|
+
}>]>;
|
|
3419
|
+
target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3420
|
+
type: z.ZodLiteral<"agent">;
|
|
3421
|
+
agentId: z.ZodString;
|
|
3422
|
+
}, "strip", z.ZodTypeAny, {
|
|
3423
|
+
agentId: string;
|
|
3424
|
+
type: "agent";
|
|
3425
|
+
}, {
|
|
3426
|
+
agentId: string;
|
|
3427
|
+
type: "agent";
|
|
3428
|
+
}>, z.ZodObject<{
|
|
3429
|
+
type: z.ZodLiteral<"new-agent">;
|
|
3430
|
+
config: z.ZodObject<{
|
|
3431
|
+
provider: z.ZodString;
|
|
3432
|
+
cwd: z.ZodString;
|
|
3433
|
+
modeId: z.ZodOptional<z.ZodString>;
|
|
3434
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3435
|
+
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
3436
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3437
|
+
approvalPolicy: z.ZodOptional<z.ZodString>;
|
|
3438
|
+
sandboxMode: z.ZodOptional<z.ZodString>;
|
|
3439
|
+
networkAccess: z.ZodOptional<z.ZodBoolean>;
|
|
3440
|
+
webSearch: z.ZodOptional<z.ZodBoolean>;
|
|
3441
|
+
extra: z.ZodOptional<z.ZodObject<{
|
|
3442
|
+
codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3443
|
+
claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3444
|
+
}, "strip", z.ZodTypeAny, {
|
|
3445
|
+
claude?: Record<string, unknown> | undefined;
|
|
3446
|
+
codex?: Record<string, unknown> | undefined;
|
|
3447
|
+
}, {
|
|
3448
|
+
claude?: Record<string, unknown> | undefined;
|
|
3449
|
+
codex?: Record<string, unknown> | undefined;
|
|
3450
|
+
}>>;
|
|
3451
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3453
|
+
}, "strip", z.ZodTypeAny, {
|
|
3454
|
+
cwd: string;
|
|
3455
|
+
provider: string;
|
|
3456
|
+
title?: string | null | undefined;
|
|
3457
|
+
modeId?: string | undefined;
|
|
3458
|
+
model?: string | undefined;
|
|
3459
|
+
thinkingOptionId?: string | undefined;
|
|
3460
|
+
approvalPolicy?: string | undefined;
|
|
3461
|
+
sandboxMode?: string | undefined;
|
|
3462
|
+
networkAccess?: boolean | undefined;
|
|
3463
|
+
webSearch?: boolean | undefined;
|
|
3464
|
+
extra?: {
|
|
3465
|
+
claude?: Record<string, unknown> | undefined;
|
|
3466
|
+
codex?: Record<string, unknown> | undefined;
|
|
3467
|
+
} | undefined;
|
|
3468
|
+
systemPrompt?: string | undefined;
|
|
3469
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3470
|
+
}, {
|
|
3471
|
+
cwd: string;
|
|
3472
|
+
provider: string;
|
|
3473
|
+
title?: string | null | undefined;
|
|
3474
|
+
modeId?: string | undefined;
|
|
3475
|
+
model?: string | undefined;
|
|
3476
|
+
thinkingOptionId?: string | undefined;
|
|
3477
|
+
approvalPolicy?: string | undefined;
|
|
3478
|
+
sandboxMode?: string | undefined;
|
|
3479
|
+
networkAccess?: boolean | undefined;
|
|
3480
|
+
webSearch?: boolean | undefined;
|
|
3481
|
+
extra?: {
|
|
3482
|
+
claude?: Record<string, unknown> | undefined;
|
|
3483
|
+
codex?: Record<string, unknown> | undefined;
|
|
3484
|
+
} | undefined;
|
|
3485
|
+
systemPrompt?: string | undefined;
|
|
3486
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3487
|
+
}>;
|
|
3488
|
+
}, "strip", z.ZodTypeAny, {
|
|
3489
|
+
type: "new-agent";
|
|
3490
|
+
config: {
|
|
3491
|
+
cwd: string;
|
|
3492
|
+
provider: string;
|
|
3493
|
+
title?: string | null | undefined;
|
|
3494
|
+
modeId?: string | undefined;
|
|
3495
|
+
model?: string | undefined;
|
|
3496
|
+
thinkingOptionId?: string | undefined;
|
|
3497
|
+
approvalPolicy?: string | undefined;
|
|
3498
|
+
sandboxMode?: string | undefined;
|
|
3499
|
+
networkAccess?: boolean | undefined;
|
|
3500
|
+
webSearch?: boolean | undefined;
|
|
3501
|
+
extra?: {
|
|
3502
|
+
claude?: Record<string, unknown> | undefined;
|
|
3503
|
+
codex?: Record<string, unknown> | undefined;
|
|
3504
|
+
} | undefined;
|
|
3505
|
+
systemPrompt?: string | undefined;
|
|
3506
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3507
|
+
};
|
|
3508
|
+
}, {
|
|
3509
|
+
type: "new-agent";
|
|
3510
|
+
config: {
|
|
3511
|
+
cwd: string;
|
|
3512
|
+
provider: string;
|
|
3513
|
+
title?: string | null | undefined;
|
|
3514
|
+
modeId?: string | undefined;
|
|
3515
|
+
model?: string | undefined;
|
|
3516
|
+
thinkingOptionId?: string | undefined;
|
|
3517
|
+
approvalPolicy?: string | undefined;
|
|
3518
|
+
sandboxMode?: string | undefined;
|
|
3519
|
+
networkAccess?: boolean | undefined;
|
|
3520
|
+
webSearch?: boolean | undefined;
|
|
3521
|
+
extra?: {
|
|
3522
|
+
claude?: Record<string, unknown> | undefined;
|
|
3523
|
+
codex?: Record<string, unknown> | undefined;
|
|
3524
|
+
} | undefined;
|
|
3525
|
+
systemPrompt?: string | undefined;
|
|
3526
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3527
|
+
};
|
|
3528
|
+
}>]>;
|
|
3529
|
+
status: z.ZodEnum<["active", "paused", "completed"]>;
|
|
3530
|
+
createdAt: z.ZodString;
|
|
3531
|
+
updatedAt: z.ZodString;
|
|
3532
|
+
nextRunAt: z.ZodNullable<z.ZodString>;
|
|
3533
|
+
lastRunAt: z.ZodNullable<z.ZodString>;
|
|
3534
|
+
pausedAt: z.ZodNullable<z.ZodString>;
|
|
3535
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
3536
|
+
maxRuns: z.ZodNullable<z.ZodNumber>;
|
|
3537
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
3538
|
+
id: z.ZodString;
|
|
3539
|
+
scheduledFor: z.ZodString;
|
|
3540
|
+
startedAt: z.ZodString;
|
|
3541
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
|
3542
|
+
status: z.ZodEnum<["running", "succeeded", "failed"]>;
|
|
3543
|
+
agentId: z.ZodNullable<z.ZodString>;
|
|
3544
|
+
output: z.ZodNullable<z.ZodString>;
|
|
3545
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3546
|
+
}, "strip", z.ZodTypeAny, {
|
|
3547
|
+
error: string | null;
|
|
3548
|
+
agentId: string | null;
|
|
3549
|
+
status: "running" | "failed" | "succeeded";
|
|
3550
|
+
output: string | null;
|
|
3551
|
+
id: string;
|
|
3552
|
+
scheduledFor: string;
|
|
3553
|
+
startedAt: string;
|
|
3554
|
+
endedAt: string | null;
|
|
3555
|
+
}, {
|
|
3556
|
+
error: string | null;
|
|
3557
|
+
agentId: string | null;
|
|
3558
|
+
status: "running" | "failed" | "succeeded";
|
|
3559
|
+
output: string | null;
|
|
3560
|
+
id: string;
|
|
3561
|
+
scheduledFor: string;
|
|
3562
|
+
startedAt: string;
|
|
3563
|
+
endedAt: string | null;
|
|
3564
|
+
}>, "many">;
|
|
3565
|
+
}, "strip", z.ZodTypeAny, {
|
|
3566
|
+
name: string | null;
|
|
3567
|
+
status: "completed" | "active" | "paused";
|
|
3568
|
+
createdAt: string;
|
|
3569
|
+
id: string;
|
|
3570
|
+
updatedAt: string;
|
|
3571
|
+
prompt: string;
|
|
3572
|
+
cadence: {
|
|
3573
|
+
type: "every";
|
|
3574
|
+
everyMs: number;
|
|
3575
|
+
} | {
|
|
3576
|
+
type: "cron";
|
|
3577
|
+
expression: string;
|
|
3578
|
+
};
|
|
3579
|
+
target: {
|
|
3580
|
+
agentId: string;
|
|
3581
|
+
type: "agent";
|
|
3582
|
+
} | {
|
|
3583
|
+
type: "new-agent";
|
|
3584
|
+
config: {
|
|
3585
|
+
cwd: string;
|
|
3586
|
+
provider: string;
|
|
3587
|
+
title?: string | null | undefined;
|
|
3588
|
+
modeId?: string | undefined;
|
|
3589
|
+
model?: string | undefined;
|
|
3590
|
+
thinkingOptionId?: string | undefined;
|
|
3591
|
+
approvalPolicy?: string | undefined;
|
|
3592
|
+
sandboxMode?: string | undefined;
|
|
3593
|
+
networkAccess?: boolean | undefined;
|
|
3594
|
+
webSearch?: boolean | undefined;
|
|
3595
|
+
extra?: {
|
|
3596
|
+
claude?: Record<string, unknown> | undefined;
|
|
3597
|
+
codex?: Record<string, unknown> | undefined;
|
|
3598
|
+
} | undefined;
|
|
3599
|
+
systemPrompt?: string | undefined;
|
|
3600
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3601
|
+
};
|
|
3602
|
+
};
|
|
3603
|
+
nextRunAt: string | null;
|
|
3604
|
+
lastRunAt: string | null;
|
|
3605
|
+
pausedAt: string | null;
|
|
3606
|
+
expiresAt: string | null;
|
|
3607
|
+
maxRuns: number | null;
|
|
3608
|
+
runs: {
|
|
3609
|
+
error: string | null;
|
|
3610
|
+
agentId: string | null;
|
|
3611
|
+
status: "running" | "failed" | "succeeded";
|
|
3612
|
+
output: string | null;
|
|
3613
|
+
id: string;
|
|
3614
|
+
scheduledFor: string;
|
|
3615
|
+
startedAt: string;
|
|
3616
|
+
endedAt: string | null;
|
|
3617
|
+
}[];
|
|
3618
|
+
}, {
|
|
3619
|
+
name: string | null;
|
|
3620
|
+
status: "completed" | "active" | "paused";
|
|
3621
|
+
createdAt: string;
|
|
3622
|
+
id: string;
|
|
3623
|
+
updatedAt: string;
|
|
3624
|
+
prompt: string;
|
|
3625
|
+
cadence: {
|
|
3626
|
+
type: "every";
|
|
3627
|
+
everyMs: number;
|
|
3628
|
+
} | {
|
|
3629
|
+
type: "cron";
|
|
3630
|
+
expression: string;
|
|
3631
|
+
};
|
|
3632
|
+
target: {
|
|
3633
|
+
agentId: string;
|
|
3634
|
+
type: "agent";
|
|
3635
|
+
} | {
|
|
3636
|
+
type: "new-agent";
|
|
3637
|
+
config: {
|
|
3638
|
+
cwd: string;
|
|
3639
|
+
provider: string;
|
|
3640
|
+
title?: string | null | undefined;
|
|
3641
|
+
modeId?: string | undefined;
|
|
3642
|
+
model?: string | undefined;
|
|
3643
|
+
thinkingOptionId?: string | undefined;
|
|
3644
|
+
approvalPolicy?: string | undefined;
|
|
3645
|
+
sandboxMode?: string | undefined;
|
|
3646
|
+
networkAccess?: boolean | undefined;
|
|
3647
|
+
webSearch?: boolean | undefined;
|
|
3648
|
+
extra?: {
|
|
3649
|
+
claude?: Record<string, unknown> | undefined;
|
|
3650
|
+
codex?: Record<string, unknown> | undefined;
|
|
3651
|
+
} | undefined;
|
|
3652
|
+
systemPrompt?: string | undefined;
|
|
3653
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3654
|
+
};
|
|
3655
|
+
};
|
|
3656
|
+
nextRunAt: string | null;
|
|
3657
|
+
lastRunAt: string | null;
|
|
3658
|
+
pausedAt: string | null;
|
|
3659
|
+
expiresAt: string | null;
|
|
3660
|
+
maxRuns: number | null;
|
|
3661
|
+
runs: {
|
|
3662
|
+
error: string | null;
|
|
3663
|
+
agentId: string | null;
|
|
3664
|
+
status: "running" | "failed" | "succeeded";
|
|
3665
|
+
output: string | null;
|
|
3666
|
+
id: string;
|
|
3667
|
+
scheduledFor: string;
|
|
3668
|
+
startedAt: string;
|
|
3669
|
+
endedAt: string | null;
|
|
3670
|
+
}[];
|
|
3671
|
+
}>>;
|
|
3672
|
+
error: z.ZodNullable<z.ZodString>;
|
|
3673
|
+
}, "strip", z.ZodTypeAny, {
|
|
3674
|
+
error: string | null;
|
|
3675
|
+
requestId: string;
|
|
3676
|
+
schedule: {
|
|
3677
|
+
name: string | null;
|
|
3678
|
+
status: "completed" | "active" | "paused";
|
|
3679
|
+
createdAt: string;
|
|
3680
|
+
id: string;
|
|
3681
|
+
updatedAt: string;
|
|
3682
|
+
prompt: string;
|
|
3683
|
+
cadence: {
|
|
3684
|
+
type: "every";
|
|
3685
|
+
everyMs: number;
|
|
3686
|
+
} | {
|
|
3687
|
+
type: "cron";
|
|
3688
|
+
expression: string;
|
|
3689
|
+
};
|
|
3690
|
+
target: {
|
|
3691
|
+
agentId: string;
|
|
3692
|
+
type: "agent";
|
|
3693
|
+
} | {
|
|
3694
|
+
type: "new-agent";
|
|
3695
|
+
config: {
|
|
3696
|
+
cwd: string;
|
|
3697
|
+
provider: string;
|
|
3698
|
+
title?: string | null | undefined;
|
|
3699
|
+
modeId?: string | undefined;
|
|
3700
|
+
model?: string | undefined;
|
|
3701
|
+
thinkingOptionId?: string | undefined;
|
|
3702
|
+
approvalPolicy?: string | undefined;
|
|
3703
|
+
sandboxMode?: string | undefined;
|
|
3704
|
+
networkAccess?: boolean | undefined;
|
|
3705
|
+
webSearch?: boolean | undefined;
|
|
3706
|
+
extra?: {
|
|
3707
|
+
claude?: Record<string, unknown> | undefined;
|
|
3708
|
+
codex?: Record<string, unknown> | undefined;
|
|
3709
|
+
} | undefined;
|
|
3710
|
+
systemPrompt?: string | undefined;
|
|
3711
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3712
|
+
};
|
|
3713
|
+
};
|
|
3714
|
+
nextRunAt: string | null;
|
|
3715
|
+
lastRunAt: string | null;
|
|
3716
|
+
pausedAt: string | null;
|
|
3717
|
+
expiresAt: string | null;
|
|
3718
|
+
maxRuns: number | null;
|
|
3719
|
+
runs: {
|
|
3720
|
+
error: string | null;
|
|
3721
|
+
agentId: string | null;
|
|
3722
|
+
status: "running" | "failed" | "succeeded";
|
|
3723
|
+
output: string | null;
|
|
3724
|
+
id: string;
|
|
3725
|
+
scheduledFor: string;
|
|
3726
|
+
startedAt: string;
|
|
3727
|
+
endedAt: string | null;
|
|
3728
|
+
}[];
|
|
3729
|
+
} | null;
|
|
3730
|
+
}, {
|
|
3731
|
+
error: string | null;
|
|
3732
|
+
requestId: string;
|
|
3733
|
+
schedule: {
|
|
3734
|
+
name: string | null;
|
|
3735
|
+
status: "completed" | "active" | "paused";
|
|
3736
|
+
createdAt: string;
|
|
3737
|
+
id: string;
|
|
3738
|
+
updatedAt: string;
|
|
3739
|
+
prompt: string;
|
|
3740
|
+
cadence: {
|
|
3741
|
+
type: "every";
|
|
3742
|
+
everyMs: number;
|
|
3743
|
+
} | {
|
|
3744
|
+
type: "cron";
|
|
3745
|
+
expression: string;
|
|
3746
|
+
};
|
|
3747
|
+
target: {
|
|
3748
|
+
agentId: string;
|
|
3749
|
+
type: "agent";
|
|
3750
|
+
} | {
|
|
3751
|
+
type: "new-agent";
|
|
3752
|
+
config: {
|
|
3753
|
+
cwd: string;
|
|
3754
|
+
provider: string;
|
|
3755
|
+
title?: string | null | undefined;
|
|
3756
|
+
modeId?: string | undefined;
|
|
3757
|
+
model?: string | undefined;
|
|
3758
|
+
thinkingOptionId?: string | undefined;
|
|
3759
|
+
approvalPolicy?: string | undefined;
|
|
3760
|
+
sandboxMode?: string | undefined;
|
|
3761
|
+
networkAccess?: boolean | undefined;
|
|
3762
|
+
webSearch?: boolean | undefined;
|
|
3763
|
+
extra?: {
|
|
3764
|
+
claude?: Record<string, unknown> | undefined;
|
|
3765
|
+
codex?: Record<string, unknown> | undefined;
|
|
3766
|
+
} | undefined;
|
|
3767
|
+
systemPrompt?: string | undefined;
|
|
3768
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3769
|
+
};
|
|
3770
|
+
};
|
|
3771
|
+
nextRunAt: string | null;
|
|
3772
|
+
lastRunAt: string | null;
|
|
3773
|
+
pausedAt: string | null;
|
|
3774
|
+
expiresAt: string | null;
|
|
3775
|
+
maxRuns: number | null;
|
|
3776
|
+
runs: {
|
|
3777
|
+
error: string | null;
|
|
3778
|
+
agentId: string | null;
|
|
3779
|
+
status: "running" | "failed" | "succeeded";
|
|
3780
|
+
output: string | null;
|
|
3781
|
+
id: string;
|
|
3782
|
+
scheduledFor: string;
|
|
3783
|
+
startedAt: string;
|
|
3784
|
+
endedAt: string | null;
|
|
3785
|
+
}[];
|
|
3786
|
+
} | null;
|
|
3787
|
+
}>;
|
|
3788
|
+
}, "strip", z.ZodTypeAny, {
|
|
3789
|
+
type: "schedule/update/response";
|
|
3790
|
+
payload: {
|
|
3791
|
+
error: string | null;
|
|
3792
|
+
requestId: string;
|
|
3793
|
+
schedule: {
|
|
3794
|
+
name: string | null;
|
|
3795
|
+
status: "completed" | "active" | "paused";
|
|
3796
|
+
createdAt: string;
|
|
3797
|
+
id: string;
|
|
3798
|
+
updatedAt: string;
|
|
3799
|
+
prompt: string;
|
|
3800
|
+
cadence: {
|
|
3801
|
+
type: "every";
|
|
3802
|
+
everyMs: number;
|
|
3803
|
+
} | {
|
|
3804
|
+
type: "cron";
|
|
3805
|
+
expression: string;
|
|
3806
|
+
};
|
|
3807
|
+
target: {
|
|
3808
|
+
agentId: string;
|
|
3809
|
+
type: "agent";
|
|
3810
|
+
} | {
|
|
3811
|
+
type: "new-agent";
|
|
3812
|
+
config: {
|
|
3813
|
+
cwd: string;
|
|
3814
|
+
provider: string;
|
|
3815
|
+
title?: string | null | undefined;
|
|
3816
|
+
modeId?: string | undefined;
|
|
3817
|
+
model?: string | undefined;
|
|
3818
|
+
thinkingOptionId?: string | undefined;
|
|
3819
|
+
approvalPolicy?: string | undefined;
|
|
3820
|
+
sandboxMode?: string | undefined;
|
|
3821
|
+
networkAccess?: boolean | undefined;
|
|
3822
|
+
webSearch?: boolean | undefined;
|
|
3823
|
+
extra?: {
|
|
3824
|
+
claude?: Record<string, unknown> | undefined;
|
|
3825
|
+
codex?: Record<string, unknown> | undefined;
|
|
3826
|
+
} | undefined;
|
|
3827
|
+
systemPrompt?: string | undefined;
|
|
3828
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3829
|
+
};
|
|
3830
|
+
};
|
|
3831
|
+
nextRunAt: string | null;
|
|
3832
|
+
lastRunAt: string | null;
|
|
3833
|
+
pausedAt: string | null;
|
|
3834
|
+
expiresAt: string | null;
|
|
3835
|
+
maxRuns: number | null;
|
|
3836
|
+
runs: {
|
|
3837
|
+
error: string | null;
|
|
3838
|
+
agentId: string | null;
|
|
3839
|
+
status: "running" | "failed" | "succeeded";
|
|
3840
|
+
output: string | null;
|
|
3841
|
+
id: string;
|
|
3842
|
+
scheduledFor: string;
|
|
3843
|
+
startedAt: string;
|
|
3844
|
+
endedAt: string | null;
|
|
3845
|
+
}[];
|
|
3846
|
+
} | null;
|
|
3847
|
+
};
|
|
3848
|
+
}, {
|
|
3849
|
+
type: "schedule/update/response";
|
|
3850
|
+
payload: {
|
|
3851
|
+
error: string | null;
|
|
3852
|
+
requestId: string;
|
|
3853
|
+
schedule: {
|
|
3854
|
+
name: string | null;
|
|
3855
|
+
status: "completed" | "active" | "paused";
|
|
3856
|
+
createdAt: string;
|
|
3857
|
+
id: string;
|
|
3858
|
+
updatedAt: string;
|
|
3859
|
+
prompt: string;
|
|
3860
|
+
cadence: {
|
|
3861
|
+
type: "every";
|
|
3862
|
+
everyMs: number;
|
|
3863
|
+
} | {
|
|
3864
|
+
type: "cron";
|
|
3865
|
+
expression: string;
|
|
3866
|
+
};
|
|
3867
|
+
target: {
|
|
3868
|
+
agentId: string;
|
|
3869
|
+
type: "agent";
|
|
3870
|
+
} | {
|
|
3871
|
+
type: "new-agent";
|
|
3872
|
+
config: {
|
|
3873
|
+
cwd: string;
|
|
3874
|
+
provider: string;
|
|
3875
|
+
title?: string | null | undefined;
|
|
3876
|
+
modeId?: string | undefined;
|
|
3877
|
+
model?: string | undefined;
|
|
3878
|
+
thinkingOptionId?: string | undefined;
|
|
3879
|
+
approvalPolicy?: string | undefined;
|
|
3880
|
+
sandboxMode?: string | undefined;
|
|
3881
|
+
networkAccess?: boolean | undefined;
|
|
3882
|
+
webSearch?: boolean | undefined;
|
|
3883
|
+
extra?: {
|
|
3884
|
+
claude?: Record<string, unknown> | undefined;
|
|
3885
|
+
codex?: Record<string, unknown> | undefined;
|
|
3886
|
+
} | undefined;
|
|
3887
|
+
systemPrompt?: string | undefined;
|
|
3888
|
+
mcpServers?: Record<string, unknown> | undefined;
|
|
3889
|
+
};
|
|
3890
|
+
};
|
|
3891
|
+
nextRunAt: string | null;
|
|
3892
|
+
lastRunAt: string | null;
|
|
3893
|
+
pausedAt: string | null;
|
|
3894
|
+
expiresAt: string | null;
|
|
3895
|
+
maxRuns: number | null;
|
|
3896
|
+
runs: {
|
|
3897
|
+
error: string | null;
|
|
3898
|
+
agentId: string | null;
|
|
3899
|
+
status: "running" | "failed" | "succeeded";
|
|
3900
|
+
output: string | null;
|
|
3901
|
+
id: string;
|
|
3902
|
+
scheduledFor: string;
|
|
3903
|
+
startedAt: string;
|
|
3904
|
+
endedAt: string | null;
|
|
3905
|
+
}[];
|
|
3906
|
+
} | null;
|
|
3907
|
+
};
|
|
3908
|
+
}>;
|
|
2773
3909
|
//# sourceMappingURL=rpc-schemas.d.ts.map
|