@dipoleml/dcode-cli 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-NOTICES.md +1081 -12
- package/dist/dcode.cjs +59155 -45279
- package/dist/packages/browser-use-plugin/README.md +12 -12
- package/dist/packages/browser-use-plugin/docs/api.json +1 -1
- package/dist/packages/browser-use-plugin/docs/overview.md +5 -4
- package/dist/packages/browser-use-plugin/docs/workflow.md +1 -1
- package/dist/packages/browser-use-plugin/scripts/build.mjs +1 -0
- package/dist/packages/browser-use-plugin/skills/control-browser/SKILL.md +10 -7
- package/dist/packages/bundled-skills/skills/dynamic-workflows/SKILL.md +760 -687
- package/dist/packages/bundled-skills/skills/dynamic-workflows/examples.md +310 -1
- package/dist/packages/bundled-skills/skills/dynamic-workflows/patterns.md +336 -4
- package/dist/packages/node-repl-host/.dcode-plugin/plugin.json +1 -1
- package/dist/packages/node-repl-host/dist/mcp/server.js +9 -14
- package/dist/packages/node-repl-host/scripts/build.mjs +1 -0
- package/dist/provider/dcode-builtin.json +6544 -183
- package/node_modules/@dcode/contracts/dist/compact/index.d.ts +7 -7
- package/node_modules/@dcode/contracts/dist/config/index.d.ts +1 -1
- package/node_modules/@dcode/contracts/dist/events/event-reducer.js +1 -0
- package/node_modules/@dcode/contracts/dist/events/in-memory-session-event-store.js +3 -2
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.d.ts +8 -0
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.js +18 -0
- package/node_modules/@dcode/contracts/dist/events/session.events.d.ts +94 -16
- package/node_modules/@dcode/contracts/dist/events/session.events.js +10 -0
- package/node_modules/@dcode/contracts/dist/hooks/index.d.ts +134 -134
- package/node_modules/@dcode/contracts/dist/hooks/workspace-hook-trust.d.ts +14 -14
- package/node_modules/@dcode/contracts/dist/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/index.js +2 -0
- package/node_modules/@dcode/contracts/dist/interfaces/browser-control.port.d.ts +22 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.d.ts +92 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.js +9 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.js +7 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-workspace.port.js +8 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.d.ts +119 -18
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.js +13 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.d.ts +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.d.ts +161 -1
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.js +17 -0
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.d.ts +15 -15
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.js +1 -1
- package/node_modules/@dcode/contracts/dist/interfaces/permission.port.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.d.ts +19 -0
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.d.ts +4 -2
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.js +5 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.d.ts +92 -3
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.js +4 -1
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.d.ts +25 -0
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/model/index.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/model/index.js +5 -0
- package/node_modules/@dcode/contracts/dist/model/invocation-context.d.ts +6 -1
- package/node_modules/@dcode/contracts/dist/plugins/index.d.ts +23 -0
- package/node_modules/@dcode/contracts/dist/plugins/index.js +2 -1
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.js +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/index.d.ts +5 -1
- package/node_modules/@dcode/contracts/dist/telemetry/index.js +12 -0
- package/node_modules/@dcode/contracts/dist/tools/agent.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.d.ts +39 -15
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.js +12 -6
- package/node_modules/@dcode/contracts/dist/tools/automation.d.ts +32 -32
- package/node_modules/@dcode/contracts/dist/tools/automation.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/bash.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/bash.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.d.ts +365 -66
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.js +92 -11
- package/node_modules/@dcode/contracts/dist/tools/edit.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.js +5 -1
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.d.ts +729 -0
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.js +102 -0
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.d.ts +136 -28
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.js +36 -0
- package/node_modules/@dcode/contracts/dist/tools/grep.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/grep.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/tools/index.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/list-saved-workflows.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/list-workflow-runs.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/node-repl.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/off-peak.d.ts +3 -3
- package/node_modules/@dcode/contracts/dist/tools/off-peak.js +2 -2
- package/node_modules/@dcode/contracts/dist/tools/performance.d.ts +22 -22
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.js +6 -4
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.d.ts +86 -13
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.js +37 -6
- package/node_modules/@dcode/contracts/dist/tools/read.d.ts +38 -38
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.d.ts +21 -10
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.js +22 -2
- package/node_modules/@dcode/contracts/dist/tools/saved-workflow.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/send-message.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/skill.js +1 -0
- package/node_modules/@dcode/contracts/dist/tools/task-output.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.d.ts +1228 -259
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.js +41 -0
- package/node_modules/@dcode/contracts/dist/tools/webfetch.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/workflow-observation-display.d.ts +20 -20
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.d.ts +55 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.js +86 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/write.d.ts +18 -18
- package/node_modules/@dcode/contracts/dist/workflow/index.d.ts +98 -98
- package/node_modules/@dcode/contracts/dist/workflow/script.d.ts +12 -12
- package/node_modules/@dcode/i18n/dist/index.js +2 -2
- package/node_modules/@dcode/i18n/dist/locale.d.ts +1 -1
- package/node_modules/@dcode/i18n/dist/locale.js +4 -4
- package/node_modules/@dcode/i18n/dist/locales/en-US.js +5 -5
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.d.ts +3 -0
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.js +354 -0
- package/node_modules/@dcode/model-option-map/package.json +1 -1
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.js +6 -0
- package/node_modules/@dcode/shared/dist/attachment-source.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/attachment-source.js +4 -0
- package/node_modules/@dcode/shared/dist/background-bash-output.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/bots.d.ts +759 -11
- package/node_modules/@dcode/shared/dist/bots.js +236 -2
- package/node_modules/@dcode/shared/dist/browser-use/command-metadata.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/browser-use/commands.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/browser-use/commands.js +3 -1
- package/node_modules/@dcode/shared/dist/browser-use/nodeReplBroker.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/browser-use/result.d.ts +6 -6
- package/node_modules/@dcode/shared/dist/channel-mention.d.ts +173 -0
- package/node_modules/@dcode/shared/dist/channel-mention.js +120 -0
- package/node_modules/@dcode/shared/dist/channels.d.ts +128 -1
- package/node_modules/@dcode/shared/dist/channels.js +66 -0
- package/node_modules/@dcode/shared/dist/clientConfig.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/clientConfig.js +18 -2
- package/node_modules/@dcode/shared/dist/cloudContent.d.ts +160 -0
- package/node_modules/@dcode/shared/dist/cloudContent.js +116 -0
- package/node_modules/@dcode/shared/dist/coding-plan-subscription.d.ts +59 -0
- package/node_modules/@dcode/shared/dist/conversation-message-projection-policy.js +2 -0
- package/node_modules/@dcode/shared/dist/conversation-share.d.ts +378 -74
- package/node_modules/@dcode/shared/dist/conversation-share.js +8 -6
- package/node_modules/@dcode/shared/dist/conversationSelection.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/conversationSelection.js +30 -0
- package/node_modules/@dcode/shared/dist/database-startup.d.ts +5 -5
- package/node_modules/@dcode/shared/dist/dcode-agent-model-state.js +14 -6
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.d.ts +16 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.js +17 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-runtime.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +3215 -1800
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.js +555 -24
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.js +10 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.d.ts +30 -20
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/apply.js +12 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.d.ts +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +388 -57
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.js +67 -45
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +208 -103
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.d.ts +20 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.js +15 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.d.ts +34 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.js +45 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.d.ts +1453 -278
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.js +45 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.js +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.d.ts +173 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.js +29 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.d.ts +731 -125
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.js +23 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.d.ts +30 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.js +35 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index.d.ts +40 -25
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.d.ts +1444 -216
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/telemetry.d.ts +62 -58
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.d.ts +185 -50
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.js +31 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +7728 -1585
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.js +18 -5
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-assembler.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-fault.js +4 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-reassembly.js +5 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.d.ts +29 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.js +64 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.js +23 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-observation-display.d.ts +14 -14
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.d.ts +52 -8
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.js +22 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.js +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.d.ts +21 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.js +44 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.js +3 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-caps.js +5 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.d.ts +26 -19
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.js +40 -32
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.js +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.js +44 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.js +17 -10
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.d.ts +33 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.js +202 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-phases.js +10 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.js +29 -22
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-started.js +5 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-tables.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-unlisted.js +6 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.d.ts +125 -40
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.js +101 -26
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-workspace.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workspace-hook-review.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.js +49 -0
- package/node_modules/@dcode/shared/dist/dcode-slash-command-help.js +4 -4
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.js +13 -1
- package/node_modules/@dcode/shared/dist/dcode-task-types-core.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-task-types.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +22 -1
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +102 -17
- package/node_modules/@dcode/shared/dist/desktopMenu.js +48 -48
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.d.ts +35 -6
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.js +45 -6
- package/node_modules/@dcode/shared/dist/env.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/env.js +9 -9
- package/node_modules/@dcode/shared/dist/errors.d.ts +24 -0
- package/node_modules/@dcode/shared/dist/errors.js +54 -0
- package/node_modules/@dcode/shared/dist/execution-state.d.ts +4 -2
- package/node_modules/@dcode/shared/dist/execution-state.js +1 -1
- package/node_modules/@dcode/shared/dist/feedback.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/gen-ui/contract.d.ts +140 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.js +36 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.js +196 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.js +75 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.js +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.js +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.d.ts +202 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.js +126 -0
- package/node_modules/@dcode/shared/dist/helpAppConfig.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/helpAppConfig.js +2 -2
- package/node_modules/@dcode/shared/dist/highspeed.d.ts +181 -0
- package/node_modules/@dcode/shared/dist/highspeed.js +112 -0
- package/node_modules/@dcode/shared/dist/index.d.ts +27 -5
- package/node_modules/@dcode/shared/dist/index.js +24 -2
- package/node_modules/@dcode/shared/dist/localTtft.d.ts +27 -27
- package/node_modules/@dcode/shared/dist/marketingTouch.d.ts +930 -0
- package/node_modules/@dcode/shared/dist/marketingTouch.js +170 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.d.ts +83 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.js +124 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.d.ts +241 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.js +42 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.js +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.js +64 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.d.ts +47 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.js +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.js +11 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.d.ts +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.js +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.js +73 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.d.ts +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.js +107 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.js +55 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.d.ts +78 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.js +65 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.d.ts +39 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.js +199 -0
- package/node_modules/@dcode/shared/dist/mcp.d.ts +6 -2
- package/node_modules/@dcode/shared/dist/memory.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/memory.js +2 -0
- package/node_modules/@dcode/shared/dist/model-execution.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/model-execution.js +38 -0
- package/node_modules/@dcode/shared/dist/networkCapture.d.ts +49 -0
- package/node_modules/@dcode/shared/dist/networkCapture.js +41 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.d.ts +6 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.js +16 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.js +30 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.js +96 -0
- package/node_modules/@dcode/shared/dist/node/officialPluginCache.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node/subagentMarkdownMigration.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node.js +2 -0
- package/node_modules/@dcode/shared/dist/output-style.d.ts +17 -0
- package/node_modules/@dcode/shared/dist/output-style.js +2 -0
- package/node_modules/@dcode/shared/dist/platform.d.ts +149 -1
- package/node_modules/@dcode/shared/dist/platform.js +2 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.d.ts +61 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.js +2 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.js +20 -14
- package/node_modules/@dcode/shared/dist/project-access-token-client.d.ts +42 -0
- package/node_modules/@dcode/shared/dist/project-access-token-client.js +260 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.js +9 -0
- package/node_modules/@dcode/shared/dist/project-access-token.d.ts +45 -0
- package/node_modules/@dcode/shared/dist/project-access-token.js +164 -0
- package/node_modules/@dcode/shared/dist/protocol.d.ts +46 -4
- package/node_modules/@dcode/shared/dist/protocol.js +1 -1
- package/node_modules/@dcode/shared/dist/provider-provisioning.d.ts +26 -2
- package/node_modules/@dcode/shared/dist/provider-provisioning.js +19 -3
- package/node_modules/@dcode/shared/dist/providers.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/providers.js +1 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.js +35 -1
- package/node_modules/@dcode/shared/dist/remoteAppConfig.js +1 -1
- package/node_modules/@dcode/shared/dist/remoteEnvironmentKey.js +19 -0
- package/node_modules/@dcode/shared/dist/remoteTarget.d.ts +14 -1
- package/node_modules/@dcode/shared/dist/remoteTarget.js +4 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.d.ts +27 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.js +43 -0
- package/node_modules/@dcode/shared/dist/rendererActionTrace.d.ts +35 -35
- package/node_modules/@dcode/shared/dist/request-security-edition/index.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/index.js +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.js +5 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.d.ts +19 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.js +29 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.js +80 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.d.ts +37 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.js +50 -0
- package/node_modules/@dcode/shared/dist/sessionCreateTelemetry.d.ts +3 -3
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.js +212 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.js +200 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.d.ts +82 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.js +28 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.d.ts +135 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.js +39 -0
- package/node_modules/@dcode/shared/dist/subagents-types.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/task-realtime-core.d.ts +57 -24
- package/node_modules/@dcode/shared/dist/task-realtime-core.js +8 -2
- package/node_modules/@dcode/shared/dist/test-ids-workflow.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/test-ids-workflow.js +5 -0
- package/node_modules/@dcode/shared/dist/test-ids.d.ts +25 -0
- package/node_modules/@dcode/shared/dist/test-ids.js +25 -0
- package/node_modules/@dcode/shared/dist/tool-identity.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/tool-identity.js +4 -0
- package/node_modules/@dcode/shared/dist/tool-plan-adapter.js +14 -1
- package/node_modules/@dcode/shared/dist/usage-stats.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/validation.d.ts +1542 -166
- package/node_modules/@dcode/shared/dist/validation.js +423 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +70 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.js +74 -12
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.js +40 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.d.ts +183 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.js +562 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.d.ts +645 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.js +174 -0
- package/node_modules/@dcode/shared/package.json +5 -2
- package/node_modules/@dcode/tui/dist/app-approval-panel.js +3 -2
- package/node_modules/@dcode/tui/dist/app-approval.d.ts +3 -1
- package/node_modules/@dcode/tui/dist/app-approval.js +9 -5
- package/node_modules/@dcode/tui/dist/app-compact-timeline.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-compact-timeline.js +5 -2
- package/node_modules/@dcode/tui/dist/app-empty-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-empty-transcript.js +1 -1
- package/node_modules/@dcode/tui/dist/app-file-mentions.d.ts +2 -0
- package/node_modules/@dcode/tui/dist/app-file-mentions.js +2 -2
- package/node_modules/@dcode/tui/dist/app-input-pane.d.ts +38 -0
- package/node_modules/@dcode/tui/dist/app-input-pane.js +19 -19
- package/node_modules/@dcode/tui/dist/app-input-status.d.ts +17 -0
- package/node_modules/@dcode/tui/dist/app-input-status.js +4 -4
- package/node_modules/@dcode/tui/dist/app-input.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-input.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.d.ts +2 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-markdown.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode-command.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-mode-command.js +4 -4
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.d.ts +5 -0
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.d.ts +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.js +1 -1
- package/node_modules/@dcode/tui/dist/app-model-ref.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-model-ref.js +1 -1
- package/node_modules/@dcode/tui/dist/app-motion.d.ts +13 -0
- package/node_modules/@dcode/tui/dist/app-motion.js +17 -7
- package/node_modules/@dcode/tui/dist/app-session-event-handler.d.ts +33 -0
- package/node_modules/@dcode/tui/dist/app-session-event-handler.js +4 -4
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.js +3 -3
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.js +7 -2
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.d.ts +10 -0
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.js +4 -4
- package/node_modules/@dcode/tui/dist/app-submit.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-submit.js +1 -1
- package/node_modules/@dcode/tui/dist/app-thought-components.d.ts +7 -0
- package/node_modules/@dcode/tui/dist/app-thought-components.js +2 -2
- package/node_modules/@dcode/tui/dist/app-tool-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-tool-transcript.js +3 -0
- package/node_modules/@dcode/tui/dist/app-view.d.ts +27 -0
- package/node_modules/@dcode/tui/dist/app-view.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-card.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.js +4 -4
- package/node_modules/@dcode/tui/dist/index.js +5117 -2578
- package/node_modules/@dcode/tui/dist/tui.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/tui.js +1 -1
- package/node_modules/@dcode/tui/dist/types.d.ts +1 -1
- package/node_modules/oniguruma-parser/LICENSE +1 -1
- package/node_modules/oniguruma-parser/README.md +15 -61
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +4 -4
- package/node_modules/oniguruma-parser/dist/parser/parse.js +1 -1
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +1 -1
- package/node_modules/oniguruma-parser/package.json +5 -5
- package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +121 -120
- package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1 -3
- package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/index.min.js +6 -6
- package/node_modules/oniguruma-to-es/package.json +5 -5
- package/package.json +5 -5
|
@@ -23,18 +23,18 @@ export declare const windowHostControllerWorkspaceFactSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
connectionState: z.ZodEnum<{
|
|
25
25
|
failed: "failed";
|
|
26
|
-
online: "online";
|
|
27
26
|
connecting: "connecting";
|
|
28
|
-
closing: "closing";
|
|
29
27
|
disconnected: "disconnected";
|
|
30
28
|
reconnecting: "reconnecting";
|
|
29
|
+
online: "online";
|
|
30
|
+
closing: "closing";
|
|
31
31
|
}>;
|
|
32
32
|
}, z.core.$strict>;
|
|
33
33
|
export type WindowHostControllerWorkspaceFact = z.infer<typeof windowHostControllerWorkspaceFactSchema>;
|
|
34
34
|
export declare const windowHostControllerTaskActivitySchema: z.ZodObject<{
|
|
35
35
|
phase: z.ZodEnum<{
|
|
36
|
-
running: "running";
|
|
37
36
|
error: "error";
|
|
37
|
+
running: "running";
|
|
38
38
|
draft: "draft";
|
|
39
39
|
completedSuccess: "completedSuccess";
|
|
40
40
|
completedInterrupted: "completedInterrupted";
|
|
@@ -53,15 +53,15 @@ export declare const windowHostControllerTaskActivitySchema: z.ZodObject<{
|
|
|
53
53
|
name: z.ZodOptional<z.ZodString>;
|
|
54
54
|
status: z.ZodEnum<{
|
|
55
55
|
completed: "completed";
|
|
56
|
-
running: "running";
|
|
57
|
-
stopped: "stopped";
|
|
58
56
|
pending: "pending";
|
|
57
|
+
running: "running";
|
|
59
58
|
errored: "errored";
|
|
59
|
+
stopped: "stopped";
|
|
60
60
|
}>;
|
|
61
61
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
62
|
-
provider: "provider";
|
|
63
|
-
model: "model";
|
|
64
62
|
user: "user";
|
|
63
|
+
model: "model";
|
|
64
|
+
provider: "provider";
|
|
65
65
|
interrupted: "interrupted";
|
|
66
66
|
superseded: "superseded";
|
|
67
67
|
}>>;
|
|
@@ -70,14 +70,19 @@ export declare const windowHostControllerTaskActivitySchema: z.ZodObject<{
|
|
|
70
70
|
name: z.ZodString;
|
|
71
71
|
status: z.ZodEnum<{
|
|
72
72
|
failed: "failed";
|
|
73
|
-
running: "running";
|
|
74
73
|
pending: "pending";
|
|
74
|
+
running: "running";
|
|
75
75
|
done: "done";
|
|
76
76
|
}>;
|
|
77
77
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
78
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
waiting: "waiting";
|
|
80
|
+
open: "open";
|
|
81
|
+
}>>;
|
|
78
82
|
}, z.core.$strip>>;
|
|
79
83
|
currentPhase: z.ZodOptional<z.ZodString>;
|
|
80
84
|
agentsWorking: z.ZodNumber;
|
|
85
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
81
86
|
}, z.core.$strip>>;
|
|
82
87
|
}, z.core.$strip>>;
|
|
83
88
|
}, z.core.$strict>;
|
|
@@ -103,17 +108,28 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
103
108
|
createdAt: z.ZodNumber;
|
|
104
109
|
updatedAt: z.ZodNumber;
|
|
105
110
|
mode: z.ZodEnum<{
|
|
106
|
-
|
|
111
|
+
default: "default";
|
|
112
|
+
auto: "auto";
|
|
107
113
|
plan: "plan";
|
|
114
|
+
build: "build";
|
|
108
115
|
edit: "edit";
|
|
109
|
-
|
|
116
|
+
yolo: "yolo";
|
|
117
|
+
guarded: "guarded";
|
|
118
|
+
acceptEdits: "acceptEdits";
|
|
119
|
+
dontAsk: "dontAsk";
|
|
120
|
+
bypassPermissions: "bypassPermissions";
|
|
110
121
|
autoEdit: "autoEdit";
|
|
111
|
-
build: "build";
|
|
112
122
|
}>;
|
|
113
123
|
model: z.ZodOptional<z.ZodString>;
|
|
114
124
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
115
125
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
provider: z.ZodOptional<z.
|
|
126
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
127
|
+
glm: "glm";
|
|
128
|
+
claude: "claude";
|
|
129
|
+
opencode: "opencode";
|
|
130
|
+
gemini: "gemini";
|
|
131
|
+
codex: "codex";
|
|
132
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
117
133
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
118
134
|
claudeCode: "claudeCode";
|
|
119
135
|
}>>;
|
|
@@ -122,9 +138,9 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
122
138
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
123
139
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
124
140
|
status: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
error: "error";
|
|
125
142
|
completed: "completed";
|
|
126
143
|
running: "running";
|
|
127
|
-
error: "error";
|
|
128
144
|
}>>;
|
|
129
145
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
130
146
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -142,21 +158,21 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
142
158
|
reason: z.ZodOptional<z.ZodString>;
|
|
143
159
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
144
160
|
response: "response";
|
|
161
|
+
connect: "connect";
|
|
145
162
|
prepare: "prepare";
|
|
146
163
|
configuration: "configuration";
|
|
147
|
-
connect: "connect";
|
|
148
164
|
stream: "stream";
|
|
149
165
|
parse: "parse";
|
|
150
166
|
validation: "validation";
|
|
151
167
|
unhandled: "unhandled";
|
|
152
168
|
}>>;
|
|
153
169
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
170
|
+
transport: "transport";
|
|
154
171
|
validation: "validation";
|
|
155
172
|
api_call: "api_call";
|
|
156
173
|
generic: "generic";
|
|
157
174
|
protocol: "protocol";
|
|
158
175
|
provider_business: "provider_business";
|
|
159
|
-
transport: "transport";
|
|
160
176
|
type_error: "type_error";
|
|
161
177
|
}>>;
|
|
162
178
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -172,6 +188,10 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
172
188
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
173
189
|
}, z.core.$strict>>;
|
|
174
190
|
}, z.core.$strip>>;
|
|
191
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
192
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
}, z.core.$strip>>;
|
|
175
195
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
176
196
|
fileCount: z.ZodNumber;
|
|
177
197
|
added: z.ZodNumber;
|
|
@@ -190,10 +210,10 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
190
210
|
objective: z.ZodString;
|
|
191
211
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
192
212
|
status: z.ZodEnum<{
|
|
193
|
-
active: "active";
|
|
194
213
|
paused: "paused";
|
|
195
|
-
|
|
214
|
+
active: "active";
|
|
196
215
|
budget_limited: "budget_limited";
|
|
216
|
+
complete: "complete";
|
|
197
217
|
}>;
|
|
198
218
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
199
219
|
tokensUsed: z.ZodNumber;
|
|
@@ -217,16 +237,16 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
217
237
|
offline: "offline";
|
|
218
238
|
}>;
|
|
219
239
|
liveStatus: z.ZodEnum<{
|
|
240
|
+
error: "error";
|
|
220
241
|
completed: "completed";
|
|
221
|
-
idle: "idle";
|
|
222
242
|
running: "running";
|
|
223
|
-
|
|
243
|
+
idle: "idle";
|
|
224
244
|
waiting: "waiting";
|
|
225
245
|
}>;
|
|
226
246
|
activity: z.ZodOptional<z.ZodObject<{
|
|
227
247
|
phase: z.ZodEnum<{
|
|
228
|
-
running: "running";
|
|
229
248
|
error: "error";
|
|
249
|
+
running: "running";
|
|
230
250
|
draft: "draft";
|
|
231
251
|
completedSuccess: "completedSuccess";
|
|
232
252
|
completedInterrupted: "completedInterrupted";
|
|
@@ -245,15 +265,15 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
245
265
|
name: z.ZodOptional<z.ZodString>;
|
|
246
266
|
status: z.ZodEnum<{
|
|
247
267
|
completed: "completed";
|
|
248
|
-
running: "running";
|
|
249
|
-
stopped: "stopped";
|
|
250
268
|
pending: "pending";
|
|
269
|
+
running: "running";
|
|
251
270
|
errored: "errored";
|
|
271
|
+
stopped: "stopped";
|
|
252
272
|
}>;
|
|
253
273
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
254
|
-
provider: "provider";
|
|
255
|
-
model: "model";
|
|
256
274
|
user: "user";
|
|
275
|
+
model: "model";
|
|
276
|
+
provider: "provider";
|
|
257
277
|
interrupted: "interrupted";
|
|
258
278
|
superseded: "superseded";
|
|
259
279
|
}>>;
|
|
@@ -262,14 +282,19 @@ export declare const windowHostControllerTaskRowSchema: z.ZodObject<{
|
|
|
262
282
|
name: z.ZodString;
|
|
263
283
|
status: z.ZodEnum<{
|
|
264
284
|
failed: "failed";
|
|
265
|
-
running: "running";
|
|
266
285
|
pending: "pending";
|
|
286
|
+
running: "running";
|
|
267
287
|
done: "done";
|
|
268
288
|
}>;
|
|
269
289
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
290
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
waiting: "waiting";
|
|
292
|
+
open: "open";
|
|
293
|
+
}>>;
|
|
270
294
|
}, z.core.$strip>>;
|
|
271
295
|
currentPhase: z.ZodOptional<z.ZodString>;
|
|
272
296
|
agentsWorking: z.ZodNumber;
|
|
297
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
273
298
|
}, z.core.$strip>>;
|
|
274
299
|
}, z.core.$strip>>;
|
|
275
300
|
}, z.core.$strict>>;
|
|
@@ -292,11 +317,11 @@ export declare const windowHostControllerWorkspacesSnapshotSchema: z.ZodObject<{
|
|
|
292
317
|
}>;
|
|
293
318
|
connectionState: z.ZodEnum<{
|
|
294
319
|
failed: "failed";
|
|
295
|
-
online: "online";
|
|
296
320
|
connecting: "connecting";
|
|
297
|
-
closing: "closing";
|
|
298
321
|
disconnected: "disconnected";
|
|
299
322
|
reconnecting: "reconnecting";
|
|
323
|
+
online: "online";
|
|
324
|
+
closing: "closing";
|
|
300
325
|
}>;
|
|
301
326
|
}, z.core.$strict>>;
|
|
302
327
|
}, z.core.$strict>;
|
|
@@ -325,17 +350,28 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
325
350
|
createdAt: z.ZodNumber;
|
|
326
351
|
updatedAt: z.ZodNumber;
|
|
327
352
|
mode: z.ZodEnum<{
|
|
328
|
-
|
|
353
|
+
default: "default";
|
|
354
|
+
auto: "auto";
|
|
329
355
|
plan: "plan";
|
|
356
|
+
build: "build";
|
|
330
357
|
edit: "edit";
|
|
331
|
-
|
|
358
|
+
yolo: "yolo";
|
|
359
|
+
guarded: "guarded";
|
|
360
|
+
acceptEdits: "acceptEdits";
|
|
361
|
+
dontAsk: "dontAsk";
|
|
362
|
+
bypassPermissions: "bypassPermissions";
|
|
332
363
|
autoEdit: "autoEdit";
|
|
333
|
-
build: "build";
|
|
334
364
|
}>;
|
|
335
365
|
model: z.ZodOptional<z.ZodString>;
|
|
336
366
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
337
367
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
338
|
-
provider: z.ZodOptional<z.
|
|
368
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
369
|
+
glm: "glm";
|
|
370
|
+
claude: "claude";
|
|
371
|
+
opencode: "opencode";
|
|
372
|
+
gemini: "gemini";
|
|
373
|
+
codex: "codex";
|
|
374
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
339
375
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
340
376
|
claudeCode: "claudeCode";
|
|
341
377
|
}>>;
|
|
@@ -344,9 +380,9 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
344
380
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
345
381
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
346
382
|
status: z.ZodOptional<z.ZodEnum<{
|
|
383
|
+
error: "error";
|
|
347
384
|
completed: "completed";
|
|
348
385
|
running: "running";
|
|
349
|
-
error: "error";
|
|
350
386
|
}>>;
|
|
351
387
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
352
388
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -364,21 +400,21 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
364
400
|
reason: z.ZodOptional<z.ZodString>;
|
|
365
401
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
366
402
|
response: "response";
|
|
403
|
+
connect: "connect";
|
|
367
404
|
prepare: "prepare";
|
|
368
405
|
configuration: "configuration";
|
|
369
|
-
connect: "connect";
|
|
370
406
|
stream: "stream";
|
|
371
407
|
parse: "parse";
|
|
372
408
|
validation: "validation";
|
|
373
409
|
unhandled: "unhandled";
|
|
374
410
|
}>>;
|
|
375
411
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
412
|
+
transport: "transport";
|
|
376
413
|
validation: "validation";
|
|
377
414
|
api_call: "api_call";
|
|
378
415
|
generic: "generic";
|
|
379
416
|
protocol: "protocol";
|
|
380
417
|
provider_business: "provider_business";
|
|
381
|
-
transport: "transport";
|
|
382
418
|
type_error: "type_error";
|
|
383
419
|
}>>;
|
|
384
420
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -394,6 +430,10 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
394
430
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
395
431
|
}, z.core.$strict>>;
|
|
396
432
|
}, z.core.$strip>>;
|
|
433
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
434
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
435
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
397
437
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
398
438
|
fileCount: z.ZodNumber;
|
|
399
439
|
added: z.ZodNumber;
|
|
@@ -412,10 +452,10 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
412
452
|
objective: z.ZodString;
|
|
413
453
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
414
454
|
status: z.ZodEnum<{
|
|
415
|
-
active: "active";
|
|
416
455
|
paused: "paused";
|
|
417
|
-
|
|
456
|
+
active: "active";
|
|
418
457
|
budget_limited: "budget_limited";
|
|
458
|
+
complete: "complete";
|
|
419
459
|
}>;
|
|
420
460
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
421
461
|
tokensUsed: z.ZodNumber;
|
|
@@ -439,16 +479,16 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
439
479
|
offline: "offline";
|
|
440
480
|
}>;
|
|
441
481
|
liveStatus: z.ZodEnum<{
|
|
482
|
+
error: "error";
|
|
442
483
|
completed: "completed";
|
|
443
|
-
idle: "idle";
|
|
444
484
|
running: "running";
|
|
445
|
-
|
|
485
|
+
idle: "idle";
|
|
446
486
|
waiting: "waiting";
|
|
447
487
|
}>;
|
|
448
488
|
activity: z.ZodOptional<z.ZodObject<{
|
|
449
489
|
phase: z.ZodEnum<{
|
|
450
|
-
running: "running";
|
|
451
490
|
error: "error";
|
|
491
|
+
running: "running";
|
|
452
492
|
draft: "draft";
|
|
453
493
|
completedSuccess: "completedSuccess";
|
|
454
494
|
completedInterrupted: "completedInterrupted";
|
|
@@ -467,15 +507,15 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
467
507
|
name: z.ZodOptional<z.ZodString>;
|
|
468
508
|
status: z.ZodEnum<{
|
|
469
509
|
completed: "completed";
|
|
470
|
-
running: "running";
|
|
471
|
-
stopped: "stopped";
|
|
472
510
|
pending: "pending";
|
|
511
|
+
running: "running";
|
|
473
512
|
errored: "errored";
|
|
513
|
+
stopped: "stopped";
|
|
474
514
|
}>;
|
|
475
515
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
476
|
-
provider: "provider";
|
|
477
|
-
model: "model";
|
|
478
516
|
user: "user";
|
|
517
|
+
model: "model";
|
|
518
|
+
provider: "provider";
|
|
479
519
|
interrupted: "interrupted";
|
|
480
520
|
superseded: "superseded";
|
|
481
521
|
}>>;
|
|
@@ -484,14 +524,19 @@ export declare const windowHostControllerTasksSnapshotSchema: z.ZodObject<{
|
|
|
484
524
|
name: z.ZodString;
|
|
485
525
|
status: z.ZodEnum<{
|
|
486
526
|
failed: "failed";
|
|
487
|
-
running: "running";
|
|
488
527
|
pending: "pending";
|
|
528
|
+
running: "running";
|
|
489
529
|
done: "done";
|
|
490
530
|
}>;
|
|
491
531
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
532
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
533
|
+
waiting: "waiting";
|
|
534
|
+
open: "open";
|
|
535
|
+
}>>;
|
|
492
536
|
}, z.core.$strip>>;
|
|
493
537
|
currentPhase: z.ZodOptional<z.ZodString>;
|
|
494
538
|
agentsWorking: z.ZodNumber;
|
|
539
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
495
540
|
}, z.core.$strip>>;
|
|
496
541
|
}, z.core.$strip>>;
|
|
497
542
|
}, z.core.$strict>>;
|
|
@@ -511,11 +556,11 @@ export declare const windowHostControllerWorkspaceDeltaSchema: z.ZodDiscriminate
|
|
|
511
556
|
}>;
|
|
512
557
|
connectionState: z.ZodEnum<{
|
|
513
558
|
failed: "failed";
|
|
514
|
-
online: "online";
|
|
515
559
|
connecting: "connecting";
|
|
516
|
-
closing: "closing";
|
|
517
560
|
disconnected: "disconnected";
|
|
518
561
|
reconnecting: "reconnecting";
|
|
562
|
+
online: "online";
|
|
563
|
+
closing: "closing";
|
|
519
564
|
}>;
|
|
520
565
|
}, z.core.$strict>;
|
|
521
566
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -548,17 +593,28 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
548
593
|
createdAt: z.ZodNumber;
|
|
549
594
|
updatedAt: z.ZodNumber;
|
|
550
595
|
mode: z.ZodEnum<{
|
|
551
|
-
|
|
596
|
+
default: "default";
|
|
597
|
+
auto: "auto";
|
|
552
598
|
plan: "plan";
|
|
599
|
+
build: "build";
|
|
553
600
|
edit: "edit";
|
|
554
|
-
|
|
601
|
+
yolo: "yolo";
|
|
602
|
+
guarded: "guarded";
|
|
603
|
+
acceptEdits: "acceptEdits";
|
|
604
|
+
dontAsk: "dontAsk";
|
|
605
|
+
bypassPermissions: "bypassPermissions";
|
|
555
606
|
autoEdit: "autoEdit";
|
|
556
|
-
build: "build";
|
|
557
607
|
}>;
|
|
558
608
|
model: z.ZodOptional<z.ZodString>;
|
|
559
609
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
560
610
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
561
|
-
provider: z.ZodOptional<z.
|
|
611
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
612
|
+
glm: "glm";
|
|
613
|
+
claude: "claude";
|
|
614
|
+
opencode: "opencode";
|
|
615
|
+
gemini: "gemini";
|
|
616
|
+
codex: "codex";
|
|
617
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
562
618
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
563
619
|
claudeCode: "claudeCode";
|
|
564
620
|
}>>;
|
|
@@ -567,9 +623,9 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
567
623
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
568
624
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
569
625
|
status: z.ZodOptional<z.ZodEnum<{
|
|
626
|
+
error: "error";
|
|
570
627
|
completed: "completed";
|
|
571
628
|
running: "running";
|
|
572
|
-
error: "error";
|
|
573
629
|
}>>;
|
|
574
630
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
575
631
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -587,21 +643,21 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
587
643
|
reason: z.ZodOptional<z.ZodString>;
|
|
588
644
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
589
645
|
response: "response";
|
|
646
|
+
connect: "connect";
|
|
590
647
|
prepare: "prepare";
|
|
591
648
|
configuration: "configuration";
|
|
592
|
-
connect: "connect";
|
|
593
649
|
stream: "stream";
|
|
594
650
|
parse: "parse";
|
|
595
651
|
validation: "validation";
|
|
596
652
|
unhandled: "unhandled";
|
|
597
653
|
}>>;
|
|
598
654
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
655
|
+
transport: "transport";
|
|
599
656
|
validation: "validation";
|
|
600
657
|
api_call: "api_call";
|
|
601
658
|
generic: "generic";
|
|
602
659
|
protocol: "protocol";
|
|
603
660
|
provider_business: "provider_business";
|
|
604
|
-
transport: "transport";
|
|
605
661
|
type_error: "type_error";
|
|
606
662
|
}>>;
|
|
607
663
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -617,6 +673,10 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
617
673
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
618
674
|
}, z.core.$strict>>;
|
|
619
675
|
}, z.core.$strip>>;
|
|
676
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
677
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
678
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
679
|
+
}, z.core.$strip>>;
|
|
620
680
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
621
681
|
fileCount: z.ZodNumber;
|
|
622
682
|
added: z.ZodNumber;
|
|
@@ -635,10 +695,10 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
635
695
|
objective: z.ZodString;
|
|
636
696
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
637
697
|
status: z.ZodEnum<{
|
|
638
|
-
active: "active";
|
|
639
698
|
paused: "paused";
|
|
640
|
-
|
|
699
|
+
active: "active";
|
|
641
700
|
budget_limited: "budget_limited";
|
|
701
|
+
complete: "complete";
|
|
642
702
|
}>;
|
|
643
703
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
644
704
|
tokensUsed: z.ZodNumber;
|
|
@@ -662,16 +722,16 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
662
722
|
offline: "offline";
|
|
663
723
|
}>;
|
|
664
724
|
liveStatus: z.ZodEnum<{
|
|
725
|
+
error: "error";
|
|
665
726
|
completed: "completed";
|
|
666
|
-
idle: "idle";
|
|
667
727
|
running: "running";
|
|
668
|
-
|
|
728
|
+
idle: "idle";
|
|
669
729
|
waiting: "waiting";
|
|
670
730
|
}>;
|
|
671
731
|
activity: z.ZodOptional<z.ZodObject<{
|
|
672
732
|
phase: z.ZodEnum<{
|
|
673
|
-
running: "running";
|
|
674
733
|
error: "error";
|
|
734
|
+
running: "running";
|
|
675
735
|
draft: "draft";
|
|
676
736
|
completedSuccess: "completedSuccess";
|
|
677
737
|
completedInterrupted: "completedInterrupted";
|
|
@@ -690,15 +750,15 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
690
750
|
name: z.ZodOptional<z.ZodString>;
|
|
691
751
|
status: z.ZodEnum<{
|
|
692
752
|
completed: "completed";
|
|
693
|
-
running: "running";
|
|
694
|
-
stopped: "stopped";
|
|
695
753
|
pending: "pending";
|
|
754
|
+
running: "running";
|
|
696
755
|
errored: "errored";
|
|
756
|
+
stopped: "stopped";
|
|
697
757
|
}>;
|
|
698
758
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
699
|
-
provider: "provider";
|
|
700
|
-
model: "model";
|
|
701
759
|
user: "user";
|
|
760
|
+
model: "model";
|
|
761
|
+
provider: "provider";
|
|
702
762
|
interrupted: "interrupted";
|
|
703
763
|
superseded: "superseded";
|
|
704
764
|
}>>;
|
|
@@ -707,14 +767,19 @@ export declare const windowHostControllerTaskDeltaSchema: z.ZodDiscriminatedUnio
|
|
|
707
767
|
name: z.ZodString;
|
|
708
768
|
status: z.ZodEnum<{
|
|
709
769
|
failed: "failed";
|
|
710
|
-
running: "running";
|
|
711
770
|
pending: "pending";
|
|
771
|
+
running: "running";
|
|
712
772
|
done: "done";
|
|
713
773
|
}>;
|
|
714
774
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
775
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
776
|
+
waiting: "waiting";
|
|
777
|
+
open: "open";
|
|
778
|
+
}>>;
|
|
715
779
|
}, z.core.$strip>>;
|
|
716
780
|
currentPhase: z.ZodOptional<z.ZodString>;
|
|
717
781
|
agentsWorking: z.ZodNumber;
|
|
782
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
718
783
|
}, z.core.$strip>>;
|
|
719
784
|
}, z.core.$strip>>;
|
|
720
785
|
}, z.core.$strict>>;
|
|
@@ -752,11 +817,11 @@ export declare const windowHostControllerWorkspaceFrameSchema: z.ZodObject<{
|
|
|
752
817
|
}>;
|
|
753
818
|
connectionState: z.ZodEnum<{
|
|
754
819
|
failed: "failed";
|
|
755
|
-
online: "online";
|
|
756
820
|
connecting: "connecting";
|
|
757
|
-
closing: "closing";
|
|
758
821
|
disconnected: "disconnected";
|
|
759
822
|
reconnecting: "reconnecting";
|
|
823
|
+
online: "online";
|
|
824
|
+
closing: "closing";
|
|
760
825
|
}>;
|
|
761
826
|
}, z.core.$strict>>;
|
|
762
827
|
}, z.core.$strict>;
|
|
@@ -774,11 +839,11 @@ export declare const windowHostControllerWorkspaceFrameSchema: z.ZodObject<{
|
|
|
774
839
|
}>;
|
|
775
840
|
connectionState: z.ZodEnum<{
|
|
776
841
|
failed: "failed";
|
|
777
|
-
online: "online";
|
|
778
842
|
connecting: "connecting";
|
|
779
|
-
closing: "closing";
|
|
780
843
|
disconnected: "disconnected";
|
|
781
844
|
reconnecting: "reconnecting";
|
|
845
|
+
online: "online";
|
|
846
|
+
closing: "closing";
|
|
782
847
|
}>;
|
|
783
848
|
}, z.core.$strict>;
|
|
784
849
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -823,17 +888,28 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
823
888
|
createdAt: z.ZodNumber;
|
|
824
889
|
updatedAt: z.ZodNumber;
|
|
825
890
|
mode: z.ZodEnum<{
|
|
826
|
-
|
|
891
|
+
default: "default";
|
|
892
|
+
auto: "auto";
|
|
827
893
|
plan: "plan";
|
|
894
|
+
build: "build";
|
|
828
895
|
edit: "edit";
|
|
829
|
-
|
|
896
|
+
yolo: "yolo";
|
|
897
|
+
guarded: "guarded";
|
|
898
|
+
acceptEdits: "acceptEdits";
|
|
899
|
+
dontAsk: "dontAsk";
|
|
900
|
+
bypassPermissions: "bypassPermissions";
|
|
830
901
|
autoEdit: "autoEdit";
|
|
831
|
-
build: "build";
|
|
832
902
|
}>;
|
|
833
903
|
model: z.ZodOptional<z.ZodString>;
|
|
834
904
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
835
905
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
836
|
-
provider: z.ZodOptional<z.
|
|
906
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
907
|
+
glm: "glm";
|
|
908
|
+
claude: "claude";
|
|
909
|
+
opencode: "opencode";
|
|
910
|
+
gemini: "gemini";
|
|
911
|
+
codex: "codex";
|
|
912
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
837
913
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
838
914
|
claudeCode: "claudeCode";
|
|
839
915
|
}>>;
|
|
@@ -842,9 +918,9 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
842
918
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
843
919
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
844
920
|
status: z.ZodOptional<z.ZodEnum<{
|
|
921
|
+
error: "error";
|
|
845
922
|
completed: "completed";
|
|
846
923
|
running: "running";
|
|
847
|
-
error: "error";
|
|
848
924
|
}>>;
|
|
849
925
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
850
926
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -862,21 +938,21 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
862
938
|
reason: z.ZodOptional<z.ZodString>;
|
|
863
939
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
864
940
|
response: "response";
|
|
941
|
+
connect: "connect";
|
|
865
942
|
prepare: "prepare";
|
|
866
943
|
configuration: "configuration";
|
|
867
|
-
connect: "connect";
|
|
868
944
|
stream: "stream";
|
|
869
945
|
parse: "parse";
|
|
870
946
|
validation: "validation";
|
|
871
947
|
unhandled: "unhandled";
|
|
872
948
|
}>>;
|
|
873
949
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
950
|
+
transport: "transport";
|
|
874
951
|
validation: "validation";
|
|
875
952
|
api_call: "api_call";
|
|
876
953
|
generic: "generic";
|
|
877
954
|
protocol: "protocol";
|
|
878
955
|
provider_business: "provider_business";
|
|
879
|
-
transport: "transport";
|
|
880
956
|
type_error: "type_error";
|
|
881
957
|
}>>;
|
|
882
958
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -892,6 +968,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
892
968
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
893
969
|
}, z.core.$strict>>;
|
|
894
970
|
}, z.core.$strip>>;
|
|
971
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
972
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
973
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
974
|
+
}, z.core.$strip>>;
|
|
895
975
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
896
976
|
fileCount: z.ZodNumber;
|
|
897
977
|
added: z.ZodNumber;
|
|
@@ -910,10 +990,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
910
990
|
objective: z.ZodString;
|
|
911
991
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
912
992
|
status: z.ZodEnum<{
|
|
913
|
-
active: "active";
|
|
914
993
|
paused: "paused";
|
|
915
|
-
|
|
994
|
+
active: "active";
|
|
916
995
|
budget_limited: "budget_limited";
|
|
996
|
+
complete: "complete";
|
|
917
997
|
}>;
|
|
918
998
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
919
999
|
tokensUsed: z.ZodNumber;
|
|
@@ -937,16 +1017,16 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
937
1017
|
offline: "offline";
|
|
938
1018
|
}>;
|
|
939
1019
|
liveStatus: z.ZodEnum<{
|
|
1020
|
+
error: "error";
|
|
940
1021
|
completed: "completed";
|
|
941
|
-
idle: "idle";
|
|
942
1022
|
running: "running";
|
|
943
|
-
|
|
1023
|
+
idle: "idle";
|
|
944
1024
|
waiting: "waiting";
|
|
945
1025
|
}>;
|
|
946
1026
|
activity: z.ZodOptional<z.ZodObject<{
|
|
947
1027
|
phase: z.ZodEnum<{
|
|
948
|
-
running: "running";
|
|
949
1028
|
error: "error";
|
|
1029
|
+
running: "running";
|
|
950
1030
|
draft: "draft";
|
|
951
1031
|
completedSuccess: "completedSuccess";
|
|
952
1032
|
completedInterrupted: "completedInterrupted";
|
|
@@ -965,15 +1045,15 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
965
1045
|
name: z.ZodOptional<z.ZodString>;
|
|
966
1046
|
status: z.ZodEnum<{
|
|
967
1047
|
completed: "completed";
|
|
968
|
-
running: "running";
|
|
969
|
-
stopped: "stopped";
|
|
970
1048
|
pending: "pending";
|
|
1049
|
+
running: "running";
|
|
971
1050
|
errored: "errored";
|
|
1051
|
+
stopped: "stopped";
|
|
972
1052
|
}>;
|
|
973
1053
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
974
|
-
provider: "provider";
|
|
975
|
-
model: "model";
|
|
976
1054
|
user: "user";
|
|
1055
|
+
model: "model";
|
|
1056
|
+
provider: "provider";
|
|
977
1057
|
interrupted: "interrupted";
|
|
978
1058
|
superseded: "superseded";
|
|
979
1059
|
}>>;
|
|
@@ -982,14 +1062,19 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
982
1062
|
name: z.ZodString;
|
|
983
1063
|
status: z.ZodEnum<{
|
|
984
1064
|
failed: "failed";
|
|
985
|
-
running: "running";
|
|
986
1065
|
pending: "pending";
|
|
1066
|
+
running: "running";
|
|
987
1067
|
done: "done";
|
|
988
1068
|
}>;
|
|
989
1069
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1070
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
1071
|
+
waiting: "waiting";
|
|
1072
|
+
open: "open";
|
|
1073
|
+
}>>;
|
|
990
1074
|
}, z.core.$strip>>;
|
|
991
1075
|
currentPhase: z.ZodOptional<z.ZodString>;
|
|
992
1076
|
agentsWorking: z.ZodNumber;
|
|
1077
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
993
1078
|
}, z.core.$strip>>;
|
|
994
1079
|
}, z.core.$strip>>;
|
|
995
1080
|
}, z.core.$strict>>;
|
|
@@ -1021,17 +1106,28 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1021
1106
|
createdAt: z.ZodNumber;
|
|
1022
1107
|
updatedAt: z.ZodNumber;
|
|
1023
1108
|
mode: z.ZodEnum<{
|
|
1024
|
-
|
|
1109
|
+
default: "default";
|
|
1110
|
+
auto: "auto";
|
|
1025
1111
|
plan: "plan";
|
|
1112
|
+
build: "build";
|
|
1026
1113
|
edit: "edit";
|
|
1027
|
-
|
|
1114
|
+
yolo: "yolo";
|
|
1115
|
+
guarded: "guarded";
|
|
1116
|
+
acceptEdits: "acceptEdits";
|
|
1117
|
+
dontAsk: "dontAsk";
|
|
1118
|
+
bypassPermissions: "bypassPermissions";
|
|
1028
1119
|
autoEdit: "autoEdit";
|
|
1029
|
-
build: "build";
|
|
1030
1120
|
}>;
|
|
1031
1121
|
model: z.ZodOptional<z.ZodString>;
|
|
1032
1122
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
1033
1123
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
-
provider: z.ZodOptional<z.
|
|
1124
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
1125
|
+
glm: "glm";
|
|
1126
|
+
claude: "claude";
|
|
1127
|
+
opencode: "opencode";
|
|
1128
|
+
gemini: "gemini";
|
|
1129
|
+
codex: "codex";
|
|
1130
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
1035
1131
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
1036
1132
|
claudeCode: "claudeCode";
|
|
1037
1133
|
}>>;
|
|
@@ -1040,9 +1136,9 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1040
1136
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
1041
1137
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
1042
1138
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1139
|
+
error: "error";
|
|
1043
1140
|
completed: "completed";
|
|
1044
1141
|
running: "running";
|
|
1045
|
-
error: "error";
|
|
1046
1142
|
}>>;
|
|
1047
1143
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
1048
1144
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -1060,21 +1156,21 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1060
1156
|
reason: z.ZodOptional<z.ZodString>;
|
|
1061
1157
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
1062
1158
|
response: "response";
|
|
1159
|
+
connect: "connect";
|
|
1063
1160
|
prepare: "prepare";
|
|
1064
1161
|
configuration: "configuration";
|
|
1065
|
-
connect: "connect";
|
|
1066
1162
|
stream: "stream";
|
|
1067
1163
|
parse: "parse";
|
|
1068
1164
|
validation: "validation";
|
|
1069
1165
|
unhandled: "unhandled";
|
|
1070
1166
|
}>>;
|
|
1071
1167
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
1168
|
+
transport: "transport";
|
|
1072
1169
|
validation: "validation";
|
|
1073
1170
|
api_call: "api_call";
|
|
1074
1171
|
generic: "generic";
|
|
1075
1172
|
protocol: "protocol";
|
|
1076
1173
|
provider_business: "provider_business";
|
|
1077
|
-
transport: "transport";
|
|
1078
1174
|
type_error: "type_error";
|
|
1079
1175
|
}>>;
|
|
1080
1176
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -1090,6 +1186,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1090
1186
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
1091
1187
|
}, z.core.$strict>>;
|
|
1092
1188
|
}, z.core.$strip>>;
|
|
1189
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
1190
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
1191
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
1192
|
+
}, z.core.$strip>>;
|
|
1093
1193
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
1094
1194
|
fileCount: z.ZodNumber;
|
|
1095
1195
|
added: z.ZodNumber;
|
|
@@ -1108,10 +1208,10 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1108
1208
|
objective: z.ZodString;
|
|
1109
1209
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1110
1210
|
status: z.ZodEnum<{
|
|
1111
|
-
active: "active";
|
|
1112
1211
|
paused: "paused";
|
|
1113
|
-
|
|
1212
|
+
active: "active";
|
|
1114
1213
|
budget_limited: "budget_limited";
|
|
1214
|
+
complete: "complete";
|
|
1115
1215
|
}>;
|
|
1116
1216
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
1117
1217
|
tokensUsed: z.ZodNumber;
|
|
@@ -1135,16 +1235,16 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1135
1235
|
offline: "offline";
|
|
1136
1236
|
}>;
|
|
1137
1237
|
liveStatus: z.ZodEnum<{
|
|
1238
|
+
error: "error";
|
|
1138
1239
|
completed: "completed";
|
|
1139
|
-
idle: "idle";
|
|
1140
1240
|
running: "running";
|
|
1141
|
-
|
|
1241
|
+
idle: "idle";
|
|
1142
1242
|
waiting: "waiting";
|
|
1143
1243
|
}>;
|
|
1144
1244
|
activity: z.ZodOptional<z.ZodObject<{
|
|
1145
1245
|
phase: z.ZodEnum<{
|
|
1146
|
-
running: "running";
|
|
1147
1246
|
error: "error";
|
|
1247
|
+
running: "running";
|
|
1148
1248
|
draft: "draft";
|
|
1149
1249
|
completedSuccess: "completedSuccess";
|
|
1150
1250
|
completedInterrupted: "completedInterrupted";
|
|
@@ -1163,15 +1263,15 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1163
1263
|
name: z.ZodOptional<z.ZodString>;
|
|
1164
1264
|
status: z.ZodEnum<{
|
|
1165
1265
|
completed: "completed";
|
|
1166
|
-
running: "running";
|
|
1167
|
-
stopped: "stopped";
|
|
1168
1266
|
pending: "pending";
|
|
1267
|
+
running: "running";
|
|
1169
1268
|
errored: "errored";
|
|
1269
|
+
stopped: "stopped";
|
|
1170
1270
|
}>;
|
|
1171
1271
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
1172
|
-
provider: "provider";
|
|
1173
|
-
model: "model";
|
|
1174
1272
|
user: "user";
|
|
1273
|
+
model: "model";
|
|
1274
|
+
provider: "provider";
|
|
1175
1275
|
interrupted: "interrupted";
|
|
1176
1276
|
superseded: "superseded";
|
|
1177
1277
|
}>>;
|
|
@@ -1180,14 +1280,19 @@ export declare const windowHostControllerTaskFrameSchema: z.ZodObject<{
|
|
|
1180
1280
|
name: z.ZodString;
|
|
1181
1281
|
status: z.ZodEnum<{
|
|
1182
1282
|
failed: "failed";
|
|
1183
|
-
running: "running";
|
|
1184
1283
|
pending: "pending";
|
|
1284
|
+
running: "running";
|
|
1185
1285
|
done: "done";
|
|
1186
1286
|
}>;
|
|
1187
1287
|
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1288
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
1289
|
+
waiting: "waiting";
|
|
1290
|
+
open: "open";
|
|
1291
|
+
}>>;
|
|
1188
1292
|
}, z.core.$strip>>;
|
|
1189
1293
|
currentPhase: z.ZodOptional<z.ZodString>;
|
|
1190
1294
|
agentsWorking: z.ZodNumber;
|
|
1295
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
1191
1296
|
}, z.core.$strip>>;
|
|
1192
1297
|
}, z.core.$strip>>;
|
|
1193
1298
|
}, z.core.$strict>>;
|
|
@@ -1224,8 +1329,8 @@ export declare const controllerSubscribeResultSchema: z.ZodObject<{
|
|
|
1224
1329
|
ack: z.ZodObject<{
|
|
1225
1330
|
subscriptionId: z.ZodString;
|
|
1226
1331
|
mode: z.ZodEnum<{
|
|
1227
|
-
resume: "resume";
|
|
1228
1332
|
snapshot: "snapshot";
|
|
1333
|
+
resume: "resume";
|
|
1229
1334
|
}>;
|
|
1230
1335
|
logEpoch: z.ZodString;
|
|
1231
1336
|
}, z.core.$strip>;
|
|
@@ -1244,8 +1349,8 @@ export declare const controllerResyncResultSchema: z.ZodObject<{
|
|
|
1244
1349
|
ack: z.ZodObject<{
|
|
1245
1350
|
subscriptionId: z.ZodString;
|
|
1246
1351
|
mode: z.ZodEnum<{
|
|
1247
|
-
resume: "resume";
|
|
1248
1352
|
snapshot: "snapshot";
|
|
1353
|
+
resume: "resume";
|
|
1249
1354
|
}>;
|
|
1250
1355
|
logEpoch: z.ZodString;
|
|
1251
1356
|
}, z.core.$strip>;
|