@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
|
@@ -1,11 +1,1015 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { dcodeProviderSchema } from "./providers.js";
|
|
3
|
-
|
|
4
|
-
export { dcodeTaskModeSchema } from "./dcode-task-mode-schema.js";
|
|
3
|
+
import type { WebRemoteControlAppPayload } from "./web-remote-control.js";
|
|
5
4
|
export { appSettingsOccupationEnum, appSettingsPatchSchema, appSettingsSchema, localeSchema, postUpdateReleaseNotesPayloadSchema, } from "./validationAppSettings.js";
|
|
5
|
+
export { isValidWslUser, WSL_USER_MAX_LENGTH, wslUserSchema } from "./wslUserValidation.js";
|
|
6
|
+
export { dcodeTaskModeSchema } from "./dcode-task-mode-schema.js";
|
|
6
7
|
export declare function formatZodError(error: z.ZodError): string;
|
|
7
8
|
export declare const nonEmptyStringSchema: z.ZodString;
|
|
8
9
|
export declare const stringArraySchema: z.ZodArray<z.ZodString>;
|
|
10
|
+
export declare const webRemoteControlWorkspaceTargetSchema: z.ZodObject<{
|
|
11
|
+
workspacePath: z.ZodString;
|
|
12
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
label: z.ZodString;
|
|
15
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
project: "project";
|
|
17
|
+
conversation: "conversation";
|
|
18
|
+
}>>;
|
|
19
|
+
kind: z.ZodEnum<{
|
|
20
|
+
local: "local";
|
|
21
|
+
remote: "remote";
|
|
22
|
+
}>;
|
|
23
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
connected: "connected";
|
|
25
|
+
disconnected: "disconnected";
|
|
26
|
+
reconnecting: "reconnecting";
|
|
27
|
+
}>>;
|
|
28
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
export declare const webRemoteControlWorkspaceTargetsSchema: z.ZodArray<z.ZodObject<{
|
|
31
|
+
workspacePath: z.ZodString;
|
|
32
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
33
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
34
|
+
label: z.ZodString;
|
|
35
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
project: "project";
|
|
37
|
+
conversation: "conversation";
|
|
38
|
+
}>>;
|
|
39
|
+
kind: z.ZodEnum<{
|
|
40
|
+
local: "local";
|
|
41
|
+
remote: "remote";
|
|
42
|
+
}>;
|
|
43
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
connected: "connected";
|
|
45
|
+
disconnected: "disconnected";
|
|
46
|
+
reconnecting: "reconnecting";
|
|
47
|
+
}>>;
|
|
48
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
export declare const webRemoteControlReconnectWorkspaceRequestSchema: z.ZodObject<{
|
|
51
|
+
requestId: z.ZodString;
|
|
52
|
+
workspaceKey: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export declare const webRemoteControlReconnectWorkspaceResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
55
|
+
requestId: z.ZodString;
|
|
56
|
+
workspaceKey: z.ZodString;
|
|
57
|
+
success: z.ZodLiteral<true>;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
requestId: z.ZodString;
|
|
60
|
+
workspaceKey: z.ZodString;
|
|
61
|
+
success: z.ZodLiteral<false>;
|
|
62
|
+
error: z.ZodString;
|
|
63
|
+
}, z.core.$strip>]>;
|
|
64
|
+
export declare const webRemoteControlTaskTargetSchema: z.ZodObject<{
|
|
65
|
+
taskId: z.ZodString;
|
|
66
|
+
title: z.ZodString;
|
|
67
|
+
workspacePath: z.ZodString;
|
|
68
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
69
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
70
|
+
workspaceLabel: z.ZodString;
|
|
71
|
+
workspaceKind: z.ZodEnum<{
|
|
72
|
+
local: "local";
|
|
73
|
+
remote: "remote";
|
|
74
|
+
}>;
|
|
75
|
+
createdAt: z.ZodNumber;
|
|
76
|
+
updatedAt: z.ZodNumber;
|
|
77
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
78
|
+
glm: "glm";
|
|
79
|
+
}>>;
|
|
80
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
error: "error";
|
|
83
|
+
completed: "completed";
|
|
84
|
+
running: "running";
|
|
85
|
+
idle: "idle";
|
|
86
|
+
}>>;
|
|
87
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
90
|
+
runId: z.ZodString;
|
|
91
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
92
|
+
name: z.ZodOptional<z.ZodString>;
|
|
93
|
+
status: z.ZodEnum<{
|
|
94
|
+
completed: "completed";
|
|
95
|
+
pending: "pending";
|
|
96
|
+
running: "running";
|
|
97
|
+
errored: "errored";
|
|
98
|
+
stopped: "stopped";
|
|
99
|
+
}>;
|
|
100
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
101
|
+
user: "user";
|
|
102
|
+
model: "model";
|
|
103
|
+
provider: "provider";
|
|
104
|
+
interrupted: "interrupted";
|
|
105
|
+
superseded: "superseded";
|
|
106
|
+
}>>;
|
|
107
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
109
|
+
name: z.ZodString;
|
|
110
|
+
status: z.ZodEnum<{
|
|
111
|
+
failed: "failed";
|
|
112
|
+
pending: "pending";
|
|
113
|
+
running: "running";
|
|
114
|
+
done: "done";
|
|
115
|
+
}>;
|
|
116
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
117
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
waiting: "waiting";
|
|
119
|
+
open: "open";
|
|
120
|
+
}>>;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
123
|
+
agentsWorking: z.ZodNumber;
|
|
124
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
export declare const webRemoteControlTaskTargetsSchema: z.ZodArray<z.ZodObject<{
|
|
131
|
+
taskId: z.ZodString;
|
|
132
|
+
title: z.ZodString;
|
|
133
|
+
workspacePath: z.ZodString;
|
|
134
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
135
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
136
|
+
workspaceLabel: z.ZodString;
|
|
137
|
+
workspaceKind: z.ZodEnum<{
|
|
138
|
+
local: "local";
|
|
139
|
+
remote: "remote";
|
|
140
|
+
}>;
|
|
141
|
+
createdAt: z.ZodNumber;
|
|
142
|
+
updatedAt: z.ZodNumber;
|
|
143
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
glm: "glm";
|
|
145
|
+
}>>;
|
|
146
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
error: "error";
|
|
149
|
+
completed: "completed";
|
|
150
|
+
running: "running";
|
|
151
|
+
idle: "idle";
|
|
152
|
+
}>>;
|
|
153
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
156
|
+
runId: z.ZodString;
|
|
157
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
158
|
+
name: z.ZodOptional<z.ZodString>;
|
|
159
|
+
status: z.ZodEnum<{
|
|
160
|
+
completed: "completed";
|
|
161
|
+
pending: "pending";
|
|
162
|
+
running: "running";
|
|
163
|
+
errored: "errored";
|
|
164
|
+
stopped: "stopped";
|
|
165
|
+
}>;
|
|
166
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
167
|
+
user: "user";
|
|
168
|
+
model: "model";
|
|
169
|
+
provider: "provider";
|
|
170
|
+
interrupted: "interrupted";
|
|
171
|
+
superseded: "superseded";
|
|
172
|
+
}>>;
|
|
173
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
174
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
175
|
+
name: z.ZodString;
|
|
176
|
+
status: z.ZodEnum<{
|
|
177
|
+
failed: "failed";
|
|
178
|
+
pending: "pending";
|
|
179
|
+
running: "running";
|
|
180
|
+
done: "done";
|
|
181
|
+
}>;
|
|
182
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
183
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
184
|
+
waiting: "waiting";
|
|
185
|
+
open: "open";
|
|
186
|
+
}>>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
189
|
+
agentsWorking: z.ZodNumber;
|
|
190
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
193
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
export declare const webRemoteControlFailureReasonSchema: z.ZodEnum<{
|
|
197
|
+
"session-not-found": "session-not-found";
|
|
198
|
+
"session-expired": "session-expired";
|
|
199
|
+
"session-conflict": "session-conflict";
|
|
200
|
+
"workspace-closed": "workspace-closed";
|
|
201
|
+
"desktop-disconnected": "desktop-disconnected";
|
|
202
|
+
"invalid-mobile-connection": "invalid-mobile-connection";
|
|
203
|
+
"desktop-bootstrap-timeout": "desktop-bootstrap-timeout";
|
|
204
|
+
"connection-recovery-timeout": "connection-recovery-timeout";
|
|
205
|
+
"relay-unavailable": "relay-unavailable";
|
|
206
|
+
"unsupported-action": "unsupported-action";
|
|
207
|
+
"unexpected-error": "unexpected-error";
|
|
208
|
+
}>;
|
|
209
|
+
export declare const webRemoteControlExternalWorkspaceBridgeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
210
|
+
bridgeSessionId: z.ZodString;
|
|
211
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
212
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
213
|
+
kind: z.ZodLiteral<"local">;
|
|
214
|
+
workspaceKey: z.ZodString;
|
|
215
|
+
workspacePath: z.ZodString;
|
|
216
|
+
initialTaskId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
+
bridgeSessionId: z.ZodString;
|
|
219
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
221
|
+
kind: z.ZodLiteral<"remote">;
|
|
222
|
+
workspaceKey: z.ZodString;
|
|
223
|
+
workspacePath: z.ZodString;
|
|
224
|
+
workspaceIdentity: z.ZodString;
|
|
225
|
+
remoteSessionId: z.ZodString;
|
|
226
|
+
initialTaskId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
}, z.core.$strip>], "kind">;
|
|
228
|
+
export declare const webRemoteControlMobileViewStateSchema: z.ZodObject<{
|
|
229
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
230
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
231
|
+
updatedAt: z.ZodNumber;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
export declare const webRemoteControlMobileDeviceInfoSchema: z.ZodObject<{
|
|
234
|
+
platform: z.ZodString;
|
|
235
|
+
version: z.ZodString;
|
|
236
|
+
name: z.ZodString;
|
|
237
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
238
|
+
language: z.ZodOptional<z.ZodString>;
|
|
239
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
240
|
+
browserPlatform: z.ZodOptional<z.ZodString>;
|
|
241
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
width: z.ZodNumber;
|
|
243
|
+
height: z.ZodNumber;
|
|
244
|
+
devicePixelRatio: z.ZodNumber;
|
|
245
|
+
}, z.core.$strip>>;
|
|
246
|
+
screen: z.ZodOptional<z.ZodObject<{
|
|
247
|
+
width: z.ZodNumber;
|
|
248
|
+
height: z.ZodNumber;
|
|
249
|
+
}, z.core.$strip>>;
|
|
250
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
251
|
+
online: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
updatedAt: z.ZodNumber;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
export declare const webRemoteControlWindowBootstrapResultSchema: z.ZodObject<{
|
|
255
|
+
windowControlSessionId: z.ZodString;
|
|
256
|
+
desktopAppVersion: z.ZodOptional<z.ZodString>;
|
|
257
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
258
|
+
workspacePath: z.ZodString;
|
|
259
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
260
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
261
|
+
label: z.ZodString;
|
|
262
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
project: "project";
|
|
264
|
+
conversation: "conversation";
|
|
265
|
+
}>>;
|
|
266
|
+
kind: z.ZodEnum<{
|
|
267
|
+
local: "local";
|
|
268
|
+
remote: "remote";
|
|
269
|
+
}>;
|
|
270
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
271
|
+
connected: "connected";
|
|
272
|
+
disconnected: "disconnected";
|
|
273
|
+
reconnecting: "reconnecting";
|
|
274
|
+
}>>;
|
|
275
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
278
|
+
taskId: z.ZodString;
|
|
279
|
+
title: z.ZodString;
|
|
280
|
+
workspacePath: z.ZodString;
|
|
281
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
282
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
283
|
+
workspaceLabel: z.ZodString;
|
|
284
|
+
workspaceKind: z.ZodEnum<{
|
|
285
|
+
local: "local";
|
|
286
|
+
remote: "remote";
|
|
287
|
+
}>;
|
|
288
|
+
createdAt: z.ZodNumber;
|
|
289
|
+
updatedAt: z.ZodNumber;
|
|
290
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
291
|
+
glm: "glm";
|
|
292
|
+
}>>;
|
|
293
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
294
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
295
|
+
error: "error";
|
|
296
|
+
completed: "completed";
|
|
297
|
+
running: "running";
|
|
298
|
+
idle: "idle";
|
|
299
|
+
}>>;
|
|
300
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
303
|
+
runId: z.ZodString;
|
|
304
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
305
|
+
name: z.ZodOptional<z.ZodString>;
|
|
306
|
+
status: z.ZodEnum<{
|
|
307
|
+
completed: "completed";
|
|
308
|
+
pending: "pending";
|
|
309
|
+
running: "running";
|
|
310
|
+
errored: "errored";
|
|
311
|
+
stopped: "stopped";
|
|
312
|
+
}>;
|
|
313
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
user: "user";
|
|
315
|
+
model: "model";
|
|
316
|
+
provider: "provider";
|
|
317
|
+
interrupted: "interrupted";
|
|
318
|
+
superseded: "superseded";
|
|
319
|
+
}>>;
|
|
320
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
322
|
+
name: z.ZodString;
|
|
323
|
+
status: z.ZodEnum<{
|
|
324
|
+
failed: "failed";
|
|
325
|
+
pending: "pending";
|
|
326
|
+
running: "running";
|
|
327
|
+
done: "done";
|
|
328
|
+
}>;
|
|
329
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
330
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
waiting: "waiting";
|
|
332
|
+
open: "open";
|
|
333
|
+
}>>;
|
|
334
|
+
}, z.core.$strip>>;
|
|
335
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
336
|
+
agentsWorking: z.ZodNumber;
|
|
337
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
338
|
+
}, z.core.$strip>>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
341
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
initialViewState: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
345
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
346
|
+
updatedAt: z.ZodNumber;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
mobileViewState: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
350
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
351
|
+
updatedAt: z.ZodNumber;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
}, z.core.$strip>;
|
|
354
|
+
export declare const webRemoteControlWorkspaceListResultSchema: z.ZodObject<{
|
|
355
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
356
|
+
workspacePath: z.ZodString;
|
|
357
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
358
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
359
|
+
label: z.ZodString;
|
|
360
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
project: "project";
|
|
362
|
+
conversation: "conversation";
|
|
363
|
+
}>>;
|
|
364
|
+
kind: z.ZodEnum<{
|
|
365
|
+
local: "local";
|
|
366
|
+
remote: "remote";
|
|
367
|
+
}>;
|
|
368
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
369
|
+
connected: "connected";
|
|
370
|
+
disconnected: "disconnected";
|
|
371
|
+
reconnecting: "reconnecting";
|
|
372
|
+
}>>;
|
|
373
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
374
|
+
}, z.core.$strip>>;
|
|
375
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
376
|
+
taskId: z.ZodString;
|
|
377
|
+
title: z.ZodString;
|
|
378
|
+
workspacePath: z.ZodString;
|
|
379
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
380
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
381
|
+
workspaceLabel: z.ZodString;
|
|
382
|
+
workspaceKind: z.ZodEnum<{
|
|
383
|
+
local: "local";
|
|
384
|
+
remote: "remote";
|
|
385
|
+
}>;
|
|
386
|
+
createdAt: z.ZodNumber;
|
|
387
|
+
updatedAt: z.ZodNumber;
|
|
388
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
389
|
+
glm: "glm";
|
|
390
|
+
}>>;
|
|
391
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
393
|
+
error: "error";
|
|
394
|
+
completed: "completed";
|
|
395
|
+
running: "running";
|
|
396
|
+
idle: "idle";
|
|
397
|
+
}>>;
|
|
398
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
399
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
401
|
+
runId: z.ZodString;
|
|
402
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
403
|
+
name: z.ZodOptional<z.ZodString>;
|
|
404
|
+
status: z.ZodEnum<{
|
|
405
|
+
completed: "completed";
|
|
406
|
+
pending: "pending";
|
|
407
|
+
running: "running";
|
|
408
|
+
errored: "errored";
|
|
409
|
+
stopped: "stopped";
|
|
410
|
+
}>;
|
|
411
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
412
|
+
user: "user";
|
|
413
|
+
model: "model";
|
|
414
|
+
provider: "provider";
|
|
415
|
+
interrupted: "interrupted";
|
|
416
|
+
superseded: "superseded";
|
|
417
|
+
}>>;
|
|
418
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
419
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
420
|
+
name: z.ZodString;
|
|
421
|
+
status: z.ZodEnum<{
|
|
422
|
+
failed: "failed";
|
|
423
|
+
pending: "pending";
|
|
424
|
+
running: "running";
|
|
425
|
+
done: "done";
|
|
426
|
+
}>;
|
|
427
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
428
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
429
|
+
waiting: "waiting";
|
|
430
|
+
open: "open";
|
|
431
|
+
}>>;
|
|
432
|
+
}, z.core.$strip>>;
|
|
433
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
434
|
+
agentsWorking: z.ZodNumber;
|
|
435
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
437
|
+
}, z.core.$strip>>;
|
|
438
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
}, z.core.$strip>>>;
|
|
441
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
442
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
443
|
+
}, z.core.$strip>;
|
|
444
|
+
export declare const webRemoteControlPlatformMethodSchema: z.ZodEnum<{
|
|
445
|
+
isDockerAvailable: "isDockerAvailable";
|
|
446
|
+
listWSLDistros: "listWSLDistros";
|
|
447
|
+
listDockerContainers: "listDockerContainers";
|
|
448
|
+
listSSHConfigAliases: "listSSHConfigAliases";
|
|
449
|
+
loadMcpFromUserDirectory: "loadMcpFromUserDirectory";
|
|
450
|
+
saveMcpToUserDirectory: "saveMcpToUserDirectory";
|
|
451
|
+
migrateLegacyCommonMcp: "migrateLegacyCommonMcp";
|
|
452
|
+
}>;
|
|
453
|
+
export declare const webRemoteControlAppPayloadSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
454
|
+
dcode_type: z.ZodLiteral<"telemetry-report">;
|
|
455
|
+
event: z.ZodObject<{
|
|
456
|
+
elementName: z.ZodLiteral<"session_create">;
|
|
457
|
+
eventRegion: z.ZodLiteral<"app">;
|
|
458
|
+
eventType: z.ZodLiteral<"result">;
|
|
459
|
+
talkId: z.ZodString;
|
|
460
|
+
messageId: z.ZodString;
|
|
461
|
+
context: z.ZodObject<{
|
|
462
|
+
clientTimezone: z.ZodString;
|
|
463
|
+
clientLanguage: z.ZodString;
|
|
464
|
+
screenResolution: z.ZodString;
|
|
465
|
+
}, z.core.$strict>;
|
|
466
|
+
eventExtraDetail: z.ZodObject<{
|
|
467
|
+
create_source: z.ZodEnum<{
|
|
468
|
+
session: "session";
|
|
469
|
+
group: "group";
|
|
470
|
+
project: "project";
|
|
471
|
+
}>;
|
|
472
|
+
client_kind: z.ZodLiteral<"mobile">;
|
|
473
|
+
workspace_kind: z.ZodEnum<{
|
|
474
|
+
local: "local";
|
|
475
|
+
remote: "remote";
|
|
476
|
+
}>;
|
|
477
|
+
remote_kind: z.ZodEnum<{
|
|
478
|
+
"": "";
|
|
479
|
+
server: "server";
|
|
480
|
+
ssh: "ssh";
|
|
481
|
+
wsl: "wsl";
|
|
482
|
+
docker: "docker";
|
|
483
|
+
}>;
|
|
484
|
+
}, z.core.$strict>;
|
|
485
|
+
}, z.core.$strict>;
|
|
486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
487
|
+
dcode_type: z.ZodLiteral<"bootstrap-request">;
|
|
488
|
+
requestId: z.ZodString;
|
|
489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
490
|
+
dcode_type: z.ZodLiteral<"bootstrap-response">;
|
|
491
|
+
requestId: z.ZodString;
|
|
492
|
+
success: z.ZodLiteral<true>;
|
|
493
|
+
result: z.ZodObject<{
|
|
494
|
+
windowControlSessionId: z.ZodString;
|
|
495
|
+
desktopAppVersion: z.ZodOptional<z.ZodString>;
|
|
496
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
497
|
+
workspacePath: z.ZodString;
|
|
498
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
499
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
500
|
+
label: z.ZodString;
|
|
501
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
502
|
+
project: "project";
|
|
503
|
+
conversation: "conversation";
|
|
504
|
+
}>>;
|
|
505
|
+
kind: z.ZodEnum<{
|
|
506
|
+
local: "local";
|
|
507
|
+
remote: "remote";
|
|
508
|
+
}>;
|
|
509
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
510
|
+
connected: "connected";
|
|
511
|
+
disconnected: "disconnected";
|
|
512
|
+
reconnecting: "reconnecting";
|
|
513
|
+
}>>;
|
|
514
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, z.core.$strip>>;
|
|
516
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
517
|
+
taskId: z.ZodString;
|
|
518
|
+
title: z.ZodString;
|
|
519
|
+
workspacePath: z.ZodString;
|
|
520
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
521
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
522
|
+
workspaceLabel: z.ZodString;
|
|
523
|
+
workspaceKind: z.ZodEnum<{
|
|
524
|
+
local: "local";
|
|
525
|
+
remote: "remote";
|
|
526
|
+
}>;
|
|
527
|
+
createdAt: z.ZodNumber;
|
|
528
|
+
updatedAt: z.ZodNumber;
|
|
529
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
530
|
+
glm: "glm";
|
|
531
|
+
}>>;
|
|
532
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
533
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
534
|
+
error: "error";
|
|
535
|
+
completed: "completed";
|
|
536
|
+
running: "running";
|
|
537
|
+
idle: "idle";
|
|
538
|
+
}>>;
|
|
539
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
541
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
542
|
+
runId: z.ZodString;
|
|
543
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
544
|
+
name: z.ZodOptional<z.ZodString>;
|
|
545
|
+
status: z.ZodEnum<{
|
|
546
|
+
completed: "completed";
|
|
547
|
+
pending: "pending";
|
|
548
|
+
running: "running";
|
|
549
|
+
errored: "errored";
|
|
550
|
+
stopped: "stopped";
|
|
551
|
+
}>;
|
|
552
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
553
|
+
user: "user";
|
|
554
|
+
model: "model";
|
|
555
|
+
provider: "provider";
|
|
556
|
+
interrupted: "interrupted";
|
|
557
|
+
superseded: "superseded";
|
|
558
|
+
}>>;
|
|
559
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
561
|
+
name: z.ZodString;
|
|
562
|
+
status: z.ZodEnum<{
|
|
563
|
+
failed: "failed";
|
|
564
|
+
pending: "pending";
|
|
565
|
+
running: "running";
|
|
566
|
+
done: "done";
|
|
567
|
+
}>;
|
|
568
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
569
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
570
|
+
waiting: "waiting";
|
|
571
|
+
open: "open";
|
|
572
|
+
}>>;
|
|
573
|
+
}, z.core.$strip>>;
|
|
574
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
575
|
+
agentsWorking: z.ZodNumber;
|
|
576
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
580
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
+
}, z.core.$strip>>;
|
|
582
|
+
initialViewState: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
584
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
585
|
+
updatedAt: z.ZodNumber;
|
|
586
|
+
}, z.core.$strip>>;
|
|
587
|
+
mobileViewState: z.ZodOptional<z.ZodObject<{
|
|
588
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
589
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
590
|
+
updatedAt: z.ZodNumber;
|
|
591
|
+
}, z.core.$strip>>;
|
|
592
|
+
}, z.core.$strip>;
|
|
593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
594
|
+
dcode_type: z.ZodLiteral<"workspace-list-request">;
|
|
595
|
+
requestId: z.ZodString;
|
|
596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
597
|
+
dcode_type: z.ZodLiteral<"workspace-list-response">;
|
|
598
|
+
requestId: z.ZodString;
|
|
599
|
+
success: z.ZodLiteral<true>;
|
|
600
|
+
result: z.ZodObject<{
|
|
601
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
602
|
+
workspacePath: z.ZodString;
|
|
603
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
604
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
605
|
+
label: z.ZodString;
|
|
606
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
607
|
+
project: "project";
|
|
608
|
+
conversation: "conversation";
|
|
609
|
+
}>>;
|
|
610
|
+
kind: z.ZodEnum<{
|
|
611
|
+
local: "local";
|
|
612
|
+
remote: "remote";
|
|
613
|
+
}>;
|
|
614
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
615
|
+
connected: "connected";
|
|
616
|
+
disconnected: "disconnected";
|
|
617
|
+
reconnecting: "reconnecting";
|
|
618
|
+
}>>;
|
|
619
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
620
|
+
}, z.core.$strip>>;
|
|
621
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
622
|
+
taskId: z.ZodString;
|
|
623
|
+
title: z.ZodString;
|
|
624
|
+
workspacePath: z.ZodString;
|
|
625
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
626
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
627
|
+
workspaceLabel: z.ZodString;
|
|
628
|
+
workspaceKind: z.ZodEnum<{
|
|
629
|
+
local: "local";
|
|
630
|
+
remote: "remote";
|
|
631
|
+
}>;
|
|
632
|
+
createdAt: z.ZodNumber;
|
|
633
|
+
updatedAt: z.ZodNumber;
|
|
634
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
635
|
+
glm: "glm";
|
|
636
|
+
}>>;
|
|
637
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
638
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
639
|
+
error: "error";
|
|
640
|
+
completed: "completed";
|
|
641
|
+
running: "running";
|
|
642
|
+
idle: "idle";
|
|
643
|
+
}>>;
|
|
644
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
645
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
646
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
647
|
+
runId: z.ZodString;
|
|
648
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
649
|
+
name: z.ZodOptional<z.ZodString>;
|
|
650
|
+
status: z.ZodEnum<{
|
|
651
|
+
completed: "completed";
|
|
652
|
+
pending: "pending";
|
|
653
|
+
running: "running";
|
|
654
|
+
errored: "errored";
|
|
655
|
+
stopped: "stopped";
|
|
656
|
+
}>;
|
|
657
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
658
|
+
user: "user";
|
|
659
|
+
model: "model";
|
|
660
|
+
provider: "provider";
|
|
661
|
+
interrupted: "interrupted";
|
|
662
|
+
superseded: "superseded";
|
|
663
|
+
}>>;
|
|
664
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
665
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
666
|
+
name: z.ZodString;
|
|
667
|
+
status: z.ZodEnum<{
|
|
668
|
+
failed: "failed";
|
|
669
|
+
pending: "pending";
|
|
670
|
+
running: "running";
|
|
671
|
+
done: "done";
|
|
672
|
+
}>;
|
|
673
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
674
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
675
|
+
waiting: "waiting";
|
|
676
|
+
open: "open";
|
|
677
|
+
}>>;
|
|
678
|
+
}, z.core.$strip>>;
|
|
679
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
680
|
+
agentsWorking: z.ZodNumber;
|
|
681
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strip>>;
|
|
683
|
+
}, z.core.$strip>>;
|
|
684
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
685
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
}, z.core.$strip>>>;
|
|
687
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
688
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$strip>;
|
|
690
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
691
|
+
dcode_type: z.ZodLiteral<"workspace-list-updated">;
|
|
692
|
+
result: z.ZodObject<{
|
|
693
|
+
workspaces: z.ZodArray<z.ZodObject<{
|
|
694
|
+
workspacePath: z.ZodString;
|
|
695
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
696
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
697
|
+
label: z.ZodString;
|
|
698
|
+
workspacePurpose: z.ZodOptional<z.ZodEnum<{
|
|
699
|
+
project: "project";
|
|
700
|
+
conversation: "conversation";
|
|
701
|
+
}>>;
|
|
702
|
+
kind: z.ZodEnum<{
|
|
703
|
+
local: "local";
|
|
704
|
+
remote: "remote";
|
|
705
|
+
}>;
|
|
706
|
+
connectionState: z.ZodOptional<z.ZodEnum<{
|
|
707
|
+
connected: "connected";
|
|
708
|
+
disconnected: "disconnected";
|
|
709
|
+
reconnecting: "reconnecting";
|
|
710
|
+
}>>;
|
|
711
|
+
lastConnectionError: z.ZodOptional<z.ZodString>;
|
|
712
|
+
}, z.core.$strip>>;
|
|
713
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
714
|
+
taskId: z.ZodString;
|
|
715
|
+
title: z.ZodString;
|
|
716
|
+
workspacePath: z.ZodString;
|
|
717
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
718
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
719
|
+
workspaceLabel: z.ZodString;
|
|
720
|
+
workspaceKind: z.ZodEnum<{
|
|
721
|
+
local: "local";
|
|
722
|
+
remote: "remote";
|
|
723
|
+
}>;
|
|
724
|
+
createdAt: z.ZodNumber;
|
|
725
|
+
updatedAt: z.ZodNumber;
|
|
726
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
727
|
+
glm: "glm";
|
|
728
|
+
}>>;
|
|
729
|
+
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
730
|
+
displayStatus: z.ZodOptional<z.ZodEnum<{
|
|
731
|
+
error: "error";
|
|
732
|
+
completed: "completed";
|
|
733
|
+
running: "running";
|
|
734
|
+
idle: "idle";
|
|
735
|
+
}>>;
|
|
736
|
+
hasBackgroundWork: z.ZodOptional<z.ZodBoolean>;
|
|
737
|
+
workflowActivity: z.ZodOptional<z.ZodObject<{
|
|
738
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
739
|
+
runId: z.ZodString;
|
|
740
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
741
|
+
name: z.ZodOptional<z.ZodString>;
|
|
742
|
+
status: z.ZodEnum<{
|
|
743
|
+
completed: "completed";
|
|
744
|
+
pending: "pending";
|
|
745
|
+
running: "running";
|
|
746
|
+
errored: "errored";
|
|
747
|
+
stopped: "stopped";
|
|
748
|
+
}>;
|
|
749
|
+
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
750
|
+
user: "user";
|
|
751
|
+
model: "model";
|
|
752
|
+
provider: "provider";
|
|
753
|
+
interrupted: "interrupted";
|
|
754
|
+
superseded: "superseded";
|
|
755
|
+
}>>;
|
|
756
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
757
|
+
phases: z.ZodArray<z.ZodObject<{
|
|
758
|
+
name: z.ZodString;
|
|
759
|
+
status: z.ZodEnum<{
|
|
760
|
+
failed: "failed";
|
|
761
|
+
pending: "pending";
|
|
762
|
+
running: "running";
|
|
763
|
+
done: "done";
|
|
764
|
+
}>;
|
|
765
|
+
alongside: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
766
|
+
hole: z.ZodOptional<z.ZodEnum<{
|
|
767
|
+
waiting: "waiting";
|
|
768
|
+
open: "open";
|
|
769
|
+
}>>;
|
|
770
|
+
}, z.core.$strip>>;
|
|
771
|
+
currentPhase: z.ZodOptional<z.ZodString>;
|
|
772
|
+
agentsWorking: z.ZodNumber;
|
|
773
|
+
waitingHole: z.ZodOptional<z.ZodString>;
|
|
774
|
+
}, z.core.$strip>>;
|
|
775
|
+
}, z.core.$strip>>;
|
|
776
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
+
}, z.core.$strip>>>;
|
|
779
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
780
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
781
|
+
}, z.core.$strip>;
|
|
782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
783
|
+
dcode_type: z.ZodLiteral<"workspace-bridge-open">;
|
|
784
|
+
requestId: z.ZodString;
|
|
785
|
+
bridgeSessionId: z.ZodString;
|
|
786
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
787
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
788
|
+
workspaceKey: z.ZodString;
|
|
789
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
791
|
+
dcode_type: z.ZodLiteral<"workspace-bridge-ready">;
|
|
792
|
+
requestId: z.ZodString;
|
|
793
|
+
bridgeSessionId: z.ZodString;
|
|
794
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
795
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
796
|
+
bridge: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
797
|
+
bridgeSessionId: z.ZodString;
|
|
798
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
799
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
800
|
+
kind: z.ZodLiteral<"local">;
|
|
801
|
+
workspaceKey: z.ZodString;
|
|
802
|
+
workspacePath: z.ZodString;
|
|
803
|
+
initialTaskId: z.ZodOptional<z.ZodString>;
|
|
804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
805
|
+
bridgeSessionId: z.ZodString;
|
|
806
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
807
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
808
|
+
kind: z.ZodLiteral<"remote">;
|
|
809
|
+
workspaceKey: z.ZodString;
|
|
810
|
+
workspacePath: z.ZodString;
|
|
811
|
+
workspaceIdentity: z.ZodString;
|
|
812
|
+
remoteSessionId: z.ZodString;
|
|
813
|
+
initialTaskId: z.ZodOptional<z.ZodString>;
|
|
814
|
+
}, z.core.$strip>], "kind">;
|
|
815
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
816
|
+
dcode_type: z.ZodLiteral<"workspace-bridge-error">;
|
|
817
|
+
requestId: z.ZodString;
|
|
818
|
+
bridgeSessionId: z.ZodOptional<z.ZodString>;
|
|
819
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
820
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
821
|
+
reason: z.ZodEnum<{
|
|
822
|
+
"session-not-found": "session-not-found";
|
|
823
|
+
"session-expired": "session-expired";
|
|
824
|
+
"session-conflict": "session-conflict";
|
|
825
|
+
"workspace-closed": "workspace-closed";
|
|
826
|
+
"desktop-disconnected": "desktop-disconnected";
|
|
827
|
+
"invalid-mobile-connection": "invalid-mobile-connection";
|
|
828
|
+
"desktop-bootstrap-timeout": "desktop-bootstrap-timeout";
|
|
829
|
+
"connection-recovery-timeout": "connection-recovery-timeout";
|
|
830
|
+
"relay-unavailable": "relay-unavailable";
|
|
831
|
+
"unsupported-action": "unsupported-action";
|
|
832
|
+
"unexpected-error": "unexpected-error";
|
|
833
|
+
}>;
|
|
834
|
+
error: z.ZodString;
|
|
835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
836
|
+
dcode_type: z.ZodLiteral<"workspace-reconnect-request">;
|
|
837
|
+
requestId: z.ZodString;
|
|
838
|
+
workspaceKey: z.ZodString;
|
|
839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
840
|
+
dcode_type: z.ZodLiteral<"workspace-reconnect-response">;
|
|
841
|
+
requestId: z.ZodString;
|
|
842
|
+
workspaceKey: z.ZodString;
|
|
843
|
+
success: z.ZodLiteral<true>;
|
|
844
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
845
|
+
dcode_type: z.ZodLiteral<"workspace-reconnect-response">;
|
|
846
|
+
requestId: z.ZodString;
|
|
847
|
+
workspaceKey: z.ZodString;
|
|
848
|
+
success: z.ZodLiteral<false>;
|
|
849
|
+
error: z.ZodString;
|
|
850
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
851
|
+
dcode_type: z.ZodLiteral<"mobile-view-state-update">;
|
|
852
|
+
viewState: z.ZodObject<{
|
|
853
|
+
activeWorkspaceKey: z.ZodOptional<z.ZodString>;
|
|
854
|
+
activeTaskId: z.ZodOptional<z.ZodString>;
|
|
855
|
+
updatedAt: z.ZodNumber;
|
|
856
|
+
}, z.core.$strip>;
|
|
857
|
+
deviceInfo: z.ZodOptional<z.ZodObject<{
|
|
858
|
+
platform: z.ZodString;
|
|
859
|
+
version: z.ZodString;
|
|
860
|
+
name: z.ZodString;
|
|
861
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
862
|
+
language: z.ZodOptional<z.ZodString>;
|
|
863
|
+
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
864
|
+
browserPlatform: z.ZodOptional<z.ZodString>;
|
|
865
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
866
|
+
width: z.ZodNumber;
|
|
867
|
+
height: z.ZodNumber;
|
|
868
|
+
devicePixelRatio: z.ZodNumber;
|
|
869
|
+
}, z.core.$strip>>;
|
|
870
|
+
screen: z.ZodOptional<z.ZodObject<{
|
|
871
|
+
width: z.ZodNumber;
|
|
872
|
+
height: z.ZodNumber;
|
|
873
|
+
}, z.core.$strip>>;
|
|
874
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
875
|
+
online: z.ZodOptional<z.ZodBoolean>;
|
|
876
|
+
updatedAt: z.ZodNumber;
|
|
877
|
+
}, z.core.$strip>>;
|
|
878
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
879
|
+
dcode_type: z.ZodLiteral<"platform-request">;
|
|
880
|
+
requestId: z.ZodString;
|
|
881
|
+
method: z.ZodEnum<{
|
|
882
|
+
isDockerAvailable: "isDockerAvailable";
|
|
883
|
+
listWSLDistros: "listWSLDistros";
|
|
884
|
+
listDockerContainers: "listDockerContainers";
|
|
885
|
+
listSSHConfigAliases: "listSSHConfigAliases";
|
|
886
|
+
loadMcpFromUserDirectory: "loadMcpFromUserDirectory";
|
|
887
|
+
saveMcpToUserDirectory: "saveMcpToUserDirectory";
|
|
888
|
+
migrateLegacyCommonMcp: "migrateLegacyCommonMcp";
|
|
889
|
+
}>;
|
|
890
|
+
args: z.ZodOptional<z.ZodUnknown>;
|
|
891
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
892
|
+
dcode_type: z.ZodLiteral<"platform-response">;
|
|
893
|
+
requestId: z.ZodString;
|
|
894
|
+
method: z.ZodEnum<{
|
|
895
|
+
isDockerAvailable: "isDockerAvailable";
|
|
896
|
+
listWSLDistros: "listWSLDistros";
|
|
897
|
+
listDockerContainers: "listDockerContainers";
|
|
898
|
+
listSSHConfigAliases: "listSSHConfigAliases";
|
|
899
|
+
loadMcpFromUserDirectory: "loadMcpFromUserDirectory";
|
|
900
|
+
saveMcpToUserDirectory: "saveMcpToUserDirectory";
|
|
901
|
+
migrateLegacyCommonMcp: "migrateLegacyCommonMcp";
|
|
902
|
+
}>;
|
|
903
|
+
success: z.ZodLiteral<true>;
|
|
904
|
+
result: z.ZodUnknown;
|
|
905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
906
|
+
dcode_type: z.ZodLiteral<"platform-response">;
|
|
907
|
+
requestId: z.ZodString;
|
|
908
|
+
method: z.ZodEnum<{
|
|
909
|
+
isDockerAvailable: "isDockerAvailable";
|
|
910
|
+
listWSLDistros: "listWSLDistros";
|
|
911
|
+
listDockerContainers: "listDockerContainers";
|
|
912
|
+
listSSHConfigAliases: "listSSHConfigAliases";
|
|
913
|
+
loadMcpFromUserDirectory: "loadMcpFromUserDirectory";
|
|
914
|
+
saveMcpToUserDirectory: "saveMcpToUserDirectory";
|
|
915
|
+
migrateLegacyCommonMcp: "migrateLegacyCommonMcp";
|
|
916
|
+
}>;
|
|
917
|
+
success: z.ZodLiteral<false>;
|
|
918
|
+
error: z.ZodString;
|
|
919
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
920
|
+
dcode_type: z.ZodLiteral<"rpc-frame">;
|
|
921
|
+
bridgeSessionId: z.ZodString;
|
|
922
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
924
|
+
seq: z.ZodNumber;
|
|
925
|
+
messageSeq: z.ZodNumber;
|
|
926
|
+
fragmentIndex: z.ZodNumber;
|
|
927
|
+
fragmentCount: z.ZodNumber;
|
|
928
|
+
messageBytes: z.ZodNumber;
|
|
929
|
+
checksum: z.ZodObject<{
|
|
930
|
+
algorithm: z.ZodLiteral<"crc32">;
|
|
931
|
+
value: z.ZodString;
|
|
932
|
+
}, z.core.$strict>;
|
|
933
|
+
dataBase64: z.ZodString;
|
|
934
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
935
|
+
dcode_type: z.ZodLiteral<"rpc-frame-ack">;
|
|
936
|
+
bridgeSessionId: z.ZodString;
|
|
937
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
938
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
939
|
+
ackMessageSeq: z.ZodNumber;
|
|
940
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
941
|
+
dcode_type: z.ZodLiteral<"bridge-degraded">;
|
|
942
|
+
bridgeSessionId: z.ZodString;
|
|
943
|
+
bridgeGeneration: z.ZodOptional<z.ZodNumber>;
|
|
944
|
+
recoveryId: z.ZodOptional<z.ZodString>;
|
|
945
|
+
reason: z.ZodEnum<{
|
|
946
|
+
"rpc-transport-fault": "rpc-transport-fault";
|
|
947
|
+
"rpc-frame-gap": "rpc-frame-gap";
|
|
948
|
+
"buffer-overflow": "buffer-overflow";
|
|
949
|
+
"buffer-timeout": "buffer-timeout";
|
|
950
|
+
}>;
|
|
951
|
+
seq: z.ZodOptional<z.ZodNumber>;
|
|
952
|
+
expectedSeq: z.ZodOptional<z.ZodNumber>;
|
|
953
|
+
droppedCount: z.ZodOptional<z.ZodNumber>;
|
|
954
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
955
|
+
dcode_type: z.ZodLiteral<"app-error">;
|
|
956
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
957
|
+
bridgeSessionId: z.ZodOptional<z.ZodString>;
|
|
958
|
+
reason: z.ZodEnum<{
|
|
959
|
+
"session-not-found": "session-not-found";
|
|
960
|
+
"session-expired": "session-expired";
|
|
961
|
+
"session-conflict": "session-conflict";
|
|
962
|
+
"workspace-closed": "workspace-closed";
|
|
963
|
+
"desktop-disconnected": "desktop-disconnected";
|
|
964
|
+
"invalid-mobile-connection": "invalid-mobile-connection";
|
|
965
|
+
"desktop-bootstrap-timeout": "desktop-bootstrap-timeout";
|
|
966
|
+
"connection-recovery-timeout": "connection-recovery-timeout";
|
|
967
|
+
"relay-unavailable": "relay-unavailable";
|
|
968
|
+
"unsupported-action": "unsupported-action";
|
|
969
|
+
"unexpected-error": "unexpected-error";
|
|
970
|
+
}>;
|
|
971
|
+
error: z.ZodString;
|
|
972
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
973
|
+
dcode_type: z.ZodLiteral<"mobile-diagnostic">;
|
|
974
|
+
event: z.ZodEnum<{
|
|
975
|
+
"state-transition": "state-transition";
|
|
976
|
+
"socket-close": "socket-close";
|
|
977
|
+
"socket-error": "socket-error";
|
|
978
|
+
"recover-start": "recover-start";
|
|
979
|
+
"recover-scheduled": "recover-scheduled";
|
|
980
|
+
"pair-status": "pair-status";
|
|
981
|
+
failure: "failure";
|
|
982
|
+
}>;
|
|
983
|
+
timestamp: z.ZodNumber;
|
|
984
|
+
state: z.ZodOptional<z.ZodString>;
|
|
985
|
+
previousState: z.ZodOptional<z.ZodString>;
|
|
986
|
+
pairStatus: z.ZodOptional<z.ZodEnum<{
|
|
987
|
+
waiting: "waiting";
|
|
988
|
+
matched: "matched";
|
|
989
|
+
}>>;
|
|
990
|
+
closeCode: z.ZodOptional<z.ZodNumber>;
|
|
991
|
+
closeReason: z.ZodOptional<z.ZodString>;
|
|
992
|
+
wasClean: z.ZodOptional<z.ZodBoolean>;
|
|
993
|
+
wasPaired: z.ZodOptional<z.ZodBoolean>;
|
|
994
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
995
|
+
"session-not-found": "session-not-found";
|
|
996
|
+
"session-expired": "session-expired";
|
|
997
|
+
"session-conflict": "session-conflict";
|
|
998
|
+
"workspace-closed": "workspace-closed";
|
|
999
|
+
"desktop-disconnected": "desktop-disconnected";
|
|
1000
|
+
"invalid-mobile-connection": "invalid-mobile-connection";
|
|
1001
|
+
"desktop-bootstrap-timeout": "desktop-bootstrap-timeout";
|
|
1002
|
+
"connection-recovery-timeout": "connection-recovery-timeout";
|
|
1003
|
+
"relay-unavailable": "relay-unavailable";
|
|
1004
|
+
"unsupported-action": "unsupported-action";
|
|
1005
|
+
"unexpected-error": "unexpected-error";
|
|
1006
|
+
}>>;
|
|
1007
|
+
failureMessage: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
visibilityState: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
online: z.ZodOptional<z.ZodBoolean>;
|
|
1010
|
+
hiddenDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1011
|
+
}, z.core.$strip>]>;
|
|
1012
|
+
export declare function parseWebRemoteControlAppPayload(payload: unknown): WebRemoteControlAppPayload | null;
|
|
9
1013
|
export declare const credentialRecordSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
10
1014
|
export declare const credentialKeySchema: z.ZodString;
|
|
11
1015
|
export declare const credentialValueSchema: z.ZodString;
|
|
@@ -35,6 +1039,14 @@ export declare const dockerConnectOptionsSchema: z.ZodObject<{
|
|
|
35
1039
|
kind: z.ZodLiteral<"docker">;
|
|
36
1040
|
container: z.ZodString;
|
|
37
1041
|
}, z.core.$strip>;
|
|
1042
|
+
export declare const serverConnectOptionsSchema: z.ZodObject<{
|
|
1043
|
+
kind: z.ZodLiteral<"server">;
|
|
1044
|
+
url: z.ZodString;
|
|
1045
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
}, z.core.$strip>;
|
|
38
1050
|
export declare const remoteTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39
1051
|
kind: z.ZodLiteral<"ssh">;
|
|
40
1052
|
host: z.ZodString;
|
|
@@ -58,6 +1070,13 @@ export declare const remoteTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
58
1070
|
}, z.core.$strip>, z.ZodObject<{
|
|
59
1071
|
kind: z.ZodLiteral<"docker">;
|
|
60
1072
|
container: z.ZodString;
|
|
1073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1074
|
+
kind: z.ZodLiteral<"server">;
|
|
1075
|
+
url: z.ZodString;
|
|
1076
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
61
1080
|
}, z.core.$strip>], "kind">;
|
|
62
1081
|
export declare const helloMessageSchema: z.ZodObject<{
|
|
63
1082
|
type: z.ZodLiteral<"dcode-hello">;
|
|
@@ -82,8 +1101,8 @@ export declare const rendererLogPayloadSchema: z.ZodObject<{
|
|
|
82
1101
|
export declare const taskNotificationPayloadSchema: z.ZodObject<{
|
|
83
1102
|
taskId: z.ZodString;
|
|
84
1103
|
status: z.ZodEnum<{
|
|
85
|
-
completed: "completed";
|
|
86
1104
|
failed: "failed";
|
|
1105
|
+
completed: "completed";
|
|
87
1106
|
permission_request: "permission_request";
|
|
88
1107
|
elicitation_request: "elicitation_request";
|
|
89
1108
|
feedback_update: "feedback_update";
|
|
@@ -174,6 +1193,13 @@ export declare const windowHostRemoteWorkspaceDescriptorSchema: z.ZodObject<{
|
|
|
174
1193
|
}, z.core.$strip>, z.ZodObject<{
|
|
175
1194
|
kind: z.ZodLiteral<"docker">;
|
|
176
1195
|
container: z.ZodString;
|
|
1196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1197
|
+
kind: z.ZodLiteral<"server">;
|
|
1198
|
+
url: z.ZodString;
|
|
1199
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
177
1203
|
}, z.core.$strip>], "kind">;
|
|
178
1204
|
workspacePath: z.ZodOptional<z.ZodString>;
|
|
179
1205
|
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
@@ -215,6 +1241,13 @@ export declare const hostConnectRemoteWorkspaceMessageSchema: z.ZodObject<{
|
|
|
215
1241
|
}, z.core.$strip>, z.ZodObject<{
|
|
216
1242
|
kind: z.ZodLiteral<"docker">;
|
|
217
1243
|
container: z.ZodString;
|
|
1244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1245
|
+
kind: z.ZodLiteral<"server">;
|
|
1246
|
+
url: z.ZodString;
|
|
1247
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
token: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
218
1251
|
}, z.core.$strip>], "kind">;
|
|
219
1252
|
remoteAssets: z.ZodObject<{
|
|
220
1253
|
mockCdnDir: z.ZodOptional<z.ZodString>;
|
|
@@ -363,25 +1396,36 @@ export declare const hostTaskRealtimeDeliverMessageSchema: z.ZodObject<{
|
|
|
363
1396
|
createdAt: z.ZodNumber;
|
|
364
1397
|
updatedAt: z.ZodNumber;
|
|
365
1398
|
mode: z.ZodEnum<{
|
|
366
|
-
|
|
1399
|
+
default: "default";
|
|
1400
|
+
auto: "auto";
|
|
367
1401
|
plan: "plan";
|
|
1402
|
+
build: "build";
|
|
368
1403
|
edit: "edit";
|
|
369
|
-
|
|
1404
|
+
yolo: "yolo";
|
|
1405
|
+
guarded: "guarded";
|
|
1406
|
+
acceptEdits: "acceptEdits";
|
|
1407
|
+
dontAsk: "dontAsk";
|
|
1408
|
+
bypassPermissions: "bypassPermissions";
|
|
370
1409
|
autoEdit: "autoEdit";
|
|
371
|
-
build: "build";
|
|
372
1410
|
}>;
|
|
373
1411
|
model: z.ZodOptional<z.ZodString>;
|
|
374
1412
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
375
|
-
provider: z.ZodOptional<z.
|
|
1413
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
1414
|
+
glm: "glm";
|
|
1415
|
+
claude: "claude";
|
|
1416
|
+
opencode: "opencode";
|
|
1417
|
+
gemini: "gemini";
|
|
1418
|
+
codex: "codex";
|
|
1419
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
376
1420
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
377
1421
|
claudeCode: "claudeCode";
|
|
378
1422
|
}>>;
|
|
379
1423
|
forkedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
380
1424
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
381
1425
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1426
|
+
error: "error";
|
|
382
1427
|
completed: "completed";
|
|
383
1428
|
running: "running";
|
|
384
|
-
error: "error";
|
|
385
1429
|
}>>;
|
|
386
1430
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
387
1431
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -398,21 +1442,21 @@ export declare const hostTaskRealtimeDeliverMessageSchema: z.ZodObject<{
|
|
|
398
1442
|
reason: z.ZodOptional<z.ZodString>;
|
|
399
1443
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
400
1444
|
response: "response";
|
|
1445
|
+
connect: "connect";
|
|
401
1446
|
prepare: "prepare";
|
|
402
1447
|
configuration: "configuration";
|
|
403
|
-
connect: "connect";
|
|
404
1448
|
stream: "stream";
|
|
405
1449
|
parse: "parse";
|
|
406
1450
|
validation: "validation";
|
|
407
1451
|
unhandled: "unhandled";
|
|
408
1452
|
}>>;
|
|
409
1453
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
1454
|
+
transport: "transport";
|
|
410
1455
|
validation: "validation";
|
|
411
1456
|
api_call: "api_call";
|
|
412
1457
|
generic: "generic";
|
|
413
1458
|
protocol: "protocol";
|
|
414
1459
|
provider_business: "provider_business";
|
|
415
|
-
transport: "transport";
|
|
416
1460
|
type_error: "type_error";
|
|
417
1461
|
}>>;
|
|
418
1462
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -556,8 +1600,8 @@ export declare const hostTaskOwnerCommandDeliverMessageSchema: z.ZodObject<{
|
|
|
556
1600
|
optionId: z.ZodString;
|
|
557
1601
|
response: z.ZodObject<{
|
|
558
1602
|
decision: z.ZodEnum<{
|
|
559
|
-
deny: "deny";
|
|
560
1603
|
allow: "allow";
|
|
1604
|
+
deny: "deny";
|
|
561
1605
|
escalate: "escalate";
|
|
562
1606
|
modify: "modify";
|
|
563
1607
|
}>;
|
|
@@ -566,9 +1610,9 @@ export declare const hostTaskOwnerCommandDeliverMessageSchema: z.ZodObject<{
|
|
|
566
1610
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
567
1611
|
type: z.ZodLiteral<"addRules">;
|
|
568
1612
|
behavior: z.ZodEnum<{
|
|
569
|
-
deny: "deny";
|
|
570
|
-
allow: "allow";
|
|
571
1613
|
ask: "ask";
|
|
1614
|
+
allow: "allow";
|
|
1615
|
+
deny: "deny";
|
|
572
1616
|
}>;
|
|
573
1617
|
rules: z.ZodArray<z.ZodObject<{
|
|
574
1618
|
toolName: z.ZodString;
|
|
@@ -629,8 +1673,8 @@ export declare const hostTaskOwnerCommandDeliverMessageSchema: z.ZodObject<{
|
|
|
629
1673
|
workspaceKey: z.ZodString;
|
|
630
1674
|
status: z.ZodEnum<{
|
|
631
1675
|
failed: "failed";
|
|
632
|
-
running: "running";
|
|
633
1676
|
accepted: "accepted";
|
|
1677
|
+
running: "running";
|
|
634
1678
|
}>;
|
|
635
1679
|
createdAt: z.ZodNumber;
|
|
636
1680
|
updatedAt: z.ZodNumber;
|
|
@@ -716,8 +1760,8 @@ export declare const hostTaskOwnerCommandResultMessageSchema: z.ZodObject<{
|
|
|
716
1760
|
workspaceKey: z.ZodString;
|
|
717
1761
|
status: z.ZodEnum<{
|
|
718
1762
|
failed: "failed";
|
|
719
|
-
running: "running";
|
|
720
1763
|
accepted: "accepted";
|
|
1764
|
+
running: "running";
|
|
721
1765
|
}>;
|
|
722
1766
|
createdAt: z.ZodNumber;
|
|
723
1767
|
updatedAt: z.ZodNumber;
|
|
@@ -809,8 +1853,8 @@ export declare const sessionMessageDeliveryResultSchema: z.ZodObject<{
|
|
|
809
1853
|
requestId: z.ZodString;
|
|
810
1854
|
sessionId: z.ZodString;
|
|
811
1855
|
status: z.ZodEnum<{
|
|
812
|
-
failed: "failed";
|
|
813
1856
|
success: "success";
|
|
1857
|
+
failed: "failed";
|
|
814
1858
|
}>;
|
|
815
1859
|
}, z.core.$strip>;
|
|
816
1860
|
export declare const sessionRouteSchema: z.ZodObject<{
|
|
@@ -835,8 +1879,8 @@ export declare const hostSessionMessageDeliveryResultMessageSchema: z.ZodObject<
|
|
|
835
1879
|
requestId: z.ZodString;
|
|
836
1880
|
sessionId: z.ZodString;
|
|
837
1881
|
status: z.ZodEnum<{
|
|
838
|
-
failed: "failed";
|
|
839
1882
|
success: "success";
|
|
1883
|
+
failed: "failed";
|
|
840
1884
|
}>;
|
|
841
1885
|
}, z.core.$strip>;
|
|
842
1886
|
}, z.core.$strip>;
|
|
@@ -1002,9 +2046,9 @@ export declare const hostBrowserExecuteResultMessageSchema: z.ZodObject<{
|
|
|
1002
2046
|
}, z.core.$strict>>;
|
|
1003
2047
|
dialog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1004
2048
|
type: z.ZodEnum<{
|
|
1005
|
-
alert: "alert";
|
|
1006
|
-
confirm: "confirm";
|
|
1007
2049
|
prompt: "prompt";
|
|
2050
|
+
confirm: "confirm";
|
|
2051
|
+
alert: "alert";
|
|
1008
2052
|
beforeunload: "beforeunload";
|
|
1009
2053
|
}>;
|
|
1010
2054
|
message: z.ZodString;
|
|
@@ -1013,15 +2057,15 @@ export declare const hostBrowserExecuteResultMessageSchema: z.ZodObject<{
|
|
|
1013
2057
|
recording: z.ZodOptional<z.ZodObject<{
|
|
1014
2058
|
id: z.ZodString;
|
|
1015
2059
|
status: z.ZodEnum<{
|
|
1016
|
-
|
|
2060
|
+
cancelled: "cancelled";
|
|
1017
2061
|
failed: "failed";
|
|
2062
|
+
completed: "completed";
|
|
1018
2063
|
running: "running";
|
|
1019
|
-
cancelled: "cancelled";
|
|
1020
2064
|
}>;
|
|
1021
2065
|
phase: z.ZodEnum<{
|
|
1022
|
-
completed: "completed";
|
|
1023
|
-
failed: "failed";
|
|
1024
2066
|
cancelled: "cancelled";
|
|
2067
|
+
failed: "failed";
|
|
2068
|
+
completed: "completed";
|
|
1025
2069
|
preparing: "preparing";
|
|
1026
2070
|
capturing: "capturing";
|
|
1027
2071
|
finalizing: "finalizing";
|
|
@@ -1061,8 +2105,8 @@ export declare const hostBrowserExecuteResultMessageSchema: z.ZodObject<{
|
|
|
1061
2105
|
meta: z.ZodOptional<z.ZodObject<{
|
|
1062
2106
|
browserUse: z.ZodLiteral<true>;
|
|
1063
2107
|
backendType: z.ZodEnum<{
|
|
1064
|
-
extension: "extension";
|
|
1065
2108
|
iab: "iab";
|
|
2109
|
+
extension: "extension";
|
|
1066
2110
|
cdp: "cdp";
|
|
1067
2111
|
}>;
|
|
1068
2112
|
browserId: z.ZodString;
|
|
@@ -1071,8 +2115,8 @@ export declare const hostBrowserExecuteResultMessageSchema: z.ZodObject<{
|
|
|
1071
2115
|
tabId: z.ZodOptional<z.ZodString>;
|
|
1072
2116
|
currentUrl: z.ZodOptional<z.ZodString>;
|
|
1073
2117
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
1074
|
-
active: "active";
|
|
1075
2118
|
closed: "closed";
|
|
2119
|
+
active: "active";
|
|
1076
2120
|
handoff: "handoff";
|
|
1077
2121
|
deliverable: "deliverable";
|
|
1078
2122
|
}>>;
|
|
@@ -1087,6 +2131,35 @@ export declare const hostLocalMediaPreviewPathAuthorizeResultMessageSchema: z.Zo
|
|
|
1087
2131
|
path: z.ZodOptional<z.ZodString>;
|
|
1088
2132
|
error: z.ZodOptional<z.ZodString>;
|
|
1089
2133
|
}, z.core.$strict>;
|
|
2134
|
+
/** main → host:插件 UI 沙箱登记结果(PluginSandboxRegisterResultPayload)。 */
|
|
2135
|
+
export declare const hostPluginSandboxRegisterResultMessageSchema: z.ZodObject<{
|
|
2136
|
+
type: z.ZodLiteral<"plugin-sandbox-register-result">;
|
|
2137
|
+
requestId: z.ZodString;
|
|
2138
|
+
ok: z.ZodBoolean;
|
|
2139
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
2140
|
+
runtimeId: z.ZodString;
|
|
2141
|
+
generation: z.ZodNumber;
|
|
2142
|
+
appIdentity: z.ZodString;
|
|
2143
|
+
token: z.ZodString;
|
|
2144
|
+
}, z.core.$strict>>;
|
|
2145
|
+
sandboxId: z.ZodOptional<z.ZodString>;
|
|
2146
|
+
initId: z.ZodOptional<z.ZodNumber>;
|
|
2147
|
+
shellUrl: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
partition: z.ZodOptional<z.ZodString>;
|
|
2149
|
+
resourceMeta: z.ZodOptional<z.ZodObject<{
|
|
2150
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
2151
|
+
heightHint: z.ZodOptional<z.ZodNumber>;
|
|
2152
|
+
minFrameHeight: z.ZodOptional<z.ZodNumber>;
|
|
2153
|
+
showInline: z.ZodOptional<z.ZodBoolean>;
|
|
2154
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2155
|
+
camera: "camera";
|
|
2156
|
+
microphone: "microphone";
|
|
2157
|
+
geolocation: "geolocation";
|
|
2158
|
+
clipboardWrite: "clipboardWrite";
|
|
2159
|
+
}>>>;
|
|
2160
|
+
}, z.core.$strict>>;
|
|
2161
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2162
|
+
}, z.core.$strict>;
|
|
1090
2163
|
export declare const hostCuaPipFocusChangedMessageSchema: z.ZodObject<{
|
|
1091
2164
|
type: z.ZodLiteral<"cua-pip-focus-changed">;
|
|
1092
2165
|
event: z.ZodObject<{
|
|
@@ -1102,11 +2175,11 @@ export declare const hostProviderProvisioningExecuteMessageSchema: z.ZodObject<{
|
|
|
1102
2175
|
environmentKey: z.ZodString;
|
|
1103
2176
|
remoteSessionId: z.ZodString;
|
|
1104
2177
|
trigger: z.ZodEnum<{
|
|
1105
|
-
credential: "credential";
|
|
1106
2178
|
"environment-online": "environment-online";
|
|
1107
2179
|
"personal-config": "personal-config";
|
|
1108
2180
|
"configured-default": "configured-default";
|
|
1109
2181
|
"account-settings": "account-settings";
|
|
2182
|
+
credential: "credential";
|
|
1110
2183
|
}>;
|
|
1111
2184
|
}, z.core.$strict>;
|
|
1112
2185
|
export declare const hostResourceUsageSnapshotRequestMessageSchema: z.ZodObject<{
|
|
@@ -1115,6 +2188,11 @@ export declare const hostResourceUsageSnapshotRequestMessageSchema: z.ZodObject<
|
|
|
1115
2188
|
}, z.core.$strict>;
|
|
1116
2189
|
export type HostResourceUsageSnapshotRequestMessage = z.infer<typeof hostResourceUsageSnapshotRequestMessageSchema>;
|
|
1117
2190
|
export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2191
|
+
type: z.ZodLiteral<"network-capture">;
|
|
2192
|
+
control: z.ZodObject<{
|
|
2193
|
+
captureId: z.ZodNullable<z.ZodString>;
|
|
2194
|
+
}, z.core.$strict>;
|
|
2195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1118
2196
|
type: z.ZodLiteral<"database-startup-control">;
|
|
1119
2197
|
control: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1120
2198
|
action: z.ZodLiteral<"snapshot">;
|
|
@@ -1175,6 +2253,13 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1175
2253
|
}, z.core.$strip>, z.ZodObject<{
|
|
1176
2254
|
kind: z.ZodLiteral<"docker">;
|
|
1177
2255
|
container: z.ZodString;
|
|
2256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2257
|
+
kind: z.ZodLiteral<"server">;
|
|
2258
|
+
url: z.ZodString;
|
|
2259
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2260
|
+
token: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
1178
2263
|
}, z.core.$strip>], "kind">;
|
|
1179
2264
|
remoteAssets: z.ZodObject<{
|
|
1180
2265
|
mockCdnDir: z.ZodOptional<z.ZodString>;
|
|
@@ -1314,25 +2399,36 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1314
2399
|
createdAt: z.ZodNumber;
|
|
1315
2400
|
updatedAt: z.ZodNumber;
|
|
1316
2401
|
mode: z.ZodEnum<{
|
|
1317
|
-
|
|
2402
|
+
default: "default";
|
|
2403
|
+
auto: "auto";
|
|
1318
2404
|
plan: "plan";
|
|
2405
|
+
build: "build";
|
|
1319
2406
|
edit: "edit";
|
|
1320
|
-
|
|
2407
|
+
yolo: "yolo";
|
|
2408
|
+
guarded: "guarded";
|
|
2409
|
+
acceptEdits: "acceptEdits";
|
|
2410
|
+
dontAsk: "dontAsk";
|
|
2411
|
+
bypassPermissions: "bypassPermissions";
|
|
1321
2412
|
autoEdit: "autoEdit";
|
|
1322
|
-
build: "build";
|
|
1323
2413
|
}>;
|
|
1324
2414
|
model: z.ZodOptional<z.ZodString>;
|
|
1325
2415
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
1326
|
-
provider: z.ZodOptional<z.
|
|
2416
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
2417
|
+
glm: "glm";
|
|
2418
|
+
claude: "claude";
|
|
2419
|
+
opencode: "opencode";
|
|
2420
|
+
gemini: "gemini";
|
|
2421
|
+
codex: "codex";
|
|
2422
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
1327
2423
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
1328
2424
|
claudeCode: "claudeCode";
|
|
1329
2425
|
}>>;
|
|
1330
2426
|
forkedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
1331
2427
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
1332
2428
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2429
|
+
error: "error";
|
|
1333
2430
|
completed: "completed";
|
|
1334
2431
|
running: "running";
|
|
1335
|
-
error: "error";
|
|
1336
2432
|
}>>;
|
|
1337
2433
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
1338
2434
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,21 +2445,21 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1349
2445
|
reason: z.ZodOptional<z.ZodString>;
|
|
1350
2446
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
1351
2447
|
response: "response";
|
|
2448
|
+
connect: "connect";
|
|
1352
2449
|
prepare: "prepare";
|
|
1353
2450
|
configuration: "configuration";
|
|
1354
|
-
connect: "connect";
|
|
1355
2451
|
stream: "stream";
|
|
1356
2452
|
parse: "parse";
|
|
1357
2453
|
validation: "validation";
|
|
1358
2454
|
unhandled: "unhandled";
|
|
1359
2455
|
}>>;
|
|
1360
2456
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
2457
|
+
transport: "transport";
|
|
1361
2458
|
validation: "validation";
|
|
1362
2459
|
api_call: "api_call";
|
|
1363
2460
|
generic: "generic";
|
|
1364
2461
|
protocol: "protocol";
|
|
1365
2462
|
provider_business: "provider_business";
|
|
1366
|
-
transport: "transport";
|
|
1367
2463
|
type_error: "type_error";
|
|
1368
2464
|
}>>;
|
|
1369
2465
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -1505,8 +2601,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1505
2601
|
optionId: z.ZodString;
|
|
1506
2602
|
response: z.ZodObject<{
|
|
1507
2603
|
decision: z.ZodEnum<{
|
|
1508
|
-
deny: "deny";
|
|
1509
2604
|
allow: "allow";
|
|
2605
|
+
deny: "deny";
|
|
1510
2606
|
escalate: "escalate";
|
|
1511
2607
|
modify: "modify";
|
|
1512
2608
|
}>;
|
|
@@ -1515,9 +2611,9 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1515
2611
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1516
2612
|
type: z.ZodLiteral<"addRules">;
|
|
1517
2613
|
behavior: z.ZodEnum<{
|
|
1518
|
-
deny: "deny";
|
|
1519
|
-
allow: "allow";
|
|
1520
2614
|
ask: "ask";
|
|
2615
|
+
allow: "allow";
|
|
2616
|
+
deny: "deny";
|
|
1521
2617
|
}>;
|
|
1522
2618
|
rules: z.ZodArray<z.ZodObject<{
|
|
1523
2619
|
toolName: z.ZodString;
|
|
@@ -1578,8 +2674,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1578
2674
|
workspaceKey: z.ZodString;
|
|
1579
2675
|
status: z.ZodEnum<{
|
|
1580
2676
|
failed: "failed";
|
|
1581
|
-
running: "running";
|
|
1582
2677
|
accepted: "accepted";
|
|
2678
|
+
running: "running";
|
|
1583
2679
|
}>;
|
|
1584
2680
|
createdAt: z.ZodNumber;
|
|
1585
2681
|
updatedAt: z.ZodNumber;
|
|
@@ -1664,8 +2760,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1664
2760
|
workspaceKey: z.ZodString;
|
|
1665
2761
|
status: z.ZodEnum<{
|
|
1666
2762
|
failed: "failed";
|
|
1667
|
-
running: "running";
|
|
1668
2763
|
accepted: "accepted";
|
|
2764
|
+
running: "running";
|
|
1669
2765
|
}>;
|
|
1670
2766
|
createdAt: z.ZodNumber;
|
|
1671
2767
|
updatedAt: z.ZodNumber;
|
|
@@ -1757,8 +2853,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1757
2853
|
requestId: z.ZodString;
|
|
1758
2854
|
sessionId: z.ZodString;
|
|
1759
2855
|
status: z.ZodEnum<{
|
|
1760
|
-
failed: "failed";
|
|
1761
2856
|
success: "success";
|
|
2857
|
+
failed: "failed";
|
|
1762
2858
|
}>;
|
|
1763
2859
|
}, z.core.$strip>;
|
|
1764
2860
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1920,9 +3016,9 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1920
3016
|
}, z.core.$strict>>;
|
|
1921
3017
|
dialog: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1922
3018
|
type: z.ZodEnum<{
|
|
1923
|
-
alert: "alert";
|
|
1924
|
-
confirm: "confirm";
|
|
1925
3019
|
prompt: "prompt";
|
|
3020
|
+
confirm: "confirm";
|
|
3021
|
+
alert: "alert";
|
|
1926
3022
|
beforeunload: "beforeunload";
|
|
1927
3023
|
}>;
|
|
1928
3024
|
message: z.ZodString;
|
|
@@ -1931,15 +3027,15 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1931
3027
|
recording: z.ZodOptional<z.ZodObject<{
|
|
1932
3028
|
id: z.ZodString;
|
|
1933
3029
|
status: z.ZodEnum<{
|
|
1934
|
-
|
|
3030
|
+
cancelled: "cancelled";
|
|
1935
3031
|
failed: "failed";
|
|
3032
|
+
completed: "completed";
|
|
1936
3033
|
running: "running";
|
|
1937
|
-
cancelled: "cancelled";
|
|
1938
3034
|
}>;
|
|
1939
3035
|
phase: z.ZodEnum<{
|
|
1940
|
-
completed: "completed";
|
|
1941
|
-
failed: "failed";
|
|
1942
3036
|
cancelled: "cancelled";
|
|
3037
|
+
failed: "failed";
|
|
3038
|
+
completed: "completed";
|
|
1943
3039
|
preparing: "preparing";
|
|
1944
3040
|
capturing: "capturing";
|
|
1945
3041
|
finalizing: "finalizing";
|
|
@@ -1979,8 +3075,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1979
3075
|
meta: z.ZodOptional<z.ZodObject<{
|
|
1980
3076
|
browserUse: z.ZodLiteral<true>;
|
|
1981
3077
|
backendType: z.ZodEnum<{
|
|
1982
|
-
extension: "extension";
|
|
1983
3078
|
iab: "iab";
|
|
3079
|
+
extension: "extension";
|
|
1984
3080
|
cdp: "cdp";
|
|
1985
3081
|
}>;
|
|
1986
3082
|
browserId: z.ZodString;
|
|
@@ -1989,8 +3085,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1989
3085
|
tabId: z.ZodOptional<z.ZodString>;
|
|
1990
3086
|
currentUrl: z.ZodOptional<z.ZodString>;
|
|
1991
3087
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
1992
|
-
active: "active";
|
|
1993
3088
|
closed: "closed";
|
|
3089
|
+
active: "active";
|
|
1994
3090
|
handoff: "handoff";
|
|
1995
3091
|
deliverable: "deliverable";
|
|
1996
3092
|
}>>;
|
|
@@ -2003,6 +3099,33 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
2003
3099
|
ok: z.ZodBoolean;
|
|
2004
3100
|
path: z.ZodOptional<z.ZodString>;
|
|
2005
3101
|
error: z.ZodOptional<z.ZodString>;
|
|
3102
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3103
|
+
type: z.ZodLiteral<"plugin-sandbox-register-result">;
|
|
3104
|
+
requestId: z.ZodString;
|
|
3105
|
+
ok: z.ZodBoolean;
|
|
3106
|
+
instance: z.ZodOptional<z.ZodObject<{
|
|
3107
|
+
runtimeId: z.ZodString;
|
|
3108
|
+
generation: z.ZodNumber;
|
|
3109
|
+
appIdentity: z.ZodString;
|
|
3110
|
+
token: z.ZodString;
|
|
3111
|
+
}, z.core.$strict>>;
|
|
3112
|
+
sandboxId: z.ZodOptional<z.ZodString>;
|
|
3113
|
+
initId: z.ZodOptional<z.ZodNumber>;
|
|
3114
|
+
shellUrl: z.ZodOptional<z.ZodString>;
|
|
3115
|
+
partition: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
resourceMeta: z.ZodOptional<z.ZodObject<{
|
|
3117
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
3118
|
+
heightHint: z.ZodOptional<z.ZodNumber>;
|
|
3119
|
+
minFrameHeight: z.ZodOptional<z.ZodNumber>;
|
|
3120
|
+
showInline: z.ZodOptional<z.ZodBoolean>;
|
|
3121
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3122
|
+
camera: "camera";
|
|
3123
|
+
microphone: "microphone";
|
|
3124
|
+
geolocation: "geolocation";
|
|
3125
|
+
clipboardWrite: "clipboardWrite";
|
|
3126
|
+
}>>>;
|
|
3127
|
+
}, z.core.$strict>>;
|
|
3128
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2006
3129
|
}, z.core.$strict>, z.ZodObject<{
|
|
2007
3130
|
type: z.ZodLiteral<"cua-pip-focus-changed">;
|
|
2008
3131
|
event: z.ZodObject<{
|
|
@@ -2017,11 +3140,11 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
2017
3140
|
environmentKey: z.ZodString;
|
|
2018
3141
|
remoteSessionId: z.ZodString;
|
|
2019
3142
|
trigger: z.ZodEnum<{
|
|
2020
|
-
credential: "credential";
|
|
2021
3143
|
"environment-online": "environment-online";
|
|
2022
3144
|
"personal-config": "personal-config";
|
|
2023
3145
|
"configured-default": "configured-default";
|
|
2024
3146
|
"account-settings": "account-settings";
|
|
3147
|
+
credential: "credential";
|
|
2025
3148
|
}>;
|
|
2026
3149
|
}, z.core.$strict>], "type">;
|
|
2027
3150
|
export declare const hostRemoteWorkspaceConnectedResponseSchema: z.ZodObject<{
|
|
@@ -2052,6 +3175,13 @@ export declare const hostRemoteWorkspaceConnectedResponseSchema: z.ZodObject<{
|
|
|
2052
3175
|
}, z.core.$strip>, z.ZodObject<{
|
|
2053
3176
|
kind: z.ZodLiteral<"docker">;
|
|
2054
3177
|
container: z.ZodString;
|
|
3178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3179
|
+
kind: z.ZodLiteral<"server">;
|
|
3180
|
+
url: z.ZodString;
|
|
3181
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3182
|
+
token: z.ZodOptional<z.ZodString>;
|
|
3183
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
3184
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
2055
3185
|
}, z.core.$strip>], "kind">;
|
|
2056
3186
|
workspacePath: z.ZodOptional<z.ZodString>;
|
|
2057
3187
|
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
@@ -2214,9 +3344,9 @@ export declare const processResourceCliLaneSchema: z.ZodEnum<{
|
|
|
2214
3344
|
}>;
|
|
2215
3345
|
export declare const agentLaneResourceSampleSchema: z.ZodObject<{
|
|
2216
3346
|
platform: z.ZodEnum<{
|
|
2217
|
-
darwin: "darwin";
|
|
2218
3347
|
aix: "aix";
|
|
2219
3348
|
android: "android";
|
|
3349
|
+
darwin: "darwin";
|
|
2220
3350
|
freebsd: "freebsd";
|
|
2221
3351
|
haiku: "haiku";
|
|
2222
3352
|
linux: "linux";
|
|
@@ -2265,9 +3395,9 @@ export declare const hostAgentResourceSampleResponseSchema: z.ZodObject<{
|
|
|
2265
3395
|
environmentKey: z.ZodOptional<z.ZodString>;
|
|
2266
3396
|
sample: z.ZodObject<{
|
|
2267
3397
|
platform: z.ZodEnum<{
|
|
2268
|
-
darwin: "darwin";
|
|
2269
3398
|
aix: "aix";
|
|
2270
3399
|
android: "android";
|
|
3400
|
+
darwin: "darwin";
|
|
2271
3401
|
freebsd: "freebsd";
|
|
2272
3402
|
haiku: "haiku";
|
|
2273
3403
|
linux: "linux";
|
|
@@ -2356,9 +3486,9 @@ export declare const hostMcpResourceSamplesResponseSchema: z.ZodObject<{
|
|
|
2356
3486
|
cpuTimeMsDelta: z.ZodNumber;
|
|
2357
3487
|
uptimeMinutes: z.ZodNumber;
|
|
2358
3488
|
platform: z.ZodEnum<{
|
|
2359
|
-
darwin: "darwin";
|
|
2360
3489
|
aix: "aix";
|
|
2361
3490
|
android: "android";
|
|
3491
|
+
darwin: "darwin";
|
|
2362
3492
|
freebsd: "freebsd";
|
|
2363
3493
|
haiku: "haiku";
|
|
2364
3494
|
linux: "linux";
|
|
@@ -2396,9 +3526,9 @@ export declare const hostToolExecResourceResponseSchema: z.ZodObject<{
|
|
|
2396
3526
|
sample: z.ZodObject<{
|
|
2397
3527
|
completionToken: z.ZodOptional<z.ZodString>;
|
|
2398
3528
|
platform: z.ZodEnum<{
|
|
2399
|
-
darwin: "darwin";
|
|
2400
3529
|
aix: "aix";
|
|
2401
3530
|
android: "android";
|
|
3531
|
+
darwin: "darwin";
|
|
2402
3532
|
freebsd: "freebsd";
|
|
2403
3533
|
haiku: "haiku";
|
|
2404
3534
|
linux: "linux";
|
|
@@ -2411,8 +3541,8 @@ export declare const hostToolExecResourceResponseSchema: z.ZodObject<{
|
|
|
2411
3541
|
toolName: z.ZodLiteral<"bash">;
|
|
2412
3542
|
durationMs: z.ZodNumber;
|
|
2413
3543
|
exitKind: z.ZodEnum<{
|
|
2414
|
-
completed: "completed";
|
|
2415
3544
|
error: "error";
|
|
3545
|
+
completed: "completed";
|
|
2416
3546
|
timeout: "timeout";
|
|
2417
3547
|
killed: "killed";
|
|
2418
3548
|
}>;
|
|
@@ -2447,9 +3577,9 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2447
3577
|
}>;
|
|
2448
3578
|
occurredAt: z.ZodNumber;
|
|
2449
3579
|
platform: z.ZodEnum<{
|
|
2450
|
-
darwin: "darwin";
|
|
2451
3580
|
aix: "aix";
|
|
2452
3581
|
android: "android";
|
|
3582
|
+
darwin: "darwin";
|
|
2453
3583
|
freebsd: "freebsd";
|
|
2454
3584
|
haiku: "haiku";
|
|
2455
3585
|
linux: "linux";
|
|
@@ -2462,13 +3592,13 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2462
3592
|
mcpId: z.ZodString;
|
|
2463
3593
|
mcpInstanceId: z.ZodString;
|
|
2464
3594
|
mcpIsolation: z.ZodEnum<{
|
|
2465
|
-
workspace: "workspace";
|
|
2466
3595
|
session: "session";
|
|
3596
|
+
workspace: "workspace";
|
|
2467
3597
|
}>;
|
|
2468
3598
|
mcpSource: z.ZodEnum<{
|
|
2469
3599
|
custom: "custom";
|
|
2470
|
-
plugin: "plugin";
|
|
2471
3600
|
builtin: "builtin";
|
|
3601
|
+
plugin: "plugin";
|
|
2472
3602
|
}>;
|
|
2473
3603
|
kind: z.ZodLiteral<"process_start">;
|
|
2474
3604
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2488,9 +3618,9 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2488
3618
|
}>;
|
|
2489
3619
|
occurredAt: z.ZodNumber;
|
|
2490
3620
|
platform: z.ZodEnum<{
|
|
2491
|
-
darwin: "darwin";
|
|
2492
3621
|
aix: "aix";
|
|
2493
3622
|
android: "android";
|
|
3623
|
+
darwin: "darwin";
|
|
2494
3624
|
freebsd: "freebsd";
|
|
2495
3625
|
haiku: "haiku";
|
|
2496
3626
|
linux: "linux";
|
|
@@ -2507,13 +3637,13 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2507
3637
|
mcpId: z.ZodString;
|
|
2508
3638
|
mcpInstanceId: z.ZodString;
|
|
2509
3639
|
mcpIsolation: z.ZodEnum<{
|
|
2510
|
-
workspace: "workspace";
|
|
2511
3640
|
session: "session";
|
|
3641
|
+
workspace: "workspace";
|
|
2512
3642
|
}>;
|
|
2513
3643
|
mcpSource: z.ZodEnum<{
|
|
2514
3644
|
custom: "custom";
|
|
2515
|
-
plugin: "plugin";
|
|
2516
3645
|
builtin: "builtin";
|
|
3646
|
+
plugin: "plugin";
|
|
2517
3647
|
}>;
|
|
2518
3648
|
kind: z.ZodLiteral<"process_crash">;
|
|
2519
3649
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2533,9 +3663,9 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2533
3663
|
}>;
|
|
2534
3664
|
occurredAt: z.ZodNumber;
|
|
2535
3665
|
platform: z.ZodEnum<{
|
|
2536
|
-
darwin: "darwin";
|
|
2537
3666
|
aix: "aix";
|
|
2538
3667
|
android: "android";
|
|
3668
|
+
darwin: "darwin";
|
|
2539
3669
|
freebsd: "freebsd";
|
|
2540
3670
|
haiku: "haiku";
|
|
2541
3671
|
linux: "linux";
|
|
@@ -2568,9 +3698,9 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2568
3698
|
}>;
|
|
2569
3699
|
occurredAt: z.ZodNumber;
|
|
2570
3700
|
platform: z.ZodEnum<{
|
|
2571
|
-
darwin: "darwin";
|
|
2572
3701
|
aix: "aix";
|
|
2573
3702
|
android: "android";
|
|
3703
|
+
darwin: "darwin";
|
|
2574
3704
|
freebsd: "freebsd";
|
|
2575
3705
|
haiku: "haiku";
|
|
2576
3706
|
linux: "linux";
|
|
@@ -2591,13 +3721,13 @@ export declare const hostMcpTelemetryResponseSchema: z.ZodObject<{
|
|
|
2591
3721
|
mcpId: z.ZodString;
|
|
2592
3722
|
mcpInstanceId: z.ZodString;
|
|
2593
3723
|
mcpIsolation: z.ZodEnum<{
|
|
2594
|
-
workspace: "workspace";
|
|
2595
3724
|
session: "session";
|
|
3725
|
+
workspace: "workspace";
|
|
2596
3726
|
}>;
|
|
2597
3727
|
mcpSource: z.ZodEnum<{
|
|
2598
3728
|
custom: "custom";
|
|
2599
|
-
plugin: "plugin";
|
|
2600
3729
|
builtin: "builtin";
|
|
3730
|
+
plugin: "plugin";
|
|
2601
3731
|
}>;
|
|
2602
3732
|
kind: z.ZodLiteral<"memory">;
|
|
2603
3733
|
}, z.core.$strict>], "kind">;
|
|
@@ -2623,10 +3753,10 @@ export declare const hostSessionCreateTelemetryResponseSchema: z.ZodObject<{
|
|
|
2623
3753
|
}>;
|
|
2624
3754
|
remote_kind: z.ZodEnum<{
|
|
2625
3755
|
"": "";
|
|
3756
|
+
server: "server";
|
|
2626
3757
|
ssh: "ssh";
|
|
2627
3758
|
wsl: "wsl";
|
|
2628
3759
|
docker: "docker";
|
|
2629
|
-
server: "server";
|
|
2630
3760
|
}>;
|
|
2631
3761
|
create_source: z.ZodEnum<{
|
|
2632
3762
|
automation_idle: "automation_idle";
|
|
@@ -2741,25 +3871,36 @@ export declare const hostTaskRealtimePublishResponseSchema: z.ZodObject<{
|
|
|
2741
3871
|
createdAt: z.ZodNumber;
|
|
2742
3872
|
updatedAt: z.ZodNumber;
|
|
2743
3873
|
mode: z.ZodEnum<{
|
|
2744
|
-
|
|
3874
|
+
default: "default";
|
|
3875
|
+
auto: "auto";
|
|
2745
3876
|
plan: "plan";
|
|
3877
|
+
build: "build";
|
|
2746
3878
|
edit: "edit";
|
|
2747
|
-
|
|
3879
|
+
yolo: "yolo";
|
|
3880
|
+
guarded: "guarded";
|
|
3881
|
+
acceptEdits: "acceptEdits";
|
|
3882
|
+
dontAsk: "dontAsk";
|
|
3883
|
+
bypassPermissions: "bypassPermissions";
|
|
2748
3884
|
autoEdit: "autoEdit";
|
|
2749
|
-
build: "build";
|
|
2750
3885
|
}>;
|
|
2751
3886
|
model: z.ZodOptional<z.ZodString>;
|
|
2752
3887
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
2753
|
-
provider: z.ZodOptional<z.
|
|
3888
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
3889
|
+
glm: "glm";
|
|
3890
|
+
claude: "claude";
|
|
3891
|
+
opencode: "opencode";
|
|
3892
|
+
gemini: "gemini";
|
|
3893
|
+
codex: "codex";
|
|
3894
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
2754
3895
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
2755
3896
|
claudeCode: "claudeCode";
|
|
2756
3897
|
}>>;
|
|
2757
3898
|
forkedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
2758
3899
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
2759
3900
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3901
|
+
error: "error";
|
|
2760
3902
|
completed: "completed";
|
|
2761
3903
|
running: "running";
|
|
2762
|
-
error: "error";
|
|
2763
3904
|
}>>;
|
|
2764
3905
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
2765
3906
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -2776,21 +3917,21 @@ export declare const hostTaskRealtimePublishResponseSchema: z.ZodObject<{
|
|
|
2776
3917
|
reason: z.ZodOptional<z.ZodString>;
|
|
2777
3918
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
2778
3919
|
response: "response";
|
|
3920
|
+
connect: "connect";
|
|
2779
3921
|
prepare: "prepare";
|
|
2780
3922
|
configuration: "configuration";
|
|
2781
|
-
connect: "connect";
|
|
2782
3923
|
stream: "stream";
|
|
2783
3924
|
parse: "parse";
|
|
2784
3925
|
validation: "validation";
|
|
2785
3926
|
unhandled: "unhandled";
|
|
2786
3927
|
}>>;
|
|
2787
3928
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
3929
|
+
transport: "transport";
|
|
2788
3930
|
validation: "validation";
|
|
2789
3931
|
api_call: "api_call";
|
|
2790
3932
|
generic: "generic";
|
|
2791
3933
|
protocol: "protocol";
|
|
2792
3934
|
provider_business: "provider_business";
|
|
2793
|
-
transport: "transport";
|
|
2794
3935
|
type_error: "type_error";
|
|
2795
3936
|
}>>;
|
|
2796
3937
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -2999,8 +4140,8 @@ export declare const hostTaskOwnerCommandRequestResponseSchema: z.ZodObject<{
|
|
|
2999
4140
|
optionId: z.ZodString;
|
|
3000
4141
|
response: z.ZodObject<{
|
|
3001
4142
|
decision: z.ZodEnum<{
|
|
3002
|
-
deny: "deny";
|
|
3003
4143
|
allow: "allow";
|
|
4144
|
+
deny: "deny";
|
|
3004
4145
|
escalate: "escalate";
|
|
3005
4146
|
modify: "modify";
|
|
3006
4147
|
}>;
|
|
@@ -3009,9 +4150,9 @@ export declare const hostTaskOwnerCommandRequestResponseSchema: z.ZodObject<{
|
|
|
3009
4150
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3010
4151
|
type: z.ZodLiteral<"addRules">;
|
|
3011
4152
|
behavior: z.ZodEnum<{
|
|
3012
|
-
deny: "deny";
|
|
3013
|
-
allow: "allow";
|
|
3014
4153
|
ask: "ask";
|
|
4154
|
+
allow: "allow";
|
|
4155
|
+
deny: "deny";
|
|
3015
4156
|
}>;
|
|
3016
4157
|
rules: z.ZodArray<z.ZodObject<{
|
|
3017
4158
|
toolName: z.ZodString;
|
|
@@ -3069,8 +4210,8 @@ export declare const hostTaskOwnerCommandRequestResponseSchema: z.ZodObject<{
|
|
|
3069
4210
|
workspaceKey: z.ZodString;
|
|
3070
4211
|
status: z.ZodEnum<{
|
|
3071
4212
|
failed: "failed";
|
|
3072
|
-
running: "running";
|
|
3073
4213
|
accepted: "accepted";
|
|
4214
|
+
running: "running";
|
|
3074
4215
|
}>;
|
|
3075
4216
|
createdAt: z.ZodNumber;
|
|
3076
4217
|
updatedAt: z.ZodNumber;
|
|
@@ -3153,8 +4294,8 @@ export declare const hostTaskOwnerCommandResultResponseSchema: z.ZodObject<{
|
|
|
3153
4294
|
workspaceKey: z.ZodString;
|
|
3154
4295
|
status: z.ZodEnum<{
|
|
3155
4296
|
failed: "failed";
|
|
3156
|
-
running: "running";
|
|
3157
4297
|
accepted: "accepted";
|
|
4298
|
+
running: "running";
|
|
3158
4299
|
}>;
|
|
3159
4300
|
createdAt: z.ZodNumber;
|
|
3160
4301
|
updatedAt: z.ZodNumber;
|
|
@@ -3240,6 +4381,13 @@ export declare const hostBotRemoteWorkspaceReconnectRequestResponseSchema: z.Zod
|
|
|
3240
4381
|
}, z.core.$strip>, z.ZodObject<{
|
|
3241
4382
|
kind: z.ZodLiteral<"docker">;
|
|
3242
4383
|
container: z.ZodString;
|
|
4384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4385
|
+
kind: z.ZodLiteral<"server">;
|
|
4386
|
+
url: z.ZodString;
|
|
4387
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4388
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4389
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
4390
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
3243
4391
|
}, z.core.$strip>], "kind">;
|
|
3244
4392
|
}, z.core.$strip>;
|
|
3245
4393
|
export declare const hostBotRemoteWorkspaceConnectionStatusRequestResponseSchema: z.ZodObject<{
|
|
@@ -3270,6 +4418,13 @@ export declare const hostBotRemoteWorkspaceConnectionStatusRequestResponseSchema
|
|
|
3270
4418
|
}, z.core.$strip>, z.ZodObject<{
|
|
3271
4419
|
kind: z.ZodLiteral<"docker">;
|
|
3272
4420
|
container: z.ZodString;
|
|
4421
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4422
|
+
kind: z.ZodLiteral<"server">;
|
|
4423
|
+
url: z.ZodString;
|
|
4424
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4425
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4426
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
4427
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
3273
4428
|
}, z.core.$strip>], "kind">;
|
|
3274
4429
|
}, z.core.$strip>;
|
|
3275
4430
|
export declare const hostBotRemoteWorkspaceRuntimePortRequestResponseSchema: z.ZodObject<{
|
|
@@ -3300,6 +4455,13 @@ export declare const hostBotRemoteWorkspaceRuntimePortRequestResponseSchema: z.Z
|
|
|
3300
4455
|
}, z.core.$strip>, z.ZodObject<{
|
|
3301
4456
|
kind: z.ZodLiteral<"docker">;
|
|
3302
4457
|
container: z.ZodString;
|
|
4458
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4459
|
+
kind: z.ZodLiteral<"server">;
|
|
4460
|
+
url: z.ZodString;
|
|
4461
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4462
|
+
token: z.ZodOptional<z.ZodString>;
|
|
4463
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
4464
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
3303
4465
|
}, z.core.$strip>], "kind">;
|
|
3304
4466
|
}, z.core.$strip>;
|
|
3305
4467
|
export declare const hostSessionMessageSendRequestedResponseSchema: z.ZodObject<{
|
|
@@ -3327,8 +4489,8 @@ export declare const hostSessionMessageDeliverResultResponseSchema: z.ZodObject<
|
|
|
3327
4489
|
requestId: z.ZodString;
|
|
3328
4490
|
sessionId: z.ZodString;
|
|
3329
4491
|
status: z.ZodEnum<{
|
|
3330
|
-
failed: "failed";
|
|
3331
4492
|
success: "success";
|
|
4493
|
+
failed: "failed";
|
|
3332
4494
|
}>;
|
|
3333
4495
|
}, z.core.$strip>;
|
|
3334
4496
|
}, z.core.$strip>;
|
|
@@ -3385,8 +4547,8 @@ export declare const hostBrowserExecuteRequestResponseSchema: z.ZodObject<{
|
|
|
3385
4547
|
"web-remote-replayable": "web-remote-replayable";
|
|
3386
4548
|
}>>;
|
|
3387
4549
|
sessionContext: z.ZodOptional<z.ZodEnum<{
|
|
3388
|
-
cached: "cached";
|
|
3389
4550
|
live: "live";
|
|
4551
|
+
cached: "cached";
|
|
3390
4552
|
}>>;
|
|
3391
4553
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3392
4554
|
method: z.ZodLiteral<"navigate">;
|
|
@@ -3638,12 +4800,12 @@ export declare const hostBrowserExecuteRequestResponseSchema: z.ZodObject<{
|
|
|
3638
4800
|
selector: z.ZodString;
|
|
3639
4801
|
operation: z.ZodEnum<{
|
|
3640
4802
|
fill: "fill";
|
|
3641
|
-
count: "count";
|
|
3642
4803
|
click: "click";
|
|
3643
4804
|
press: "press";
|
|
3644
4805
|
evaluate: "evaluate";
|
|
3645
4806
|
waitFor: "waitFor";
|
|
3646
4807
|
allTextContents: "allTextContents";
|
|
4808
|
+
count: "count";
|
|
3647
4809
|
dblclick: "dblclick";
|
|
3648
4810
|
downloadMedia: "downloadMedia";
|
|
3649
4811
|
getAttribute: "getAttribute";
|
|
@@ -3678,8 +4840,8 @@ export declare const hostBrowserExecuteRequestResponseSchema: z.ZodObject<{
|
|
|
3678
4840
|
Shift: "Shift";
|
|
3679
4841
|
}>>>;
|
|
3680
4842
|
state: z.ZodOptional<z.ZodEnum<{
|
|
3681
|
-
visible: "visible";
|
|
3682
4843
|
attached: "attached";
|
|
4844
|
+
visible: "visible";
|
|
3683
4845
|
hidden: "hidden";
|
|
3684
4846
|
detached: "detached";
|
|
3685
4847
|
}>>;
|
|
@@ -3784,8 +4946,8 @@ export declare const hostBrowserExecuteRequestResponseSchema: z.ZodObject<{
|
|
|
3784
4946
|
type: z.ZodLiteral<"waitFor">;
|
|
3785
4947
|
selector: z.ZodString;
|
|
3786
4948
|
state: z.ZodOptional<z.ZodEnum<{
|
|
3787
|
-
visible: "visible";
|
|
3788
4949
|
attached: "attached";
|
|
4950
|
+
visible: "visible";
|
|
3789
4951
|
hidden: "hidden";
|
|
3790
4952
|
detached: "detached";
|
|
3791
4953
|
}>>;
|
|
@@ -3840,6 +5002,7 @@ export declare const hostBrowserExecuteRequestResponseSchema: z.ZodObject<{
|
|
|
3840
5002
|
turnId: z.ZodOptional<z.ZodString>;
|
|
3841
5003
|
}, z.core.$strict>, z.ZodObject<{
|
|
3842
5004
|
method: z.ZodLiteral<"closeSession">;
|
|
5005
|
+
closeTabs: z.ZodOptional<z.ZodBoolean>;
|
|
3843
5006
|
}, z.core.$strict>, z.ZodObject<{
|
|
3844
5007
|
method: z.ZodLiteral<"cancelRequest">;
|
|
3845
5008
|
requestId: z.ZodString;
|
|
@@ -3855,6 +5018,46 @@ export declare const hostLocalMediaPreviewPathAuthorizeRequestResponseSchema: z.
|
|
|
3855
5018
|
requestId: z.ZodString;
|
|
3856
5019
|
path: z.ZodString;
|
|
3857
5020
|
}, z.core.$strict>;
|
|
5021
|
+
/** host → main:登记已校验的插件 UI HTML。 */
|
|
5022
|
+
export declare const hostPluginSandboxRegisterRequestResponseSchema: z.ZodObject<{
|
|
5023
|
+
type: z.ZodLiteral<"plugin-sandbox-register-request">;
|
|
5024
|
+
instance: z.ZodObject<{
|
|
5025
|
+
runtimeId: z.ZodString;
|
|
5026
|
+
generation: z.ZodNumber;
|
|
5027
|
+
appIdentity: z.ZodString;
|
|
5028
|
+
token: z.ZodString;
|
|
5029
|
+
}, z.core.$strict>;
|
|
5030
|
+
requestId: z.ZodString;
|
|
5031
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
5032
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
5033
|
+
ownerWebContentsId: z.ZodNumber;
|
|
5034
|
+
sessionId: z.ZodString;
|
|
5035
|
+
contentKind: z.ZodOptional<z.ZodLiteral<"gen-ui">>;
|
|
5036
|
+
pluginId: z.ZodOptional<z.ZodString>;
|
|
5037
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
5038
|
+
scopeId: z.ZodString;
|
|
5039
|
+
html: z.ZodString;
|
|
5040
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
5041
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5042
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5043
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5044
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5045
|
+
}, z.core.$strict>>;
|
|
5046
|
+
cspRelaxations: z.ZodOptional<z.ZodObject<{
|
|
5047
|
+
unsafeEval: z.ZodOptional<z.ZodBoolean>;
|
|
5048
|
+
wasmUnsafeEval: z.ZodOptional<z.ZodBoolean>;
|
|
5049
|
+
}, z.core.$strict>>;
|
|
5050
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5051
|
+
camera: "camera";
|
|
5052
|
+
microphone: "microphone";
|
|
5053
|
+
geolocation: "geolocation";
|
|
5054
|
+
clipboardWrite: "clipboardWrite";
|
|
5055
|
+
}>>>;
|
|
5056
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
5057
|
+
heightHint: z.ZodOptional<z.ZodNumber>;
|
|
5058
|
+
minFrameHeight: z.ZodOptional<z.ZodNumber>;
|
|
5059
|
+
showInline: z.ZodOptional<z.ZodBoolean>;
|
|
5060
|
+
}, z.core.$strict>;
|
|
3858
5061
|
export declare const networkObservationSchema: z.ZodObject<{
|
|
3859
5062
|
transport: z.ZodEnum<{
|
|
3860
5063
|
http: "http";
|
|
@@ -3897,10 +5100,10 @@ export declare const hostNetworkTelemetryBatchResponseSchema: z.ZodObject<{
|
|
|
3897
5100
|
export declare const hostProviderProvisioningSourceChangedResponseSchema: z.ZodObject<{
|
|
3898
5101
|
type: z.ZodLiteral<"provider-provisioning-source-changed">;
|
|
3899
5102
|
trigger: z.ZodEnum<{
|
|
3900
|
-
credential: "credential";
|
|
3901
5103
|
"personal-config": "personal-config";
|
|
3902
5104
|
"configured-default": "configured-default";
|
|
3903
5105
|
"account-settings": "account-settings";
|
|
5106
|
+
credential: "credential";
|
|
3904
5107
|
}>;
|
|
3905
5108
|
}, z.core.$strict>;
|
|
3906
5109
|
export declare const hostProviderProvisioningExecutionResultResponseSchema: z.ZodObject<{
|
|
@@ -3909,12 +5112,23 @@ export declare const hostProviderProvisioningExecutionResultResponseSchema: z.Zo
|
|
|
3909
5112
|
environmentKey: z.ZodString;
|
|
3910
5113
|
status: z.ZodEnum<{
|
|
3911
5114
|
failed: "failed";
|
|
3912
|
-
applied: "applied";
|
|
3913
5115
|
unsupported: "unsupported";
|
|
5116
|
+
applied: "applied";
|
|
3914
5117
|
"already-applied": "already-applied";
|
|
3915
5118
|
rollback_failed: "rollback_failed";
|
|
3916
5119
|
}>;
|
|
3917
5120
|
error: z.ZodOptional<z.ZodString>;
|
|
5121
|
+
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
5122
|
+
"source-read-failed": "source-read-failed";
|
|
5123
|
+
"target-call-failed": "target-call-failed";
|
|
5124
|
+
"target-write-failed": "target-write-failed";
|
|
5125
|
+
"target-refresh-failed": "target-refresh-failed";
|
|
5126
|
+
"target-commit-failed": "target-commit-failed";
|
|
5127
|
+
"target-apply-failed": "target-apply-failed";
|
|
5128
|
+
"capability-unavailable": "capability-unavailable";
|
|
5129
|
+
"session-unavailable": "session-unavailable";
|
|
5130
|
+
"host-execution-failed": "host-execution-failed";
|
|
5131
|
+
}>>;
|
|
3918
5132
|
}, z.core.$strict>;
|
|
3919
5133
|
export declare const hostResourceUsageProcessSchema: z.ZodObject<{
|
|
3920
5134
|
pid: z.ZodNumber;
|
|
@@ -3949,6 +5163,24 @@ export declare const hostResourceUsageSnapshotResultResponseSchema: z.ZodObject<
|
|
|
3949
5163
|
}, z.core.$strict>;
|
|
3950
5164
|
export type HostResourceUsageSnapshotResultResponse = z.infer<typeof hostResourceUsageSnapshotResultResponseSchema>;
|
|
3951
5165
|
export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5166
|
+
type: z.ZodLiteral<"network-capture-batch">;
|
|
5167
|
+
batch: z.ZodObject<{
|
|
5168
|
+
captureId: z.ZodString;
|
|
5169
|
+
records: z.ZodArray<z.ZodObject<{
|
|
5170
|
+
timestamp: z.ZodNumber;
|
|
5171
|
+
processType: z.ZodEnum<{
|
|
5172
|
+
main: "main";
|
|
5173
|
+
renderer: "renderer";
|
|
5174
|
+
host: "host";
|
|
5175
|
+
cli: "cli";
|
|
5176
|
+
}>;
|
|
5177
|
+
pid: z.ZodNumber;
|
|
5178
|
+
method: z.ZodString;
|
|
5179
|
+
url: z.ZodString;
|
|
5180
|
+
}, z.core.$strict>>;
|
|
5181
|
+
dropped: z.ZodNumber;
|
|
5182
|
+
}, z.core.$strict>;
|
|
5183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3952
5184
|
type: z.ZodLiteral<"database-startup-state">;
|
|
3953
5185
|
state: z.ZodObject<{
|
|
3954
5186
|
disk: z.ZodArray<z.ZodObject<{
|
|
@@ -3972,19 +5204,19 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3972
5204
|
startedAt: z.ZodNumber;
|
|
3973
5205
|
updatedAt: z.ZodNumber;
|
|
3974
5206
|
phase: z.ZodEnum<{
|
|
3975
|
-
failed: "failed";
|
|
3976
5207
|
ready: "ready";
|
|
5208
|
+
failed: "failed";
|
|
3977
5209
|
starting: "starting";
|
|
3978
5210
|
preparing_host_storage: "preparing_host_storage";
|
|
3979
5211
|
preparing_session_storage: "preparing_session_storage";
|
|
3980
5212
|
starting_services: "starting_services";
|
|
3981
5213
|
}>;
|
|
3982
5214
|
databasePhase: z.ZodOptional<z.ZodEnum<{
|
|
3983
|
-
ready: "ready";
|
|
3984
5215
|
checking: "checking";
|
|
3985
5216
|
waiting_for_lock: "waiting_for_lock";
|
|
3986
5217
|
migrating: "migrating";
|
|
3987
5218
|
committing: "committing";
|
|
5219
|
+
ready: "ready";
|
|
3988
5220
|
maintaining: "maintaining";
|
|
3989
5221
|
}>>;
|
|
3990
5222
|
migration: z.ZodOptional<z.ZodObject<{
|
|
@@ -4017,8 +5249,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4017
5249
|
}, z.core.$strict>>>;
|
|
4018
5250
|
finalDatabase: z.ZodOptional<z.ZodBoolean>;
|
|
4019
5251
|
failedPhase: z.ZodOptional<z.ZodEnum<{
|
|
4020
|
-
failed: "failed";
|
|
4021
5252
|
ready: "ready";
|
|
5253
|
+
failed: "failed";
|
|
4022
5254
|
starting: "starting";
|
|
4023
5255
|
preparing_host_storage: "preparing_host_storage";
|
|
4024
5256
|
preparing_session_storage: "preparing_session_storage";
|
|
@@ -4093,6 +5325,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4093
5325
|
}, z.core.$strip>, z.ZodObject<{
|
|
4094
5326
|
kind: z.ZodLiteral<"docker">;
|
|
4095
5327
|
container: z.ZodString;
|
|
5328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5329
|
+
kind: z.ZodLiteral<"server">;
|
|
5330
|
+
url: z.ZodString;
|
|
5331
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5332
|
+
token: z.ZodOptional<z.ZodString>;
|
|
5333
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
5334
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
4096
5335
|
}, z.core.$strip>], "kind">;
|
|
4097
5336
|
workspacePath: z.ZodOptional<z.ZodString>;
|
|
4098
5337
|
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
@@ -4222,9 +5461,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4222
5461
|
environmentKey: z.ZodOptional<z.ZodString>;
|
|
4223
5462
|
sample: z.ZodObject<{
|
|
4224
5463
|
platform: z.ZodEnum<{
|
|
4225
|
-
darwin: "darwin";
|
|
4226
5464
|
aix: "aix";
|
|
4227
5465
|
android: "android";
|
|
5466
|
+
darwin: "darwin";
|
|
4228
5467
|
freebsd: "freebsd";
|
|
4229
5468
|
haiku: "haiku";
|
|
4230
5469
|
linux: "linux";
|
|
@@ -4293,9 +5532,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4293
5532
|
}>;
|
|
4294
5533
|
occurredAt: z.ZodNumber;
|
|
4295
5534
|
platform: z.ZodEnum<{
|
|
4296
|
-
darwin: "darwin";
|
|
4297
5535
|
aix: "aix";
|
|
4298
5536
|
android: "android";
|
|
5537
|
+
darwin: "darwin";
|
|
4299
5538
|
freebsd: "freebsd";
|
|
4300
5539
|
haiku: "haiku";
|
|
4301
5540
|
linux: "linux";
|
|
@@ -4308,13 +5547,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4308
5547
|
mcpId: z.ZodString;
|
|
4309
5548
|
mcpInstanceId: z.ZodString;
|
|
4310
5549
|
mcpIsolation: z.ZodEnum<{
|
|
4311
|
-
workspace: "workspace";
|
|
4312
5550
|
session: "session";
|
|
5551
|
+
workspace: "workspace";
|
|
4313
5552
|
}>;
|
|
4314
5553
|
mcpSource: z.ZodEnum<{
|
|
4315
5554
|
custom: "custom";
|
|
4316
|
-
plugin: "plugin";
|
|
4317
5555
|
builtin: "builtin";
|
|
5556
|
+
plugin: "plugin";
|
|
4318
5557
|
}>;
|
|
4319
5558
|
kind: z.ZodLiteral<"process_start">;
|
|
4320
5559
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4334,9 +5573,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4334
5573
|
}>;
|
|
4335
5574
|
occurredAt: z.ZodNumber;
|
|
4336
5575
|
platform: z.ZodEnum<{
|
|
4337
|
-
darwin: "darwin";
|
|
4338
5576
|
aix: "aix";
|
|
4339
5577
|
android: "android";
|
|
5578
|
+
darwin: "darwin";
|
|
4340
5579
|
freebsd: "freebsd";
|
|
4341
5580
|
haiku: "haiku";
|
|
4342
5581
|
linux: "linux";
|
|
@@ -4353,13 +5592,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4353
5592
|
mcpId: z.ZodString;
|
|
4354
5593
|
mcpInstanceId: z.ZodString;
|
|
4355
5594
|
mcpIsolation: z.ZodEnum<{
|
|
4356
|
-
workspace: "workspace";
|
|
4357
5595
|
session: "session";
|
|
5596
|
+
workspace: "workspace";
|
|
4358
5597
|
}>;
|
|
4359
5598
|
mcpSource: z.ZodEnum<{
|
|
4360
5599
|
custom: "custom";
|
|
4361
|
-
plugin: "plugin";
|
|
4362
5600
|
builtin: "builtin";
|
|
5601
|
+
plugin: "plugin";
|
|
4363
5602
|
}>;
|
|
4364
5603
|
kind: z.ZodLiteral<"process_crash">;
|
|
4365
5604
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4379,9 +5618,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4379
5618
|
}>;
|
|
4380
5619
|
occurredAt: z.ZodNumber;
|
|
4381
5620
|
platform: z.ZodEnum<{
|
|
4382
|
-
darwin: "darwin";
|
|
4383
5621
|
aix: "aix";
|
|
4384
5622
|
android: "android";
|
|
5623
|
+
darwin: "darwin";
|
|
4385
5624
|
freebsd: "freebsd";
|
|
4386
5625
|
haiku: "haiku";
|
|
4387
5626
|
linux: "linux";
|
|
@@ -4414,9 +5653,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4414
5653
|
}>;
|
|
4415
5654
|
occurredAt: z.ZodNumber;
|
|
4416
5655
|
platform: z.ZodEnum<{
|
|
4417
|
-
darwin: "darwin";
|
|
4418
5656
|
aix: "aix";
|
|
4419
5657
|
android: "android";
|
|
5658
|
+
darwin: "darwin";
|
|
4420
5659
|
freebsd: "freebsd";
|
|
4421
5660
|
haiku: "haiku";
|
|
4422
5661
|
linux: "linux";
|
|
@@ -4437,13 +5676,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4437
5676
|
mcpId: z.ZodString;
|
|
4438
5677
|
mcpInstanceId: z.ZodString;
|
|
4439
5678
|
mcpIsolation: z.ZodEnum<{
|
|
4440
|
-
workspace: "workspace";
|
|
4441
5679
|
session: "session";
|
|
5680
|
+
workspace: "workspace";
|
|
4442
5681
|
}>;
|
|
4443
5682
|
mcpSource: z.ZodEnum<{
|
|
4444
5683
|
custom: "custom";
|
|
4445
|
-
plugin: "plugin";
|
|
4446
5684
|
builtin: "builtin";
|
|
5685
|
+
plugin: "plugin";
|
|
4447
5686
|
}>;
|
|
4448
5687
|
kind: z.ZodLiteral<"memory">;
|
|
4449
5688
|
}, z.core.$strict>], "kind">;
|
|
@@ -4465,9 +5704,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4465
5704
|
cpuTimeMsDelta: z.ZodNumber;
|
|
4466
5705
|
uptimeMinutes: z.ZodNumber;
|
|
4467
5706
|
platform: z.ZodEnum<{
|
|
4468
|
-
darwin: "darwin";
|
|
4469
5707
|
aix: "aix";
|
|
4470
5708
|
android: "android";
|
|
5709
|
+
darwin: "darwin";
|
|
4471
5710
|
freebsd: "freebsd";
|
|
4472
5711
|
haiku: "haiku";
|
|
4473
5712
|
linux: "linux";
|
|
@@ -4503,9 +5742,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4503
5742
|
sample: z.ZodObject<{
|
|
4504
5743
|
completionToken: z.ZodOptional<z.ZodString>;
|
|
4505
5744
|
platform: z.ZodEnum<{
|
|
4506
|
-
darwin: "darwin";
|
|
4507
5745
|
aix: "aix";
|
|
4508
5746
|
android: "android";
|
|
5747
|
+
darwin: "darwin";
|
|
4509
5748
|
freebsd: "freebsd";
|
|
4510
5749
|
haiku: "haiku";
|
|
4511
5750
|
linux: "linux";
|
|
@@ -4518,8 +5757,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4518
5757
|
toolName: z.ZodLiteral<"bash">;
|
|
4519
5758
|
durationMs: z.ZodNumber;
|
|
4520
5759
|
exitKind: z.ZodEnum<{
|
|
4521
|
-
completed: "completed";
|
|
4522
5760
|
error: "error";
|
|
5761
|
+
completed: "completed";
|
|
4523
5762
|
timeout: "timeout";
|
|
4524
5763
|
killed: "killed";
|
|
4525
5764
|
}>;
|
|
@@ -4549,10 +5788,10 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4549
5788
|
}>;
|
|
4550
5789
|
remote_kind: z.ZodEnum<{
|
|
4551
5790
|
"": "";
|
|
5791
|
+
server: "server";
|
|
4552
5792
|
ssh: "ssh";
|
|
4553
5793
|
wsl: "wsl";
|
|
4554
5794
|
docker: "docker";
|
|
4555
|
-
server: "server";
|
|
4556
5795
|
}>;
|
|
4557
5796
|
create_source: z.ZodEnum<{
|
|
4558
5797
|
automation_idle: "automation_idle";
|
|
@@ -4665,25 +5904,36 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4665
5904
|
createdAt: z.ZodNumber;
|
|
4666
5905
|
updatedAt: z.ZodNumber;
|
|
4667
5906
|
mode: z.ZodEnum<{
|
|
4668
|
-
|
|
5907
|
+
default: "default";
|
|
5908
|
+
auto: "auto";
|
|
4669
5909
|
plan: "plan";
|
|
5910
|
+
build: "build";
|
|
4670
5911
|
edit: "edit";
|
|
4671
|
-
|
|
5912
|
+
yolo: "yolo";
|
|
5913
|
+
guarded: "guarded";
|
|
5914
|
+
acceptEdits: "acceptEdits";
|
|
5915
|
+
dontAsk: "dontAsk";
|
|
5916
|
+
bypassPermissions: "bypassPermissions";
|
|
4672
5917
|
autoEdit: "autoEdit";
|
|
4673
|
-
build: "build";
|
|
4674
5918
|
}>;
|
|
4675
5919
|
model: z.ZodOptional<z.ZodString>;
|
|
4676
5920
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
4677
|
-
provider: z.ZodOptional<z.
|
|
5921
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
5922
|
+
glm: "glm";
|
|
5923
|
+
claude: "claude";
|
|
5924
|
+
opencode: "opencode";
|
|
5925
|
+
gemini: "gemini";
|
|
5926
|
+
codex: "codex";
|
|
5927
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
4678
5928
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
4679
5929
|
claudeCode: "claudeCode";
|
|
4680
5930
|
}>>;
|
|
4681
5931
|
forkedFromTaskId: z.ZodOptional<z.ZodString>;
|
|
4682
5932
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
4683
5933
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5934
|
+
error: "error";
|
|
4684
5935
|
completed: "completed";
|
|
4685
5936
|
running: "running";
|
|
4686
|
-
error: "error";
|
|
4687
5937
|
}>>;
|
|
4688
5938
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
4689
5939
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -4700,21 +5950,21 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4700
5950
|
reason: z.ZodOptional<z.ZodString>;
|
|
4701
5951
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
4702
5952
|
response: "response";
|
|
5953
|
+
connect: "connect";
|
|
4703
5954
|
prepare: "prepare";
|
|
4704
5955
|
configuration: "configuration";
|
|
4705
|
-
connect: "connect";
|
|
4706
5956
|
stream: "stream";
|
|
4707
5957
|
parse: "parse";
|
|
4708
5958
|
validation: "validation";
|
|
4709
5959
|
unhandled: "unhandled";
|
|
4710
5960
|
}>>;
|
|
4711
5961
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
5962
|
+
transport: "transport";
|
|
4712
5963
|
validation: "validation";
|
|
4713
5964
|
api_call: "api_call";
|
|
4714
5965
|
generic: "generic";
|
|
4715
5966
|
protocol: "protocol";
|
|
4716
5967
|
provider_business: "provider_business";
|
|
4717
|
-
transport: "transport";
|
|
4718
5968
|
type_error: "type_error";
|
|
4719
5969
|
}>>;
|
|
4720
5970
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -4919,8 +6169,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4919
6169
|
optionId: z.ZodString;
|
|
4920
6170
|
response: z.ZodObject<{
|
|
4921
6171
|
decision: z.ZodEnum<{
|
|
4922
|
-
deny: "deny";
|
|
4923
6172
|
allow: "allow";
|
|
6173
|
+
deny: "deny";
|
|
4924
6174
|
escalate: "escalate";
|
|
4925
6175
|
modify: "modify";
|
|
4926
6176
|
}>;
|
|
@@ -4929,9 +6179,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4929
6179
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4930
6180
|
type: z.ZodLiteral<"addRules">;
|
|
4931
6181
|
behavior: z.ZodEnum<{
|
|
4932
|
-
deny: "deny";
|
|
4933
|
-
allow: "allow";
|
|
4934
6182
|
ask: "ask";
|
|
6183
|
+
allow: "allow";
|
|
6184
|
+
deny: "deny";
|
|
4935
6185
|
}>;
|
|
4936
6186
|
rules: z.ZodArray<z.ZodObject<{
|
|
4937
6187
|
toolName: z.ZodString;
|
|
@@ -4989,8 +6239,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4989
6239
|
workspaceKey: z.ZodString;
|
|
4990
6240
|
status: z.ZodEnum<{
|
|
4991
6241
|
failed: "failed";
|
|
4992
|
-
running: "running";
|
|
4993
6242
|
accepted: "accepted";
|
|
6243
|
+
running: "running";
|
|
4994
6244
|
}>;
|
|
4995
6245
|
createdAt: z.ZodNumber;
|
|
4996
6246
|
updatedAt: z.ZodNumber;
|
|
@@ -5072,8 +6322,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5072
6322
|
workspaceKey: z.ZodString;
|
|
5073
6323
|
status: z.ZodEnum<{
|
|
5074
6324
|
failed: "failed";
|
|
5075
|
-
running: "running";
|
|
5076
6325
|
accepted: "accepted";
|
|
6326
|
+
running: "running";
|
|
5077
6327
|
}>;
|
|
5078
6328
|
createdAt: z.ZodNumber;
|
|
5079
6329
|
updatedAt: z.ZodNumber;
|
|
@@ -5158,6 +6408,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5158
6408
|
}, z.core.$strip>, z.ZodObject<{
|
|
5159
6409
|
kind: z.ZodLiteral<"docker">;
|
|
5160
6410
|
container: z.ZodString;
|
|
6411
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6412
|
+
kind: z.ZodLiteral<"server">;
|
|
6413
|
+
url: z.ZodString;
|
|
6414
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6415
|
+
token: z.ZodOptional<z.ZodString>;
|
|
6416
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
6417
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
5161
6418
|
}, z.core.$strip>], "kind">;
|
|
5162
6419
|
}, z.core.$strip>, z.ZodObject<{
|
|
5163
6420
|
type: z.ZodLiteral<"bot-remote-workspace-connection-status-request">;
|
|
@@ -5187,6 +6444,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5187
6444
|
}, z.core.$strip>, z.ZodObject<{
|
|
5188
6445
|
kind: z.ZodLiteral<"docker">;
|
|
5189
6446
|
container: z.ZodString;
|
|
6447
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6448
|
+
kind: z.ZodLiteral<"server">;
|
|
6449
|
+
url: z.ZodString;
|
|
6450
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6451
|
+
token: z.ZodOptional<z.ZodString>;
|
|
6452
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
6453
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
5190
6454
|
}, z.core.$strip>], "kind">;
|
|
5191
6455
|
}, z.core.$strip>, z.ZodObject<{
|
|
5192
6456
|
type: z.ZodLiteral<"bot-remote-workspace-runtime-port-request">;
|
|
@@ -5216,6 +6480,13 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5216
6480
|
}, z.core.$strip>, z.ZodObject<{
|
|
5217
6481
|
kind: z.ZodLiteral<"docker">;
|
|
5218
6482
|
container: z.ZodString;
|
|
6483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6484
|
+
kind: z.ZodLiteral<"server">;
|
|
6485
|
+
url: z.ZodString;
|
|
6486
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6487
|
+
token: z.ZodOptional<z.ZodString>;
|
|
6488
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
6489
|
+
serverId: z.ZodOptional<z.ZodString>;
|
|
5219
6490
|
}, z.core.$strip>], "kind">;
|
|
5220
6491
|
}, z.core.$strip>, z.ZodObject<{
|
|
5221
6492
|
type: z.ZodLiteral<"session-message-send-requested">;
|
|
@@ -5240,8 +6511,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5240
6511
|
requestId: z.ZodString;
|
|
5241
6512
|
sessionId: z.ZodString;
|
|
5242
6513
|
status: z.ZodEnum<{
|
|
5243
|
-
failed: "failed";
|
|
5244
6514
|
success: "success";
|
|
6515
|
+
failed: "failed";
|
|
5245
6516
|
}>;
|
|
5246
6517
|
}, z.core.$strip>;
|
|
5247
6518
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5264,8 +6535,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5264
6535
|
"web-remote-replayable": "web-remote-replayable";
|
|
5265
6536
|
}>>;
|
|
5266
6537
|
sessionContext: z.ZodOptional<z.ZodEnum<{
|
|
5267
|
-
cached: "cached";
|
|
5268
6538
|
live: "live";
|
|
6539
|
+
cached: "cached";
|
|
5269
6540
|
}>>;
|
|
5270
6541
|
command: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5271
6542
|
method: z.ZodLiteral<"navigate">;
|
|
@@ -5517,12 +6788,12 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5517
6788
|
selector: z.ZodString;
|
|
5518
6789
|
operation: z.ZodEnum<{
|
|
5519
6790
|
fill: "fill";
|
|
5520
|
-
count: "count";
|
|
5521
6791
|
click: "click";
|
|
5522
6792
|
press: "press";
|
|
5523
6793
|
evaluate: "evaluate";
|
|
5524
6794
|
waitFor: "waitFor";
|
|
5525
6795
|
allTextContents: "allTextContents";
|
|
6796
|
+
count: "count";
|
|
5526
6797
|
dblclick: "dblclick";
|
|
5527
6798
|
downloadMedia: "downloadMedia";
|
|
5528
6799
|
getAttribute: "getAttribute";
|
|
@@ -5557,8 +6828,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5557
6828
|
Shift: "Shift";
|
|
5558
6829
|
}>>>;
|
|
5559
6830
|
state: z.ZodOptional<z.ZodEnum<{
|
|
5560
|
-
visible: "visible";
|
|
5561
6831
|
attached: "attached";
|
|
6832
|
+
visible: "visible";
|
|
5562
6833
|
hidden: "hidden";
|
|
5563
6834
|
detached: "detached";
|
|
5564
6835
|
}>>;
|
|
@@ -5663,8 +6934,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5663
6934
|
type: z.ZodLiteral<"waitFor">;
|
|
5664
6935
|
selector: z.ZodString;
|
|
5665
6936
|
state: z.ZodOptional<z.ZodEnum<{
|
|
5666
|
-
visible: "visible";
|
|
5667
6937
|
attached: "attached";
|
|
6938
|
+
visible: "visible";
|
|
5668
6939
|
hidden: "hidden";
|
|
5669
6940
|
detached: "detached";
|
|
5670
6941
|
}>>;
|
|
@@ -5719,6 +6990,7 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5719
6990
|
turnId: z.ZodOptional<z.ZodString>;
|
|
5720
6991
|
}, z.core.$strict>, z.ZodObject<{
|
|
5721
6992
|
method: z.ZodLiteral<"closeSession">;
|
|
6993
|
+
closeTabs: z.ZodOptional<z.ZodBoolean>;
|
|
5722
6994
|
}, z.core.$strict>, z.ZodObject<{
|
|
5723
6995
|
method: z.ZodLiteral<"cancelRequest">;
|
|
5724
6996
|
requestId: z.ZodString;
|
|
@@ -5732,6 +7004,44 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5732
7004
|
type: z.ZodLiteral<"local-media-preview-path-authorize-request">;
|
|
5733
7005
|
requestId: z.ZodString;
|
|
5734
7006
|
path: z.ZodString;
|
|
7007
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7008
|
+
type: z.ZodLiteral<"plugin-sandbox-register-request">;
|
|
7009
|
+
instance: z.ZodObject<{
|
|
7010
|
+
runtimeId: z.ZodString;
|
|
7011
|
+
generation: z.ZodNumber;
|
|
7012
|
+
appIdentity: z.ZodString;
|
|
7013
|
+
token: z.ZodString;
|
|
7014
|
+
}, z.core.$strict>;
|
|
7015
|
+
requestId: z.ZodString;
|
|
7016
|
+
workspacePath: z.ZodOptional<z.ZodString>;
|
|
7017
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
7018
|
+
ownerWebContentsId: z.ZodNumber;
|
|
7019
|
+
sessionId: z.ZodString;
|
|
7020
|
+
contentKind: z.ZodOptional<z.ZodLiteral<"gen-ui">>;
|
|
7021
|
+
pluginId: z.ZodOptional<z.ZodString>;
|
|
7022
|
+
serverName: z.ZodOptional<z.ZodString>;
|
|
7023
|
+
scopeId: z.ZodString;
|
|
7024
|
+
html: z.ZodString;
|
|
7025
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
7026
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7027
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7028
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7029
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7030
|
+
}, z.core.$strict>>;
|
|
7031
|
+
cspRelaxations: z.ZodOptional<z.ZodObject<{
|
|
7032
|
+
unsafeEval: z.ZodOptional<z.ZodBoolean>;
|
|
7033
|
+
wasmUnsafeEval: z.ZodOptional<z.ZodBoolean>;
|
|
7034
|
+
}, z.core.$strict>>;
|
|
7035
|
+
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
7036
|
+
camera: "camera";
|
|
7037
|
+
microphone: "microphone";
|
|
7038
|
+
geolocation: "geolocation";
|
|
7039
|
+
clipboardWrite: "clipboardWrite";
|
|
7040
|
+
}>>>;
|
|
7041
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
7042
|
+
heightHint: z.ZodOptional<z.ZodNumber>;
|
|
7043
|
+
minFrameHeight: z.ZodOptional<z.ZodNumber>;
|
|
7044
|
+
showInline: z.ZodOptional<z.ZodBoolean>;
|
|
5735
7045
|
}, z.core.$strict>, z.ZodObject<{
|
|
5736
7046
|
type: z.ZodLiteral<"network-telemetry-batch">;
|
|
5737
7047
|
observations: z.ZodArray<z.ZodObject<{
|
|
@@ -5755,10 +7065,10 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5755
7065
|
}, z.core.$strip>, z.ZodObject<{
|
|
5756
7066
|
type: z.ZodLiteral<"provider-provisioning-source-changed">;
|
|
5757
7067
|
trigger: z.ZodEnum<{
|
|
5758
|
-
credential: "credential";
|
|
5759
7068
|
"personal-config": "personal-config";
|
|
5760
7069
|
"configured-default": "configured-default";
|
|
5761
7070
|
"account-settings": "account-settings";
|
|
7071
|
+
credential: "credential";
|
|
5762
7072
|
}>;
|
|
5763
7073
|
}, z.core.$strict>, z.ZodObject<{
|
|
5764
7074
|
type: z.ZodLiteral<"provider-provisioning-execution-result">;
|
|
@@ -5766,12 +7076,23 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5766
7076
|
environmentKey: z.ZodString;
|
|
5767
7077
|
status: z.ZodEnum<{
|
|
5768
7078
|
failed: "failed";
|
|
5769
|
-
applied: "applied";
|
|
5770
7079
|
unsupported: "unsupported";
|
|
7080
|
+
applied: "applied";
|
|
5771
7081
|
"already-applied": "already-applied";
|
|
5772
7082
|
rollback_failed: "rollback_failed";
|
|
5773
7083
|
}>;
|
|
5774
7084
|
error: z.ZodOptional<z.ZodString>;
|
|
7085
|
+
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
7086
|
+
"source-read-failed": "source-read-failed";
|
|
7087
|
+
"target-call-failed": "target-call-failed";
|
|
7088
|
+
"target-write-failed": "target-write-failed";
|
|
7089
|
+
"target-refresh-failed": "target-refresh-failed";
|
|
7090
|
+
"target-commit-failed": "target-commit-failed";
|
|
7091
|
+
"target-apply-failed": "target-apply-failed";
|
|
7092
|
+
"capability-unavailable": "capability-unavailable";
|
|
7093
|
+
"session-unavailable": "session-unavailable";
|
|
7094
|
+
"host-execution-failed": "host-execution-failed";
|
|
7095
|
+
}>>;
|
|
5775
7096
|
}, z.core.$strict>, z.ZodObject<{
|
|
5776
7097
|
type: z.ZodLiteral<"cron-run-result">;
|
|
5777
7098
|
runId: z.ZodString;
|
|
@@ -5802,9 +7123,9 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
5802
7123
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
5803
7124
|
}, z.core.$strip>], "type">;
|
|
5804
7125
|
export declare const dcodeTaskPersistStatusSchema: z.ZodEnum<{
|
|
7126
|
+
error: "error";
|
|
5805
7127
|
completed: "completed";
|
|
5806
7128
|
running: "running";
|
|
5807
|
-
error: "error";
|
|
5808
7129
|
}>;
|
|
5809
7130
|
export declare const dcodePromptImageAttachmentSchema: z.ZodObject<{
|
|
5810
7131
|
kind: z.ZodLiteral<"image">;
|
|
@@ -5874,10 +7195,10 @@ export declare const dcodePersistedToolCallSchema: z.ZodObject<{
|
|
|
5874
7195
|
title: z.ZodOptional<z.ZodString>;
|
|
5875
7196
|
kind: z.ZodOptional<z.ZodString>;
|
|
5876
7197
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5877
|
-
completed: "completed";
|
|
5878
7198
|
failed: "failed";
|
|
5879
|
-
|
|
7199
|
+
completed: "completed";
|
|
5880
7200
|
denied: "denied";
|
|
7201
|
+
stopped: "stopped";
|
|
5881
7202
|
}>>;
|
|
5882
7203
|
input: z.ZodUnknown;
|
|
5883
7204
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -5946,10 +7267,10 @@ export declare const dcodePersistedMessageSchema: z.ZodObject<{
|
|
|
5946
7267
|
title: z.ZodOptional<z.ZodString>;
|
|
5947
7268
|
kind: z.ZodOptional<z.ZodString>;
|
|
5948
7269
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5949
|
-
completed: "completed";
|
|
5950
7270
|
failed: "failed";
|
|
5951
|
-
|
|
7271
|
+
completed: "completed";
|
|
5952
7272
|
denied: "denied";
|
|
7273
|
+
stopped: "stopped";
|
|
5953
7274
|
}>>;
|
|
5954
7275
|
input: z.ZodUnknown;
|
|
5955
7276
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -5990,8 +7311,8 @@ export declare const dcodePersistedMessageSchema: z.ZodObject<{
|
|
|
5990
7311
|
turnIndex: z.ZodOptional<z.ZodNumber>;
|
|
5991
7312
|
bodyRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5992
7313
|
field: z.ZodEnum<{
|
|
5993
|
-
thought: "thought";
|
|
5994
7314
|
content: "content";
|
|
7315
|
+
thought: "thought";
|
|
5995
7316
|
}>;
|
|
5996
7317
|
refId: z.ZodString;
|
|
5997
7318
|
hash: z.ZodString;
|
|
@@ -6006,15 +7327,15 @@ export declare const dcodePersistedMessageSchema: z.ZodObject<{
|
|
|
6006
7327
|
}, z.core.$strip>>;
|
|
6007
7328
|
}, z.core.$strip>;
|
|
6008
7329
|
export declare const dcodeTaskGoalStatusSchema: z.ZodEnum<{
|
|
6009
|
-
active: "active";
|
|
6010
7330
|
paused: "paused";
|
|
6011
|
-
|
|
7331
|
+
active: "active";
|
|
6012
7332
|
budget_limited: "budget_limited";
|
|
7333
|
+
complete: "complete";
|
|
6013
7334
|
}>;
|
|
6014
7335
|
export declare const dcodeTaskTargetChangedActionSchema: z.ZodEnum<{
|
|
6015
7336
|
set: "set";
|
|
6016
|
-
cleared: "cleared";
|
|
6017
7337
|
status_updated: "status_updated";
|
|
7338
|
+
cleared: "cleared";
|
|
6018
7339
|
usage_accounted: "usage_accounted";
|
|
6019
7340
|
run_started: "run_started";
|
|
6020
7341
|
run_finished: "run_finished";
|
|
@@ -6031,10 +7352,10 @@ export declare const dcodeTaskGoalSchema: z.ZodObject<{
|
|
|
6031
7352
|
objective: z.ZodString;
|
|
6032
7353
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6033
7354
|
status: z.ZodEnum<{
|
|
6034
|
-
active: "active";
|
|
6035
7355
|
paused: "paused";
|
|
6036
|
-
|
|
7356
|
+
active: "active";
|
|
6037
7357
|
budget_limited: "budget_limited";
|
|
7358
|
+
complete: "complete";
|
|
6038
7359
|
}>;
|
|
6039
7360
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6040
7361
|
tokensUsed: z.ZodNumber;
|
|
@@ -6050,8 +7371,8 @@ export declare const dcodeTaskGoalSchema: z.ZodObject<{
|
|
|
6050
7371
|
export declare const dcodeTaskGoalChangedPatchSchema: z.ZodObject<{
|
|
6051
7372
|
action: z.ZodEnum<{
|
|
6052
7373
|
set: "set";
|
|
6053
|
-
cleared: "cleared";
|
|
6054
7374
|
status_updated: "status_updated";
|
|
7375
|
+
cleared: "cleared";
|
|
6055
7376
|
usage_accounted: "usage_accounted";
|
|
6056
7377
|
run_started: "run_started";
|
|
6057
7378
|
run_finished: "run_finished";
|
|
@@ -6068,10 +7389,10 @@ export declare const dcodeTaskGoalChangedPatchSchema: z.ZodObject<{
|
|
|
6068
7389
|
objective: z.ZodString;
|
|
6069
7390
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6070
7391
|
status: z.ZodEnum<{
|
|
6071
|
-
active: "active";
|
|
6072
7392
|
paused: "paused";
|
|
6073
|
-
|
|
7393
|
+
active: "active";
|
|
6074
7394
|
budget_limited: "budget_limited";
|
|
7395
|
+
complete: "complete";
|
|
6075
7396
|
}>;
|
|
6076
7397
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6077
7398
|
tokensUsed: z.ZodNumber;
|
|
@@ -6090,10 +7411,10 @@ export declare const dcodeTaskGoalChangedPatchSchema: z.ZodObject<{
|
|
|
6090
7411
|
objective: z.ZodString;
|
|
6091
7412
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6092
7413
|
status: z.ZodEnum<{
|
|
6093
|
-
active: "active";
|
|
6094
7414
|
paused: "paused";
|
|
6095
|
-
|
|
7415
|
+
active: "active";
|
|
6096
7416
|
budget_limited: "budget_limited";
|
|
7417
|
+
complete: "complete";
|
|
6097
7418
|
}>;
|
|
6098
7419
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6099
7420
|
tokensUsed: z.ZodNumber;
|
|
@@ -6108,10 +7429,10 @@ export declare const dcodeTaskGoalChangedPatchSchema: z.ZodObject<{
|
|
|
6108
7429
|
}, z.core.$strip>>>;
|
|
6109
7430
|
}, z.core.$strip>;
|
|
6110
7431
|
export declare const dcodeTaskTargetStatusSchema: z.ZodEnum<{
|
|
6111
|
-
active: "active";
|
|
6112
7432
|
paused: "paused";
|
|
6113
|
-
|
|
7433
|
+
active: "active";
|
|
6114
7434
|
budget_limited: "budget_limited";
|
|
7435
|
+
complete: "complete";
|
|
6115
7436
|
}>;
|
|
6116
7437
|
export declare const dcodeTaskTargetSchema: z.ZodObject<{
|
|
6117
7438
|
sessionID: z.ZodString;
|
|
@@ -6119,10 +7440,10 @@ export declare const dcodeTaskTargetSchema: z.ZodObject<{
|
|
|
6119
7440
|
objective: z.ZodString;
|
|
6120
7441
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6121
7442
|
status: z.ZodEnum<{
|
|
6122
|
-
active: "active";
|
|
6123
7443
|
paused: "paused";
|
|
6124
|
-
|
|
7444
|
+
active: "active";
|
|
6125
7445
|
budget_limited: "budget_limited";
|
|
7446
|
+
complete: "complete";
|
|
6126
7447
|
}>;
|
|
6127
7448
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6128
7449
|
tokensUsed: z.ZodNumber;
|
|
@@ -6138,8 +7459,8 @@ export declare const dcodeTaskTargetSchema: z.ZodObject<{
|
|
|
6138
7459
|
export declare const dcodeTaskTargetChangedPatchSchema: z.ZodObject<{
|
|
6139
7460
|
action: z.ZodEnum<{
|
|
6140
7461
|
set: "set";
|
|
6141
|
-
cleared: "cleared";
|
|
6142
7462
|
status_updated: "status_updated";
|
|
7463
|
+
cleared: "cleared";
|
|
6143
7464
|
usage_accounted: "usage_accounted";
|
|
6144
7465
|
run_started: "run_started";
|
|
6145
7466
|
run_finished: "run_finished";
|
|
@@ -6156,10 +7477,10 @@ export declare const dcodeTaskTargetChangedPatchSchema: z.ZodObject<{
|
|
|
6156
7477
|
objective: z.ZodString;
|
|
6157
7478
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6158
7479
|
status: z.ZodEnum<{
|
|
6159
|
-
active: "active";
|
|
6160
7480
|
paused: "paused";
|
|
6161
|
-
|
|
7481
|
+
active: "active";
|
|
6162
7482
|
budget_limited: "budget_limited";
|
|
7483
|
+
complete: "complete";
|
|
6163
7484
|
}>;
|
|
6164
7485
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6165
7486
|
tokensUsed: z.ZodNumber;
|
|
@@ -6178,10 +7499,10 @@ export declare const dcodeTaskTargetChangedPatchSchema: z.ZodObject<{
|
|
|
6178
7499
|
objective: z.ZodString;
|
|
6179
7500
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6180
7501
|
status: z.ZodEnum<{
|
|
6181
|
-
active: "active";
|
|
6182
7502
|
paused: "paused";
|
|
6183
|
-
|
|
7503
|
+
active: "active";
|
|
6184
7504
|
budget_limited: "budget_limited";
|
|
7505
|
+
complete: "complete";
|
|
6185
7506
|
}>;
|
|
6186
7507
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6187
7508
|
tokensUsed: z.ZodNumber;
|
|
@@ -6209,17 +7530,28 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6209
7530
|
createdAt: z.ZodNumber;
|
|
6210
7531
|
updatedAt: z.ZodNumber;
|
|
6211
7532
|
mode: z.ZodEnum<{
|
|
6212
|
-
|
|
7533
|
+
default: "default";
|
|
7534
|
+
auto: "auto";
|
|
6213
7535
|
plan: "plan";
|
|
7536
|
+
build: "build";
|
|
6214
7537
|
edit: "edit";
|
|
6215
|
-
|
|
7538
|
+
yolo: "yolo";
|
|
7539
|
+
guarded: "guarded";
|
|
7540
|
+
acceptEdits: "acceptEdits";
|
|
7541
|
+
dontAsk: "dontAsk";
|
|
7542
|
+
bypassPermissions: "bypassPermissions";
|
|
6216
7543
|
autoEdit: "autoEdit";
|
|
6217
|
-
build: "build";
|
|
6218
7544
|
}>;
|
|
6219
7545
|
model: z.ZodOptional<z.ZodString>;
|
|
6220
7546
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
6221
7547
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
6222
|
-
provider: z.ZodOptional<z.
|
|
7548
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
7549
|
+
glm: "glm";
|
|
7550
|
+
claude: "claude";
|
|
7551
|
+
opencode: "opencode";
|
|
7552
|
+
gemini: "gemini";
|
|
7553
|
+
codex: "codex";
|
|
7554
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
6223
7555
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
6224
7556
|
claudeCode: "claudeCode";
|
|
6225
7557
|
}>>;
|
|
@@ -6228,9 +7560,9 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6228
7560
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
6229
7561
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
6230
7562
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7563
|
+
error: "error";
|
|
6231
7564
|
completed: "completed";
|
|
6232
7565
|
running: "running";
|
|
6233
|
-
error: "error";
|
|
6234
7566
|
}>>;
|
|
6235
7567
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
6236
7568
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -6248,21 +7580,21 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6248
7580
|
reason: z.ZodOptional<z.ZodString>;
|
|
6249
7581
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
6250
7582
|
response: "response";
|
|
7583
|
+
connect: "connect";
|
|
6251
7584
|
prepare: "prepare";
|
|
6252
7585
|
configuration: "configuration";
|
|
6253
|
-
connect: "connect";
|
|
6254
7586
|
stream: "stream";
|
|
6255
7587
|
parse: "parse";
|
|
6256
7588
|
validation: "validation";
|
|
6257
7589
|
unhandled: "unhandled";
|
|
6258
7590
|
}>>;
|
|
6259
7591
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
7592
|
+
transport: "transport";
|
|
6260
7593
|
validation: "validation";
|
|
6261
7594
|
api_call: "api_call";
|
|
6262
7595
|
generic: "generic";
|
|
6263
7596
|
protocol: "protocol";
|
|
6264
7597
|
provider_business: "provider_business";
|
|
6265
|
-
transport: "transport";
|
|
6266
7598
|
type_error: "type_error";
|
|
6267
7599
|
}>>;
|
|
6268
7600
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -6278,6 +7610,10 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6278
7610
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6279
7611
|
}, z.core.$strict>>;
|
|
6280
7612
|
}, z.core.$strip>>;
|
|
7613
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
7614
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
7615
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
7616
|
+
}, z.core.$strip>>;
|
|
6281
7617
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
6282
7618
|
fileCount: z.ZodNumber;
|
|
6283
7619
|
added: z.ZodNumber;
|
|
@@ -6296,10 +7632,10 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6296
7632
|
objective: z.ZodString;
|
|
6297
7633
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6298
7634
|
status: z.ZodEnum<{
|
|
6299
|
-
active: "active";
|
|
6300
7635
|
paused: "paused";
|
|
6301
|
-
|
|
7636
|
+
active: "active";
|
|
6302
7637
|
budget_limited: "budget_limited";
|
|
7638
|
+
complete: "complete";
|
|
6303
7639
|
}>;
|
|
6304
7640
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6305
7641
|
tokensUsed: z.ZodNumber;
|
|
@@ -6313,6 +7649,31 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6313
7649
|
}, z.core.$strip>;
|
|
6314
7650
|
}, z.core.$strip>>>;
|
|
6315
7651
|
}, z.core.$strip>;
|
|
7652
|
+
export declare const dcodeTaskSessionBindingStateSchema: z.ZodEnum<{
|
|
7653
|
+
ready: "ready";
|
|
7654
|
+
failed: "failed";
|
|
7655
|
+
idle: "idle";
|
|
7656
|
+
stale: "stale";
|
|
7657
|
+
syncing: "syncing";
|
|
7658
|
+
}>;
|
|
7659
|
+
export declare const dcodeTaskSessionBindingSchema: z.ZodObject<{
|
|
7660
|
+
provider: z.ZodPipe<z.ZodEnum<{
|
|
7661
|
+
glm: "glm";
|
|
7662
|
+
claude: "claude";
|
|
7663
|
+
opencode: "opencode";
|
|
7664
|
+
gemini: "gemini";
|
|
7665
|
+
codex: "codex";
|
|
7666
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>;
|
|
7667
|
+
sessionId: z.ZodString;
|
|
7668
|
+
lastSyncedTurnIndex: z.ZodNumber;
|
|
7669
|
+
state: z.ZodEnum<{
|
|
7670
|
+
ready: "ready";
|
|
7671
|
+
failed: "failed";
|
|
7672
|
+
idle: "idle";
|
|
7673
|
+
stale: "stale";
|
|
7674
|
+
syncing: "syncing";
|
|
7675
|
+
}>;
|
|
7676
|
+
}, z.core.$strip>;
|
|
6316
7677
|
export declare const dcodeTaskIndexEntrySchema: z.ZodObject<{
|
|
6317
7678
|
workspaceHash: z.ZodString;
|
|
6318
7679
|
taskId: z.ZodString;
|
|
@@ -6339,17 +7700,28 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6339
7700
|
createdAt: z.ZodNumber;
|
|
6340
7701
|
updatedAt: z.ZodNumber;
|
|
6341
7702
|
mode: z.ZodEnum<{
|
|
6342
|
-
|
|
7703
|
+
default: "default";
|
|
7704
|
+
auto: "auto";
|
|
6343
7705
|
plan: "plan";
|
|
7706
|
+
build: "build";
|
|
6344
7707
|
edit: "edit";
|
|
6345
|
-
|
|
7708
|
+
yolo: "yolo";
|
|
7709
|
+
guarded: "guarded";
|
|
7710
|
+
acceptEdits: "acceptEdits";
|
|
7711
|
+
dontAsk: "dontAsk";
|
|
7712
|
+
bypassPermissions: "bypassPermissions";
|
|
6346
7713
|
autoEdit: "autoEdit";
|
|
6347
|
-
build: "build";
|
|
6348
7714
|
}>;
|
|
6349
7715
|
model: z.ZodOptional<z.ZodString>;
|
|
6350
7716
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
6351
7717
|
runtimeEpoch: z.ZodOptional<z.ZodNumber>;
|
|
6352
|
-
provider: z.ZodOptional<z.
|
|
7718
|
+
provider: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
7719
|
+
glm: "glm";
|
|
7720
|
+
claude: "claude";
|
|
7721
|
+
opencode: "opencode";
|
|
7722
|
+
gemini: "gemini";
|
|
7723
|
+
codex: "codex";
|
|
7724
|
+
}>, z.ZodTransform<"glm", "glm" | "claude" | "opencode" | "gemini" | "codex">>>;
|
|
6353
7725
|
migrationSource: z.ZodOptional<z.ZodEnum<{
|
|
6354
7726
|
claudeCode: "claudeCode";
|
|
6355
7727
|
}>>;
|
|
@@ -6358,9 +7730,9 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6358
7730
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
6359
7731
|
unreadAt: z.ZodOptional<z.ZodNumber>;
|
|
6360
7732
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7733
|
+
error: "error";
|
|
6361
7734
|
completed: "completed";
|
|
6362
7735
|
running: "running";
|
|
6363
|
-
error: "error";
|
|
6364
7736
|
}>>;
|
|
6365
7737
|
lastError: z.ZodOptional<z.ZodObject<{
|
|
6366
7738
|
code: z.ZodOptional<z.ZodString>;
|
|
@@ -6378,21 +7750,21 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6378
7750
|
reason: z.ZodOptional<z.ZodString>;
|
|
6379
7751
|
errorPhase: z.ZodOptional<z.ZodEnum<{
|
|
6380
7752
|
response: "response";
|
|
7753
|
+
connect: "connect";
|
|
6381
7754
|
prepare: "prepare";
|
|
6382
7755
|
configuration: "configuration";
|
|
6383
|
-
connect: "connect";
|
|
6384
7756
|
stream: "stream";
|
|
6385
7757
|
parse: "parse";
|
|
6386
7758
|
validation: "validation";
|
|
6387
7759
|
unhandled: "unhandled";
|
|
6388
7760
|
}>>;
|
|
6389
7761
|
exceptionKind: z.ZodOptional<z.ZodEnum<{
|
|
7762
|
+
transport: "transport";
|
|
6390
7763
|
validation: "validation";
|
|
6391
7764
|
api_call: "api_call";
|
|
6392
7765
|
generic: "generic";
|
|
6393
7766
|
protocol: "protocol";
|
|
6394
7767
|
provider_business: "provider_business";
|
|
6395
|
-
transport: "transport";
|
|
6396
7768
|
type_error: "type_error";
|
|
6397
7769
|
}>>;
|
|
6398
7770
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -6408,6 +7780,10 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6408
7780
|
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
6409
7781
|
}, z.core.$strict>>;
|
|
6410
7782
|
}, z.core.$strip>>;
|
|
7783
|
+
repairState: z.ZodOptional<z.ZodObject<{
|
|
7784
|
+
claudeNativeSnapshotAssistantContentVersion: z.ZodOptional<z.ZodNumber>;
|
|
7785
|
+
codexNativeSnapshotSubagentToolsVersion: z.ZodOptional<z.ZodNumber>;
|
|
7786
|
+
}, z.core.$strip>>;
|
|
6411
7787
|
changeSummary: z.ZodOptional<z.ZodObject<{
|
|
6412
7788
|
fileCount: z.ZodNumber;
|
|
6413
7789
|
added: z.ZodNumber;
|
|
@@ -6426,10 +7802,10 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6426
7802
|
objective: z.ZodString;
|
|
6427
7803
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6428
7804
|
status: z.ZodEnum<{
|
|
6429
|
-
active: "active";
|
|
6430
7805
|
paused: "paused";
|
|
6431
|
-
|
|
7806
|
+
active: "active";
|
|
6432
7807
|
budget_limited: "budget_limited";
|
|
7808
|
+
complete: "complete";
|
|
6433
7809
|
}>;
|
|
6434
7810
|
tokenBudget: z.ZodNullable<z.ZodNumber>;
|
|
6435
7811
|
tokensUsed: z.ZodNumber;
|
|
@@ -6494,10 +7870,10 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6494
7870
|
title: z.ZodOptional<z.ZodString>;
|
|
6495
7871
|
kind: z.ZodOptional<z.ZodString>;
|
|
6496
7872
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6497
|
-
completed: "completed";
|
|
6498
7873
|
failed: "failed";
|
|
6499
|
-
|
|
7874
|
+
completed: "completed";
|
|
6500
7875
|
denied: "denied";
|
|
7876
|
+
stopped: "stopped";
|
|
6501
7877
|
}>>;
|
|
6502
7878
|
input: z.ZodUnknown;
|
|
6503
7879
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -6538,8 +7914,8 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6538
7914
|
turnIndex: z.ZodOptional<z.ZodNumber>;
|
|
6539
7915
|
bodyRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6540
7916
|
field: z.ZodEnum<{
|
|
6541
|
-
thought: "thought";
|
|
6542
7917
|
content: "content";
|
|
7918
|
+
thought: "thought";
|
|
6543
7919
|
}>;
|
|
6544
7920
|
refId: z.ZodString;
|
|
6545
7921
|
hash: z.ZodString;
|