@dipoleml/dcode-cli 1.1.0 → 1.2.1
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 +59368 -45608
- 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 +6612 -202
- 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 +763 -15
- 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 +351 -47
- 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 +1733 -318
- 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 +359 -28
- 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 +170 -65
- 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 +7145 -1002
- 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 +20 -1
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +98 -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 +41 -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 +1461 -85
- package/node_modules/@dcode/shared/dist/validation.js +423 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +71 -15
- 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 +5118 -2579
- 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">;
|
|
@@ -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,16 +1396,27 @@ export declare const hostTaskRealtimeDeliverMessageSchema: z.ZodObject<{
|
|
|
363
1396
|
createdAt: z.ZodNumber;
|
|
364
1397
|
updatedAt: z.ZodNumber;
|
|
365
1398
|
mode: z.ZodEnum<{
|
|
1399
|
+
default: "default";
|
|
366
1400
|
auto: "auto";
|
|
367
1401
|
plan: "plan";
|
|
368
|
-
|
|
1402
|
+
build: "build";
|
|
369
1403
|
edit: "edit";
|
|
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
|
}>>;
|
|
@@ -391,8 +1435,8 @@ export declare const hostTaskRealtimeDeliverMessageSchema: z.ZodObject<{
|
|
|
391
1435
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
392
1436
|
source: z.ZodOptional<z.ZodEnum<{
|
|
393
1437
|
provider: "provider";
|
|
394
|
-
tool: "tool";
|
|
395
1438
|
runtime: "runtime";
|
|
1439
|
+
tool: "tool";
|
|
396
1440
|
network: "network";
|
|
397
1441
|
}>>;
|
|
398
1442
|
reason: 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>;
|
|
@@ -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<{
|
|
2060
|
+
cancelled: "cancelled";
|
|
1016
2061
|
failed: "failed";
|
|
1017
2062
|
completed: "completed";
|
|
1018
|
-
cancelled: "cancelled";
|
|
1019
2063
|
running: "running";
|
|
1020
2064
|
}>;
|
|
1021
2065
|
phase: z.ZodEnum<{
|
|
2066
|
+
cancelled: "cancelled";
|
|
1022
2067
|
failed: "failed";
|
|
1023
2068
|
completed: "completed";
|
|
1024
|
-
cancelled: "cancelled";
|
|
1025
2069
|
preparing: "preparing";
|
|
1026
2070
|
capturing: "capturing";
|
|
1027
2071
|
finalizing: "finalizing";
|
|
@@ -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<{
|
|
@@ -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,16 +2399,27 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1314
2399
|
createdAt: z.ZodNumber;
|
|
1315
2400
|
updatedAt: z.ZodNumber;
|
|
1316
2401
|
mode: z.ZodEnum<{
|
|
2402
|
+
default: "default";
|
|
1317
2403
|
auto: "auto";
|
|
1318
2404
|
plan: "plan";
|
|
1319
|
-
|
|
2405
|
+
build: "build";
|
|
1320
2406
|
edit: "edit";
|
|
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
|
}>>;
|
|
@@ -1342,8 +2438,8 @@ export declare const hostIncomingMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
1342
2438
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
1343
2439
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1344
2440
|
provider: "provider";
|
|
1345
|
-
tool: "tool";
|
|
1346
2441
|
runtime: "runtime";
|
|
2442
|
+
tool: "tool";
|
|
1347
2443
|
network: "network";
|
|
1348
2444
|
}>>;
|
|
1349
2445
|
reason: 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<{
|
|
@@ -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<{
|
|
3030
|
+
cancelled: "cancelled";
|
|
1934
3031
|
failed: "failed";
|
|
1935
3032
|
completed: "completed";
|
|
1936
|
-
cancelled: "cancelled";
|
|
1937
3033
|
running: "running";
|
|
1938
3034
|
}>;
|
|
1939
3035
|
phase: z.ZodEnum<{
|
|
3036
|
+
cancelled: "cancelled";
|
|
1940
3037
|
failed: "failed";
|
|
1941
3038
|
completed: "completed";
|
|
1942
|
-
cancelled: "cancelled";
|
|
1943
3039
|
preparing: "preparing";
|
|
1944
3040
|
capturing: "capturing";
|
|
1945
3041
|
finalizing: "finalizing";
|
|
@@ -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<{
|
|
@@ -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>;
|
|
@@ -2462,8 +3592,8 @@ 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";
|
|
@@ -2507,8 +3637,8 @@ 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";
|
|
@@ -2591,8 +3721,8 @@ 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";
|
|
@@ -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,16 +3871,27 @@ export declare const hostTaskRealtimePublishResponseSchema: z.ZodObject<{
|
|
|
2741
3871
|
createdAt: z.ZodNumber;
|
|
2742
3872
|
updatedAt: z.ZodNumber;
|
|
2743
3873
|
mode: z.ZodEnum<{
|
|
3874
|
+
default: "default";
|
|
2744
3875
|
auto: "auto";
|
|
2745
3876
|
plan: "plan";
|
|
2746
|
-
|
|
3877
|
+
build: "build";
|
|
2747
3878
|
edit: "edit";
|
|
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
|
}>>;
|
|
@@ -2769,8 +3910,8 @@ export declare const hostTaskRealtimePublishResponseSchema: z.ZodObject<{
|
|
|
2769
3910
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2770
3911
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2771
3912
|
provider: "provider";
|
|
2772
|
-
tool: "tool";
|
|
2773
3913
|
runtime: "runtime";
|
|
3914
|
+
tool: "tool";
|
|
2774
3915
|
network: "network";
|
|
2775
3916
|
}>>;
|
|
2776
3917
|
reason: 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>;
|
|
@@ -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";
|
|
@@ -3915,6 +5118,17 @@ export declare const hostProviderProvisioningExecutionResultResponseSchema: z.Zo
|
|
|
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>;
|
|
@@ -4308,8 +5547,8 @@ 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";
|
|
@@ -4353,8 +5592,8 @@ 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";
|
|
@@ -4437,8 +5676,8 @@ 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";
|
|
@@ -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,16 +5904,27 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4665
5904
|
createdAt: z.ZodNumber;
|
|
4666
5905
|
updatedAt: z.ZodNumber;
|
|
4667
5906
|
mode: z.ZodEnum<{
|
|
5907
|
+
default: "default";
|
|
4668
5908
|
auto: "auto";
|
|
4669
5909
|
plan: "plan";
|
|
4670
|
-
|
|
5910
|
+
build: "build";
|
|
4671
5911
|
edit: "edit";
|
|
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
|
}>>;
|
|
@@ -4693,8 +5943,8 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4693
5943
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
4694
5944
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4695
5945
|
provider: "provider";
|
|
4696
|
-
tool: "tool";
|
|
4697
5946
|
runtime: "runtime";
|
|
5947
|
+
tool: "tool";
|
|
4698
5948
|
network: "network";
|
|
4699
5949
|
}>>;
|
|
4700
5950
|
reason: 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<{
|
|
@@ -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<{
|
|
@@ -5772,6 +7082,17 @@ export declare const hostResponseMessageSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
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;
|
|
@@ -5876,8 +7197,8 @@ export declare const dcodePersistedToolCallSchema: z.ZodObject<{
|
|
|
5876
7197
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5877
7198
|
failed: "failed";
|
|
5878
7199
|
completed: "completed";
|
|
5879
|
-
stopped: "stopped";
|
|
5880
7200
|
denied: "denied";
|
|
7201
|
+
stopped: "stopped";
|
|
5881
7202
|
}>>;
|
|
5882
7203
|
input: z.ZodUnknown;
|
|
5883
7204
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -5948,8 +7269,8 @@ export declare const dcodePersistedMessageSchema: z.ZodObject<{
|
|
|
5948
7269
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5949
7270
|
failed: "failed";
|
|
5950
7271
|
completed: "completed";
|
|
5951
|
-
stopped: "stopped";
|
|
5952
7272
|
denied: "denied";
|
|
7273
|
+
stopped: "stopped";
|
|
5953
7274
|
}>>;
|
|
5954
7275
|
input: z.ZodUnknown;
|
|
5955
7276
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -6006,8 +7327,8 @@ 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";
|
|
7331
|
+
active: "active";
|
|
6011
7332
|
budget_limited: "budget_limited";
|
|
6012
7333
|
complete: "complete";
|
|
6013
7334
|
}>;
|
|
@@ -6022,8 +7343,8 @@ export declare const dcodeTaskTargetChangedActionSchema: z.ZodEnum<{
|
|
|
6022
7343
|
}>;
|
|
6023
7344
|
export declare const dcodeTaskTargetChangedSourceSchema: z.ZodEnum<{
|
|
6024
7345
|
command: "command";
|
|
6025
|
-
tool: "tool";
|
|
6026
7346
|
runtime: "runtime";
|
|
7347
|
+
tool: "tool";
|
|
6027
7348
|
}>;
|
|
6028
7349
|
export declare const dcodeTaskGoalSchema: z.ZodObject<{
|
|
6029
7350
|
sessionID: z.ZodString;
|
|
@@ -6031,8 +7352,8 @@ 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";
|
|
7356
|
+
active: "active";
|
|
6036
7357
|
budget_limited: "budget_limited";
|
|
6037
7358
|
complete: "complete";
|
|
6038
7359
|
}>;
|
|
@@ -6059,8 +7380,8 @@ export declare const dcodeTaskGoalChangedPatchSchema: z.ZodObject<{
|
|
|
6059
7380
|
}>;
|
|
6060
7381
|
source: z.ZodEnum<{
|
|
6061
7382
|
command: "command";
|
|
6062
|
-
tool: "tool";
|
|
6063
7383
|
runtime: "runtime";
|
|
7384
|
+
tool: "tool";
|
|
6064
7385
|
}>;
|
|
6065
7386
|
target: z.ZodNullable<z.ZodObject<{
|
|
6066
7387
|
sessionID: z.ZodString;
|
|
@@ -6068,8 +7389,8 @@ 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";
|
|
7393
|
+
active: "active";
|
|
6073
7394
|
budget_limited: "budget_limited";
|
|
6074
7395
|
complete: "complete";
|
|
6075
7396
|
}>;
|
|
@@ -6090,8 +7411,8 @@ 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";
|
|
7415
|
+
active: "active";
|
|
6095
7416
|
budget_limited: "budget_limited";
|
|
6096
7417
|
complete: "complete";
|
|
6097
7418
|
}>;
|
|
@@ -6108,8 +7429,8 @@ 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";
|
|
7433
|
+
active: "active";
|
|
6113
7434
|
budget_limited: "budget_limited";
|
|
6114
7435
|
complete: "complete";
|
|
6115
7436
|
}>;
|
|
@@ -6119,8 +7440,8 @@ 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";
|
|
7444
|
+
active: "active";
|
|
6124
7445
|
budget_limited: "budget_limited";
|
|
6125
7446
|
complete: "complete";
|
|
6126
7447
|
}>;
|
|
@@ -6147,8 +7468,8 @@ export declare const dcodeTaskTargetChangedPatchSchema: z.ZodObject<{
|
|
|
6147
7468
|
}>;
|
|
6148
7469
|
source: z.ZodEnum<{
|
|
6149
7470
|
command: "command";
|
|
6150
|
-
tool: "tool";
|
|
6151
7471
|
runtime: "runtime";
|
|
7472
|
+
tool: "tool";
|
|
6152
7473
|
}>;
|
|
6153
7474
|
target: z.ZodNullable<z.ZodObject<{
|
|
6154
7475
|
sessionID: z.ZodString;
|
|
@@ -6156,8 +7477,8 @@ 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";
|
|
7481
|
+
active: "active";
|
|
6161
7482
|
budget_limited: "budget_limited";
|
|
6162
7483
|
complete: "complete";
|
|
6163
7484
|
}>;
|
|
@@ -6178,8 +7499,8 @@ 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";
|
|
7503
|
+
active: "active";
|
|
6183
7504
|
budget_limited: "budget_limited";
|
|
6184
7505
|
complete: "complete";
|
|
6185
7506
|
}>;
|
|
@@ -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<{
|
|
7533
|
+
default: "default";
|
|
6212
7534
|
auto: "auto";
|
|
6213
7535
|
plan: "plan";
|
|
6214
|
-
|
|
7536
|
+
build: "build";
|
|
6215
7537
|
edit: "edit";
|
|
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
|
}>>;
|
|
@@ -6241,8 +7573,8 @@ export declare const dcodeTaskMetaSchema: z.ZodObject<{
|
|
|
6241
7573
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
6242
7574
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6243
7575
|
provider: "provider";
|
|
6244
|
-
tool: "tool";
|
|
6245
7576
|
runtime: "runtime";
|
|
7577
|
+
tool: "tool";
|
|
6246
7578
|
network: "network";
|
|
6247
7579
|
}>>;
|
|
6248
7580
|
reason: 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,8 +7632,8 @@ 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";
|
|
7636
|
+
active: "active";
|
|
6301
7637
|
budget_limited: "budget_limited";
|
|
6302
7638
|
complete: "complete";
|
|
6303
7639
|
}>;
|
|
@@ -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<{
|
|
7703
|
+
default: "default";
|
|
6342
7704
|
auto: "auto";
|
|
6343
7705
|
plan: "plan";
|
|
6344
|
-
|
|
7706
|
+
build: "build";
|
|
6345
7707
|
edit: "edit";
|
|
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
|
}>>;
|
|
@@ -6371,8 +7743,8 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6371
7743
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
6372
7744
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6373
7745
|
provider: "provider";
|
|
6374
|
-
tool: "tool";
|
|
6375
7746
|
runtime: "runtime";
|
|
7747
|
+
tool: "tool";
|
|
6376
7748
|
network: "network";
|
|
6377
7749
|
}>>;
|
|
6378
7750
|
reason: 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,8 +7802,8 @@ 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";
|
|
7806
|
+
active: "active";
|
|
6431
7807
|
budget_limited: "budget_limited";
|
|
6432
7808
|
complete: "complete";
|
|
6433
7809
|
}>;
|
|
@@ -6496,8 +7872,8 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6496
7872
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6497
7873
|
failed: "failed";
|
|
6498
7874
|
completed: "completed";
|
|
6499
|
-
stopped: "stopped";
|
|
6500
7875
|
denied: "denied";
|
|
7876
|
+
stopped: "stopped";
|
|
6501
7877
|
}>>;
|
|
6502
7878
|
input: z.ZodUnknown;
|
|
6503
7879
|
output: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -6572,8 +7948,8 @@ export declare const dcodeSessionFileSchema: z.ZodObject<{
|
|
|
6572
7948
|
}, z.core.$strip>>>;
|
|
6573
7949
|
}, z.core.$strip>>;
|
|
6574
7950
|
fileState: z.ZodOptional<z.ZodEnum<{
|
|
6575
|
-
applied: "applied";
|
|
6576
7951
|
reverted: "reverted";
|
|
7952
|
+
applied: "applied";
|
|
6577
7953
|
}>>;
|
|
6578
7954
|
}, z.core.$strip>>>;
|
|
6579
7955
|
turnCheckpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|