@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,7 +1,36 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { channelReplyRequestSchema, channelReplyResultSchema } from "../channel-mention.js";
|
|
2
|
+
export { dcodeProtocolTraceSchema, type DCodeProtocolTrace } from "./trace.js";
|
|
3
|
+
export { conversationQuoteSchema, conversationQuotesSchema } from "../conversationSelection.js";
|
|
2
4
|
import { z } from "zod";
|
|
5
|
+
export * from "../background-bash-output.js";
|
|
3
6
|
export * from "../process-diagnostic.js";
|
|
4
|
-
|
|
7
|
+
export { attachmentSourceKindSchema, type AttachmentSourceKind } from "../attachment-source.js";
|
|
8
|
+
export declare const dcodeTopicResourceReadParamsSchema: z.ZodObject<{
|
|
9
|
+
requestId: z.ZodString;
|
|
10
|
+
taskId: z.ZodString;
|
|
11
|
+
inputId: z.ZodString;
|
|
12
|
+
authorizationId: z.ZodString;
|
|
13
|
+
messageId: z.ZodString;
|
|
14
|
+
resourceIndex: z.ZodNumber;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const dcodeTopicResourceReadResultSchema: z.ZodObject<{
|
|
17
|
+
ref: z.ZodString;
|
|
18
|
+
fileName: z.ZodString;
|
|
19
|
+
mime: z.ZodString;
|
|
20
|
+
bytes: z.ZodNumber;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export declare const dcodeTopicResourceCancelParamsSchema: z.ZodObject<{
|
|
23
|
+
requestId: z.ZodString;
|
|
24
|
+
taskId: z.ZodString;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export declare const dcodeTopicResourceCancelResultSchema: z.ZodObject<{
|
|
27
|
+
cancelled: z.ZodBoolean;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export type DCodeTopicResourceReadParams = z.infer<typeof dcodeTopicResourceReadParamsSchema>;
|
|
30
|
+
export type DCodeTopicResourceReadResult = z.infer<typeof dcodeTopicResourceReadResultSchema>;
|
|
31
|
+
export { activeWorkSummarySchema, type ActiveWorkSummary } from "../dcode-protocol-v4/snapshot.js";
|
|
32
|
+
import { dcodeDeliveryKindSchema, dcodeSessionApiRetryStatusSchema, dcodeSessionContextUsageSchema, dcodeSessionGoalSchema, dcodeSessionGoalVerificationSchema, dcodeSessionGoalVerificationTimelineSchema, dcodeSessionKindSchema, dcodeSessionModeSchema, dcodeToolStateSchema, dcodeWorkspaceRefSchema } from "../dcode-protocol-legacy-types.js";
|
|
33
|
+
export * from "../localTtft.js";
|
|
5
34
|
export { hookExecutionProjectionSchema, hookInvocationRowSchema, type HookExecutionProjection, type HookInvocationRow, } from "../dcode-protocol-v4/rows.js";
|
|
6
35
|
export declare const DCODE_PROTOCOL_NAME: "DCode Protocol";
|
|
7
36
|
export declare const DCODE_PROTOCOL_VERSION: 1;
|
|
@@ -37,6 +66,7 @@ export declare const dcodeCreateWorkflowToolResultDisplaySchema: z.ZodObject<{
|
|
|
37
66
|
kind: z.ZodEnum<{
|
|
38
67
|
ask: "ask";
|
|
39
68
|
"world-read": "world-read";
|
|
69
|
+
hole: "hole";
|
|
40
70
|
}>;
|
|
41
71
|
label: z.ZodString;
|
|
42
72
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -53,6 +83,7 @@ export declare const dcodeCreateWorkflowToolResultDisplaySchema: z.ZodObject<{
|
|
|
53
83
|
stack: "stack";
|
|
54
84
|
serial: "serial";
|
|
55
85
|
}>>;
|
|
86
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
56
87
|
}, z.core.$strict>>;
|
|
57
88
|
lanes: z.ZodArray<z.ZodObject<{
|
|
58
89
|
id: z.ZodString;
|
|
@@ -87,36 +118,86 @@ export declare const dcodeCreateWorkflowToolResultDisplaySchema: z.ZodObject<{
|
|
|
87
118
|
line: z.ZodOptional<z.ZodNumber>;
|
|
88
119
|
column: z.ZodOptional<z.ZodNumber>;
|
|
89
120
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
90
122
|
}, z.core.$strict>>>;
|
|
91
123
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
124
|
from: z.ZodString;
|
|
93
125
|
to: z.ZodString;
|
|
94
126
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
95
127
|
}, z.core.$strict>>>;
|
|
128
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
129
|
+
from: z.ZodString;
|
|
130
|
+
to: z.ZodString;
|
|
131
|
+
}, z.core.$strict>>>;
|
|
132
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
|
+
siteId: z.ZodString;
|
|
134
|
+
name: z.ZodString;
|
|
135
|
+
type: z.ZodString;
|
|
136
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
137
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
}, z.core.$strict>>>;
|
|
96
139
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
140
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
141
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
99
142
|
}, z.core.$strict>>;
|
|
100
143
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
siteId: z.ZodString;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
148
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
149
|
+
}, z.core.$strict>>;
|
|
101
150
|
}, z.core.$strict>;
|
|
102
151
|
export declare const dcodeProtocolRequestIdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
103
152
|
export type DCodeProtocolRequestId = z.infer<typeof dcodeProtocolRequestIdSchema>;
|
|
104
|
-
export declare const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
153
|
+
export declare const TOPIC_RESOURCE_RELAY_CHUNK_BYTES: number;
|
|
154
|
+
export declare const TOPIC_RESOURCE_RELAY_CHANNEL = "host-topic-resource";
|
|
155
|
+
export declare const dcodeTopicResourceRelayRequestSchema: z.ZodObject<{
|
|
156
|
+
requestId: z.ZodString;
|
|
157
|
+
taskId: z.ZodString;
|
|
158
|
+
inputId: z.ZodString;
|
|
159
|
+
authorizationId: z.ZodString;
|
|
160
|
+
messageId: z.ZodString;
|
|
161
|
+
resourceIndex: z.ZodNumber;
|
|
162
|
+
workspacePath: z.ZodString;
|
|
163
|
+
workspaceIdentity: z.ZodString;
|
|
164
|
+
remoteSessionId: z.ZodString;
|
|
165
|
+
trace: z.ZodOptional<z.ZodObject<{
|
|
166
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
168
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
traceparent: z.ZodOptional<z.ZodString>;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
}, z.core.$strict>;
|
|
172
|
+
export type DCodeTopicResourceRelayRequest = z.infer<typeof dcodeTopicResourceRelayRequestSchema>;
|
|
173
|
+
export declare const dcodeTopicResourceRelayKeySchema: z.ZodObject<{
|
|
174
|
+
requestId: z.ZodString;
|
|
175
|
+
taskId: z.ZodString;
|
|
176
|
+
}, z.core.$strict>;
|
|
177
|
+
export declare const dcodeTopicResourceRelayChunkRequestSchema: z.ZodObject<{
|
|
178
|
+
requestId: z.ZodString;
|
|
179
|
+
taskId: z.ZodString;
|
|
180
|
+
index: z.ZodNumber;
|
|
181
|
+
}, z.core.$strict>;
|
|
182
|
+
export declare const dcodeTopicResourceRelayMetadataSchema: z.ZodObject<{
|
|
183
|
+
fileName: z.ZodString;
|
|
184
|
+
mime: z.ZodString;
|
|
185
|
+
bytes: z.ZodNumber;
|
|
186
|
+
totalChunks: z.ZodNumber;
|
|
187
|
+
checksum: z.ZodString;
|
|
188
|
+
}, z.core.$strict>;
|
|
189
|
+
export declare const dcodeTopicResourceRelayChunkSchema: z.ZodObject<{
|
|
190
|
+
dataBase64: z.ZodString;
|
|
109
191
|
}, z.core.$strict>;
|
|
110
|
-
export type DCodeProtocolTrace = z.infer<typeof dcodeProtocolTraceSchema>;
|
|
111
192
|
export declare const dcodeProtocolRequestSchema: z.ZodObject<{
|
|
112
193
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
113
194
|
method: z.ZodString;
|
|
114
195
|
params: z.ZodOptional<z.ZodUnknown>;
|
|
115
196
|
trace: z.ZodOptional<z.ZodObject<{
|
|
116
|
-
traceparent: z.ZodOptional<z.ZodString>;
|
|
117
197
|
traceId: z.ZodOptional<z.ZodString>;
|
|
118
198
|
parentId: z.ZodOptional<z.ZodString>;
|
|
119
199
|
spanId: z.ZodOptional<z.ZodString>;
|
|
200
|
+
traceparent: z.ZodOptional<z.ZodString>;
|
|
120
201
|
}, z.core.$strict>>;
|
|
121
202
|
}, z.core.$strict>;
|
|
122
203
|
export type DCodeProtocolRequest = z.infer<typeof dcodeProtocolRequestSchema>;
|
|
@@ -124,10 +205,10 @@ export declare const dcodeProtocolNotificationSchema: z.ZodObject<{
|
|
|
124
205
|
method: z.ZodString;
|
|
125
206
|
params: z.ZodOptional<z.ZodUnknown>;
|
|
126
207
|
trace: z.ZodOptional<z.ZodObject<{
|
|
127
|
-
traceparent: z.ZodOptional<z.ZodString>;
|
|
128
208
|
traceId: z.ZodOptional<z.ZodString>;
|
|
129
209
|
parentId: z.ZodOptional<z.ZodString>;
|
|
130
210
|
spanId: z.ZodOptional<z.ZodString>;
|
|
211
|
+
traceparent: z.ZodOptional<z.ZodString>;
|
|
131
212
|
}, z.core.$strict>>;
|
|
132
213
|
}, z.core.$strict>;
|
|
133
214
|
export type DCodeProtocolNotification = z.infer<typeof dcodeProtocolNotificationSchema>;
|
|
@@ -150,19 +231,19 @@ export declare const dcodeProtocolMessageSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
150
231
|
method: z.ZodString;
|
|
151
232
|
params: z.ZodOptional<z.ZodUnknown>;
|
|
152
233
|
trace: z.ZodOptional<z.ZodObject<{
|
|
153
|
-
traceparent: z.ZodOptional<z.ZodString>;
|
|
154
234
|
traceId: z.ZodOptional<z.ZodString>;
|
|
155
235
|
parentId: z.ZodOptional<z.ZodString>;
|
|
156
236
|
spanId: z.ZodOptional<z.ZodString>;
|
|
237
|
+
traceparent: z.ZodOptional<z.ZodString>;
|
|
157
238
|
}, z.core.$strict>>;
|
|
158
239
|
}, z.core.$strict>, z.ZodObject<{
|
|
159
240
|
method: z.ZodString;
|
|
160
241
|
params: z.ZodOptional<z.ZodUnknown>;
|
|
161
242
|
trace: z.ZodOptional<z.ZodObject<{
|
|
162
|
-
traceparent: z.ZodOptional<z.ZodString>;
|
|
163
243
|
traceId: z.ZodOptional<z.ZodString>;
|
|
164
244
|
parentId: z.ZodOptional<z.ZodString>;
|
|
165
245
|
spanId: z.ZodOptional<z.ZodString>;
|
|
246
|
+
traceparent: z.ZodOptional<z.ZodString>;
|
|
166
247
|
}, z.core.$strict>>;
|
|
167
248
|
}, z.core.$strict>, z.ZodObject<{
|
|
168
249
|
id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
@@ -184,6 +265,7 @@ export declare const dcodeProtocolNotifications: {
|
|
|
184
265
|
readonly toolExecResource: "process/toolExecResource";
|
|
185
266
|
readonly pluginOperationProgress: "plugins/operationProgress";
|
|
186
267
|
readonly processResourceSample: "process/resourceSample";
|
|
268
|
+
readonly processNetworkRequests: "process/networkRequests";
|
|
187
269
|
};
|
|
188
270
|
/** 启动控制面独立于 task stream;数据库身份不可携带路径/凭据。 */
|
|
189
271
|
export declare const dcodeStorageStartupStateSchema: z.ZodObject<{
|
|
@@ -199,12 +281,12 @@ export declare const dcodeStorageStartupStateSchema: z.ZodObject<{
|
|
|
199
281
|
"tasks-index": "tasks-index";
|
|
200
282
|
}>;
|
|
201
283
|
phase: z.ZodEnum<{
|
|
202
|
-
failed: "failed";
|
|
203
|
-
ready: "ready";
|
|
204
284
|
checking: "checking";
|
|
205
285
|
waiting_for_lock: "waiting_for_lock";
|
|
206
286
|
migrating: "migrating";
|
|
207
287
|
committing: "committing";
|
|
288
|
+
ready: "ready";
|
|
289
|
+
failed: "failed";
|
|
208
290
|
}>;
|
|
209
291
|
migration: z.ZodOptional<z.ZodObject<{
|
|
210
292
|
kind: z.ZodEnum<{
|
|
@@ -267,8 +349,8 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
267
349
|
mcpId: z.ZodString;
|
|
268
350
|
mcpInstanceId: z.ZodString;
|
|
269
351
|
mcpIsolation: z.ZodEnum<{
|
|
270
|
-
workspace: "workspace";
|
|
271
352
|
session: "session";
|
|
353
|
+
workspace: "workspace";
|
|
272
354
|
}>;
|
|
273
355
|
mcpSource: z.ZodEnum<{
|
|
274
356
|
custom: "custom";
|
|
@@ -312,8 +394,8 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
312
394
|
mcpId: z.ZodString;
|
|
313
395
|
mcpInstanceId: z.ZodString;
|
|
314
396
|
mcpIsolation: z.ZodEnum<{
|
|
315
|
-
workspace: "workspace";
|
|
316
397
|
session: "session";
|
|
398
|
+
workspace: "workspace";
|
|
317
399
|
}>;
|
|
318
400
|
mcpSource: z.ZodEnum<{
|
|
319
401
|
custom: "custom";
|
|
@@ -396,8 +478,8 @@ export declare const dcodeMcpTelemetryEventSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
396
478
|
mcpId: z.ZodString;
|
|
397
479
|
mcpInstanceId: z.ZodString;
|
|
398
480
|
mcpIsolation: z.ZodEnum<{
|
|
399
|
-
workspace: "workspace";
|
|
400
481
|
session: "session";
|
|
482
|
+
workspace: "workspace";
|
|
401
483
|
}>;
|
|
402
484
|
mcpSource: z.ZodEnum<{
|
|
403
485
|
custom: "custom";
|
|
@@ -601,8 +683,8 @@ export declare const dcodePermissionOptionSchema: z.ZodObject<{
|
|
|
601
683
|
description: z.ZodOptional<z.ZodString>;
|
|
602
684
|
response: z.ZodObject<{
|
|
603
685
|
decision: z.ZodEnum<{
|
|
604
|
-
deny: "deny";
|
|
605
686
|
allow: "allow";
|
|
687
|
+
deny: "deny";
|
|
606
688
|
escalate: "escalate";
|
|
607
689
|
modify: "modify";
|
|
608
690
|
}>;
|
|
@@ -611,9 +693,9 @@ export declare const dcodePermissionOptionSchema: z.ZodObject<{
|
|
|
611
693
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
612
694
|
type: z.ZodLiteral<"addRules">;
|
|
613
695
|
behavior: z.ZodEnum<{
|
|
614
|
-
deny: "deny";
|
|
615
|
-
allow: "allow";
|
|
616
696
|
ask: "ask";
|
|
697
|
+
allow: "allow";
|
|
698
|
+
deny: "deny";
|
|
617
699
|
}>;
|
|
618
700
|
rules: z.ZodArray<z.ZodObject<{
|
|
619
701
|
toolName: z.ZodString;
|
|
@@ -631,12 +713,12 @@ export declare const dcodeProtocolMcpServerSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
631
713
|
value: z.ZodString;
|
|
632
714
|
}, z.core.$strict>>;
|
|
633
715
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
634
|
-
workspace: "workspace";
|
|
635
716
|
session: "session";
|
|
717
|
+
workspace: "workspace";
|
|
636
718
|
}>>;
|
|
637
719
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
638
|
-
auto: "auto";
|
|
639
720
|
legacy: "legacy";
|
|
721
|
+
auto: "auto";
|
|
640
722
|
"2026-07-28": "2026-07-28";
|
|
641
723
|
}>>;
|
|
642
724
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -666,28 +748,27 @@ export declare const dcodeProtocolMcpServerSchema: z.ZodUnion<readonly [z.ZodObj
|
|
|
666
748
|
scope: z.ZodOptional<z.ZodString>;
|
|
667
749
|
}, z.core.$strict>]>>;
|
|
668
750
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
669
|
-
workspace: "workspace";
|
|
670
751
|
session: "session";
|
|
752
|
+
workspace: "workspace";
|
|
671
753
|
}>>;
|
|
672
754
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
673
|
-
auto: "auto";
|
|
674
755
|
legacy: "legacy";
|
|
756
|
+
auto: "auto";
|
|
675
757
|
"2026-07-28": "2026-07-28";
|
|
676
758
|
}>>;
|
|
677
759
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
678
760
|
}, z.core.$strict>]>;
|
|
679
761
|
export type DCodeProtocolMcpServer = z.infer<typeof dcodeProtocolMcpServerSchema>;
|
|
680
762
|
export declare const dcodeMcpServerStatusKindSchema: z.ZodEnum<{
|
|
681
|
-
connected: "connected";
|
|
682
763
|
failed: "failed";
|
|
683
|
-
disabled: "disabled";
|
|
684
764
|
connecting: "connecting";
|
|
765
|
+
connected: "connected";
|
|
766
|
+
disabled: "disabled";
|
|
685
767
|
disconnected: "disconnected";
|
|
686
768
|
untrusted: "untrusted";
|
|
687
769
|
}>;
|
|
688
770
|
export declare const MCP_SERVER_FAILURE_KINDS: readonly ["config_invalid", "runtime_unavailable", "process_start_failed", "network_unreachable", "connection_timeout", "protocol_negotiation_failed", "tool_list_failed", "unexpected_disconnect", "oauth_authorization_failed", "official_origin_untrusted", "not_authenticated", "coding_plan_required", "server_not_found", "server_unavailable", "rate_limited", "server_internal_error", "protocol_error", "status_unavailable", "connection_failed"];
|
|
689
771
|
export declare const mcpServerFailureKindSchema: z.ZodEnum<{
|
|
690
|
-
not_authenticated: "not_authenticated";
|
|
691
772
|
config_invalid: "config_invalid";
|
|
692
773
|
runtime_unavailable: "runtime_unavailable";
|
|
693
774
|
process_start_failed: "process_start_failed";
|
|
@@ -698,6 +779,7 @@ export declare const mcpServerFailureKindSchema: z.ZodEnum<{
|
|
|
698
779
|
unexpected_disconnect: "unexpected_disconnect";
|
|
699
780
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
700
781
|
official_origin_untrusted: "official_origin_untrusted";
|
|
782
|
+
not_authenticated: "not_authenticated";
|
|
701
783
|
coding_plan_required: "coding_plan_required";
|
|
702
784
|
server_not_found: "server_not_found";
|
|
703
785
|
server_unavailable: "server_unavailable";
|
|
@@ -710,10 +792,10 @@ export declare const mcpServerFailureKindSchema: z.ZodEnum<{
|
|
|
710
792
|
export type McpServerFailureKind = z.infer<typeof mcpServerFailureKindSchema>;
|
|
711
793
|
export declare const dcodeMcpServerStatusSnapshotSchema: z.ZodObject<{
|
|
712
794
|
status: z.ZodEnum<{
|
|
713
|
-
connected: "connected";
|
|
714
795
|
failed: "failed";
|
|
715
|
-
disabled: "disabled";
|
|
716
796
|
connecting: "connecting";
|
|
797
|
+
connected: "connected";
|
|
798
|
+
disabled: "disabled";
|
|
717
799
|
disconnected: "disconnected";
|
|
718
800
|
untrusted: "untrusted";
|
|
719
801
|
}>;
|
|
@@ -726,7 +808,6 @@ export declare const dcodeMcpServerStatusSnapshotSchema: z.ZodObject<{
|
|
|
726
808
|
updatedAt: z.ZodString;
|
|
727
809
|
error: z.ZodOptional<z.ZodString>;
|
|
728
810
|
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
729
|
-
not_authenticated: "not_authenticated";
|
|
730
811
|
config_invalid: "config_invalid";
|
|
731
812
|
runtime_unavailable: "runtime_unavailable";
|
|
732
813
|
process_start_failed: "process_start_failed";
|
|
@@ -737,6 +818,7 @@ export declare const dcodeMcpServerStatusSnapshotSchema: z.ZodObject<{
|
|
|
737
818
|
unexpected_disconnect: "unexpected_disconnect";
|
|
738
819
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
739
820
|
official_origin_untrusted: "official_origin_untrusted";
|
|
821
|
+
not_authenticated: "not_authenticated";
|
|
740
822
|
coding_plan_required: "coding_plan_required";
|
|
741
823
|
server_not_found: "server_not_found";
|
|
742
824
|
server_unavailable: "server_unavailable";
|
|
@@ -779,12 +861,12 @@ export declare const dcodeMcpListParamsSchema: z.ZodObject<{
|
|
|
779
861
|
value: z.ZodString;
|
|
780
862
|
}, z.core.$strict>>;
|
|
781
863
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
782
|
-
workspace: "workspace";
|
|
783
864
|
session: "session";
|
|
865
|
+
workspace: "workspace";
|
|
784
866
|
}>>;
|
|
785
867
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
786
|
-
auto: "auto";
|
|
787
868
|
legacy: "legacy";
|
|
869
|
+
auto: "auto";
|
|
788
870
|
"2026-07-28": "2026-07-28";
|
|
789
871
|
}>>;
|
|
790
872
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -814,12 +896,12 @@ export declare const dcodeMcpListParamsSchema: z.ZodObject<{
|
|
|
814
896
|
scope: z.ZodOptional<z.ZodString>;
|
|
815
897
|
}, z.core.$strict>]>>;
|
|
816
898
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
817
|
-
workspace: "workspace";
|
|
818
899
|
session: "session";
|
|
900
|
+
workspace: "workspace";
|
|
819
901
|
}>>;
|
|
820
902
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
821
|
-
auto: "auto";
|
|
822
903
|
legacy: "legacy";
|
|
904
|
+
auto: "auto";
|
|
823
905
|
"2026-07-28": "2026-07-28";
|
|
824
906
|
}>>;
|
|
825
907
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -832,10 +914,10 @@ export declare const dcodeMcpListParamsSchema: z.ZodObject<{
|
|
|
832
914
|
export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
833
915
|
statuses: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
834
916
|
status: z.ZodEnum<{
|
|
835
|
-
connected: "connected";
|
|
836
917
|
failed: "failed";
|
|
837
|
-
disabled: "disabled";
|
|
838
918
|
connecting: "connecting";
|
|
919
|
+
connected: "connected";
|
|
920
|
+
disabled: "disabled";
|
|
839
921
|
disconnected: "disconnected";
|
|
840
922
|
untrusted: "untrusted";
|
|
841
923
|
}>;
|
|
@@ -848,7 +930,6 @@ export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
|
848
930
|
updatedAt: z.ZodString;
|
|
849
931
|
error: z.ZodOptional<z.ZodString>;
|
|
850
932
|
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
851
|
-
not_authenticated: "not_authenticated";
|
|
852
933
|
config_invalid: "config_invalid";
|
|
853
934
|
runtime_unavailable: "runtime_unavailable";
|
|
854
935
|
process_start_failed: "process_start_failed";
|
|
@@ -859,6 +940,7 @@ export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
|
859
940
|
unexpected_disconnect: "unexpected_disconnect";
|
|
860
941
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
861
942
|
official_origin_untrusted: "official_origin_untrusted";
|
|
943
|
+
not_authenticated: "not_authenticated";
|
|
862
944
|
coding_plan_required: "coding_plan_required";
|
|
863
945
|
server_not_found: "server_not_found";
|
|
864
946
|
server_unavailable: "server_unavailable";
|
|
@@ -880,7 +962,489 @@ export declare const dcodeMcpListResultSchema: z.ZodObject<{
|
|
|
880
962
|
}, z.core.$strict>>;
|
|
881
963
|
}, z.core.$strict>>;
|
|
882
964
|
}, z.core.$strict>;
|
|
883
|
-
export type DCodeMcpListResult = z.infer<typeof dcodeMcpListResultSchema>;
|
|
965
|
+
export type DCodeMcpListResult = z.infer<typeof dcodeMcpListResultSchema>;
|
|
966
|
+
export declare const dcodeMcpUiOpenInstanceParamsSchema: z.ZodObject<{
|
|
967
|
+
accountContext: z.ZodOptional<z.ZodString>;
|
|
968
|
+
workspace: z.ZodObject<{
|
|
969
|
+
workspacePath: z.ZodString;
|
|
970
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
971
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
972
|
+
workspaceKey: z.ZodString;
|
|
973
|
+
}, z.core.$strict>;
|
|
974
|
+
sessionId: z.ZodString;
|
|
975
|
+
pluginId: z.ZodString;
|
|
976
|
+
serverName: z.ZodString;
|
|
977
|
+
scopeId: z.ZodString;
|
|
978
|
+
resourceUri: z.ZodString;
|
|
979
|
+
ownerWebContentsId: z.ZodNumber;
|
|
980
|
+
}, z.core.$strict>;
|
|
981
|
+
export declare const dcodeMcpUiOpenInstanceResultSchema: z.ZodObject<{
|
|
982
|
+
runtimeId: z.ZodString;
|
|
983
|
+
generation: z.ZodNumber;
|
|
984
|
+
appIdentity: z.ZodString;
|
|
985
|
+
token: z.ZodString;
|
|
986
|
+
}, z.core.$strict>;
|
|
987
|
+
export type DCodeMcpUiOpenInstanceParams = z.infer<typeof dcodeMcpUiOpenInstanceParamsSchema>;
|
|
988
|
+
export declare const dcodeMcpUiCloseInstanceParamsSchema: z.ZodObject<{
|
|
989
|
+
onlyIfIdle: z.ZodOptional<z.ZodBoolean>;
|
|
990
|
+
instance: z.ZodObject<{
|
|
991
|
+
runtimeId: z.ZodString;
|
|
992
|
+
generation: z.ZodNumber;
|
|
993
|
+
appIdentity: z.ZodString;
|
|
994
|
+
token: z.ZodString;
|
|
995
|
+
}, z.core.$strict>;
|
|
996
|
+
workspace: z.ZodObject<{
|
|
997
|
+
workspacePath: z.ZodString;
|
|
998
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
999
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
workspaceKey: z.ZodString;
|
|
1001
|
+
}, z.core.$strict>;
|
|
1002
|
+
sessionId: z.ZodString;
|
|
1003
|
+
pluginId: z.ZodString;
|
|
1004
|
+
serverName: z.ZodString;
|
|
1005
|
+
}, z.core.$strict>;
|
|
1006
|
+
export declare const dcodeMcpUiCloseInstanceResultSchema: z.ZodObject<{
|
|
1007
|
+
closed: z.ZodBoolean;
|
|
1008
|
+
}, z.core.$strict>;
|
|
1009
|
+
export declare const dcodeMcpReadResourceParamsSchema: z.ZodObject<{
|
|
1010
|
+
uri: z.ZodString;
|
|
1011
|
+
instance: z.ZodObject<{
|
|
1012
|
+
runtimeId: z.ZodString;
|
|
1013
|
+
generation: z.ZodNumber;
|
|
1014
|
+
appIdentity: z.ZodString;
|
|
1015
|
+
token: z.ZodString;
|
|
1016
|
+
}, z.core.$strict>;
|
|
1017
|
+
workspace: z.ZodObject<{
|
|
1018
|
+
workspacePath: z.ZodString;
|
|
1019
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
workspaceKey: z.ZodString;
|
|
1022
|
+
}, z.core.$strict>;
|
|
1023
|
+
sessionId: z.ZodString;
|
|
1024
|
+
pluginId: z.ZodString;
|
|
1025
|
+
serverName: z.ZodString;
|
|
1026
|
+
}, z.core.$strict>;
|
|
1027
|
+
export type DCodeMcpReadResourceParams = z.infer<typeof dcodeMcpReadResourceParamsSchema>;
|
|
1028
|
+
export declare const dcodeMcpResourceContentSchema: z.ZodObject<{
|
|
1029
|
+
uri: z.ZodString;
|
|
1030
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
blob: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1034
|
+
}, z.core.$strict>;
|
|
1035
|
+
export declare const dcodeMcpReadResourceResultSchema: z.ZodObject<{
|
|
1036
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
1037
|
+
uri: z.ZodString;
|
|
1038
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
blob: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1042
|
+
}, z.core.$strict>>;
|
|
1043
|
+
}, z.core.$strict>;
|
|
1044
|
+
export type DCodeMcpReadResourceResult = z.infer<typeof dcodeMcpReadResourceResultSchema>;
|
|
1045
|
+
/**
|
|
1046
|
+
* 插件页面发起的 `resources/read` 代理。
|
|
1047
|
+
* 与 `mcp/readResource`(宿主取 ui:// HTML)参数同形,但结果去掉 `_meta`、受 8 MiB 与 mimeType 白名单约束。
|
|
1048
|
+
*/
|
|
1049
|
+
export declare const dcodeMcpUiReadResourceParamsSchema: z.ZodObject<{
|
|
1050
|
+
uri: z.ZodString;
|
|
1051
|
+
instance: z.ZodObject<{
|
|
1052
|
+
runtimeId: z.ZodString;
|
|
1053
|
+
generation: z.ZodNumber;
|
|
1054
|
+
appIdentity: z.ZodString;
|
|
1055
|
+
token: z.ZodString;
|
|
1056
|
+
}, z.core.$strict>;
|
|
1057
|
+
workspace: z.ZodObject<{
|
|
1058
|
+
workspacePath: z.ZodString;
|
|
1059
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
workspaceKey: z.ZodString;
|
|
1062
|
+
}, z.core.$strict>;
|
|
1063
|
+
sessionId: z.ZodString;
|
|
1064
|
+
pluginId: z.ZodString;
|
|
1065
|
+
serverName: z.ZodString;
|
|
1066
|
+
}, z.core.$strict>;
|
|
1067
|
+
export type DCodeMcpUiReadResourceParams = z.infer<typeof dcodeMcpUiReadResourceParamsSchema>;
|
|
1068
|
+
export declare const dcodeMcpUiResourceContentSchema: z.ZodObject<{
|
|
1069
|
+
uri: z.ZodString;
|
|
1070
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
blob: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
}, z.core.$strict>;
|
|
1074
|
+
export declare const dcodeMcpUiReadResourceResultSchema: z.ZodObject<{
|
|
1075
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
1076
|
+
uri: z.ZodString;
|
|
1077
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
blob: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
}, z.core.$strict>>;
|
|
1081
|
+
}, z.core.$strict>;
|
|
1082
|
+
export type DCodeMcpUiReadResourceResult = z.infer<typeof dcodeMcpUiReadResourceResultSchema>;
|
|
1083
|
+
export declare const dcodeMcpUiSamplingParamsSchema: z.ZodObject<{
|
|
1084
|
+
operationId: z.ZodString;
|
|
1085
|
+
request: z.ZodObject<{
|
|
1086
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
1087
|
+
role: z.ZodEnum<{
|
|
1088
|
+
user: "user";
|
|
1089
|
+
assistant: "assistant";
|
|
1090
|
+
}>;
|
|
1091
|
+
content: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1092
|
+
type: z.ZodLiteral<"text">;
|
|
1093
|
+
text: z.ZodString;
|
|
1094
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1095
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1096
|
+
user: "user";
|
|
1097
|
+
assistant: "assistant";
|
|
1098
|
+
}>>>;
|
|
1099
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
}, z.core.$strict>>;
|
|
1102
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1103
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1104
|
+
type: z.ZodLiteral<"image">;
|
|
1105
|
+
mimeType: z.ZodEnum<{
|
|
1106
|
+
"image/png": "image/png";
|
|
1107
|
+
"image/jpeg": "image/jpeg";
|
|
1108
|
+
"image/webp": "image/webp";
|
|
1109
|
+
}>;
|
|
1110
|
+
data: z.ZodString;
|
|
1111
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1112
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1113
|
+
user: "user";
|
|
1114
|
+
assistant: "assistant";
|
|
1115
|
+
}>>>;
|
|
1116
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1117
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
}, z.core.$strict>>;
|
|
1119
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1120
|
+
}, z.core.$strict>], "type">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1121
|
+
type: z.ZodLiteral<"text">;
|
|
1122
|
+
text: z.ZodString;
|
|
1123
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1124
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1125
|
+
user: "user";
|
|
1126
|
+
assistant: "assistant";
|
|
1127
|
+
}>>>;
|
|
1128
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1129
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
}, z.core.$strict>>;
|
|
1131
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1132
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1133
|
+
type: z.ZodLiteral<"image">;
|
|
1134
|
+
mimeType: z.ZodEnum<{
|
|
1135
|
+
"image/png": "image/png";
|
|
1136
|
+
"image/jpeg": "image/jpeg";
|
|
1137
|
+
"image/webp": "image/webp";
|
|
1138
|
+
}>;
|
|
1139
|
+
data: z.ZodString;
|
|
1140
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1141
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1142
|
+
user: "user";
|
|
1143
|
+
assistant: "assistant";
|
|
1144
|
+
}>>>;
|
|
1145
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1146
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
}, z.core.$strict>>;
|
|
1148
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1149
|
+
}, z.core.$strict>], "type">>]>;
|
|
1150
|
+
}, z.core.$strict>>;
|
|
1151
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
maxTokens: z.ZodNumber;
|
|
1153
|
+
includeContext: z.ZodOptional<z.ZodLiteral<"none">>;
|
|
1154
|
+
modelPreferences: z.ZodOptional<z.ZodObject<{
|
|
1155
|
+
hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1156
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1157
|
+
}, z.core.$strict>>>;
|
|
1158
|
+
costPriority: z.ZodOptional<z.ZodNumber>;
|
|
1159
|
+
speedPriority: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
intelligencePriority: z.ZodOptional<z.ZodNumber>;
|
|
1161
|
+
}, z.core.$strict>>;
|
|
1162
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1163
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1164
|
+
}, z.core.$strict>;
|
|
1165
|
+
instance: z.ZodObject<{
|
|
1166
|
+
runtimeId: z.ZodString;
|
|
1167
|
+
generation: z.ZodNumber;
|
|
1168
|
+
appIdentity: z.ZodString;
|
|
1169
|
+
token: z.ZodString;
|
|
1170
|
+
}, z.core.$strict>;
|
|
1171
|
+
workspace: z.ZodObject<{
|
|
1172
|
+
workspacePath: z.ZodString;
|
|
1173
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
workspaceKey: z.ZodString;
|
|
1176
|
+
}, z.core.$strict>;
|
|
1177
|
+
sessionId: z.ZodString;
|
|
1178
|
+
pluginId: z.ZodString;
|
|
1179
|
+
serverName: z.ZodString;
|
|
1180
|
+
}, z.core.$strict>;
|
|
1181
|
+
export declare const dcodeMcpUiCancelSamplingParamsSchema: z.ZodObject<{
|
|
1182
|
+
operationId: z.ZodString;
|
|
1183
|
+
instance: z.ZodObject<{
|
|
1184
|
+
runtimeId: z.ZodString;
|
|
1185
|
+
generation: z.ZodNumber;
|
|
1186
|
+
appIdentity: z.ZodString;
|
|
1187
|
+
token: z.ZodString;
|
|
1188
|
+
}, z.core.$strict>;
|
|
1189
|
+
workspace: z.ZodObject<{
|
|
1190
|
+
workspacePath: z.ZodString;
|
|
1191
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
workspaceKey: z.ZodString;
|
|
1194
|
+
}, z.core.$strict>;
|
|
1195
|
+
sessionId: z.ZodString;
|
|
1196
|
+
pluginId: z.ZodString;
|
|
1197
|
+
serverName: z.ZodString;
|
|
1198
|
+
}, z.core.$strict>;
|
|
1199
|
+
export declare const dcodeMcpUiSamplingResultSchema: z.ZodObject<{
|
|
1200
|
+
role: z.ZodLiteral<"assistant">;
|
|
1201
|
+
model: z.ZodString;
|
|
1202
|
+
content: z.ZodObject<{
|
|
1203
|
+
type: z.ZodLiteral<"text">;
|
|
1204
|
+
text: z.ZodString;
|
|
1205
|
+
}, z.core.$strict>;
|
|
1206
|
+
stopReason: z.ZodString;
|
|
1207
|
+
}, z.core.$strict>;
|
|
1208
|
+
export type DCodeMcpUiSamplingParams = z.infer<typeof dcodeMcpUiSamplingParamsSchema>;
|
|
1209
|
+
export type DCodeMcpUiCancelSamplingParams = z.infer<typeof dcodeMcpUiCancelSamplingParamsSchema>;
|
|
1210
|
+
export declare const dcodeMcpUiCallToolParamsSchema: z.ZodObject<{
|
|
1211
|
+
toolName: z.ZodString;
|
|
1212
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1213
|
+
callId: z.ZodString;
|
|
1214
|
+
instance: z.ZodObject<{
|
|
1215
|
+
runtimeId: z.ZodString;
|
|
1216
|
+
generation: z.ZodNumber;
|
|
1217
|
+
appIdentity: z.ZodString;
|
|
1218
|
+
token: z.ZodString;
|
|
1219
|
+
}, z.core.$strict>;
|
|
1220
|
+
workspace: z.ZodObject<{
|
|
1221
|
+
workspacePath: z.ZodString;
|
|
1222
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
workspaceKey: z.ZodString;
|
|
1225
|
+
}, z.core.$strict>;
|
|
1226
|
+
sessionId: z.ZodString;
|
|
1227
|
+
pluginId: z.ZodString;
|
|
1228
|
+
serverName: z.ZodString;
|
|
1229
|
+
}, z.core.$strict>;
|
|
1230
|
+
export type DCodeMcpUiCallToolParams = z.infer<typeof dcodeMcpUiCallToolParamsSchema>;
|
|
1231
|
+
/** 取消页面发起的工具调用(卡片卸载、会话切换);agent 侧 abort 到 MCP client。 */
|
|
1232
|
+
export declare const dcodeMcpUiCancelCallParamsSchema: z.ZodObject<{
|
|
1233
|
+
callId: z.ZodString;
|
|
1234
|
+
instance: z.ZodObject<{
|
|
1235
|
+
runtimeId: z.ZodString;
|
|
1236
|
+
generation: z.ZodNumber;
|
|
1237
|
+
appIdentity: z.ZodString;
|
|
1238
|
+
token: z.ZodString;
|
|
1239
|
+
}, z.core.$strict>;
|
|
1240
|
+
workspace: z.ZodObject<{
|
|
1241
|
+
workspacePath: z.ZodString;
|
|
1242
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
workspaceKey: z.ZodString;
|
|
1245
|
+
}, z.core.$strict>;
|
|
1246
|
+
sessionId: z.ZodString;
|
|
1247
|
+
pluginId: z.ZodString;
|
|
1248
|
+
serverName: z.ZodString;
|
|
1249
|
+
}, z.core.$strict>;
|
|
1250
|
+
export type DCodeMcpUiCancelCallParams = z.infer<typeof dcodeMcpUiCancelCallParamsSchema>;
|
|
1251
|
+
export declare const dcodeMcpUiCancelCallResultSchema: z.ZodObject<{
|
|
1252
|
+
cancelled: z.ZodBoolean;
|
|
1253
|
+
}, z.core.$strict>;
|
|
1254
|
+
export type DCodeMcpUiCancelCallResult = z.infer<typeof dcodeMcpUiCancelCallResultSchema>;
|
|
1255
|
+
/** 页面发起的 resources/list、resources/templates/list、subscribe、unsubscribe 代理。 */
|
|
1256
|
+
export declare const dcodeMcpUiListResourcesParamsSchema: z.ZodObject<{
|
|
1257
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
instance: z.ZodObject<{
|
|
1259
|
+
runtimeId: z.ZodString;
|
|
1260
|
+
generation: z.ZodNumber;
|
|
1261
|
+
appIdentity: z.ZodString;
|
|
1262
|
+
token: z.ZodString;
|
|
1263
|
+
}, z.core.$strict>;
|
|
1264
|
+
workspace: z.ZodObject<{
|
|
1265
|
+
workspacePath: z.ZodString;
|
|
1266
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
workspaceKey: z.ZodString;
|
|
1269
|
+
}, z.core.$strict>;
|
|
1270
|
+
sessionId: z.ZodString;
|
|
1271
|
+
pluginId: z.ZodString;
|
|
1272
|
+
serverName: z.ZodString;
|
|
1273
|
+
}, z.core.$strict>;
|
|
1274
|
+
export type DCodeMcpUiListResourcesParams = z.infer<typeof dcodeMcpUiListResourcesParamsSchema>;
|
|
1275
|
+
export declare const dcodeMcpUiListResourcesResultSchema: z.ZodObject<{
|
|
1276
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
1277
|
+
uri: z.ZodString;
|
|
1278
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1283
|
+
}, z.core.$strict>>;
|
|
1284
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
}, z.core.$strict>;
|
|
1286
|
+
export type DCodeMcpUiListResourcesResult = z.infer<typeof dcodeMcpUiListResourcesResultSchema>;
|
|
1287
|
+
export declare const dcodeMcpUiListResourceTemplatesResultSchema: z.ZodObject<{
|
|
1288
|
+
resourceTemplates: z.ZodArray<z.ZodObject<{
|
|
1289
|
+
uriTemplate: z.ZodString;
|
|
1290
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
}, z.core.$strict>>;
|
|
1295
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
}, z.core.$strict>;
|
|
1297
|
+
export type DCodeMcpUiListResourceTemplatesResult = z.infer<typeof dcodeMcpUiListResourceTemplatesResultSchema>;
|
|
1298
|
+
/** 订阅者身份 = 会话 + 沙箱作用域 + 实例代际(initId);dispose 只退订本代际,新实例不受影响。 */
|
|
1299
|
+
export declare const dcodeMcpUiResourceSubscriptionParamsSchema: z.ZodObject<{
|
|
1300
|
+
scopeId: z.ZodString;
|
|
1301
|
+
generation: z.ZodNumber;
|
|
1302
|
+
uri: z.ZodString;
|
|
1303
|
+
instance: z.ZodObject<{
|
|
1304
|
+
runtimeId: z.ZodString;
|
|
1305
|
+
generation: z.ZodNumber;
|
|
1306
|
+
appIdentity: z.ZodString;
|
|
1307
|
+
token: z.ZodString;
|
|
1308
|
+
}, z.core.$strict>;
|
|
1309
|
+
workspace: z.ZodObject<{
|
|
1310
|
+
workspacePath: z.ZodString;
|
|
1311
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1312
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
workspaceKey: z.ZodString;
|
|
1314
|
+
}, z.core.$strict>;
|
|
1315
|
+
sessionId: z.ZodString;
|
|
1316
|
+
pluginId: z.ZodString;
|
|
1317
|
+
serverName: z.ZodString;
|
|
1318
|
+
}, z.core.$strict>;
|
|
1319
|
+
export type DCodeMcpUiResourceSubscriptionParams = z.infer<typeof dcodeMcpUiResourceSubscriptionParamsSchema>;
|
|
1320
|
+
export declare const dcodeMcpUiResourceSubscriptionResultSchema: z.ZodObject<{}, z.core.$strict>;
|
|
1321
|
+
export declare const dcodeMcpUiRegisterAppToolsParamsSchema: z.ZodObject<{
|
|
1322
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
1323
|
+
name: z.ZodString;
|
|
1324
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1327
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1328
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
1329
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
1331
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
1332
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
1333
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
1334
|
+
}, z.core.$strict>>;
|
|
1335
|
+
}, z.core.$strict>>;
|
|
1336
|
+
scopeId: z.ZodString;
|
|
1337
|
+
generation: z.ZodNumber;
|
|
1338
|
+
instance: z.ZodObject<{
|
|
1339
|
+
runtimeId: z.ZodString;
|
|
1340
|
+
generation: z.ZodNumber;
|
|
1341
|
+
appIdentity: z.ZodString;
|
|
1342
|
+
token: z.ZodString;
|
|
1343
|
+
}, z.core.$strict>;
|
|
1344
|
+
workspace: z.ZodObject<{
|
|
1345
|
+
workspacePath: z.ZodString;
|
|
1346
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
workspaceKey: z.ZodString;
|
|
1349
|
+
}, z.core.$strict>;
|
|
1350
|
+
sessionId: z.ZodString;
|
|
1351
|
+
pluginId: z.ZodString;
|
|
1352
|
+
serverName: z.ZodString;
|
|
1353
|
+
}, z.core.$strict>;
|
|
1354
|
+
export type DCodeMcpUiRegisterAppToolsParams = z.infer<typeof dcodeMcpUiRegisterAppToolsParamsSchema>;
|
|
1355
|
+
export declare const dcodeMcpUiRegisterAppToolsResultSchema: z.ZodObject<{
|
|
1356
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
1357
|
+
name: z.ZodString;
|
|
1358
|
+
modelName: z.ZodString;
|
|
1359
|
+
}, z.core.$strict>>;
|
|
1360
|
+
}, z.core.$strict>;
|
|
1361
|
+
export type DCodeMcpUiRegisterAppToolsResult = z.infer<typeof dcodeMcpUiRegisterAppToolsResultSchema>;
|
|
1362
|
+
export declare const dcodeMcpUiUnregisterAppToolsParamsSchema: z.ZodObject<{
|
|
1363
|
+
scopeId: z.ZodString;
|
|
1364
|
+
generation: z.ZodNumber;
|
|
1365
|
+
instance: z.ZodObject<{
|
|
1366
|
+
runtimeId: z.ZodString;
|
|
1367
|
+
generation: z.ZodNumber;
|
|
1368
|
+
appIdentity: z.ZodString;
|
|
1369
|
+
token: z.ZodString;
|
|
1370
|
+
}, z.core.$strict>;
|
|
1371
|
+
workspace: z.ZodObject<{
|
|
1372
|
+
workspacePath: z.ZodString;
|
|
1373
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
workspaceKey: z.ZodString;
|
|
1376
|
+
}, z.core.$strict>;
|
|
1377
|
+
sessionId: z.ZodString;
|
|
1378
|
+
pluginId: z.ZodString;
|
|
1379
|
+
serverName: z.ZodString;
|
|
1380
|
+
}, z.core.$strict>;
|
|
1381
|
+
export type DCodeMcpUiUnregisterAppToolsParams = z.infer<typeof dcodeMcpUiUnregisterAppToolsParamsSchema>;
|
|
1382
|
+
export declare const dcodeMcpUiUnregisterAppToolsResultSchema: z.ZodObject<{
|
|
1383
|
+
removed: z.ZodNumber;
|
|
1384
|
+
}, z.core.$strict>;
|
|
1385
|
+
export type DCodeMcpUiUnregisterAppToolsResult = z.infer<typeof dcodeMcpUiUnregisterAppToolsResultSchema>;
|
|
1386
|
+
export declare const dcodeMcpUiClaimAppToolCallParamsSchema: z.ZodObject<{
|
|
1387
|
+
callId: z.ZodString;
|
|
1388
|
+
scopeId: z.ZodString;
|
|
1389
|
+
generation: z.ZodNumber;
|
|
1390
|
+
instance: z.ZodObject<{
|
|
1391
|
+
runtimeId: z.ZodString;
|
|
1392
|
+
generation: z.ZodNumber;
|
|
1393
|
+
appIdentity: z.ZodString;
|
|
1394
|
+
token: z.ZodString;
|
|
1395
|
+
}, z.core.$strict>;
|
|
1396
|
+
workspace: z.ZodObject<{
|
|
1397
|
+
workspacePath: z.ZodString;
|
|
1398
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
workspaceKey: z.ZodString;
|
|
1401
|
+
}, z.core.$strict>;
|
|
1402
|
+
sessionId: z.ZodString;
|
|
1403
|
+
pluginId: z.ZodString;
|
|
1404
|
+
serverName: z.ZodString;
|
|
1405
|
+
}, z.core.$strict>;
|
|
1406
|
+
export type DCodeMcpUiClaimAppToolCallParams = z.infer<typeof dcodeMcpUiClaimAppToolCallParamsSchema>;
|
|
1407
|
+
export declare const dcodeMcpUiAppToolAcceptedResultSchema: z.ZodObject<{
|
|
1408
|
+
accepted: z.ZodBoolean;
|
|
1409
|
+
}, z.core.$strict>;
|
|
1410
|
+
export type DCodeMcpUiAppToolAcceptedResult = z.infer<typeof dcodeMcpUiAppToolAcceptedResultSchema>;
|
|
1411
|
+
export declare const dcodeMcpUiResolveAppToolCallParamsSchema: z.ZodObject<{
|
|
1412
|
+
callId: z.ZodString;
|
|
1413
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
1414
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1415
|
+
structuredContent: z.ZodOptional<z.ZodUnknown>;
|
|
1416
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
1417
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1418
|
+
}, z.core.$strip>>;
|
|
1419
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1420
|
+
message: z.ZodString;
|
|
1421
|
+
}, z.core.$strict>>;
|
|
1422
|
+
scopeId: z.ZodString;
|
|
1423
|
+
generation: z.ZodNumber;
|
|
1424
|
+
instance: z.ZodObject<{
|
|
1425
|
+
runtimeId: z.ZodString;
|
|
1426
|
+
generation: z.ZodNumber;
|
|
1427
|
+
appIdentity: z.ZodString;
|
|
1428
|
+
token: z.ZodString;
|
|
1429
|
+
}, z.core.$strict>;
|
|
1430
|
+
workspace: z.ZodObject<{
|
|
1431
|
+
workspacePath: z.ZodString;
|
|
1432
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
workspaceKey: z.ZodString;
|
|
1435
|
+
}, z.core.$strict>;
|
|
1436
|
+
sessionId: z.ZodString;
|
|
1437
|
+
pluginId: z.ZodString;
|
|
1438
|
+
serverName: z.ZodString;
|
|
1439
|
+
}, z.core.$strict>;
|
|
1440
|
+
export type DCodeMcpUiResolveAppToolCallParams = z.infer<typeof dcodeMcpUiResolveAppToolCallParamsSchema>;
|
|
1441
|
+
export declare const dcodeMcpUiCallToolResultSchema: z.ZodObject<{
|
|
1442
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1443
|
+
structuredContent: z.ZodOptional<z.ZodUnknown>;
|
|
1444
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
1445
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1446
|
+
}, z.core.$strict>;
|
|
1447
|
+
export type DCodeMcpUiCallToolResult = z.infer<typeof dcodeMcpUiCallToolResultSchema>;
|
|
884
1448
|
export declare const dcodeSessionImportMessageSchema: z.ZodObject<{
|
|
885
1449
|
role: z.ZodEnum<{
|
|
886
1450
|
user: "user";
|
|
@@ -1030,6 +1594,7 @@ export declare const dcodeProviderAccountAccessSchema: z.ZodObject<{
|
|
|
1030
1594
|
"individual-coding-plan": "individual-coding-plan";
|
|
1031
1595
|
"team-coding-plan": "team-coding-plan";
|
|
1032
1596
|
"off-peak": "off-peak";
|
|
1597
|
+
highspeed: "highspeed";
|
|
1033
1598
|
}>;
|
|
1034
1599
|
entitled: z.ZodBoolean;
|
|
1035
1600
|
}, z.core.$strict>;
|
|
@@ -1040,8 +1605,8 @@ export type DCodeSessionGoal = z.infer<typeof dcodeSessionGoalSchema>;
|
|
|
1040
1605
|
export declare const dcodeSessionTodoItemSchema: z.ZodObject<{
|
|
1041
1606
|
content: z.ZodString;
|
|
1042
1607
|
status: z.ZodEnum<{
|
|
1043
|
-
pending: "pending";
|
|
1044
1608
|
completed: "completed";
|
|
1609
|
+
pending: "pending";
|
|
1045
1610
|
in_progress: "in_progress";
|
|
1046
1611
|
}>;
|
|
1047
1612
|
priority: z.ZodEnum<{
|
|
@@ -1075,8 +1640,8 @@ export declare const dcodeSessionTodoGroupSchema: z.ZodObject<{
|
|
|
1075
1640
|
todos: z.ZodArray<z.ZodObject<{
|
|
1076
1641
|
content: z.ZodString;
|
|
1077
1642
|
status: z.ZodEnum<{
|
|
1078
|
-
pending: "pending";
|
|
1079
1643
|
completed: "completed";
|
|
1644
|
+
pending: "pending";
|
|
1080
1645
|
in_progress: "in_progress";
|
|
1081
1646
|
}>;
|
|
1082
1647
|
priority: z.ZodEnum<{
|
|
@@ -1153,18 +1718,20 @@ export declare const dcodeSessionSettingsStateSchema: z.ZodObject<{
|
|
|
1153
1718
|
current: z.ZodEnum<{
|
|
1154
1719
|
auto: "auto";
|
|
1155
1720
|
plan: "plan";
|
|
1156
|
-
yolo: "yolo";
|
|
1157
|
-
edit: "edit";
|
|
1158
1721
|
build: "build";
|
|
1722
|
+
edit: "edit";
|
|
1723
|
+
yolo: "yolo";
|
|
1724
|
+
guarded: "guarded";
|
|
1159
1725
|
}>;
|
|
1160
1726
|
}, z.core.$strict>;
|
|
1161
1727
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1162
1728
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1163
1729
|
auto: "auto";
|
|
1164
1730
|
plan: "plan";
|
|
1165
|
-
yolo: "yolo";
|
|
1166
|
-
edit: "edit";
|
|
1167
1731
|
build: "build";
|
|
1732
|
+
edit: "edit";
|
|
1733
|
+
yolo: "yolo";
|
|
1734
|
+
guarded: "guarded";
|
|
1168
1735
|
}>>;
|
|
1169
1736
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
1170
1737
|
}, z.core.$strict>>;
|
|
@@ -1200,8 +1767,8 @@ export declare const dcodePendingPermissionSchema: z.ZodObject<{
|
|
|
1200
1767
|
description: z.ZodOptional<z.ZodString>;
|
|
1201
1768
|
response: z.ZodObject<{
|
|
1202
1769
|
decision: z.ZodEnum<{
|
|
1203
|
-
deny: "deny";
|
|
1204
1770
|
allow: "allow";
|
|
1771
|
+
deny: "deny";
|
|
1205
1772
|
escalate: "escalate";
|
|
1206
1773
|
modify: "modify";
|
|
1207
1774
|
}>;
|
|
@@ -1210,9 +1777,9 @@ export declare const dcodePendingPermissionSchema: z.ZodObject<{
|
|
|
1210
1777
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1211
1778
|
type: z.ZodLiteral<"addRules">;
|
|
1212
1779
|
behavior: z.ZodEnum<{
|
|
1213
|
-
deny: "deny";
|
|
1214
|
-
allow: "allow";
|
|
1215
1780
|
ask: "ask";
|
|
1781
|
+
allow: "allow";
|
|
1782
|
+
deny: "deny";
|
|
1216
1783
|
}>;
|
|
1217
1784
|
rules: z.ZodArray<z.ZodObject<{
|
|
1218
1785
|
toolName: z.ZodString;
|
|
@@ -1229,8 +1796,8 @@ export declare const dcodeActiveToolCallSchema: z.ZodObject<{
|
|
|
1229
1796
|
toolName: z.ZodString;
|
|
1230
1797
|
status: z.ZodEnum<{
|
|
1231
1798
|
failed: "failed";
|
|
1232
|
-
pending: "pending";
|
|
1233
1799
|
completed: "completed";
|
|
1800
|
+
pending: "pending";
|
|
1234
1801
|
running: "running";
|
|
1235
1802
|
denied: "denied";
|
|
1236
1803
|
}>;
|
|
@@ -1242,17 +1809,18 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1242
1809
|
status: z.ZodEnum<{
|
|
1243
1810
|
error: "error";
|
|
1244
1811
|
completed: "completed";
|
|
1245
|
-
idle: "idle";
|
|
1246
|
-
paused: "paused";
|
|
1247
1812
|
running: "running";
|
|
1813
|
+
idle: "idle";
|
|
1248
1814
|
waiting: "waiting";
|
|
1815
|
+
paused: "paused";
|
|
1249
1816
|
}>;
|
|
1250
1817
|
mode: z.ZodEnum<{
|
|
1251
1818
|
auto: "auto";
|
|
1252
1819
|
plan: "plan";
|
|
1253
|
-
yolo: "yolo";
|
|
1254
|
-
edit: "edit";
|
|
1255
1820
|
build: "build";
|
|
1821
|
+
edit: "edit";
|
|
1822
|
+
yolo: "yolo";
|
|
1823
|
+
guarded: "guarded";
|
|
1256
1824
|
}>;
|
|
1257
1825
|
turnCount: z.ZodNumber;
|
|
1258
1826
|
totalTokenCount: z.ZodNumber;
|
|
@@ -1289,8 +1857,8 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1289
1857
|
description: z.ZodOptional<z.ZodString>;
|
|
1290
1858
|
response: z.ZodObject<{
|
|
1291
1859
|
decision: z.ZodEnum<{
|
|
1292
|
-
deny: "deny";
|
|
1293
1860
|
allow: "allow";
|
|
1861
|
+
deny: "deny";
|
|
1294
1862
|
escalate: "escalate";
|
|
1295
1863
|
modify: "modify";
|
|
1296
1864
|
}>;
|
|
@@ -1299,9 +1867,9 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1299
1867
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1300
1868
|
type: z.ZodLiteral<"addRules">;
|
|
1301
1869
|
behavior: z.ZodEnum<{
|
|
1302
|
-
deny: "deny";
|
|
1303
|
-
allow: "allow";
|
|
1304
1870
|
ask: "ask";
|
|
1871
|
+
allow: "allow";
|
|
1872
|
+
deny: "deny";
|
|
1305
1873
|
}>;
|
|
1306
1874
|
rules: z.ZodArray<z.ZodObject<{
|
|
1307
1875
|
toolName: z.ZodString;
|
|
@@ -1317,8 +1885,8 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1317
1885
|
toolName: z.ZodString;
|
|
1318
1886
|
status: z.ZodEnum<{
|
|
1319
1887
|
failed: "failed";
|
|
1320
|
-
pending: "pending";
|
|
1321
1888
|
completed: "completed";
|
|
1889
|
+
pending: "pending";
|
|
1322
1890
|
running: "running";
|
|
1323
1891
|
denied: "denied";
|
|
1324
1892
|
}>;
|
|
@@ -1331,8 +1899,8 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1331
1899
|
objective: z.ZodString;
|
|
1332
1900
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1333
1901
|
status: z.ZodEnum<{
|
|
1334
|
-
active: "active";
|
|
1335
1902
|
paused: "paused";
|
|
1903
|
+
active: "active";
|
|
1336
1904
|
budget_limited: "budget_limited";
|
|
1337
1905
|
complete: "complete";
|
|
1338
1906
|
}>;
|
|
@@ -1353,8 +1921,8 @@ export declare const dcodeSessionProjectionSchema: z.ZodObject<{
|
|
|
1353
1921
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
1354
1922
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1355
1923
|
provider: "provider";
|
|
1356
|
-
tool: "tool";
|
|
1357
1924
|
runtime: "runtime";
|
|
1925
|
+
tool: "tool";
|
|
1358
1926
|
network: "network";
|
|
1359
1927
|
}>>;
|
|
1360
1928
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1460,9 +2028,9 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1460
2028
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
1461
2029
|
traceId: z.ZodOptional<z.ZodString>;
|
|
1462
2030
|
sessionKind: z.ZodEnum<{
|
|
2031
|
+
interactive: "interactive";
|
|
1463
2032
|
fork: "fork";
|
|
1464
2033
|
selection_side_chat: "selection_side_chat";
|
|
1465
|
-
interactive: "interactive";
|
|
1466
2034
|
workflow_parent: "workflow_parent";
|
|
1467
2035
|
workflow_child: "workflow_child";
|
|
1468
2036
|
subagent_child: "subagent_child";
|
|
@@ -1478,17 +2046,18 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1478
2046
|
mode: z.ZodEnum<{
|
|
1479
2047
|
auto: "auto";
|
|
1480
2048
|
plan: "plan";
|
|
1481
|
-
yolo: "yolo";
|
|
1482
|
-
edit: "edit";
|
|
1483
2049
|
build: "build";
|
|
2050
|
+
edit: "edit";
|
|
2051
|
+
yolo: "yolo";
|
|
2052
|
+
guarded: "guarded";
|
|
1484
2053
|
}>;
|
|
1485
2054
|
status: z.ZodEnum<{
|
|
1486
2055
|
error: "error";
|
|
1487
2056
|
completed: "completed";
|
|
1488
|
-
idle: "idle";
|
|
1489
|
-
paused: "paused";
|
|
1490
2057
|
running: "running";
|
|
2058
|
+
idle: "idle";
|
|
1491
2059
|
waiting: "waiting";
|
|
2060
|
+
paused: "paused";
|
|
1492
2061
|
}>;
|
|
1493
2062
|
model: z.ZodOptional<z.ZodObject<{
|
|
1494
2063
|
providerId: z.ZodString;
|
|
@@ -1503,8 +2072,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1503
2072
|
objective: z.ZodString;
|
|
1504
2073
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1505
2074
|
status: z.ZodEnum<{
|
|
1506
|
-
active: "active";
|
|
1507
2075
|
paused: "paused";
|
|
2076
|
+
active: "active";
|
|
1508
2077
|
budget_limited: "budget_limited";
|
|
1509
2078
|
complete: "complete";
|
|
1510
2079
|
}>;
|
|
@@ -1587,18 +2156,20 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1587
2156
|
current: z.ZodEnum<{
|
|
1588
2157
|
auto: "auto";
|
|
1589
2158
|
plan: "plan";
|
|
1590
|
-
yolo: "yolo";
|
|
1591
|
-
edit: "edit";
|
|
1592
2159
|
build: "build";
|
|
2160
|
+
edit: "edit";
|
|
2161
|
+
yolo: "yolo";
|
|
2162
|
+
guarded: "guarded";
|
|
1593
2163
|
}>;
|
|
1594
2164
|
}, z.core.$strict>;
|
|
1595
2165
|
permission: z.ZodOptional<z.ZodObject<{
|
|
1596
2166
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
1597
2167
|
auto: "auto";
|
|
1598
2168
|
plan: "plan";
|
|
1599
|
-
yolo: "yolo";
|
|
1600
|
-
edit: "edit";
|
|
1601
2169
|
build: "build";
|
|
2170
|
+
edit: "edit";
|
|
2171
|
+
yolo: "yolo";
|
|
2172
|
+
guarded: "guarded";
|
|
1602
2173
|
}>>;
|
|
1603
2174
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
1604
2175
|
}, z.core.$strict>>;
|
|
@@ -1608,17 +2179,18 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1608
2179
|
status: z.ZodEnum<{
|
|
1609
2180
|
error: "error";
|
|
1610
2181
|
completed: "completed";
|
|
1611
|
-
idle: "idle";
|
|
1612
|
-
paused: "paused";
|
|
1613
2182
|
running: "running";
|
|
2183
|
+
idle: "idle";
|
|
1614
2184
|
waiting: "waiting";
|
|
2185
|
+
paused: "paused";
|
|
1615
2186
|
}>;
|
|
1616
2187
|
mode: z.ZodEnum<{
|
|
1617
2188
|
auto: "auto";
|
|
1618
2189
|
plan: "plan";
|
|
1619
|
-
yolo: "yolo";
|
|
1620
|
-
edit: "edit";
|
|
1621
2190
|
build: "build";
|
|
2191
|
+
edit: "edit";
|
|
2192
|
+
yolo: "yolo";
|
|
2193
|
+
guarded: "guarded";
|
|
1622
2194
|
}>;
|
|
1623
2195
|
turnCount: z.ZodNumber;
|
|
1624
2196
|
totalTokenCount: z.ZodNumber;
|
|
@@ -1655,8 +2227,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1655
2227
|
description: z.ZodOptional<z.ZodString>;
|
|
1656
2228
|
response: z.ZodObject<{
|
|
1657
2229
|
decision: z.ZodEnum<{
|
|
1658
|
-
deny: "deny";
|
|
1659
2230
|
allow: "allow";
|
|
2231
|
+
deny: "deny";
|
|
1660
2232
|
escalate: "escalate";
|
|
1661
2233
|
modify: "modify";
|
|
1662
2234
|
}>;
|
|
@@ -1665,9 +2237,9 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1665
2237
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1666
2238
|
type: z.ZodLiteral<"addRules">;
|
|
1667
2239
|
behavior: z.ZodEnum<{
|
|
1668
|
-
deny: "deny";
|
|
1669
|
-
allow: "allow";
|
|
1670
2240
|
ask: "ask";
|
|
2241
|
+
allow: "allow";
|
|
2242
|
+
deny: "deny";
|
|
1671
2243
|
}>;
|
|
1672
2244
|
rules: z.ZodArray<z.ZodObject<{
|
|
1673
2245
|
toolName: z.ZodString;
|
|
@@ -1683,8 +2255,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1683
2255
|
toolName: z.ZodString;
|
|
1684
2256
|
status: z.ZodEnum<{
|
|
1685
2257
|
failed: "failed";
|
|
1686
|
-
pending: "pending";
|
|
1687
2258
|
completed: "completed";
|
|
2259
|
+
pending: "pending";
|
|
1688
2260
|
running: "running";
|
|
1689
2261
|
denied: "denied";
|
|
1690
2262
|
}>;
|
|
@@ -1697,8 +2269,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1697
2269
|
objective: z.ZodString;
|
|
1698
2270
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1699
2271
|
status: z.ZodEnum<{
|
|
1700
|
-
active: "active";
|
|
1701
2272
|
paused: "paused";
|
|
2273
|
+
active: "active";
|
|
1702
2274
|
budget_limited: "budget_limited";
|
|
1703
2275
|
complete: "complete";
|
|
1704
2276
|
}>;
|
|
@@ -1719,8 +2291,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1719
2291
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
1720
2292
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1721
2293
|
provider: "provider";
|
|
1722
|
-
tool: "tool";
|
|
1723
2294
|
runtime: "runtime";
|
|
2295
|
+
tool: "tool";
|
|
1724
2296
|
network: "network";
|
|
1725
2297
|
}>>;
|
|
1726
2298
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -1766,9 +2338,9 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1766
2338
|
}>>;
|
|
1767
2339
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
1768
2340
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
1769
|
-
rewind: "rewind";
|
|
1770
2341
|
regular: "regular";
|
|
1771
2342
|
compact: "compact";
|
|
2343
|
+
rewind: "rewind";
|
|
1772
2344
|
}>>;
|
|
1773
2345
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
1774
2346
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1823,8 +2395,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1823
2395
|
targetId: z.ZodString;
|
|
1824
2396
|
verificationId: z.ZodString;
|
|
1825
2397
|
status: z.ZodEnum<{
|
|
1826
|
-
completed: "completed";
|
|
1827
2398
|
cancelled: "cancelled";
|
|
2399
|
+
completed: "completed";
|
|
1828
2400
|
started: "started";
|
|
1829
2401
|
failed_closed: "failed_closed";
|
|
1830
2402
|
}>;
|
|
@@ -1862,13 +2434,15 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1862
2434
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
1863
2435
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1864
2436
|
subagent: "subagent";
|
|
1865
|
-
background_task: "background_task";
|
|
1866
2437
|
fork: "fork";
|
|
2438
|
+
selection_side_chat: "selection_side_chat";
|
|
2439
|
+
rewind: "rewind";
|
|
2440
|
+
agent_listing_delta: "agent_listing_delta";
|
|
2441
|
+
background_task: "background_task";
|
|
1867
2442
|
goal_state_change: "goal_state_change";
|
|
1868
2443
|
"goal-continuation": "goal-continuation";
|
|
1869
2444
|
plugin_reference: "plugin_reference";
|
|
1870
|
-
|
|
1871
|
-
selection_side_chat: "selection_side_chat";
|
|
2445
|
+
bot_topic_context: "bot_topic_context";
|
|
1872
2446
|
subagent_message: "subagent_message";
|
|
1873
2447
|
todo_reminder: "todo_reminder";
|
|
1874
2448
|
workflow_launch: "workflow_launch";
|
|
@@ -1880,8 +2454,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1880
2454
|
}>>;
|
|
1881
2455
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
1882
2456
|
origin: z.ZodEnum<{
|
|
1883
|
-
system: "system";
|
|
1884
2457
|
migration: "migration";
|
|
2458
|
+
system: "system";
|
|
1885
2459
|
real_user: "real_user";
|
|
1886
2460
|
agent_runtime: "agent_runtime";
|
|
1887
2461
|
import: "import";
|
|
@@ -1953,8 +2527,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
1953
2527
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1954
2528
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
1955
2529
|
origin: z.ZodEnum<{
|
|
1956
|
-
system: "system";
|
|
1957
2530
|
migration: "migration";
|
|
2531
|
+
system: "system";
|
|
1958
2532
|
real_user: "real_user";
|
|
1959
2533
|
agent_runtime: "agent_runtime";
|
|
1960
2534
|
import: "import";
|
|
@@ -2212,8 +2786,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
2212
2786
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2213
2787
|
content: z.ZodString;
|
|
2214
2788
|
status: z.ZodEnum<{
|
|
2215
|
-
pending: "pending";
|
|
2216
2789
|
completed: "completed";
|
|
2790
|
+
pending: "pending";
|
|
2217
2791
|
in_progress: "in_progress";
|
|
2218
2792
|
}>;
|
|
2219
2793
|
priority: z.ZodEnum<{
|
|
@@ -2235,8 +2809,8 @@ export declare const dcodeSessionStateSnapshotSchema: z.ZodObject<{
|
|
|
2235
2809
|
todos: z.ZodArray<z.ZodObject<{
|
|
2236
2810
|
content: z.ZodString;
|
|
2237
2811
|
status: z.ZodEnum<{
|
|
2238
|
-
pending: "pending";
|
|
2239
2812
|
completed: "completed";
|
|
2813
|
+
pending: "pending";
|
|
2240
2814
|
in_progress: "in_progress";
|
|
2241
2815
|
}>;
|
|
2242
2816
|
priority: z.ZodEnum<{
|
|
@@ -2356,8 +2930,8 @@ export declare const dcodeProtocolErrorDetailSchema: z.ZodObject<{
|
|
|
2356
2930
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2357
2931
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2358
2932
|
provider: "provider";
|
|
2359
|
-
tool: "tool";
|
|
2360
2933
|
runtime: "runtime";
|
|
2934
|
+
tool: "tool";
|
|
2361
2935
|
network: "network";
|
|
2362
2936
|
}>>;
|
|
2363
2937
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2399,9 +2973,10 @@ export declare const dcodeSessionCreatedEventPayloadSchema: z.ZodObject<{
|
|
|
2399
2973
|
mode: z.ZodEnum<{
|
|
2400
2974
|
auto: "auto";
|
|
2401
2975
|
plan: "plan";
|
|
2402
|
-
yolo: "yolo";
|
|
2403
|
-
edit: "edit";
|
|
2404
2976
|
build: "build";
|
|
2977
|
+
edit: "edit";
|
|
2978
|
+
yolo: "yolo";
|
|
2979
|
+
guarded: "guarded";
|
|
2405
2980
|
}>;
|
|
2406
2981
|
contextWindow: z.ZodNumber;
|
|
2407
2982
|
}, z.core.$strict>;
|
|
@@ -2426,19 +3001,22 @@ export declare const dcodeSessionTitleUpdatedEventPayloadSchema: z.ZodObject<{
|
|
|
2426
3001
|
title: z.ZodString;
|
|
2427
3002
|
}, z.core.$strict>;
|
|
2428
3003
|
export declare const dcodeTurnStartedEventPayloadSchema: z.ZodObject<{
|
|
3004
|
+
executionStartedAt: z.ZodOptional<z.ZodNumber>;
|
|
2429
3005
|
turnNumber: z.ZodNumber;
|
|
2430
3006
|
input: z.ZodString;
|
|
2431
3007
|
inputId: z.ZodOptional<z.ZodString>;
|
|
2432
3008
|
queryId: z.ZodOptional<z.ZodString>;
|
|
2433
3009
|
inputSource: z.ZodOptional<z.ZodEnum<{
|
|
2434
3010
|
subagent: "subagent";
|
|
2435
|
-
background_task: "background_task";
|
|
2436
3011
|
fork: "fork";
|
|
3012
|
+
selection_side_chat: "selection_side_chat";
|
|
3013
|
+
rewind: "rewind";
|
|
3014
|
+
agent_listing_delta: "agent_listing_delta";
|
|
3015
|
+
background_task: "background_task";
|
|
2437
3016
|
goal_state_change: "goal_state_change";
|
|
2438
3017
|
"goal-continuation": "goal-continuation";
|
|
2439
3018
|
plugin_reference: "plugin_reference";
|
|
2440
|
-
|
|
2441
|
-
selection_side_chat: "selection_side_chat";
|
|
3019
|
+
bot_topic_context: "bot_topic_context";
|
|
2442
3020
|
subagent_message: "subagent_message";
|
|
2443
3021
|
todo_reminder: "todo_reminder";
|
|
2444
3022
|
workflow_launch: "workflow_launch";
|
|
@@ -2458,8 +3036,8 @@ export declare const dcodeTurnStartedEventPayloadSchema: z.ZodObject<{
|
|
|
2458
3036
|
intent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2459
3037
|
originMeta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2460
3038
|
backgroundSource: z.ZodOptional<z.ZodEnum<{
|
|
2461
|
-
subagent: "subagent";
|
|
2462
3039
|
bash: "bash";
|
|
3040
|
+
subagent: "subagent";
|
|
2463
3041
|
}>>;
|
|
2464
3042
|
attachments: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2465
3043
|
}, z.core.$strict>;
|
|
@@ -2520,8 +3098,8 @@ export declare const dcodeTurnCompletedEventPayloadSchema: z.ZodObject<{
|
|
|
2520
3098
|
}, z.core.$strict>>;
|
|
2521
3099
|
inputId: z.ZodOptional<z.ZodString>;
|
|
2522
3100
|
resultType: z.ZodEnum<{
|
|
2523
|
-
success: "success";
|
|
2524
3101
|
cancelled: "cancelled";
|
|
3102
|
+
success: "success";
|
|
2525
3103
|
error_max_turns: "error_max_turns";
|
|
2526
3104
|
error_max_budget: "error_max_budget";
|
|
2527
3105
|
error_during_execution: "error_during_execution";
|
|
@@ -2541,8 +3119,8 @@ export declare const dcodeTurnFailedEventPayloadSchema: z.ZodObject<{
|
|
|
2541
3119
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2542
3120
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2543
3121
|
provider: "provider";
|
|
2544
|
-
tool: "tool";
|
|
2545
3122
|
runtime: "runtime";
|
|
3123
|
+
tool: "tool";
|
|
2546
3124
|
network: "network";
|
|
2547
3125
|
}>>;
|
|
2548
3126
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -2601,8 +3179,8 @@ export declare const dcodeMessagePartDeltaEventPayloadSchema: z.ZodObject<{
|
|
|
2601
3179
|
field: z.ZodOptional<z.ZodEnum<{
|
|
2602
3180
|
output: "output";
|
|
2603
3181
|
input: "input";
|
|
2604
|
-
reasoning: "reasoning";
|
|
2605
3182
|
text: "text";
|
|
3183
|
+
reasoning: "reasoning";
|
|
2606
3184
|
}>>;
|
|
2607
3185
|
delta: z.ZodString;
|
|
2608
3186
|
}, z.core.$strict>;
|
|
@@ -2928,8 +3506,8 @@ export declare const dcodeToolUpdatedEventPayloadSchema: z.ZodDiscriminatedUnion
|
|
|
2928
3506
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
2929
3507
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2930
3508
|
provider: "provider";
|
|
2931
|
-
tool: "tool";
|
|
2932
3509
|
runtime: "runtime";
|
|
3510
|
+
tool: "tool";
|
|
2933
3511
|
network: "network";
|
|
2934
3512
|
}>>;
|
|
2935
3513
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -3003,15 +3581,16 @@ export declare const dcodePermissionRequestedEventPayloadSchema: z.ZodObject<{
|
|
|
3003
3581
|
suggestedPermissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3004
3582
|
type: z.ZodLiteral<"addRules">;
|
|
3005
3583
|
behavior: z.ZodEnum<{
|
|
3006
|
-
deny: "deny";
|
|
3007
|
-
allow: "allow";
|
|
3008
3584
|
ask: "ask";
|
|
3585
|
+
allow: "allow";
|
|
3586
|
+
deny: "deny";
|
|
3009
3587
|
}>;
|
|
3010
3588
|
rules: z.ZodArray<z.ZodObject<{
|
|
3011
3589
|
toolName: z.ZodString;
|
|
3012
3590
|
ruleContent: z.ZodOptional<z.ZodString>;
|
|
3013
3591
|
}, z.core.$strict>>;
|
|
3014
3592
|
}, z.core.$strict>>>;
|
|
3593
|
+
approvalMode: z.ZodOptional<z.ZodLiteral<"user-once">>;
|
|
3015
3594
|
origin: z.ZodOptional<z.ZodObject<{
|
|
3016
3595
|
kind: z.ZodLiteral<"subagent">;
|
|
3017
3596
|
agentId: z.ZodString;
|
|
@@ -3030,8 +3609,8 @@ export declare const dcodePermissionRequestedEventPayloadSchema: z.ZodObject<{
|
|
|
3030
3609
|
description: z.ZodOptional<z.ZodString>;
|
|
3031
3610
|
response: z.ZodObject<{
|
|
3032
3611
|
decision: z.ZodEnum<{
|
|
3033
|
-
deny: "deny";
|
|
3034
3612
|
allow: "allow";
|
|
3613
|
+
deny: "deny";
|
|
3035
3614
|
escalate: "escalate";
|
|
3036
3615
|
modify: "modify";
|
|
3037
3616
|
}>;
|
|
@@ -3040,9 +3619,9 @@ export declare const dcodePermissionRequestedEventPayloadSchema: z.ZodObject<{
|
|
|
3040
3619
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3041
3620
|
type: z.ZodLiteral<"addRules">;
|
|
3042
3621
|
behavior: z.ZodEnum<{
|
|
3043
|
-
deny: "deny";
|
|
3044
|
-
allow: "allow";
|
|
3045
3622
|
ask: "ask";
|
|
3623
|
+
allow: "allow";
|
|
3624
|
+
deny: "deny";
|
|
3046
3625
|
}>;
|
|
3047
3626
|
rules: z.ZodArray<z.ZodObject<{
|
|
3048
3627
|
toolName: z.ZodString;
|
|
@@ -3059,8 +3638,8 @@ export declare const dcodePermissionResolvedEventPayloadSchema: z.ZodObject<{
|
|
|
3059
3638
|
toolCallId: z.ZodString;
|
|
3060
3639
|
toolName: z.ZodOptional<z.ZodString>;
|
|
3061
3640
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
3062
|
-
deny: "deny";
|
|
3063
3641
|
allow: "allow";
|
|
3642
|
+
deny: "deny";
|
|
3064
3643
|
escalate: "escalate";
|
|
3065
3644
|
modify: "modify";
|
|
3066
3645
|
}>>;
|
|
@@ -3766,13 +4345,15 @@ export declare const dcodeSessionMessagesResultSchema: z.ZodObject<{
|
|
|
3766
4345
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
3767
4346
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3768
4347
|
subagent: "subagent";
|
|
3769
|
-
background_task: "background_task";
|
|
3770
4348
|
fork: "fork";
|
|
4349
|
+
selection_side_chat: "selection_side_chat";
|
|
4350
|
+
rewind: "rewind";
|
|
4351
|
+
agent_listing_delta: "agent_listing_delta";
|
|
4352
|
+
background_task: "background_task";
|
|
3771
4353
|
goal_state_change: "goal_state_change";
|
|
3772
4354
|
"goal-continuation": "goal-continuation";
|
|
3773
4355
|
plugin_reference: "plugin_reference";
|
|
3774
|
-
|
|
3775
|
-
selection_side_chat: "selection_side_chat";
|
|
4356
|
+
bot_topic_context: "bot_topic_context";
|
|
3776
4357
|
subagent_message: "subagent_message";
|
|
3777
4358
|
todo_reminder: "todo_reminder";
|
|
3778
4359
|
workflow_launch: "workflow_launch";
|
|
@@ -3784,8 +4365,8 @@ export declare const dcodeSessionMessagesResultSchema: z.ZodObject<{
|
|
|
3784
4365
|
}>>;
|
|
3785
4366
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
3786
4367
|
origin: z.ZodEnum<{
|
|
3787
|
-
system: "system";
|
|
3788
4368
|
migration: "migration";
|
|
4369
|
+
system: "system";
|
|
3789
4370
|
real_user: "real_user";
|
|
3790
4371
|
agent_runtime: "agent_runtime";
|
|
3791
4372
|
import: "import";
|
|
@@ -3857,8 +4438,8 @@ export declare const dcodeSessionMessagesResultSchema: z.ZodObject<{
|
|
|
3857
4438
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3858
4439
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
3859
4440
|
origin: z.ZodEnum<{
|
|
3860
|
-
system: "system";
|
|
3861
4441
|
migration: "migration";
|
|
4442
|
+
system: "system";
|
|
3862
4443
|
real_user: "real_user";
|
|
3863
4444
|
agent_runtime: "agent_runtime";
|
|
3864
4445
|
import: "import";
|
|
@@ -4108,9 +4689,9 @@ export declare const dcodeSessionMessagesResultSchema: z.ZodObject<{
|
|
|
4108
4689
|
export declare const dcodeStateUpdatedNotificationSchema: z.ZodObject<{
|
|
4109
4690
|
type: z.ZodLiteral<"state.updated">;
|
|
4110
4691
|
scope: z.ZodEnum<{
|
|
4692
|
+
session: "session";
|
|
4111
4693
|
workspace: "workspace";
|
|
4112
4694
|
server: "server";
|
|
4113
|
-
session: "session";
|
|
4114
4695
|
}>;
|
|
4115
4696
|
workspace: z.ZodOptional<z.ZodObject<{
|
|
4116
4697
|
workspacePath: z.ZodString;
|
|
@@ -4479,9 +5060,9 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4479
5060
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
4480
5061
|
traceId: z.ZodOptional<z.ZodString>;
|
|
4481
5062
|
sessionKind: z.ZodEnum<{
|
|
5063
|
+
interactive: "interactive";
|
|
4482
5064
|
fork: "fork";
|
|
4483
5065
|
selection_side_chat: "selection_side_chat";
|
|
4484
|
-
interactive: "interactive";
|
|
4485
5066
|
workflow_parent: "workflow_parent";
|
|
4486
5067
|
workflow_child: "workflow_child";
|
|
4487
5068
|
subagent_child: "subagent_child";
|
|
@@ -4497,17 +5078,18 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4497
5078
|
mode: z.ZodEnum<{
|
|
4498
5079
|
auto: "auto";
|
|
4499
5080
|
plan: "plan";
|
|
4500
|
-
yolo: "yolo";
|
|
4501
|
-
edit: "edit";
|
|
4502
5081
|
build: "build";
|
|
5082
|
+
edit: "edit";
|
|
5083
|
+
yolo: "yolo";
|
|
5084
|
+
guarded: "guarded";
|
|
4503
5085
|
}>;
|
|
4504
5086
|
status: z.ZodEnum<{
|
|
4505
5087
|
error: "error";
|
|
4506
5088
|
completed: "completed";
|
|
4507
|
-
idle: "idle";
|
|
4508
|
-
paused: "paused";
|
|
4509
5089
|
running: "running";
|
|
5090
|
+
idle: "idle";
|
|
4510
5091
|
waiting: "waiting";
|
|
5092
|
+
paused: "paused";
|
|
4511
5093
|
}>;
|
|
4512
5094
|
model: z.ZodOptional<z.ZodObject<{
|
|
4513
5095
|
providerId: z.ZodString;
|
|
@@ -4522,8 +5104,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4522
5104
|
objective: z.ZodString;
|
|
4523
5105
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4524
5106
|
status: z.ZodEnum<{
|
|
4525
|
-
active: "active";
|
|
4526
5107
|
paused: "paused";
|
|
5108
|
+
active: "active";
|
|
4527
5109
|
budget_limited: "budget_limited";
|
|
4528
5110
|
complete: "complete";
|
|
4529
5111
|
}>;
|
|
@@ -4606,18 +5188,20 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4606
5188
|
current: z.ZodEnum<{
|
|
4607
5189
|
auto: "auto";
|
|
4608
5190
|
plan: "plan";
|
|
4609
|
-
yolo: "yolo";
|
|
4610
|
-
edit: "edit";
|
|
4611
5191
|
build: "build";
|
|
5192
|
+
edit: "edit";
|
|
5193
|
+
yolo: "yolo";
|
|
5194
|
+
guarded: "guarded";
|
|
4612
5195
|
}>;
|
|
4613
5196
|
}, z.core.$strict>;
|
|
4614
5197
|
permission: z.ZodOptional<z.ZodObject<{
|
|
4615
5198
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
4616
5199
|
auto: "auto";
|
|
4617
5200
|
plan: "plan";
|
|
4618
|
-
yolo: "yolo";
|
|
4619
|
-
edit: "edit";
|
|
4620
5201
|
build: "build";
|
|
5202
|
+
edit: "edit";
|
|
5203
|
+
yolo: "yolo";
|
|
5204
|
+
guarded: "guarded";
|
|
4621
5205
|
}>>;
|
|
4622
5206
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
4623
5207
|
}, z.core.$strict>>;
|
|
@@ -4627,17 +5211,18 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4627
5211
|
status: z.ZodEnum<{
|
|
4628
5212
|
error: "error";
|
|
4629
5213
|
completed: "completed";
|
|
4630
|
-
idle: "idle";
|
|
4631
|
-
paused: "paused";
|
|
4632
5214
|
running: "running";
|
|
5215
|
+
idle: "idle";
|
|
4633
5216
|
waiting: "waiting";
|
|
5217
|
+
paused: "paused";
|
|
4634
5218
|
}>;
|
|
4635
5219
|
mode: z.ZodEnum<{
|
|
4636
5220
|
auto: "auto";
|
|
4637
5221
|
plan: "plan";
|
|
4638
|
-
yolo: "yolo";
|
|
4639
|
-
edit: "edit";
|
|
4640
5222
|
build: "build";
|
|
5223
|
+
edit: "edit";
|
|
5224
|
+
yolo: "yolo";
|
|
5225
|
+
guarded: "guarded";
|
|
4641
5226
|
}>;
|
|
4642
5227
|
turnCount: z.ZodNumber;
|
|
4643
5228
|
totalTokenCount: z.ZodNumber;
|
|
@@ -4674,8 +5259,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4674
5259
|
description: z.ZodOptional<z.ZodString>;
|
|
4675
5260
|
response: z.ZodObject<{
|
|
4676
5261
|
decision: z.ZodEnum<{
|
|
4677
|
-
deny: "deny";
|
|
4678
5262
|
allow: "allow";
|
|
5263
|
+
deny: "deny";
|
|
4679
5264
|
escalate: "escalate";
|
|
4680
5265
|
modify: "modify";
|
|
4681
5266
|
}>;
|
|
@@ -4684,9 +5269,9 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4684
5269
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4685
5270
|
type: z.ZodLiteral<"addRules">;
|
|
4686
5271
|
behavior: z.ZodEnum<{
|
|
4687
|
-
deny: "deny";
|
|
4688
|
-
allow: "allow";
|
|
4689
5272
|
ask: "ask";
|
|
5273
|
+
allow: "allow";
|
|
5274
|
+
deny: "deny";
|
|
4690
5275
|
}>;
|
|
4691
5276
|
rules: z.ZodArray<z.ZodObject<{
|
|
4692
5277
|
toolName: z.ZodString;
|
|
@@ -4702,8 +5287,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4702
5287
|
toolName: z.ZodString;
|
|
4703
5288
|
status: z.ZodEnum<{
|
|
4704
5289
|
failed: "failed";
|
|
4705
|
-
pending: "pending";
|
|
4706
5290
|
completed: "completed";
|
|
5291
|
+
pending: "pending";
|
|
4707
5292
|
running: "running";
|
|
4708
5293
|
denied: "denied";
|
|
4709
5294
|
}>;
|
|
@@ -4716,8 +5301,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4716
5301
|
objective: z.ZodString;
|
|
4717
5302
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4718
5303
|
status: z.ZodEnum<{
|
|
4719
|
-
active: "active";
|
|
4720
5304
|
paused: "paused";
|
|
5305
|
+
active: "active";
|
|
4721
5306
|
budget_limited: "budget_limited";
|
|
4722
5307
|
complete: "complete";
|
|
4723
5308
|
}>;
|
|
@@ -4738,8 +5323,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4738
5323
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
4739
5324
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4740
5325
|
provider: "provider";
|
|
4741
|
-
tool: "tool";
|
|
4742
5326
|
runtime: "runtime";
|
|
5327
|
+
tool: "tool";
|
|
4743
5328
|
network: "network";
|
|
4744
5329
|
}>>;
|
|
4745
5330
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -4785,9 +5370,9 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4785
5370
|
}>>;
|
|
4786
5371
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
4787
5372
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
4788
|
-
rewind: "rewind";
|
|
4789
5373
|
regular: "regular";
|
|
4790
5374
|
compact: "compact";
|
|
5375
|
+
rewind: "rewind";
|
|
4791
5376
|
}>>;
|
|
4792
5377
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
4793
5378
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -4842,8 +5427,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4842
5427
|
targetId: z.ZodString;
|
|
4843
5428
|
verificationId: z.ZodString;
|
|
4844
5429
|
status: z.ZodEnum<{
|
|
4845
|
-
completed: "completed";
|
|
4846
5430
|
cancelled: "cancelled";
|
|
5431
|
+
completed: "completed";
|
|
4847
5432
|
started: "started";
|
|
4848
5433
|
failed_closed: "failed_closed";
|
|
4849
5434
|
}>;
|
|
@@ -4881,13 +5466,15 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4881
5466
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
4882
5467
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4883
5468
|
subagent: "subagent";
|
|
4884
|
-
background_task: "background_task";
|
|
4885
5469
|
fork: "fork";
|
|
5470
|
+
selection_side_chat: "selection_side_chat";
|
|
5471
|
+
rewind: "rewind";
|
|
5472
|
+
agent_listing_delta: "agent_listing_delta";
|
|
5473
|
+
background_task: "background_task";
|
|
4886
5474
|
goal_state_change: "goal_state_change";
|
|
4887
5475
|
"goal-continuation": "goal-continuation";
|
|
4888
5476
|
plugin_reference: "plugin_reference";
|
|
4889
|
-
|
|
4890
|
-
selection_side_chat: "selection_side_chat";
|
|
5477
|
+
bot_topic_context: "bot_topic_context";
|
|
4891
5478
|
subagent_message: "subagent_message";
|
|
4892
5479
|
todo_reminder: "todo_reminder";
|
|
4893
5480
|
workflow_launch: "workflow_launch";
|
|
@@ -4899,8 +5486,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4899
5486
|
}>>;
|
|
4900
5487
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
4901
5488
|
origin: z.ZodEnum<{
|
|
4902
|
-
system: "system";
|
|
4903
5489
|
migration: "migration";
|
|
5490
|
+
system: "system";
|
|
4904
5491
|
real_user: "real_user";
|
|
4905
5492
|
agent_runtime: "agent_runtime";
|
|
4906
5493
|
import: "import";
|
|
@@ -4972,8 +5559,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
4972
5559
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4973
5560
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
4974
5561
|
origin: z.ZodEnum<{
|
|
4975
|
-
system: "system";
|
|
4976
5562
|
migration: "migration";
|
|
5563
|
+
system: "system";
|
|
4977
5564
|
real_user: "real_user";
|
|
4978
5565
|
agent_runtime: "agent_runtime";
|
|
4979
5566
|
import: "import";
|
|
@@ -5231,8 +5818,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
5231
5818
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5232
5819
|
content: z.ZodString;
|
|
5233
5820
|
status: z.ZodEnum<{
|
|
5234
|
-
pending: "pending";
|
|
5235
5821
|
completed: "completed";
|
|
5822
|
+
pending: "pending";
|
|
5236
5823
|
in_progress: "in_progress";
|
|
5237
5824
|
}>;
|
|
5238
5825
|
priority: z.ZodEnum<{
|
|
@@ -5254,8 +5841,8 @@ export declare const dcodeSessionSubscribeResultSchema: z.ZodObject<{
|
|
|
5254
5841
|
todos: z.ZodArray<z.ZodObject<{
|
|
5255
5842
|
content: z.ZodString;
|
|
5256
5843
|
status: z.ZodEnum<{
|
|
5257
|
-
pending: "pending";
|
|
5258
5844
|
completed: "completed";
|
|
5845
|
+
pending: "pending";
|
|
5259
5846
|
in_progress: "in_progress";
|
|
5260
5847
|
}>;
|
|
5261
5848
|
priority: z.ZodEnum<{
|
|
@@ -5288,9 +5875,9 @@ export declare const dcodeSessionListResultSchema: z.ZodObject<{
|
|
|
5288
5875
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
5289
5876
|
traceId: z.ZodOptional<z.ZodString>;
|
|
5290
5877
|
sessionKind: z.ZodEnum<{
|
|
5878
|
+
interactive: "interactive";
|
|
5291
5879
|
fork: "fork";
|
|
5292
5880
|
selection_side_chat: "selection_side_chat";
|
|
5293
|
-
interactive: "interactive";
|
|
5294
5881
|
workflow_parent: "workflow_parent";
|
|
5295
5882
|
workflow_child: "workflow_child";
|
|
5296
5883
|
subagent_child: "subagent_child";
|
|
@@ -5306,17 +5893,18 @@ export declare const dcodeSessionListResultSchema: z.ZodObject<{
|
|
|
5306
5893
|
mode: z.ZodEnum<{
|
|
5307
5894
|
auto: "auto";
|
|
5308
5895
|
plan: "plan";
|
|
5309
|
-
yolo: "yolo";
|
|
5310
|
-
edit: "edit";
|
|
5311
5896
|
build: "build";
|
|
5897
|
+
edit: "edit";
|
|
5898
|
+
yolo: "yolo";
|
|
5899
|
+
guarded: "guarded";
|
|
5312
5900
|
}>;
|
|
5313
5901
|
status: z.ZodEnum<{
|
|
5314
5902
|
error: "error";
|
|
5315
5903
|
completed: "completed";
|
|
5316
|
-
idle: "idle";
|
|
5317
|
-
paused: "paused";
|
|
5318
5904
|
running: "running";
|
|
5905
|
+
idle: "idle";
|
|
5319
5906
|
waiting: "waiting";
|
|
5907
|
+
paused: "paused";
|
|
5320
5908
|
}>;
|
|
5321
5909
|
model: z.ZodOptional<z.ZodObject<{
|
|
5322
5910
|
providerId: z.ZodString;
|
|
@@ -5331,8 +5919,8 @@ export declare const dcodeSessionListResultSchema: z.ZodObject<{
|
|
|
5331
5919
|
objective: z.ZodString;
|
|
5332
5920
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5333
5921
|
status: z.ZodEnum<{
|
|
5334
|
-
active: "active";
|
|
5335
5922
|
paused: "paused";
|
|
5923
|
+
active: "active";
|
|
5336
5924
|
budget_limited: "budget_limited";
|
|
5337
5925
|
complete: "complete";
|
|
5338
5926
|
}>;
|
|
@@ -5376,9 +5964,9 @@ export declare const dcodeSessionEndedSubagentSchema: z.ZodObject<{
|
|
|
5376
5964
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
5377
5965
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
5378
5966
|
status: z.ZodEnum<{
|
|
5379
|
-
failed: "failed";
|
|
5380
|
-
success: "success";
|
|
5381
5967
|
cancelled: "cancelled";
|
|
5968
|
+
success: "success";
|
|
5969
|
+
failed: "failed";
|
|
5382
5970
|
lost: "lost";
|
|
5383
5971
|
}>;
|
|
5384
5972
|
}, z.core.$strict>;
|
|
@@ -5413,9 +6001,9 @@ export declare const dcodeSessionSubagentsResultSchema: z.ZodObject<{
|
|
|
5413
6001
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
5414
6002
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
5415
6003
|
status: z.ZodEnum<{
|
|
5416
|
-
failed: "failed";
|
|
5417
|
-
success: "success";
|
|
5418
6004
|
cancelled: "cancelled";
|
|
6005
|
+
success: "success";
|
|
6006
|
+
failed: "failed";
|
|
5419
6007
|
lost: "lost";
|
|
5420
6008
|
}>;
|
|
5421
6009
|
}, z.core.$strict>>;
|
|
@@ -5423,6 +6011,12 @@ export declare const dcodeSessionSubagentsResultSchema: z.ZodObject<{
|
|
|
5423
6011
|
}, z.core.$strict>;
|
|
5424
6012
|
}, z.core.$strict>;
|
|
5425
6013
|
export type DCodeSessionSubagentsResult = z.infer<typeof dcodeSessionSubagentsResultSchema>;
|
|
6014
|
+
/** 服务端 feature key 的取值域在协议里的 zod 形态(packages/shared/src/dynamic-workflow-feature.ts)。 */
|
|
6015
|
+
export declare const dcodeDynamicWorkflowModeSchema: z.ZodEnum<{
|
|
6016
|
+
disabled: "disabled";
|
|
6017
|
+
onDemand: "onDemand";
|
|
6018
|
+
alwaysOn: "alwaysOn";
|
|
6019
|
+
}>;
|
|
5426
6020
|
export declare const dcodeSessionCreateParamsSchema: z.ZodObject<{
|
|
5427
6021
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
5428
6022
|
workspace: z.ZodObject<{
|
|
@@ -5435,9 +6029,10 @@ export declare const dcodeSessionCreateParamsSchema: z.ZodObject<{
|
|
|
5435
6029
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
5436
6030
|
auto: "auto";
|
|
5437
6031
|
plan: "plan";
|
|
5438
|
-
yolo: "yolo";
|
|
5439
|
-
edit: "edit";
|
|
5440
6032
|
build: "build";
|
|
6033
|
+
edit: "edit";
|
|
6034
|
+
yolo: "yolo";
|
|
6035
|
+
guarded: "guarded";
|
|
5441
6036
|
}>>;
|
|
5442
6037
|
model: z.ZodOptional<z.ZodObject<{
|
|
5443
6038
|
providerId: z.ZodString;
|
|
@@ -5461,12 +6056,12 @@ export declare const dcodeSessionCreateParamsSchema: z.ZodObject<{
|
|
|
5461
6056
|
value: z.ZodString;
|
|
5462
6057
|
}, z.core.$strict>>;
|
|
5463
6058
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5464
|
-
workspace: "workspace";
|
|
5465
6059
|
session: "session";
|
|
6060
|
+
workspace: "workspace";
|
|
5466
6061
|
}>>;
|
|
5467
6062
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
5468
|
-
auto: "auto";
|
|
5469
6063
|
legacy: "legacy";
|
|
6064
|
+
auto: "auto";
|
|
5470
6065
|
"2026-07-28": "2026-07-28";
|
|
5471
6066
|
}>>;
|
|
5472
6067
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5496,12 +6091,12 @@ export declare const dcodeSessionCreateParamsSchema: z.ZodObject<{
|
|
|
5496
6091
|
scope: z.ZodOptional<z.ZodString>;
|
|
5497
6092
|
}, z.core.$strict>]>>;
|
|
5498
6093
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5499
|
-
workspace: "workspace";
|
|
5500
6094
|
session: "session";
|
|
6095
|
+
workspace: "workspace";
|
|
5501
6096
|
}>>;
|
|
5502
6097
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
5503
|
-
auto: "auto";
|
|
5504
6098
|
legacy: "legacy";
|
|
6099
|
+
auto: "auto";
|
|
5505
6100
|
"2026-07-28": "2026-07-28";
|
|
5506
6101
|
}>>;
|
|
5507
6102
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5548,6 +6143,11 @@ export declare const dcodeSessionCreateParamsSchema: z.ZodObject<{
|
|
|
5548
6143
|
}, z.core.$strict>], "source">>;
|
|
5549
6144
|
offPeakToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5550
6145
|
dynamicWorkflowEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6146
|
+
dynamicWorkflowMode: z.ZodOptional<z.ZodEnum<{
|
|
6147
|
+
disabled: "disabled";
|
|
6148
|
+
onDemand: "onDemand";
|
|
6149
|
+
alwaysOn: "alwaysOn";
|
|
6150
|
+
}>>;
|
|
5551
6151
|
}, z.core.$strict>;
|
|
5552
6152
|
export type DCodeSessionCreateParams = z.infer<typeof dcodeSessionCreateParamsSchema>;
|
|
5553
6153
|
export declare const dcodeSessionResumeParamsSchema: z.ZodObject<{
|
|
@@ -5568,12 +6168,12 @@ export declare const dcodeSessionResumeParamsSchema: z.ZodObject<{
|
|
|
5568
6168
|
value: z.ZodString;
|
|
5569
6169
|
}, z.core.$strict>>;
|
|
5570
6170
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5571
|
-
workspace: "workspace";
|
|
5572
6171
|
session: "session";
|
|
6172
|
+
workspace: "workspace";
|
|
5573
6173
|
}>>;
|
|
5574
6174
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
5575
|
-
auto: "auto";
|
|
5576
6175
|
legacy: "legacy";
|
|
6176
|
+
auto: "auto";
|
|
5577
6177
|
"2026-07-28": "2026-07-28";
|
|
5578
6178
|
}>>;
|
|
5579
6179
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5603,12 +6203,12 @@ export declare const dcodeSessionResumeParamsSchema: z.ZodObject<{
|
|
|
5603
6203
|
scope: z.ZodOptional<z.ZodString>;
|
|
5604
6204
|
}, z.core.$strict>]>>;
|
|
5605
6205
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
5606
|
-
workspace: "workspace";
|
|
5607
6206
|
session: "session";
|
|
6207
|
+
workspace: "workspace";
|
|
5608
6208
|
}>>;
|
|
5609
6209
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
5610
|
-
auto: "auto";
|
|
5611
6210
|
legacy: "legacy";
|
|
6211
|
+
auto: "auto";
|
|
5612
6212
|
"2026-07-28": "2026-07-28";
|
|
5613
6213
|
}>>;
|
|
5614
6214
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5617,6 +6217,11 @@ export declare const dcodeSessionResumeParamsSchema: z.ZodObject<{
|
|
|
5617
6217
|
toolDenylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5618
6218
|
offPeakToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5619
6219
|
dynamicWorkflowEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6220
|
+
dynamicWorkflowMode: z.ZodOptional<z.ZodEnum<{
|
|
6221
|
+
disabled: "disabled";
|
|
6222
|
+
onDemand: "onDemand";
|
|
6223
|
+
alwaysOn: "alwaysOn";
|
|
6224
|
+
}>>;
|
|
5620
6225
|
}, z.core.$strict>;
|
|
5621
6226
|
export type DCodeSessionResumeParams = z.infer<typeof dcodeSessionResumeParamsSchema>;
|
|
5622
6227
|
export declare const dcodeSessionListParamsSchema: z.ZodObject<{
|
|
@@ -5742,6 +6347,10 @@ export declare const dcodeSessionReadParamsSchema: z.ZodObject<{
|
|
|
5742
6347
|
}>>;
|
|
5743
6348
|
messageLimit: z.ZodOptional<z.ZodNumber>;
|
|
5744
6349
|
afterSeq: z.ZodOptional<z.ZodNumber>;
|
|
6350
|
+
contentProfile: z.ZodOptional<z.ZodEnum<{
|
|
6351
|
+
index: "index";
|
|
6352
|
+
full: "full";
|
|
6353
|
+
}>>;
|
|
5745
6354
|
}, z.core.$strict>;
|
|
5746
6355
|
export type DCodeSessionReadParams = z.infer<typeof dcodeSessionReadParamsSchema>;
|
|
5747
6356
|
export declare const dcodeSessionMessagesParamsSchema: z.ZodObject<{
|
|
@@ -5761,6 +6370,10 @@ export declare const dcodeSessionRuntimePreferencesScopeSchema: z.ZodEnum<{
|
|
|
5761
6370
|
"user-execution": "user-execution";
|
|
5762
6371
|
}>;
|
|
5763
6372
|
export type DCodeSessionRuntimePreferencesScope = z.infer<typeof dcodeSessionRuntimePreferencesScopeSchema>;
|
|
6373
|
+
export { subagentRuntimeConfigSchema, type SubagentRuntimeConfig, } from "../subagent-runtime-config.js";
|
|
6374
|
+
export declare const dcodeSubagentsReadRuntimeConfigParamsSchema: z.ZodObject<{
|
|
6375
|
+
sessionId: z.ZodString;
|
|
6376
|
+
}, z.core.$strict>;
|
|
5764
6377
|
export declare const DCODE_SESSION_RUNTIME_PREFERENCES_REQUEST_TIMEOUT_MS = 15000;
|
|
5765
6378
|
export declare const dcodeSessionRequestRuntimePreferencesParamsSchema: z.ZodObject<{
|
|
5766
6379
|
sessionId: z.ZodString;
|
|
@@ -5778,6 +6391,7 @@ export declare const dcodeModelContextBudgetStrategySchema: z.ZodEnum<{
|
|
|
5778
6391
|
export type DCodeModelContextBudgetStrategy = z.infer<typeof dcodeModelContextBudgetStrategySchema>;
|
|
5779
6392
|
export declare const dcodeSessionRuntimePreferencesResultSchema: z.ZodObject<{
|
|
5780
6393
|
nativeSearchEnhancementsEnabled: z.ZodBoolean;
|
|
6394
|
+
subagentRuntimeConfigEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5781
6395
|
memoryEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
5782
6396
|
askUserQuestionAutoResolutionEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
5783
6397
|
integratedTerminalShell: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5821,12 +6435,31 @@ export declare const dcodeSessionSendParamsSchema: z.ZodObject<{
|
|
|
5821
6435
|
selectionScope: z.ZodLiteral<"execution">;
|
|
5822
6436
|
requestAuth: z.ZodOptional<z.ZodObject<{
|
|
5823
6437
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
6438
|
+
apiKeyId: z.ZodOptional<z.ZodString>;
|
|
6439
|
+
accountScope: z.ZodOptional<z.ZodString>;
|
|
5824
6440
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5825
6441
|
}, z.core.$strict>>;
|
|
5826
6442
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
5827
6443
|
foregroundModel: z.ZodLiteral<"submission">;
|
|
5828
6444
|
background: z.ZodLiteral<"deny">;
|
|
5829
6445
|
}, z.core.$strict>>;
|
|
6446
|
+
selectionFallback: z.ZodOptional<z.ZodObject<{
|
|
6447
|
+
providerId: z.ZodString;
|
|
6448
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
6449
|
+
reason: z.ZodEnum<{
|
|
6450
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
6451
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
6452
|
+
}>;
|
|
6453
|
+
providerErrorCode: z.ZodOptional<z.ZodString>;
|
|
6454
|
+
}, z.core.$strict>>;
|
|
6455
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
6456
|
+
providerId: z.ZodString;
|
|
6457
|
+
modelId: z.ZodString;
|
|
6458
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
6459
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
6460
|
+
}, z.core.$strict>>;
|
|
6461
|
+
}, z.core.$strict>>;
|
|
6462
|
+
}, z.core.$strict>>;
|
|
5830
6463
|
}, z.core.$strict>>;
|
|
5831
6464
|
inputId: z.ZodOptional<z.ZodString>;
|
|
5832
6465
|
queryId: z.ZodOptional<z.ZodString>;
|
|
@@ -5856,6 +6489,8 @@ export declare const dcodeSessionSendParamsSchema: z.ZodObject<{
|
|
|
5856
6489
|
private: "private";
|
|
5857
6490
|
group: "group";
|
|
5858
6491
|
}>;
|
|
6492
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
6493
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
5859
6494
|
}, z.core.$strict>>;
|
|
5860
6495
|
toolDenylist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5861
6496
|
}, z.core.$strict>;
|
|
@@ -5917,9 +6552,9 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
5917
6552
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
5918
6553
|
traceId: z.ZodOptional<z.ZodString>;
|
|
5919
6554
|
sessionKind: z.ZodEnum<{
|
|
6555
|
+
interactive: "interactive";
|
|
5920
6556
|
fork: "fork";
|
|
5921
6557
|
selection_side_chat: "selection_side_chat";
|
|
5922
|
-
interactive: "interactive";
|
|
5923
6558
|
workflow_parent: "workflow_parent";
|
|
5924
6559
|
workflow_child: "workflow_child";
|
|
5925
6560
|
subagent_child: "subagent_child";
|
|
@@ -5935,17 +6570,18 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
5935
6570
|
mode: z.ZodEnum<{
|
|
5936
6571
|
auto: "auto";
|
|
5937
6572
|
plan: "plan";
|
|
5938
|
-
yolo: "yolo";
|
|
5939
|
-
edit: "edit";
|
|
5940
6573
|
build: "build";
|
|
6574
|
+
edit: "edit";
|
|
6575
|
+
yolo: "yolo";
|
|
6576
|
+
guarded: "guarded";
|
|
5941
6577
|
}>;
|
|
5942
6578
|
status: z.ZodEnum<{
|
|
5943
6579
|
error: "error";
|
|
5944
6580
|
completed: "completed";
|
|
5945
|
-
idle: "idle";
|
|
5946
|
-
paused: "paused";
|
|
5947
6581
|
running: "running";
|
|
6582
|
+
idle: "idle";
|
|
5948
6583
|
waiting: "waiting";
|
|
6584
|
+
paused: "paused";
|
|
5949
6585
|
}>;
|
|
5950
6586
|
model: z.ZodOptional<z.ZodObject<{
|
|
5951
6587
|
providerId: z.ZodString;
|
|
@@ -5960,8 +6596,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
5960
6596
|
objective: z.ZodString;
|
|
5961
6597
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5962
6598
|
status: z.ZodEnum<{
|
|
5963
|
-
active: "active";
|
|
5964
6599
|
paused: "paused";
|
|
6600
|
+
active: "active";
|
|
5965
6601
|
budget_limited: "budget_limited";
|
|
5966
6602
|
complete: "complete";
|
|
5967
6603
|
}>;
|
|
@@ -6044,18 +6680,20 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6044
6680
|
current: z.ZodEnum<{
|
|
6045
6681
|
auto: "auto";
|
|
6046
6682
|
plan: "plan";
|
|
6047
|
-
yolo: "yolo";
|
|
6048
|
-
edit: "edit";
|
|
6049
6683
|
build: "build";
|
|
6684
|
+
edit: "edit";
|
|
6685
|
+
yolo: "yolo";
|
|
6686
|
+
guarded: "guarded";
|
|
6050
6687
|
}>;
|
|
6051
6688
|
}, z.core.$strict>;
|
|
6052
6689
|
permission: z.ZodOptional<z.ZodObject<{
|
|
6053
6690
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
6054
6691
|
auto: "auto";
|
|
6055
6692
|
plan: "plan";
|
|
6056
|
-
yolo: "yolo";
|
|
6057
|
-
edit: "edit";
|
|
6058
6693
|
build: "build";
|
|
6694
|
+
edit: "edit";
|
|
6695
|
+
yolo: "yolo";
|
|
6696
|
+
guarded: "guarded";
|
|
6059
6697
|
}>>;
|
|
6060
6698
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
6061
6699
|
}, z.core.$strict>>;
|
|
@@ -6065,17 +6703,18 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6065
6703
|
status: z.ZodEnum<{
|
|
6066
6704
|
error: "error";
|
|
6067
6705
|
completed: "completed";
|
|
6068
|
-
idle: "idle";
|
|
6069
|
-
paused: "paused";
|
|
6070
6706
|
running: "running";
|
|
6707
|
+
idle: "idle";
|
|
6071
6708
|
waiting: "waiting";
|
|
6709
|
+
paused: "paused";
|
|
6072
6710
|
}>;
|
|
6073
6711
|
mode: z.ZodEnum<{
|
|
6074
6712
|
auto: "auto";
|
|
6075
6713
|
plan: "plan";
|
|
6076
|
-
yolo: "yolo";
|
|
6077
|
-
edit: "edit";
|
|
6078
6714
|
build: "build";
|
|
6715
|
+
edit: "edit";
|
|
6716
|
+
yolo: "yolo";
|
|
6717
|
+
guarded: "guarded";
|
|
6079
6718
|
}>;
|
|
6080
6719
|
turnCount: z.ZodNumber;
|
|
6081
6720
|
totalTokenCount: z.ZodNumber;
|
|
@@ -6112,8 +6751,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6112
6751
|
description: z.ZodOptional<z.ZodString>;
|
|
6113
6752
|
response: z.ZodObject<{
|
|
6114
6753
|
decision: z.ZodEnum<{
|
|
6115
|
-
deny: "deny";
|
|
6116
6754
|
allow: "allow";
|
|
6755
|
+
deny: "deny";
|
|
6117
6756
|
escalate: "escalate";
|
|
6118
6757
|
modify: "modify";
|
|
6119
6758
|
}>;
|
|
@@ -6122,9 +6761,9 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6122
6761
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6123
6762
|
type: z.ZodLiteral<"addRules">;
|
|
6124
6763
|
behavior: z.ZodEnum<{
|
|
6125
|
-
deny: "deny";
|
|
6126
|
-
allow: "allow";
|
|
6127
6764
|
ask: "ask";
|
|
6765
|
+
allow: "allow";
|
|
6766
|
+
deny: "deny";
|
|
6128
6767
|
}>;
|
|
6129
6768
|
rules: z.ZodArray<z.ZodObject<{
|
|
6130
6769
|
toolName: z.ZodString;
|
|
@@ -6140,8 +6779,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6140
6779
|
toolName: z.ZodString;
|
|
6141
6780
|
status: z.ZodEnum<{
|
|
6142
6781
|
failed: "failed";
|
|
6143
|
-
pending: "pending";
|
|
6144
6782
|
completed: "completed";
|
|
6783
|
+
pending: "pending";
|
|
6145
6784
|
running: "running";
|
|
6146
6785
|
denied: "denied";
|
|
6147
6786
|
}>;
|
|
@@ -6154,8 +6793,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6154
6793
|
objective: z.ZodString;
|
|
6155
6794
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6156
6795
|
status: z.ZodEnum<{
|
|
6157
|
-
active: "active";
|
|
6158
6796
|
paused: "paused";
|
|
6797
|
+
active: "active";
|
|
6159
6798
|
budget_limited: "budget_limited";
|
|
6160
6799
|
complete: "complete";
|
|
6161
6800
|
}>;
|
|
@@ -6176,8 +6815,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6176
6815
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
6177
6816
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6178
6817
|
provider: "provider";
|
|
6179
|
-
tool: "tool";
|
|
6180
6818
|
runtime: "runtime";
|
|
6819
|
+
tool: "tool";
|
|
6181
6820
|
network: "network";
|
|
6182
6821
|
}>>;
|
|
6183
6822
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -6223,9 +6862,9 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6223
6862
|
}>>;
|
|
6224
6863
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
6225
6864
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
6226
|
-
rewind: "rewind";
|
|
6227
6865
|
regular: "regular";
|
|
6228
6866
|
compact: "compact";
|
|
6867
|
+
rewind: "rewind";
|
|
6229
6868
|
}>>;
|
|
6230
6869
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
6231
6870
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6280,8 +6919,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6280
6919
|
targetId: z.ZodString;
|
|
6281
6920
|
verificationId: z.ZodString;
|
|
6282
6921
|
status: z.ZodEnum<{
|
|
6283
|
-
completed: "completed";
|
|
6284
6922
|
cancelled: "cancelled";
|
|
6923
|
+
completed: "completed";
|
|
6285
6924
|
started: "started";
|
|
6286
6925
|
failed_closed: "failed_closed";
|
|
6287
6926
|
}>;
|
|
@@ -6319,13 +6958,15 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6319
6958
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
6320
6959
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6321
6960
|
subagent: "subagent";
|
|
6322
|
-
background_task: "background_task";
|
|
6323
6961
|
fork: "fork";
|
|
6962
|
+
selection_side_chat: "selection_side_chat";
|
|
6963
|
+
rewind: "rewind";
|
|
6964
|
+
agent_listing_delta: "agent_listing_delta";
|
|
6965
|
+
background_task: "background_task";
|
|
6324
6966
|
goal_state_change: "goal_state_change";
|
|
6325
6967
|
"goal-continuation": "goal-continuation";
|
|
6326
6968
|
plugin_reference: "plugin_reference";
|
|
6327
|
-
|
|
6328
|
-
selection_side_chat: "selection_side_chat";
|
|
6969
|
+
bot_topic_context: "bot_topic_context";
|
|
6329
6970
|
subagent_message: "subagent_message";
|
|
6330
6971
|
todo_reminder: "todo_reminder";
|
|
6331
6972
|
workflow_launch: "workflow_launch";
|
|
@@ -6337,8 +6978,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6337
6978
|
}>>;
|
|
6338
6979
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
6339
6980
|
origin: z.ZodEnum<{
|
|
6340
|
-
system: "system";
|
|
6341
6981
|
migration: "migration";
|
|
6982
|
+
system: "system";
|
|
6342
6983
|
real_user: "real_user";
|
|
6343
6984
|
agent_runtime: "agent_runtime";
|
|
6344
6985
|
import: "import";
|
|
@@ -6410,8 +7051,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6410
7051
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6411
7052
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
6412
7053
|
origin: z.ZodEnum<{
|
|
6413
|
-
system: "system";
|
|
6414
7054
|
migration: "migration";
|
|
7055
|
+
system: "system";
|
|
6415
7056
|
real_user: "real_user";
|
|
6416
7057
|
agent_runtime: "agent_runtime";
|
|
6417
7058
|
import: "import";
|
|
@@ -6669,8 +7310,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6669
7310
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6670
7311
|
content: z.ZodString;
|
|
6671
7312
|
status: z.ZodEnum<{
|
|
6672
|
-
pending: "pending";
|
|
6673
7313
|
completed: "completed";
|
|
7314
|
+
pending: "pending";
|
|
6674
7315
|
in_progress: "in_progress";
|
|
6675
7316
|
}>;
|
|
6676
7317
|
priority: z.ZodEnum<{
|
|
@@ -6692,8 +7333,8 @@ export declare const dcodeSessionForkResultSchema: z.ZodObject<{
|
|
|
6692
7333
|
todos: z.ZodArray<z.ZodObject<{
|
|
6693
7334
|
content: z.ZodString;
|
|
6694
7335
|
status: z.ZodEnum<{
|
|
6695
|
-
pending: "pending";
|
|
6696
7336
|
completed: "completed";
|
|
7337
|
+
pending: "pending";
|
|
6697
7338
|
in_progress: "in_progress";
|
|
6698
7339
|
}>;
|
|
6699
7340
|
priority: z.ZodEnum<{
|
|
@@ -6740,9 +7381,9 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6740
7381
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
6741
7382
|
traceId: z.ZodOptional<z.ZodString>;
|
|
6742
7383
|
sessionKind: z.ZodEnum<{
|
|
7384
|
+
interactive: "interactive";
|
|
6743
7385
|
fork: "fork";
|
|
6744
7386
|
selection_side_chat: "selection_side_chat";
|
|
6745
|
-
interactive: "interactive";
|
|
6746
7387
|
workflow_parent: "workflow_parent";
|
|
6747
7388
|
workflow_child: "workflow_child";
|
|
6748
7389
|
subagent_child: "subagent_child";
|
|
@@ -6758,17 +7399,18 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6758
7399
|
mode: z.ZodEnum<{
|
|
6759
7400
|
auto: "auto";
|
|
6760
7401
|
plan: "plan";
|
|
6761
|
-
yolo: "yolo";
|
|
6762
|
-
edit: "edit";
|
|
6763
7402
|
build: "build";
|
|
7403
|
+
edit: "edit";
|
|
7404
|
+
yolo: "yolo";
|
|
7405
|
+
guarded: "guarded";
|
|
6764
7406
|
}>;
|
|
6765
7407
|
status: z.ZodEnum<{
|
|
6766
7408
|
error: "error";
|
|
6767
7409
|
completed: "completed";
|
|
6768
|
-
idle: "idle";
|
|
6769
|
-
paused: "paused";
|
|
6770
7410
|
running: "running";
|
|
7411
|
+
idle: "idle";
|
|
6771
7412
|
waiting: "waiting";
|
|
7413
|
+
paused: "paused";
|
|
6772
7414
|
}>;
|
|
6773
7415
|
model: z.ZodOptional<z.ZodObject<{
|
|
6774
7416
|
providerId: z.ZodString;
|
|
@@ -6783,8 +7425,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6783
7425
|
objective: z.ZodString;
|
|
6784
7426
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6785
7427
|
status: z.ZodEnum<{
|
|
6786
|
-
active: "active";
|
|
6787
7428
|
paused: "paused";
|
|
7429
|
+
active: "active";
|
|
6788
7430
|
budget_limited: "budget_limited";
|
|
6789
7431
|
complete: "complete";
|
|
6790
7432
|
}>;
|
|
@@ -6867,18 +7509,20 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6867
7509
|
current: z.ZodEnum<{
|
|
6868
7510
|
auto: "auto";
|
|
6869
7511
|
plan: "plan";
|
|
6870
|
-
yolo: "yolo";
|
|
6871
|
-
edit: "edit";
|
|
6872
7512
|
build: "build";
|
|
7513
|
+
edit: "edit";
|
|
7514
|
+
yolo: "yolo";
|
|
7515
|
+
guarded: "guarded";
|
|
6873
7516
|
}>;
|
|
6874
7517
|
}, z.core.$strict>;
|
|
6875
7518
|
permission: z.ZodOptional<z.ZodObject<{
|
|
6876
7519
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
6877
7520
|
auto: "auto";
|
|
6878
7521
|
plan: "plan";
|
|
6879
|
-
yolo: "yolo";
|
|
6880
|
-
edit: "edit";
|
|
6881
7522
|
build: "build";
|
|
7523
|
+
edit: "edit";
|
|
7524
|
+
yolo: "yolo";
|
|
7525
|
+
guarded: "guarded";
|
|
6882
7526
|
}>>;
|
|
6883
7527
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
6884
7528
|
}, z.core.$strict>>;
|
|
@@ -6888,17 +7532,18 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6888
7532
|
status: z.ZodEnum<{
|
|
6889
7533
|
error: "error";
|
|
6890
7534
|
completed: "completed";
|
|
6891
|
-
idle: "idle";
|
|
6892
|
-
paused: "paused";
|
|
6893
7535
|
running: "running";
|
|
7536
|
+
idle: "idle";
|
|
6894
7537
|
waiting: "waiting";
|
|
7538
|
+
paused: "paused";
|
|
6895
7539
|
}>;
|
|
6896
7540
|
mode: z.ZodEnum<{
|
|
6897
7541
|
auto: "auto";
|
|
6898
7542
|
plan: "plan";
|
|
6899
|
-
yolo: "yolo";
|
|
6900
|
-
edit: "edit";
|
|
6901
7543
|
build: "build";
|
|
7544
|
+
edit: "edit";
|
|
7545
|
+
yolo: "yolo";
|
|
7546
|
+
guarded: "guarded";
|
|
6902
7547
|
}>;
|
|
6903
7548
|
turnCount: z.ZodNumber;
|
|
6904
7549
|
totalTokenCount: z.ZodNumber;
|
|
@@ -6935,8 +7580,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6935
7580
|
description: z.ZodOptional<z.ZodString>;
|
|
6936
7581
|
response: z.ZodObject<{
|
|
6937
7582
|
decision: z.ZodEnum<{
|
|
6938
|
-
deny: "deny";
|
|
6939
7583
|
allow: "allow";
|
|
7584
|
+
deny: "deny";
|
|
6940
7585
|
escalate: "escalate";
|
|
6941
7586
|
modify: "modify";
|
|
6942
7587
|
}>;
|
|
@@ -6945,9 +7590,9 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6945
7590
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6946
7591
|
type: z.ZodLiteral<"addRules">;
|
|
6947
7592
|
behavior: z.ZodEnum<{
|
|
6948
|
-
deny: "deny";
|
|
6949
|
-
allow: "allow";
|
|
6950
7593
|
ask: "ask";
|
|
7594
|
+
allow: "allow";
|
|
7595
|
+
deny: "deny";
|
|
6951
7596
|
}>;
|
|
6952
7597
|
rules: z.ZodArray<z.ZodObject<{
|
|
6953
7598
|
toolName: z.ZodString;
|
|
@@ -6963,8 +7608,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6963
7608
|
toolName: z.ZodString;
|
|
6964
7609
|
status: z.ZodEnum<{
|
|
6965
7610
|
failed: "failed";
|
|
6966
|
-
pending: "pending";
|
|
6967
7611
|
completed: "completed";
|
|
7612
|
+
pending: "pending";
|
|
6968
7613
|
running: "running";
|
|
6969
7614
|
denied: "denied";
|
|
6970
7615
|
}>;
|
|
@@ -6977,8 +7622,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6977
7622
|
objective: z.ZodString;
|
|
6978
7623
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6979
7624
|
status: z.ZodEnum<{
|
|
6980
|
-
active: "active";
|
|
6981
7625
|
paused: "paused";
|
|
7626
|
+
active: "active";
|
|
6982
7627
|
budget_limited: "budget_limited";
|
|
6983
7628
|
complete: "complete";
|
|
6984
7629
|
}>;
|
|
@@ -6999,8 +7644,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
6999
7644
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
7000
7645
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7001
7646
|
provider: "provider";
|
|
7002
|
-
tool: "tool";
|
|
7003
7647
|
runtime: "runtime";
|
|
7648
|
+
tool: "tool";
|
|
7004
7649
|
network: "network";
|
|
7005
7650
|
}>>;
|
|
7006
7651
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -7046,9 +7691,9 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7046
7691
|
}>>;
|
|
7047
7692
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
7048
7693
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
7049
|
-
rewind: "rewind";
|
|
7050
7694
|
regular: "regular";
|
|
7051
7695
|
compact: "compact";
|
|
7696
|
+
rewind: "rewind";
|
|
7052
7697
|
}>>;
|
|
7053
7698
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
7054
7699
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7103,8 +7748,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7103
7748
|
targetId: z.ZodString;
|
|
7104
7749
|
verificationId: z.ZodString;
|
|
7105
7750
|
status: z.ZodEnum<{
|
|
7106
|
-
completed: "completed";
|
|
7107
7751
|
cancelled: "cancelled";
|
|
7752
|
+
completed: "completed";
|
|
7108
7753
|
started: "started";
|
|
7109
7754
|
failed_closed: "failed_closed";
|
|
7110
7755
|
}>;
|
|
@@ -7142,13 +7787,15 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7142
7787
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
7143
7788
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7144
7789
|
subagent: "subagent";
|
|
7145
|
-
background_task: "background_task";
|
|
7146
7790
|
fork: "fork";
|
|
7791
|
+
selection_side_chat: "selection_side_chat";
|
|
7792
|
+
rewind: "rewind";
|
|
7793
|
+
agent_listing_delta: "agent_listing_delta";
|
|
7794
|
+
background_task: "background_task";
|
|
7147
7795
|
goal_state_change: "goal_state_change";
|
|
7148
7796
|
"goal-continuation": "goal-continuation";
|
|
7149
7797
|
plugin_reference: "plugin_reference";
|
|
7150
|
-
|
|
7151
|
-
selection_side_chat: "selection_side_chat";
|
|
7798
|
+
bot_topic_context: "bot_topic_context";
|
|
7152
7799
|
subagent_message: "subagent_message";
|
|
7153
7800
|
todo_reminder: "todo_reminder";
|
|
7154
7801
|
workflow_launch: "workflow_launch";
|
|
@@ -7160,8 +7807,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7160
7807
|
}>>;
|
|
7161
7808
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
7162
7809
|
origin: z.ZodEnum<{
|
|
7163
|
-
system: "system";
|
|
7164
7810
|
migration: "migration";
|
|
7811
|
+
system: "system";
|
|
7165
7812
|
real_user: "real_user";
|
|
7166
7813
|
agent_runtime: "agent_runtime";
|
|
7167
7814
|
import: "import";
|
|
@@ -7233,8 +7880,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7233
7880
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7234
7881
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
7235
7882
|
origin: z.ZodEnum<{
|
|
7236
|
-
system: "system";
|
|
7237
7883
|
migration: "migration";
|
|
7884
|
+
system: "system";
|
|
7238
7885
|
real_user: "real_user";
|
|
7239
7886
|
agent_runtime: "agent_runtime";
|
|
7240
7887
|
import: "import";
|
|
@@ -7492,8 +8139,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7492
8139
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7493
8140
|
content: z.ZodString;
|
|
7494
8141
|
status: z.ZodEnum<{
|
|
7495
|
-
pending: "pending";
|
|
7496
8142
|
completed: "completed";
|
|
8143
|
+
pending: "pending";
|
|
7497
8144
|
in_progress: "in_progress";
|
|
7498
8145
|
}>;
|
|
7499
8146
|
priority: z.ZodEnum<{
|
|
@@ -7515,8 +8162,8 @@ export declare const dcodeSessionCompactResultSchema: z.ZodObject<{
|
|
|
7515
8162
|
todos: z.ZodArray<z.ZodObject<{
|
|
7516
8163
|
content: z.ZodString;
|
|
7517
8164
|
status: z.ZodEnum<{
|
|
7518
|
-
pending: "pending";
|
|
7519
8165
|
completed: "completed";
|
|
8166
|
+
pending: "pending";
|
|
7520
8167
|
in_progress: "in_progress";
|
|
7521
8168
|
}>;
|
|
7522
8169
|
priority: z.ZodEnum<{
|
|
@@ -7588,9 +8235,9 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7588
8235
|
parentSessionId: z.ZodOptional<z.ZodString>;
|
|
7589
8236
|
traceId: z.ZodOptional<z.ZodString>;
|
|
7590
8237
|
sessionKind: z.ZodEnum<{
|
|
8238
|
+
interactive: "interactive";
|
|
7591
8239
|
fork: "fork";
|
|
7592
8240
|
selection_side_chat: "selection_side_chat";
|
|
7593
|
-
interactive: "interactive";
|
|
7594
8241
|
workflow_parent: "workflow_parent";
|
|
7595
8242
|
workflow_child: "workflow_child";
|
|
7596
8243
|
subagent_child: "subagent_child";
|
|
@@ -7606,17 +8253,18 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7606
8253
|
mode: z.ZodEnum<{
|
|
7607
8254
|
auto: "auto";
|
|
7608
8255
|
plan: "plan";
|
|
7609
|
-
yolo: "yolo";
|
|
7610
|
-
edit: "edit";
|
|
7611
8256
|
build: "build";
|
|
8257
|
+
edit: "edit";
|
|
8258
|
+
yolo: "yolo";
|
|
8259
|
+
guarded: "guarded";
|
|
7612
8260
|
}>;
|
|
7613
8261
|
status: z.ZodEnum<{
|
|
7614
8262
|
error: "error";
|
|
7615
8263
|
completed: "completed";
|
|
7616
|
-
idle: "idle";
|
|
7617
|
-
paused: "paused";
|
|
7618
8264
|
running: "running";
|
|
8265
|
+
idle: "idle";
|
|
7619
8266
|
waiting: "waiting";
|
|
8267
|
+
paused: "paused";
|
|
7620
8268
|
}>;
|
|
7621
8269
|
model: z.ZodOptional<z.ZodObject<{
|
|
7622
8270
|
providerId: z.ZodString;
|
|
@@ -7631,8 +8279,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7631
8279
|
objective: z.ZodString;
|
|
7632
8280
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7633
8281
|
status: z.ZodEnum<{
|
|
7634
|
-
active: "active";
|
|
7635
8282
|
paused: "paused";
|
|
8283
|
+
active: "active";
|
|
7636
8284
|
budget_limited: "budget_limited";
|
|
7637
8285
|
complete: "complete";
|
|
7638
8286
|
}>;
|
|
@@ -7715,18 +8363,20 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7715
8363
|
current: z.ZodEnum<{
|
|
7716
8364
|
auto: "auto";
|
|
7717
8365
|
plan: "plan";
|
|
7718
|
-
yolo: "yolo";
|
|
7719
|
-
edit: "edit";
|
|
7720
8366
|
build: "build";
|
|
8367
|
+
edit: "edit";
|
|
8368
|
+
yolo: "yolo";
|
|
8369
|
+
guarded: "guarded";
|
|
7721
8370
|
}>;
|
|
7722
8371
|
}, z.core.$strict>;
|
|
7723
8372
|
permission: z.ZodOptional<z.ZodObject<{
|
|
7724
8373
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
7725
8374
|
auto: "auto";
|
|
7726
8375
|
plan: "plan";
|
|
7727
|
-
yolo: "yolo";
|
|
7728
|
-
edit: "edit";
|
|
7729
8376
|
build: "build";
|
|
8377
|
+
edit: "edit";
|
|
8378
|
+
yolo: "yolo";
|
|
8379
|
+
guarded: "guarded";
|
|
7730
8380
|
}>>;
|
|
7731
8381
|
rulesRevision: z.ZodOptional<z.ZodNumber>;
|
|
7732
8382
|
}, z.core.$strict>>;
|
|
@@ -7736,17 +8386,18 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7736
8386
|
status: z.ZodEnum<{
|
|
7737
8387
|
error: "error";
|
|
7738
8388
|
completed: "completed";
|
|
7739
|
-
idle: "idle";
|
|
7740
|
-
paused: "paused";
|
|
7741
8389
|
running: "running";
|
|
8390
|
+
idle: "idle";
|
|
7742
8391
|
waiting: "waiting";
|
|
8392
|
+
paused: "paused";
|
|
7743
8393
|
}>;
|
|
7744
8394
|
mode: z.ZodEnum<{
|
|
7745
8395
|
auto: "auto";
|
|
7746
8396
|
plan: "plan";
|
|
7747
|
-
yolo: "yolo";
|
|
7748
|
-
edit: "edit";
|
|
7749
8397
|
build: "build";
|
|
8398
|
+
edit: "edit";
|
|
8399
|
+
yolo: "yolo";
|
|
8400
|
+
guarded: "guarded";
|
|
7750
8401
|
}>;
|
|
7751
8402
|
turnCount: z.ZodNumber;
|
|
7752
8403
|
totalTokenCount: z.ZodNumber;
|
|
@@ -7783,8 +8434,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7783
8434
|
description: z.ZodOptional<z.ZodString>;
|
|
7784
8435
|
response: z.ZodObject<{
|
|
7785
8436
|
decision: z.ZodEnum<{
|
|
7786
|
-
deny: "deny";
|
|
7787
8437
|
allow: "allow";
|
|
8438
|
+
deny: "deny";
|
|
7788
8439
|
escalate: "escalate";
|
|
7789
8440
|
modify: "modify";
|
|
7790
8441
|
}>;
|
|
@@ -7793,9 +8444,9 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7793
8444
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7794
8445
|
type: z.ZodLiteral<"addRules">;
|
|
7795
8446
|
behavior: z.ZodEnum<{
|
|
7796
|
-
deny: "deny";
|
|
7797
|
-
allow: "allow";
|
|
7798
8447
|
ask: "ask";
|
|
8448
|
+
allow: "allow";
|
|
8449
|
+
deny: "deny";
|
|
7799
8450
|
}>;
|
|
7800
8451
|
rules: z.ZodArray<z.ZodObject<{
|
|
7801
8452
|
toolName: z.ZodString;
|
|
@@ -7811,8 +8462,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7811
8462
|
toolName: z.ZodString;
|
|
7812
8463
|
status: z.ZodEnum<{
|
|
7813
8464
|
failed: "failed";
|
|
7814
|
-
pending: "pending";
|
|
7815
8465
|
completed: "completed";
|
|
8466
|
+
pending: "pending";
|
|
7816
8467
|
running: "running";
|
|
7817
8468
|
denied: "denied";
|
|
7818
8469
|
}>;
|
|
@@ -7825,8 +8476,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7825
8476
|
objective: z.ZodString;
|
|
7826
8477
|
summaryTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7827
8478
|
status: z.ZodEnum<{
|
|
7828
|
-
active: "active";
|
|
7829
8479
|
paused: "paused";
|
|
8480
|
+
active: "active";
|
|
7830
8481
|
budget_limited: "budget_limited";
|
|
7831
8482
|
complete: "complete";
|
|
7832
8483
|
}>;
|
|
@@ -7847,8 +8498,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7847
8498
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
7848
8499
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7849
8500
|
provider: "provider";
|
|
7850
|
-
tool: "tool";
|
|
7851
8501
|
runtime: "runtime";
|
|
8502
|
+
tool: "tool";
|
|
7852
8503
|
network: "network";
|
|
7853
8504
|
}>>;
|
|
7854
8505
|
reason: z.ZodOptional<z.ZodString>;
|
|
@@ -7894,9 +8545,9 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7894
8545
|
}>>;
|
|
7895
8546
|
activeTurnId: z.ZodOptional<z.ZodString>;
|
|
7896
8547
|
activeTurnKind: z.ZodOptional<z.ZodEnum<{
|
|
7897
|
-
rewind: "rewind";
|
|
7898
8548
|
regular: "regular";
|
|
7899
8549
|
compact: "compact";
|
|
8550
|
+
rewind: "rewind";
|
|
7900
8551
|
}>>;
|
|
7901
8552
|
pendingRequestIds: z.ZodArray<z.ZodString>;
|
|
7902
8553
|
apiRetry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7951,8 +8602,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7951
8602
|
targetId: z.ZodString;
|
|
7952
8603
|
verificationId: z.ZodString;
|
|
7953
8604
|
status: z.ZodEnum<{
|
|
7954
|
-
completed: "completed";
|
|
7955
8605
|
cancelled: "cancelled";
|
|
8606
|
+
completed: "completed";
|
|
7956
8607
|
started: "started";
|
|
7957
8608
|
failed_closed: "failed_closed";
|
|
7958
8609
|
}>;
|
|
@@ -7990,13 +8641,15 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
7990
8641
|
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
7991
8642
|
source: z.ZodOptional<z.ZodEnum<{
|
|
7992
8643
|
subagent: "subagent";
|
|
7993
|
-
background_task: "background_task";
|
|
7994
8644
|
fork: "fork";
|
|
8645
|
+
selection_side_chat: "selection_side_chat";
|
|
8646
|
+
rewind: "rewind";
|
|
8647
|
+
agent_listing_delta: "agent_listing_delta";
|
|
8648
|
+
background_task: "background_task";
|
|
7995
8649
|
goal_state_change: "goal_state_change";
|
|
7996
8650
|
"goal-continuation": "goal-continuation";
|
|
7997
8651
|
plugin_reference: "plugin_reference";
|
|
7998
|
-
|
|
7999
|
-
selection_side_chat: "selection_side_chat";
|
|
8652
|
+
bot_topic_context: "bot_topic_context";
|
|
8000
8653
|
subagent_message: "subagent_message";
|
|
8001
8654
|
todo_reminder: "todo_reminder";
|
|
8002
8655
|
workflow_launch: "workflow_launch";
|
|
@@ -8008,8 +8661,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8008
8661
|
}>>;
|
|
8009
8662
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
8010
8663
|
origin: z.ZodEnum<{
|
|
8011
|
-
system: "system";
|
|
8012
8664
|
migration: "migration";
|
|
8665
|
+
system: "system";
|
|
8013
8666
|
real_user: "real_user";
|
|
8014
8667
|
agent_runtime: "agent_runtime";
|
|
8015
8668
|
import: "import";
|
|
@@ -8081,8 +8734,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8081
8734
|
error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8082
8735
|
semantics: z.ZodOptional<z.ZodObject<{
|
|
8083
8736
|
origin: z.ZodEnum<{
|
|
8084
|
-
system: "system";
|
|
8085
8737
|
migration: "migration";
|
|
8738
|
+
system: "system";
|
|
8086
8739
|
real_user: "real_user";
|
|
8087
8740
|
agent_runtime: "agent_runtime";
|
|
8088
8741
|
import: "import";
|
|
@@ -8340,8 +8993,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8340
8993
|
todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8341
8994
|
content: z.ZodString;
|
|
8342
8995
|
status: z.ZodEnum<{
|
|
8343
|
-
pending: "pending";
|
|
8344
8996
|
completed: "completed";
|
|
8997
|
+
pending: "pending";
|
|
8345
8998
|
in_progress: "in_progress";
|
|
8346
8999
|
}>;
|
|
8347
9000
|
priority: z.ZodEnum<{
|
|
@@ -8363,8 +9016,8 @@ export declare const dcodeSessionGoalResultSchema: z.ZodObject<{
|
|
|
8363
9016
|
todos: z.ZodArray<z.ZodObject<{
|
|
8364
9017
|
content: z.ZodString;
|
|
8365
9018
|
status: z.ZodEnum<{
|
|
8366
|
-
pending: "pending";
|
|
8367
9019
|
completed: "completed";
|
|
9020
|
+
pending: "pending";
|
|
8368
9021
|
in_progress: "in_progress";
|
|
8369
9022
|
}>;
|
|
8370
9023
|
priority: z.ZodEnum<{
|
|
@@ -8395,8 +9048,8 @@ export declare const dcodeBackgroundTaskInfoSchema: z.ZodObject<{
|
|
|
8395
9048
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
8396
9049
|
toolName: z.ZodOptional<z.ZodString>;
|
|
8397
9050
|
taskKind: z.ZodOptional<z.ZodEnum<{
|
|
8398
|
-
subagent: "subagent";
|
|
8399
9051
|
bash: "bash";
|
|
9052
|
+
subagent: "subagent";
|
|
8400
9053
|
}>>;
|
|
8401
9054
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
8402
9055
|
blockedReason: z.ZodOptional<z.ZodString>;
|
|
@@ -8405,9 +9058,9 @@ export declare const dcodeBackgroundTaskInfoSchema: z.ZodObject<{
|
|
|
8405
9058
|
command: z.ZodOptional<z.ZodString>;
|
|
8406
9059
|
description: z.ZodOptional<z.ZodString>;
|
|
8407
9060
|
status: z.ZodEnum<{
|
|
9061
|
+
cancelled: "cancelled";
|
|
8408
9062
|
failed: "failed";
|
|
8409
9063
|
completed: "completed";
|
|
8410
|
-
cancelled: "cancelled";
|
|
8411
9064
|
running: "running";
|
|
8412
9065
|
lost: "lost";
|
|
8413
9066
|
timed_out: "timed_out";
|
|
@@ -8441,8 +9094,8 @@ export declare const dcodeSessionCancelBackgroundTaskResultSchema: z.ZodObject<{
|
|
|
8441
9094
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
8442
9095
|
toolName: z.ZodOptional<z.ZodString>;
|
|
8443
9096
|
taskKind: z.ZodOptional<z.ZodEnum<{
|
|
8444
|
-
subagent: "subagent";
|
|
8445
9097
|
bash: "bash";
|
|
9098
|
+
subagent: "subagent";
|
|
8446
9099
|
}>>;
|
|
8447
9100
|
blocked: z.ZodOptional<z.ZodBoolean>;
|
|
8448
9101
|
blockedReason: z.ZodOptional<z.ZodString>;
|
|
@@ -8451,9 +9104,9 @@ export declare const dcodeSessionCancelBackgroundTaskResultSchema: z.ZodObject<{
|
|
|
8451
9104
|
command: z.ZodOptional<z.ZodString>;
|
|
8452
9105
|
description: z.ZodOptional<z.ZodString>;
|
|
8453
9106
|
status: z.ZodEnum<{
|
|
9107
|
+
cancelled: "cancelled";
|
|
8454
9108
|
failed: "failed";
|
|
8455
9109
|
completed: "completed";
|
|
8456
|
-
cancelled: "cancelled";
|
|
8457
9110
|
running: "running";
|
|
8458
9111
|
lost: "lost";
|
|
8459
9112
|
timed_out: "timed_out";
|
|
@@ -8475,9 +9128,9 @@ export declare const dcodeSessionCancelBackgroundTaskResultSchema: z.ZodObject<{
|
|
|
8475
9128
|
terminalId: z.ZodOptional<z.ZodString>;
|
|
8476
9129
|
}, z.core.$strict>>;
|
|
8477
9130
|
status: z.ZodEnum<{
|
|
9131
|
+
cancelled: "cancelled";
|
|
8478
9132
|
failed: "failed";
|
|
8479
9133
|
completed: "completed";
|
|
8480
|
-
cancelled: "cancelled";
|
|
8481
9134
|
running: "running";
|
|
8482
9135
|
lost: "lost";
|
|
8483
9136
|
timed_out: "timed_out";
|
|
@@ -8511,9 +9164,10 @@ export declare const dcodeSessionSetModeParamsSchema: z.ZodObject<{
|
|
|
8511
9164
|
mode: z.ZodEnum<{
|
|
8512
9165
|
auto: "auto";
|
|
8513
9166
|
plan: "plan";
|
|
8514
|
-
yolo: "yolo";
|
|
8515
|
-
edit: "edit";
|
|
8516
9167
|
build: "build";
|
|
9168
|
+
edit: "edit";
|
|
9169
|
+
yolo: "yolo";
|
|
9170
|
+
guarded: "guarded";
|
|
8517
9171
|
}>;
|
|
8518
9172
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
8519
9173
|
}, z.core.$strict>;
|
|
@@ -8548,9 +9202,10 @@ export declare const dcodeWorkspacePresentationSchema: z.ZodObject<{
|
|
|
8548
9202
|
mode: z.ZodEnum<{
|
|
8549
9203
|
auto: "auto";
|
|
8550
9204
|
plan: "plan";
|
|
8551
|
-
yolo: "yolo";
|
|
8552
|
-
edit: "edit";
|
|
8553
9205
|
build: "build";
|
|
9206
|
+
edit: "edit";
|
|
9207
|
+
yolo: "yolo";
|
|
9208
|
+
guarded: "guarded";
|
|
8554
9209
|
}>;
|
|
8555
9210
|
slashCommands: z.ZodArray<z.ZodObject<{
|
|
8556
9211
|
name: z.ZodString;
|
|
@@ -8733,8 +9388,8 @@ export declare const dcodeProviderUpdateAccountConfigParamsSchema: z.ZodObject<{
|
|
|
8733
9388
|
availability: z.ZodEnum<{
|
|
8734
9389
|
unknown: "unknown";
|
|
8735
9390
|
pending: "pending";
|
|
8736
|
-
unavailable: "unavailable";
|
|
8737
9391
|
available: "available";
|
|
9392
|
+
unavailable: "unavailable";
|
|
8738
9393
|
}>;
|
|
8739
9394
|
entitled: z.ZodBoolean;
|
|
8740
9395
|
unavailableReason: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8839,6 +9494,11 @@ export declare const dcodeWorkspaceUpdateDynamicWorkflowPolicyParamsSchema: z.Zo
|
|
|
8839
9494
|
workspaceKey: z.ZodString;
|
|
8840
9495
|
}, z.core.$strict>;
|
|
8841
9496
|
enabled: z.ZodBoolean;
|
|
9497
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
9498
|
+
disabled: "disabled";
|
|
9499
|
+
onDemand: "onDemand";
|
|
9500
|
+
alwaysOn: "alwaysOn";
|
|
9501
|
+
}>>;
|
|
8842
9502
|
}, z.core.$strict>;
|
|
8843
9503
|
export type DCodeWorkspaceUpdateDynamicWorkflowPolicyParams = z.infer<typeof dcodeWorkspaceUpdateDynamicWorkflowPolicyParamsSchema>;
|
|
8844
9504
|
export declare const dcodeWorkspaceUpdateDynamicWorkflowPolicyResultSchema: z.ZodObject<{
|
|
@@ -8883,8 +9543,8 @@ export declare const dcodePermissionRequestParamsSchema: z.ZodObject<{
|
|
|
8883
9543
|
description: z.ZodOptional<z.ZodString>;
|
|
8884
9544
|
response: z.ZodObject<{
|
|
8885
9545
|
decision: z.ZodEnum<{
|
|
8886
|
-
deny: "deny";
|
|
8887
9546
|
allow: "allow";
|
|
9547
|
+
deny: "deny";
|
|
8888
9548
|
escalate: "escalate";
|
|
8889
9549
|
modify: "modify";
|
|
8890
9550
|
}>;
|
|
@@ -8893,9 +9553,9 @@ export declare const dcodePermissionRequestParamsSchema: z.ZodObject<{
|
|
|
8893
9553
|
permissionUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8894
9554
|
type: z.ZodLiteral<"addRules">;
|
|
8895
9555
|
behavior: z.ZodEnum<{
|
|
8896
|
-
deny: "deny";
|
|
8897
|
-
allow: "allow";
|
|
8898
9556
|
ask: "ask";
|
|
9557
|
+
allow: "allow";
|
|
9558
|
+
deny: "deny";
|
|
8899
9559
|
}>;
|
|
8900
9560
|
rules: z.ZodArray<z.ZodObject<{
|
|
8901
9561
|
toolName: z.ZodString;
|
|
@@ -9421,6 +10081,7 @@ export declare const dcodeBrowserExecuteParamsSchema: z.ZodObject<{
|
|
|
9421
10081
|
turnId: z.ZodOptional<z.ZodString>;
|
|
9422
10082
|
}, z.core.$strict>, z.ZodObject<{
|
|
9423
10083
|
method: z.ZodLiteral<"closeSession">;
|
|
10084
|
+
closeTabs: z.ZodOptional<z.ZodBoolean>;
|
|
9424
10085
|
}, z.core.$strict>, z.ZodObject<{
|
|
9425
10086
|
method: z.ZodLiteral<"cancelRequest">;
|
|
9426
10087
|
requestId: z.ZodString;
|
|
@@ -9559,15 +10220,15 @@ export declare const dcodeBrowserExecuteResultSchema: z.ZodObject<{
|
|
|
9559
10220
|
recording: z.ZodOptional<z.ZodObject<{
|
|
9560
10221
|
id: z.ZodString;
|
|
9561
10222
|
status: z.ZodEnum<{
|
|
10223
|
+
cancelled: "cancelled";
|
|
9562
10224
|
failed: "failed";
|
|
9563
10225
|
completed: "completed";
|
|
9564
|
-
cancelled: "cancelled";
|
|
9565
10226
|
running: "running";
|
|
9566
10227
|
}>;
|
|
9567
10228
|
phase: z.ZodEnum<{
|
|
10229
|
+
cancelled: "cancelled";
|
|
9568
10230
|
failed: "failed";
|
|
9569
10231
|
completed: "completed";
|
|
9570
|
-
cancelled: "cancelled";
|
|
9571
10232
|
preparing: "preparing";
|
|
9572
10233
|
capturing: "capturing";
|
|
9573
10234
|
finalizing: "finalizing";
|
|
@@ -9617,8 +10278,8 @@ export declare const dcodeBrowserExecuteResultSchema: z.ZodObject<{
|
|
|
9617
10278
|
tabId: z.ZodOptional<z.ZodString>;
|
|
9618
10279
|
currentUrl: z.ZodOptional<z.ZodString>;
|
|
9619
10280
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
9620
|
-
active: "active";
|
|
9621
10281
|
closed: "closed";
|
|
10282
|
+
active: "active";
|
|
9622
10283
|
handoff: "handoff";
|
|
9623
10284
|
deliverable: "deliverable";
|
|
9624
10285
|
}>>;
|
|
@@ -9719,9 +10380,12 @@ export declare const dcodeProviderRuntimeHeadersRequestParamsSchema: z.ZodObject
|
|
|
9719
10380
|
"individual-coding-plan": "individual-coding-plan";
|
|
9720
10381
|
"team-coding-plan": "team-coding-plan";
|
|
9721
10382
|
"off-peak": "off-peak";
|
|
10383
|
+
highspeed: "highspeed";
|
|
9722
10384
|
}>;
|
|
9723
10385
|
entitled: z.ZodBoolean;
|
|
9724
10386
|
}, z.core.$strict>>;
|
|
10387
|
+
expectedAccountScope: z.ZodOptional<z.ZodString>;
|
|
10388
|
+
rejectedProjectTokenFingerprint: z.ZodOptional<z.ZodString>;
|
|
9725
10389
|
reason: z.ZodEnum<{
|
|
9726
10390
|
"model-request": "model-request";
|
|
9727
10391
|
}>;
|
|
@@ -9743,6 +10407,8 @@ export declare const dcodeProviderRuntimeHeadersResponseSchema: z.ZodDiscriminat
|
|
|
9743
10407
|
headersApplied: z.ZodLiteral<true>;
|
|
9744
10408
|
requestAuth: z.ZodObject<{
|
|
9745
10409
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
10410
|
+
apiKeyId: z.ZodOptional<z.ZodString>;
|
|
10411
|
+
accountScope: z.ZodOptional<z.ZodString>;
|
|
9746
10412
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9747
10413
|
}, z.core.$strict>;
|
|
9748
10414
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -10042,6 +10708,39 @@ export declare const dcodePluginsListResultSchema: z.ZodObject<{
|
|
|
10042
10708
|
}, z.core.$strict>>;
|
|
10043
10709
|
}, z.core.$strict>;
|
|
10044
10710
|
export type DCodePluginsListResult = z.infer<typeof dcodePluginsListResultSchema>;
|
|
10711
|
+
export declare const dcodePluginUiSurfaceSchema: z.ZodObject<{
|
|
10712
|
+
pluginId: z.ZodString;
|
|
10713
|
+
pluginName: z.ZodString;
|
|
10714
|
+
id: z.ZodString;
|
|
10715
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
10716
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
10717
|
+
server: z.ZodString;
|
|
10718
|
+
resourceUri: z.ZodString;
|
|
10719
|
+
availability: z.ZodLiteral<"session">;
|
|
10720
|
+
}, z.core.$strict>;
|
|
10721
|
+
export type DCodePluginUiSurface = z.infer<typeof dcodePluginUiSurfaceSchema>;
|
|
10722
|
+
export declare const dcodePluginsListUiSurfacesParamsSchema: z.ZodObject<{
|
|
10723
|
+
workspace: z.ZodObject<{
|
|
10724
|
+
workspacePath: z.ZodString;
|
|
10725
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
10726
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
10727
|
+
workspaceKey: z.ZodString;
|
|
10728
|
+
}, z.core.$strict>;
|
|
10729
|
+
}, z.core.$strict>;
|
|
10730
|
+
export type DCodePluginsListUiSurfacesParams = z.infer<typeof dcodePluginsListUiSurfacesParamsSchema>;
|
|
10731
|
+
export declare const dcodePluginsListUiSurfacesResultSchema: z.ZodObject<{
|
|
10732
|
+
surfaces: z.ZodArray<z.ZodObject<{
|
|
10733
|
+
pluginId: z.ZodString;
|
|
10734
|
+
pluginName: z.ZodString;
|
|
10735
|
+
id: z.ZodString;
|
|
10736
|
+
title: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
10737
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
10738
|
+
server: z.ZodString;
|
|
10739
|
+
resourceUri: z.ZodString;
|
|
10740
|
+
availability: z.ZodLiteral<"session">;
|
|
10741
|
+
}, z.core.$strict>>;
|
|
10742
|
+
}, z.core.$strict>;
|
|
10743
|
+
export type DCodePluginsListUiSurfacesResult = z.infer<typeof dcodePluginsListUiSurfacesResultSchema>;
|
|
10045
10744
|
export declare const dcodePluginReferenceCatalogEntrySchema: z.ZodObject<{
|
|
10046
10745
|
category: z.ZodOptional<z.ZodString>;
|
|
10047
10746
|
pluginId: z.ZodString;
|
|
@@ -10071,8 +10770,8 @@ export declare const dcodePluginsReferenceCatalogParamsSchema: z.ZodObject<{
|
|
|
10071
10770
|
export type DCodePluginsReferenceCatalogParams = z.infer<typeof dcodePluginsReferenceCatalogParamsSchema>;
|
|
10072
10771
|
export declare const dcodePluginsReferenceCatalogResultSchema: z.ZodObject<{
|
|
10073
10772
|
authority: z.ZodEnum<{
|
|
10074
|
-
workspace: "workspace";
|
|
10075
10773
|
session: "session";
|
|
10774
|
+
workspace: "workspace";
|
|
10076
10775
|
}>;
|
|
10077
10776
|
plugins: z.ZodArray<z.ZodObject<{
|
|
10078
10777
|
category: z.ZodOptional<z.ZodString>;
|
|
@@ -10099,8 +10798,8 @@ export declare const dcodeSkillReferenceCatalogEntrySchema: z.ZodObject<{
|
|
|
10099
10798
|
path: z.ZodString;
|
|
10100
10799
|
scope: z.ZodEnum<{
|
|
10101
10800
|
workspace: "workspace";
|
|
10102
|
-
user: "user";
|
|
10103
10801
|
plugin: "plugin";
|
|
10802
|
+
user: "user";
|
|
10104
10803
|
}>;
|
|
10105
10804
|
enabled: z.ZodLiteral<true>;
|
|
10106
10805
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
@@ -10118,8 +10817,8 @@ export declare const dcodeSkillsReferenceCatalogParamsSchema: z.ZodObject<{
|
|
|
10118
10817
|
export type DCodeSkillsReferenceCatalogParams = z.infer<typeof dcodeSkillsReferenceCatalogParamsSchema>;
|
|
10119
10818
|
export declare const dcodeSkillsReferenceCatalogResultSchema: z.ZodObject<{
|
|
10120
10819
|
authority: z.ZodEnum<{
|
|
10121
|
-
workspace: "workspace";
|
|
10122
10820
|
session: "session";
|
|
10821
|
+
workspace: "workspace";
|
|
10123
10822
|
}>;
|
|
10124
10823
|
skills: z.ZodArray<z.ZodObject<{
|
|
10125
10824
|
id: z.ZodString;
|
|
@@ -10128,8 +10827,8 @@ export declare const dcodeSkillsReferenceCatalogResultSchema: z.ZodObject<{
|
|
|
10128
10827
|
path: z.ZodString;
|
|
10129
10828
|
scope: z.ZodEnum<{
|
|
10130
10829
|
workspace: "workspace";
|
|
10131
|
-
user: "user";
|
|
10132
10830
|
plugin: "plugin";
|
|
10831
|
+
user: "user";
|
|
10133
10832
|
}>;
|
|
10134
10833
|
enabled: z.ZodLiteral<true>;
|
|
10135
10834
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
@@ -10402,17 +11101,17 @@ export declare const dcodeWorkflowsRunsParamsSchema: z.ZodObject<{
|
|
|
10402
11101
|
}, z.core.$strict>;
|
|
10403
11102
|
export type DCodeWorkflowsRunsParams = z.infer<typeof dcodeWorkflowsRunsParamsSchema>;
|
|
10404
11103
|
export declare const dcodeSavedWorkflowRunStatusSchema: z.ZodEnum<{
|
|
10405
|
-
pending: "pending";
|
|
10406
11104
|
completed: "completed";
|
|
11105
|
+
pending: "pending";
|
|
10407
11106
|
running: "running";
|
|
10408
|
-
stopped: "stopped";
|
|
10409
11107
|
errored: "errored";
|
|
11108
|
+
stopped: "stopped";
|
|
10410
11109
|
}>;
|
|
10411
11110
|
export type DCodeSavedWorkflowRunStatus = z.infer<typeof dcodeSavedWorkflowRunStatusSchema>;
|
|
10412
11111
|
export declare const dcodeSavedWorkflowRunStopReasonSchema: z.ZodEnum<{
|
|
10413
|
-
provider: "provider";
|
|
10414
|
-
model: "model";
|
|
10415
11112
|
user: "user";
|
|
11113
|
+
model: "model";
|
|
11114
|
+
provider: "provider";
|
|
10416
11115
|
interrupted: "interrupted";
|
|
10417
11116
|
superseded: "superseded";
|
|
10418
11117
|
}>;
|
|
@@ -10420,16 +11119,16 @@ export declare const dcodeSavedWorkflowRunSchema: z.ZodObject<{
|
|
|
10420
11119
|
runId: z.ZodString;
|
|
10421
11120
|
name: z.ZodOptional<z.ZodString>;
|
|
10422
11121
|
status: z.ZodEnum<{
|
|
10423
|
-
pending: "pending";
|
|
10424
11122
|
completed: "completed";
|
|
11123
|
+
pending: "pending";
|
|
10425
11124
|
running: "running";
|
|
10426
|
-
stopped: "stopped";
|
|
10427
11125
|
errored: "errored";
|
|
11126
|
+
stopped: "stopped";
|
|
10428
11127
|
}>;
|
|
10429
11128
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
10430
|
-
provider: "provider";
|
|
10431
|
-
model: "model";
|
|
10432
11129
|
user: "user";
|
|
11130
|
+
model: "model";
|
|
11131
|
+
provider: "provider";
|
|
10433
11132
|
interrupted: "interrupted";
|
|
10434
11133
|
superseded: "superseded";
|
|
10435
11134
|
}>>;
|
|
@@ -10461,16 +11160,16 @@ export declare const dcodeWorkflowsRunsResultSchema: z.ZodObject<{
|
|
|
10461
11160
|
runId: z.ZodString;
|
|
10462
11161
|
name: z.ZodOptional<z.ZodString>;
|
|
10463
11162
|
status: z.ZodEnum<{
|
|
10464
|
-
pending: "pending";
|
|
10465
11163
|
completed: "completed";
|
|
11164
|
+
pending: "pending";
|
|
10466
11165
|
running: "running";
|
|
10467
|
-
stopped: "stopped";
|
|
10468
11166
|
errored: "errored";
|
|
11167
|
+
stopped: "stopped";
|
|
10469
11168
|
}>;
|
|
10470
11169
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
10471
|
-
provider: "provider";
|
|
10472
|
-
model: "model";
|
|
10473
11170
|
user: "user";
|
|
11171
|
+
model: "model";
|
|
11172
|
+
provider: "provider";
|
|
10474
11173
|
interrupted: "interrupted";
|
|
10475
11174
|
superseded: "superseded";
|
|
10476
11175
|
}>>;
|
|
@@ -10526,18 +11225,140 @@ export declare const dcodeWorkflowsMoveResultSchema: z.ZodUnion<readonly [z.ZodO
|
|
|
10526
11225
|
detail: z.ZodOptional<z.ZodString>;
|
|
10527
11226
|
}, z.core.$strict>]>;
|
|
10528
11227
|
export type DCodeWorkflowsMoveResult = z.infer<typeof dcodeWorkflowsMoveResultSchema>;
|
|
11228
|
+
/** 另一档已有同名定义(遮蔽事实);与 contracts 的 SavedWorkflowShadowing 逐字对齐。 */
|
|
11229
|
+
export declare const dcodeSavedWorkflowShadowingSchema: z.ZodEnum<{
|
|
11230
|
+
hides_global: "hides_global";
|
|
11231
|
+
hidden_by_project: "hidden_by_project";
|
|
11232
|
+
}>;
|
|
11233
|
+
export type DCodeSavedWorkflowShadowing = z.infer<typeof dcodeSavedWorkflowShadowingSchema>;
|
|
11234
|
+
export declare const dcodeWorkflowsSaveParamsSchema: z.ZodObject<{
|
|
11235
|
+
workspace: z.ZodObject<{
|
|
11236
|
+
workspacePath: z.ZodString;
|
|
11237
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
11238
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
11239
|
+
workspaceKey: z.ZodString;
|
|
11240
|
+
}, z.core.$strict>;
|
|
11241
|
+
runId: z.ZodString;
|
|
11242
|
+
name: z.ZodString;
|
|
11243
|
+
meta: z.ZodObject<{
|
|
11244
|
+
description: z.ZodString;
|
|
11245
|
+
whenToUse: z.ZodOptional<z.ZodString>;
|
|
11246
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11247
|
+
type: z.ZodEnum<{
|
|
11248
|
+
string: "string";
|
|
11249
|
+
number: "number";
|
|
11250
|
+
boolean: "boolean";
|
|
11251
|
+
json: "json";
|
|
11252
|
+
}>;
|
|
11253
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11254
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
11255
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
11256
|
+
}, z.core.$strict>>>;
|
|
11257
|
+
}, z.core.$strict>;
|
|
11258
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
11259
|
+
project: "project";
|
|
11260
|
+
global: "global";
|
|
11261
|
+
}>>;
|
|
11262
|
+
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
11263
|
+
}, z.core.$strict>;
|
|
11264
|
+
export type DCodeWorkflowsSaveParams = z.infer<typeof dcodeWorkflowsSaveParamsSchema>;
|
|
11265
|
+
export declare const dcodeWorkflowsSaveResultSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11266
|
+
ok: z.ZodLiteral<true>;
|
|
11267
|
+
name: z.ZodString;
|
|
11268
|
+
scope: z.ZodEnum<{
|
|
11269
|
+
project: "project";
|
|
11270
|
+
global: "global";
|
|
11271
|
+
}>;
|
|
11272
|
+
path: z.ZodString;
|
|
11273
|
+
overwritten: z.ZodBoolean;
|
|
11274
|
+
shadowing: z.ZodOptional<z.ZodEnum<{
|
|
11275
|
+
hides_global: "hides_global";
|
|
11276
|
+
hidden_by_project: "hidden_by_project";
|
|
11277
|
+
}>>;
|
|
11278
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11279
|
+
ok: z.ZodLiteral<false>;
|
|
11280
|
+
reason: z.ZodEnum<{
|
|
11281
|
+
invalid_name: "invalid_name";
|
|
11282
|
+
target_exists: "target_exists";
|
|
11283
|
+
write_error: "write_error";
|
|
11284
|
+
run_not_found: "run_not_found";
|
|
11285
|
+
script_missing: "script_missing";
|
|
11286
|
+
compile_failed: "compile_failed";
|
|
11287
|
+
}>;
|
|
11288
|
+
path: z.ZodOptional<z.ZodString>;
|
|
11289
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
11290
|
+
}, z.core.$strict>]>;
|
|
11291
|
+
export type DCodeWorkflowsSaveResult = z.infer<typeof dcodeWorkflowsSaveResultSchema>;
|
|
11292
|
+
/** 转写自对话的候选:模型用 `SaveWorkflow` 存过、并在入参里认领了这次 run。 */
|
|
11293
|
+
export declare const dcodeWorkflowsForRunCandidateSchema: z.ZodObject<{
|
|
11294
|
+
name: z.ZodString;
|
|
11295
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
11296
|
+
project: "project";
|
|
11297
|
+
global: "global";
|
|
11298
|
+
}>>;
|
|
11299
|
+
}, z.core.$strict>;
|
|
11300
|
+
export type DCodeWorkflowsForRunCandidate = z.infer<typeof dcodeWorkflowsForRunCandidateSchema>;
|
|
11301
|
+
/** 候选上界:一次 run 在一段对话里被存过的次数远小于它。 */
|
|
11302
|
+
export declare const DCODE_WORKFLOWS_FOR_RUN_MAX_CANDIDATES = 8;
|
|
11303
|
+
export declare const dcodeWorkflowsForRunParamsSchema: z.ZodObject<{
|
|
11304
|
+
workspace: z.ZodObject<{
|
|
11305
|
+
workspacePath: z.ZodString;
|
|
11306
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
11307
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
11308
|
+
workspaceKey: z.ZodString;
|
|
11309
|
+
}, z.core.$strict>;
|
|
11310
|
+
runId: z.ZodString;
|
|
11311
|
+
candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11312
|
+
name: z.ZodString;
|
|
11313
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
11314
|
+
project: "project";
|
|
11315
|
+
global: "global";
|
|
11316
|
+
}>>;
|
|
11317
|
+
}, z.core.$strict>>>;
|
|
11318
|
+
}, z.core.$strict>;
|
|
11319
|
+
export type DCodeWorkflowsForRunParams = z.infer<typeof dcodeWorkflowsForRunParamsSchema>;
|
|
11320
|
+
export declare const dcodeWorkflowsForRunResultSchema: z.ZodObject<{
|
|
11321
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
11322
|
+
name: z.ZodString;
|
|
11323
|
+
description: z.ZodString;
|
|
11324
|
+
whenToUse: z.ZodOptional<z.ZodString>;
|
|
11325
|
+
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11326
|
+
type: z.ZodEnum<{
|
|
11327
|
+
string: "string";
|
|
11328
|
+
number: "number";
|
|
11329
|
+
boolean: "boolean";
|
|
11330
|
+
json: "json";
|
|
11331
|
+
}>;
|
|
11332
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11333
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
11334
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
11335
|
+
}, z.core.$strict>>>;
|
|
11336
|
+
scope: z.ZodEnum<{
|
|
11337
|
+
project: "project";
|
|
11338
|
+
global: "global";
|
|
11339
|
+
}>;
|
|
11340
|
+
path: z.ZodString;
|
|
11341
|
+
}, z.core.$strict>>;
|
|
11342
|
+
match: z.ZodOptional<z.ZodEnum<{
|
|
11343
|
+
name: "name";
|
|
11344
|
+
script: "script";
|
|
11345
|
+
candidate: "candidate";
|
|
11346
|
+
}>>;
|
|
11347
|
+
runArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11348
|
+
}, z.core.$strict>;
|
|
11349
|
+
export type DCodeWorkflowsForRunResult = z.infer<typeof dcodeWorkflowsForRunResultSchema>;
|
|
10529
11350
|
export declare const dcodePluginSuggestedReferenceStatusSchema: z.ZodEnum<{
|
|
10530
|
-
disabled: "disabled";
|
|
10531
11351
|
ready: "ready";
|
|
11352
|
+
disabled: "disabled";
|
|
10532
11353
|
unavailable: "unavailable";
|
|
10533
11354
|
missing: "missing";
|
|
10534
11355
|
conflict: "conflict";
|
|
10535
11356
|
}>;
|
|
10536
11357
|
export type DCodePluginSuggestedReferenceStatus = z.infer<typeof dcodePluginSuggestedReferenceStatusSchema>;
|
|
10537
11358
|
export declare const dcodePluginOperationStateSchema: z.ZodEnum<{
|
|
10538
|
-
failed: "failed";
|
|
10539
11359
|
cancelled: "cancelled";
|
|
10540
11360
|
checking: "checking";
|
|
11361
|
+
failed: "failed";
|
|
10541
11362
|
complete: "complete";
|
|
10542
11363
|
refreshing: "refreshing";
|
|
10543
11364
|
installing: "installing";
|
|
@@ -10685,8 +11506,8 @@ export type DCodePluginStoreListing = z.infer<typeof dcodePluginStoreListingSche
|
|
|
10685
11506
|
export declare const dcodePluginsResolveSuggestedReferenceResultSchema: z.ZodObject<{
|
|
10686
11507
|
stableId: z.ZodString;
|
|
10687
11508
|
status: z.ZodEnum<{
|
|
10688
|
-
disabled: "disabled";
|
|
10689
11509
|
ready: "ready";
|
|
11510
|
+
disabled: "disabled";
|
|
10690
11511
|
unavailable: "unavailable";
|
|
10691
11512
|
missing: "missing";
|
|
10692
11513
|
conflict: "conflict";
|
|
@@ -11397,20 +12218,25 @@ export declare const dcodeAutomationProtocolSchema: z.ZodObject<{
|
|
|
11397
12218
|
}, z.core.$strict>>;
|
|
11398
12219
|
}, z.core.$strict>>;
|
|
11399
12220
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
12221
|
+
default: "default";
|
|
11400
12222
|
auto: "auto";
|
|
11401
12223
|
plan: "plan";
|
|
11402
|
-
|
|
12224
|
+
build: "build";
|
|
11403
12225
|
edit: "edit";
|
|
12226
|
+
yolo: "yolo";
|
|
12227
|
+
guarded: "guarded";
|
|
12228
|
+
acceptEdits: "acceptEdits";
|
|
12229
|
+
dontAsk: "dontAsk";
|
|
12230
|
+
bypassPermissions: "bypassPermissions";
|
|
11404
12231
|
autoEdit: "autoEdit";
|
|
11405
|
-
build: "build";
|
|
11406
12232
|
}>>;
|
|
11407
12233
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11408
12234
|
enabled: z.ZodBoolean;
|
|
11409
12235
|
lifecycleStatus: z.ZodEnum<{
|
|
11410
12236
|
failed: "failed";
|
|
11411
12237
|
completed: "completed";
|
|
11412
|
-
active: "active";
|
|
11413
12238
|
paused: "paused";
|
|
12239
|
+
active: "active";
|
|
11414
12240
|
}>;
|
|
11415
12241
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
11416
12242
|
lastRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11453,12 +12279,17 @@ export declare const dcodeAutomationCreateParamsSchema: z.ZodObject<{
|
|
|
11453
12279
|
}, z.core.$strict>>;
|
|
11454
12280
|
}, z.core.$strict>>;
|
|
11455
12281
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
12282
|
+
default: "default";
|
|
11456
12283
|
auto: "auto";
|
|
11457
12284
|
plan: "plan";
|
|
11458
|
-
|
|
12285
|
+
build: "build";
|
|
11459
12286
|
edit: "edit";
|
|
12287
|
+
yolo: "yolo";
|
|
12288
|
+
guarded: "guarded";
|
|
12289
|
+
acceptEdits: "acceptEdits";
|
|
12290
|
+
dontAsk: "dontAsk";
|
|
12291
|
+
bypassPermissions: "bypassPermissions";
|
|
11460
12292
|
autoEdit: "autoEdit";
|
|
11461
|
-
build: "build";
|
|
11462
12293
|
}>>;
|
|
11463
12294
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11464
12295
|
botDeliveryTarget: z.ZodOptional<z.ZodObject<{
|
|
@@ -11473,6 +12304,8 @@ export declare const dcodeAutomationCreateParamsSchema: z.ZodObject<{
|
|
|
11473
12304
|
private: "private";
|
|
11474
12305
|
group: "group";
|
|
11475
12306
|
}>;
|
|
12307
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
12308
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
11476
12309
|
}, z.core.$strict>>;
|
|
11477
12310
|
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
11478
12311
|
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11501,20 +12334,25 @@ export declare const dcodeAutomationCreateResultSchema: z.ZodObject<{
|
|
|
11501
12334
|
}, z.core.$strict>>;
|
|
11502
12335
|
}, z.core.$strict>>;
|
|
11503
12336
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
12337
|
+
default: "default";
|
|
11504
12338
|
auto: "auto";
|
|
11505
12339
|
plan: "plan";
|
|
11506
|
-
|
|
12340
|
+
build: "build";
|
|
11507
12341
|
edit: "edit";
|
|
12342
|
+
yolo: "yolo";
|
|
12343
|
+
guarded: "guarded";
|
|
12344
|
+
acceptEdits: "acceptEdits";
|
|
12345
|
+
dontAsk: "dontAsk";
|
|
12346
|
+
bypassPermissions: "bypassPermissions";
|
|
11508
12347
|
autoEdit: "autoEdit";
|
|
11509
|
-
build: "build";
|
|
11510
12348
|
}>>;
|
|
11511
12349
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11512
12350
|
enabled: z.ZodBoolean;
|
|
11513
12351
|
lifecycleStatus: z.ZodEnum<{
|
|
11514
12352
|
failed: "failed";
|
|
11515
12353
|
completed: "completed";
|
|
11516
|
-
active: "active";
|
|
11517
12354
|
paused: "paused";
|
|
12355
|
+
active: "active";
|
|
11518
12356
|
}>;
|
|
11519
12357
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
11520
12358
|
lastRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11577,20 +12415,25 @@ export declare const dcodeAutomationUpdateResultSchema: z.ZodObject<{
|
|
|
11577
12415
|
}, z.core.$strict>>;
|
|
11578
12416
|
}, z.core.$strict>>;
|
|
11579
12417
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
12418
|
+
default: "default";
|
|
11580
12419
|
auto: "auto";
|
|
11581
12420
|
plan: "plan";
|
|
11582
|
-
|
|
12421
|
+
build: "build";
|
|
11583
12422
|
edit: "edit";
|
|
12423
|
+
yolo: "yolo";
|
|
12424
|
+
guarded: "guarded";
|
|
12425
|
+
acceptEdits: "acceptEdits";
|
|
12426
|
+
dontAsk: "dontAsk";
|
|
12427
|
+
bypassPermissions: "bypassPermissions";
|
|
11584
12428
|
autoEdit: "autoEdit";
|
|
11585
|
-
build: "build";
|
|
11586
12429
|
}>>;
|
|
11587
12430
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11588
12431
|
enabled: z.ZodBoolean;
|
|
11589
12432
|
lifecycleStatus: z.ZodEnum<{
|
|
11590
12433
|
failed: "failed";
|
|
11591
12434
|
completed: "completed";
|
|
11592
|
-
active: "active";
|
|
11593
12435
|
paused: "paused";
|
|
12436
|
+
active: "active";
|
|
11594
12437
|
}>;
|
|
11595
12438
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
11596
12439
|
lastRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11637,20 +12480,25 @@ export declare const dcodeAutomationListResultSchema: z.ZodObject<{
|
|
|
11637
12480
|
}, z.core.$strict>>;
|
|
11638
12481
|
}, z.core.$strict>>;
|
|
11639
12482
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
12483
|
+
default: "default";
|
|
11640
12484
|
auto: "auto";
|
|
11641
12485
|
plan: "plan";
|
|
11642
|
-
|
|
12486
|
+
build: "build";
|
|
11643
12487
|
edit: "edit";
|
|
12488
|
+
yolo: "yolo";
|
|
12489
|
+
guarded: "guarded";
|
|
12490
|
+
acceptEdits: "acceptEdits";
|
|
12491
|
+
dontAsk: "dontAsk";
|
|
12492
|
+
bypassPermissions: "bypassPermissions";
|
|
11644
12493
|
autoEdit: "autoEdit";
|
|
11645
|
-
build: "build";
|
|
11646
12494
|
}>>;
|
|
11647
12495
|
targetTaskId: z.ZodOptional<z.ZodString>;
|
|
11648
12496
|
enabled: z.ZodBoolean;
|
|
11649
12497
|
lifecycleStatus: z.ZodEnum<{
|
|
11650
12498
|
failed: "failed";
|
|
11651
12499
|
completed: "completed";
|
|
11652
|
-
active: "active";
|
|
11653
12500
|
paused: "paused";
|
|
12501
|
+
active: "active";
|
|
11654
12502
|
}>;
|
|
11655
12503
|
nextRunAt: z.ZodOptional<z.ZodNumber>;
|
|
11656
12504
|
lastRunAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11699,9 +12547,10 @@ export declare const dcodeAutomationDeleteResultSchema: z.ZodObject<{
|
|
|
11699
12547
|
export type DCodeAutomationDeleteProtocolResult = z.infer<typeof dcodeAutomationDeleteResultSchema>;
|
|
11700
12548
|
export declare const dcodeOffPeakPermissionModeSchema: z.ZodEnum<{
|
|
11701
12549
|
plan: "plan";
|
|
11702
|
-
yolo: "yolo";
|
|
11703
|
-
edit: "edit";
|
|
11704
12550
|
build: "build";
|
|
12551
|
+
edit: "edit";
|
|
12552
|
+
yolo: "yolo";
|
|
12553
|
+
guarded: "guarded";
|
|
11705
12554
|
}>;
|
|
11706
12555
|
export type DCodeOffPeakProtocolPermissionMode = z.infer<typeof dcodeOffPeakPermissionModeSchema>;
|
|
11707
12556
|
export declare const dcodeOffPeakCreateParamsSchema: z.ZodObject<{
|
|
@@ -11709,9 +12558,10 @@ export declare const dcodeOffPeakCreateParamsSchema: z.ZodObject<{
|
|
|
11709
12558
|
prompt: z.ZodString;
|
|
11710
12559
|
permissionMode: z.ZodOptional<z.ZodEnum<{
|
|
11711
12560
|
plan: "plan";
|
|
11712
|
-
yolo: "yolo";
|
|
11713
|
-
edit: "edit";
|
|
11714
12561
|
build: "build";
|
|
12562
|
+
edit: "edit";
|
|
12563
|
+
yolo: "yolo";
|
|
12564
|
+
guarded: "guarded";
|
|
11715
12565
|
}>>;
|
|
11716
12566
|
model: z.ZodOptional<z.ZodString>;
|
|
11717
12567
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
@@ -11722,11 +12572,11 @@ export declare const dcodeOffPeakTaskSnapshotSchema: z.ZodObject<{
|
|
|
11722
12572
|
offPeakTaskId: z.ZodString;
|
|
11723
12573
|
title: z.ZodString;
|
|
11724
12574
|
status: z.ZodEnum<{
|
|
12575
|
+
cancelled: "cancelled";
|
|
11725
12576
|
failed: "failed";
|
|
11726
12577
|
completed: "completed";
|
|
11727
|
-
cancelled: "cancelled";
|
|
11728
|
-
paused: "paused";
|
|
11729
12578
|
running: "running";
|
|
12579
|
+
paused: "paused";
|
|
11730
12580
|
queued: "queued";
|
|
11731
12581
|
}>;
|
|
11732
12582
|
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11740,11 +12590,11 @@ export declare const dcodeOffPeakCreateResultSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
11740
12590
|
offPeakTaskId: z.ZodString;
|
|
11741
12591
|
title: z.ZodString;
|
|
11742
12592
|
status: z.ZodEnum<{
|
|
12593
|
+
cancelled: "cancelled";
|
|
11743
12594
|
failed: "failed";
|
|
11744
12595
|
completed: "completed";
|
|
11745
|
-
cancelled: "cancelled";
|
|
11746
|
-
paused: "paused";
|
|
11747
12596
|
running: "running";
|
|
12597
|
+
paused: "paused";
|
|
11748
12598
|
queued: "queued";
|
|
11749
12599
|
}>;
|
|
11750
12600
|
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11777,11 +12627,11 @@ export declare const dcodeOffPeakListResultSchema: z.ZodObject<{
|
|
|
11777
12627
|
offPeakTaskId: z.ZodString;
|
|
11778
12628
|
title: z.ZodString;
|
|
11779
12629
|
status: z.ZodEnum<{
|
|
12630
|
+
cancelled: "cancelled";
|
|
11780
12631
|
failed: "failed";
|
|
11781
12632
|
completed: "completed";
|
|
11782
|
-
cancelled: "cancelled";
|
|
11783
|
-
paused: "paused";
|
|
11784
12633
|
running: "running";
|
|
12634
|
+
paused: "paused";
|
|
11785
12635
|
queued: "queued";
|
|
11786
12636
|
}>;
|
|
11787
12637
|
queuePosition: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11798,6 +12648,7 @@ export declare const dcodeProtocolMethods: {
|
|
|
11798
12648
|
readonly sessionList: "session/list";
|
|
11799
12649
|
readonly sessionSubagents: "session/subagents";
|
|
11800
12650
|
readonly sessionRequestRuntimePreferences: "session/requestRuntimePreferences";
|
|
12651
|
+
readonly subagentsReadRuntimeConfig: "subagents/readRuntimeConfig";
|
|
11801
12652
|
readonly sessionRead: "session/read";
|
|
11802
12653
|
readonly sessionMessages: "session/messages";
|
|
11803
12654
|
readonly sessionEvents: "session/events";
|
|
@@ -11824,8 +12675,26 @@ export declare const dcodeProtocolMethods: {
|
|
|
11824
12675
|
readonly workspaceCancelGenerateText: "workspace/cancelGenerateText";
|
|
11825
12676
|
readonly providerTestModelConnectivity: "provider/testModelConnectivity";
|
|
11826
12677
|
readonly mcpList: "mcp/list";
|
|
12678
|
+
readonly mcpReadResource: "mcp/readResource";
|
|
12679
|
+
readonly mcpUiOpenInstance: "mcp/uiOpenInstance";
|
|
12680
|
+
readonly mcpUiCloseInstance: "mcp/uiCloseInstance";
|
|
12681
|
+
readonly mcpUiValidateInstance: "mcp/uiValidateInstance";
|
|
12682
|
+
readonly mcpUiSampling: "mcp/uiSampling";
|
|
12683
|
+
readonly mcpUiCancelSampling: "mcp/uiCancelSampling";
|
|
12684
|
+
readonly mcpUiCallTool: "mcp/uiCallTool";
|
|
12685
|
+
readonly mcpUiCancelCall: "mcp/uiCancelCall";
|
|
12686
|
+
readonly mcpUiReadResource: "mcp/uiReadResource";
|
|
12687
|
+
readonly mcpUiListResources: "mcp/uiListResources";
|
|
12688
|
+
readonly mcpUiListResourceTemplates: "mcp/uiListResourceTemplates";
|
|
12689
|
+
readonly mcpUiSubscribeResource: "mcp/uiSubscribeResource";
|
|
12690
|
+
readonly mcpUiUnsubscribeResource: "mcp/uiUnsubscribeResource";
|
|
12691
|
+
readonly mcpUiRegisterAppTools: "mcp/uiRegisterAppTools";
|
|
12692
|
+
readonly mcpUiUnregisterAppTools: "mcp/uiUnregisterAppTools";
|
|
12693
|
+
readonly mcpUiClaimAppToolCall: "mcp/uiClaimAppToolCall";
|
|
12694
|
+
readonly mcpUiResolveAppToolCall: "mcp/uiResolveAppToolCall";
|
|
11827
12695
|
readonly pluginsList: "plugins/list";
|
|
11828
12696
|
readonly pluginsReferenceCatalog: "plugins/referenceCatalog";
|
|
12697
|
+
readonly pluginsListUiSurfaces: "plugins/listUiSurfaces";
|
|
11829
12698
|
readonly pluginsReferenceCatalogWithCategory: "plugins/referenceCatalogWithCategory";
|
|
11830
12699
|
readonly skillsReferenceCatalog: "skills/referenceCatalog";
|
|
11831
12700
|
readonly workflowsList: "workflows/list";
|
|
@@ -11834,6 +12703,8 @@ export declare const dcodeProtocolMethods: {
|
|
|
11834
12703
|
readonly workflowsDelete: "workflows/delete";
|
|
11835
12704
|
readonly workflowsRuns: "workflows/runs";
|
|
11836
12705
|
readonly workflowsMove: "workflows/move";
|
|
12706
|
+
readonly workflowsSave: "workflows/save";
|
|
12707
|
+
readonly workflowsForRun: "workflows/forRun";
|
|
11837
12708
|
readonly pluginsResolveSuggestedReference: "plugins/resolveSuggestedReference";
|
|
11838
12709
|
readonly pluginsSetEnabled: "plugins/setEnabled";
|
|
11839
12710
|
readonly pluginsOverview: "plugins/overview";
|
|
@@ -11850,6 +12721,9 @@ export declare const dcodeProtocolMethods: {
|
|
|
11850
12721
|
readonly pluginsValidate: "plugins/validate";
|
|
11851
12722
|
readonly pluginsDescribe: "plugins/describe";
|
|
11852
12723
|
readonly automationCreate: "automation/create";
|
|
12724
|
+
readonly topicResourceRead: "topic/resource/read";
|
|
12725
|
+
readonly channelReply: "bot/channel/reply";
|
|
12726
|
+
readonly topicResourceCancel: "topic/resource/cancel";
|
|
11853
12727
|
readonly automationUpdate: "automation/update";
|
|
11854
12728
|
readonly automationCheckTaskBinding: "automation/checkTaskBinding";
|
|
11855
12729
|
readonly automationList: "automation/list";
|
|
@@ -11859,6 +12733,7 @@ export declare const dcodeProtocolMethods: {
|
|
|
11859
12733
|
readonly usageStats: "usage/stats";
|
|
11860
12734
|
readonly sessionUsage: "session/usage";
|
|
11861
12735
|
readonly processChildProcesses: "process/childProcesses";
|
|
12736
|
+
readonly processNetworkCapture: "process/networkCapture";
|
|
11862
12737
|
readonly interactionRequestPermission: "interaction/requestPermission";
|
|
11863
12738
|
readonly interactionRequestUserInput: "interaction/requestUserInput";
|
|
11864
12739
|
readonly interactionRequestProviderRuntimeHeaders: "interaction/requestProviderRuntimeHeaders";
|
|
@@ -11869,6 +12744,73 @@ export declare const dcodeProtocolMethods: {
|
|
|
11869
12744
|
export type DCodeProtocolMethod = (typeof dcodeProtocolMethods)[keyof typeof dcodeProtocolMethods];
|
|
11870
12745
|
export declare const dcodeProtocolEmptyResultSchema: z.ZodObject<{}, z.core.$strict>;
|
|
11871
12746
|
export declare const dcodeProtocolSessionMethodContracts: {
|
|
12747
|
+
readonly "mcp/uiOpenInstance": {
|
|
12748
|
+
readonly params: z.ZodObject<{
|
|
12749
|
+
accountContext: z.ZodOptional<z.ZodString>;
|
|
12750
|
+
workspace: z.ZodObject<{
|
|
12751
|
+
workspacePath: z.ZodString;
|
|
12752
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
12753
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
12754
|
+
workspaceKey: z.ZodString;
|
|
12755
|
+
}, z.core.$strict>;
|
|
12756
|
+
sessionId: z.ZodString;
|
|
12757
|
+
pluginId: z.ZodString;
|
|
12758
|
+
serverName: z.ZodString;
|
|
12759
|
+
scopeId: z.ZodString;
|
|
12760
|
+
resourceUri: z.ZodString;
|
|
12761
|
+
ownerWebContentsId: z.ZodNumber;
|
|
12762
|
+
}, z.core.$strict>;
|
|
12763
|
+
readonly result: z.ZodObject<{
|
|
12764
|
+
runtimeId: z.ZodString;
|
|
12765
|
+
generation: z.ZodNumber;
|
|
12766
|
+
appIdentity: z.ZodString;
|
|
12767
|
+
token: z.ZodString;
|
|
12768
|
+
}, z.core.$strict>;
|
|
12769
|
+
};
|
|
12770
|
+
readonly "mcp/uiCloseInstance": {
|
|
12771
|
+
readonly params: z.ZodObject<{
|
|
12772
|
+
onlyIfIdle: z.ZodOptional<z.ZodBoolean>;
|
|
12773
|
+
instance: z.ZodObject<{
|
|
12774
|
+
runtimeId: z.ZodString;
|
|
12775
|
+
generation: z.ZodNumber;
|
|
12776
|
+
appIdentity: z.ZodString;
|
|
12777
|
+
token: z.ZodString;
|
|
12778
|
+
}, z.core.$strict>;
|
|
12779
|
+
workspace: z.ZodObject<{
|
|
12780
|
+
workspacePath: z.ZodString;
|
|
12781
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
12782
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
12783
|
+
workspaceKey: z.ZodString;
|
|
12784
|
+
}, z.core.$strict>;
|
|
12785
|
+
sessionId: z.ZodString;
|
|
12786
|
+
pluginId: z.ZodString;
|
|
12787
|
+
serverName: z.ZodString;
|
|
12788
|
+
}, z.core.$strict>;
|
|
12789
|
+
readonly result: z.ZodObject<{
|
|
12790
|
+
closed: z.ZodBoolean;
|
|
12791
|
+
}, z.core.$strict>;
|
|
12792
|
+
};
|
|
12793
|
+
readonly "mcp/uiValidateInstance": {
|
|
12794
|
+
readonly params: z.ZodObject<{
|
|
12795
|
+
onlyIfIdle: z.ZodOptional<z.ZodBoolean>;
|
|
12796
|
+
instance: z.ZodObject<{
|
|
12797
|
+
runtimeId: z.ZodString;
|
|
12798
|
+
generation: z.ZodNumber;
|
|
12799
|
+
appIdentity: z.ZodString;
|
|
12800
|
+
token: z.ZodString;
|
|
12801
|
+
}, z.core.$strict>;
|
|
12802
|
+
workspace: z.ZodObject<{
|
|
12803
|
+
workspacePath: z.ZodString;
|
|
12804
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
12805
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
12806
|
+
workspaceKey: z.ZodString;
|
|
12807
|
+
}, z.core.$strict>;
|
|
12808
|
+
sessionId: z.ZodString;
|
|
12809
|
+
pluginId: z.ZodString;
|
|
12810
|
+
serverName: z.ZodString;
|
|
12811
|
+
}, z.core.$strict>;
|
|
12812
|
+
readonly result: z.ZodObject<{}, z.core.$strict>;
|
|
12813
|
+
};
|
|
11872
12814
|
readonly "workspace/hooks/trustGrant": {
|
|
11873
12815
|
readonly params: z.ZodObject<{
|
|
11874
12816
|
workspace: z.ZodObject<{
|
|
@@ -11909,12 +12851,12 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11909
12851
|
value: z.ZodString;
|
|
11910
12852
|
}, z.core.$strict>>;
|
|
11911
12853
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
11912
|
-
workspace: "workspace";
|
|
11913
12854
|
session: "session";
|
|
12855
|
+
workspace: "workspace";
|
|
11914
12856
|
}>>;
|
|
11915
12857
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
11916
|
-
auto: "auto";
|
|
11917
12858
|
legacy: "legacy";
|
|
12859
|
+
auto: "auto";
|
|
11918
12860
|
"2026-07-28": "2026-07-28";
|
|
11919
12861
|
}>>;
|
|
11920
12862
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11944,12 +12886,12 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11944
12886
|
scope: z.ZodOptional<z.ZodString>;
|
|
11945
12887
|
}, z.core.$strict>]>>;
|
|
11946
12888
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
11947
|
-
workspace: "workspace";
|
|
11948
12889
|
session: "session";
|
|
12890
|
+
workspace: "workspace";
|
|
11949
12891
|
}>>;
|
|
11950
12892
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
11951
|
-
auto: "auto";
|
|
11952
12893
|
legacy: "legacy";
|
|
12894
|
+
auto: "auto";
|
|
11953
12895
|
"2026-07-28": "2026-07-28";
|
|
11954
12896
|
}>>;
|
|
11955
12897
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11962,10 +12904,10 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11962
12904
|
readonly result: z.ZodObject<{
|
|
11963
12905
|
statuses: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11964
12906
|
status: z.ZodEnum<{
|
|
11965
|
-
connected: "connected";
|
|
11966
12907
|
failed: "failed";
|
|
11967
|
-
disabled: "disabled";
|
|
11968
12908
|
connecting: "connecting";
|
|
12909
|
+
connected: "connected";
|
|
12910
|
+
disabled: "disabled";
|
|
11969
12911
|
disconnected: "disconnected";
|
|
11970
12912
|
untrusted: "untrusted";
|
|
11971
12913
|
}>;
|
|
@@ -11978,7 +12920,6 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11978
12920
|
updatedAt: z.ZodString;
|
|
11979
12921
|
error: z.ZodOptional<z.ZodString>;
|
|
11980
12922
|
failureKind: z.ZodOptional<z.ZodEnum<{
|
|
11981
|
-
not_authenticated: "not_authenticated";
|
|
11982
12923
|
config_invalid: "config_invalid";
|
|
11983
12924
|
runtime_unavailable: "runtime_unavailable";
|
|
11984
12925
|
process_start_failed: "process_start_failed";
|
|
@@ -11989,6 +12930,7 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
11989
12930
|
unexpected_disconnect: "unexpected_disconnect";
|
|
11990
12931
|
oauth_authorization_failed: "oauth_authorization_failed";
|
|
11991
12932
|
official_origin_untrusted: "official_origin_untrusted";
|
|
12933
|
+
not_authenticated: "not_authenticated";
|
|
11992
12934
|
coding_plan_required: "coding_plan_required";
|
|
11993
12935
|
server_not_found: "server_not_found";
|
|
11994
12936
|
server_unavailable: "server_unavailable";
|
|
@@ -12011,6 +12953,477 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12011
12953
|
}, z.core.$strict>>;
|
|
12012
12954
|
}, z.core.$strict>;
|
|
12013
12955
|
};
|
|
12956
|
+
readonly "mcp/readResource": {
|
|
12957
|
+
readonly params: z.ZodObject<{
|
|
12958
|
+
uri: z.ZodString;
|
|
12959
|
+
instance: z.ZodObject<{
|
|
12960
|
+
runtimeId: z.ZodString;
|
|
12961
|
+
generation: z.ZodNumber;
|
|
12962
|
+
appIdentity: z.ZodString;
|
|
12963
|
+
token: z.ZodString;
|
|
12964
|
+
}, z.core.$strict>;
|
|
12965
|
+
workspace: z.ZodObject<{
|
|
12966
|
+
workspacePath: z.ZodString;
|
|
12967
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
12968
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
12969
|
+
workspaceKey: z.ZodString;
|
|
12970
|
+
}, z.core.$strict>;
|
|
12971
|
+
sessionId: z.ZodString;
|
|
12972
|
+
pluginId: z.ZodString;
|
|
12973
|
+
serverName: z.ZodString;
|
|
12974
|
+
}, z.core.$strict>;
|
|
12975
|
+
readonly result: z.ZodObject<{
|
|
12976
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
12977
|
+
uri: z.ZodString;
|
|
12978
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
12979
|
+
text: z.ZodOptional<z.ZodString>;
|
|
12980
|
+
blob: z.ZodOptional<z.ZodString>;
|
|
12981
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12982
|
+
}, z.core.$strict>>;
|
|
12983
|
+
}, z.core.$strict>;
|
|
12984
|
+
};
|
|
12985
|
+
readonly "mcp/uiSampling": {
|
|
12986
|
+
readonly params: z.ZodObject<{
|
|
12987
|
+
operationId: z.ZodString;
|
|
12988
|
+
request: z.ZodObject<{
|
|
12989
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
12990
|
+
role: z.ZodEnum<{
|
|
12991
|
+
user: "user";
|
|
12992
|
+
assistant: "assistant";
|
|
12993
|
+
}>;
|
|
12994
|
+
content: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12995
|
+
type: z.ZodLiteral<"text">;
|
|
12996
|
+
text: z.ZodString;
|
|
12997
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
12998
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
12999
|
+
user: "user";
|
|
13000
|
+
assistant: "assistant";
|
|
13001
|
+
}>>>;
|
|
13002
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
13003
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
13004
|
+
}, z.core.$strict>>;
|
|
13005
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13006
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13007
|
+
type: z.ZodLiteral<"image">;
|
|
13008
|
+
mimeType: z.ZodEnum<{
|
|
13009
|
+
"image/png": "image/png";
|
|
13010
|
+
"image/jpeg": "image/jpeg";
|
|
13011
|
+
"image/webp": "image/webp";
|
|
13012
|
+
}>;
|
|
13013
|
+
data: z.ZodString;
|
|
13014
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
13015
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13016
|
+
user: "user";
|
|
13017
|
+
assistant: "assistant";
|
|
13018
|
+
}>>>;
|
|
13019
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
13020
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
13021
|
+
}, z.core.$strict>>;
|
|
13022
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13023
|
+
}, z.core.$strict>], "type">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13024
|
+
type: z.ZodLiteral<"text">;
|
|
13025
|
+
text: z.ZodString;
|
|
13026
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
13027
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13028
|
+
user: "user";
|
|
13029
|
+
assistant: "assistant";
|
|
13030
|
+
}>>>;
|
|
13031
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
13032
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
13033
|
+
}, z.core.$strict>>;
|
|
13034
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13035
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13036
|
+
type: z.ZodLiteral<"image">;
|
|
13037
|
+
mimeType: z.ZodEnum<{
|
|
13038
|
+
"image/png": "image/png";
|
|
13039
|
+
"image/jpeg": "image/jpeg";
|
|
13040
|
+
"image/webp": "image/webp";
|
|
13041
|
+
}>;
|
|
13042
|
+
data: z.ZodString;
|
|
13043
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
13044
|
+
audience: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13045
|
+
user: "user";
|
|
13046
|
+
assistant: "assistant";
|
|
13047
|
+
}>>>;
|
|
13048
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
13049
|
+
lastModified: z.ZodOptional<z.ZodString>;
|
|
13050
|
+
}, z.core.$strict>>;
|
|
13051
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13052
|
+
}, z.core.$strict>], "type">>]>;
|
|
13053
|
+
}, z.core.$strict>>;
|
|
13054
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
13055
|
+
maxTokens: z.ZodNumber;
|
|
13056
|
+
includeContext: z.ZodOptional<z.ZodLiteral<"none">>;
|
|
13057
|
+
modelPreferences: z.ZodOptional<z.ZodObject<{
|
|
13058
|
+
hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13059
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13060
|
+
}, z.core.$strict>>>;
|
|
13061
|
+
costPriority: z.ZodOptional<z.ZodNumber>;
|
|
13062
|
+
speedPriority: z.ZodOptional<z.ZodNumber>;
|
|
13063
|
+
intelligencePriority: z.ZodOptional<z.ZodNumber>;
|
|
13064
|
+
}, z.core.$strict>>;
|
|
13065
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13066
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13067
|
+
}, z.core.$strict>;
|
|
13068
|
+
instance: z.ZodObject<{
|
|
13069
|
+
runtimeId: z.ZodString;
|
|
13070
|
+
generation: z.ZodNumber;
|
|
13071
|
+
appIdentity: z.ZodString;
|
|
13072
|
+
token: z.ZodString;
|
|
13073
|
+
}, z.core.$strict>;
|
|
13074
|
+
workspace: z.ZodObject<{
|
|
13075
|
+
workspacePath: z.ZodString;
|
|
13076
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13077
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13078
|
+
workspaceKey: z.ZodString;
|
|
13079
|
+
}, z.core.$strict>;
|
|
13080
|
+
sessionId: z.ZodString;
|
|
13081
|
+
pluginId: z.ZodString;
|
|
13082
|
+
serverName: z.ZodString;
|
|
13083
|
+
}, z.core.$strict>;
|
|
13084
|
+
readonly result: z.ZodObject<{
|
|
13085
|
+
role: z.ZodLiteral<"assistant">;
|
|
13086
|
+
model: z.ZodString;
|
|
13087
|
+
content: z.ZodObject<{
|
|
13088
|
+
type: z.ZodLiteral<"text">;
|
|
13089
|
+
text: z.ZodString;
|
|
13090
|
+
}, z.core.$strict>;
|
|
13091
|
+
stopReason: z.ZodString;
|
|
13092
|
+
}, z.core.$strict>;
|
|
13093
|
+
};
|
|
13094
|
+
readonly "mcp/uiCancelSampling": {
|
|
13095
|
+
readonly params: z.ZodObject<{
|
|
13096
|
+
operationId: z.ZodString;
|
|
13097
|
+
instance: z.ZodObject<{
|
|
13098
|
+
runtimeId: z.ZodString;
|
|
13099
|
+
generation: z.ZodNumber;
|
|
13100
|
+
appIdentity: z.ZodString;
|
|
13101
|
+
token: z.ZodString;
|
|
13102
|
+
}, z.core.$strict>;
|
|
13103
|
+
workspace: z.ZodObject<{
|
|
13104
|
+
workspacePath: z.ZodString;
|
|
13105
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13106
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13107
|
+
workspaceKey: z.ZodString;
|
|
13108
|
+
}, z.core.$strict>;
|
|
13109
|
+
sessionId: z.ZodString;
|
|
13110
|
+
pluginId: z.ZodString;
|
|
13111
|
+
serverName: z.ZodString;
|
|
13112
|
+
}, z.core.$strict>;
|
|
13113
|
+
readonly result: z.ZodObject<{
|
|
13114
|
+
cancelled: z.ZodBoolean;
|
|
13115
|
+
}, z.core.$strict>;
|
|
13116
|
+
};
|
|
13117
|
+
readonly "mcp/uiCallTool": {
|
|
13118
|
+
readonly params: z.ZodObject<{
|
|
13119
|
+
toolName: z.ZodString;
|
|
13120
|
+
arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13121
|
+
callId: z.ZodString;
|
|
13122
|
+
instance: z.ZodObject<{
|
|
13123
|
+
runtimeId: z.ZodString;
|
|
13124
|
+
generation: z.ZodNumber;
|
|
13125
|
+
appIdentity: z.ZodString;
|
|
13126
|
+
token: z.ZodString;
|
|
13127
|
+
}, z.core.$strict>;
|
|
13128
|
+
workspace: z.ZodObject<{
|
|
13129
|
+
workspacePath: z.ZodString;
|
|
13130
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13131
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13132
|
+
workspaceKey: z.ZodString;
|
|
13133
|
+
}, z.core.$strict>;
|
|
13134
|
+
sessionId: z.ZodString;
|
|
13135
|
+
pluginId: z.ZodString;
|
|
13136
|
+
serverName: z.ZodString;
|
|
13137
|
+
}, z.core.$strict>;
|
|
13138
|
+
readonly result: z.ZodObject<{
|
|
13139
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13140
|
+
structuredContent: z.ZodOptional<z.ZodUnknown>;
|
|
13141
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
13142
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13143
|
+
}, z.core.$strict>;
|
|
13144
|
+
};
|
|
13145
|
+
readonly "mcp/uiCancelCall": {
|
|
13146
|
+
readonly params: z.ZodObject<{
|
|
13147
|
+
callId: z.ZodString;
|
|
13148
|
+
instance: z.ZodObject<{
|
|
13149
|
+
runtimeId: z.ZodString;
|
|
13150
|
+
generation: z.ZodNumber;
|
|
13151
|
+
appIdentity: z.ZodString;
|
|
13152
|
+
token: z.ZodString;
|
|
13153
|
+
}, z.core.$strict>;
|
|
13154
|
+
workspace: z.ZodObject<{
|
|
13155
|
+
workspacePath: z.ZodString;
|
|
13156
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13157
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13158
|
+
workspaceKey: z.ZodString;
|
|
13159
|
+
}, z.core.$strict>;
|
|
13160
|
+
sessionId: z.ZodString;
|
|
13161
|
+
pluginId: z.ZodString;
|
|
13162
|
+
serverName: z.ZodString;
|
|
13163
|
+
}, z.core.$strict>;
|
|
13164
|
+
readonly result: z.ZodObject<{
|
|
13165
|
+
cancelled: z.ZodBoolean;
|
|
13166
|
+
}, z.core.$strict>;
|
|
13167
|
+
};
|
|
13168
|
+
readonly "mcp/uiReadResource": {
|
|
13169
|
+
readonly params: z.ZodObject<{
|
|
13170
|
+
uri: z.ZodString;
|
|
13171
|
+
instance: z.ZodObject<{
|
|
13172
|
+
runtimeId: z.ZodString;
|
|
13173
|
+
generation: z.ZodNumber;
|
|
13174
|
+
appIdentity: z.ZodString;
|
|
13175
|
+
token: z.ZodString;
|
|
13176
|
+
}, z.core.$strict>;
|
|
13177
|
+
workspace: z.ZodObject<{
|
|
13178
|
+
workspacePath: z.ZodString;
|
|
13179
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13180
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13181
|
+
workspaceKey: z.ZodString;
|
|
13182
|
+
}, z.core.$strict>;
|
|
13183
|
+
sessionId: z.ZodString;
|
|
13184
|
+
pluginId: z.ZodString;
|
|
13185
|
+
serverName: z.ZodString;
|
|
13186
|
+
}, z.core.$strict>;
|
|
13187
|
+
readonly result: z.ZodObject<{
|
|
13188
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
13189
|
+
uri: z.ZodString;
|
|
13190
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
13191
|
+
text: z.ZodOptional<z.ZodString>;
|
|
13192
|
+
blob: z.ZodOptional<z.ZodString>;
|
|
13193
|
+
}, z.core.$strict>>;
|
|
13194
|
+
}, z.core.$strict>;
|
|
13195
|
+
};
|
|
13196
|
+
readonly "mcp/uiListResources": {
|
|
13197
|
+
readonly params: z.ZodObject<{
|
|
13198
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
13199
|
+
instance: z.ZodObject<{
|
|
13200
|
+
runtimeId: z.ZodString;
|
|
13201
|
+
generation: z.ZodNumber;
|
|
13202
|
+
appIdentity: z.ZodString;
|
|
13203
|
+
token: z.ZodString;
|
|
13204
|
+
}, z.core.$strict>;
|
|
13205
|
+
workspace: z.ZodObject<{
|
|
13206
|
+
workspacePath: z.ZodString;
|
|
13207
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13208
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13209
|
+
workspaceKey: z.ZodString;
|
|
13210
|
+
}, z.core.$strict>;
|
|
13211
|
+
sessionId: z.ZodString;
|
|
13212
|
+
pluginId: z.ZodString;
|
|
13213
|
+
serverName: z.ZodString;
|
|
13214
|
+
}, z.core.$strict>;
|
|
13215
|
+
readonly result: z.ZodObject<{
|
|
13216
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
13217
|
+
uri: z.ZodString;
|
|
13218
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13219
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13220
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13221
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
13222
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13223
|
+
}, z.core.$strict>>;
|
|
13224
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
13225
|
+
}, z.core.$strict>;
|
|
13226
|
+
};
|
|
13227
|
+
readonly "mcp/uiListResourceTemplates": {
|
|
13228
|
+
readonly params: z.ZodObject<{
|
|
13229
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
13230
|
+
instance: z.ZodObject<{
|
|
13231
|
+
runtimeId: z.ZodString;
|
|
13232
|
+
generation: z.ZodNumber;
|
|
13233
|
+
appIdentity: z.ZodString;
|
|
13234
|
+
token: z.ZodString;
|
|
13235
|
+
}, z.core.$strict>;
|
|
13236
|
+
workspace: z.ZodObject<{
|
|
13237
|
+
workspacePath: z.ZodString;
|
|
13238
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13239
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13240
|
+
workspaceKey: z.ZodString;
|
|
13241
|
+
}, z.core.$strict>;
|
|
13242
|
+
sessionId: z.ZodString;
|
|
13243
|
+
pluginId: z.ZodString;
|
|
13244
|
+
serverName: z.ZodString;
|
|
13245
|
+
}, z.core.$strict>;
|
|
13246
|
+
readonly result: z.ZodObject<{
|
|
13247
|
+
resourceTemplates: z.ZodArray<z.ZodObject<{
|
|
13248
|
+
uriTemplate: z.ZodString;
|
|
13249
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13250
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13251
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13252
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
13253
|
+
}, z.core.$strict>>;
|
|
13254
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
13255
|
+
}, z.core.$strict>;
|
|
13256
|
+
};
|
|
13257
|
+
readonly "mcp/uiSubscribeResource": {
|
|
13258
|
+
readonly params: z.ZodObject<{
|
|
13259
|
+
scopeId: z.ZodString;
|
|
13260
|
+
generation: z.ZodNumber;
|
|
13261
|
+
uri: z.ZodString;
|
|
13262
|
+
instance: z.ZodObject<{
|
|
13263
|
+
runtimeId: z.ZodString;
|
|
13264
|
+
generation: z.ZodNumber;
|
|
13265
|
+
appIdentity: z.ZodString;
|
|
13266
|
+
token: z.ZodString;
|
|
13267
|
+
}, z.core.$strict>;
|
|
13268
|
+
workspace: z.ZodObject<{
|
|
13269
|
+
workspacePath: z.ZodString;
|
|
13270
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13271
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13272
|
+
workspaceKey: z.ZodString;
|
|
13273
|
+
}, z.core.$strict>;
|
|
13274
|
+
sessionId: z.ZodString;
|
|
13275
|
+
pluginId: z.ZodString;
|
|
13276
|
+
serverName: z.ZodString;
|
|
13277
|
+
}, z.core.$strict>;
|
|
13278
|
+
readonly result: z.ZodObject<{}, z.core.$strict>;
|
|
13279
|
+
};
|
|
13280
|
+
readonly "mcp/uiUnsubscribeResource": {
|
|
13281
|
+
readonly params: z.ZodObject<{
|
|
13282
|
+
scopeId: z.ZodString;
|
|
13283
|
+
generation: z.ZodNumber;
|
|
13284
|
+
uri: z.ZodString;
|
|
13285
|
+
instance: z.ZodObject<{
|
|
13286
|
+
runtimeId: z.ZodString;
|
|
13287
|
+
generation: z.ZodNumber;
|
|
13288
|
+
appIdentity: z.ZodString;
|
|
13289
|
+
token: z.ZodString;
|
|
13290
|
+
}, z.core.$strict>;
|
|
13291
|
+
workspace: z.ZodObject<{
|
|
13292
|
+
workspacePath: z.ZodString;
|
|
13293
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13294
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13295
|
+
workspaceKey: z.ZodString;
|
|
13296
|
+
}, z.core.$strict>;
|
|
13297
|
+
sessionId: z.ZodString;
|
|
13298
|
+
pluginId: z.ZodString;
|
|
13299
|
+
serverName: z.ZodString;
|
|
13300
|
+
}, z.core.$strict>;
|
|
13301
|
+
readonly result: z.ZodObject<{}, z.core.$strict>;
|
|
13302
|
+
};
|
|
13303
|
+
readonly "mcp/uiRegisterAppTools": {
|
|
13304
|
+
readonly params: z.ZodObject<{
|
|
13305
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
13306
|
+
name: z.ZodString;
|
|
13307
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13308
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13309
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13310
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13311
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
13312
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13313
|
+
readOnlyHint: z.ZodOptional<z.ZodBoolean>;
|
|
13314
|
+
destructiveHint: z.ZodOptional<z.ZodBoolean>;
|
|
13315
|
+
idempotentHint: z.ZodOptional<z.ZodBoolean>;
|
|
13316
|
+
openWorldHint: z.ZodOptional<z.ZodBoolean>;
|
|
13317
|
+
}, z.core.$strict>>;
|
|
13318
|
+
}, z.core.$strict>>;
|
|
13319
|
+
scopeId: z.ZodString;
|
|
13320
|
+
generation: z.ZodNumber;
|
|
13321
|
+
instance: z.ZodObject<{
|
|
13322
|
+
runtimeId: z.ZodString;
|
|
13323
|
+
generation: z.ZodNumber;
|
|
13324
|
+
appIdentity: z.ZodString;
|
|
13325
|
+
token: z.ZodString;
|
|
13326
|
+
}, z.core.$strict>;
|
|
13327
|
+
workspace: z.ZodObject<{
|
|
13328
|
+
workspacePath: z.ZodString;
|
|
13329
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13330
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13331
|
+
workspaceKey: z.ZodString;
|
|
13332
|
+
}, z.core.$strict>;
|
|
13333
|
+
sessionId: z.ZodString;
|
|
13334
|
+
pluginId: z.ZodString;
|
|
13335
|
+
serverName: z.ZodString;
|
|
13336
|
+
}, z.core.$strict>;
|
|
13337
|
+
readonly result: z.ZodObject<{
|
|
13338
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
13339
|
+
name: z.ZodString;
|
|
13340
|
+
modelName: z.ZodString;
|
|
13341
|
+
}, z.core.$strict>>;
|
|
13342
|
+
}, z.core.$strict>;
|
|
13343
|
+
};
|
|
13344
|
+
readonly "mcp/uiUnregisterAppTools": {
|
|
13345
|
+
readonly params: z.ZodObject<{
|
|
13346
|
+
scopeId: z.ZodString;
|
|
13347
|
+
generation: z.ZodNumber;
|
|
13348
|
+
instance: z.ZodObject<{
|
|
13349
|
+
runtimeId: z.ZodString;
|
|
13350
|
+
generation: z.ZodNumber;
|
|
13351
|
+
appIdentity: z.ZodString;
|
|
13352
|
+
token: z.ZodString;
|
|
13353
|
+
}, z.core.$strict>;
|
|
13354
|
+
workspace: z.ZodObject<{
|
|
13355
|
+
workspacePath: z.ZodString;
|
|
13356
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13357
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13358
|
+
workspaceKey: z.ZodString;
|
|
13359
|
+
}, z.core.$strict>;
|
|
13360
|
+
sessionId: z.ZodString;
|
|
13361
|
+
pluginId: z.ZodString;
|
|
13362
|
+
serverName: z.ZodString;
|
|
13363
|
+
}, z.core.$strict>;
|
|
13364
|
+
readonly result: z.ZodObject<{
|
|
13365
|
+
removed: z.ZodNumber;
|
|
13366
|
+
}, z.core.$strict>;
|
|
13367
|
+
};
|
|
13368
|
+
readonly "mcp/uiClaimAppToolCall": {
|
|
13369
|
+
readonly params: z.ZodObject<{
|
|
13370
|
+
callId: z.ZodString;
|
|
13371
|
+
scopeId: z.ZodString;
|
|
13372
|
+
generation: z.ZodNumber;
|
|
13373
|
+
instance: z.ZodObject<{
|
|
13374
|
+
runtimeId: z.ZodString;
|
|
13375
|
+
generation: z.ZodNumber;
|
|
13376
|
+
appIdentity: z.ZodString;
|
|
13377
|
+
token: z.ZodString;
|
|
13378
|
+
}, z.core.$strict>;
|
|
13379
|
+
workspace: z.ZodObject<{
|
|
13380
|
+
workspacePath: z.ZodString;
|
|
13381
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13382
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13383
|
+
workspaceKey: z.ZodString;
|
|
13384
|
+
}, z.core.$strict>;
|
|
13385
|
+
sessionId: z.ZodString;
|
|
13386
|
+
pluginId: z.ZodString;
|
|
13387
|
+
serverName: z.ZodString;
|
|
13388
|
+
}, z.core.$strict>;
|
|
13389
|
+
readonly result: z.ZodObject<{
|
|
13390
|
+
accepted: z.ZodBoolean;
|
|
13391
|
+
}, z.core.$strict>;
|
|
13392
|
+
};
|
|
13393
|
+
readonly "mcp/uiResolveAppToolCall": {
|
|
13394
|
+
readonly params: z.ZodObject<{
|
|
13395
|
+
callId: z.ZodString;
|
|
13396
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
13397
|
+
content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13398
|
+
structuredContent: z.ZodOptional<z.ZodUnknown>;
|
|
13399
|
+
isError: z.ZodOptional<z.ZodBoolean>;
|
|
13400
|
+
_meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13401
|
+
}, z.core.$strip>>;
|
|
13402
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
13403
|
+
message: z.ZodString;
|
|
13404
|
+
}, z.core.$strict>>;
|
|
13405
|
+
scopeId: z.ZodString;
|
|
13406
|
+
generation: z.ZodNumber;
|
|
13407
|
+
instance: z.ZodObject<{
|
|
13408
|
+
runtimeId: z.ZodString;
|
|
13409
|
+
generation: z.ZodNumber;
|
|
13410
|
+
appIdentity: z.ZodString;
|
|
13411
|
+
token: z.ZodString;
|
|
13412
|
+
}, z.core.$strict>;
|
|
13413
|
+
workspace: z.ZodObject<{
|
|
13414
|
+
workspacePath: z.ZodString;
|
|
13415
|
+
workspaceIdentity: z.ZodOptional<z.ZodString>;
|
|
13416
|
+
remoteSessionId: z.ZodOptional<z.ZodString>;
|
|
13417
|
+
workspaceKey: z.ZodString;
|
|
13418
|
+
}, z.core.$strict>;
|
|
13419
|
+
sessionId: z.ZodString;
|
|
13420
|
+
pluginId: z.ZodString;
|
|
13421
|
+
serverName: z.ZodString;
|
|
13422
|
+
}, z.core.$strict>;
|
|
13423
|
+
readonly result: z.ZodObject<{
|
|
13424
|
+
accepted: z.ZodBoolean;
|
|
13425
|
+
}, z.core.$strict>;
|
|
13426
|
+
};
|
|
12014
13427
|
readonly "interaction/browserList": {
|
|
12015
13428
|
readonly params: z.ZodObject<{
|
|
12016
13429
|
requestId: z.ZodString;
|
|
@@ -12525,6 +13938,7 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12525
13938
|
turnId: z.ZodOptional<z.ZodString>;
|
|
12526
13939
|
}, z.core.$strict>, z.ZodObject<{
|
|
12527
13940
|
method: z.ZodLiteral<"closeSession">;
|
|
13941
|
+
closeTabs: z.ZodOptional<z.ZodBoolean>;
|
|
12528
13942
|
}, z.core.$strict>, z.ZodObject<{
|
|
12529
13943
|
method: z.ZodLiteral<"cancelRequest">;
|
|
12530
13944
|
requestId: z.ZodString;
|
|
@@ -12662,15 +14076,15 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12662
14076
|
recording: z.ZodOptional<z.ZodObject<{
|
|
12663
14077
|
id: z.ZodString;
|
|
12664
14078
|
status: z.ZodEnum<{
|
|
14079
|
+
cancelled: "cancelled";
|
|
12665
14080
|
failed: "failed";
|
|
12666
14081
|
completed: "completed";
|
|
12667
|
-
cancelled: "cancelled";
|
|
12668
14082
|
running: "running";
|
|
12669
14083
|
}>;
|
|
12670
14084
|
phase: z.ZodEnum<{
|
|
14085
|
+
cancelled: "cancelled";
|
|
12671
14086
|
failed: "failed";
|
|
12672
14087
|
completed: "completed";
|
|
12673
|
-
cancelled: "cancelled";
|
|
12674
14088
|
preparing: "preparing";
|
|
12675
14089
|
capturing: "capturing";
|
|
12676
14090
|
finalizing: "finalizing";
|
|
@@ -12720,8 +14134,8 @@ export declare const dcodeProtocolSessionMethodContracts: {
|
|
|
12720
14134
|
tabId: z.ZodOptional<z.ZodString>;
|
|
12721
14135
|
currentUrl: z.ZodOptional<z.ZodString>;
|
|
12722
14136
|
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
12723
|
-
active: "active";
|
|
12724
14137
|
closed: "closed";
|
|
14138
|
+
active: "active";
|
|
12725
14139
|
handoff: "handoff";
|
|
12726
14140
|
deliverable: "deliverable";
|
|
12727
14141
|
}>>;
|
|
@@ -12755,12 +14169,12 @@ export declare const dcodeStoragePreparationFrameSchema: z.ZodDiscriminatedUnion
|
|
|
12755
14169
|
"tasks-index": "tasks-index";
|
|
12756
14170
|
}>;
|
|
12757
14171
|
phase: z.ZodEnum<{
|
|
12758
|
-
failed: "failed";
|
|
12759
|
-
ready: "ready";
|
|
12760
14172
|
checking: "checking";
|
|
12761
14173
|
waiting_for_lock: "waiting_for_lock";
|
|
12762
14174
|
migrating: "migrating";
|
|
12763
14175
|
committing: "committing";
|
|
14176
|
+
ready: "ready";
|
|
14177
|
+
failed: "failed";
|
|
12764
14178
|
}>;
|
|
12765
14179
|
migration: z.ZodOptional<z.ZodObject<{
|
|
12766
14180
|
kind: z.ZodEnum<{
|
|
@@ -12795,6 +14209,7 @@ export declare const dcodeStoragePathReadySchema: z.ZodObject<{
|
|
|
12795
14209
|
method: z.ZodLiteral<"startup/storagePathReady">;
|
|
12796
14210
|
reuse: z.ZodOptional<z.ZodBoolean>;
|
|
12797
14211
|
}, z.core.$strict>;
|
|
12798
|
-
export * from "../localTtft.js";
|
|
12799
14212
|
export { localTtftFactsSchema } from "../localTtft.js";
|
|
14213
|
+
export { botIdentitySchema, botTopicInputMessageSchema, botGroupInputSourceSchema, type BotGroupInputSource, } from "../bots.js";
|
|
14214
|
+
export { botTopicContextSchema, botTopicMessageSchema, type BotTopicHistoryBatch, type BotTopicMessage, } from "../bots.js";
|
|
12800
14215
|
//# sourceMappingURL=index.d.ts.map
|