@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,8 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export type { SharedContextRef } from "./shared-context-ref.js";
|
|
3
|
+
export * from "./workflow-command-rejections.js";
|
|
3
4
|
export declare const commandPayloadSchemas: {
|
|
4
5
|
readonly createSession: z.ZodObject<{
|
|
5
6
|
workspaceId: z.ZodString;
|
|
7
|
+
permissionScope: z.ZodOptional<z.ZodLiteral<"session">>;
|
|
6
8
|
firstInput: z.ZodOptional<z.ZodObject<{
|
|
7
9
|
text: z.ZodString;
|
|
8
10
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10,6 +12,11 @@ export declare const commandPayloadSchemas: {
|
|
|
10
12
|
fileName: z.ZodString;
|
|
11
13
|
mime: z.ZodString;
|
|
12
14
|
bytes: z.ZodNumber;
|
|
15
|
+
sourceKind: z.ZodOptional<z.ZodEnum<{
|
|
16
|
+
"clipboard-text": "clipboard-text";
|
|
17
|
+
"topic-history": "topic-history";
|
|
18
|
+
}>>;
|
|
19
|
+
messageCount: z.ZodOptional<z.ZodNumber>;
|
|
13
20
|
previewRef: z.ZodOptional<z.ZodString>;
|
|
14
21
|
}, z.core.$strict>>>;
|
|
15
22
|
modelSelection: z.ZodOptional<z.ZodObject<{
|
|
@@ -21,9 +28,10 @@ export declare const commandPayloadSchemas: {
|
|
|
21
28
|
}, z.core.$strict>>;
|
|
22
29
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
23
30
|
plan: "plan";
|
|
24
|
-
yolo: "yolo";
|
|
25
|
-
edit: "edit";
|
|
26
31
|
build: "build";
|
|
32
|
+
edit: "edit";
|
|
33
|
+
yolo: "yolo";
|
|
34
|
+
guarded: "guarded";
|
|
27
35
|
}>>;
|
|
28
36
|
planEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
29
37
|
}, z.core.$strip>>;
|
|
@@ -54,12 +62,12 @@ export declare const commandPayloadSchemas: {
|
|
|
54
62
|
value: z.ZodString;
|
|
55
63
|
}, z.core.$strict>>;
|
|
56
64
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
57
|
-
workspace: "workspace";
|
|
58
65
|
session: "session";
|
|
66
|
+
workspace: "workspace";
|
|
59
67
|
}>>;
|
|
60
68
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
61
|
-
auto: "auto";
|
|
62
69
|
legacy: "legacy";
|
|
70
|
+
auto: "auto";
|
|
63
71
|
"2026-07-28": "2026-07-28";
|
|
64
72
|
}>>;
|
|
65
73
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -89,18 +97,23 @@ export declare const commandPayloadSchemas: {
|
|
|
89
97
|
scope: z.ZodOptional<z.ZodString>;
|
|
90
98
|
}, z.core.$strict>]>>;
|
|
91
99
|
isolation: z.ZodOptional<z.ZodEnum<{
|
|
92
|
-
workspace: "workspace";
|
|
93
100
|
session: "session";
|
|
101
|
+
workspace: "workspace";
|
|
94
102
|
}>>;
|
|
95
103
|
protocolVersion: z.ZodOptional<z.ZodEnum<{
|
|
96
|
-
auto: "auto";
|
|
97
104
|
legacy: "legacy";
|
|
105
|
+
auto: "auto";
|
|
98
106
|
"2026-07-28": "2026-07-28";
|
|
99
107
|
}>>;
|
|
100
108
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
101
109
|
}, z.core.$strict>]>>>;
|
|
102
110
|
offPeakToolEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
103
111
|
dynamicWorkflowEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
dynamicWorkflowMode: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
disabled: "disabled";
|
|
114
|
+
onDemand: "onDemand";
|
|
115
|
+
alwaysOn: "alwaysOn";
|
|
116
|
+
}>>;
|
|
104
117
|
}, z.core.$strip>;
|
|
105
118
|
readonly createSelectionSideSession: z.ZodObject<{
|
|
106
119
|
firstInput: z.ZodOptional<z.ZodObject<{
|
|
@@ -121,6 +134,11 @@ export declare const commandPayloadSchemas: {
|
|
|
121
134
|
fileName: z.ZodString;
|
|
122
135
|
mime: z.ZodString;
|
|
123
136
|
bytes: z.ZodNumber;
|
|
137
|
+
sourceKind: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
"clipboard-text": "clipboard-text";
|
|
139
|
+
"topic-history": "topic-history";
|
|
140
|
+
}>>;
|
|
141
|
+
messageCount: z.ZodOptional<z.ZodNumber>;
|
|
124
142
|
previewRef: z.ZodOptional<z.ZodString>;
|
|
125
143
|
}, z.core.$strict>>>;
|
|
126
144
|
requestedDelivery: z.ZodOptional<z.ZodEnum<{
|
|
@@ -136,6 +154,15 @@ export declare const commandPayloadSchemas: {
|
|
|
136
154
|
kind: z.ZodLiteral<"shared_context_import">;
|
|
137
155
|
context_id: z.ZodString;
|
|
138
156
|
}, z.core.$strict>>>;
|
|
157
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
158
|
+
kind: z.ZodLiteral<"pluginUi">;
|
|
159
|
+
pluginId: z.ZodString;
|
|
160
|
+
toolCallId: z.ZodString;
|
|
161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
162
|
+
kind: z.ZodLiteral<"genUi">;
|
|
163
|
+
path: z.ZodString;
|
|
164
|
+
title: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.core.$strict>], "kind">>;
|
|
139
166
|
heldQueueDisposition: z.ZodOptional<z.ZodEnum<{
|
|
140
167
|
clearQueueAndSend: "clearQueueAndSend";
|
|
141
168
|
keepQueueAndSend: "keepQueueAndSend";
|
|
@@ -150,9 +177,10 @@ export declare const commandPayloadSchemas: {
|
|
|
150
177
|
}, z.core.$strict>>;
|
|
151
178
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
152
179
|
plan: "plan";
|
|
153
|
-
yolo: "yolo";
|
|
154
|
-
edit: "edit";
|
|
155
180
|
build: "build";
|
|
181
|
+
edit: "edit";
|
|
182
|
+
yolo: "yolo";
|
|
183
|
+
guarded: "guarded";
|
|
156
184
|
}>>;
|
|
157
185
|
planEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
158
186
|
modelExecution: z.ZodOptional<z.ZodObject<{
|
|
@@ -160,12 +188,53 @@ export declare const commandPayloadSchemas: {
|
|
|
160
188
|
selectionScope: z.ZodLiteral<"execution">;
|
|
161
189
|
requestAuth: z.ZodOptional<z.ZodObject<{
|
|
162
190
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
191
|
+
apiKeyId: z.ZodOptional<z.ZodString>;
|
|
192
|
+
accountScope: z.ZodOptional<z.ZodString>;
|
|
163
193
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
164
194
|
}, z.core.$strict>>;
|
|
165
195
|
subagents: z.ZodOptional<z.ZodObject<{
|
|
166
196
|
foregroundModel: z.ZodLiteral<"submission">;
|
|
167
197
|
background: z.ZodLiteral<"deny">;
|
|
168
198
|
}, z.core.$strict>>;
|
|
199
|
+
selectionFallback: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
providerId: z.ZodString;
|
|
201
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
202
|
+
reason: z.ZodEnum<{
|
|
203
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
204
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
205
|
+
}>;
|
|
206
|
+
providerErrorCode: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strict>>;
|
|
208
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
providerId: z.ZodString;
|
|
210
|
+
modelId: z.ZodString;
|
|
211
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
212
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strict>>;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
}, z.core.$strict>>;
|
|
217
|
+
highspeedMeta: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
219
|
+
cardId: z.ZodString;
|
|
220
|
+
taskId: z.ZodString;
|
|
221
|
+
provider: z.ZodString;
|
|
222
|
+
model: z.ZodString;
|
|
223
|
+
issuedAt: z.ZodNumber;
|
|
224
|
+
expiresAt: z.ZodNumber;
|
|
225
|
+
regularTps: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
227
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
228
|
+
highspeedTps: z.ZodOptional<z.ZodNumber>;
|
|
229
|
+
savedDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
230
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
fallbackAt: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
235
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
236
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
237
|
+
}>>;
|
|
169
238
|
}, z.core.$strict>>;
|
|
170
239
|
automationId: z.ZodOptional<z.ZodString>;
|
|
171
240
|
offPeakTaskId: z.ZodOptional<z.ZodString>;
|
|
@@ -185,7 +254,129 @@ export declare const commandPayloadSchemas: {
|
|
|
185
254
|
private: "private";
|
|
186
255
|
group: "group";
|
|
187
256
|
}>;
|
|
257
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
188
259
|
}, z.core.$strict>>;
|
|
260
|
+
inputOrigin: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
desktop: "desktop";
|
|
262
|
+
mobile: "mobile";
|
|
263
|
+
}>>;
|
|
264
|
+
botGroupSource: z.ZodOptional<z.ZodObject<{
|
|
265
|
+
botIdentity: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
name: z.ZodString;
|
|
267
|
+
openId: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strict>>;
|
|
269
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
270
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
271
|
+
type: z.ZodLiteral<"text">;
|
|
272
|
+
text: z.ZodString;
|
|
273
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
274
|
+
type: z.ZodLiteral<"channelMention">;
|
|
275
|
+
refId: z.ZodString;
|
|
276
|
+
name: z.ZodString;
|
|
277
|
+
channel: z.ZodEnum<{
|
|
278
|
+
feishu: "feishu";
|
|
279
|
+
lark: "lark";
|
|
280
|
+
}>;
|
|
281
|
+
targetId: z.ZodString;
|
|
282
|
+
idType: z.ZodLiteral<"open_id">;
|
|
283
|
+
entityType: z.ZodEnum<{
|
|
284
|
+
unknown: "unknown";
|
|
285
|
+
user: "user";
|
|
286
|
+
bot: "bot";
|
|
287
|
+
}>;
|
|
288
|
+
}, z.core.$strict>]>>>;
|
|
289
|
+
authorizationId: z.ZodOptional<z.ZodString>;
|
|
290
|
+
botId: z.ZodString;
|
|
291
|
+
provider: z.ZodEnum<{
|
|
292
|
+
feishu: "feishu";
|
|
293
|
+
lark: "lark";
|
|
294
|
+
}>;
|
|
295
|
+
chatId: z.ZodString;
|
|
296
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
297
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
298
|
+
senderId: z.ZodString;
|
|
299
|
+
senderName: z.ZodString;
|
|
300
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
+
messageId: z.ZodString;
|
|
302
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
304
|
+
type: z.ZodLiteral<"text">;
|
|
305
|
+
text: z.ZodString;
|
|
306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
307
|
+
type: z.ZodLiteral<"channelMention">;
|
|
308
|
+
refId: z.ZodString;
|
|
309
|
+
name: z.ZodString;
|
|
310
|
+
channel: z.ZodEnum<{
|
|
311
|
+
feishu: "feishu";
|
|
312
|
+
lark: "lark";
|
|
313
|
+
}>;
|
|
314
|
+
targetId: z.ZodString;
|
|
315
|
+
idType: z.ZodLiteral<"open_id">;
|
|
316
|
+
entityType: z.ZodEnum<{
|
|
317
|
+
unknown: "unknown";
|
|
318
|
+
user: "user";
|
|
319
|
+
bot: "bot";
|
|
320
|
+
}>;
|
|
321
|
+
}, z.core.$strict>]>>>;
|
|
322
|
+
messageId: z.ZodString;
|
|
323
|
+
senderId: z.ZodString;
|
|
324
|
+
senderName: z.ZodString;
|
|
325
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
326
|
+
text: z.ZodString;
|
|
327
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
328
|
+
text: z.ZodString;
|
|
329
|
+
path: z.ZodOptional<z.ZodString>;
|
|
330
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
331
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
332
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
333
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, z.core.$strip>>>;
|
|
335
|
+
attachmentIndexes: z.ZodArray<z.ZodNumber>;
|
|
336
|
+
}, z.core.$strict>>>;
|
|
337
|
+
topicContext: z.ZodOptional<z.ZodObject<{
|
|
338
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
339
|
+
id: z.ZodString;
|
|
340
|
+
chatId: z.ZodString;
|
|
341
|
+
threadId: z.ZodString;
|
|
342
|
+
senderId: z.ZodString;
|
|
343
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
344
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
345
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
346
|
+
name: z.ZodString;
|
|
347
|
+
kind: z.ZodString;
|
|
348
|
+
}, z.core.$strict>>>;
|
|
349
|
+
senderType: z.ZodEnum<{
|
|
350
|
+
user: "user";
|
|
351
|
+
app: "app";
|
|
352
|
+
}>;
|
|
353
|
+
text: z.ZodString;
|
|
354
|
+
createdAt: z.ZodNumber;
|
|
355
|
+
kind: z.ZodString;
|
|
356
|
+
controlCard: z.ZodOptional<z.ZodBoolean>;
|
|
357
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
358
|
+
}, z.core.$strict>>;
|
|
359
|
+
checkpoint: z.ZodString;
|
|
360
|
+
hasGap: z.ZodBoolean;
|
|
361
|
+
}, z.core.$strict>>;
|
|
362
|
+
topicHistory: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
checkpoint: z.ZodString;
|
|
364
|
+
hasGap: z.ZodBoolean;
|
|
365
|
+
messageCount: z.ZodNumber;
|
|
366
|
+
resourceMessages: z.ZodArray<z.ZodObject<{
|
|
367
|
+
messageId: z.ZodString;
|
|
368
|
+
count: z.ZodNumber;
|
|
369
|
+
}, z.core.$strict>>;
|
|
370
|
+
}, z.core.$strict>>;
|
|
371
|
+
}, z.core.$strict>>;
|
|
372
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
373
|
+
text: z.ZodString;
|
|
374
|
+
path: z.ZodOptional<z.ZodString>;
|
|
375
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
376
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
377
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
378
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
379
|
+
}, z.core.$strip>>>;
|
|
189
380
|
toolDisallowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
190
381
|
}, z.core.$strip>;
|
|
191
382
|
readonly sendGoalCommand: z.ZodObject<{
|
|
@@ -200,9 +391,10 @@ export declare const commandPayloadSchemas: {
|
|
|
200
391
|
}, z.core.$strict>>;
|
|
201
392
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
202
393
|
plan: "plan";
|
|
203
|
-
yolo: "yolo";
|
|
204
|
-
edit: "edit";
|
|
205
394
|
build: "build";
|
|
395
|
+
edit: "edit";
|
|
396
|
+
yolo: "yolo";
|
|
397
|
+
guarded: "guarded";
|
|
206
398
|
}>>;
|
|
207
399
|
planEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
208
400
|
heldQueueDisposition: z.ZodOptional<z.ZodEnum<{
|
|
@@ -233,13 +425,86 @@ export declare const commandPayloadSchemas: {
|
|
|
233
425
|
entityId: z.ZodString;
|
|
234
426
|
}, z.core.$strict>;
|
|
235
427
|
newText: z.ZodString;
|
|
428
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
429
|
+
text: z.ZodString;
|
|
430
|
+
path: z.ZodOptional<z.ZodString>;
|
|
431
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
432
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
433
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
434
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
435
|
+
}, z.core.$strip>>>;
|
|
236
436
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
237
437
|
ref: z.ZodString;
|
|
238
438
|
fileName: z.ZodString;
|
|
239
439
|
mime: z.ZodString;
|
|
240
440
|
bytes: z.ZodNumber;
|
|
441
|
+
sourceKind: z.ZodOptional<z.ZodEnum<{
|
|
442
|
+
"clipboard-text": "clipboard-text";
|
|
443
|
+
"topic-history": "topic-history";
|
|
444
|
+
}>>;
|
|
445
|
+
messageCount: z.ZodOptional<z.ZodNumber>;
|
|
241
446
|
previewRef: z.ZodOptional<z.ZodString>;
|
|
242
447
|
}, z.core.$strict>>>;
|
|
448
|
+
modelSelection: z.ZodOptional<z.ZodObject<{
|
|
449
|
+
providerId: z.ZodString;
|
|
450
|
+
modelId: z.ZodString;
|
|
451
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
452
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
453
|
+
}, z.core.$strict>>;
|
|
454
|
+
}, z.core.$strict>>;
|
|
455
|
+
modelExecution: z.ZodOptional<z.ZodObject<{
|
|
456
|
+
memoryExtraction: z.ZodOptional<z.ZodLiteral<"skip">>;
|
|
457
|
+
selectionScope: z.ZodLiteral<"execution">;
|
|
458
|
+
requestAuth: z.ZodOptional<z.ZodObject<{
|
|
459
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
|
460
|
+
apiKeyId: z.ZodOptional<z.ZodString>;
|
|
461
|
+
accountScope: z.ZodOptional<z.ZodString>;
|
|
462
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
463
|
+
}, z.core.$strict>>;
|
|
464
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
465
|
+
foregroundModel: z.ZodLiteral<"submission">;
|
|
466
|
+
background: z.ZodLiteral<"deny">;
|
|
467
|
+
}, z.core.$strict>>;
|
|
468
|
+
selectionFallback: z.ZodOptional<z.ZodObject<{
|
|
469
|
+
providerId: z.ZodString;
|
|
470
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
471
|
+
reason: z.ZodEnum<{
|
|
472
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
473
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
474
|
+
}>;
|
|
475
|
+
providerErrorCode: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, z.core.$strict>>;
|
|
477
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
478
|
+
providerId: z.ZodString;
|
|
479
|
+
modelId: z.ZodString;
|
|
480
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
482
|
+
}, z.core.$strict>>;
|
|
483
|
+
}, z.core.$strict>>;
|
|
484
|
+
}, z.core.$strict>>;
|
|
485
|
+
}, z.core.$strict>>;
|
|
486
|
+
highspeedMeta: z.ZodOptional<z.ZodObject<{
|
|
487
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
488
|
+
cardId: z.ZodString;
|
|
489
|
+
taskId: z.ZodString;
|
|
490
|
+
provider: z.ZodString;
|
|
491
|
+
model: z.ZodString;
|
|
492
|
+
issuedAt: z.ZodNumber;
|
|
493
|
+
expiresAt: z.ZodNumber;
|
|
494
|
+
regularTps: z.ZodOptional<z.ZodNumber>;
|
|
495
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
496
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
497
|
+
highspeedTps: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
savedDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
499
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
500
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
501
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
502
|
+
fallbackAt: z.ZodOptional<z.ZodNumber>;
|
|
503
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
504
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
505
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
506
|
+
}>>;
|
|
507
|
+
}, z.core.$strict>>;
|
|
243
508
|
workspaceMode: z.ZodOptional<z.ZodEnum<{
|
|
244
509
|
rewind: "rewind";
|
|
245
510
|
preserve: "preserve";
|
|
@@ -261,8 +526,82 @@ export declare const commandPayloadSchemas: {
|
|
|
261
526
|
dislike: "dislike";
|
|
262
527
|
}>>;
|
|
263
528
|
}, z.core.$strip>;
|
|
529
|
+
readonly setHighspeedMetrics: z.ZodObject<{
|
|
530
|
+
target: z.ZodObject<{
|
|
531
|
+
rowId: z.ZodNumber;
|
|
532
|
+
entityId: z.ZodString;
|
|
533
|
+
}, z.core.$strict>;
|
|
534
|
+
regularTps: z.ZodNumber;
|
|
535
|
+
outputTokens: z.ZodNumber;
|
|
536
|
+
durationMs: z.ZodNumber;
|
|
537
|
+
highspeedTps: z.ZodNumber;
|
|
538
|
+
savedDurationMs: z.ZodNumber;
|
|
539
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
540
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
541
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
542
|
+
}, z.core.$strip>;
|
|
264
543
|
readonly sendQueuedNow: z.ZodObject<{
|
|
265
544
|
queueItemId: z.ZodString;
|
|
545
|
+
modelSelection: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
providerId: z.ZodString;
|
|
547
|
+
modelId: z.ZodString;
|
|
548
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
549
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
550
|
+
}, z.core.$strict>>;
|
|
551
|
+
}, z.core.$strict>>;
|
|
552
|
+
modelExecution: z.ZodOptional<z.ZodObject<{
|
|
553
|
+
memoryExtraction: z.ZodOptional<z.ZodLiteral<"skip">>;
|
|
554
|
+
selectionScope: z.ZodLiteral<"execution">;
|
|
555
|
+
requestAuth: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
apiKey: z.ZodOptional<z.ZodString>;
|
|
557
|
+
apiKeyId: z.ZodOptional<z.ZodString>;
|
|
558
|
+
accountScope: z.ZodOptional<z.ZodString>;
|
|
559
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
560
|
+
}, z.core.$strict>>;
|
|
561
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
562
|
+
foregroundModel: z.ZodLiteral<"submission">;
|
|
563
|
+
background: z.ZodLiteral<"deny">;
|
|
564
|
+
}, z.core.$strict>>;
|
|
565
|
+
selectionFallback: z.ZodOptional<z.ZodObject<{
|
|
566
|
+
providerId: z.ZodString;
|
|
567
|
+
rules: z.ZodArray<z.ZodObject<{
|
|
568
|
+
reason: z.ZodEnum<{
|
|
569
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
570
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
571
|
+
}>;
|
|
572
|
+
providerErrorCode: z.ZodOptional<z.ZodString>;
|
|
573
|
+
}, z.core.$strict>>;
|
|
574
|
+
target: z.ZodOptional<z.ZodObject<{
|
|
575
|
+
providerId: z.ZodString;
|
|
576
|
+
modelId: z.ZodString;
|
|
577
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
578
|
+
reasoningLevel: z.ZodOptional<z.ZodString>;
|
|
579
|
+
}, z.core.$strict>>;
|
|
580
|
+
}, z.core.$strict>>;
|
|
581
|
+
}, z.core.$strict>>;
|
|
582
|
+
}, z.core.$strict>>;
|
|
583
|
+
highspeedMeta: z.ZodOptional<z.ZodObject<{
|
|
584
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
585
|
+
cardId: z.ZodString;
|
|
586
|
+
taskId: z.ZodString;
|
|
587
|
+
provider: z.ZodString;
|
|
588
|
+
model: z.ZodString;
|
|
589
|
+
issuedAt: z.ZodNumber;
|
|
590
|
+
expiresAt: z.ZodNumber;
|
|
591
|
+
regularTps: z.ZodOptional<z.ZodNumber>;
|
|
592
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
593
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
594
|
+
highspeedTps: z.ZodOptional<z.ZodNumber>;
|
|
595
|
+
savedDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
596
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
598
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
599
|
+
fallbackAt: z.ZodOptional<z.ZodNumber>;
|
|
600
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
601
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
602
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
603
|
+
}>>;
|
|
604
|
+
}, z.core.$strict>>;
|
|
266
605
|
}, z.core.$strip>;
|
|
267
606
|
readonly editQueueItem: z.ZodObject<{
|
|
268
607
|
queueItemId: z.ZodString;
|
|
@@ -354,9 +693,10 @@ export declare const commandPayloadSchemas: {
|
|
|
354
693
|
readonly switchCollaborationMode: z.ZodObject<{
|
|
355
694
|
mode: z.ZodEnum<{
|
|
356
695
|
plan: "plan";
|
|
357
|
-
yolo: "yolo";
|
|
358
|
-
edit: "edit";
|
|
359
696
|
build: "build";
|
|
697
|
+
edit: "edit";
|
|
698
|
+
yolo: "yolo";
|
|
699
|
+
guarded: "guarded";
|
|
360
700
|
}>;
|
|
361
701
|
}, z.core.$strip>;
|
|
362
702
|
readonly setFollowupMode: z.ZodObject<{
|
|
@@ -400,10 +740,10 @@ export type CommandPayloadMap = {
|
|
|
400
740
|
[T in CommandType]: T extends "sendText" ? z.infer<(typeof commandPayloadSchemas)[T]> & import("../dcode-task-types-core.js").DCodeBackgroundTurnAttribution : z.infer<(typeof commandPayloadSchemas)[T]>;
|
|
401
741
|
};
|
|
402
742
|
export declare const commandTypeSchema: z.ZodEnum<{
|
|
403
|
-
stop: "stop";
|
|
404
743
|
compact: "compact";
|
|
405
744
|
sendText: "sendText";
|
|
406
745
|
sendGoalCommand: "sendGoalCommand";
|
|
746
|
+
stop: "stop";
|
|
407
747
|
switchModelConfig: "switchModelConfig";
|
|
408
748
|
setFollowupMode: "setFollowupMode";
|
|
409
749
|
sendQueuedNow: "sendQueuedNow";
|
|
@@ -416,6 +756,7 @@ export declare const commandTypeSchema: z.ZodEnum<{
|
|
|
416
756
|
editUserQuery: "editUserQuery";
|
|
417
757
|
retryTurn: "retryTurn";
|
|
418
758
|
setAssistantFeedback: "setAssistantFeedback";
|
|
759
|
+
setHighspeedMetrics: "setHighspeedMetrics";
|
|
419
760
|
editQueueItem: "editQueueItem";
|
|
420
761
|
reorderQueueItem: "reorderQueueItem";
|
|
421
762
|
deleteQueueItem: "deleteQueueItem";
|
|
@@ -435,17 +776,6 @@ export declare const commandTypeSchema: z.ZodEnum<{
|
|
|
435
776
|
deleteSession: "deleteSession";
|
|
436
777
|
discardSharedContext: "discardSharedContext";
|
|
437
778
|
}>;
|
|
438
|
-
export declare const savedWorkflowStartRejectionReasonSchema: z.ZodEnum<{
|
|
439
|
-
invalid_name: "invalid_name";
|
|
440
|
-
not_found: "not_found";
|
|
441
|
-
invalid_args: "invalid_args";
|
|
442
|
-
compile_failed: "compile_failed";
|
|
443
|
-
session_busy: "session_busy";
|
|
444
|
-
start_failed: "start_failed";
|
|
445
|
-
}>;
|
|
446
|
-
export type SavedWorkflowStartRejectionReason = z.infer<typeof savedWorkflowStartRejectionReasonSchema>;
|
|
447
|
-
export declare const SAVED_WORKFLOW_START_REJECTED_FAULT_PREFIX: "fault.command.savedWorkflowStartRejected.";
|
|
448
|
-
export declare const WORKFLOW_RUN_RESUME_REJECTED_FAULT_PREFIX: "fault.command.workflowRunResumeRejected.";
|
|
449
779
|
export declare const BACKGROUND_WORK_CANCEL_REJECTED_FAULT_PREFIX: "fault.command.backgroundWorkCancelRejected.";
|
|
450
780
|
export declare const COMMANDS_REQUIRING_BASE_REVISION: ReadonlySet<CommandType>;
|
|
451
781
|
export declare const ROW_TARGETING_COMMANDS: ReadonlySet<CommandType>;
|
|
@@ -460,10 +790,10 @@ export declare const commandEnvelopeSchema: z.ZodObject<{
|
|
|
460
790
|
baseRevision: z.ZodOptional<z.ZodNumber>;
|
|
461
791
|
baseLogEpoch: z.ZodOptional<z.ZodString>;
|
|
462
792
|
type: z.ZodEnum<{
|
|
463
|
-
stop: "stop";
|
|
464
793
|
compact: "compact";
|
|
465
794
|
sendText: "sendText";
|
|
466
795
|
sendGoalCommand: "sendGoalCommand";
|
|
796
|
+
stop: "stop";
|
|
467
797
|
switchModelConfig: "switchModelConfig";
|
|
468
798
|
setFollowupMode: "setFollowupMode";
|
|
469
799
|
sendQueuedNow: "sendQueuedNow";
|
|
@@ -476,6 +806,7 @@ export declare const commandEnvelopeSchema: z.ZodObject<{
|
|
|
476
806
|
editUserQuery: "editUserQuery";
|
|
477
807
|
retryTurn: "retryTurn";
|
|
478
808
|
setAssistantFeedback: "setAssistantFeedback";
|
|
809
|
+
setHighspeedMetrics: "setHighspeedMetrics";
|
|
479
810
|
editQueueItem: "editQueueItem";
|
|
480
811
|
reorderQueueItem: "reorderQueueItem";
|
|
481
812
|
deleteQueueItem: "deleteQueueItem";
|
|
@@ -642,9 +973,9 @@ export declare const commandAckSchema: z.ZodObject<{
|
|
|
642
973
|
status: z.ZodEnum<{
|
|
643
974
|
failed: "failed";
|
|
644
975
|
accepted: "accepted";
|
|
976
|
+
rejected: "rejected";
|
|
645
977
|
stale: "stale";
|
|
646
978
|
noop: "noop";
|
|
647
|
-
rejected: "rejected";
|
|
648
979
|
duplicate: "duplicate";
|
|
649
980
|
}>;
|
|
650
981
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
@@ -804,9 +1135,9 @@ export declare const commandQueryItemSchema: z.ZodObject<{
|
|
|
804
1135
|
status: z.ZodEnum<{
|
|
805
1136
|
failed: "failed";
|
|
806
1137
|
accepted: "accepted";
|
|
1138
|
+
rejected: "rejected";
|
|
807
1139
|
stale: "stale";
|
|
808
1140
|
noop: "noop";
|
|
809
|
-
rejected: "rejected";
|
|
810
1141
|
duplicate: "duplicate";
|
|
811
1142
|
}>;
|
|
812
1143
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
@@ -955,9 +1286,9 @@ export declare const commandsQueryResultSchema: z.ZodObject<{
|
|
|
955
1286
|
status: z.ZodEnum<{
|
|
956
1287
|
failed: "failed";
|
|
957
1288
|
accepted: "accepted";
|
|
1289
|
+
rejected: "rejected";
|
|
958
1290
|
stale: "stale";
|
|
959
1291
|
noop: "noop";
|
|
960
|
-
rejected: "rejected";
|
|
961
1292
|
duplicate: "duplicate";
|
|
962
1293
|
}>;
|
|
963
1294
|
reasonCode: z.ZodOptional<z.ZodString>;
|