@dipoleml/dcode-cli 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD-PARTY-NOTICES.md +1081 -12
- package/dist/dcode.cjs +59368 -45608
- package/dist/packages/browser-use-plugin/README.md +12 -12
- package/dist/packages/browser-use-plugin/docs/api.json +1 -1
- package/dist/packages/browser-use-plugin/docs/overview.md +5 -4
- package/dist/packages/browser-use-plugin/docs/workflow.md +1 -1
- package/dist/packages/browser-use-plugin/scripts/build.mjs +1 -0
- package/dist/packages/browser-use-plugin/skills/control-browser/SKILL.md +10 -7
- package/dist/packages/bundled-skills/skills/dynamic-workflows/SKILL.md +760 -687
- package/dist/packages/bundled-skills/skills/dynamic-workflows/examples.md +310 -1
- package/dist/packages/bundled-skills/skills/dynamic-workflows/patterns.md +336 -4
- package/dist/packages/node-repl-host/.dcode-plugin/plugin.json +1 -1
- package/dist/packages/node-repl-host/dist/mcp/server.js +9 -14
- package/dist/packages/node-repl-host/scripts/build.mjs +1 -0
- package/dist/provider/dcode-builtin.json +6612 -202
- package/node_modules/@dcode/contracts/dist/compact/index.d.ts +7 -7
- package/node_modules/@dcode/contracts/dist/config/index.d.ts +1 -1
- package/node_modules/@dcode/contracts/dist/events/event-reducer.js +1 -0
- package/node_modules/@dcode/contracts/dist/events/in-memory-session-event-store.js +3 -2
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.d.ts +8 -0
- package/node_modules/@dcode/contracts/dist/events/session-event-retention.js +18 -0
- package/node_modules/@dcode/contracts/dist/events/session.events.d.ts +94 -16
- package/node_modules/@dcode/contracts/dist/events/session.events.js +10 -0
- package/node_modules/@dcode/contracts/dist/hooks/index.d.ts +134 -134
- package/node_modules/@dcode/contracts/dist/hooks/workspace-hook-trust.d.ts +14 -14
- package/node_modules/@dcode/contracts/dist/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/index.js +2 -0
- package/node_modules/@dcode/contracts/dist/interfaces/browser-control.port.d.ts +22 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.d.ts +92 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.js +9 -0
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.js +7 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-workspace.port.js +8 -3
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.d.ts +119 -18
- package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.js +13 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.d.ts +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/index.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.d.ts +161 -1
- package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.js +17 -0
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.d.ts +15 -15
- package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.js +1 -1
- package/node_modules/@dcode/contracts/dist/interfaces/permission.port.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.d.ts +19 -0
- package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.d.ts +4 -2
- package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.js +5 -0
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.d.ts +92 -3
- package/node_modules/@dcode/contracts/dist/interfaces/session.port.js +4 -1
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.d.ts +25 -0
- package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.js +1 -0
- package/node_modules/@dcode/contracts/dist/model/index.d.ts +15 -1
- package/node_modules/@dcode/contracts/dist/model/index.js +5 -0
- package/node_modules/@dcode/contracts/dist/model/invocation-context.d.ts +6 -1
- package/node_modules/@dcode/contracts/dist/plugins/index.d.ts +23 -0
- package/node_modules/@dcode/contracts/dist/plugins/index.js +2 -1
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.js +2 -0
- package/node_modules/@dcode/contracts/dist/telemetry/index.d.ts +5 -1
- package/node_modules/@dcode/contracts/dist/telemetry/index.js +12 -0
- package/node_modules/@dcode/contracts/dist/tools/agent.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.d.ts +39 -15
- package/node_modules/@dcode/contracts/dist/tools/amend-workflow.js +12 -6
- package/node_modules/@dcode/contracts/dist/tools/automation.d.ts +32 -32
- package/node_modules/@dcode/contracts/dist/tools/automation.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/bash.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/bash.js +1 -1
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.d.ts +365 -66
- package/node_modules/@dcode/contracts/dist/tools/create-workflow.js +92 -11
- package/node_modules/@dcode/contracts/dist/tools/edit.d.ts +16 -16
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.js +5 -1
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.d.ts +729 -0
- package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.js +102 -0
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.d.ts +136 -28
- package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.js +36 -0
- package/node_modules/@dcode/contracts/dist/tools/grep.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/grep.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/index.d.ts +2 -0
- package/node_modules/@dcode/contracts/dist/tools/index.js +4 -0
- package/node_modules/@dcode/contracts/dist/tools/list-saved-workflows.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/list-workflow-runs.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/node-repl.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/off-peak.d.ts +3 -3
- package/node_modules/@dcode/contracts/dist/tools/off-peak.js +2 -2
- package/node_modules/@dcode/contracts/dist/tools/performance.d.ts +22 -22
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.d.ts +12 -12
- package/node_modules/@dcode/contracts/dist/tools/plan-mode.js +6 -4
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.d.ts +86 -13
- package/node_modules/@dcode/contracts/dist/tools/read-session-context.js +37 -6
- package/node_modules/@dcode/contracts/dist/tools/read.d.ts +38 -38
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.d.ts +21 -10
- package/node_modules/@dcode/contracts/dist/tools/save-workflow.js +22 -2
- package/node_modules/@dcode/contracts/dist/tools/saved-workflow.d.ts +4 -4
- package/node_modules/@dcode/contracts/dist/tools/send-message.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/skill.js +1 -0
- package/node_modules/@dcode/contracts/dist/tools/task-output.d.ts +6 -6
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.d.ts +1228 -259
- package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.js +41 -0
- package/node_modules/@dcode/contracts/dist/tools/webfetch.d.ts +2 -2
- package/node_modules/@dcode/contracts/dist/tools/workflow-observation-display.d.ts +20 -20
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.d.ts +55 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow-settings.js +86 -0
- package/node_modules/@dcode/contracts/dist/tools/workflow.d.ts +8 -8
- package/node_modules/@dcode/contracts/dist/tools/write.d.ts +18 -18
- package/node_modules/@dcode/contracts/dist/workflow/index.d.ts +98 -98
- package/node_modules/@dcode/contracts/dist/workflow/script.d.ts +12 -12
- package/node_modules/@dcode/i18n/dist/index.js +2 -2
- package/node_modules/@dcode/i18n/dist/locale.d.ts +1 -1
- package/node_modules/@dcode/i18n/dist/locale.js +4 -4
- package/node_modules/@dcode/i18n/dist/locales/en-US.js +5 -5
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.d.ts +3 -0
- package/node_modules/@dcode/i18n/dist/locales/fr-CA.js +354 -0
- package/node_modules/@dcode/model-option-map/package.json +1 -1
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/api-key-usage-scene.js +6 -0
- package/node_modules/@dcode/shared/dist/attachment-source.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/attachment-source.js +4 -0
- package/node_modules/@dcode/shared/dist/background-bash-output.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/bots.d.ts +763 -15
- package/node_modules/@dcode/shared/dist/bots.js +236 -2
- package/node_modules/@dcode/shared/dist/browser-use/command-metadata.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/browser-use/commands.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/browser-use/commands.js +3 -1
- package/node_modules/@dcode/shared/dist/browser-use/nodeReplBroker.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/browser-use/result.d.ts +6 -6
- package/node_modules/@dcode/shared/dist/channel-mention.d.ts +173 -0
- package/node_modules/@dcode/shared/dist/channel-mention.js +120 -0
- package/node_modules/@dcode/shared/dist/channels.d.ts +128 -1
- package/node_modules/@dcode/shared/dist/channels.js +66 -0
- package/node_modules/@dcode/shared/dist/clientConfig.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/clientConfig.js +18 -2
- package/node_modules/@dcode/shared/dist/cloudContent.d.ts +160 -0
- package/node_modules/@dcode/shared/dist/cloudContent.js +116 -0
- package/node_modules/@dcode/shared/dist/coding-plan-subscription.d.ts +59 -0
- package/node_modules/@dcode/shared/dist/conversation-message-projection-policy.js +2 -0
- package/node_modules/@dcode/shared/dist/conversation-share.d.ts +351 -47
- package/node_modules/@dcode/shared/dist/conversation-share.js +8 -6
- package/node_modules/@dcode/shared/dist/conversationSelection.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/conversationSelection.js +30 -0
- package/node_modules/@dcode/shared/dist/database-startup.d.ts +5 -5
- package/node_modules/@dcode/shared/dist/dcode-agent-model-state.js +14 -6
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.d.ts +16 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-policy.js +17 -1
- package/node_modules/@dcode/shared/dist/dcode-agent-runtime.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +1733 -318
- package/node_modules/@dcode/shared/dist/dcode-protocol/index.js +555 -24
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol/trace.js +10 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.d.ts +30 -20
- package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/apply.js +12 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.d.ts +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.js +3 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +359 -28
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.js +67 -45
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +170 -65
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.d.ts +20 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.js +15 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.d.ts +34 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.js +45 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.d.ts +1453 -278
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.js +45 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.js +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.d.ts +173 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.js +29 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.d.ts +731 -125
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.js +23 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.d.ts +30 -11
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.js +35 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index.d.ts +40 -25
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.d.ts +1444 -216
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.js +3 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.d.ts +1 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/telemetry.d.ts +62 -58
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.d.ts +185 -50
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.js +31 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +7145 -1002
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.js +18 -5
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-assembler.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-fault.js +4 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-reassembly.js +5 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.d.ts +29 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.js +64 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.js +23 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-observation-display.d.ts +14 -14
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.d.ts +52 -8
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.js +22 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.js +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.d.ts +21 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.js +44 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.js +3 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-caps.js +5 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.d.ts +26 -19
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.js +40 -32
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.d.ts +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.js +4 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.js +44 -6
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.d.ts +2 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.js +17 -10
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.d.ts +33 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.js +202 -0
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.js +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-phases.js +10 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.js +29 -22
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-started.js +5 -2
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-tables.js +2 -1
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-unlisted.js +6 -3
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.d.ts +125 -40
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.js +101 -26
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-workspace.d.ts +4 -4
- package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workspace-hook-review.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/dcode-session-content-profile.js +49 -0
- package/node_modules/@dcode/shared/dist/dcode-slash-command-help.js +4 -4
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.js +13 -1
- package/node_modules/@dcode/shared/dist/dcode-task-types-core.d.ts +12 -2
- package/node_modules/@dcode/shared/dist/dcode-task-types.d.ts +23 -0
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +20 -1
- package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +98 -17
- package/node_modules/@dcode/shared/dist/desktopMenu.js +48 -48
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.d.ts +35 -6
- package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.js +45 -6
- package/node_modules/@dcode/shared/dist/env.d.ts +5 -4
- package/node_modules/@dcode/shared/dist/env.js +9 -9
- package/node_modules/@dcode/shared/dist/errors.d.ts +24 -0
- package/node_modules/@dcode/shared/dist/errors.js +54 -0
- package/node_modules/@dcode/shared/dist/execution-state.d.ts +4 -2
- package/node_modules/@dcode/shared/dist/execution-state.js +1 -1
- package/node_modules/@dcode/shared/dist/feedback.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/gen-ui/contract.d.ts +140 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.example.js +36 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.js +196 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/contract.test.js +75 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/index.js +2 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.d.ts +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/module.js +7 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.d.ts +202 -0
- package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.js +126 -0
- package/node_modules/@dcode/shared/dist/helpAppConfig.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/helpAppConfig.js +2 -2
- package/node_modules/@dcode/shared/dist/highspeed.d.ts +181 -0
- package/node_modules/@dcode/shared/dist/highspeed.js +112 -0
- package/node_modules/@dcode/shared/dist/index.d.ts +27 -5
- package/node_modules/@dcode/shared/dist/index.js +24 -2
- package/node_modules/@dcode/shared/dist/localTtft.d.ts +27 -27
- package/node_modules/@dcode/shared/dist/marketingTouch.d.ts +930 -0
- package/node_modules/@dcode/shared/dist/marketingTouch.js +170 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.d.ts +83 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/appTools.js +124 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/content.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.d.ts +241 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.js +42 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.js +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.js +64 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.d.ts +47 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.js +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/index.js +9 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/instance.js +11 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.d.ts +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/module.js +12 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.js +73 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.d.ts +101 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.js +107 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.js +55 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.d.ts +78 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/schemas.js +65 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.d.ts +39 -0
- package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.js +199 -0
- package/node_modules/@dcode/shared/dist/mcp.d.ts +6 -2
- package/node_modules/@dcode/shared/dist/memory.d.ts +9 -0
- package/node_modules/@dcode/shared/dist/memory.js +2 -0
- package/node_modules/@dcode/shared/dist/model-execution.d.ts +31 -0
- package/node_modules/@dcode/shared/dist/model-execution.js +38 -0
- package/node_modules/@dcode/shared/dist/networkCapture.d.ts +49 -0
- package/node_modules/@dcode/shared/dist/networkCapture.js +41 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.d.ts +6 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.js +16 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node/genUiPaths.test.js +30 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/node/networkCapture.js +96 -0
- package/node_modules/@dcode/shared/dist/node/officialPluginCache.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node/subagentMarkdownMigration.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/node.d.ts +2 -0
- package/node_modules/@dcode/shared/dist/node.js +2 -0
- package/node_modules/@dcode/shared/dist/output-style.d.ts +17 -0
- package/node_modules/@dcode/shared/dist/output-style.js +2 -0
- package/node_modules/@dcode/shared/dist/platform.d.ts +149 -1
- package/node_modules/@dcode/shared/dist/platform.js +2 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.d.ts +61 -0
- package/node_modules/@dcode/shared/dist/platformUpdate.js +2 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.d.ts +5 -0
- package/node_modules/@dcode/shared/dist/plugin-marketplaces.js +20 -14
- package/node_modules/@dcode/shared/dist/project-access-token-client.d.ts +42 -0
- package/node_modules/@dcode/shared/dist/project-access-token-client.js +260 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/project-access-token-response.js +9 -0
- package/node_modules/@dcode/shared/dist/project-access-token.d.ts +45 -0
- package/node_modules/@dcode/shared/dist/project-access-token.js +164 -0
- package/node_modules/@dcode/shared/dist/protocol.d.ts +41 -4
- package/node_modules/@dcode/shared/dist/protocol.js +1 -1
- package/node_modules/@dcode/shared/dist/provider-provisioning.d.ts +26 -2
- package/node_modules/@dcode/shared/dist/provider-provisioning.js +19 -3
- package/node_modules/@dcode/shared/dist/providers.d.ts +1 -2
- package/node_modules/@dcode/shared/dist/providers.js +1 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.d.ts +6 -1
- package/node_modules/@dcode/shared/dist/remote-workspace-identity.js +35 -1
- package/node_modules/@dcode/shared/dist/remoteAppConfig.js +1 -1
- package/node_modules/@dcode/shared/dist/remoteEnvironmentKey.js +19 -0
- package/node_modules/@dcode/shared/dist/remoteTarget.d.ts +14 -1
- package/node_modules/@dcode/shared/dist/remoteTarget.js +4 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.d.ts +27 -0
- package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.js +43 -0
- package/node_modules/@dcode/shared/dist/rendererActionTrace.d.ts +35 -35
- package/node_modules/@dcode/shared/dist/request-security-edition/index.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/index.js +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.d.ts +3 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/policy.js +5 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.d.ts +19 -0
- package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.js +29 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/rewardsBridge.js +80 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.d.ts +37 -0
- package/node_modules/@dcode/shared/dist/rewardsEmbedded.js +50 -0
- package/node_modules/@dcode/shared/dist/sessionCreateTelemetry.d.ts +3 -3
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.js +212 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.d.ts +10 -0
- package/node_modules/@dcode/shared/dist/subagent-profile-parser.js +200 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.d.ts +82 -0
- package/node_modules/@dcode/shared/dist/subagent-profile.js +28 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.d.ts +135 -0
- package/node_modules/@dcode/shared/dist/subagent-runtime-config.js +39 -0
- package/node_modules/@dcode/shared/dist/subagents-types.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/task-realtime-core.d.ts +57 -24
- package/node_modules/@dcode/shared/dist/task-realtime-core.js +8 -2
- package/node_modules/@dcode/shared/dist/test-ids-workflow.d.ts +4 -0
- package/node_modules/@dcode/shared/dist/test-ids-workflow.js +5 -0
- package/node_modules/@dcode/shared/dist/test-ids.d.ts +25 -0
- package/node_modules/@dcode/shared/dist/test-ids.js +25 -0
- package/node_modules/@dcode/shared/dist/tool-identity.d.ts +1 -1
- package/node_modules/@dcode/shared/dist/tool-identity.js +4 -0
- package/node_modules/@dcode/shared/dist/tool-plan-adapter.js +14 -1
- package/node_modules/@dcode/shared/dist/usage-stats.d.ts +13 -0
- package/node_modules/@dcode/shared/dist/validation.d.ts +1461 -85
- package/node_modules/@dcode/shared/dist/validation.js +423 -14
- package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +71 -15
- package/node_modules/@dcode/shared/dist/validationAppSettings.js +74 -12
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.d.ts +8 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.js +40 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.d.ts +183 -0
- package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.js +562 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.d.ts +645 -0
- package/node_modules/@dcode/shared/dist/web-remote-control.js +174 -0
- package/node_modules/@dcode/shared/package.json +5 -2
- package/node_modules/@dcode/tui/dist/app-approval-panel.js +3 -2
- package/node_modules/@dcode/tui/dist/app-approval.d.ts +3 -1
- package/node_modules/@dcode/tui/dist/app-approval.js +9 -5
- package/node_modules/@dcode/tui/dist/app-compact-timeline.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-compact-timeline.js +5 -2
- package/node_modules/@dcode/tui/dist/app-empty-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-empty-transcript.js +1 -1
- package/node_modules/@dcode/tui/dist/app-file-mentions.d.ts +2 -0
- package/node_modules/@dcode/tui/dist/app-file-mentions.js +2 -2
- package/node_modules/@dcode/tui/dist/app-input-pane.d.ts +38 -0
- package/node_modules/@dcode/tui/dist/app-input-pane.js +19 -19
- package/node_modules/@dcode/tui/dist/app-input-status.d.ts +17 -0
- package/node_modules/@dcode/tui/dist/app-input-status.js +4 -4
- package/node_modules/@dcode/tui/dist/app-input.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-input.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.d.ts +2 -1
- package/node_modules/@dcode/tui/dist/app-markdown-theme.js +1 -1
- package/node_modules/@dcode/tui/dist/app-markdown.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-markdown.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode-command.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-mode-command.js +4 -4
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.d.ts +5 -0
- package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.js +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.d.ts +1 -1
- package/node_modules/@dcode/tui/dist/app-mode.js +1 -1
- package/node_modules/@dcode/tui/dist/app-model-ref.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-model-ref.js +1 -1
- package/node_modules/@dcode/tui/dist/app-motion.d.ts +13 -0
- package/node_modules/@dcode/tui/dist/app-motion.js +17 -7
- package/node_modules/@dcode/tui/dist/app-session-event-handler.d.ts +33 -0
- package/node_modules/@dcode/tui/dist/app-session-event-handler.js +4 -4
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-shiki-diff-view.js +3 -3
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/app-shiki-highlighter.js +7 -2
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.d.ts +10 -0
- package/node_modules/@dcode/tui/dist/app-sidebar-layout.js +4 -4
- package/node_modules/@dcode/tui/dist/app-submit.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-submit.js +1 -1
- package/node_modules/@dcode/tui/dist/app-thought-components.d.ts +7 -0
- package/node_modules/@dcode/tui/dist/app-thought-components.js +2 -2
- package/node_modules/@dcode/tui/dist/app-tool-transcript.d.ts +1 -0
- package/node_modules/@dcode/tui/dist/app-tool-transcript.js +3 -0
- package/node_modules/@dcode/tui/dist/app-view.d.ts +27 -0
- package/node_modules/@dcode/tui/dist/app-view.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-card.js +1 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.d.ts +18 -1
- package/node_modules/@dcode/tui/dist/app-workflow-seed.js +4 -4
- package/node_modules/@dcode/tui/dist/index.js +5118 -2579
- package/node_modules/@dcode/tui/dist/tui.d.ts +3 -0
- package/node_modules/@dcode/tui/dist/tui.js +1 -1
- package/node_modules/@dcode/tui/dist/types.d.ts +1 -1
- package/node_modules/oniguruma-parser/LICENSE +1 -1
- package/node_modules/oniguruma-parser/README.md +15 -61
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +4 -4
- package/node_modules/oniguruma-parser/dist/parser/parse.js +1 -1
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +1 -1
- package/node_modules/oniguruma-parser/package.json +5 -5
- package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +121 -120
- package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1 -3
- package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +2 -2
- package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +3 -5
- package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +1 -1
- package/node_modules/oniguruma-to-es/dist/index.min.js +6 -6
- package/node_modules/oniguruma-to-es/package.json +5 -5
- package/package.json +5 -5
|
@@ -3,7 +3,8 @@ import type { Locale } from "./protocol.js";
|
|
|
3
3
|
import { type ConversationRow } from "./dcode-protocol-v4/rows.js";
|
|
4
4
|
/**
|
|
5
5
|
* 解析分享页 pathname,返回未解码的 code 段与该路径对应的语言。
|
|
6
|
-
* 只认 `/share/<code>`
|
|
6
|
+
* 只认 `/share/<code>`、`/fr/share/<code>` 与历史 `/cn/share/<code>` 三种形状;
|
|
7
|
+
* 调用方负责 code 的解码与安全校验。
|
|
7
8
|
*/
|
|
8
9
|
export declare function parseConversationSharePathname(pathname: string): {
|
|
9
10
|
rawCode: string;
|
|
@@ -64,8 +65,8 @@ export declare const conversationShareArtifactDescriptorSchema: z.ZodObject<{
|
|
|
64
65
|
state: z.ZodLiteral<"current">;
|
|
65
66
|
ref: z.ZodString;
|
|
66
67
|
artifact_type: z.ZodEnum<{
|
|
67
|
-
image: "image";
|
|
68
68
|
text: "text";
|
|
69
|
+
image: "image";
|
|
69
70
|
pdf: "pdf";
|
|
70
71
|
pptx: "pptx";
|
|
71
72
|
docx: "docx";
|
|
@@ -90,8 +91,8 @@ export declare const conversationShareInboundArtifactDescriptorSchema: z.ZodObje
|
|
|
90
91
|
state: z.ZodLiteral<"current">;
|
|
91
92
|
ref: z.ZodString;
|
|
92
93
|
artifact_type: z.ZodEnum<{
|
|
93
|
-
image: "image";
|
|
94
94
|
text: "text";
|
|
95
|
+
image: "image";
|
|
95
96
|
pdf: "pdf";
|
|
96
97
|
pptx: "pptx";
|
|
97
98
|
docx: "docx";
|
|
@@ -138,8 +139,8 @@ export declare const conversationShareCapabilitiesDataSchema: z.ZodObject<{
|
|
|
138
139
|
}>>;
|
|
139
140
|
allowed_artifacts: z.ZodArray<z.ZodObject<{
|
|
140
141
|
type: z.ZodEnum<{
|
|
141
|
-
image: "image";
|
|
142
142
|
text: "text";
|
|
143
|
+
image: "image";
|
|
143
144
|
pdf: "pdf";
|
|
144
145
|
pptx: "pptx";
|
|
145
146
|
docx: "docx";
|
|
@@ -267,6 +268,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
267
268
|
startedAt: z.ZodNumber;
|
|
268
269
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
269
270
|
activeMs: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
274
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
270
275
|
workSegments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
271
276
|
segmentId: z.ZodString;
|
|
272
277
|
triggerEntityId: z.ZodOptional<z.ZodString>;
|
|
@@ -276,8 +281,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
276
281
|
}, z.core.$strip>>>;
|
|
277
282
|
originMeta: z.ZodOptional<z.ZodObject<{
|
|
278
283
|
backgroundSource: z.ZodEnum<{
|
|
279
|
-
subagent: "subagent";
|
|
280
284
|
bash: "bash";
|
|
285
|
+
subagent: "subagent";
|
|
281
286
|
workflow: "workflow";
|
|
282
287
|
}>;
|
|
283
288
|
workId: z.ZodString;
|
|
@@ -286,13 +291,13 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
286
291
|
kind: z.ZodLiteral<"terminal">;
|
|
287
292
|
status: z.ZodEnum<{
|
|
288
293
|
completed: "completed";
|
|
289
|
-
stopped: "stopped";
|
|
290
294
|
errored: "errored";
|
|
295
|
+
stopped: "stopped";
|
|
291
296
|
}>;
|
|
292
297
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
293
|
-
provider: "provider";
|
|
294
|
-
model: "model";
|
|
295
298
|
user: "user";
|
|
299
|
+
model: "model";
|
|
300
|
+
provider: "provider";
|
|
296
301
|
interrupted: "interrupted";
|
|
297
302
|
superseded: "superseded";
|
|
298
303
|
}>>;
|
|
@@ -334,6 +339,18 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
334
339
|
question: z.ZodString;
|
|
335
340
|
context: z.ZodOptional<z.ZodString>;
|
|
336
341
|
askedAt: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
343
|
+
kind: z.ZodLiteral<"hole">;
|
|
344
|
+
siteId: z.ZodString;
|
|
345
|
+
ordinal: z.ZodNumber;
|
|
346
|
+
name: z.ZodString;
|
|
347
|
+
type: z.ZodString;
|
|
348
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
349
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
350
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
before: z.ZodOptional<z.ZodString>;
|
|
352
|
+
after: z.ZodOptional<z.ZodString>;
|
|
353
|
+
reachedAt: z.ZodOptional<z.ZodNumber>;
|
|
337
354
|
}, z.core.$strip>, z.ZodObject<{
|
|
338
355
|
kind: z.ZodLiteral<"stall">;
|
|
339
356
|
sinceMs: z.ZodNumber;
|
|
@@ -368,6 +385,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
368
385
|
kind: z.ZodEnum<{
|
|
369
386
|
ask: "ask";
|
|
370
387
|
"world-read": "world-read";
|
|
388
|
+
hole: "hole";
|
|
371
389
|
}>;
|
|
372
390
|
label: z.ZodString;
|
|
373
391
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -384,6 +402,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
384
402
|
stack: "stack";
|
|
385
403
|
serial: "serial";
|
|
386
404
|
}>>;
|
|
405
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
387
406
|
}, z.core.$strict>>;
|
|
388
407
|
lanes: z.ZodArray<z.ZodObject<{
|
|
389
408
|
id: z.ZodString;
|
|
@@ -418,17 +437,35 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
418
437
|
line: z.ZodOptional<z.ZodNumber>;
|
|
419
438
|
column: z.ZodOptional<z.ZodNumber>;
|
|
420
439
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
440
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
421
441
|
}, z.core.$strict>>>;
|
|
422
442
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
423
443
|
from: z.ZodString;
|
|
424
444
|
to: z.ZodString;
|
|
425
445
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
426
446
|
}, z.core.$strict>>>;
|
|
447
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
448
|
+
from: z.ZodString;
|
|
449
|
+
to: z.ZodString;
|
|
450
|
+
}, z.core.$strict>>>;
|
|
451
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
|
+
siteId: z.ZodString;
|
|
453
|
+
name: z.ZodString;
|
|
454
|
+
type: z.ZodString;
|
|
455
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
456
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
457
|
+
}, z.core.$strict>>>;
|
|
427
458
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
428
459
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
429
460
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
430
461
|
}, z.core.$strict>>;
|
|
431
462
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
463
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
464
|
+
siteId: z.ZodString;
|
|
465
|
+
name: z.ZodString;
|
|
466
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
467
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
468
|
+
}, z.core.$strict>>;
|
|
432
469
|
}, z.core.$strict>>>;
|
|
433
470
|
script: z.ZodOptional<z.ZodString>;
|
|
434
471
|
amend: z.ZodOptional<z.ZodObject<{
|
|
@@ -472,6 +509,126 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
472
509
|
}, z.core.$strip>>;
|
|
473
510
|
}, z.core.$strip>, z.ZodObject<{
|
|
474
511
|
kind: z.ZodLiteral<"userInput">;
|
|
512
|
+
inputOrigin: z.ZodOptional<z.ZodEnum<{
|
|
513
|
+
desktop: "desktop";
|
|
514
|
+
mobile: "mobile";
|
|
515
|
+
}>>;
|
|
516
|
+
botGroupSource: z.ZodOptional<z.ZodObject<{
|
|
517
|
+
botIdentity: z.ZodOptional<z.ZodObject<{
|
|
518
|
+
name: z.ZodString;
|
|
519
|
+
openId: z.ZodOptional<z.ZodString>;
|
|
520
|
+
}, z.core.$strict>>;
|
|
521
|
+
appId: z.ZodOptional<z.ZodString>;
|
|
522
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
523
|
+
type: z.ZodLiteral<"text">;
|
|
524
|
+
text: z.ZodString;
|
|
525
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
526
|
+
type: z.ZodLiteral<"channelMention">;
|
|
527
|
+
refId: z.ZodString;
|
|
528
|
+
name: z.ZodString;
|
|
529
|
+
channel: z.ZodEnum<{
|
|
530
|
+
feishu: "feishu";
|
|
531
|
+
lark: "lark";
|
|
532
|
+
}>;
|
|
533
|
+
targetId: z.ZodString;
|
|
534
|
+
idType: z.ZodLiteral<"open_id">;
|
|
535
|
+
entityType: z.ZodEnum<{
|
|
536
|
+
unknown: "unknown";
|
|
537
|
+
user: "user";
|
|
538
|
+
bot: "bot";
|
|
539
|
+
}>;
|
|
540
|
+
}, z.core.$strict>]>>>;
|
|
541
|
+
authorizationId: z.ZodOptional<z.ZodString>;
|
|
542
|
+
botId: z.ZodString;
|
|
543
|
+
provider: z.ZodEnum<{
|
|
544
|
+
feishu: "feishu";
|
|
545
|
+
lark: "lark";
|
|
546
|
+
}>;
|
|
547
|
+
chatId: z.ZodString;
|
|
548
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
549
|
+
rootMessageId: z.ZodOptional<z.ZodString>;
|
|
550
|
+
senderId: z.ZodString;
|
|
551
|
+
senderName: z.ZodString;
|
|
552
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
+
messageId: z.ZodString;
|
|
554
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
555
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
556
|
+
type: z.ZodLiteral<"text">;
|
|
557
|
+
text: z.ZodString;
|
|
558
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
559
|
+
type: z.ZodLiteral<"channelMention">;
|
|
560
|
+
refId: z.ZodString;
|
|
561
|
+
name: z.ZodString;
|
|
562
|
+
channel: z.ZodEnum<{
|
|
563
|
+
feishu: "feishu";
|
|
564
|
+
lark: "lark";
|
|
565
|
+
}>;
|
|
566
|
+
targetId: z.ZodString;
|
|
567
|
+
idType: z.ZodLiteral<"open_id">;
|
|
568
|
+
entityType: z.ZodEnum<{
|
|
569
|
+
unknown: "unknown";
|
|
570
|
+
user: "user";
|
|
571
|
+
bot: "bot";
|
|
572
|
+
}>;
|
|
573
|
+
}, z.core.$strict>]>>>;
|
|
574
|
+
messageId: z.ZodString;
|
|
575
|
+
senderId: z.ZodString;
|
|
576
|
+
senderName: z.ZodString;
|
|
577
|
+
mentionedBot: z.ZodOptional<z.ZodBoolean>;
|
|
578
|
+
text: z.ZodString;
|
|
579
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
580
|
+
text: z.ZodString;
|
|
581
|
+
path: z.ZodOptional<z.ZodString>;
|
|
582
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
583
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
584
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
585
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
586
|
+
}, z.core.$strip>>>;
|
|
587
|
+
attachmentIndexes: z.ZodArray<z.ZodNumber>;
|
|
588
|
+
}, z.core.$strict>>>;
|
|
589
|
+
topicContext: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
591
|
+
id: z.ZodString;
|
|
592
|
+
chatId: z.ZodString;
|
|
593
|
+
threadId: z.ZodString;
|
|
594
|
+
senderId: z.ZodString;
|
|
595
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
596
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
597
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
598
|
+
name: z.ZodString;
|
|
599
|
+
kind: z.ZodString;
|
|
600
|
+
}, z.core.$strict>>>;
|
|
601
|
+
senderType: z.ZodEnum<{
|
|
602
|
+
user: "user";
|
|
603
|
+
app: "app";
|
|
604
|
+
}>;
|
|
605
|
+
text: z.ZodString;
|
|
606
|
+
createdAt: z.ZodNumber;
|
|
607
|
+
kind: z.ZodString;
|
|
608
|
+
controlCard: z.ZodOptional<z.ZodBoolean>;
|
|
609
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
610
|
+
}, z.core.$strict>>;
|
|
611
|
+
checkpoint: z.ZodString;
|
|
612
|
+
hasGap: z.ZodBoolean;
|
|
613
|
+
}, z.core.$strict>>;
|
|
614
|
+
topicHistory: z.ZodOptional<z.ZodObject<{
|
|
615
|
+
checkpoint: z.ZodString;
|
|
616
|
+
hasGap: z.ZodBoolean;
|
|
617
|
+
messageCount: z.ZodNumber;
|
|
618
|
+
resourceMessages: z.ZodArray<z.ZodObject<{
|
|
619
|
+
messageId: z.ZodString;
|
|
620
|
+
count: z.ZodNumber;
|
|
621
|
+
}, z.core.$strict>>;
|
|
622
|
+
}, z.core.$strict>>;
|
|
623
|
+
}, z.core.$strict>>;
|
|
624
|
+
conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
|
+
text: z.ZodString;
|
|
626
|
+
path: z.ZodOptional<z.ZodString>;
|
|
627
|
+
senderName: z.ZodOptional<z.ZodString>;
|
|
628
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
629
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
630
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
631
|
+
}, z.core.$strip>>>;
|
|
475
632
|
text: z.ZodString;
|
|
476
633
|
epilogueStart: z.ZodOptional<z.ZodNumber>;
|
|
477
634
|
origin: z.ZodEnum<{
|
|
@@ -484,8 +641,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
484
641
|
}>;
|
|
485
642
|
originMeta: z.ZodOptional<z.ZodObject<{
|
|
486
643
|
backgroundSource: z.ZodOptional<z.ZodEnum<{
|
|
487
|
-
subagent: "subagent";
|
|
488
644
|
bash: "bash";
|
|
645
|
+
subagent: "subagent";
|
|
489
646
|
workflow: "workflow";
|
|
490
647
|
}>>;
|
|
491
648
|
workId: z.ZodOptional<z.ZodString>;
|
|
@@ -519,6 +676,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
519
676
|
kind: z.ZodEnum<{
|
|
520
677
|
ask: "ask";
|
|
521
678
|
"world-read": "world-read";
|
|
679
|
+
hole: "hole";
|
|
522
680
|
}>;
|
|
523
681
|
label: z.ZodString;
|
|
524
682
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -535,6 +693,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
535
693
|
stack: "stack";
|
|
536
694
|
serial: "serial";
|
|
537
695
|
}>>;
|
|
696
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
538
697
|
}, z.core.$strict>>;
|
|
539
698
|
lanes: z.ZodArray<z.ZodObject<{
|
|
540
699
|
id: z.ZodString;
|
|
@@ -569,17 +728,35 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
569
728
|
line: z.ZodOptional<z.ZodNumber>;
|
|
570
729
|
column: z.ZodOptional<z.ZodNumber>;
|
|
571
730
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
731
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
572
732
|
}, z.core.$strict>>>;
|
|
573
733
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
574
734
|
from: z.ZodString;
|
|
575
735
|
to: z.ZodString;
|
|
576
736
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
577
737
|
}, z.core.$strict>>>;
|
|
738
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
739
|
+
from: z.ZodString;
|
|
740
|
+
to: z.ZodString;
|
|
741
|
+
}, z.core.$strict>>>;
|
|
742
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
743
|
+
siteId: z.ZodString;
|
|
744
|
+
name: z.ZodString;
|
|
745
|
+
type: z.ZodString;
|
|
746
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
747
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
748
|
+
}, z.core.$strict>>>;
|
|
578
749
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
579
750
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
580
751
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
581
752
|
}, z.core.$strict>>;
|
|
582
753
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
754
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
755
|
+
siteId: z.ZodString;
|
|
756
|
+
name: z.ZodString;
|
|
757
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
758
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
759
|
+
}, z.core.$strict>>;
|
|
583
760
|
}, z.core.$strict>>>;
|
|
584
761
|
script: z.ZodOptional<z.ZodString>;
|
|
585
762
|
amend: z.ZodOptional<z.ZodObject<{
|
|
@@ -599,13 +776,49 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
599
776
|
sourceCommandId: z.ZodOptional<z.ZodString>;
|
|
600
777
|
rootSourceCommandId: z.ZodOptional<z.ZodString>;
|
|
601
778
|
clientId: z.ZodOptional<z.ZodString>;
|
|
779
|
+
highspeed: z.ZodOptional<z.ZodObject<{
|
|
780
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
781
|
+
cardId: z.ZodString;
|
|
782
|
+
taskId: z.ZodString;
|
|
783
|
+
provider: z.ZodString;
|
|
784
|
+
model: z.ZodString;
|
|
785
|
+
issuedAt: z.ZodNumber;
|
|
786
|
+
expiresAt: z.ZodNumber;
|
|
787
|
+
regularTps: z.ZodOptional<z.ZodNumber>;
|
|
788
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
789
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
790
|
+
highspeedTps: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
savedDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
792
|
+
modelDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
793
|
+
toolDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
otherDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
795
|
+
fallbackAt: z.ZodOptional<z.ZodNumber>;
|
|
796
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
797
|
+
highspeed_card_expired: "highspeed_card_expired";
|
|
798
|
+
highspeed_request_failed: "highspeed_request_failed";
|
|
799
|
+
}>>;
|
|
800
|
+
}, z.core.$strict>>;
|
|
602
801
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
603
802
|
ref: z.ZodString;
|
|
604
803
|
fileName: z.ZodString;
|
|
605
804
|
mime: z.ZodString;
|
|
606
805
|
bytes: z.ZodNumber;
|
|
806
|
+
sourceKind: z.ZodOptional<z.ZodEnum<{
|
|
807
|
+
"clipboard-text": "clipboard-text";
|
|
808
|
+
"topic-history": "topic-history";
|
|
809
|
+
}>>;
|
|
810
|
+
messageCount: z.ZodOptional<z.ZodNumber>;
|
|
607
811
|
previewRef: z.ZodOptional<z.ZodString>;
|
|
608
|
-
}, z.core.$
|
|
812
|
+
}, z.core.$strict>>>;
|
|
813
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
814
|
+
kind: z.ZodLiteral<"pluginUi">;
|
|
815
|
+
pluginId: z.ZodString;
|
|
816
|
+
toolCallId: z.ZodString;
|
|
817
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
818
|
+
kind: z.ZodLiteral<"genUi">;
|
|
819
|
+
path: z.ZodString;
|
|
820
|
+
title: z.ZodOptional<z.ZodString>;
|
|
821
|
+
}, z.core.$strict>], "kind">>;
|
|
609
822
|
rowId: z.ZodNumber;
|
|
610
823
|
turnId: z.ZodString;
|
|
611
824
|
entityId: z.ZodOptional<z.ZodString>;
|
|
@@ -629,9 +842,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
629
842
|
text: z.ZodString;
|
|
630
843
|
state: z.ZodEnum<{
|
|
631
844
|
failed: "failed";
|
|
632
|
-
streaming: "streaming";
|
|
633
845
|
complete: "complete";
|
|
634
846
|
interrupted: "interrupted";
|
|
847
|
+
streaming: "streaming";
|
|
635
848
|
}>;
|
|
636
849
|
model: z.ZodOptional<z.ZodString>;
|
|
637
850
|
feedback: z.ZodOptional<z.ZodEnum<{
|
|
@@ -660,9 +873,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
660
873
|
assistantResponseId: z.ZodOptional<z.ZodString>;
|
|
661
874
|
text: z.ZodString;
|
|
662
875
|
state: z.ZodEnum<{
|
|
663
|
-
streaming: "streaming";
|
|
664
876
|
complete: "complete";
|
|
665
877
|
interrupted: "interrupted";
|
|
878
|
+
streaming: "streaming";
|
|
666
879
|
}>;
|
|
667
880
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
668
881
|
rowId: z.ZodNumber;
|
|
@@ -689,8 +902,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
689
902
|
toolName: z.ZodString;
|
|
690
903
|
status: z.ZodEnum<{
|
|
691
904
|
error: "error";
|
|
692
|
-
success: "success";
|
|
693
905
|
cancelled: "cancelled";
|
|
906
|
+
success: "success";
|
|
694
907
|
running: "running";
|
|
695
908
|
inputStreaming: "inputStreaming";
|
|
696
909
|
pendingApproval: "pendingApproval";
|
|
@@ -725,8 +938,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
725
938
|
}, z.core.$strip>, z.ZodObject<{
|
|
726
939
|
kind: z.ZodLiteral<"local_agent_message">;
|
|
727
940
|
status: z.ZodEnum<{
|
|
728
|
-
failed: "failed";
|
|
729
941
|
success: "success";
|
|
942
|
+
failed: "failed";
|
|
730
943
|
}>;
|
|
731
944
|
error: z.ZodOptional<z.ZodString>;
|
|
732
945
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -750,16 +963,16 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
750
963
|
}, z.core.$strip>, z.ZodObject<{
|
|
751
964
|
kind: z.ZodLiteral<"respond_to_coordinator">;
|
|
752
965
|
status: z.ZodEnum<{
|
|
753
|
-
failed: "failed";
|
|
754
966
|
success: "success";
|
|
967
|
+
failed: "failed";
|
|
755
968
|
}>;
|
|
756
969
|
}, z.core.$strip>, z.ZodObject<{
|
|
757
970
|
kind: z.ZodLiteral<"cua">;
|
|
758
971
|
schemaVersion: z.ZodLiteral<1>;
|
|
759
972
|
toolName: z.ZodString;
|
|
760
973
|
status: z.ZodEnum<{
|
|
761
|
-
failed: "failed";
|
|
762
974
|
success: "success";
|
|
975
|
+
failed: "failed";
|
|
763
976
|
}>;
|
|
764
977
|
input: z.ZodOptional<z.ZodString>;
|
|
765
978
|
structuredContent: z.ZodOptional<z.ZodString>;
|
|
@@ -812,6 +1025,30 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
812
1025
|
quota_exceeded: "quota_exceeded";
|
|
813
1026
|
}>;
|
|
814
1027
|
}, z.core.$strict>>;
|
|
1028
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
1029
|
+
pluginId: z.ZodString;
|
|
1030
|
+
resourceUri: z.ZodString;
|
|
1031
|
+
preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
1032
|
+
inline: "inline";
|
|
1033
|
+
fullscreen: "fullscreen";
|
|
1034
|
+
pip: "pip";
|
|
1035
|
+
}>>;
|
|
1036
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
1037
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
1038
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1039
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1040
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1041
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1042
|
+
}, z.core.$strict>>;
|
|
1043
|
+
structuredContent: z.ZodOptional<z.ZodString>;
|
|
1044
|
+
widgetMeta: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1047
|
+
truncatedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1048
|
+
isError: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1049
|
+
showInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1050
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
}, z.core.$strict>>;
|
|
815
1052
|
}, z.core.$strip>, z.ZodObject<{
|
|
816
1053
|
kind: z.ZodLiteral<"create_workflow">;
|
|
817
1054
|
ok: z.ZodBoolean;
|
|
@@ -828,6 +1065,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
828
1065
|
kind: z.ZodEnum<{
|
|
829
1066
|
ask: "ask";
|
|
830
1067
|
"world-read": "world-read";
|
|
1068
|
+
hole: "hole";
|
|
831
1069
|
}>;
|
|
832
1070
|
label: z.ZodString;
|
|
833
1071
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -844,6 +1082,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
844
1082
|
stack: "stack";
|
|
845
1083
|
serial: "serial";
|
|
846
1084
|
}>>;
|
|
1085
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
847
1086
|
}, z.core.$strict>>;
|
|
848
1087
|
lanes: z.ZodArray<z.ZodObject<{
|
|
849
1088
|
id: z.ZodString;
|
|
@@ -878,32 +1117,50 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
878
1117
|
line: z.ZodOptional<z.ZodNumber>;
|
|
879
1118
|
column: z.ZodOptional<z.ZodNumber>;
|
|
880
1119
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1120
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
881
1121
|
}, z.core.$strict>>>;
|
|
882
1122
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
883
1123
|
from: z.ZodString;
|
|
884
1124
|
to: z.ZodString;
|
|
885
1125
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
886
1126
|
}, z.core.$strict>>>;
|
|
1127
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1128
|
+
from: z.ZodString;
|
|
1129
|
+
to: z.ZodString;
|
|
1130
|
+
}, z.core.$strict>>>;
|
|
1131
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1132
|
+
siteId: z.ZodString;
|
|
1133
|
+
name: z.ZodString;
|
|
1134
|
+
type: z.ZodString;
|
|
1135
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
1137
|
+
}, z.core.$strict>>>;
|
|
887
1138
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
888
1139
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
889
1140
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
890
1141
|
}, z.core.$strict>>;
|
|
891
1142
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
1144
|
+
siteId: z.ZodString;
|
|
1145
|
+
name: z.ZodString;
|
|
1146
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1148
|
+
}, z.core.$strict>>;
|
|
892
1149
|
}, z.core.$strict>, z.ZodObject<{
|
|
893
1150
|
kind: z.ZodLiteral<"get_workflow_run">;
|
|
894
1151
|
runId: z.ZodString;
|
|
895
1152
|
label: z.ZodString;
|
|
896
1153
|
status: z.ZodEnum<{
|
|
897
|
-
pending: "pending";
|
|
898
1154
|
completed: "completed";
|
|
1155
|
+
pending: "pending";
|
|
899
1156
|
running: "running";
|
|
900
|
-
stopped: "stopped";
|
|
901
1157
|
errored: "errored";
|
|
1158
|
+
stopped: "stopped";
|
|
902
1159
|
}>;
|
|
903
1160
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
904
|
-
provider: "provider";
|
|
905
|
-
model: "model";
|
|
906
1161
|
user: "user";
|
|
1162
|
+
model: "model";
|
|
1163
|
+
provider: "provider";
|
|
907
1164
|
interrupted: "interrupted";
|
|
908
1165
|
superseded: "superseded";
|
|
909
1166
|
}>>;
|
|
@@ -1006,16 +1263,16 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1006
1263
|
script: "script";
|
|
1007
1264
|
}>;
|
|
1008
1265
|
status: z.ZodEnum<{
|
|
1009
|
-
pending: "pending";
|
|
1010
1266
|
completed: "completed";
|
|
1267
|
+
pending: "pending";
|
|
1011
1268
|
running: "running";
|
|
1012
|
-
stopped: "stopped";
|
|
1013
1269
|
errored: "errored";
|
|
1270
|
+
stopped: "stopped";
|
|
1014
1271
|
}>;
|
|
1015
1272
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
1016
|
-
provider: "provider";
|
|
1017
|
-
model: "model";
|
|
1018
1273
|
user: "user";
|
|
1274
|
+
model: "model";
|
|
1275
|
+
provider: "provider";
|
|
1019
1276
|
interrupted: "interrupted";
|
|
1020
1277
|
superseded: "superseded";
|
|
1021
1278
|
}>>;
|
|
@@ -1102,8 +1359,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1102
1359
|
}, z.core.$strict>, z.ZodObject<{
|
|
1103
1360
|
kind: z.ZodLiteral<"respond_to_coordinator">;
|
|
1104
1361
|
status: z.ZodEnum<{
|
|
1105
|
-
failed: "failed";
|
|
1106
1362
|
success: "success";
|
|
1363
|
+
failed: "failed";
|
|
1107
1364
|
}>;
|
|
1108
1365
|
}, z.core.$strict>, z.ZodObject<{
|
|
1109
1366
|
kind: z.ZodLiteral<"mcp_tool">;
|
|
@@ -1116,6 +1373,30 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1116
1373
|
quota_exceeded: "quota_exceeded";
|
|
1117
1374
|
}>;
|
|
1118
1375
|
}, z.core.$strict>>;
|
|
1376
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
1377
|
+
pluginId: z.ZodString;
|
|
1378
|
+
resourceUri: z.ZodString;
|
|
1379
|
+
preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
|
|
1380
|
+
inline: "inline";
|
|
1381
|
+
fullscreen: "fullscreen";
|
|
1382
|
+
pip: "pip";
|
|
1383
|
+
}>>;
|
|
1384
|
+
prefersBorder: z.ZodOptional<z.ZodBoolean>;
|
|
1385
|
+
csp: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1387
|
+
resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1388
|
+
frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1389
|
+
baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1390
|
+
}, z.core.$strict>>;
|
|
1391
|
+
structuredContent: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
widgetMeta: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
content: z.ZodOptional<z.ZodString>;
|
|
1394
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1395
|
+
truncatedBytes: z.ZodOptional<z.ZodNumber>;
|
|
1396
|
+
isError: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1397
|
+
showInline: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1398
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
}, z.core.$strict>>;
|
|
1119
1400
|
}, z.core.$strict>, z.ZodObject<{
|
|
1120
1401
|
kind: z.ZodLiteral<"create_workflow">;
|
|
1121
1402
|
ok: z.ZodBoolean;
|
|
@@ -1132,6 +1413,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1132
1413
|
kind: z.ZodEnum<{
|
|
1133
1414
|
ask: "ask";
|
|
1134
1415
|
"world-read": "world-read";
|
|
1416
|
+
hole: "hole";
|
|
1135
1417
|
}>;
|
|
1136
1418
|
label: z.ZodString;
|
|
1137
1419
|
labelPattern: z.ZodOptional<z.ZodObject<{
|
|
@@ -1148,6 +1430,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1148
1430
|
stack: "stack";
|
|
1149
1431
|
serial: "serial";
|
|
1150
1432
|
}>>;
|
|
1433
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
1151
1434
|
}, z.core.$strict>>;
|
|
1152
1435
|
lanes: z.ZodArray<z.ZodObject<{
|
|
1153
1436
|
id: z.ZodString;
|
|
@@ -1182,32 +1465,50 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1182
1465
|
line: z.ZodOptional<z.ZodNumber>;
|
|
1183
1466
|
column: z.ZodOptional<z.ZodNumber>;
|
|
1184
1467
|
alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1468
|
+
fill: z.ZodOptional<z.ZodString>;
|
|
1185
1469
|
}, z.core.$strict>>>;
|
|
1186
1470
|
phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1187
1471
|
from: z.ZodString;
|
|
1188
1472
|
to: z.ZodString;
|
|
1189
1473
|
back: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1190
1474
|
}, z.core.$strict>>>;
|
|
1475
|
+
phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1476
|
+
from: z.ZodString;
|
|
1477
|
+
to: z.ZodString;
|
|
1478
|
+
}, z.core.$strict>>>;
|
|
1479
|
+
holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1480
|
+
siteId: z.ZodString;
|
|
1481
|
+
name: z.ZodString;
|
|
1482
|
+
type: z.ZodString;
|
|
1483
|
+
phase: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
tail: z.ZodOptional<z.ZodBoolean>;
|
|
1485
|
+
}, z.core.$strict>>>;
|
|
1191
1486
|
exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1192
1487
|
sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1193
1488
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1194
1489
|
}, z.core.$strict>>;
|
|
1195
1490
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1491
|
+
fill: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
siteId: z.ZodString;
|
|
1493
|
+
name: z.ZodString;
|
|
1494
|
+
draftPath: z.ZodOptional<z.ZodString>;
|
|
1495
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
1496
|
+
}, z.core.$strict>>;
|
|
1196
1497
|
}, z.core.$strict>, z.ZodObject<{
|
|
1197
1498
|
kind: z.ZodLiteral<"get_workflow_run">;
|
|
1198
1499
|
runId: z.ZodString;
|
|
1199
1500
|
label: z.ZodString;
|
|
1200
1501
|
status: z.ZodEnum<{
|
|
1201
|
-
pending: "pending";
|
|
1202
1502
|
completed: "completed";
|
|
1503
|
+
pending: "pending";
|
|
1203
1504
|
running: "running";
|
|
1204
|
-
stopped: "stopped";
|
|
1205
1505
|
errored: "errored";
|
|
1506
|
+
stopped: "stopped";
|
|
1206
1507
|
}>;
|
|
1207
1508
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
1208
|
-
provider: "provider";
|
|
1209
|
-
model: "model";
|
|
1210
1509
|
user: "user";
|
|
1510
|
+
model: "model";
|
|
1511
|
+
provider: "provider";
|
|
1211
1512
|
interrupted: "interrupted";
|
|
1212
1513
|
superseded: "superseded";
|
|
1213
1514
|
}>>;
|
|
@@ -1310,16 +1611,16 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1310
1611
|
script: "script";
|
|
1311
1612
|
}>;
|
|
1312
1613
|
status: z.ZodEnum<{
|
|
1313
|
-
pending: "pending";
|
|
1314
1614
|
completed: "completed";
|
|
1615
|
+
pending: "pending";
|
|
1315
1616
|
running: "running";
|
|
1316
|
-
stopped: "stopped";
|
|
1317
1617
|
errored: "errored";
|
|
1618
|
+
stopped: "stopped";
|
|
1318
1619
|
}>;
|
|
1319
1620
|
stopReason: z.ZodOptional<z.ZodEnum<{
|
|
1320
|
-
provider: "provider";
|
|
1321
|
-
model: "model";
|
|
1322
1621
|
user: "user";
|
|
1622
|
+
model: "model";
|
|
1623
|
+
provider: "provider";
|
|
1323
1624
|
interrupted: "interrupted";
|
|
1324
1625
|
superseded: "superseded";
|
|
1325
1626
|
}>>;
|
|
@@ -1381,8 +1682,11 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1381
1682
|
message: z.ZodString;
|
|
1382
1683
|
}, z.core.$strip>>;
|
|
1383
1684
|
progress: z.ZodOptional<z.ZodObject<{
|
|
1384
|
-
bytes: z.ZodNumber
|
|
1685
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
1385
1686
|
previewLine: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
fraction: z.ZodOptional<z.ZodNumber>;
|
|
1688
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
1689
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1386
1690
|
updatedAt: z.ZodNumber;
|
|
1387
1691
|
}, z.core.$strip>>;
|
|
1388
1692
|
outputPreview: z.ZodOptional<z.ZodObject<{
|
|
@@ -1420,8 +1724,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1420
1724
|
logicalArtifactKey: z.ZodString;
|
|
1421
1725
|
displayName: z.ZodString;
|
|
1422
1726
|
artifactType: z.ZodEnum<{
|
|
1423
|
-
image: "image";
|
|
1424
1727
|
text: "text";
|
|
1728
|
+
image: "image";
|
|
1425
1729
|
pdf: "pdf";
|
|
1426
1730
|
pptx: "pptx";
|
|
1427
1731
|
docx: "docx";
|
|
@@ -1456,9 +1760,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1456
1760
|
parentToolCallId: z.ZodOptional<z.ZodString>;
|
|
1457
1761
|
subagentType: z.ZodString;
|
|
1458
1762
|
status: z.ZodEnum<{
|
|
1459
|
-
failed: "failed";
|
|
1460
|
-
success: "success";
|
|
1461
1763
|
cancelled: "cancelled";
|
|
1764
|
+
success: "success";
|
|
1765
|
+
failed: "failed";
|
|
1462
1766
|
running: "running";
|
|
1463
1767
|
}>;
|
|
1464
1768
|
summaryText: z.ZodString;
|
|
@@ -1521,9 +1825,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1521
1825
|
running: "running";
|
|
1522
1826
|
}>;
|
|
1523
1827
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
1524
|
-
failed: "failed";
|
|
1525
|
-
success: "success";
|
|
1526
1828
|
cancelled: "cancelled";
|
|
1829
|
+
success: "success";
|
|
1830
|
+
failed: "failed";
|
|
1527
1831
|
blocked: "blocked";
|
|
1528
1832
|
timed_out: "timed_out";
|
|
1529
1833
|
}>>;
|
|
@@ -1533,9 +1837,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1533
1837
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1534
1838
|
displayName: z.ZodString;
|
|
1535
1839
|
sourceKind: z.ZodEnum<{
|
|
1536
|
-
project: "project";
|
|
1537
|
-
user: "user";
|
|
1538
1840
|
plugin: "plugin";
|
|
1841
|
+
user: "user";
|
|
1842
|
+
project: "project";
|
|
1539
1843
|
}>;
|
|
1540
1844
|
pluginName: z.ZodOptional<z.ZodString>;
|
|
1541
1845
|
toolName: z.ZodOptional<z.ZodString>;
|
|
@@ -1572,9 +1876,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
|
|
|
1572
1876
|
manual: "manual";
|
|
1573
1877
|
}>;
|
|
1574
1878
|
status: z.ZodEnum<{
|
|
1575
|
-
failed: "failed";
|
|
1576
|
-
success: "success";
|
|
1577
1879
|
cancelled: "cancelled";
|
|
1880
|
+
success: "success";
|
|
1881
|
+
failed: "failed";
|
|
1578
1882
|
running: "running";
|
|
1579
1883
|
noop: "noop";
|
|
1580
1884
|
}>;
|
|
@@ -1663,8 +1967,8 @@ export declare const conversationSharePreviewArtifactSchema: z.ZodObject<{
|
|
|
1663
1967
|
state: z.ZodLiteral<"current">;
|
|
1664
1968
|
ref: z.ZodString;
|
|
1665
1969
|
artifact_type: z.ZodEnum<{
|
|
1666
|
-
image: "image";
|
|
1667
1970
|
text: "text";
|
|
1971
|
+
image: "image";
|
|
1668
1972
|
pdf: "pdf";
|
|
1669
1973
|
pptx: "pptx";
|
|
1670
1974
|
docx: "docx";
|
|
@@ -1708,8 +2012,8 @@ export declare const conversationSharePreviewDataSchema: z.ZodObject<{
|
|
|
1708
2012
|
state: z.ZodLiteral<"current">;
|
|
1709
2013
|
ref: z.ZodString;
|
|
1710
2014
|
artifact_type: z.ZodEnum<{
|
|
1711
|
-
image: "image";
|
|
1712
2015
|
text: "text";
|
|
2016
|
+
image: "image";
|
|
1713
2017
|
pdf: "pdf";
|
|
1714
2018
|
pptx: "pptx";
|
|
1715
2019
|
docx: "docx";
|
|
@@ -1750,8 +2054,8 @@ export declare const conversationShareContinuationArtifactSchema: z.ZodObject<{
|
|
|
1750
2054
|
state: z.ZodLiteral<"current">;
|
|
1751
2055
|
ref: z.ZodString;
|
|
1752
2056
|
artifact_type: z.ZodEnum<{
|
|
1753
|
-
image: "image";
|
|
1754
2057
|
text: "text";
|
|
2058
|
+
image: "image";
|
|
1755
2059
|
pdf: "pdf";
|
|
1756
2060
|
pptx: "pptx";
|
|
1757
2061
|
docx: "docx";
|
|
@@ -1792,8 +2096,8 @@ export declare const conversationShareContinuationDataSchema: z.ZodObject<{
|
|
|
1792
2096
|
state: z.ZodLiteral<"current">;
|
|
1793
2097
|
ref: z.ZodString;
|
|
1794
2098
|
artifact_type: z.ZodEnum<{
|
|
1795
|
-
image: "image";
|
|
1796
2099
|
text: "text";
|
|
2100
|
+
image: "image";
|
|
1797
2101
|
pdf: "pdf";
|
|
1798
2102
|
pptx: "pptx";
|
|
1799
2103
|
docx: "docx";
|