@dipoleml/dcode-cli 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-NOTICES.md +1081 -12
- package/dist/dcode.cjs +59253 -45604
- 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
|
@@ -93,10 +93,10 @@ export declare const WorkflowAgentOptionsSchema: z.ZodObject<{
|
|
|
93
93
|
skills?: string[] | undefined;
|
|
94
94
|
timeoutMs?: number | undefined;
|
|
95
95
|
schema?: Record<string, unknown> | undefined;
|
|
96
|
+
systemPrompt?: string | undefined;
|
|
97
|
+
maxTurns?: number | undefined;
|
|
96
98
|
isolation?: "worktree" | undefined;
|
|
97
99
|
instructions?: string | undefined;
|
|
98
|
-
maxTurns?: number | undefined;
|
|
99
|
-
systemPrompt?: string | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
label?: string | undefined;
|
|
102
102
|
phase?: string | undefined;
|
|
@@ -106,10 +106,10 @@ export declare const WorkflowAgentOptionsSchema: z.ZodObject<{
|
|
|
106
106
|
skills?: string[] | undefined;
|
|
107
107
|
timeoutMs?: number | undefined;
|
|
108
108
|
schema?: Record<string, unknown> | undefined;
|
|
109
|
+
systemPrompt?: string | undefined;
|
|
110
|
+
maxTurns?: number | undefined;
|
|
109
111
|
isolation?: "worktree" | undefined;
|
|
110
112
|
instructions?: string | undefined;
|
|
111
|
-
maxTurns?: number | undefined;
|
|
112
|
-
systemPrompt?: string | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
export type WorkflowAgentOptions = z.infer<typeof WorkflowAgentOptionsSchema>;
|
|
115
115
|
export declare const WorkflowAgentCallInputSchema: z.ZodObject<{
|
|
@@ -137,10 +137,10 @@ export declare const WorkflowAgentCallInputSchema: z.ZodObject<{
|
|
|
137
137
|
skills?: string[] | undefined;
|
|
138
138
|
timeoutMs?: number | undefined;
|
|
139
139
|
schema?: Record<string, unknown> | undefined;
|
|
140
|
+
systemPrompt?: string | undefined;
|
|
141
|
+
maxTurns?: number | undefined;
|
|
140
142
|
isolation?: "worktree" | undefined;
|
|
141
143
|
instructions?: string | undefined;
|
|
142
|
-
maxTurns?: number | undefined;
|
|
143
|
-
systemPrompt?: string | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
label?: string | undefined;
|
|
146
146
|
phase?: string | undefined;
|
|
@@ -150,10 +150,10 @@ export declare const WorkflowAgentCallInputSchema: z.ZodObject<{
|
|
|
150
150
|
skills?: string[] | undefined;
|
|
151
151
|
timeoutMs?: number | undefined;
|
|
152
152
|
schema?: Record<string, unknown> | undefined;
|
|
153
|
+
systemPrompt?: string | undefined;
|
|
154
|
+
maxTurns?: number | undefined;
|
|
153
155
|
isolation?: "worktree" | undefined;
|
|
154
156
|
instructions?: string | undefined;
|
|
155
|
-
maxTurns?: number | undefined;
|
|
156
|
-
systemPrompt?: string | undefined;
|
|
157
157
|
}>>;
|
|
158
158
|
prompt: z.ZodString;
|
|
159
159
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -169,10 +169,10 @@ export declare const WorkflowAgentCallInputSchema: z.ZodObject<{
|
|
|
169
169
|
skills?: string[] | undefined;
|
|
170
170
|
timeoutMs?: number | undefined;
|
|
171
171
|
schema?: Record<string, unknown> | undefined;
|
|
172
|
+
systemPrompt?: string | undefined;
|
|
173
|
+
maxTurns?: number | undefined;
|
|
172
174
|
isolation?: "worktree" | undefined;
|
|
173
175
|
instructions?: string | undefined;
|
|
174
|
-
maxTurns?: number | undefined;
|
|
175
|
-
systemPrompt?: string | undefined;
|
|
176
176
|
} | undefined;
|
|
177
177
|
}, {
|
|
178
178
|
prompt: string;
|
|
@@ -187,10 +187,10 @@ export declare const WorkflowAgentCallInputSchema: z.ZodObject<{
|
|
|
187
187
|
skills?: string[] | undefined;
|
|
188
188
|
timeoutMs?: number | undefined;
|
|
189
189
|
schema?: Record<string, unknown> | undefined;
|
|
190
|
+
systemPrompt?: string | undefined;
|
|
191
|
+
maxTurns?: number | undefined;
|
|
190
192
|
isolation?: "worktree" | undefined;
|
|
191
193
|
instructions?: string | undefined;
|
|
192
|
-
maxTurns?: number | undefined;
|
|
193
|
-
systemPrompt?: string | undefined;
|
|
194
194
|
} | undefined;
|
|
195
195
|
}>;
|
|
196
196
|
export type WorkflowAgentCallInput = z.infer<typeof WorkflowAgentCallInputSchema>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { enUS } from "./locales/en-US.js";
|
|
2
|
-
import {
|
|
2
|
+
import { frCA } from "./locales/fr-CA.js";
|
|
3
3
|
import { DEFAULT_LOCALE, detectLocale, isSupportedLocale, isUiLocale, resolveLocale, SUPPORTED_LOCALES, } from "./locale.js";
|
|
4
4
|
export { DEFAULT_LOCALE, SUPPORTED_LOCALES, detectLocale, isSupportedLocale, isUiLocale, resolveLocale, };
|
|
5
5
|
const CATALOGS = {
|
|
6
6
|
"en-US": enUS,
|
|
7
|
-
"
|
|
7
|
+
"fr-CA": frCA,
|
|
8
8
|
};
|
|
9
9
|
export function getDCodeCopy(locale, detected) {
|
|
10
10
|
return CATALOGS[resolveLocale(locale, detected)];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SupportedLocale, UiLocale } from "@dcode/contracts";
|
|
2
2
|
export declare const DEFAULT_LOCALE: SupportedLocale;
|
|
3
|
-
export declare const SUPPORTED_LOCALES: readonly ["en-US", "
|
|
3
|
+
export declare const SUPPORTED_LOCALES: readonly ["en-US", "fr-CA"];
|
|
4
4
|
export interface LocaleDetectionInput {
|
|
5
5
|
env?: Record<string, string | undefined>;
|
|
6
6
|
intlLocale?: string | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const DEFAULT_LOCALE = "en-US";
|
|
2
|
-
export const SUPPORTED_LOCALES = ["en-US", "
|
|
2
|
+
export const SUPPORTED_LOCALES = ["en-US", "fr-CA"];
|
|
3
3
|
const LOCALE_ENV_KEYS = ["LC_ALL", "LC_MESSAGES", "LANG", "LANGUAGE"];
|
|
4
4
|
const LANGUAGE_LIST_SEPARATOR = ":";
|
|
5
5
|
const LOCALE_ENCODING_SEPARATOR = ".";
|
|
6
6
|
const LOCALE_MODIFIER_SEPARATOR = "@";
|
|
7
7
|
const NON_LANGUAGE_LOCALES = new Set(["c", "posix"]);
|
|
8
8
|
export function isSupportedLocale(value) {
|
|
9
|
-
return value === "en-US" || value === "
|
|
9
|
+
return value === "en-US" || value === "fr-CA";
|
|
10
10
|
}
|
|
11
11
|
export function isUiLocale(value) {
|
|
12
12
|
return value === "auto" || isSupportedLocale(value);
|
|
@@ -34,8 +34,8 @@ function normalizeLocale(value) {
|
|
|
34
34
|
const lower = tag.toLowerCase();
|
|
35
35
|
if (lower === "en" || lower.startsWith("en-"))
|
|
36
36
|
return "en-US";
|
|
37
|
-
if (lower === "
|
|
38
|
-
return "
|
|
37
|
+
if (lower === "fr" || lower.startsWith("fr-"))
|
|
38
|
+
return "fr-CA";
|
|
39
39
|
return undefined;
|
|
40
40
|
}
|
|
41
41
|
function* localeCandidates(input) {
|
|
@@ -26,7 +26,6 @@ Options:
|
|
|
26
26
|
-h, --help Show help
|
|
27
27
|
-v, --version Show version
|
|
28
28
|
-p, --prompt <text> Run a single prompt without opening the TUI
|
|
29
|
-
--enable-workflow Enable dynamic workflows for --prompt or --target (default: off)
|
|
30
29
|
--memory-bench With --prompt, enable automatic Memory extraction and wait before exiting (requires Memory enabled)
|
|
31
30
|
--browser-use <mode> Enable Browser Use backend (supported: headless)
|
|
32
31
|
--surface <surface> Presentation surface for headless prompts/app-server: terminal or desktop
|
|
@@ -38,11 +37,12 @@ Options:
|
|
|
38
37
|
Comma or space-separated tool names, e.g. "Bash Edit".
|
|
39
38
|
"Bash(git *)" removes all of Bash; command patterns are not matched.
|
|
40
39
|
--force-mcs Force mid-conversation system projection for Anthropic providers
|
|
41
|
-
--locale <locale> UI locale: en-US,
|
|
42
|
-
--mode <mode> Permission mode for prompts: build, edit, plan, or
|
|
40
|
+
--locale <locale> UI locale: en-US, fr-CA, or auto
|
|
41
|
+
--mode <mode> Permission mode for prompts: build, edit, plan, yolo, or guarded (default: yolo for --prompt)
|
|
43
42
|
--resume <sessionId> Resume a persisted session by sessionId (sess_...)
|
|
44
43
|
--target <text> Run or set the session goal in headless mode
|
|
45
44
|
--target-replace Replace any existing session goal set by --target
|
|
45
|
+
--workflow-mode <mode> Dynamic workflows for prompts/TUI: disabled, onDemand, or alwaysOn (default: disabled)
|
|
46
46
|
-c, --continue Resume the latest session for the current directory
|
|
47
47
|
--json Print machine-readable JSON where supported
|
|
48
48
|
--no-browser Print the OAuth URL without opening a browser
|
|
@@ -58,7 +58,7 @@ Slash Commands:
|
|
|
58
58
|
/dwf [list|cancel|resume] List, cancel, or resume dynamic workflow runs
|
|
59
59
|
/fork [latest|checkpointId] Fork a new session from a workspace checkpoint
|
|
60
60
|
/mcp [list|status|connect|disconnect] Show or manage MCP servers
|
|
61
|
-
/mode [mode] Show or switch permission mode: build, edit, plan, or
|
|
61
|
+
/mode [mode] Show or switch permission mode: build, edit, plan, yolo, or guarded
|
|
62
62
|
/model [id] Show or switch the current session model
|
|
63
63
|
/new Start a fresh session in the TUI
|
|
64
64
|
/resume [sessionId] Resume a session by sessionId; omit it for latest in cwd
|
|
@@ -163,7 +163,7 @@ Slash Commands:
|
|
|
163
163
|
unavailable: "Subagent output unavailable.",
|
|
164
164
|
retry: "Retry",
|
|
165
165
|
more: "Load more",
|
|
166
|
-
pendingMain: "Main conversation needs your input
|
|
166
|
+
pendingMain: "Main conversation needs your input, return to respond",
|
|
167
167
|
ended: (count) => `Ended (${count})`,
|
|
168
168
|
status: {
|
|
169
169
|
running: "running",
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
export const frCA = {
|
|
2
|
+
locale: "fr-CA",
|
|
3
|
+
cli: {
|
|
4
|
+
errors: {
|
|
5
|
+
localeUnsupported: (value) => `Valeur --locale non prise en charge : ${value}. Langues prises en charge : en-US, fr-CA, auto.`,
|
|
6
|
+
},
|
|
7
|
+
help: (version) => `dcode ${version}
|
|
8
|
+
|
|
9
|
+
Utilisation :
|
|
10
|
+
dcode [commande] [options]
|
|
11
|
+
|
|
12
|
+
Sans commande, dcode ouvre le TUI plein écran.
|
|
13
|
+
|
|
14
|
+
Commandes :
|
|
15
|
+
app-server Exécuter le serveur app stdio du DCode Protocol
|
|
16
|
+
commands Lister les commandes slash personnalisées (\`commands list\`)
|
|
17
|
+
doctor Vérifier les hypothèses d'exécution et d'empaquetage
|
|
18
|
+
login [dcode|bigmodel] Se connecter par autorisation navigateur
|
|
19
|
+
logout Supprimer les identifiants de connexion DipoleML partagés
|
|
20
|
+
plugins Gérer les plugins et les marchés (\`plugins list|install|uninstall|enable|disable|update|validate|marketplace ...\` ; alias : plugin)
|
|
21
|
+
skills Lister les skills locaux (\`skills list\`)
|
|
22
|
+
tui Ouvrir l'interface terminal
|
|
23
|
+
version Afficher la version de la CLI
|
|
24
|
+
|
|
25
|
+
Options :
|
|
26
|
+
-h, --help Afficher l'aide
|
|
27
|
+
-v, --version Afficher la version
|
|
28
|
+
-p, --prompt <texte> Exécuter un prompt unique sans ouvrir le TUI
|
|
29
|
+
--enable-workflow Activer les workflows dynamiques pour --prompt ou --target (désactivé par défaut)
|
|
30
|
+
--memory-bench Avec --prompt, activer l'extraction Memory automatique et attendre avant de quitter (Memory doit être activé)
|
|
31
|
+
--browser-use <mode> Activer le backend Browser Use (pris en charge : headless)
|
|
32
|
+
--surface <surface> Surface de présentation des prompts/app-server headless : terminal ou desktop
|
|
33
|
+
--browser-executable <chemin> Exécutable Chrome/Chromium pour Browser Use headless
|
|
34
|
+
--attach <chemin> Joindre un fichier local à --prompt ; répéter pour plusieurs fichiers
|
|
35
|
+
--cwd <chemin> Exécuter la commande depuis le répertoire indiqué
|
|
36
|
+
--disallowed-tools, --disallowedTools <outils...>
|
|
37
|
+
Retirer des outils entiers de l'ensemble disponible pour ce prompt/cette session TUI ; les réglages enregistrés ne changent pas.
|
|
38
|
+
Noms d'outils séparés par des virgules ou des espaces, p. ex. "Bash Edit".
|
|
39
|
+
"Bash(git *)" retire tout l'outil Bash ; le contenu des commandes n'est pas filtré.
|
|
40
|
+
--force-mcs Forcer la projection system en cours de conversation pour les fournisseurs Anthropic
|
|
41
|
+
--locale <locale> Langue de l'UI : en-US, fr-CA ou auto
|
|
42
|
+
--mode <mode> Mode de permission des prompts : build, edit, plan, yolo ou guarded (par défaut : yolo pour --prompt)
|
|
43
|
+
--resume <sessionId> Reprendre une session persistée par sessionId (sess_...)
|
|
44
|
+
--target <texte> Exécuter ou définir l'objectif de session en mode headless
|
|
45
|
+
--target-replace Remplacer tout objectif de session existant défini par --target
|
|
46
|
+
--workflow-mode <mode> Workflows dynamiques pour prompts/TUI : disabled, onDemand ou alwaysOn (par défaut : disabled)
|
|
47
|
+
-c, --continue Reprendre la session la plus récente du répertoire courant
|
|
48
|
+
--json Afficher un JSON lisible par machine là où c'est pris en charge
|
|
49
|
+
--no-browser Afficher l'URL OAuth sans ouvrir de navigateur
|
|
50
|
+
--no-color Désactiver les couleurs ANSI
|
|
51
|
+
--verbose Afficher plus de détails de diagnostic
|
|
52
|
+
|
|
53
|
+
Commandes slash :
|
|
54
|
+
/help [commande] Afficher l'aide des commandes slash
|
|
55
|
+
/login Choisir la connexion navigateur DipoleML ou BigModel
|
|
56
|
+
/logout Supprimer les identifiants de connexion DipoleML partagés
|
|
57
|
+
/compact [instructions] Compacter la conversation en cours
|
|
58
|
+
/expert [status|resume|stop|<tâche>] Exécuter ou gérer le workflow expert
|
|
59
|
+
/dwf [list|cancel|resume] Lister, annuler ou reprendre les runs de workflow dynamiques
|
|
60
|
+
/fork [latest|checkpointId] Forquer une nouvelle session depuis un checkpoint d'espace de travail
|
|
61
|
+
/mcp [list|status|connect|disconnect] Afficher ou gérer les serveurs MCP
|
|
62
|
+
/mode [mode] Afficher ou changer le mode de permission : build, edit, plan, yolo ou guarded
|
|
63
|
+
/model [id] Afficher ou changer le modèle de la session en cours
|
|
64
|
+
/new Démarrer une nouvelle session dans le TUI
|
|
65
|
+
/resume [sessionId] Reprendre une session par sessionId ; sans argument, la plus récente du cwd
|
|
66
|
+
/rewind [latest|checkpointId] Afficher le dernier checkpoint ou restaurer des fichiers de l'espace de travail
|
|
67
|
+
/skill [nom] [tâche] Lister les skills, ou forcer le prochain prompt à en charger un
|
|
68
|
+
/goal [action] Afficher ou définir l'objectif de la session en cours
|
|
69
|
+
`,
|
|
70
|
+
},
|
|
71
|
+
tui: {
|
|
72
|
+
copy: {
|
|
73
|
+
copied: "Texte sélectionné copié dans le presse-papiers.",
|
|
74
|
+
failed: "Impossible de copier le texte sélectionné.",
|
|
75
|
+
unavailable: "La copie presse-papiers de texte n'est pas disponible dans ce terminal.",
|
|
76
|
+
},
|
|
77
|
+
effort: {
|
|
78
|
+
disabled: "désactivé",
|
|
79
|
+
enabled: "activé",
|
|
80
|
+
},
|
|
81
|
+
input: {
|
|
82
|
+
activeStatusHint: "esc pour interrompre",
|
|
83
|
+
busyPlaceholder: "Saisissez pour mettre en file",
|
|
84
|
+
placeholder: "Saisissez un prompt",
|
|
85
|
+
queuedMore: (count) => `+ ${count} en file`,
|
|
86
|
+
queuedSubmitHint: "Soumis après le prochain appel d'outil.",
|
|
87
|
+
queuedTitle: (count) => ` File (${count}) `,
|
|
88
|
+
title: "Entrée",
|
|
89
|
+
noHistorySource: "Aucune source d'historique d'entrée n'est configurée.",
|
|
90
|
+
noPreviousInput: "Aucune entrée précédente pour ce projet.",
|
|
91
|
+
restoredPreviousInput: "Entrée précédente restaurée.",
|
|
92
|
+
restoredPreviousInputWithAttachments: (count) => `Entrée précédente restaurée avec ${count} pièce(s) jointe(s).`,
|
|
93
|
+
restorePreviousInputFailed: "Impossible de restaurer l'entrée précédente.",
|
|
94
|
+
typePrompt: "Posez votre question puis appuyez sur Entrée.",
|
|
95
|
+
},
|
|
96
|
+
loginRequired: {
|
|
97
|
+
help: "Utilisez /model pour voir les modèles, ou /login pour connecter un compte Coding Plan.",
|
|
98
|
+
message: "Aucun modèle disponible. Configurez un fournisseur ou connectez-vous avec /login.",
|
|
99
|
+
status: "Aucun modèle disponible. Configurez un fournisseur ou connectez-vous avec /login.",
|
|
100
|
+
title: "configuration de modèle requise",
|
|
101
|
+
},
|
|
102
|
+
loginSetup: {
|
|
103
|
+
emptyMessage: "Aucune option de connexion disponible.",
|
|
104
|
+
help: "Haut/Bas pour choisir, Entrée pour valider.",
|
|
105
|
+
options: {
|
|
106
|
+
bigmodelApiKey: {
|
|
107
|
+
inputPrimary: "Saisir la clé API BigModel Coding Plan",
|
|
108
|
+
inputSecondary: "Collez la clé ici. Elle est masquée pendant la saisie.",
|
|
109
|
+
primary: "Clé API BigModel Coding Plan",
|
|
110
|
+
secondary: "Coller manuellement une clé API Coding Plan.",
|
|
111
|
+
},
|
|
112
|
+
bigmodelOauth: {
|
|
113
|
+
pendingPrimary: "En attente de l'autorisation BigModel",
|
|
114
|
+
pendingSecondary: "Terminez la connexion dans votre navigateur. L'autorisation est détectée automatiquement.",
|
|
115
|
+
primary: "BigModel Coding Plan",
|
|
116
|
+
secondary: "Ouvrir la connexion navigateur ; l'autorisation est détectée automatiquement.",
|
|
117
|
+
},
|
|
118
|
+
dcodeApiKey: {
|
|
119
|
+
inputPrimary: "Saisir la clé API DipoleML Coding Plan",
|
|
120
|
+
inputSecondary: "Collez la clé ici. Elle est masquée pendant la saisie.",
|
|
121
|
+
primary: "Clé API DipoleML Coding Plan",
|
|
122
|
+
secondary: "Coller manuellement une clé API Coding Plan.",
|
|
123
|
+
},
|
|
124
|
+
dcodeOauth: {
|
|
125
|
+
pendingPrimary: "En attente de l'autorisation DipoleML",
|
|
126
|
+
pendingSecondary: "Terminez la connexion dans votre navigateur. La configuration se poursuit dès que l'autorisation aboutit.",
|
|
127
|
+
primary: "DipoleML Coding Plan",
|
|
128
|
+
secondary: "Ouvrir la connexion navigateur et créer une clé API Coding Plan.",
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
pending: {
|
|
132
|
+
cancelStatus: "Connexion annulée. Choisissez une méthode de configuration.",
|
|
133
|
+
help: "Échap annule et revient au choix de la méthode.",
|
|
134
|
+
status: "En attente de l'autorisation navigateur...",
|
|
135
|
+
},
|
|
136
|
+
input: {
|
|
137
|
+
cancelStatus: "Saisie de la clé API annulée. Choisissez une méthode de configuration.",
|
|
138
|
+
clearStatus: "Saisie de la clé API effacée.",
|
|
139
|
+
emptyStatus: "La clé API est requise.",
|
|
140
|
+
help: "Entrée enregistre la clé. Échap revient au choix de la méthode.",
|
|
141
|
+
placeholder: "Coller la clé API",
|
|
142
|
+
status: "Saisissez la clé API puis appuyez sur Entrée.",
|
|
143
|
+
submitStatus: "Enregistrement de la clé API...",
|
|
144
|
+
},
|
|
145
|
+
prompt: "Choisissez une méthode de connexion ou de clé API.",
|
|
146
|
+
response: "Choisissez comment configurer un fournisseur Coding Plan.",
|
|
147
|
+
title: "Configurer Coding Plan",
|
|
148
|
+
},
|
|
149
|
+
model: {
|
|
150
|
+
requestFailed: (message) => `Échec de la requête au modèle : ${message}`,
|
|
151
|
+
responseReceived: "Réponse du modèle reçue.",
|
|
152
|
+
responseReceivedWithTokens: (tokens) => `Réponse du modèle reçue. ${tokens} tokens.`,
|
|
153
|
+
retryScheduled: ({ attempt, delay, maxAttempts, reason }) => `Nouvelle tentative de requête au modèle ${attempt}/${Math.max(1, maxAttempts - 1)} dans ${delay} : ${reason}`,
|
|
154
|
+
streamStalled: "Le flux du modèle s'est figé.",
|
|
155
|
+
},
|
|
156
|
+
sidebar: {
|
|
157
|
+
subagents: {
|
|
158
|
+
title: "Sous-agents",
|
|
159
|
+
empty: "Aucun sous-agent pour l'instant.",
|
|
160
|
+
emptyOutput: "Aucune sortie pour l'instant.",
|
|
161
|
+
back: "← Conversation principale",
|
|
162
|
+
readonly: "Lecture seule · Échap pour revenir",
|
|
163
|
+
loading: "Chargement de la sortie des sous-agents...",
|
|
164
|
+
unavailable: "Sortie des sous-agents indisponible.",
|
|
165
|
+
retry: "Réessayer",
|
|
166
|
+
more: "Charger plus",
|
|
167
|
+
pendingMain: "La conversation principale attend votre saisie. Revenez pour répondre",
|
|
168
|
+
ended: (count) => `Terminés (${count})`,
|
|
169
|
+
status: {
|
|
170
|
+
running: "en cours",
|
|
171
|
+
waiting: "en attente",
|
|
172
|
+
blocked: "bloqué",
|
|
173
|
+
success: "terminé",
|
|
174
|
+
failed: "échoué",
|
|
175
|
+
cancelled: "annulé",
|
|
176
|
+
lost: "perdu",
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
api: {
|
|
180
|
+
empty: "Aucun appel API pour l'instant.",
|
|
181
|
+
model: "Modèle",
|
|
182
|
+
more: (count) => `+${count} autres`,
|
|
183
|
+
requests: "Requêtes",
|
|
184
|
+
server: "Serveur",
|
|
185
|
+
},
|
|
186
|
+
cache: {
|
|
187
|
+
hit: "succès",
|
|
188
|
+
lastHit: "dernier succès",
|
|
189
|
+
lastMiss: "dernier échec",
|
|
190
|
+
readWrite: ({ read, write }) => `${read} lecture / ${write} écriture`,
|
|
191
|
+
total: "total",
|
|
192
|
+
},
|
|
193
|
+
context: {
|
|
194
|
+
cache: "Cache",
|
|
195
|
+
cacheReadWrite: "Cache L/E",
|
|
196
|
+
inputOutput: "E/S",
|
|
197
|
+
reason: "Raisonnement",
|
|
198
|
+
tokens: "Tokens",
|
|
199
|
+
used: "Utilisé",
|
|
200
|
+
window: "Fenêtre",
|
|
201
|
+
},
|
|
202
|
+
modifiedFiles: {
|
|
203
|
+
empty: "Aucun changement de fichier pour l'instant.",
|
|
204
|
+
more: (count) => `+${count} autres`,
|
|
205
|
+
},
|
|
206
|
+
mcp: {
|
|
207
|
+
empty: "Aucun serveur MCP configuré.",
|
|
208
|
+
loadFailed: "État MCP indisponible.",
|
|
209
|
+
loading: "Chargement de l'état MCP...",
|
|
210
|
+
more: (count) => `+${count} autres`,
|
|
211
|
+
servers: "Serveurs",
|
|
212
|
+
status: {
|
|
213
|
+
connected: "connecté",
|
|
214
|
+
connecting: "connexion",
|
|
215
|
+
disabled: "désactivé",
|
|
216
|
+
disconnected: "déconnecté",
|
|
217
|
+
failed: "échec",
|
|
218
|
+
untrusted: "non approuvé",
|
|
219
|
+
},
|
|
220
|
+
summary: ({ connected, total }) => `${connected}/${total} connectés`,
|
|
221
|
+
tools: (count) => `${count} outil${count === 1 ? "" : "s"}`,
|
|
222
|
+
},
|
|
223
|
+
request: {
|
|
224
|
+
complete: "terminé",
|
|
225
|
+
error: "erreur",
|
|
226
|
+
errorWithStatus: (statusCode) => `erreur ${statusCode}`,
|
|
227
|
+
pending: "en attente",
|
|
228
|
+
},
|
|
229
|
+
status: {
|
|
230
|
+
last: "Dernier",
|
|
231
|
+
},
|
|
232
|
+
run: {
|
|
233
|
+
draft: "Brouillon",
|
|
234
|
+
draftChars: (count) => `${count} caractères`,
|
|
235
|
+
draftEmpty: "vide",
|
|
236
|
+
messages: "Messages",
|
|
237
|
+
mode: "Mode",
|
|
238
|
+
model: "Modèle",
|
|
239
|
+
provider: "Fournisseur",
|
|
240
|
+
thought: "Réflexion",
|
|
241
|
+
trace: "Trace",
|
|
242
|
+
turn: "Tour",
|
|
243
|
+
workspace: "Espace de travail",
|
|
244
|
+
},
|
|
245
|
+
sections: {
|
|
246
|
+
apis: "API",
|
|
247
|
+
context: "Contexte",
|
|
248
|
+
mcp: "MCP",
|
|
249
|
+
modifiedFiles: "Fichiers modifiés",
|
|
250
|
+
run: "Exécution",
|
|
251
|
+
status: "État",
|
|
252
|
+
todos: "Todos",
|
|
253
|
+
},
|
|
254
|
+
shellSubtitle: "Terminal OpenTUI",
|
|
255
|
+
title: "Panneau latéral",
|
|
256
|
+
todos: {
|
|
257
|
+
empty: "Aucun todo pour l'instant.",
|
|
258
|
+
more: (count) => `+${count} autres`,
|
|
259
|
+
progress: "Progression",
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
status: {
|
|
263
|
+
compactFailed: "Échec de la compression du contexte.",
|
|
264
|
+
compacted: "Conversation compactée.",
|
|
265
|
+
compacting: "Compression du contexte...",
|
|
266
|
+
interruptedStreamDiscarded: "Flux du modèle interrompu et abandonné.",
|
|
267
|
+
modelCalling: "Appel du modèle...",
|
|
268
|
+
permissionRequested: (toolName) => `Permission demandée pour ${toolName}.`,
|
|
269
|
+
permissionResolved: (toolName) => `Permission traitée pour ${toolName}.`,
|
|
270
|
+
ready: "Prêt.",
|
|
271
|
+
recoveringStream: "Récupération du flux du modèle interrompu...",
|
|
272
|
+
retryingStream: "Nouvelle tentative du flux du modèle...",
|
|
273
|
+
sessionResumed: "Session reprise.",
|
|
274
|
+
targetChanged: (action) => `Objectif ${action}.`,
|
|
275
|
+
thinking: "Réflexion...",
|
|
276
|
+
toolCompleted: (toolName) => `Outil ${toolName} terminé.`,
|
|
277
|
+
toolFailed: (toolName) => `Outil ${toolName} en échec.`,
|
|
278
|
+
toolPending: (toolName) => `Outil ${toolName} en attente.`,
|
|
279
|
+
toolRunning: (toolName) => `Outil ${toolName} en cours.`,
|
|
280
|
+
turnFailed: "Échec de ce tour.",
|
|
281
|
+
},
|
|
282
|
+
terminal: {
|
|
283
|
+
starting: "Démarrage de DCode... Ctrl+C pour quitter",
|
|
284
|
+
requiresInteractive: "Le TUI exige un terminal interactif.",
|
|
285
|
+
},
|
|
286
|
+
transcript: {
|
|
287
|
+
compact: {
|
|
288
|
+
completed: "Contexte compacté",
|
|
289
|
+
failed: "Échec de la compression du contexte",
|
|
290
|
+
interrupted: "Compression du contexte interrompue",
|
|
291
|
+
retry: (command) => `Ctrl-R pour réessayer ${command}`,
|
|
292
|
+
retrying: ({ attempt, maxAttempts }) => maxAttempts > 0
|
|
293
|
+
? `Nouvelle tentative de compression du contexte (${attempt}/${maxAttempts})`
|
|
294
|
+
: "Nouvelle tentative de compression du contexte",
|
|
295
|
+
skipped: "Le contexte est à jour ; aucune compression nécessaire",
|
|
296
|
+
started: "Compression du contexte",
|
|
297
|
+
},
|
|
298
|
+
roles: {
|
|
299
|
+
agent: "Agent",
|
|
300
|
+
system: "System",
|
|
301
|
+
user: "User",
|
|
302
|
+
},
|
|
303
|
+
thought: {
|
|
304
|
+
complete: "Réflexion",
|
|
305
|
+
thinking: "Réflexion...",
|
|
306
|
+
},
|
|
307
|
+
title: "Transcription",
|
|
308
|
+
workflow: {
|
|
309
|
+
actors: "actors :",
|
|
310
|
+
actorRow: ({ name, status }) => `${name} - ${status}`,
|
|
311
|
+
usage: ({ spentTokens }) => `utilisation : ${spentTokens} tokens`,
|
|
312
|
+
collapsed: ({ label, status, nodesSettled, nodesTotal }) => `Workflow ${label} - ${status} (${nodesSettled}/${nodesTotal} étapes)`,
|
|
313
|
+
error: (message) => `erreur : ${message}`,
|
|
314
|
+
expandHint: "+ pour déplier",
|
|
315
|
+
collapseHint: "- pour replier",
|
|
316
|
+
log: "journal :",
|
|
317
|
+
nodes: ({ nodesSettled, nodesTotal }) => `${nodesSettled}/${nodesTotal} étapes réglées`,
|
|
318
|
+
result: (preview) => `résultat : ${preview}`,
|
|
319
|
+
status: {
|
|
320
|
+
completed: "terminé",
|
|
321
|
+
errored: "en erreur",
|
|
322
|
+
pending: "en attente",
|
|
323
|
+
running: "en cours",
|
|
324
|
+
stopped: "arrêté",
|
|
325
|
+
},
|
|
326
|
+
stopReason: {
|
|
327
|
+
user: "par vous",
|
|
328
|
+
model: "par l'agent",
|
|
329
|
+
provider: "erreur du modèle",
|
|
330
|
+
interrupted: "processus terminé",
|
|
331
|
+
superseded: "remplacé par un run amendé",
|
|
332
|
+
},
|
|
333
|
+
truncated: "(tronqué - l'historique complet est dans le journal du run)",
|
|
334
|
+
interruptedNotice: ({ label, runId }) => `Le workflow ${label} a été interrompu et peut être repris : /dwf resume ${runId}`,
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
selection: {
|
|
338
|
+
defaultHelp: "Entrée sélectionne, Échap annule",
|
|
339
|
+
disabled: (reason) => ` [désactivé : ${reason}]`,
|
|
340
|
+
filterLine: ({ filter, help }) => `filtre : ${filter || "-"} | ${help ?? "Entrée sélectionne, Échap annule"}`,
|
|
341
|
+
noFilter: "-",
|
|
342
|
+
},
|
|
343
|
+
fileMention: {
|
|
344
|
+
empty: "Aucun chemin d'espace de travail correspondant.",
|
|
345
|
+
loading: "Chargement des chemins de l'espace de travail...",
|
|
346
|
+
row: ({ path, selected }) => `${selected ? ">" : " "} ${path}`,
|
|
347
|
+
title: "Fichiers",
|
|
348
|
+
},
|
|
349
|
+
slash: {
|
|
350
|
+
title: "Commandes",
|
|
351
|
+
row: ({ name, selected, summary }) => `${selected ? ">" : " "} /${name} ${summary}`,
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Key 的创建用途;独立于 keyType,不包含仅供存量映射/缓存哨兵的 3 和 -1。 */
|
|
2
|
+
export declare const API_KEY_USAGE_SCENE: {
|
|
3
|
+
readonly CODING_PLAN: 1;
|
|
4
|
+
readonly STANDARD: 2;
|
|
5
|
+
};
|
|
6
|
+
export type ApiKeyCreationUsageScene = (typeof API_KEY_USAGE_SCENE)[keyof typeof API_KEY_USAGE_SCENE];
|
|
7
|
+
//# sourceMappingURL=api-key-usage-scene.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** 文本材料只传递文件引用,不能因跨端上传而退回自动全文注入。 */
|
|
3
|
+
export declare const attachmentSourceKindSchema: z.ZodEnum<{
|
|
4
|
+
"clipboard-text": "clipboard-text";
|
|
5
|
+
"topic-history": "topic-history";
|
|
6
|
+
}>;
|
|
7
|
+
export type AttachmentSourceKind = z.infer<typeof attachmentSourceKindSchema>;
|
|
8
|
+
//# sourceMappingURL=attachment-source.d.ts.map
|
|
@@ -5,11 +5,11 @@ export declare const backgroundBashOutputSchema: z.ZodObject<{
|
|
|
5
5
|
kind: z.ZodLiteral<"output">;
|
|
6
6
|
workId: z.ZodString;
|
|
7
7
|
status: z.ZodEnum<{
|
|
8
|
+
failed: "failed";
|
|
8
9
|
running: "running";
|
|
10
|
+
cancelled: "cancelled";
|
|
9
11
|
completed: "completed";
|
|
10
|
-
failed: "failed";
|
|
11
12
|
spawn_error: "spawn_error";
|
|
12
|
-
cancelled: "cancelled";
|
|
13
13
|
timed_out: "timed_out";
|
|
14
14
|
}>;
|
|
15
15
|
output: z.ZodString;
|
|
@@ -20,11 +20,11 @@ export declare const backgroundBashOutputResultSchema: z.ZodUnion<readonly [z.Zo
|
|
|
20
20
|
kind: z.ZodLiteral<"output">;
|
|
21
21
|
workId: z.ZodString;
|
|
22
22
|
status: z.ZodEnum<{
|
|
23
|
+
failed: "failed";
|
|
23
24
|
running: "running";
|
|
25
|
+
cancelled: "cancelled";
|
|
24
26
|
completed: "completed";
|
|
25
|
-
failed: "failed";
|
|
26
27
|
spawn_error: "spawn_error";
|
|
27
|
-
cancelled: "cancelled";
|
|
28
28
|
timed_out: "timed_out";
|
|
29
29
|
}>;
|
|
30
30
|
output: z.ZodString;
|