@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
|
@@ -45,6 +45,7 @@ export const activeWorkSummarySchema = z.object({
|
|
|
45
45
|
"turnSteer",
|
|
46
46
|
]),
|
|
47
47
|
foregroundExecutionId: z.string().min(1).optional(),
|
|
48
|
+
sourceCommandId: z.string().min(1).optional(),
|
|
48
49
|
startedAt: timestampSchema,
|
|
49
50
|
});
|
|
50
51
|
// 错误码分为 fault.*、proto.* 与 guard.*。
|
|
@@ -418,6 +419,8 @@ export const conversationSnapshotSchema = z.object({
|
|
|
418
419
|
// 旧快照/旧发送端不携带此字段 → 解析得 null,不破坏兼容性(遵守冻结规则)。
|
|
419
420
|
// pendingCount === 0 时投影层置 null(提示条消失)。
|
|
420
421
|
workspaceHookAdmission: workspaceHookAdmissionStateSchema.nullable().default(null),
|
|
422
|
+
// (2026-09-12):原 additive 字段 pluginUiSurfaces 已删除,插件面板 widgetState 只留在
|
|
423
|
+
// 宿主 renderer 内存。
|
|
421
424
|
// B 区
|
|
422
425
|
rows: rowsWindowSchema,
|
|
423
426
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
/** Composer 可以显式提交的 Agent mode;auto 是 Runtime 内部状态,不进入用户 Submission。 */
|
|
3
|
-
export const submissionModeSchema = z.enum(["build", "edit", "plan", "yolo"]);
|
|
3
|
+
export const submissionModeSchema = z.enum(["build", "edit", "plan", "yolo", "guarded"]);
|
|
4
4
|
//# sourceMappingURL=submission.js.map
|
|
@@ -11,13 +11,15 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
11
11
|
}>>;
|
|
12
12
|
inputSource: z.ZodOptional<z.ZodEnum<{
|
|
13
13
|
subagent: "subagent";
|
|
14
|
-
background_task: "background_task";
|
|
15
14
|
fork: "fork";
|
|
15
|
+
selection_side_chat: "selection_side_chat";
|
|
16
|
+
rewind: "rewind";
|
|
17
|
+
agent_listing_delta: "agent_listing_delta";
|
|
18
|
+
background_task: "background_task";
|
|
16
19
|
goal_state_change: "goal_state_change";
|
|
17
20
|
"goal-continuation": "goal-continuation";
|
|
18
21
|
plugin_reference: "plugin_reference";
|
|
19
|
-
|
|
20
|
-
selection_side_chat: "selection_side_chat";
|
|
22
|
+
bot_topic_context: "bot_topic_context";
|
|
21
23
|
subagent_message: "subagent_message";
|
|
22
24
|
todo_reminder: "todo_reminder";
|
|
23
25
|
workflow_launch: "workflow_launch";
|
|
@@ -85,8 +87,8 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
85
87
|
}, z.core.$strict>, z.ZodObject<{
|
|
86
88
|
kind: z.ZodLiteral<"stream.chunk">;
|
|
87
89
|
channel: z.ZodEnum<{
|
|
88
|
-
thought: "thought";
|
|
89
90
|
text: "text";
|
|
91
|
+
thought: "thought";
|
|
90
92
|
}>;
|
|
91
93
|
chunkLength: z.ZodNumber;
|
|
92
94
|
firstChunk: z.ZodBoolean;
|
|
@@ -104,10 +106,10 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
104
106
|
}, z.core.$strict>, z.ZodObject<{
|
|
105
107
|
kind: z.ZodLiteral<"tool.lifecycle">;
|
|
106
108
|
phase: z.ZodEnum<{
|
|
107
|
-
completed: "completed";
|
|
108
109
|
failed: "failed";
|
|
109
|
-
|
|
110
|
+
completed: "completed";
|
|
110
111
|
started: "started";
|
|
112
|
+
scheduled: "scheduled";
|
|
111
113
|
progress: "progress";
|
|
112
114
|
}>;
|
|
113
115
|
toolCallId: z.ZodString;
|
|
@@ -125,10 +127,10 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
125
127
|
skillPluginId: z.ZodOptional<z.ZodString>;
|
|
126
128
|
skillSource: z.ZodOptional<z.ZodEnum<{
|
|
127
129
|
plugin: "plugin";
|
|
128
|
-
agents: "agents";
|
|
129
130
|
dcode: "dcode";
|
|
130
|
-
bundled: "bundled";
|
|
131
131
|
remote: "remote";
|
|
132
|
+
agents: "agents";
|
|
133
|
+
bundled: "bundled";
|
|
132
134
|
}>>;
|
|
133
135
|
performance: z.ZodOptional<z.ZodObject<{
|
|
134
136
|
totalMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -143,11 +145,11 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
143
145
|
commandName: z.ZodOptional<z.ZodString>;
|
|
144
146
|
commandCount: z.ZodOptional<z.ZodNumber>;
|
|
145
147
|
commandStatus: z.ZodOptional<z.ZodEnum<{
|
|
146
|
-
completed: "completed";
|
|
147
|
-
failed: "failed";
|
|
148
|
-
spawn_error: "spawn_error";
|
|
149
148
|
cancelled: "cancelled";
|
|
149
|
+
failed: "failed";
|
|
150
|
+
completed: "completed";
|
|
150
151
|
timed_out: "timed_out";
|
|
152
|
+
spawn_error: "spawn_error";
|
|
151
153
|
backgrounded: "backgrounded";
|
|
152
154
|
}>>;
|
|
153
155
|
commandHash: z.ZodOptional<z.ZodString>;
|
|
@@ -161,8 +163,8 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
161
163
|
matchAttempts: z.ZodOptional<z.ZodNumber>;
|
|
162
164
|
workspaceKind: z.ZodOptional<z.ZodEnum<{
|
|
163
165
|
unknown: "unknown";
|
|
164
|
-
remote: "remote";
|
|
165
166
|
local: "local";
|
|
167
|
+
remote: "remote";
|
|
166
168
|
}>>;
|
|
167
169
|
}, z.core.$strict>>;
|
|
168
170
|
automationId: z.ZodOptional<z.ZodString>;
|
|
@@ -254,14 +256,14 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
254
256
|
childSessionId: z.ZodOptional<z.ZodString>;
|
|
255
257
|
status: z.ZodOptional<z.ZodEnum<{
|
|
256
258
|
completed: "completed";
|
|
257
|
-
stopped: "stopped";
|
|
258
259
|
errored: "errored";
|
|
260
|
+
stopped: "stopped";
|
|
259
261
|
}>>;
|
|
260
262
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
261
|
-
interrupted: "interrupted";
|
|
262
263
|
user: "user";
|
|
263
264
|
model: "model";
|
|
264
265
|
provider: "provider";
|
|
266
|
+
interrupted: "interrupted";
|
|
265
267
|
superseded: "superseded";
|
|
266
268
|
}>>;
|
|
267
269
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -276,9 +278,9 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
276
278
|
}, z.core.$strict>, z.ZodObject<{
|
|
277
279
|
kind: z.ZodLiteral<"turn.terminal">;
|
|
278
280
|
status: z.ZodEnum<{
|
|
279
|
-
interrupted: "interrupted";
|
|
280
|
-
failed: "failed";
|
|
281
281
|
success: "success";
|
|
282
|
+
failed: "failed";
|
|
283
|
+
interrupted: "interrupted";
|
|
282
284
|
}>;
|
|
283
285
|
resultType: z.ZodOptional<z.ZodString>;
|
|
284
286
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -304,9 +306,9 @@ declare const conversationTelemetryFactRuntimeSchema: z.ZodDiscriminatedUnion<[z
|
|
|
304
306
|
messageId: z.ZodOptional<z.ZodString>;
|
|
305
307
|
summaryMessageId: z.ZodOptional<z.ZodString>;
|
|
306
308
|
status: z.ZodEnum<{
|
|
307
|
-
interrupted: "interrupted";
|
|
308
|
-
completed: "completed";
|
|
309
309
|
failed: "failed";
|
|
310
|
+
completed: "completed";
|
|
311
|
+
interrupted: "interrupted";
|
|
310
312
|
}>;
|
|
311
313
|
trigger: z.ZodEnum<{
|
|
312
314
|
auto: "auto";
|
|
@@ -350,13 +352,15 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
350
352
|
}>>;
|
|
351
353
|
inputSource: z.ZodOptional<z.ZodEnum<{
|
|
352
354
|
subagent: "subagent";
|
|
353
|
-
background_task: "background_task";
|
|
354
355
|
fork: "fork";
|
|
356
|
+
selection_side_chat: "selection_side_chat";
|
|
357
|
+
rewind: "rewind";
|
|
358
|
+
agent_listing_delta: "agent_listing_delta";
|
|
359
|
+
background_task: "background_task";
|
|
355
360
|
goal_state_change: "goal_state_change";
|
|
356
361
|
"goal-continuation": "goal-continuation";
|
|
357
362
|
plugin_reference: "plugin_reference";
|
|
358
|
-
|
|
359
|
-
selection_side_chat: "selection_side_chat";
|
|
363
|
+
bot_topic_context: "bot_topic_context";
|
|
360
364
|
subagent_message: "subagent_message";
|
|
361
365
|
todo_reminder: "todo_reminder";
|
|
362
366
|
workflow_launch: "workflow_launch";
|
|
@@ -424,8 +428,8 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
424
428
|
}, z.core.$strict>, z.ZodObject<{
|
|
425
429
|
kind: z.ZodLiteral<"stream.chunk">;
|
|
426
430
|
channel: z.ZodEnum<{
|
|
427
|
-
thought: "thought";
|
|
428
431
|
text: "text";
|
|
432
|
+
thought: "thought";
|
|
429
433
|
}>;
|
|
430
434
|
chunkLength: z.ZodNumber;
|
|
431
435
|
firstChunk: z.ZodBoolean;
|
|
@@ -443,10 +447,10 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
443
447
|
}, z.core.$strict>, z.ZodObject<{
|
|
444
448
|
kind: z.ZodLiteral<"tool.lifecycle">;
|
|
445
449
|
phase: z.ZodEnum<{
|
|
446
|
-
completed: "completed";
|
|
447
450
|
failed: "failed";
|
|
448
|
-
|
|
451
|
+
completed: "completed";
|
|
449
452
|
started: "started";
|
|
453
|
+
scheduled: "scheduled";
|
|
450
454
|
progress: "progress";
|
|
451
455
|
}>;
|
|
452
456
|
toolCallId: z.ZodString;
|
|
@@ -464,10 +468,10 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
464
468
|
skillPluginId: z.ZodOptional<z.ZodString>;
|
|
465
469
|
skillSource: z.ZodOptional<z.ZodEnum<{
|
|
466
470
|
plugin: "plugin";
|
|
467
|
-
agents: "agents";
|
|
468
471
|
dcode: "dcode";
|
|
469
|
-
bundled: "bundled";
|
|
470
472
|
remote: "remote";
|
|
473
|
+
agents: "agents";
|
|
474
|
+
bundled: "bundled";
|
|
471
475
|
}>>;
|
|
472
476
|
performance: z.ZodOptional<z.ZodObject<{
|
|
473
477
|
totalMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -482,11 +486,11 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
482
486
|
commandName: z.ZodOptional<z.ZodString>;
|
|
483
487
|
commandCount: z.ZodOptional<z.ZodNumber>;
|
|
484
488
|
commandStatus: z.ZodOptional<z.ZodEnum<{
|
|
485
|
-
completed: "completed";
|
|
486
|
-
failed: "failed";
|
|
487
|
-
spawn_error: "spawn_error";
|
|
488
489
|
cancelled: "cancelled";
|
|
490
|
+
failed: "failed";
|
|
491
|
+
completed: "completed";
|
|
489
492
|
timed_out: "timed_out";
|
|
493
|
+
spawn_error: "spawn_error";
|
|
490
494
|
backgrounded: "backgrounded";
|
|
491
495
|
}>>;
|
|
492
496
|
commandHash: z.ZodOptional<z.ZodString>;
|
|
@@ -500,8 +504,8 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
500
504
|
matchAttempts: z.ZodOptional<z.ZodNumber>;
|
|
501
505
|
workspaceKind: z.ZodOptional<z.ZodEnum<{
|
|
502
506
|
unknown: "unknown";
|
|
503
|
-
remote: "remote";
|
|
504
507
|
local: "local";
|
|
508
|
+
remote: "remote";
|
|
505
509
|
}>>;
|
|
506
510
|
}, z.core.$strict>>;
|
|
507
511
|
automationId: z.ZodOptional<z.ZodString>;
|
|
@@ -593,14 +597,14 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
593
597
|
childSessionId: z.ZodOptional<z.ZodString>;
|
|
594
598
|
status: z.ZodOptional<z.ZodEnum<{
|
|
595
599
|
completed: "completed";
|
|
596
|
-
stopped: "stopped";
|
|
597
600
|
errored: "errored";
|
|
601
|
+
stopped: "stopped";
|
|
598
602
|
}>>;
|
|
599
603
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
600
|
-
interrupted: "interrupted";
|
|
601
604
|
user: "user";
|
|
602
605
|
model: "model";
|
|
603
606
|
provider: "provider";
|
|
607
|
+
interrupted: "interrupted";
|
|
604
608
|
superseded: "superseded";
|
|
605
609
|
}>>;
|
|
606
610
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -615,9 +619,9 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
615
619
|
}, z.core.$strict>, z.ZodObject<{
|
|
616
620
|
kind: z.ZodLiteral<"turn.terminal">;
|
|
617
621
|
status: z.ZodEnum<{
|
|
618
|
-
interrupted: "interrupted";
|
|
619
|
-
failed: "failed";
|
|
620
622
|
success: "success";
|
|
623
|
+
failed: "failed";
|
|
624
|
+
interrupted: "interrupted";
|
|
621
625
|
}>;
|
|
622
626
|
resultType: z.ZodOptional<z.ZodString>;
|
|
623
627
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -643,9 +647,9 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
643
647
|
messageId: z.ZodOptional<z.ZodString>;
|
|
644
648
|
summaryMessageId: z.ZodOptional<z.ZodString>;
|
|
645
649
|
status: z.ZodEnum<{
|
|
646
|
-
interrupted: "interrupted";
|
|
647
|
-
completed: "completed";
|
|
648
650
|
failed: "failed";
|
|
651
|
+
completed: "completed";
|
|
652
|
+
interrupted: "interrupted";
|
|
649
653
|
}>;
|
|
650
654
|
trigger: z.ZodEnum<{
|
|
651
655
|
auto: "auto";
|
|
@@ -704,7 +708,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
704
708
|
turnId?: string | undefined;
|
|
705
709
|
} | {
|
|
706
710
|
kind: "stream.chunk";
|
|
707
|
-
channel: "
|
|
711
|
+
channel: "text" | "thought";
|
|
708
712
|
chunkLength: number;
|
|
709
713
|
firstChunk: boolean;
|
|
710
714
|
version: 1;
|
|
@@ -720,7 +724,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
720
724
|
turnId?: string | undefined;
|
|
721
725
|
} | {
|
|
722
726
|
kind: "tool.lifecycle";
|
|
723
|
-
phase: "
|
|
727
|
+
phase: "failed" | "completed" | "started" | "scheduled" | "progress";
|
|
724
728
|
toolCallId: string;
|
|
725
729
|
version: 1;
|
|
726
730
|
eventId: string;
|
|
@@ -739,7 +743,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
739
743
|
background?: boolean | undefined;
|
|
740
744
|
skillQualifiedName?: string | undefined;
|
|
741
745
|
skillPluginId?: string | undefined;
|
|
742
|
-
skillSource?: "plugin" | "
|
|
746
|
+
skillSource?: "plugin" | "dcode" | "remote" | "agents" | "bundled" | undefined;
|
|
743
747
|
performance?: {
|
|
744
748
|
totalMs?: number | undefined;
|
|
745
749
|
permissionWaitMs?: number | undefined;
|
|
@@ -752,7 +756,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
752
756
|
commandCategory?: string | undefined;
|
|
753
757
|
commandName?: string | undefined;
|
|
754
758
|
commandCount?: number | undefined;
|
|
755
|
-
commandStatus?: "
|
|
759
|
+
commandStatus?: "cancelled" | "failed" | "completed" | "timed_out" | "spawn_error" | "backgrounded" | undefined;
|
|
756
760
|
commandHash?: string | undefined;
|
|
757
761
|
fsReadMs?: number | undefined;
|
|
758
762
|
fsWriteMs?: number | undefined;
|
|
@@ -762,7 +766,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
762
766
|
maxFileBytes?: number | undefined;
|
|
763
767
|
hunkCount?: number | undefined;
|
|
764
768
|
matchAttempts?: number | undefined;
|
|
765
|
-
workspaceKind?: "unknown" | "
|
|
769
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
766
770
|
} | undefined;
|
|
767
771
|
automationId?: string | undefined;
|
|
768
772
|
memoryEnabled?: boolean | undefined;
|
|
@@ -836,15 +840,15 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
836
840
|
toolCallId?: string | undefined;
|
|
837
841
|
agentId?: string | undefined;
|
|
838
842
|
childSessionId?: string | undefined;
|
|
839
|
-
status?: "completed" | "
|
|
840
|
-
stopReason?: "
|
|
843
|
+
status?: "completed" | "errored" | "stopped" | undefined;
|
|
844
|
+
stopReason?: "user" | "model" | "provider" | "interrupted" | "superseded" | undefined;
|
|
841
845
|
errorMessage?: string | undefined;
|
|
842
846
|
memoryEnabled?: boolean | undefined;
|
|
843
847
|
sourceCommandId?: string | undefined;
|
|
844
848
|
turnId?: string | undefined;
|
|
845
849
|
} | {
|
|
846
850
|
kind: "turn.terminal";
|
|
847
|
-
status: "
|
|
851
|
+
status: "success" | "failed" | "interrupted";
|
|
848
852
|
version: 1;
|
|
849
853
|
eventId: string;
|
|
850
854
|
eventSeq: number;
|
|
@@ -866,7 +870,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
866
870
|
} | {
|
|
867
871
|
kind: "compaction.terminal";
|
|
868
872
|
operationId: string;
|
|
869
|
-
status: "
|
|
873
|
+
status: "failed" | "completed" | "interrupted";
|
|
870
874
|
trigger: "auto" | "manual" | "partial" | "reactive" | "session_memory";
|
|
871
875
|
version: 1;
|
|
872
876
|
eventId: string;
|
|
@@ -897,7 +901,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
897
901
|
occurredAt: number;
|
|
898
902
|
sessionId: string;
|
|
899
903
|
executionKind?: "agent" | "controlOnly" | undefined;
|
|
900
|
-
inputSource?: "subagent" | "
|
|
904
|
+
inputSource?: "subagent" | "fork" | "selection_side_chat" | "rewind" | "agent_listing_delta" | "background_task" | "goal_state_change" | "goal-continuation" | "plugin_reference" | "bot_topic_context" | "subagent_message" | "todo_reminder" | "workflow_launch" | "shared_context" | undefined;
|
|
901
905
|
backgroundSource?: "bash" | "subagent" | "workflow" | undefined;
|
|
902
906
|
automationId?: string | undefined;
|
|
903
907
|
offPeakTaskId?: string | undefined;
|
|
@@ -919,7 +923,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
919
923
|
occurredAt: number;
|
|
920
924
|
sessionId: string;
|
|
921
925
|
executionKind?: "agent" | "controlOnly" | undefined;
|
|
922
|
-
inputSource?: "subagent" | "
|
|
926
|
+
inputSource?: "subagent" | "fork" | "selection_side_chat" | "rewind" | "agent_listing_delta" | "background_task" | "goal_state_change" | "goal-continuation" | "plugin_reference" | "bot_topic_context" | "subagent_message" | "todo_reminder" | "workflow_launch" | "shared_context" | undefined;
|
|
923
927
|
backgroundSource?: "bash" | "subagent" | "workflow" | undefined;
|
|
924
928
|
automationId?: string | undefined;
|
|
925
929
|
offPeakTaskId?: string | undefined;
|
|
@@ -941,7 +945,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
941
945
|
occurredAt: number;
|
|
942
946
|
sessionId: string;
|
|
943
947
|
executionKind?: "agent" | "controlOnly" | undefined;
|
|
944
|
-
inputSource?: "subagent" | "
|
|
948
|
+
inputSource?: "subagent" | "fork" | "selection_side_chat" | "rewind" | "agent_listing_delta" | "background_task" | "goal_state_change" | "goal-continuation" | "plugin_reference" | "bot_topic_context" | "subagent_message" | "todo_reminder" | "workflow_launch" | "shared_context" | undefined;
|
|
945
949
|
backgroundSource?: "bash" | "subagent" | "workflow" | undefined;
|
|
946
950
|
automationId?: string | undefined;
|
|
947
951
|
offPeakTaskId?: string | undefined;
|
|
@@ -963,7 +967,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
963
967
|
occurredAt: number;
|
|
964
968
|
sessionId: string;
|
|
965
969
|
executionKind?: "agent" | "controlOnly" | undefined;
|
|
966
|
-
inputSource?: "subagent" | "
|
|
970
|
+
inputSource?: "subagent" | "fork" | "selection_side_chat" | "rewind" | "agent_listing_delta" | "background_task" | "goal_state_change" | "goal-continuation" | "plugin_reference" | "bot_topic_context" | "subagent_message" | "todo_reminder" | "workflow_launch" | "shared_context" | undefined;
|
|
967
971
|
backgroundSource?: "bash" | "subagent" | "workflow" | undefined;
|
|
968
972
|
automationId?: string | undefined;
|
|
969
973
|
offPeakTaskId?: string | undefined;
|
|
@@ -1004,7 +1008,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1004
1008
|
turnId?: string | undefined;
|
|
1005
1009
|
} | {
|
|
1006
1010
|
kind: "stream.chunk";
|
|
1007
|
-
channel: "
|
|
1011
|
+
channel: "text" | "thought";
|
|
1008
1012
|
chunkLength: number;
|
|
1009
1013
|
firstChunk: boolean;
|
|
1010
1014
|
version: 1;
|
|
@@ -1020,7 +1024,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1020
1024
|
turnId?: string | undefined;
|
|
1021
1025
|
} | {
|
|
1022
1026
|
kind: "tool.lifecycle";
|
|
1023
|
-
phase: "
|
|
1027
|
+
phase: "failed" | "completed" | "started" | "scheduled" | "progress";
|
|
1024
1028
|
toolCallId: string;
|
|
1025
1029
|
version: 1;
|
|
1026
1030
|
eventId: string;
|
|
@@ -1039,7 +1043,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1039
1043
|
background?: boolean | undefined;
|
|
1040
1044
|
skillQualifiedName?: string | undefined;
|
|
1041
1045
|
skillPluginId?: string | undefined;
|
|
1042
|
-
skillSource?: "plugin" | "
|
|
1046
|
+
skillSource?: "plugin" | "dcode" | "remote" | "agents" | "bundled" | undefined;
|
|
1043
1047
|
performance?: {
|
|
1044
1048
|
totalMs?: number | undefined;
|
|
1045
1049
|
permissionWaitMs?: number | undefined;
|
|
@@ -1052,7 +1056,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1052
1056
|
commandCategory?: string | undefined;
|
|
1053
1057
|
commandName?: string | undefined;
|
|
1054
1058
|
commandCount?: number | undefined;
|
|
1055
|
-
commandStatus?: "
|
|
1059
|
+
commandStatus?: "cancelled" | "failed" | "completed" | "timed_out" | "spawn_error" | "backgrounded" | undefined;
|
|
1056
1060
|
commandHash?: string | undefined;
|
|
1057
1061
|
fsReadMs?: number | undefined;
|
|
1058
1062
|
fsWriteMs?: number | undefined;
|
|
@@ -1062,7 +1066,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1062
1066
|
maxFileBytes?: number | undefined;
|
|
1063
1067
|
hunkCount?: number | undefined;
|
|
1064
1068
|
matchAttempts?: number | undefined;
|
|
1065
|
-
workspaceKind?: "unknown" | "
|
|
1069
|
+
workspaceKind?: "unknown" | "local" | "remote" | undefined;
|
|
1066
1070
|
} | undefined;
|
|
1067
1071
|
automationId?: string | undefined;
|
|
1068
1072
|
memoryEnabled?: boolean | undefined;
|
|
@@ -1136,15 +1140,15 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1136
1140
|
toolCallId?: string | undefined;
|
|
1137
1141
|
agentId?: string | undefined;
|
|
1138
1142
|
childSessionId?: string | undefined;
|
|
1139
|
-
status?: "completed" | "
|
|
1140
|
-
stopReason?: "
|
|
1143
|
+
status?: "completed" | "errored" | "stopped" | undefined;
|
|
1144
|
+
stopReason?: "user" | "model" | "provider" | "interrupted" | "superseded" | undefined;
|
|
1141
1145
|
errorMessage?: string | undefined;
|
|
1142
1146
|
memoryEnabled?: boolean | undefined;
|
|
1143
1147
|
sourceCommandId?: string | undefined;
|
|
1144
1148
|
turnId?: string | undefined;
|
|
1145
1149
|
} | {
|
|
1146
1150
|
kind: "turn.terminal";
|
|
1147
|
-
status: "
|
|
1151
|
+
status: "success" | "failed" | "interrupted";
|
|
1148
1152
|
version: 1;
|
|
1149
1153
|
eventId: string;
|
|
1150
1154
|
eventSeq: number;
|
|
@@ -1166,7 +1170,7 @@ export declare const conversationTelemetryFactSchema: z.ZodPipe<z.ZodDiscriminat
|
|
|
1166
1170
|
} | {
|
|
1167
1171
|
kind: "compaction.terminal";
|
|
1168
1172
|
operationId: string;
|
|
1169
|
-
status: "
|
|
1173
|
+
status: "failed" | "completed" | "interrupted";
|
|
1170
1174
|
trigger: "auto" | "manual" | "partial" | "reactive" | "session_memory";
|
|
1171
1175
|
version: 1;
|
|
1172
1176
|
eventId: string;
|