@dipoleml/dcode-cli 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-NOTICES.md +1081 -12
- package/dist/dcode.cjs +59155 -45279
- package/dist/packages/browser-use-plugin/README.md +12 -12
- package/dist/packages/browser-use-plugin/docs/api.json +1 -1
- package/dist/packages/browser-use-plugin/docs/overview.md +5 -4
- package/dist/packages/browser-use-plugin/docs/workflow.md +1 -1
- package/dist/packages/browser-use-plugin/scripts/build.mjs +1 -0
- package/dist/packages/browser-use-plugin/skills/control-browser/SKILL.md +10 -7
- package/dist/packages/bundled-skills/skills/dynamic-workflows/SKILL.md +760 -687
- package/dist/packages/bundled-skills/skills/dynamic-workflows/examples.md +310 -1
- package/dist/packages/bundled-skills/skills/dynamic-workflows/patterns.md +336 -4
- package/dist/packages/node-repl-host/.dcode-plugin/plugin.json +1 -1
- package/dist/packages/node-repl-host/dist/mcp/server.js +9 -14
- package/dist/packages/node-repl-host/scripts/build.mjs +1 -0
- package/dist/provider/dcode-builtin.json +6544 -183
- package/node_modules/@dcode/contracts/dist/compact/index.d.ts +7 -7
- package/node_modules/@dcode/contracts/dist/config/index.d.ts +1 -1
- package/node_modules/@dcode/contracts/dist/events/event-reducer.js +1 -0
- package/node_modules/@dcode/contracts/dist/events/in-memory-session-event-store.js +3 -2
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.d.ts +8 -0
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.js +18 -0
- package/node_modules/@dcode/contracts/dist/events/session.events.d.ts +94 -16
- package/node_modules/@dcode/contracts/dist/events/session.events.js +10 -0
- package/node_modules/@dcode/contracts/dist/hooks/index.d.ts +134 -134
- package/node_modules/@dcode/contracts/dist/hooks/workspace-hook-trust.d.ts +14 -14
- package/node_modules/@dcode/contracts/dist/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/index.js +2 -0
- package/node_modules/@dcode/contracts/dist/interfaces/browser-control.port.d.ts +22 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.d.ts +92 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.js +9 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.js +7 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-workspace.port.js +8 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.d.ts +119 -18
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.js +13 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.d.ts +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.d.ts +161 -1
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.js +17 -0
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.d.ts +15 -15
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.js +1 -1
- package/node_modules/@dcode/contracts/dist/interfaces/permission.port.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.d.ts +19 -0
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.d.ts +4 -2
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.js +5 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.d.ts +92 -3
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.js +4 -1
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.d.ts +25 -0
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/model/index.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/model/index.js +5 -0
- package/node_modules/@dcode/contracts/dist/model/invocation-context.d.ts +6 -1
- package/node_modules/@dcode/contracts/dist/plugins/index.d.ts +23 -0
- package/node_modules/@dcode/contracts/dist/plugins/index.js +2 -1
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.js +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/index.d.ts +5 -1
- package/node_modules/@dcode/contracts/dist/telemetry/index.js +12 -0
- package/node_modules/@dcode/contracts/dist/tools/agent.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.d.ts +39 -15
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.js +12 -6
- package/node_modules/@dcode/contracts/dist/tools/automation.d.ts +32 -32
- package/node_modules/@dcode/contracts/dist/tools/automation.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/bash.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/bash.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.d.ts +365 -66
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.js +92 -11
- package/node_modules/@dcode/contracts/dist/tools/edit.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.js +5 -1
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.d.ts +729 -0
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.js +102 -0
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.d.ts +136 -28
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.js +36 -0
- package/node_modules/@dcode/contracts/dist/tools/grep.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/grep.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/tools/index.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/list-saved-workflows.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/list-workflow-runs.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/node-repl.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/off-peak.d.ts +3 -3
- package/node_modules/@dcode/contracts/dist/tools/off-peak.js +2 -2
- package/node_modules/@dcode/contracts/dist/tools/performance.d.ts +22 -22
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.js +6 -4
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.d.ts +86 -13
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.js +37 -6
- package/node_modules/@dcode/contracts/dist/tools/read.d.ts +38 -38
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.d.ts +21 -10
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.js +22 -2
- package/node_modules/@dcode/contracts/dist/tools/saved-workflow.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/send-message.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/skill.js +1 -0
- package/node_modules/@dcode/contracts/dist/tools/task-output.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.d.ts +1228 -259
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.js +41 -0
- package/node_modules/@dcode/contracts/dist/tools/webfetch.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/workflow-observation-display.d.ts +20 -20
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.d.ts +55 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.js +86 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/write.d.ts +18 -18
- package/node_modules/@dcode/contracts/dist/workflow/index.d.ts +98 -98
- package/node_modules/@dcode/contracts/dist/workflow/script.d.ts +12 -12
- package/node_modules/@dcode/i18n/dist/index.js +2 -2
- package/node_modules/@dcode/i18n/dist/locale.d.ts +1 -1
- package/node_modules/@dcode/i18n/dist/locale.js +4 -4
- package/node_modules/@dcode/i18n/dist/locales/en-US.js +5 -5
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.d.ts +3 -0
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.js +354 -0
- package/node_modules/@dcode/model-option-map/package.json +1 -1
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.js +6 -0
- package/node_modules/@dcode/shared/dist/attachment-source.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/attachment-source.js +4 -0
- package/node_modules/@dcode/shared/dist/background-bash-output.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/bots.d.ts +759 -11
- package/node_modules/@dcode/shared/dist/bots.js +236 -2
- package/node_modules/@dcode/shared/dist/browser-use/command-metadata.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/browser-use/commands.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/browser-use/commands.js +3 -1
- package/node_modules/@dcode/shared/dist/browser-use/nodeReplBroker.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/browser-use/result.d.ts +6 -6
- package/node_modules/@dcode/shared/dist/channel-mention.d.ts +173 -0
- package/node_modules/@dcode/shared/dist/channel-mention.js +120 -0
- package/node_modules/@dcode/shared/dist/channels.d.ts +128 -1
- package/node_modules/@dcode/shared/dist/channels.js +66 -0
- package/node_modules/@dcode/shared/dist/clientConfig.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/clientConfig.js +18 -2
- package/node_modules/@dcode/shared/dist/cloudContent.d.ts +160 -0
- package/node_modules/@dcode/shared/dist/cloudContent.js +116 -0
- package/node_modules/@dcode/shared/dist/coding-plan-subscription.d.ts +59 -0
- package/node_modules/@dcode/shared/dist/conversation-message-projection-policy.js +2 -0
- package/node_modules/@dcode/shared/dist/conversation-share.d.ts +378 -74
- package/node_modules/@dcode/shared/dist/conversation-share.js +8 -6
- package/node_modules/@dcode/shared/dist/conversationSelection.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/conversationSelection.js +30 -0
- package/node_modules/@dcode/shared/dist/database-startup.d.ts +5 -5
- package/node_modules/@dcode/shared/dist/dcode-agent-model-state.js +14 -6
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.d.ts +16 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.js +17 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-runtime.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +3215 -1800
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.js +555 -24
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.js +10 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.d.ts +30 -20
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/apply.js +12 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.d.ts +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +388 -57
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.js +67 -45
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +208 -103
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.d.ts +20 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.js +15 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.d.ts +34 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.js +45 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.d.ts +1453 -278
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.js +45 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.js +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.d.ts +173 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.js +29 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.d.ts +731 -125
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.js +23 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.d.ts +30 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.js +35 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index.d.ts +40 -25
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.d.ts +1444 -216
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/telemetry.d.ts +62 -58
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.d.ts +185 -50
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.js +31 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +7728 -1585
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.js +18 -5
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-assembler.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-fault.js +4 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-reassembly.js +5 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.d.ts +29 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.js +64 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.js +23 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-observation-display.d.ts +14 -14
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.d.ts +52 -8
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.js +22 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.js +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.d.ts +21 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.js +44 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.js +3 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-caps.js +5 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.d.ts +26 -19
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.js +40 -32
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.js +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.js +44 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.js +17 -10
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.d.ts +33 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.js +202 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-phases.js +10 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.js +29 -22
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-started.js +5 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-tables.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-unlisted.js +6 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.d.ts +125 -40
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.js +101 -26
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-workspace.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workspace-hook-review.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.js +49 -0
- package/node_modules/@dcode/shared/dist/dcode-slash-command-help.js +4 -4
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.js +13 -1
- package/node_modules/@dcode/shared/dist/dcode-task-types-core.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-task-types.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +22 -1
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +102 -17
- package/node_modules/@dcode/shared/dist/desktopMenu.js +48 -48
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.d.ts +35 -6
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.js +45 -6
- package/node_modules/@dcode/shared/dist/env.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/env.js +9 -9
- package/node_modules/@dcode/shared/dist/errors.d.ts +24 -0
- package/node_modules/@dcode/shared/dist/errors.js +54 -0
- package/node_modules/@dcode/shared/dist/execution-state.d.ts +4 -2
- package/node_modules/@dcode/shared/dist/execution-state.js +1 -1
- package/node_modules/@dcode/shared/dist/feedback.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/gen-ui/contract.d.ts +140 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.js +36 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.js +196 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.js +75 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.js +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.js +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.d.ts +202 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.js +126 -0
- package/node_modules/@dcode/shared/dist/helpAppConfig.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/helpAppConfig.js +2 -2
- package/node_modules/@dcode/shared/dist/highspeed.d.ts +181 -0
- package/node_modules/@dcode/shared/dist/highspeed.js +112 -0
- package/node_modules/@dcode/shared/dist/index.d.ts +27 -5
- package/node_modules/@dcode/shared/dist/index.js +24 -2
- package/node_modules/@dcode/shared/dist/localTtft.d.ts +27 -27
- package/node_modules/@dcode/shared/dist/marketingTouch.d.ts +930 -0
- package/node_modules/@dcode/shared/dist/marketingTouch.js +170 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.d.ts +83 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.js +124 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.d.ts +241 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.js +42 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.js +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.js +64 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.d.ts +47 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.js +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.js +11 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.d.ts +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.js +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.js +73 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.d.ts +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.js +107 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.js +55 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.d.ts +78 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.js +65 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.d.ts +39 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.js +199 -0
- package/node_modules/@dcode/shared/dist/mcp.d.ts +6 -2
- package/node_modules/@dcode/shared/dist/memory.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/memory.js +2 -0
- package/node_modules/@dcode/shared/dist/model-execution.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/model-execution.js +38 -0
- package/node_modules/@dcode/shared/dist/networkCapture.d.ts +49 -0
- package/node_modules/@dcode/shared/dist/networkCapture.js +41 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.d.ts +6 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.js +16 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.js +30 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.js +96 -0
- package/node_modules/@dcode/shared/dist/node/officialPluginCache.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node/subagentMarkdownMigration.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node.js +2 -0
- package/node_modules/@dcode/shared/dist/output-style.d.ts +17 -0
- package/node_modules/@dcode/shared/dist/output-style.js +2 -0
- package/node_modules/@dcode/shared/dist/platform.d.ts +149 -1
- package/node_modules/@dcode/shared/dist/platform.js +2 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.d.ts +61 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.js +2 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.js +20 -14
- package/node_modules/@dcode/shared/dist/project-access-token-client.d.ts +42 -0
- package/node_modules/@dcode/shared/dist/project-access-token-client.js +260 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.js +9 -0
- package/node_modules/@dcode/shared/dist/project-access-token.d.ts +45 -0
- package/node_modules/@dcode/shared/dist/project-access-token.js +164 -0
- package/node_modules/@dcode/shared/dist/protocol.d.ts +46 -4
- package/node_modules/@dcode/shared/dist/protocol.js +1 -1
- package/node_modules/@dcode/shared/dist/provider-provisioning.d.ts +26 -2
- package/node_modules/@dcode/shared/dist/provider-provisioning.js +19 -3
- package/node_modules/@dcode/shared/dist/providers.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/providers.js +1 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.js +35 -1
- package/node_modules/@dcode/shared/dist/remoteAppConfig.js +1 -1
- package/node_modules/@dcode/shared/dist/remoteEnvironmentKey.js +19 -0
- package/node_modules/@dcode/shared/dist/remoteTarget.d.ts +14 -1
- package/node_modules/@dcode/shared/dist/remoteTarget.js +4 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.d.ts +27 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.js +43 -0
- package/node_modules/@dcode/shared/dist/rendererActionTrace.d.ts +35 -35
- package/node_modules/@dcode/shared/dist/request-security-edition/index.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/index.js +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.js +5 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.d.ts +19 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.js +29 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.js +80 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.d.ts +37 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.js +50 -0
- package/node_modules/@dcode/shared/dist/sessionCreateTelemetry.d.ts +3 -3
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.js +212 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.js +200 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.d.ts +82 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.js +28 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.d.ts +135 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.js +39 -0
- package/node_modules/@dcode/shared/dist/subagents-types.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/task-realtime-core.d.ts +57 -24
- package/node_modules/@dcode/shared/dist/task-realtime-core.js +8 -2
- package/node_modules/@dcode/shared/dist/test-ids-workflow.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/test-ids-workflow.js +5 -0
- package/node_modules/@dcode/shared/dist/test-ids.d.ts +25 -0
- package/node_modules/@dcode/shared/dist/test-ids.js +25 -0
- package/node_modules/@dcode/shared/dist/tool-identity.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/tool-identity.js +4 -0
- package/node_modules/@dcode/shared/dist/tool-plan-adapter.js +14 -1
- package/node_modules/@dcode/shared/dist/usage-stats.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/validation.d.ts +1542 -166
- package/node_modules/@dcode/shared/dist/validation.js +423 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +70 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.js +74 -12
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.js +40 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.d.ts +183 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.js +562 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.d.ts +645 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.js +174 -0
- package/node_modules/@dcode/shared/package.json +5 -2
- package/node_modules/@dcode/tui/dist/app-approval-panel.js +3 -2
- package/node_modules/@dcode/tui/dist/app-approval.d.ts +3 -1
- package/node_modules/@dcode/tui/dist/app-approval.js +9 -5
- package/node_modules/@dcode/tui/dist/app-compact-timeline.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-compact-timeline.js +5 -2
- package/node_modules/@dcode/tui/dist/app-empty-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-empty-transcript.js +1 -1
- package/node_modules/@dcode/tui/dist/app-file-mentions.d.ts +2 -0
- package/node_modules/@dcode/tui/dist/app-file-mentions.js +2 -2
- package/node_modules/@dcode/tui/dist/app-input-pane.d.ts +38 -0
- package/node_modules/@dcode/tui/dist/app-input-pane.js +19 -19
- package/node_modules/@dcode/tui/dist/app-input-status.d.ts +17 -0
- package/node_modules/@dcode/tui/dist/app-input-status.js +4 -4
- package/node_modules/@dcode/tui/dist/app-input.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-input.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.d.ts +2 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-markdown.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode-command.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-mode-command.js +4 -4
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.d.ts +5 -0
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.d.ts +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.js +1 -1
- package/node_modules/@dcode/tui/dist/app-model-ref.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-model-ref.js +1 -1
- package/node_modules/@dcode/tui/dist/app-motion.d.ts +13 -0
- package/node_modules/@dcode/tui/dist/app-motion.js +17 -7
- package/node_modules/@dcode/tui/dist/app-session-event-handler.d.ts +33 -0
- package/node_modules/@dcode/tui/dist/app-session-event-handler.js +4 -4
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.js +3 -3
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.js +7 -2
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.d.ts +10 -0
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.js +4 -4
- package/node_modules/@dcode/tui/dist/app-submit.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-submit.js +1 -1
- package/node_modules/@dcode/tui/dist/app-thought-components.d.ts +7 -0
- package/node_modules/@dcode/tui/dist/app-thought-components.js +2 -2
- package/node_modules/@dcode/tui/dist/app-tool-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-tool-transcript.js +3 -0
- package/node_modules/@dcode/tui/dist/app-view.d.ts +27 -0
- package/node_modules/@dcode/tui/dist/app-view.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-card.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.js +4 -4
- package/node_modules/@dcode/tui/dist/index.js +5117 -2578
- package/node_modules/@dcode/tui/dist/tui.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/tui.js +1 -1
- package/node_modules/@dcode/tui/dist/types.d.ts +1 -1
- package/node_modules/oniguruma-parser/LICENSE +1 -1
- package/node_modules/oniguruma-parser/README.md +15 -61
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +4 -4
- package/node_modules/oniguruma-parser/dist/parser/parse.js +1 -1
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +1 -1
- package/node_modules/oniguruma-parser/package.json +5 -5
- package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +121 -120
- package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1 -3
- package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/index.min.js +6 -6
- package/node_modules/oniguruma-to-es/package.json +5 -5
- package/package.json +5 -5
|
@@ -27,10 +27,10 @@ export declare const ListSavedWorkflowsOutputSchema: z.ZodObject<{
|
|
|
27
27
|
scope: z.ZodEnum<["project", "global"]>;
|
|
28
28
|
path: z.ZodString;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
|
+
path: string;
|
|
30
31
|
description: string;
|
|
31
32
|
name: string;
|
|
32
33
|
scope: "project" | "global";
|
|
33
|
-
path: string;
|
|
34
34
|
whenToUse?: string | undefined;
|
|
35
35
|
args?: Record<string, {
|
|
36
36
|
type: "string" | "number" | "boolean" | "json";
|
|
@@ -39,10 +39,10 @@ export declare const ListSavedWorkflowsOutputSchema: z.ZodObject<{
|
|
|
39
39
|
required?: boolean | undefined;
|
|
40
40
|
}> | undefined;
|
|
41
41
|
}, {
|
|
42
|
+
path: string;
|
|
42
43
|
description: string;
|
|
43
44
|
name: string;
|
|
44
45
|
scope: "project" | "global";
|
|
45
|
-
path: string;
|
|
46
46
|
whenToUse?: string | undefined;
|
|
47
47
|
args?: Record<string, {
|
|
48
48
|
type: "string" | "number" | "boolean" | "json";
|
|
@@ -56,18 +56,18 @@ export declare const ListSavedWorkflowsOutputSchema: z.ZodObject<{
|
|
|
56
56
|
path: z.ZodString;
|
|
57
57
|
reason: z.ZodString;
|
|
58
58
|
}, "strict", z.ZodTypeAny, {
|
|
59
|
-
reason: string;
|
|
60
59
|
path: string;
|
|
61
|
-
}, {
|
|
62
60
|
reason: string;
|
|
61
|
+
}, {
|
|
63
62
|
path: string;
|
|
63
|
+
reason: string;
|
|
64
64
|
}>, "many">>;
|
|
65
65
|
}, "strict", z.ZodTypeAny, {
|
|
66
66
|
workflows: {
|
|
67
|
+
path: string;
|
|
67
68
|
description: string;
|
|
68
69
|
name: string;
|
|
69
70
|
scope: "project" | "global";
|
|
70
|
-
path: string;
|
|
71
71
|
whenToUse?: string | undefined;
|
|
72
72
|
args?: Record<string, {
|
|
73
73
|
type: "string" | "number" | "boolean" | "json";
|
|
@@ -77,15 +77,15 @@ export declare const ListSavedWorkflowsOutputSchema: z.ZodObject<{
|
|
|
77
77
|
}> | undefined;
|
|
78
78
|
}[];
|
|
79
79
|
invalid?: {
|
|
80
|
-
reason: string;
|
|
81
80
|
path: string;
|
|
81
|
+
reason: string;
|
|
82
82
|
}[] | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
workflows: {
|
|
85
|
+
path: string;
|
|
85
86
|
description: string;
|
|
86
87
|
name: string;
|
|
87
88
|
scope: "project" | "global";
|
|
88
|
-
path: string;
|
|
89
89
|
whenToUse?: string | undefined;
|
|
90
90
|
args?: Record<string, {
|
|
91
91
|
type: "string" | "number" | "boolean" | "json";
|
|
@@ -95,8 +95,8 @@ export declare const ListSavedWorkflowsOutputSchema: z.ZodObject<{
|
|
|
95
95
|
}> | undefined;
|
|
96
96
|
}[];
|
|
97
97
|
invalid?: {
|
|
98
|
-
reason: string;
|
|
99
98
|
path: string;
|
|
99
|
+
reason: string;
|
|
100
100
|
}[] | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
export type ListSavedWorkflowsOutput = z.infer<typeof ListSavedWorkflowsOutputSchema>;
|
|
@@ -58,7 +58,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
58
58
|
ownedByThisSession: boolean;
|
|
59
59
|
createdAt: number;
|
|
60
60
|
updatedAt: number;
|
|
61
|
-
stopReason?: "
|
|
61
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
62
62
|
possiblyInterrupted?: boolean | undefined;
|
|
63
63
|
resumedFrom?: string | undefined;
|
|
64
64
|
supersededBy?: string | undefined;
|
|
@@ -70,7 +70,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
70
70
|
ownedByThisSession: boolean;
|
|
71
71
|
createdAt: number;
|
|
72
72
|
updatedAt: number;
|
|
73
|
-
stopReason?: "
|
|
73
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
74
74
|
possiblyInterrupted?: boolean | undefined;
|
|
75
75
|
resumedFrom?: string | undefined;
|
|
76
76
|
supersededBy?: string | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const ListWorkflowRunsRunSchema: z.ZodObject<{
|
|
|
105
105
|
ownedByThisSession: boolean;
|
|
106
106
|
createdAt: number;
|
|
107
107
|
updatedAt: number;
|
|
108
|
-
stopReason?: "
|
|
108
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
109
109
|
possiblyInterrupted?: boolean | undefined;
|
|
110
110
|
resumedFrom?: string | undefined;
|
|
111
111
|
supersededBy?: string | undefined;
|
|
@@ -118,7 +118,7 @@ export declare const ListWorkflowRunsRunSchema: z.ZodObject<{
|
|
|
118
118
|
ownedByThisSession: boolean;
|
|
119
119
|
createdAt: number;
|
|
120
120
|
updatedAt: number;
|
|
121
|
-
stopReason?: "
|
|
121
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
122
122
|
possiblyInterrupted?: boolean | undefined;
|
|
123
123
|
resumedFrom?: string | undefined;
|
|
124
124
|
supersededBy?: string | undefined;
|
|
@@ -155,7 +155,7 @@ export declare const ListWorkflowRunsOutputSchema: z.ZodObject<{
|
|
|
155
155
|
ownedByThisSession: boolean;
|
|
156
156
|
createdAt: number;
|
|
157
157
|
updatedAt: number;
|
|
158
|
-
stopReason?: "
|
|
158
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
159
159
|
possiblyInterrupted?: boolean | undefined;
|
|
160
160
|
resumedFrom?: string | undefined;
|
|
161
161
|
supersededBy?: string | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const ListWorkflowRunsOutputSchema: z.ZodObject<{
|
|
|
168
168
|
ownedByThisSession: boolean;
|
|
169
169
|
createdAt: number;
|
|
170
170
|
updatedAt: number;
|
|
171
|
-
stopReason?: "
|
|
171
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
172
172
|
possiblyInterrupted?: boolean | undefined;
|
|
173
173
|
resumedFrom?: string | undefined;
|
|
174
174
|
supersededBy?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export declare const ListWorkflowRunsOutputSchema: z.ZodObject<{
|
|
|
185
185
|
ownedByThisSession: boolean;
|
|
186
186
|
createdAt: number;
|
|
187
187
|
updatedAt: number;
|
|
188
|
-
stopReason?: "
|
|
188
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
189
189
|
possiblyInterrupted?: boolean | undefined;
|
|
190
190
|
resumedFrom?: string | undefined;
|
|
191
191
|
supersededBy?: string | undefined;
|
|
@@ -201,7 +201,7 @@ export declare const ListWorkflowRunsOutputSchema: z.ZodObject<{
|
|
|
201
201
|
ownedByThisSession: boolean;
|
|
202
202
|
createdAt: number;
|
|
203
203
|
updatedAt: number;
|
|
204
|
-
stopReason?: "
|
|
204
|
+
stopReason?: "model" | "user" | "provider" | "interrupted" | "superseded" | undefined;
|
|
205
205
|
possiblyInterrupted?: boolean | undefined;
|
|
206
206
|
resumedFrom?: string | undefined;
|
|
207
207
|
supersededBy?: string | undefined;
|
|
@@ -5,12 +5,12 @@ export declare const JsInputSchema: z.ZodObject<{
|
|
|
5
5
|
code: z.ZodString;
|
|
6
6
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
}, "strict", z.ZodTypeAny, {
|
|
8
|
-
code: string;
|
|
9
8
|
title: string;
|
|
9
|
+
code: string;
|
|
10
10
|
timeout_ms?: number | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
code: string;
|
|
13
12
|
title: string;
|
|
13
|
+
code: string;
|
|
14
14
|
timeout_ms?: number | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type JsInput = z.infer<typeof JsInputSchema>;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const OffPeakCreateInputSchema: z.ZodObject<{
|
|
3
3
|
title: z.ZodString;
|
|
4
4
|
prompt: z.ZodString;
|
|
5
|
-
permissionMode: z.ZodOptional<z.ZodEnum<["build", "edit", "plan", "yolo"]>>;
|
|
5
|
+
permissionMode: z.ZodOptional<z.ZodEnum<["build", "edit", "plan", "yolo", "guarded"]>>;
|
|
6
6
|
model: z.ZodOptional<z.ZodString>;
|
|
7
7
|
thoughtLevel: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -10,13 +10,13 @@ export declare const OffPeakCreateInputSchema: z.ZodObject<{
|
|
|
10
10
|
prompt: string;
|
|
11
11
|
model?: string | undefined;
|
|
12
12
|
thoughtLevel?: string | undefined;
|
|
13
|
-
permissionMode?: "plan" | "build" | "edit" | "yolo" | undefined;
|
|
13
|
+
permissionMode?: "plan" | "build" | "edit" | "yolo" | "guarded" | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
title: string;
|
|
16
16
|
prompt: string;
|
|
17
17
|
model?: string | undefined;
|
|
18
18
|
thoughtLevel?: string | undefined;
|
|
19
|
-
permissionMode?: "plan" | "build" | "edit" | "yolo" | undefined;
|
|
19
|
+
permissionMode?: "plan" | "build" | "edit" | "yolo" | "guarded" | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export type OffPeakCreateInput = z.infer<typeof OffPeakCreateInputSchema>;
|
|
22
22
|
export declare const OffPeakCreateInputJsonSchema: import("../index.js").JsonSchema;
|
|
@@ -12,9 +12,9 @@ export const OffPeakCreateInputSchema = z
|
|
|
12
12
|
title: nonEmptyString.describe("Concise idle-time task title describing the deferred work, for example '重构 utils 目录' or 'Fix flaky auth tests'. Keep it short and do not include file paths."),
|
|
13
13
|
prompt: nonEmptyString.describe("Instructions for the deferred run, which later continues THIS conversation unattended with the full history available, so it may refer to context already established here. State the expected deliverable explicitly (nobody will answer questions during the run); never ask the run to create, schedule, or configure another idle-time task or automation."),
|
|
14
14
|
permissionMode: z
|
|
15
|
-
.enum(["build", "edit", "plan", "yolo"])
|
|
15
|
+
.enum(["build", "edit", "plan", "yolo", "guarded"])
|
|
16
16
|
.optional()
|
|
17
|
-
.describe("Unattended run permission mode. Omit for the default full-automatic mode (yolo). Set only when the user explicitly asks for confirmation-gated execution: 'build' pauses for approval before changes, 'edit' auto-applies edits, 'plan' is read-only planning."),
|
|
17
|
+
.describe("Unattended run permission mode. Omit for the default full-automatic mode (yolo). Set only when the user explicitly asks for confirmation-gated execution: 'build' pauses for approval before changes, 'edit' auto-applies edits, 'plan' is read-only planning, 'guarded' runs like yolo but pauses once for explicitly recognized dangerous shell commands (rm -rf, git reset --hard, force push, rsync --delete, etc.)."),
|
|
18
18
|
model: nonEmptyString
|
|
19
19
|
.optional()
|
|
20
20
|
.describe("Idle-plan model id. Must be one of the idle-time allowed models; omit to use the default (the newest allowed model). Set only when the user names a specific model."),
|
|
@@ -55,17 +55,17 @@ export declare const FileSystemExecutionTelemetrySchema: z.ZodObject<{
|
|
|
55
55
|
}, "strict", z.ZodTypeAny, {
|
|
56
56
|
totalBytes?: number | undefined;
|
|
57
57
|
fileCount?: number | undefined;
|
|
58
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
58
59
|
readMs?: number | undefined;
|
|
59
60
|
writeMs?: number | undefined;
|
|
60
61
|
maxFileBytes?: number | undefined;
|
|
61
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
totalBytes?: number | undefined;
|
|
64
64
|
fileCount?: number | undefined;
|
|
65
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
65
66
|
readMs?: number | undefined;
|
|
66
67
|
writeMs?: number | undefined;
|
|
67
68
|
maxFileBytes?: number | undefined;
|
|
68
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
69
69
|
}>;
|
|
70
70
|
export type FileSystemExecutionTelemetry = z.infer<typeof FileSystemExecutionTelemetrySchema>;
|
|
71
71
|
export declare const PatchExecutionTelemetrySchema: z.ZodObject<{
|
|
@@ -169,37 +169,37 @@ export declare const ToolExecutionTelemetryDetailSchema: z.ZodDiscriminatedUnion
|
|
|
169
169
|
}, "strict", z.ZodTypeAny, {
|
|
170
170
|
totalBytes?: number | undefined;
|
|
171
171
|
fileCount?: number | undefined;
|
|
172
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
172
173
|
readMs?: number | undefined;
|
|
173
174
|
writeMs?: number | undefined;
|
|
174
175
|
maxFileBytes?: number | undefined;
|
|
175
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
176
176
|
}, {
|
|
177
177
|
totalBytes?: number | undefined;
|
|
178
178
|
fileCount?: number | undefined;
|
|
179
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
179
180
|
readMs?: number | undefined;
|
|
180
181
|
writeMs?: number | undefined;
|
|
181
182
|
maxFileBytes?: number | undefined;
|
|
182
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
183
183
|
}>;
|
|
184
184
|
}, "strict", z.ZodTypeAny, {
|
|
185
185
|
kind: "filesystem";
|
|
186
186
|
filesystem: {
|
|
187
187
|
totalBytes?: number | undefined;
|
|
188
188
|
fileCount?: number | undefined;
|
|
189
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
189
190
|
readMs?: number | undefined;
|
|
190
191
|
writeMs?: number | undefined;
|
|
191
192
|
maxFileBytes?: number | undefined;
|
|
192
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
193
193
|
};
|
|
194
194
|
}, {
|
|
195
195
|
kind: "filesystem";
|
|
196
196
|
filesystem: {
|
|
197
197
|
totalBytes?: number | undefined;
|
|
198
198
|
fileCount?: number | undefined;
|
|
199
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
199
200
|
readMs?: number | undefined;
|
|
200
201
|
writeMs?: number | undefined;
|
|
201
202
|
maxFileBytes?: number | undefined;
|
|
202
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
203
203
|
};
|
|
204
204
|
}>, z.ZodObject<{
|
|
205
205
|
kind: z.ZodLiteral<"patch">;
|
|
@@ -213,17 +213,17 @@ export declare const ToolExecutionTelemetryDetailSchema: z.ZodDiscriminatedUnion
|
|
|
213
213
|
}, "strict", z.ZodTypeAny, {
|
|
214
214
|
totalBytes?: number | undefined;
|
|
215
215
|
fileCount?: number | undefined;
|
|
216
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
216
217
|
readMs?: number | undefined;
|
|
217
218
|
writeMs?: number | undefined;
|
|
218
219
|
maxFileBytes?: number | undefined;
|
|
219
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
totalBytes?: number | undefined;
|
|
222
222
|
fileCount?: number | undefined;
|
|
223
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
223
224
|
readMs?: number | undefined;
|
|
224
225
|
writeMs?: number | undefined;
|
|
225
226
|
maxFileBytes?: number | undefined;
|
|
226
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
227
227
|
}>;
|
|
228
228
|
patch: z.ZodObject<{
|
|
229
229
|
matchMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -248,10 +248,10 @@ export declare const ToolExecutionTelemetryDetailSchema: z.ZodDiscriminatedUnion
|
|
|
248
248
|
filesystem: {
|
|
249
249
|
totalBytes?: number | undefined;
|
|
250
250
|
fileCount?: number | undefined;
|
|
251
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
251
252
|
readMs?: number | undefined;
|
|
252
253
|
writeMs?: number | undefined;
|
|
253
254
|
maxFileBytes?: number | undefined;
|
|
254
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
255
255
|
};
|
|
256
256
|
}, {
|
|
257
257
|
kind: "patch";
|
|
@@ -263,10 +263,10 @@ export declare const ToolExecutionTelemetryDetailSchema: z.ZodDiscriminatedUnion
|
|
|
263
263
|
filesystem: {
|
|
264
264
|
totalBytes?: number | undefined;
|
|
265
265
|
fileCount?: number | undefined;
|
|
266
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
266
267
|
readMs?: number | undefined;
|
|
267
268
|
writeMs?: number | undefined;
|
|
268
269
|
maxFileBytes?: number | undefined;
|
|
269
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
270
270
|
};
|
|
271
271
|
}>]>;
|
|
272
272
|
export type ToolExecutionTelemetryDetail = z.infer<typeof ToolExecutionTelemetryDetailSchema>;
|
|
@@ -364,37 +364,37 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
364
364
|
}, "strict", z.ZodTypeAny, {
|
|
365
365
|
totalBytes?: number | undefined;
|
|
366
366
|
fileCount?: number | undefined;
|
|
367
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
367
368
|
readMs?: number | undefined;
|
|
368
369
|
writeMs?: number | undefined;
|
|
369
370
|
maxFileBytes?: number | undefined;
|
|
370
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
371
371
|
}, {
|
|
372
372
|
totalBytes?: number | undefined;
|
|
373
373
|
fileCount?: number | undefined;
|
|
374
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
374
375
|
readMs?: number | undefined;
|
|
375
376
|
writeMs?: number | undefined;
|
|
376
377
|
maxFileBytes?: number | undefined;
|
|
377
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
378
378
|
}>;
|
|
379
379
|
}, "strict", z.ZodTypeAny, {
|
|
380
380
|
kind: "filesystem";
|
|
381
381
|
filesystem: {
|
|
382
382
|
totalBytes?: number | undefined;
|
|
383
383
|
fileCount?: number | undefined;
|
|
384
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
384
385
|
readMs?: number | undefined;
|
|
385
386
|
writeMs?: number | undefined;
|
|
386
387
|
maxFileBytes?: number | undefined;
|
|
387
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
388
388
|
};
|
|
389
389
|
}, {
|
|
390
390
|
kind: "filesystem";
|
|
391
391
|
filesystem: {
|
|
392
392
|
totalBytes?: number | undefined;
|
|
393
393
|
fileCount?: number | undefined;
|
|
394
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
394
395
|
readMs?: number | undefined;
|
|
395
396
|
writeMs?: number | undefined;
|
|
396
397
|
maxFileBytes?: number | undefined;
|
|
397
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
398
398
|
};
|
|
399
399
|
}>, z.ZodObject<{
|
|
400
400
|
kind: z.ZodLiteral<"patch">;
|
|
@@ -408,17 +408,17 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
408
408
|
}, "strict", z.ZodTypeAny, {
|
|
409
409
|
totalBytes?: number | undefined;
|
|
410
410
|
fileCount?: number | undefined;
|
|
411
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
411
412
|
readMs?: number | undefined;
|
|
412
413
|
writeMs?: number | undefined;
|
|
413
414
|
maxFileBytes?: number | undefined;
|
|
414
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
totalBytes?: number | undefined;
|
|
417
417
|
fileCount?: number | undefined;
|
|
418
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
418
419
|
readMs?: number | undefined;
|
|
419
420
|
writeMs?: number | undefined;
|
|
420
421
|
maxFileBytes?: number | undefined;
|
|
421
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
422
422
|
}>;
|
|
423
423
|
patch: z.ZodObject<{
|
|
424
424
|
matchMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -443,10 +443,10 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
443
443
|
filesystem: {
|
|
444
444
|
totalBytes?: number | undefined;
|
|
445
445
|
fileCount?: number | undefined;
|
|
446
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
446
447
|
readMs?: number | undefined;
|
|
447
448
|
writeMs?: number | undefined;
|
|
448
449
|
maxFileBytes?: number | undefined;
|
|
449
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
450
450
|
};
|
|
451
451
|
}, {
|
|
452
452
|
kind: "patch";
|
|
@@ -458,10 +458,10 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
458
458
|
filesystem: {
|
|
459
459
|
totalBytes?: number | undefined;
|
|
460
460
|
fileCount?: number | undefined;
|
|
461
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
461
462
|
readMs?: number | undefined;
|
|
462
463
|
writeMs?: number | undefined;
|
|
463
464
|
maxFileBytes?: number | undefined;
|
|
464
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
465
465
|
};
|
|
466
466
|
}>]>>;
|
|
467
467
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -485,10 +485,10 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
485
485
|
filesystem: {
|
|
486
486
|
totalBytes?: number | undefined;
|
|
487
487
|
fileCount?: number | undefined;
|
|
488
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
488
489
|
readMs?: number | undefined;
|
|
489
490
|
writeMs?: number | undefined;
|
|
490
491
|
maxFileBytes?: number | undefined;
|
|
491
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
492
492
|
};
|
|
493
493
|
} | {
|
|
494
494
|
kind: "patch";
|
|
@@ -500,10 +500,10 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
500
500
|
filesystem: {
|
|
501
501
|
totalBytes?: number | undefined;
|
|
502
502
|
fileCount?: number | undefined;
|
|
503
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
503
504
|
readMs?: number | undefined;
|
|
504
505
|
writeMs?: number | undefined;
|
|
505
506
|
maxFileBytes?: number | undefined;
|
|
506
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
507
507
|
};
|
|
508
508
|
} | undefined;
|
|
509
509
|
totalMs?: number | undefined;
|
|
@@ -529,10 +529,10 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
529
529
|
filesystem: {
|
|
530
530
|
totalBytes?: number | undefined;
|
|
531
531
|
fileCount?: number | undefined;
|
|
532
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
532
533
|
readMs?: number | undefined;
|
|
533
534
|
writeMs?: number | undefined;
|
|
534
535
|
maxFileBytes?: number | undefined;
|
|
535
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
536
536
|
};
|
|
537
537
|
} | {
|
|
538
538
|
kind: "patch";
|
|
@@ -544,10 +544,10 @@ export declare const ToolExecutionTelemetrySchema: z.ZodObject<{
|
|
|
544
544
|
filesystem: {
|
|
545
545
|
totalBytes?: number | undefined;
|
|
546
546
|
fileCount?: number | undefined;
|
|
547
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
547
548
|
readMs?: number | undefined;
|
|
548
549
|
writeMs?: number | undefined;
|
|
549
550
|
maxFileBytes?: number | undefined;
|
|
550
|
-
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
551
551
|
};
|
|
552
552
|
} | undefined;
|
|
553
553
|
totalMs?: number | undefined;
|
|
@@ -9,20 +9,20 @@ export type EnterPlanModeInput = z.infer<typeof EnterPlanModeInputSchema>;
|
|
|
9
9
|
export declare const EnterPlanModeInputJsonSchema: import("../index.js").JsonSchema;
|
|
10
10
|
export declare const EnterPlanModeOutputSchema: z.ZodObject<{
|
|
11
11
|
message: z.ZodString;
|
|
12
|
-
previousMode: z.ZodEnum<["plan", "build", "edit", "yolo", "auto"]>;
|
|
13
|
-
mode: z.ZodEnum<["plan", "build", "edit", "yolo", "auto"]>;
|
|
12
|
+
previousMode: z.ZodEnum<["plan", "build", "edit", "yolo", "guarded", "auto"]>;
|
|
13
|
+
mode: z.ZodEnum<["plan", "build", "edit", "yolo", "guarded", "auto"]>;
|
|
14
14
|
planEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
previousPlanEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
17
|
message: string;
|
|
18
|
-
mode: "plan" | "build" | "edit" | "yolo" | "auto";
|
|
19
|
-
previousMode: "plan" | "build" | "edit" | "yolo" | "auto";
|
|
18
|
+
mode: "plan" | "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
19
|
+
previousMode: "plan" | "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
20
20
|
planEnabled?: boolean | undefined;
|
|
21
21
|
previousPlanEnabled?: boolean | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
message: string;
|
|
24
|
-
mode: "plan" | "build" | "edit" | "yolo" | "auto";
|
|
25
|
-
previousMode: "plan" | "build" | "edit" | "yolo" | "auto";
|
|
24
|
+
mode: "plan" | "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
25
|
+
previousMode: "plan" | "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
26
26
|
planEnabled?: boolean | undefined;
|
|
27
27
|
previousPlanEnabled?: boolean | undefined;
|
|
28
28
|
}>;
|
|
@@ -81,10 +81,10 @@ export declare const ExitPlanModeInputJsonSchema: import("../index.js").JsonSche
|
|
|
81
81
|
export declare const ExitPlanModeOutputSchema: z.ZodObject<{
|
|
82
82
|
plan: z.ZodNullable<z.ZodString>;
|
|
83
83
|
approved: z.ZodLiteral<true>;
|
|
84
|
-
previousMode: z.ZodEnum<["plan", "build", "edit", "yolo", "auto"]>;
|
|
84
|
+
previousMode: z.ZodEnum<["plan", "build", "edit", "yolo", "guarded", "auto"]>;
|
|
85
85
|
planEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
86
86
|
previousPlanEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
mode: z.ZodEnum<["build", "edit", "yolo", "auto"]>;
|
|
87
|
+
mode: z.ZodEnum<["build", "edit", "yolo", "guarded", "auto"]>;
|
|
88
88
|
allowedPrompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
89
|
tool: z.ZodEnum<["Bash"]>;
|
|
90
90
|
prompt: z.ZodString;
|
|
@@ -97,8 +97,8 @@ export declare const ExitPlanModeOutputSchema: z.ZodObject<{
|
|
|
97
97
|
}>, "many">>;
|
|
98
98
|
}, "strict", z.ZodTypeAny, {
|
|
99
99
|
plan: string | null;
|
|
100
|
-
mode: "build" | "edit" | "yolo" | "auto";
|
|
101
|
-
previousMode: "plan" | "build" | "edit" | "yolo" | "auto";
|
|
100
|
+
mode: "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
101
|
+
previousMode: "plan" | "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
102
102
|
approved: true;
|
|
103
103
|
planEnabled?: boolean | undefined;
|
|
104
104
|
previousPlanEnabled?: boolean | undefined;
|
|
@@ -108,8 +108,8 @@ export declare const ExitPlanModeOutputSchema: z.ZodObject<{
|
|
|
108
108
|
}[] | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
plan: string | null;
|
|
111
|
-
mode: "build" | "edit" | "yolo" | "auto";
|
|
112
|
-
previousMode: "plan" | "build" | "edit" | "yolo" | "auto";
|
|
111
|
+
mode: "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
112
|
+
previousMode: "plan" | "build" | "edit" | "yolo" | "guarded" | "auto";
|
|
113
113
|
approved: true;
|
|
114
114
|
planEnabled?: boolean | undefined;
|
|
115
115
|
previousPlanEnabled?: boolean | undefined;
|
|
@@ -12,9 +12,11 @@ export const EnterPlanModeOutputSchema = z
|
|
|
12
12
|
.object({
|
|
13
13
|
message: z.string().min(1).describe("Confirmation that plan mode was entered."),
|
|
14
14
|
previousMode: z
|
|
15
|
-
.enum(["plan", "build", "edit", "yolo", "auto"])
|
|
15
|
+
.enum(["plan", "build", "edit", "yolo", "guarded", "auto"])
|
|
16
16
|
.describe("Session mode before EnterPlanMode ran."),
|
|
17
|
-
mode: z
|
|
17
|
+
mode: z
|
|
18
|
+
.enum(["plan", "build", "edit", "yolo", "guarded", "auto"])
|
|
19
|
+
.describe("Current permission mode."),
|
|
18
20
|
planEnabled: z.boolean().optional(),
|
|
19
21
|
previousPlanEnabled: z.boolean().optional(),
|
|
20
22
|
})
|
|
@@ -52,12 +54,12 @@ export const ExitPlanModeOutputSchema = z
|
|
|
52
54
|
plan: z.string().nullable().describe("The plan that was approved by the user."),
|
|
53
55
|
approved: z.literal(true).describe("True when the user approved exiting plan mode."),
|
|
54
56
|
previousMode: z
|
|
55
|
-
.enum(["plan", "build", "edit", "yolo", "auto"])
|
|
57
|
+
.enum(["plan", "build", "edit", "yolo", "guarded", "auto"])
|
|
56
58
|
.describe("Previous permission mode."),
|
|
57
59
|
planEnabled: z.boolean().optional(),
|
|
58
60
|
previousPlanEnabled: z.boolean().optional(),
|
|
59
61
|
mode: z
|
|
60
|
-
.enum(["build", "edit", "yolo", "auto"])
|
|
62
|
+
.enum(["build", "edit", "yolo", "guarded", "auto"])
|
|
61
63
|
.describe("Current session mode after exiting plan mode."),
|
|
62
64
|
allowedPrompts: z.array(ExitPlanModeAllowedPromptSchema).optional(),
|
|
63
65
|
})
|