@xopcai/xopc 0.0.313 → 0.0.314
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/browser-ext/dist/assets/{auth-C3yV1y_l.js → auth-DKo-NMUY.js} +18 -1
- package/dist/browser-ext/dist/background.js +68 -2
- package/dist/browser-ext/dist/sidepanel.html +1 -1
- package/dist/browser-ext/dist/sidepanel.js +1 -1
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/feishu/src/adapters/cli-login.js +3 -3
- package/dist/extensions/feishu/src/outbound/media-load.js +2 -2
- package/dist/extensions/telegram/src/inbound-processor.js +1 -1
- package/dist/extensions/telegram/src/outbound-sender.js +1 -1
- package/dist/extensions/telegram/src/plugin.js +3 -3
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/api/api.js +2 -2
- package/dist/extensions/weixin/src/auth/accounts.js +12 -12
- package/dist/extensions/weixin/src/messaging/debug-mode.js +5 -5
- package/dist/extensions/weixin/src/messaging/inbound.js +11 -11
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-C73s_EYF.js → agent-avatar-dicebear-BFkjfurL.js} +1 -1
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-BdOZ6q8Z.js +1 -0
- package/dist/gateway/static/root/assets/{agents-Bspu1pT2.js → agents-CCcavsHq.js} +1 -1
- package/dist/gateway/static/root/assets/{api-Com7kQuw.js → api-BYhRsTAc.js} +1 -1
- package/dist/gateway/static/root/assets/{app-link-CKueEVbT.js → app-link-nL8iPwEr.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-DSo_SV6G.js → app-management-settings-panel-B4kihr-A.js} +1 -1
- package/dist/gateway/static/root/assets/appearance-settings-N9sYmNOx.js +1 -0
- package/dist/gateway/static/root/assets/apps-page-BMcy10_s.js +1 -0
- package/dist/gateway/static/root/assets/{archive-plugin-BWueu3Qt.js → archive-plugin-k_SuYWyV.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-DYV25sAC.js → attachment-load-DRv5QWUK.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-Du8AkHrH.js → automations-page-CkJV3DN0.js} +1 -1
- package/dist/gateway/static/root/assets/automations-workspace-BEa2doeR.js +7 -0
- package/dist/gateway/static/root/assets/{binary-plugins-rahoUE_-.js → binary-plugins-Dg3h3TA7.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-CVbiuQ90.js → block-editor-DVhdHntT.js} +29 -29
- package/dist/gateway/static/root/assets/{browser-automation-inputs-CAC4w9KM.js → browser-automation-inputs-BMRYUW8_.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-automations-page-B3-fdrAr.js → browser-automations-page-Byv6-FY2.js} +2 -2
- package/dist/gateway/static/root/assets/browser-settings-page-DRCHGFpO.js +3 -0
- package/dist/gateway/static/root/assets/capabilities-D0S3DuAD.js +1 -0
- package/dist/gateway/static/root/assets/capabilities-settings-panel-mxRP0gl0.js +8 -0
- package/dist/gateway/static/root/assets/channels-settings-DBt_6GsB.js +1 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-98GzKJ0K.js → chat-terminal-dock-D4AHa51o.js} +2 -2
- package/dist/gateway/static/root/assets/{computer-settings-page-CB3mySQb.js → computer-settings-page-eXPe500D.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-ZlbIXdey.js → connector-service-page-BQTFlq_k.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-BKeBWwcI.js +2 -0
- package/dist/gateway/static/root/assets/conversation-identity-Cw0n9uzK.js +1 -0
- package/dist/gateway/static/root/assets/{date-picker-WW3fY-ng.js → date-picker-7MtovynY.js} +1 -1
- package/dist/gateway/static/root/assets/{dependency-picker-D1QgzM_s.js → dependency-picker-Bj_xkXID.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-D0MtbTwu.js → desktop-pet-CTmba9zH.js} +1 -1
- package/dist/gateway/static/root/assets/desktop-pet-settings-DNM_BlWN.js +1 -0
- package/dist/gateway/static/root/assets/device-pairing-wizard-C2XE0QhT.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-BOtWAAGM.js → extension-debug-page-J_olaL7e.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-FULvawj8.js → extension-page-pK5RvqN8.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-Dzh6lE26.js → extension-settings-page-BwroEN08.js} +1 -1
- package/dist/gateway/static/root/assets/files-BK6enEvD.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-config-swr-D7SG_ECs.js → gateway-config-swr-FuJTIg_a.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-settings-CLLDp23J.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-startup-retry-CrHz00-9.js → gateway-startup-retry-CKg_gu8_.js} +1 -1
- package/dist/gateway/static/root/assets/home-page-B5Epb1PH.js +1 -0
- package/dist/gateway/static/root/assets/{image-generation-api-DGiHzeLb.js → image-generation-api-Bo6NZ7zb.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-DiJrgu9D.js → imports-page-C8-hX8gS.js} +1 -1
- package/dist/gateway/static/root/assets/index-14F1yGJI.js +89 -0
- package/dist/gateway/static/root/assets/index-cB7rWIDY.css +1 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-DZ60sucF.js → keyboard-shortcuts-settings-BkBEjUZD.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-6jC3vQpY.js +2 -0
- package/dist/gateway/static/root/assets/{local-apps-page-Cx2YuI8E.js → local-apps-page-CrbKIixo.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-vZTDIqJB.js → locale-store-CvGwNbml.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-DBHlZts9.js +2 -0
- package/dist/gateway/static/root/assets/management-settings-DsUWLu5m.js +1 -0
- package/dist/gateway/static/root/assets/{markdown-view-DJfzcZCW.js → markdown-view-nXo5nrsv.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-COpQGcN3.js → media-plugins-upxXJ-4l.js} +1 -1
- package/dist/gateway/static/root/assets/messages-B_AwRroN.js +3 -0
- package/dist/gateway/static/root/assets/note-detail-panel-0Q9TOtJG.js +5 -0
- package/dist/gateway/static/root/assets/notes-page-D0NmcwNw.js +8 -0
- package/dist/gateway/static/root/assets/page-context-capture-button-DUyA-K4L.js +1 -0
- package/dist/gateway/static/root/assets/{page-tabs-nARdLZcP.js → page-tabs-Cl-NFPNr.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-open-alternatives-BEJg3fTq.js → preview-open-alternatives-DX81PwJ3.js} +1 -1
- package/dist/gateway/static/root/assets/product-delivery-chCjIpvu.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-CR4Lehku.js → product-open-page-CrfIGwm8.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-BVfVrYmn.js +1 -0
- package/dist/gateway/static/root/assets/projects-page-nM9a9XNS.js +1 -0
- package/dist/gateway/static/root/assets/{registry-api-CF-nJ5MG.js → registry-api-CHxgohY0.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-C8b_k88G.js +1 -0
- package/dist/gateway/static/root/assets/runtime-tools-settings-panel-D3dLOW04.js +5 -0
- package/dist/gateway/static/root/assets/scenes-page-DEowreZV.js +2 -0
- package/dist/gateway/static/root/assets/{schema-form-DOsDKbWU.js → schema-form-ZxuIvD2_.js} +1 -1
- package/dist/gateway/static/root/assets/schemas-88fK3zzl.js +64 -0
- package/dist/gateway/static/root/assets/sessions-page-B_nPhera.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-BqhIOuus.js +1 -0
- package/dist/gateway/static/root/assets/{settings-form-section-kIV5M-9G.js → settings-form-section-TZRfg4yo.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-C2TS9mvq.js → settings-page-a8qcJpdZ.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-layout-B39PogyD.js → settings-page-layout-BfvlRT9q.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-CRj5Ruqn.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-CMbgRZ7w.js → share-preview-page-DCt1pTWB.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-BNbXPk--.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-CNMCLbav.js +1 -0
- package/dist/gateway/static/root/assets/{skills-page-DV4FX1ev.js → skills-page-BIOcg44X.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page.utils-C-2lmZHk.js → skills-page.utils-CgZdzT4I.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-CQ1Z6i28.js → system-settings-panel-_YaRncA6.js} +1 -1
- package/dist/gateway/static/root/assets/task-detail-page-CAcfAG-c.js +1 -0
- package/dist/gateway/static/root/assets/tasks-CDR_RVbQ.js +1 -0
- package/dist/gateway/static/root/assets/{tunnel-api-tn6H0D44.js → tunnel-api-uOupJOoS.js} +1 -1
- package/dist/gateway/static/root/assets/turn-outcome-D0SnyZ3Z.js +1 -0
- package/dist/gateway/static/root/assets/{use-autosave-CkEM9tXu.js → use-autosave-BezzHBLE.js} +1 -1
- package/dist/gateway/static/root/assets/user-model-page-BFFeneDq.js +2 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-d0Fawetf.js → voice-api-key-field-BmYifdwL.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-config-api-D_8zU7Li.js → voice-config-api-D_5Q2_A3.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-overlay-C5FFSieF.js → work-discovery-overlay-4DmyEckJ.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-q5ammR4k.js → workflow-run-setup-panel-DeZe8bTZ.js} +2 -2
- package/dist/gateway/static/root/assets/workflows-page-Sv4hEc6W.js +6 -0
- package/dist/gateway/static/root/index.html +16 -16
- package/dist/package.js +1 -1
- package/dist/packages/computer-control-contract/src/index.js +10 -1
- package/dist/packages/gateway-contract/src/app-context.js +55 -0
- package/dist/packages/gateway-contract/src/automations.js +16 -17
- package/dist/packages/gateway-contract/src/capabilities.js +1078 -0
- package/dist/packages/gateway-contract/src/extension-capabilities.js +26 -0
- package/dist/packages/gateway-contract/src/home.js +3 -3
- package/dist/packages/gateway-contract/src/index.js +8 -0
- package/dist/packages/gateway-contract/src/product-delivery.js +19 -4
- package/dist/packages/gateway-contract/src/scenes.js +199 -0
- package/dist/packages/gateway-contract/src/task-runs.js +8 -4
- package/dist/packages/gateway-contract/src/tasks.js +5 -4
- package/dist/packages/realtime-client/src/index.js +17 -4
- package/dist/src/agent/agent-manager.d.ts +1 -0
- package/dist/src/agent/agent-manager.js +19 -18
- package/dist/src/agent/agent-scope.js +2 -2
- package/dist/src/agent/background-review/run-background-review.js +4 -4
- package/dist/src/agent/child-agent-factory.d.ts +2 -0
- package/dist/src/agent/child-agent-factory.js +5 -0
- package/dist/src/agent/coding/repository-instructions.js +1 -1
- package/dist/src/agent/commands/approved-verification.d.ts +14 -0
- package/dist/src/agent/commands/approved-verification.js +48 -0
- package/dist/src/agent/context/coordinator.js +2 -2
- package/dist/src/agent/context/execution-context.js +4 -4
- package/dist/src/agent/context/execution-scope.js +4 -3
- package/dist/src/agent/context/project-context.js +5 -4
- package/dist/src/agent/data-acquisition/service.js +1 -1
- package/dist/src/agent/embedded/index.js +2 -2
- package/dist/src/agent/embedded/model-runtime.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +4 -4
- package/dist/src/agent/embedded/run-turn.js +4 -4
- package/dist/src/agent/embedded/session-tool-result-guard.js +3 -3
- package/dist/src/agent/embedded/tool-result-truncation.js +1 -1
- package/dist/src/agent/external-tools/cliProvider.js +126 -78
- package/dist/src/agent/external-tools/composio-provider.d.ts +1 -1
- package/dist/src/agent/external-tools/composio-provider.js +73 -15
- package/dist/src/agent/external-tools/endpoint-provider.js +14 -1
- package/dist/src/agent/external-tools/gateway-tools.js +1 -1
- package/dist/src/agent/external-tools/mcp-provider.js +2 -2
- package/dist/src/agent/image/generation/openai-images-provider.js +1 -1
- package/dist/src/agent/image/generation/providers/dashscope.js +1 -1
- package/dist/src/agent/image/generation/providers/fal.js +1 -1
- package/dist/src/agent/image/generation/providers/google.js +1 -1
- package/dist/src/agent/image/generation/runtime.js +1 -1
- package/dist/src/agent/image/index.js +1 -1
- package/dist/src/agent/image/load-image-media.js +1 -1
- package/dist/src/agent/image/tool-model-config.js +1 -1
- package/dist/src/agent/inbound/attachment-pipeline.js +1 -1
- package/dist/src/agent/inbound/inbound-loop.js +2 -2
- package/dist/src/agent/inbound/turn-dispatcher.d.ts +2 -0
- package/dist/src/agent/inbound/turn-dispatcher.js +2 -1
- package/dist/src/agent/index.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-gateway.js +1 -1
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +1 -1
- package/dist/src/agent/mcp/index.js +2 -2
- package/dist/src/agent/mcp/mcp-transport.js +1 -1
- package/dist/src/agent/mcp/oauth/mcp-oauth-store.js +1 -1
- package/dist/src/agent/memory/compaction-chunks.d.ts +6 -1
- package/dist/src/agent/memory/compaction-chunks.js +16 -3
- package/dist/src/agent/memory/compaction-ledger.d.ts +3 -1
- package/dist/src/agent/memory/compaction-ledger.js +31 -18
- package/dist/src/agent/memory/compaction-request.d.ts +2 -0
- package/dist/src/agent/memory/compaction-request.js +6 -1
- package/dist/src/agent/memory/compaction.d.ts +19 -1
- package/dist/src/agent/memory/compaction.js +112 -30
- package/dist/src/agent/memory/context-recovery.js +1 -1
- package/dist/src/agent/memory/index.js +2 -2
- package/dist/src/agent/orchestration/agent-orchestrator.js +5 -5
- package/dist/src/agent/prompt/service-prompt-builder.js +2 -2
- package/dist/src/agent/sandbox/exec-policy.js +1 -1
- package/dist/src/agent/service/direct-turn-helpers.js +5 -5
- package/dist/src/agent/service/process-direct-one-shot.js +1 -1
- package/dist/src/agent/service/process-direct-streaming.d.ts +3 -0
- package/dist/src/agent/service/process-direct-streaming.js +21 -12
- package/dist/src/agent/service/webchat-tts.js +1 -1
- package/dist/src/agent/service.js +22 -21
- package/dist/src/agent/service.types.d.ts +1 -0
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/config.js +2 -0
- package/dist/src/agent/skills/filesystem-watcher.js +1 -1
- package/dist/src/agent/skills/format-skills-prompt.js +14 -1
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/skills/hub-pull.js +3 -3
- package/dist/src/agent/skills/index.js +16 -8
- package/dist/src/agent/skills/marketplace/adapters/store/adapter.js +1 -1
- package/dist/src/agent/skills/marketplace/adapters/store/store-api-client.js +1 -1
- package/dist/src/agent/skills/types.d.ts +1 -1
- package/dist/src/agent/source-context/app-context.d.ts +4 -0
- package/dist/src/agent/source-context/app-context.js +36 -0
- package/dist/src/agent/source-context/injector.js +1 -0
- package/dist/src/agent/source-context/types.d.ts +5 -1
- package/dist/src/agent/tasks/task-judge-service.js +6 -5
- package/dist/src/agent/tool-manuals/computer.d.ts +1 -1
- package/dist/src/agent/tool-manuals/computer.js +1 -1
- package/dist/src/agent/tools/automation-tool.d.ts +12 -1
- package/dist/src/agent/tools/automation-tool.js +106 -32
- package/dist/src/agent/tools/create-share-tool.js +4 -4
- package/dist/src/agent/tools/dataBatch.js +1 -1
- package/dist/src/agent/tools/delegate-tool.js +3 -3
- package/dist/src/agent/tools/delegation-parent-policy.js +1 -1
- package/dist/src/agent/tools/executor.js +1 -1
- package/dist/src/agent/tools/factory.d.ts +1 -0
- package/dist/src/agent/tools/factory.js +22 -17
- package/dist/src/agent/tools/fetch-text.js +1 -1
- package/dist/src/agent/tools/image-generate-tool.js +3 -3
- package/dist/src/agent/tools/index.js +6 -6
- package/dist/src/agent/tools/list-dir.js +1 -1
- package/dist/src/agent/tools/publish-artifacts.js +2 -2
- package/dist/src/agent/tools/read.js +2 -2
- package/dist/src/agent/tools/review-workspace.js +1 -1
- package/dist/src/agent/tools/scoped-workspace-tools.d.ts +8 -0
- package/dist/src/agent/tools/scoped-workspace-tools.js +81 -0
- package/dist/src/agent/tools/send-media.js +2 -2
- package/dist/src/agent/tools/skills-tools.js +1 -1
- package/dist/src/agent/tools/user-context-tool.js +1 -1
- package/dist/src/agent/tools/write.js +2 -2
- package/dist/src/agent/tools/xopc-use-tool.d.ts +6 -3
- package/dist/src/agent/tools/xopc-use-tool.js +997 -908
- package/dist/src/agent/workflow/subagent-runner.js +2 -1
- package/dist/src/agent-config/index.js +2 -2
- package/dist/src/agent-config/schema.d.ts +5 -0
- package/dist/src/agent-config/schema.js +14 -10
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/credentials.js +2 -2
- package/dist/src/auth/oauth/xopc-cloud.js +1 -1
- package/dist/src/auth/profiles/store.js +1 -1
- package/dist/src/auth/sync-provider-auth.js +2 -2
- package/dist/src/automations/api/routes.js +244 -164
- package/dist/src/automations/capabilities/drafts.d.ts +4 -0
- package/dist/src/automations/capabilities/drafts.js +95 -0
- package/dist/src/automations/capabilities/read.d.ts +4 -0
- package/dist/src/automations/capabilities/read.js +119 -0
- package/dist/src/automations/capabilities/write.d.ts +349 -0
- package/dist/src/automations/capabilities/write.js +172 -0
- package/dist/src/automations/domain/index.js +2 -2
- package/dist/src/automations/domain/validation.d.ts +77 -77
- package/dist/src/automations/domain/validation.js +9 -6
- package/dist/src/automations/draft/automation-draft-validator.d.ts +2 -2
- package/dist/src/automations/index.js +6 -6
- package/dist/src/automations/service/automation-service.d.ts +31 -0
- package/dist/src/automations/service/automation-service.js +213 -75
- package/dist/src/automations/service/index.js +2 -2
- package/dist/src/automations/storage/automation-repository.d.ts +2 -0
- package/dist/src/automations/storage/automation-repository.js +9 -1
- package/dist/src/automations/storage/automation-run-repository.d.ts +4 -1
- package/dist/src/automations/storage/automation-run-repository.js +16 -3
- package/dist/src/automations/storage/index.js +3 -3
- package/dist/src/browser/automations/schema.d.ts +1 -1
- package/dist/src/browser/automations/service.d.ts +1 -1
- package/dist/src/browser/observation/format.js +4 -0
- package/dist/src/browser/providers/browser-ext-install.js +1 -1
- package/dist/src/capabilities/adapters/http.d.ts +4 -0
- package/dist/src/capabilities/adapters/http.js +44 -0
- package/dist/src/capabilities/readiness/from-config.js +11 -7
- package/dist/src/capabilities/runtime/app-context.d.ts +3 -0
- package/dist/src/capabilities/runtime/app-context.js +72 -0
- package/dist/src/capabilities/runtime/atomic-operations.d.ts +11 -0
- package/dist/src/capabilities/runtime/atomic-operations.js +34 -0
- package/dist/src/capabilities/runtime/dispatcher.d.ts +67 -0
- package/dist/src/capabilities/runtime/dispatcher.js +170 -0
- package/dist/src/capabilities/runtime/errors.d.ts +6 -0
- package/dist/src/capabilities/runtime/errors.js +11 -0
- package/dist/src/capabilities/runtime/external-operations.d.ts +16 -0
- package/dist/src/capabilities/runtime/external-operations.js +92 -0
- package/dist/src/capabilities/runtime/product.d.ts +12 -0
- package/dist/src/capabilities/runtime/product.js +69 -0
- package/dist/src/capabilities/runtime/settings.d.ts +3 -0
- package/dist/src/capabilities/runtime/settings.js +27 -0
- package/dist/src/capabilities/store-connector.js +1 -1
- package/dist/src/channels/attachments/voice-stt-webchat.js +2 -2
- package/dist/src/channels/index.js +3 -3
- package/dist/src/channels/manager.js +1 -1
- package/dist/src/channels/pairing/allow-from-file.js +9 -9
- package/dist/src/channels/pairing/pairing-store.js +6 -6
- package/dist/src/chat-commands/agent-edit.js +1 -1
- package/dist/src/chat-commands/builtins/config.js +1 -1
- package/dist/src/chat-commands/builtins/review.js +1 -1
- package/dist/src/chat-commands/builtins/thinking.js +1 -1
- package/dist/src/chat-commands/builtins/tts.js +1 -1
- package/dist/src/chat-commands/builtins/understanding.js +1 -1
- package/dist/src/chat-commands/builtins/workflow.js +2 -2
- package/dist/src/chat-commands/context.js +2 -2
- package/dist/src/chat-commands/index.js +2 -2
- package/dist/src/cli/cli-log-level-preset.d.ts +2 -0
- package/dist/src/cli/cli-log-level-preset.js +4 -0
- package/dist/src/cli/command-catalog.js +4 -0
- package/dist/src/cli/command-loaders.js +1 -0
- package/dist/src/cli/command-manifest.js +4 -0
- package/dist/src/cli/commands/agent.js +7 -7
- package/dist/src/cli/commands/agents.js +1 -1
- package/dist/src/cli/commands/channels.js +1 -1
- package/dist/src/cli/commands/config.js +1 -1
- package/dist/src/cli/commands/connectors.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +3 -3
- package/dist/src/cli/commands/extension-dev.js +1 -1
- package/dist/src/cli/commands/extension-marketplace.js +1 -1
- package/dist/src/cli/commands/extension.js +1 -1
- package/dist/src/cli/commands/gateway/shared.js +1 -1
- package/dist/src/cli/commands/gateway/token.js +1 -1
- package/dist/src/cli/commands/image.js +1 -1
- package/dist/src/cli/commands/init.js +1 -1
- package/dist/src/cli/commands/mcp.d.ts +1 -0
- package/dist/src/cli/commands/mcp.js +51 -0
- package/dist/src/cli/commands/models.js +2 -2
- package/dist/src/cli/commands/onboard.js +2 -2
- package/dist/src/cli/commands/project.js +2 -2
- package/dist/src/cli/commands/runtime.js +1 -1
- package/dist/src/cli/commands/skills.js +2 -2
- package/dist/src/cli/commands/tunnel.js +3 -3
- package/dist/src/cli/extension-cli-register.js +4 -4
- package/dist/src/cli/utils/gateway-client.js +1 -1
- package/dist/src/computer/broker.d.ts +0 -1
- package/dist/src/computer/broker.js +4 -6
- package/dist/src/computer/evaluation-harness.d.ts +45 -0
- package/dist/src/computer/evaluation-harness.js +108 -0
- package/dist/src/computer/model-adapter.d.ts +37 -2
- package/dist/src/computer/model-adapter.js +333 -42
- package/dist/src/computer/model-policy.d.ts +4 -1
- package/dist/src/computer/model-policy.js +11 -3
- package/dist/src/computer/release-gate.d.ts +22 -0
- package/dist/src/computer/release-gate.js +19 -0
- package/dist/src/computer/runtime.js +16 -12
- package/dist/src/computer/task-state.d.ts +1 -0
- package/dist/src/computer/task-state.js +1 -0
- package/dist/src/config/index.js +5 -5
- package/dist/src/config/loader.js +2 -2
- package/dist/src/config/models-json.d.ts +14 -8
- package/dist/src/config/models-json.js +3 -3
- package/dist/src/config/schema.d.ts +4 -0
- package/dist/src/config/schema.js +4 -10
- package/dist/src/connectors/cli/authorization.js +1 -1
- package/dist/src/connectors/cli/runtime.js +1 -1
- package/dist/src/connectors/composio-sessions.d.ts +4 -2
- package/dist/src/connectors/composio-sessions.js +11 -10
- package/dist/src/connectors/composio.js +11 -9
- package/dist/src/connectors/connected-source-understanding.js +2 -2
- package/dist/src/connectors/connection-recovery-service.js +5 -5
- package/dist/src/connectors/health.js +1 -1
- package/dist/src/discussions/action-tasks.js +2 -1
- package/dist/src/discussions/live-worker.js +1 -1
- package/dist/src/discussions/recording.js +1 -1
- package/dist/src/discussions/sealer.js +1 -1
- package/dist/src/execution-environments/local-worktree-manager.d.ts +1 -0
- package/dist/src/execution-environments/local-worktree-manager.js +13 -2
- package/dist/src/extensions/activation-context.js +3 -3
- package/dist/src/extensions/api.js +3 -3
- package/dist/src/extensions/bundled-extension-activation.js +1 -1
- package/dist/src/extensions/index.js +1 -1
- package/dist/src/extensions/loader.js +1 -1
- package/dist/src/extensions/lockfile.js +1 -1
- package/dist/src/extensions/normalize-manifest.js +6 -1
- package/dist/src/extensions/sdk/index.js +1 -1
- package/dist/src/extensions/sdk/media.js +1 -1
- package/dist/src/extensions/types/manifest.d.ts +3 -0
- package/dist/src/gateway/agent-builtin-tools.d.ts +1 -1
- package/dist/src/gateway/agents-admin.js +4 -4
- package/dist/src/gateway/device-routes.js +2 -2
- package/dist/src/gateway/file-path-classifier.js +2 -2
- package/dist/src/gateway/global-defaults-admin.js +1 -1
- package/dist/src/gateway/hono/app.js +3 -3
- package/dist/src/gateway/hono/lib/config-payload.d.ts +1 -0
- package/dist/src/gateway/hono/lib/config-payload.js +3 -3
- package/dist/src/gateway/hono/middleware/scopes.js +1 -1
- package/dist/src/gateway/hono/routes/agents.js +1 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +6 -3
- package/dist/src/gateway/hono/routes/browser.js +1 -1
- package/dist/src/gateway/hono/routes/capability-operations.d.ts +3 -0
- package/dist/src/gateway/hono/routes/capability-operations.js +52 -0
- package/dist/src/gateway/hono/routes/commands-skills.js +3 -3
- package/dist/src/gateway/hono/routes/config-patch/gateway.js +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +1 -1
- package/dist/src/gateway/hono/routes/home.js +1 -1
- package/dist/src/gateway/hono/routes/imports.js +1 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js +16 -0
- package/dist/src/gateway/hono/routes/local-app-capabilities.d.ts +4 -0
- package/dist/src/gateway/hono/routes/local-app-capabilities.js +41 -0
- package/dist/src/gateway/hono/routes/local-apps.js +41 -9
- package/dist/src/gateway/hono/routes/mcp.js +1 -1
- package/dist/src/gateway/hono/routes/media.js +1 -1
- package/dist/src/gateway/hono/routes/models.js +7 -7
- package/dist/src/gateway/hono/routes/notes.js +216 -147
- package/dist/src/gateway/hono/routes/projects.js +219 -376
- package/dist/src/gateway/hono/routes/scenes.js +188 -75
- package/dist/src/gateway/hono/routes/session-input-handler.d.ts +60 -16
- package/dist/src/gateway/hono/routes/session-input-handler.js +45 -3
- package/dist/src/gateway/hono/routes/sessions.js +18 -1
- package/dist/src/gateway/hono/routes/shares.js +3 -3
- package/dist/src/gateway/hono/routes/site-shares.js +1 -1
- package/dist/src/gateway/hono/routes/tasks.js +182 -326
- package/dist/src/gateway/hono/routes/user-model-refresh.js +1 -1
- package/dist/src/gateway/hono/routes/user-model.js +4 -4
- package/dist/src/gateway/hono/routes/voice.js +6 -6
- package/dist/src/gateway/hono/routes/workflows.js +3 -3
- package/dist/src/gateway/lock.js +11 -11
- package/dist/src/gateway/media-access.js +3 -2
- package/dist/src/gateway/mobile-privacy.js +2 -2
- package/dist/src/gateway/ports.js +6 -6
- package/dist/src/gateway/scenes/host.js +14 -3
- package/dist/src/gateway/scenes/mailContext.js +1 -1
- package/dist/src/gateway/scenes/slackThreadSource.d.ts +41 -0
- package/dist/src/gateway/scenes/slackThreadSource.js +168 -0
- package/dist/src/gateway/security/gateway-scopes.d.ts +1 -1
- package/dist/src/gateway/security/gateway-scopes.js +5 -0
- package/dist/src/gateway/server.js +1 -1
- package/dist/src/gateway/service/app-context-access.d.ts +11 -0
- package/dist/src/gateway/service/app-context-access.js +70 -0
- package/dist/src/gateway/service/config-coordinator.js +4 -4
- package/dist/src/gateway/service/marketplace-service.js +3 -3
- package/dist/src/gateway/service/run-gateway-agent.js +13 -4
- package/dist/src/gateway/service/session-input-coordinator.js +54 -15
- package/dist/src/gateway/service/sessions-api.d.ts +1 -0
- package/dist/src/gateway/service/sessions-api.js +4 -1
- package/dist/src/gateway/service/task-conversation-query-service.d.ts +3 -1
- package/dist/src/gateway/service/task-conversation-query-service.js +32 -3
- package/dist/src/gateway/service.d.ts +3 -0
- package/dist/src/gateway/service.js +92 -38
- package/dist/src/gateway/session-context-summary.js +3 -2
- package/dist/src/gateway/workspace-editor-path.js +2 -2
- package/dist/src/heartbeat/index.js +1 -1
- package/dist/src/i18n/share-tool-bundle.js +2 -2
- package/dist/src/imports/runtime.js +1 -1
- package/dist/src/{tasks/task-outbox-dispatcher.d.ts → infra/domain-outbox-dispatcher.d.ts} +2 -2
- package/dist/src/{tasks/task-outbox-dispatcher.js → infra/domain-outbox-dispatcher.js} +10 -9
- package/dist/src/infra/gateway-processes.js +2 -2
- package/dist/src/infra/operation-context.d.ts +2 -0
- package/dist/src/infra/operation-context.js +16 -0
- package/dist/src/infra/path-env.js +3 -3
- package/dist/src/infra/update-global.js +10 -10
- package/dist/src/local-apps/capabilities/contracts.d.ts +2 -0
- package/dist/src/local-apps/capabilities/contracts.js +32 -0
- package/dist/src/local-apps/capabilities/read.d.ts +3 -0
- package/dist/src/local-apps/capabilities/read.js +48 -0
- package/dist/src/local-apps/capabilities/runtime.d.ts +16 -0
- package/dist/src/local-apps/capabilities/runtime.js +66 -0
- package/dist/src/local-apps/capabilities/write.d.ts +3 -0
- package/dist/src/local-apps/capabilities/write.js +35 -0
- package/dist/src/local-apps/release-lock.d.ts +2 -0
- package/dist/src/local-apps/release-lock.js +20 -0
- package/dist/src/local-apps/runtime-entry.d.ts +0 -2
- package/dist/src/local-apps/runtime-entry.js +1 -14
- package/dist/src/local-apps/scaffold.js +4 -1
- package/dist/src/local-apps/service.d.ts +24 -1
- package/dist/src/local-apps/service.js +187 -44
- package/dist/src/local-apps/store.js +0 -2
- package/dist/src/mcp/capability-server.d.ts +4 -0
- package/dist/src/mcp/capability-server.js +96 -0
- package/dist/src/mcp/channel-bridge.js +1 -1
- package/dist/src/mcp/gateway-http-client.d.ts +7 -0
- package/dist/src/mcp/gateway-http-client.js +27 -5
- package/dist/src/media-understanding/openai-compatible-audio.js +1 -1
- package/dist/src/notes/agent-context.js +4 -4
- package/dist/src/notes/capabilities/read.d.ts +3 -0
- package/dist/src/notes/capabilities/read.js +96 -0
- package/dist/src/notes/capabilities/write.d.ts +7 -0
- package/dist/src/notes/capabilities/write.js +152 -0
- package/dist/src/notes/index.js +1 -1
- package/dist/src/notes/service.d.ts +12 -4
- package/dist/src/notes/service.js +188 -175
- package/dist/src/notes/store.d.ts +14 -9
- package/dist/src/notes/store.js +81 -21
- package/dist/src/notifications/service.d.ts +1 -0
- package/dist/src/notifications/service.js +5 -0
- package/dist/src/platform/client.d.ts +1 -1
- package/dist/src/platform/contracts.d.ts +1 -1
- package/dist/src/projects/capabilities/read.d.ts +3 -0
- package/dist/src/projects/capabilities/read.js +81 -0
- package/dist/src/projects/capabilities/write.d.ts +9 -0
- package/dist/src/projects/capabilities/write.js +260 -0
- package/dist/src/projects/index.js +2 -2
- package/dist/src/projects/project-change-events.d.ts +2 -0
- package/dist/src/projects/project-change-events.js +18 -0
- package/dist/src/projects/project-service.d.ts +11 -0
- package/dist/src/projects/project-service.js +121 -42
- package/dist/src/projects/project-skill-service.js +2 -2
- package/dist/src/projects/project-store.js +12 -2
- package/dist/src/projects/project-workspace-creation.d.ts +3 -0
- package/dist/src/projects/project-workspace-creation.js +45 -0
- package/dist/src/projects/workspace-project.js +6 -0
- package/dist/src/providers/auth-runtime/resolve-auth.js +1 -1
- package/dist/src/providers/index.js +2 -2
- package/dist/src/providers/model-catalog-persistence.js +1 -1
- package/dist/src/providers/model-catalog-types.d.ts +2 -1
- package/dist/src/providers/model-reference-auditor.js +5 -5
- package/dist/src/providers/model-registry.js +1 -1
- package/dist/src/providers/model-supplements.js +13 -3
- package/dist/src/providers/presentation.js +3 -3
- package/dist/src/providers/register-runtime-providers.js +1 -1
- package/dist/src/providers/xopc-cloud-model-source.js +4 -2
- package/dist/src/realtime/runtime.js +4 -0
- package/dist/src/remote-access/exposure-manager.js +1 -1
- package/dist/src/scenes/capabilities/read.d.ts +3 -0
- package/dist/src/scenes/capabilities/read.js +187 -0
- package/dist/src/scenes/capabilities/write.d.ts +3 -0
- package/dist/src/scenes/capabilities/write.js +151 -0
- package/dist/src/scenes/contracts.d.ts +2 -105
- package/dist/src/scenes/contracts.js +3 -88
- package/dist/src/scenes/execution.d.ts +1 -1
- package/dist/src/scenes/httpServices.d.ts +2 -0
- package/dist/src/scenes/inbox.d.ts +1 -0
- package/dist/src/scenes/inbox.js +7 -7
- package/dist/src/scenes/preferences.d.ts +3 -24
- package/dist/src/scenes/preferences.js +8 -30
- package/dist/src/scenes/repository.d.ts +1 -0
- package/dist/src/scenes/repository.js +7 -3
- package/dist/src/scenes/resultNotifications.js +2 -2
- package/dist/src/scenes/schedule.d.ts +1 -8
- package/dist/src/scenes/schedule.js +3 -15
- package/dist/src/scenes/service.d.ts +6 -0
- package/dist/src/scenes/service.js +29 -25
- package/dist/src/scenes/taskFollowUp/agentExecutor.d.ts +36 -0
- package/dist/src/scenes/taskFollowUp/agentExecutor.js +149 -0
- package/dist/src/scenes/taskFollowUp/branchInventory.d.ts +38 -0
- package/dist/src/scenes/taskFollowUp/branchInventory.js +70 -0
- package/dist/src/scenes/taskFollowUp/contracts.d.ts +91 -0
- package/dist/src/scenes/taskFollowUp/contracts.js +100 -0
- package/dist/src/scenes/taskFollowUp/resources.d.ts +19 -0
- package/dist/src/scenes/taskFollowUp/resources.js +97 -0
- package/dist/src/scenes/taskFollowUp/service.d.ts +810 -0
- package/dist/src/scenes/taskFollowUp/service.js +710 -0
- package/dist/src/scenes/taskFollowUp/workspaceFingerprint.d.ts +2 -0
- package/dist/src/scenes/taskFollowUp/workspaceFingerprint.js +46 -0
- package/dist/src/scenes/templates.d.ts +2 -2
- package/dist/src/scenes/templates.js +1 -1
- package/dist/src/session/index.js +2 -2
- package/dist/src/session/session-find.d.ts +17 -0
- package/dist/src/session/session-find.js +56 -0
- package/dist/src/session/session-title.js +1 -1
- package/dist/src/session/store.d.ts +4 -0
- package/dist/src/session/store.js +46 -10
- package/dist/src/session/thinking-resolve.js +1 -1
- package/dist/src/share/note-share-revocation.d.ts +3 -0
- package/dist/src/share/note-share-revocation.js +26 -0
- package/dist/src/share/share-store.js +1 -1
- package/dist/src/share/share-thumbnail.js +1 -1
- package/dist/src/share/site-proxy.js +1 -1
- package/dist/src/share/site-share-store.js +1 -1
- package/dist/src/storage/sqlite/connection.js +9 -9
- package/dist/src/storage/sqlite/migrations/190_scene_development.sql +37 -0
- package/dist/src/storage/sqlite/migrations/191_scene_task_follow_up.sql +27 -0
- package/dist/src/storage/sqlite/migrations/192_capability_operations.sql +20 -0
- package/dist/src/storage/sqlite/migrations/193_note_file_cleanup.sql +8 -0
- package/dist/src/storage/sqlite/migrations/194_capability_external_outcomes.sql +11 -0
- package/dist/src/storage/sqlite/migrations/195_automation_deleted_revisions.sql +4 -0
- package/dist/src/storage/sqlite/migrations/196_automation_run_requests.sql +23 -0
- package/dist/src/storage/sqlite/migrations/197_note_deletion_cleanup.sql +8 -0
- package/dist/src/storage/sqlite/migrations/198_project_workspace_creation.sql +7 -0
- package/dist/src/storage/sqlite/migrations/199_scene_resource_events.sql +488 -0
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +6 -3
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/storage/sqlite/transaction.d.ts +5 -0
- package/dist/src/storage/sqlite/transaction.js +34 -3
- package/dist/src/tasks/capabilities/management.d.ts +195 -0
- package/dist/src/tasks/capabilities/management.js +111 -0
- package/dist/src/tasks/capabilities/read.d.ts +2 -0
- package/dist/src/tasks/capabilities/read.js +141 -0
- package/dist/src/tasks/capabilities/relations.d.ts +204 -0
- package/dist/src/tasks/capabilities/relations.js +140 -0
- package/dist/src/tasks/capabilities/runs.d.ts +2 -0
- package/dist/src/tasks/capabilities/runs.js +89 -0
- package/dist/src/tasks/capabilities/write.d.ts +207 -0
- package/dist/src/tasks/capabilities/write.js +107 -0
- package/dist/src/tasks/execution-context.js +1 -1
- package/dist/src/tasks/home-query-service.js +5 -4
- package/dist/src/tasks/index.d.ts +0 -1
- package/dist/src/tasks/index.js +9 -9
- package/dist/src/tasks/project-operating-view-service.js +2 -1
- package/dist/src/tasks/task-application-service.d.ts +1 -0
- package/dist/src/tasks/task-application-service.js +4 -3
- package/dist/src/tasks/task-change-events.js +5 -3
- package/dist/src/tasks/task-context-assembler.js +3 -2
- package/dist/src/tasks/task-deletion-service.js +2 -1
- package/dist/src/tasks/task-dependency-service.js +2 -1
- package/dist/src/tasks/task-handoff-service.js +3 -2
- package/dist/src/tasks/task-read-model-projector.js +2 -1
- package/dist/src/tasks/task-repository.d.ts +12 -7
- package/dist/src/tasks/task-repository.js +175 -154
- package/dist/src/tasks/task-run-coordinator.js +2 -1
- package/dist/src/tasks/task-run-dispatcher.js +2 -1
- package/dist/src/tasks/task-run-repository.d.ts +1 -0
- package/dist/src/tasks/task-run-repository.js +29 -14
- package/dist/src/tasks/task-signal-service.js +2 -1
- package/dist/src/tui/backends/embedded-backend.js +10 -10
- package/dist/src/tui/backends/gateway-realtime-backend.js +2 -2
- package/dist/src/tui/extension-host/load-extensions.js +1 -1
- package/dist/src/tui/tui-command-formatters.js +1 -1
- package/dist/src/tui/tui-commands.js +6 -6
- package/dist/src/tui/tui-picker-overlay.js +1 -1
- package/dist/src/tui/tui-skills-autocomplete.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +4 -4
- package/dist/src/tui/tui.js +3 -3
- package/dist/src/tunnel/gateway-lifecycle.js +1 -1
- package/dist/src/user-context/config.d.ts +13 -0
- package/dist/src/user-context/config.js +2 -0
- package/dist/src/voice/local/runtime-worker.js +1 -1
- package/dist/src/voice/platform-catalog.d.ts +1 -1
- package/dist/src/voice/realtime/memory-context.js +3 -3
- package/dist/src/voice/realtime/runtime.js +3 -3
- package/dist/src/voice/stt/index.js +2 -2
- package/dist/src/voice/stt/preflight.js +1 -1
- package/dist/src/voice/stt/providers/alibaba-transcription.js +1 -1
- package/dist/src/voice/stt/providers/local-transcription.js +1 -1
- package/dist/src/voice/stt/providers/xopc-cloud-transcription.js +1 -1
- package/dist/src/voice/stt/transcribe-core.js +1 -1
- package/dist/src/voice/tts/audio.js +1 -1
- package/dist/src/voice/tts/factory.js +1 -1
- package/dist/src/voice/tts/index.js +1 -1
- package/dist/src/voice/tts/payload.js +1 -1
- package/dist/src/voice/tts/providers/xopc-cloud-speech.js +1 -1
- package/dist/src/work-discovery/incremental-repository.js +1 -1
- package/dist/src/work-discovery/index.js +1 -1
- package/dist/src/work-discovery/repository.d.ts +1 -1
- package/dist/src/work-discovery/repository.js +3 -2
- package/dist/src/work-discovery/service.d.ts +4 -0
- package/dist/src/work-discovery/service.js +40 -15
- package/dist/src/workflows/context/workflow-context.js +3 -2
- package/dist/src/workflows/service/workflow-run-service.js +7 -6
- package/dist/src/workflows/service/workflow-session-bridge.js +1 -1
- package/package.json +7 -3
- package/skills/THIRD_PARTY_NOTICES.md +2 -2
- package/skills/documents/xlsx/SKILL.md +5 -0
- package/skills/engineering/build-xopc-local-app/SKILL.md +2 -0
- package/skills/tools/find-skills/SKILL.md +3 -0
- package/dist/gateway/static/root/assets/activity-store-CS_SAPwP.js +0 -1
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-9w_YVThL.js +0 -1
- package/dist/gateway/static/root/assets/appearance-settings-Jgvx-RKL.js +0 -1
- package/dist/gateway/static/root/assets/apps-page-403o57-3.js +0 -1
- package/dist/gateway/static/root/assets/automations-workspace-Dpju5KT_.js +0 -7
- package/dist/gateway/static/root/assets/browser-settings-page-C0HJrpr1.js +0 -3
- package/dist/gateway/static/root/assets/capabilities-settings-panel-BanM86OX.js +0 -8
- package/dist/gateway/static/root/assets/channels-settings-Bhh0F9pO.js +0 -1
- package/dist/gateway/static/root/assets/connectors-page-BTqjm6eD.js +0 -2
- package/dist/gateway/static/root/assets/desktop-pet-settings-BI_sQTR_.js +0 -1
- package/dist/gateway/static/root/assets/device-pairing-wizard-BoPCEIm5.js +0 -1
- package/dist/gateway/static/root/assets/files-Be5viEFY.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-mpOw3R4d.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-Z-ErSgkD.js +0 -1
- package/dist/gateway/static/root/assets/gateway-settings-Bq82yXVh.js +0 -1
- package/dist/gateway/static/root/assets/home-page-BD1v6Uee.js +0 -1
- package/dist/gateway/static/root/assets/index-Ah5XDhOL.js +0 -79
- package/dist/gateway/static/root/assets/index-CV5b1pD1.css +0 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-BF8x3bgh.js +0 -2
- package/dist/gateway/static/root/assets/logs-page-B4vMUM7D.js +0 -2
- package/dist/gateway/static/root/assets/management-settings-Cg0UjJpy.js +0 -1
- package/dist/gateway/static/root/assets/messages-CRH2my19.js +0 -3
- package/dist/gateway/static/root/assets/note-detail-panel-CWVIGctd.js +0 -5
- package/dist/gateway/static/root/assets/notes-page-CcTzMI1K.js +0 -8
- package/dist/gateway/static/root/assets/product-delivery-CrAI8ZEa.js +0 -1
- package/dist/gateway/static/root/assets/project-detail-page-BNYoV9Ac.js +0 -1
- package/dist/gateway/static/root/assets/projects-page-CcKnYQqm.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-HIvwD5Xn.js +0 -1
- package/dist/gateway/static/root/assets/runtime-tools-settings-panel-CFE2oX_l.js +0 -5
- package/dist/gateway/static/root/assets/scenes-page-BGKdg4uS.js +0 -1
- package/dist/gateway/static/root/assets/schemas-BaskVM5g.js +0 -64
- package/dist/gateway/static/root/assets/sessions-page-tn99saMj.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-Cx_uvwqz.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-1kYYg3BH.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-Du7BfwId.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-BMhhXxRZ.js +0 -1
- package/dist/gateway/static/root/assets/task-detail-page-vFn3xdlZ.js +0 -1
- package/dist/gateway/static/root/assets/theme-store-DdURyZ1M.js +0 -1
- package/dist/gateway/static/root/assets/user-model-page-uK9sxPUH.js +0 -2
- package/dist/gateway/static/root/assets/workflows-page-DIyd5AC9.js +0 -6
- package/skills/creative/algorithmic-art/SKILL.md +0 -44
- package/skills/creative/algorithmic-art/templates/generator-template.js +0 -27
- package/skills/creative/algorithmic-art/templates/viewer.html +0 -27
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { AutomationCancelOutputSchema, AutomationDeleteInputSchema, AutomationDeleteOutputSchema, AutomationMutationOutputSchema, AutomationReadAllInputSchema, AutomationReadAllOutputSchema, AutomationReadOutputSchema, AutomationRunMutationOutputSchema, AutomationSetEnabledInputSchema, CapabilityResourceInputSchema } from "../../../packages/gateway-contract/src/capabilities.js";
|
|
2
|
+
import { init_src } from "../../../packages/gateway-contract/src/index.js";
|
|
3
|
+
import { CapabilityError } from "../../capabilities/runtime/errors.js";
|
|
4
|
+
import { defineAtomicCapability } from "../../capabilities/runtime/dispatcher.js";
|
|
5
|
+
import { CreateAutomationSchema, UpdateAutomationSchema } from "../domain/validation.js";
|
|
6
|
+
import { getAutomation } from "../storage/automation-repository.js";
|
|
7
|
+
import { getAutomationRun, markAllAutomationRunsRead, markAutomationRunRead } from "../storage/automation-run-repository.js";
|
|
8
|
+
import "../storage/index.js";
|
|
9
|
+
import { AutomationAlreadyExistsError, AutomationAlreadyRunningError } from "../service/automation-service.js";
|
|
10
|
+
import { z } from "zod";
|
|
11
|
+
//#region src/automations/capabilities/write.ts
|
|
12
|
+
init_src();
|
|
13
|
+
const AutomationCreateCapabilityInputSchema = CreateAutomationSchema.omit({ state: true });
|
|
14
|
+
const AutomationUpdatePatchSchema = UpdateAutomationSchema.safeExtend({ state: z.never().optional() });
|
|
15
|
+
function registerAutomationWriteCapabilities(dispatcher, service, projects) {
|
|
16
|
+
const policy = {
|
|
17
|
+
majorVersion: 1,
|
|
18
|
+
effect: "local-write",
|
|
19
|
+
surfaces: ["http", "agent"],
|
|
20
|
+
scopes: ["automations.write"],
|
|
21
|
+
output: AutomationMutationOutputSchema,
|
|
22
|
+
afterCommit: () => service.refreshSchedule()
|
|
23
|
+
};
|
|
24
|
+
const requireProject = (id) => {
|
|
25
|
+
if (id && !projects?.get(id)) throw new CapabilityError("NOT_FOUND", "Project not found");
|
|
26
|
+
};
|
|
27
|
+
dispatcher.register(defineAtomicCapability({
|
|
28
|
+
...policy,
|
|
29
|
+
id: "xopc.automations.cancel",
|
|
30
|
+
description: "Persist cancellation intent for a run. Only queued work is confirmed stopped immediately; receipts describe acceptance time.",
|
|
31
|
+
input: CapabilityResourceInputSchema,
|
|
32
|
+
output: AutomationCancelOutputSchema,
|
|
33
|
+
execute: ({ id }) => ({
|
|
34
|
+
ok: true,
|
|
35
|
+
...service.cancelRunAtomically(id)
|
|
36
|
+
}),
|
|
37
|
+
afterCommit: (result, { id }) => {
|
|
38
|
+
if (result.cancelled) service.dispatchCancellation(id);
|
|
39
|
+
}
|
|
40
|
+
}));
|
|
41
|
+
dispatcher.register(defineAtomicCapability({
|
|
42
|
+
...policy,
|
|
43
|
+
id: "xopc.automations.read",
|
|
44
|
+
description: "Mark a completed run read, preserving its first read timestamp.",
|
|
45
|
+
input: CapabilityResourceInputSchema,
|
|
46
|
+
output: AutomationReadOutputSchema,
|
|
47
|
+
execute({ id }) {
|
|
48
|
+
if (!markAutomationRunRead(id)) throw new CapabilityError("NOT_FOUND", "Completed run not found");
|
|
49
|
+
return {
|
|
50
|
+
ok: true,
|
|
51
|
+
marked: true
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
afterCommit: void 0
|
|
55
|
+
}));
|
|
56
|
+
dispatcher.register(defineAtomicCapability({
|
|
57
|
+
...policy,
|
|
58
|
+
id: "xopc.automations.read_all",
|
|
59
|
+
description: "Mark currently completed runs read; replay never includes runs completed later.",
|
|
60
|
+
input: AutomationReadAllInputSchema,
|
|
61
|
+
output: AutomationReadAllOutputSchema,
|
|
62
|
+
execute: (input) => ({
|
|
63
|
+
ok: true,
|
|
64
|
+
count: markAllAutomationRunsRead(input)
|
|
65
|
+
}),
|
|
66
|
+
afterCommit: void 0
|
|
67
|
+
}));
|
|
68
|
+
for (const command of ["run", "rerun"]) dispatcher.register(defineAtomicCapability({
|
|
69
|
+
...policy,
|
|
70
|
+
id: `xopc.automations.${command}`,
|
|
71
|
+
description: command === "run" ? "Queue a manual run with the currently accepted execution configuration." : "Queue a rerun with current configuration and the original trigger event.",
|
|
72
|
+
input: CapabilityResourceInputSchema,
|
|
73
|
+
output: AutomationRunMutationOutputSchema,
|
|
74
|
+
execute({ id }) {
|
|
75
|
+
const automationId = command === "run" ? id : getAutomationRun(id)?.automationId;
|
|
76
|
+
const automation = automationId ? getAutomation(automationId) : null;
|
|
77
|
+
if (!automation) throw new CapabilityError("NOT_FOUND", "Automation or source run not found");
|
|
78
|
+
try {
|
|
79
|
+
const run = command === "run" ? service.queueRunAtomically(id) : service.queueRerunAtomically(id);
|
|
80
|
+
return {
|
|
81
|
+
ok: true,
|
|
82
|
+
automation: { ...automation },
|
|
83
|
+
run: { ...run }
|
|
84
|
+
};
|
|
85
|
+
} catch (error) {
|
|
86
|
+
if (error instanceof AutomationAlreadyRunningError) throw new CapabilityError("IN_PROGRESS", error.message);
|
|
87
|
+
throw error;
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
afterCommit: (result) => service.dispatchQueuedRun(result.run.id)
|
|
91
|
+
}));
|
|
92
|
+
dispatcher.register(defineAtomicCapability({
|
|
93
|
+
...policy,
|
|
94
|
+
id: "xopc.automations.delete",
|
|
95
|
+
description: "Delete an automation at an exact revision and persist cancellation intent for its active run.",
|
|
96
|
+
input: AutomationDeleteInputSchema,
|
|
97
|
+
output: AutomationDeleteOutputSchema,
|
|
98
|
+
execute({ id, expectedRevision }) {
|
|
99
|
+
const current = getAutomation(id);
|
|
100
|
+
if (current && current.updatedAtMs !== expectedRevision) throw new CapabilityError("REVISION_CONFLICT", "Automation changed");
|
|
101
|
+
const result = service.removeAtomically(id);
|
|
102
|
+
return {
|
|
103
|
+
ok: true,
|
|
104
|
+
...result,
|
|
105
|
+
automation: result.automation ? { ...result.automation } : void 0
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
afterCommit: (result) => service.finishRemoval(result.cancelRunId)
|
|
109
|
+
}));
|
|
110
|
+
dispatcher.register(defineAtomicCapability({
|
|
111
|
+
...policy,
|
|
112
|
+
id: "xopc.automations.create",
|
|
113
|
+
description: "Create an automation without replacing an existing identity.",
|
|
114
|
+
input: AutomationCreateCapabilityInputSchema,
|
|
115
|
+
execute(input) {
|
|
116
|
+
requireProject(input.projectId);
|
|
117
|
+
try {
|
|
118
|
+
return {
|
|
119
|
+
ok: true,
|
|
120
|
+
automation: { ...service.createAtomically(input) }
|
|
121
|
+
};
|
|
122
|
+
} catch (error) {
|
|
123
|
+
if (error instanceof AutomationAlreadyExistsError) throw new CapabilityError("REVISION_CONFLICT", error.message);
|
|
124
|
+
throw error;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}));
|
|
128
|
+
dispatcher.register(defineAtomicCapability({
|
|
129
|
+
...policy,
|
|
130
|
+
id: "xopc.automations.update",
|
|
131
|
+
description: "Edit automation configuration at an exact revision.",
|
|
132
|
+
input: z.strictObject({
|
|
133
|
+
id: z.string().trim().min(1).max(100),
|
|
134
|
+
expectedRevision: z.number().int().nonnegative(),
|
|
135
|
+
patch: AutomationUpdatePatchSchema
|
|
136
|
+
}),
|
|
137
|
+
execute({ id, expectedRevision, patch }) {
|
|
138
|
+
const current = getAutomation(id);
|
|
139
|
+
if (!current) throw new CapabilityError("NOT_FOUND", "Automation not found");
|
|
140
|
+
if (current.updatedAtMs !== expectedRevision) throw new CapabilityError("REVISION_CONFLICT", "Automation changed");
|
|
141
|
+
requireProject(patch.projectId);
|
|
142
|
+
return {
|
|
143
|
+
ok: true,
|
|
144
|
+
automation: { ...service.updateAtomically(id, patch) }
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}));
|
|
148
|
+
dispatcher.register(defineAtomicCapability({
|
|
149
|
+
id: "xopc.automations.set_enabled",
|
|
150
|
+
majorVersion: 1,
|
|
151
|
+
description: "Pause or resume future automation scheduling at an exact revision; does not cancel an active run.",
|
|
152
|
+
effect: "local-write",
|
|
153
|
+
surfaces: ["http", "agent"],
|
|
154
|
+
scopes: ["automations.write"],
|
|
155
|
+
input: AutomationSetEnabledInputSchema,
|
|
156
|
+
output: AutomationMutationOutputSchema,
|
|
157
|
+
execute({ id, enabled, expectedRevision }) {
|
|
158
|
+
const current = getAutomation(id);
|
|
159
|
+
if (!current) throw new CapabilityError("NOT_FOUND", "Automation not found");
|
|
160
|
+
if (current.updatedAtMs !== expectedRevision) throw new CapabilityError("REVISION_CONFLICT", "Automation changed");
|
|
161
|
+
const automation = service.updateAtomically(id, { enabled });
|
|
162
|
+
if (!automation) throw new CapabilityError("NOT_FOUND", "Automation not found");
|
|
163
|
+
return {
|
|
164
|
+
ok: true,
|
|
165
|
+
automation: { ...automation }
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
afterCommit: () => service.refreshSchedule()
|
|
169
|
+
}));
|
|
170
|
+
}
|
|
171
|
+
//#endregion
|
|
172
|
+
export { AutomationCreateCapabilityInputSchema, AutomationUpdatePatchSchema, registerAutomationWriteCapabilities };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_AUTOMATION_TIMEOUT_SECONDS, DEFAULT_BROWSER_AUTOMATION_TIMEOUT_SECONDS, defaultAutomationTimeoutSeconds, resolveAutomationTimeoutSeconds } from "./defaults.js";
|
|
2
|
-
import { computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, timerDelayUntil } from "./schedule.js";
|
|
3
1
|
import { AutomationActionSchema, AutomationReliabilitySchema, AutomationSafetyPolicySchema, AutomationScheduleSchema, AutomationSchema, AutomationStateSchema, AutomationTriggerSchema, CreateAutomationSchema, UpdateAutomationSchema } from "./validation.js";
|
|
2
|
+
import { computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, timerDelayUntil } from "./schedule.js";
|
|
3
|
+
import { DEFAULT_AUTOMATION_TIMEOUT_SECONDS, DEFAULT_BROWSER_AUTOMATION_TIMEOUT_SECONDS, defaultAutomationTimeoutSeconds, resolveAutomationTimeoutSeconds } from "./defaults.js";
|
|
4
4
|
export { AutomationActionSchema, AutomationReliabilitySchema, AutomationSafetyPolicySchema, AutomationScheduleSchema, AutomationSchema, AutomationStateSchema, AutomationTriggerSchema, CreateAutomationSchema, DEFAULT_AUTOMATION_TIMEOUT_SECONDS, DEFAULT_BROWSER_AUTOMATION_TIMEOUT_SECONDS, UpdateAutomationSchema, computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, defaultAutomationTimeoutSeconds, resolveAutomationTimeoutSeconds, timerDelayUntil };
|
|
@@ -9,7 +9,7 @@ export declare const AutomationScheduleSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
9
9
|
}, z.core.$strict>, z.ZodObject<{
|
|
10
10
|
kind: z.ZodLiteral<"cron">;
|
|
11
11
|
expr: z.ZodString;
|
|
12
|
-
tz: z.
|
|
12
|
+
tz: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
13
13
|
}, z.core.$strict>], "kind">;
|
|
14
14
|
export declare const AutomationTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15
15
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -25,36 +25,36 @@ export declare const AutomationTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
25
25
|
}, z.core.$strict>, z.ZodObject<{
|
|
26
26
|
kind: z.ZodLiteral<"cron">;
|
|
27
27
|
expr: z.ZodString;
|
|
28
|
-
tz: z.
|
|
28
|
+
tz: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
29
29
|
}, z.core.$strict>], "kind">;
|
|
30
30
|
}, z.core.$strict>, z.ZodObject<{
|
|
31
31
|
kind: z.ZodLiteral<"webhook">;
|
|
32
|
-
secretId: z.
|
|
32
|
+
secretId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
33
33
|
}, z.core.$strict>, z.ZodObject<{
|
|
34
34
|
kind: z.ZodLiteral<"event">;
|
|
35
35
|
eventType: z.ZodString;
|
|
36
|
-
source: z.
|
|
36
|
+
source: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
37
37
|
payloadMatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
38
38
|
}, z.core.$strict>], "kind">;
|
|
39
39
|
export declare const AutomationActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40
40
|
kind: z.ZodLiteral<"agent">;
|
|
41
|
-
agentId: z.
|
|
41
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
42
42
|
instruction: z.ZodString;
|
|
43
|
-
workingDirectory: z.
|
|
44
|
-
model: z.
|
|
43
|
+
workingDirectory: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
44
|
+
model: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
45
45
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
46
46
|
}, z.core.$strict>, z.ZodObject<{
|
|
47
47
|
kind: z.ZodLiteral<"workflow">;
|
|
48
48
|
workflowId: z.ZodString;
|
|
49
|
-
agentId: z.
|
|
49
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
50
50
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
51
51
|
inputEnvelope: z.ZodOptional<z.ZodObject<{
|
|
52
52
|
payload: z.ZodUnknown;
|
|
53
|
-
goal: z.
|
|
53
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
54
54
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
55
55
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
56
56
|
}, z.core.$strict>>;
|
|
57
|
-
goal: z.
|
|
57
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
58
58
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
maxSubagents: z.ZodOptional<z.ZodNumber>;
|
|
60
60
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -168,7 +168,7 @@ export declare const AutomationSafetyPolicySchema: z.ZodObject<{
|
|
|
168
168
|
}, z.core.$strict>;
|
|
169
169
|
export declare const AutomationStateSchema: z.ZodObject<{
|
|
170
170
|
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
171
|
-
runningRunId: z.
|
|
171
|
+
runningRunId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
172
172
|
lastRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
173
173
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
174
174
|
failed: "failed";
|
|
@@ -186,7 +186,7 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
186
186
|
id: z.ZodString;
|
|
187
187
|
name: z.ZodString;
|
|
188
188
|
description: z.ZodOptional<z.ZodString>;
|
|
189
|
-
projectId: z.
|
|
189
|
+
projectId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
190
190
|
enabled: z.ZodBoolean;
|
|
191
191
|
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
192
192
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -202,36 +202,36 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
202
202
|
}, z.core.$strict>, z.ZodObject<{
|
|
203
203
|
kind: z.ZodLiteral<"cron">;
|
|
204
204
|
expr: z.ZodString;
|
|
205
|
-
tz: z.
|
|
205
|
+
tz: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
206
206
|
}, z.core.$strict>], "kind">;
|
|
207
207
|
}, z.core.$strict>, z.ZodObject<{
|
|
208
208
|
kind: z.ZodLiteral<"webhook">;
|
|
209
|
-
secretId: z.
|
|
209
|
+
secretId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
210
210
|
}, z.core.$strict>, z.ZodObject<{
|
|
211
211
|
kind: z.ZodLiteral<"event">;
|
|
212
212
|
eventType: z.ZodString;
|
|
213
|
-
source: z.
|
|
213
|
+
source: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
214
214
|
payloadMatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
215
215
|
}, z.core.$strict>], "kind">;
|
|
216
216
|
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
217
217
|
kind: z.ZodLiteral<"agent">;
|
|
218
|
-
agentId: z.
|
|
218
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
219
219
|
instruction: z.ZodString;
|
|
220
|
-
workingDirectory: z.
|
|
221
|
-
model: z.
|
|
220
|
+
workingDirectory: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
221
|
+
model: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
222
222
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
223
223
|
}, z.core.$strict>, z.ZodObject<{
|
|
224
224
|
kind: z.ZodLiteral<"workflow">;
|
|
225
225
|
workflowId: z.ZodString;
|
|
226
|
-
agentId: z.
|
|
226
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
227
227
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
228
228
|
inputEnvelope: z.ZodOptional<z.ZodObject<{
|
|
229
229
|
payload: z.ZodUnknown;
|
|
230
|
-
goal: z.
|
|
230
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
231
231
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
232
232
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
233
233
|
}, z.core.$strict>>;
|
|
234
|
-
goal: z.
|
|
234
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
235
235
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
236
236
|
maxSubagents: z.ZodOptional<z.ZodNumber>;
|
|
237
237
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -342,10 +342,10 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
342
342
|
}>>;
|
|
343
343
|
notificationPolicy: z.ZodDefault<z.ZodEnum<{
|
|
344
344
|
attention: "attention";
|
|
345
|
-
none: "none";
|
|
346
345
|
all: "all";
|
|
346
|
+
none: "none";
|
|
347
347
|
}>>;
|
|
348
|
-
completionWebhookUrl: z.
|
|
348
|
+
completionWebhookUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
349
349
|
reliability: z.ZodOptional<z.ZodObject<{
|
|
350
350
|
executionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
351
351
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -355,7 +355,7 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
355
355
|
}, z.core.$strict>>;
|
|
356
356
|
state: z.ZodDefault<z.ZodObject<{
|
|
357
357
|
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
358
|
-
runningRunId: z.
|
|
358
|
+
runningRunId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
359
359
|
lastRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
360
360
|
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
361
361
|
failed: "failed";
|
|
@@ -373,27 +373,27 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
373
373
|
updatedAtMs: z.ZodNumber;
|
|
374
374
|
}, z.core.$strict>;
|
|
375
375
|
export declare const CreateAutomationSchema: z.ZodObject<{
|
|
376
|
-
projectId: z.
|
|
376
|
+
projectId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
377
377
|
name: z.ZodString;
|
|
378
378
|
action: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
379
379
|
kind: z.ZodLiteral<"agent">;
|
|
380
|
-
agentId: z.
|
|
380
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
381
381
|
instruction: z.ZodString;
|
|
382
|
-
workingDirectory: z.
|
|
383
|
-
model: z.
|
|
382
|
+
workingDirectory: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
383
|
+
model: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
384
384
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
385
385
|
}, z.core.$strict>, z.ZodObject<{
|
|
386
386
|
kind: z.ZodLiteral<"workflow">;
|
|
387
387
|
workflowId: z.ZodString;
|
|
388
|
-
agentId: z.
|
|
388
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
389
389
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
390
390
|
inputEnvelope: z.ZodOptional<z.ZodObject<{
|
|
391
391
|
payload: z.ZodUnknown;
|
|
392
|
-
goal: z.
|
|
392
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
393
393
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
394
394
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
395
395
|
}, z.core.$strict>>;
|
|
396
|
-
goal: z.
|
|
396
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
397
397
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
398
398
|
maxSubagents: z.ZodOptional<z.ZodNumber>;
|
|
399
399
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -505,15 +505,15 @@ export declare const CreateAutomationSchema: z.ZodObject<{
|
|
|
505
505
|
}, z.core.$strict>, z.ZodObject<{
|
|
506
506
|
kind: z.ZodLiteral<"cron">;
|
|
507
507
|
expr: z.ZodString;
|
|
508
|
-
tz: z.
|
|
508
|
+
tz: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
509
509
|
}, z.core.$strict>], "kind">;
|
|
510
510
|
}, z.core.$strict>, z.ZodObject<{
|
|
511
511
|
kind: z.ZodLiteral<"webhook">;
|
|
512
|
-
secretId: z.
|
|
512
|
+
secretId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
513
513
|
}, z.core.$strict>, z.ZodObject<{
|
|
514
514
|
kind: z.ZodLiteral<"event">;
|
|
515
515
|
eventType: z.ZodString;
|
|
516
|
-
source: z.
|
|
516
|
+
source: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
517
517
|
payloadMatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
518
518
|
}, z.core.$strict>], "kind">;
|
|
519
519
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -524,28 +524,28 @@ export declare const CreateAutomationSchema: z.ZodObject<{
|
|
|
524
524
|
auto_apply: "auto_apply";
|
|
525
525
|
}>;
|
|
526
526
|
}, z.core.$strict>>;
|
|
527
|
-
reliability: z.ZodOptional<z.ZodObject<{
|
|
528
|
-
executionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
529
|
-
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
530
|
-
retryCount: z.ZodOptional<z.ZodNumber>;
|
|
531
|
-
maxConcurrentRuns: z.ZodOptional<z.ZodNumber>;
|
|
532
|
-
disableAfterConsecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
533
|
-
}, z.core.$strict>>;
|
|
534
527
|
conversationMode: z.ZodDefault<z.ZodEnum<{
|
|
535
528
|
new_session: "new_session";
|
|
536
529
|
continuous: "continuous";
|
|
537
530
|
}>>;
|
|
538
531
|
notificationPolicy: z.ZodDefault<z.ZodEnum<{
|
|
539
532
|
attention: "attention";
|
|
540
|
-
none: "none";
|
|
541
533
|
all: "all";
|
|
534
|
+
none: "none";
|
|
542
535
|
}>>;
|
|
543
|
-
completionWebhookUrl: z.
|
|
544
|
-
|
|
536
|
+
completionWebhookUrl: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
537
|
+
reliability: z.ZodOptional<z.ZodObject<{
|
|
538
|
+
executionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
539
|
+
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
540
|
+
retryCount: z.ZodOptional<z.ZodNumber>;
|
|
541
|
+
maxConcurrentRuns: z.ZodOptional<z.ZodNumber>;
|
|
542
|
+
disableAfterConsecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
543
|
+
}, z.core.$strict>>;
|
|
544
|
+
id: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
545
545
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
546
546
|
state: z.ZodOptional<z.ZodObject<{
|
|
547
547
|
nextRunAtMs: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
548
|
-
runningRunId: z.ZodOptional<z.
|
|
548
|
+
runningRunId: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>>;
|
|
549
549
|
lastRunAtMs: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
550
550
|
lastRunStatus: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
551
551
|
failed: "failed";
|
|
@@ -561,28 +561,28 @@ export declare const CreateAutomationSchema: z.ZodObject<{
|
|
|
561
561
|
}, z.core.$strict>>;
|
|
562
562
|
}, z.core.$strict>;
|
|
563
563
|
export declare const UpdateAutomationSchema: z.ZodObject<{
|
|
564
|
-
projectId: z.ZodOptional<z.
|
|
564
|
+
projectId: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>>;
|
|
565
565
|
name: z.ZodOptional<z.ZodString>;
|
|
566
566
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
567
567
|
action: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
568
568
|
kind: z.ZodLiteral<"agent">;
|
|
569
|
-
agentId: z.
|
|
569
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
570
570
|
instruction: z.ZodString;
|
|
571
|
-
workingDirectory: z.
|
|
572
|
-
model: z.
|
|
571
|
+
workingDirectory: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
572
|
+
model: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
573
573
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
574
574
|
}, z.core.$strict>, z.ZodObject<{
|
|
575
575
|
kind: z.ZodLiteral<"workflow">;
|
|
576
576
|
workflowId: z.ZodString;
|
|
577
|
-
agentId: z.
|
|
577
|
+
agentId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
578
578
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
579
579
|
inputEnvelope: z.ZodOptional<z.ZodObject<{
|
|
580
580
|
payload: z.ZodUnknown;
|
|
581
|
-
goal: z.
|
|
581
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
582
582
|
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
583
583
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
584
584
|
}, z.core.$strict>>;
|
|
585
|
-
goal: z.
|
|
585
|
+
goal: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
586
586
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
587
587
|
maxSubagents: z.ZodOptional<z.ZodNumber>;
|
|
588
588
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -694,33 +694,17 @@ export declare const UpdateAutomationSchema: z.ZodObject<{
|
|
|
694
694
|
}, z.core.$strict>, z.ZodObject<{
|
|
695
695
|
kind: z.ZodLiteral<"cron">;
|
|
696
696
|
expr: z.ZodString;
|
|
697
|
-
tz: z.
|
|
697
|
+
tz: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
698
698
|
}, z.core.$strict>], "kind">;
|
|
699
699
|
}, z.core.$strict>, z.ZodObject<{
|
|
700
700
|
kind: z.ZodLiteral<"webhook">;
|
|
701
|
-
secretId: z.
|
|
701
|
+
secretId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
702
702
|
}, z.core.$strict>, z.ZodObject<{
|
|
703
703
|
kind: z.ZodLiteral<"event">;
|
|
704
704
|
eventType: z.ZodString;
|
|
705
|
-
source: z.
|
|
705
|
+
source: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
706
706
|
payloadMatch: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
707
707
|
}, z.core.$strict>], "kind">>;
|
|
708
|
-
state: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
709
|
-
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
710
|
-
runningRunId: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
711
|
-
lastRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
712
|
-
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
713
|
-
failed: "failed";
|
|
714
|
-
succeeded: "succeeded";
|
|
715
|
-
cancelled: "cancelled";
|
|
716
|
-
queued: "queued";
|
|
717
|
-
running: "running";
|
|
718
|
-
cancelling: "cancelling";
|
|
719
|
-
timeout: "timeout";
|
|
720
|
-
}>>;
|
|
721
|
-
lastError: z.ZodOptional<z.ZodString>;
|
|
722
|
-
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
723
|
-
}, z.core.$strict>>>;
|
|
724
708
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
725
709
|
safety: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
726
710
|
mode: z.ZodEnum<{
|
|
@@ -729,6 +713,7 @@ export declare const UpdateAutomationSchema: z.ZodObject<{
|
|
|
729
713
|
auto_apply: "auto_apply";
|
|
730
714
|
}>;
|
|
731
715
|
}, z.core.$strict>>>;
|
|
716
|
+
completionWebhookUrl: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>>;
|
|
732
717
|
reliability: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
733
718
|
executionTimeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
734
719
|
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -736,16 +721,31 @@ export declare const UpdateAutomationSchema: z.ZodObject<{
|
|
|
736
721
|
maxConcurrentRuns: z.ZodOptional<z.ZodNumber>;
|
|
737
722
|
disableAfterConsecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
738
723
|
}, z.core.$strict>>>;
|
|
739
|
-
conversationMode: z.ZodOptional<z.
|
|
724
|
+
conversationMode: z.ZodOptional<z.ZodEnum<{
|
|
740
725
|
new_session: "new_session";
|
|
741
726
|
continuous: "continuous";
|
|
742
|
-
}
|
|
743
|
-
notificationPolicy: z.ZodOptional<z.
|
|
727
|
+
}>>;
|
|
728
|
+
notificationPolicy: z.ZodOptional<z.ZodEnum<{
|
|
744
729
|
attention: "attention";
|
|
745
|
-
none: "none";
|
|
746
730
|
all: "all";
|
|
747
|
-
|
|
748
|
-
|
|
731
|
+
none: "none";
|
|
732
|
+
}>>;
|
|
733
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
734
|
+
nextRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
runningRunId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string>>;
|
|
736
|
+
lastRunAtMs: z.ZodOptional<z.ZodNumber>;
|
|
737
|
+
lastRunStatus: z.ZodOptional<z.ZodEnum<{
|
|
738
|
+
failed: "failed";
|
|
739
|
+
succeeded: "succeeded";
|
|
740
|
+
cancelled: "cancelled";
|
|
741
|
+
queued: "queued";
|
|
742
|
+
running: "running";
|
|
743
|
+
cancelling: "cancelling";
|
|
744
|
+
timeout: "timeout";
|
|
745
|
+
}>>;
|
|
746
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
747
|
+
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
748
|
+
}, z.core.$strict>>;
|
|
749
749
|
}, z.core.$strict>;
|
|
750
750
|
export type CreateAutomationInput = z.infer<typeof CreateAutomationSchema>;
|
|
751
751
|
export type UpdateAutomationInput = z.infer<typeof UpdateAutomationSchema>;
|
|
@@ -5,12 +5,7 @@ import { CronExpressionParser } from "cron-parser";
|
|
|
5
5
|
//#region src/automations/domain/validation.ts
|
|
6
6
|
init_src();
|
|
7
7
|
const nonEmptyString = z.string().trim().min(1);
|
|
8
|
-
const optionalTrimmedString = (max) => z.
|
|
9
|
-
if (value == null) return void 0;
|
|
10
|
-
if (typeof value !== "string") return value;
|
|
11
|
-
const trimmed = value.trim();
|
|
12
|
-
return trimmed.length === 0 ? void 0 : trimmed;
|
|
13
|
-
}, z.string().min(1).max(max).optional());
|
|
8
|
+
const optionalTrimmedString = (max) => z.string().trim().max(max).nullish().transform((value) => value || void 0);
|
|
14
9
|
const AutomationScheduleSchema = z.discriminatedUnion("kind", [
|
|
15
10
|
z.object({
|
|
16
11
|
kind: z.literal("once"),
|
|
@@ -160,6 +155,14 @@ const UpdateAutomationSchema = AutomationSchema.omit({
|
|
|
160
155
|
id: true,
|
|
161
156
|
createdAtMs: true,
|
|
162
157
|
updatedAtMs: true
|
|
158
|
+
}).extend({
|
|
159
|
+
conversationMode: z.enum(["new_session", "continuous"]),
|
|
160
|
+
notificationPolicy: z.enum([
|
|
161
|
+
"attention",
|
|
162
|
+
"all",
|
|
163
|
+
"none"
|
|
164
|
+
]),
|
|
165
|
+
state: AutomationStateSchema
|
|
163
166
|
}).partial().refine((data) => Object.keys(data).length > 0, { message: "At least one field must be provided" });
|
|
164
167
|
//#endregion
|
|
165
168
|
export { AutomationActionSchema, AutomationReliabilitySchema, AutomationSafetyPolicySchema, AutomationScheduleSchema, AutomationSchema, AutomationStateSchema, AutomationTriggerSchema, CreateAutomationSchema, UpdateAutomationSchema };
|
|
@@ -12,7 +12,7 @@ export declare function buildAutomationDraftResponse(draft: GeneratedAutomationD
|
|
|
12
12
|
automation: {
|
|
13
13
|
name: string;
|
|
14
14
|
conversationMode: "new_session" | "continuous";
|
|
15
|
-
notificationPolicy: "attention" | "
|
|
15
|
+
notificationPolicy: "attention" | "all" | "none";
|
|
16
16
|
projectId?: string;
|
|
17
17
|
action?: {
|
|
18
18
|
kind: "agent";
|
|
@@ -132,6 +132,7 @@ export declare function buildAutomationDraftResponse(draft: GeneratedAutomationD
|
|
|
132
132
|
safety?: {
|
|
133
133
|
mode: "suggest_only" | "ask_before_apply" | "auto_apply";
|
|
134
134
|
};
|
|
135
|
+
completionWebhookUrl?: string;
|
|
135
136
|
reliability?: {
|
|
136
137
|
executionTimeoutSeconds?: number;
|
|
137
138
|
timeoutSeconds?: number;
|
|
@@ -139,7 +140,6 @@ export declare function buildAutomationDraftResponse(draft: GeneratedAutomationD
|
|
|
139
140
|
maxConcurrentRuns?: number;
|
|
140
141
|
disableAfterConsecutiveFailures?: number;
|
|
141
142
|
};
|
|
142
|
-
completionWebhookUrl?: string;
|
|
143
143
|
id?: string;
|
|
144
144
|
enabled?: boolean;
|
|
145
145
|
state?: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, timerDelayUntil } from "./domain/schedule.js";
|
|
1
|
+
import { onAutomationProductEvent, publishAutomationProductEvent } from "./product-events.js";
|
|
3
2
|
import { AutomationActionSchema, AutomationReliabilitySchema, AutomationSafetyPolicySchema, AutomationScheduleSchema, AutomationSchema, AutomationStateSchema, AutomationTriggerSchema, CreateAutomationSchema, UpdateAutomationSchema } from "./domain/validation.js";
|
|
4
|
-
import "./domain/
|
|
3
|
+
import { computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, timerDelayUntil } from "./domain/schedule.js";
|
|
4
|
+
import { DEFAULT_AUTOMATION_TIMEOUT_SECONDS, DEFAULT_BROWSER_AUTOMATION_TIMEOUT_SECONDS, defaultAutomationTimeoutSeconds, resolveAutomationTimeoutSeconds } from "./domain/defaults.js";
|
|
5
5
|
import { AutomationActionExecutor } from "./service/action-executor.js";
|
|
6
|
-
import { AutomationAlreadyRunningError, AutomationService } from "./service/automation-service.js";
|
|
6
|
+
import { AutomationAlreadyExistsError, AutomationAlreadyRunningError, AutomationService } from "./service/automation-service.js";
|
|
7
|
+
import "./domain/index.js";
|
|
7
8
|
import "./service/index.js";
|
|
8
|
-
|
|
9
|
-
export { AutomationActionExecutor, AutomationActionSchema, AutomationAlreadyRunningError, AutomationReliabilitySchema, AutomationSafetyPolicySchema, AutomationScheduleSchema, AutomationSchema, AutomationService, AutomationStateSchema, AutomationTriggerSchema, CreateAutomationSchema, DEFAULT_AUTOMATION_TIMEOUT_SECONDS, DEFAULT_BROWSER_AUTOMATION_TIMEOUT_SECONDS, UpdateAutomationSchema, computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, defaultAutomationTimeoutSeconds, onAutomationProductEvent, publishAutomationProductEvent, resolveAutomationTimeoutSeconds, timerDelayUntil };
|
|
9
|
+
export { AutomationActionExecutor, AutomationActionSchema, AutomationAlreadyExistsError, AutomationAlreadyRunningError, AutomationReliabilitySchema, AutomationSafetyPolicySchema, AutomationScheduleSchema, AutomationSchema, AutomationService, AutomationStateSchema, AutomationTriggerSchema, CreateAutomationSchema, DEFAULT_AUTOMATION_TIMEOUT_SECONDS, DEFAULT_BROWSER_AUTOMATION_TIMEOUT_SECONDS, UpdateAutomationSchema, computeNextAutomationRunAtMs, computeNextScheduleRunAtMs, defaultAutomationTimeoutSeconds, onAutomationProductEvent, publishAutomationProductEvent, resolveAutomationTimeoutSeconds, timerDelayUntil };
|