@songtonyli/dsh-cli 0.1.94 → 0.1.95
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/README.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@deepseek-ai/cordis/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
- package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
- package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +126 -126
- package/node_modules/@deepseek-ai/dsh-acp/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-action-cards/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-agent/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-agent-team/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-agent-team/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-team/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/index.js +25 -11
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/typert.host.js +8 -4
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/projection.js +6 -1
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-board.js +12 -8
- package/node_modules/@deepseek-ai/dsh-agent-team/lib/types/task-view.js +2 -1
- package/node_modules/@deepseek-ai/dsh-agent-team/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +67 -47
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +6 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +6 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +19 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +52 -18
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +69 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +51 -31
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +20 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +58 -18
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/continuation.js +48 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +5 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +79 -77
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-base/package.json +103 -102
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-team/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +125 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.i18n.yaml +19 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.md +16 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.zh.md +16 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/assets/breach-atlas-43c5305a3d4d.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/lib/client.js +395 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +13 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +60 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +40 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/lib/client.js +164 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-context-menu/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +18 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +24 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +24 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +205 -56
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +37 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-file-actions/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +4 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +4 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +65 -58
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +6 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +175 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +27 -65
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +6 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +11 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +285 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +32 -31
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +35 -73
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-commands/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-commands/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-commands/lib/index.js +37 -2
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +28 -5
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-commands/lib/types/index.js +36 -2
- package/node_modules/@deepseek-ai/dsh-commands/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-computer-use/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +83 -39
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +14 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-cua/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +30 -1
- package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +16 -16
- package/node_modules/@deepseek-ai/dsh-cua/package.json +53 -53
- package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +45 -45
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +9 -7
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +9 -7
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +779 -137
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +142 -10
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +131 -29
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +103 -24
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +42 -42
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/client.js +150 -136
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +200 -186
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +72 -72
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +6 -16
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-fs/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-patch/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-goal/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-headless/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +5 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-mcp-manager/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-otel/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +38 -38
- package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +12 -6
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +12 -6
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +93 -38
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +112 -93
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +112 -93
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +40 -40
- package/node_modules/@deepseek-ai/dsh-scope/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +48 -48
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +40 -39
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-continuation/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/README.md +84 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/README.zh.md +84 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/index.js +109 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/index.js +51 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/projection.js +48 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-session-continuation/package.json +55 -0
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +19 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +100 -120
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +19 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +41 -41
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-settings/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +15 -12
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +14 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +14 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +276 -42
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +31 -9
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +31 -8
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +10 -8
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +44 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +35 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +78 -12
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/names.js +96 -0
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -51
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/lib/index.js +26 -17
- package/node_modules/@deepseek-ai/dsh-tool-agent-team/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +73 -8
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.i18n.yaml +19 -16
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.md +22 -9
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.zh.md +22 -9
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/index.js +185 -74
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/config.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/errors.js +25 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/index.js +36 -6
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc-calls.js +57 -7
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc.js +29 -14
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +28 -28
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +11 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +39 -36
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +29 -17
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +29 -17
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +74 -122
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +24 -25
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tools/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +454 -84
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +87 -85
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +4 -4
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +155 -155
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CZZasi1N.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CnyQSzND.js +199 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +26 -26
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/package.json +335 -333
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-B2q7cWGa.js +0 -199
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-uWlUD22X.css +0 -1
|
@@ -7,6 +7,7 @@ window.__ModuleLoader__.load({
|
|
|
7
7
|
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
8
8
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
+
let react = require("react");
|
|
10
11
|
//#region ../../../vendor/cosmokit/src/misc.ts
|
|
11
12
|
/** Return true when a value is `null` or `undefined`. */
|
|
12
13
|
function isNullable(value) {
|
|
@@ -916,6 +917,9 @@ window.__ModuleLoader__.load({
|
|
|
916
917
|
var MenuRegistry = class {
|
|
917
918
|
failed;
|
|
918
919
|
timeoutMs;
|
|
920
|
+
kindsSource = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)([]);
|
|
921
|
+
/** Registered target kinds, independent of asynchronous action availability. */
|
|
922
|
+
registeredKinds = this.kindsSource;
|
|
919
923
|
providers = /* @__PURE__ */ new Map();
|
|
920
924
|
occurrences = /* @__PURE__ */ new Set();
|
|
921
925
|
disposed = false;
|
|
@@ -941,9 +945,11 @@ window.__ModuleLoader__.load({
|
|
|
941
945
|
resolve: (target, signal) => input.resolve(target.value, signal)
|
|
942
946
|
};
|
|
943
947
|
this.providers.set(key, provider);
|
|
948
|
+
this.publishKinds();
|
|
944
949
|
return () => {
|
|
945
950
|
if (provider.lifetime.signal.aborted) return;
|
|
946
951
|
this.providers.delete(key);
|
|
952
|
+
this.publishKinds();
|
|
947
953
|
provider.lifetime.abort();
|
|
948
954
|
};
|
|
949
955
|
}
|
|
@@ -1093,6 +1099,13 @@ window.__ModuleLoader__.load({
|
|
|
1093
1099
|
for (const dispose of this.occurrences) dispose();
|
|
1094
1100
|
for (const provider of this.providers.values()) provider.lifetime.abort();
|
|
1095
1101
|
this.providers.clear();
|
|
1102
|
+
this.publishKinds();
|
|
1103
|
+
}
|
|
1104
|
+
publishKinds() {
|
|
1105
|
+
const kinds = [...new Set([...this.providers.values()].map((provider) => provider.kind))].sort();
|
|
1106
|
+
const previous = this.kindsSource.getSnapshot();
|
|
1107
|
+
if (kinds.length === previous.length && kinds.every((kind, index) => kind === previous[index])) return;
|
|
1108
|
+
this.kindsSource.set(kinds);
|
|
1096
1109
|
}
|
|
1097
1110
|
};
|
|
1098
1111
|
//#endregion
|
|
@@ -1146,16 +1159,51 @@ window.__ModuleLoader__.load({
|
|
|
1146
1159
|
//#region lib/types/client/locales.js
|
|
1147
1160
|
/** Context-menu operation feedback, separate from plugin display metadata. */
|
|
1148
1161
|
const dictionaries = {
|
|
1149
|
-
zh: {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1162
|
+
zh: {
|
|
1163
|
+
back: "返回",
|
|
1164
|
+
failed: "操作失败,请重试"
|
|
1165
|
+
},
|
|
1166
|
+
en: {
|
|
1167
|
+
back: "Back",
|
|
1168
|
+
failed: "Could not complete the action. Try again."
|
|
1169
|
+
},
|
|
1170
|
+
ja: {
|
|
1171
|
+
back: "戻る",
|
|
1172
|
+
failed: "操作に失敗しました。再試行してください。"
|
|
1173
|
+
},
|
|
1174
|
+
es: {
|
|
1175
|
+
back: "Atrás",
|
|
1176
|
+
failed: "No se pudo completar la acción. Inténtelo de nuevo."
|
|
1177
|
+
},
|
|
1178
|
+
fr: {
|
|
1179
|
+
back: "Retour",
|
|
1180
|
+
failed: "Impossible de terminer l’action. Réessayez."
|
|
1181
|
+
},
|
|
1182
|
+
de: {
|
|
1183
|
+
back: "Zurück",
|
|
1184
|
+
failed: "Die Aktion konnte nicht abgeschlossen werden. Versuchen Sie es erneut."
|
|
1185
|
+
},
|
|
1186
|
+
ru: {
|
|
1187
|
+
back: "Назад",
|
|
1188
|
+
failed: "Не удалось выполнить действие. Повторите попытку."
|
|
1189
|
+
},
|
|
1190
|
+
pt: {
|
|
1191
|
+
back: "Voltar",
|
|
1192
|
+
failed: "Não foi possível concluir a ação. Tente novamente."
|
|
1193
|
+
}
|
|
1157
1194
|
};
|
|
1158
1195
|
//#endregion
|
|
1196
|
+
//#region lib/types/client/external-trigger.js
|
|
1197
|
+
/** Context-menu trigger recognition shared by the document listener and popup. */
|
|
1198
|
+
/**
|
|
1199
|
+
* Recognize an explicit menu button without depending on the popup implementation.
|
|
1200
|
+
* @param node - Pointer event target.
|
|
1201
|
+
* @returns Whether the node belongs to an explicit menu button.
|
|
1202
|
+
*/
|
|
1203
|
+
function isContextMenuTrigger(node) {
|
|
1204
|
+
return (node instanceof Element ? node : node.parentElement)?.closest("[data-context-menu-trigger]") != null;
|
|
1205
|
+
}
|
|
1206
|
+
//#endregion
|
|
1159
1207
|
//#region lib/types/client/View.js
|
|
1160
1208
|
/** Shared Web renderer for Client menu contributions. */
|
|
1161
1209
|
/**
|
|
@@ -1183,7 +1231,7 @@ window.__ModuleLoader__.load({
|
|
|
1183
1231
|
});
|
|
1184
1232
|
}
|
|
1185
1233
|
/** @param props - registered state, target-specific legacy rows, and actions. @returns one menu and persistent feedback. */
|
|
1186
|
-
function MenuOverlay({ useStore, actions, renderSlot, close, select, returnFocus, useCatalog }) {
|
|
1234
|
+
function MenuOverlay({ useStore, actions, renderSlot, close, select, returnFocus, useCatalog, t }) {
|
|
1187
1235
|
const catalog = useCatalog((value) => value);
|
|
1188
1236
|
const { target, point, items, notice, occurrence, closing, replacing } = useStore((s) => s);
|
|
1189
1237
|
return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Menu, {
|
|
@@ -1193,8 +1241,10 @@ window.__ModuleLoader__.load({
|
|
|
1193
1241
|
autoFocus: true,
|
|
1194
1242
|
contextual: true,
|
|
1195
1243
|
returnFocus,
|
|
1244
|
+
submenuBackLabel: t("back"),
|
|
1245
|
+
isExternalTrigger: isContextMenuTrigger,
|
|
1196
1246
|
exiting: closing ? replacing ? "replace" : "dismiss" : void 0,
|
|
1197
|
-
|
|
1247
|
+
anchorPoint: point,
|
|
1198
1248
|
items: menuEntries(items.filter((item) => !item.afterContent), catalog, renderSlot),
|
|
1199
1249
|
footer: menuEntries(items.filter((item) => item.afterContent), catalog, renderSlot),
|
|
1200
1250
|
onClose: close,
|
|
@@ -1213,6 +1263,53 @@ window.__ModuleLoader__.load({
|
|
|
1213
1263
|
}, notice.id)] });
|
|
1214
1264
|
}
|
|
1215
1265
|
//#endregion
|
|
1266
|
+
//#region lib/types/client/Button.js
|
|
1267
|
+
/** Shared ellipsis control for explicit context-menu targets. */
|
|
1268
|
+
/**
|
|
1269
|
+
* Render the menu trigger while its target kind has a registered contribution.
|
|
1270
|
+
* @param props - Localized owner data and framework-bound menu facts.
|
|
1271
|
+
* @returns An available target's menu trigger.
|
|
1272
|
+
*/
|
|
1273
|
+
function ContextMenuButton({ target, label, className, size, useOpener, useRegisteredKinds, toggle }) {
|
|
1274
|
+
const id = (0, react.useId)();
|
|
1275
|
+
const expanded = useOpener((opener) => opener === id);
|
|
1276
|
+
if (!useRegisteredKinds((kinds) => kinds.includes(target.kind))) return null;
|
|
1277
|
+
const attributes = {
|
|
1278
|
+
className,
|
|
1279
|
+
"data-context-menu-trigger": "",
|
|
1280
|
+
"aria-label": label,
|
|
1281
|
+
"aria-haspopup": "menu",
|
|
1282
|
+
"aria-expanded": expanded,
|
|
1283
|
+
onPointerDown: (event) => {
|
|
1284
|
+
event.stopPropagation();
|
|
1285
|
+
},
|
|
1286
|
+
onClick: (event) => {
|
|
1287
|
+
event.stopPropagation();
|
|
1288
|
+
event.currentTarget.focus({ preventScroll: true });
|
|
1289
|
+
const rect = event.currentTarget.getBoundingClientRect();
|
|
1290
|
+
toggle(id, target, {
|
|
1291
|
+
x: rect.left,
|
|
1292
|
+
y: rect.bottom
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
1297
|
+
label,
|
|
1298
|
+
side: "bottom",
|
|
1299
|
+
align: "end",
|
|
1300
|
+
portal: true,
|
|
1301
|
+
children: size === "sm" ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1302
|
+
...attributes,
|
|
1303
|
+
size: "sm",
|
|
1304
|
+
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEllipsisOutlineRegular, {})
|
|
1305
|
+
}) : (0, react_jsx_runtime.jsx)("button", {
|
|
1306
|
+
...attributes,
|
|
1307
|
+
type: "button",
|
|
1308
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconEllipsisOutlineRegular, {})
|
|
1309
|
+
})
|
|
1310
|
+
});
|
|
1311
|
+
}
|
|
1312
|
+
//#endregion
|
|
1216
1313
|
//#region lib/types/client/trigger.js
|
|
1217
1314
|
/**
|
|
1218
1315
|
* Create stable bindings for the plugin's injected hook.
|
|
@@ -1273,6 +1370,7 @@ window.__ModuleLoader__.load({
|
|
|
1273
1370
|
create: () => instance
|
|
1274
1371
|
};
|
|
1275
1372
|
const targetSource = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(null);
|
|
1373
|
+
const opener = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(null);
|
|
1276
1374
|
let sequence = 0;
|
|
1277
1375
|
let active;
|
|
1278
1376
|
let closeTimer;
|
|
@@ -1314,6 +1412,7 @@ window.__ModuleLoader__.load({
|
|
|
1314
1412
|
active?.resolution.dispose();
|
|
1315
1413
|
active = void 0;
|
|
1316
1414
|
targetSource.set(null);
|
|
1415
|
+
opener.set(null);
|
|
1317
1416
|
};
|
|
1318
1417
|
const dismiss = (replacing) => {
|
|
1319
1418
|
cancelOpening();
|
|
@@ -1329,53 +1428,76 @@ window.__ModuleLoader__.load({
|
|
|
1329
1428
|
};
|
|
1330
1429
|
const contextMenus = {
|
|
1331
1430
|
active: targetSource,
|
|
1431
|
+
registeredKinds: registry.registeredKinds,
|
|
1332
1432
|
register: (input) => registry.register(input),
|
|
1333
1433
|
resolve: (target) => registry.resolve(target),
|
|
1334
1434
|
notify,
|
|
1335
1435
|
close,
|
|
1336
|
-
open: (target, point) => {
|
|
1436
|
+
open: (target, point, options) => {
|
|
1337
1437
|
const previous = active;
|
|
1338
|
-
if (previous !== void 0 && Math.hypot(previous.point.x - point.x, previous.point.y - point.y) <= 4 && menuTargetKey(previous.target) === menuTargetKey(target)) {
|
|
1438
|
+
if (options === void 0 && previous !== void 0 && Math.hypot(previous.point.x - point.x, previous.point.y - point.y) <= 4 && menuTargetKey(previous.target) === menuTargetKey(target)) {
|
|
1339
1439
|
close();
|
|
1340
1440
|
return;
|
|
1341
1441
|
}
|
|
1342
|
-
|
|
1343
|
-
if (
|
|
1344
|
-
dismiss(true);
|
|
1345
|
-
const resolution = registry.resolve(target);
|
|
1346
|
-
targetSource.set(target);
|
|
1347
|
-
let displayed = false;
|
|
1348
|
-
const publish = () => {
|
|
1349
|
-
if (displayed) instance.actions.items(resolution.source.getSnapshot());
|
|
1350
|
-
};
|
|
1351
|
-
const occurrence = {
|
|
1352
|
-
resolution,
|
|
1353
|
-
unsubscribe: resolution.source.subscribe(publish),
|
|
1354
|
-
target,
|
|
1355
|
-
point
|
|
1356
|
-
};
|
|
1357
|
-
active = occurrence;
|
|
1358
|
-
const delay = new Promise((resolve) => {
|
|
1359
|
-
finishOpening = resolve;
|
|
1360
|
-
openingTimer = setTimeout(resolve, _deepseek_ai_dsh_client_ui_primitives.MENU_TRANSITION_MS.prepare);
|
|
1361
|
-
});
|
|
1362
|
-
Promise.all([resolution.ready, delay]).then(() => {
|
|
1363
|
-
if (active !== occurrence) return;
|
|
1364
|
-
clearTimeout(closeTimer);
|
|
1365
|
-
instance.actions.open(target, point);
|
|
1366
|
-
displayed = true;
|
|
1367
|
-
publish();
|
|
1368
|
-
});
|
|
1442
|
+
show(target, point);
|
|
1443
|
+
if (options !== void 0) opener.set(options.button);
|
|
1369
1444
|
}
|
|
1370
1445
|
};
|
|
1446
|
+
function show(target, point) {
|
|
1447
|
+
const focused = document.activeElement;
|
|
1448
|
+
if (!(focused instanceof Element) || focused.closest("[data-context-menu]") === null) returnFocus = focused instanceof HTMLElement ? focused : null;
|
|
1449
|
+
dismiss(true);
|
|
1450
|
+
const resolution = registry.resolve(target);
|
|
1451
|
+
targetSource.set(target);
|
|
1452
|
+
let displayed = false;
|
|
1453
|
+
const publish = () => {
|
|
1454
|
+
if (displayed) instance.actions.items(resolution.source.getSnapshot());
|
|
1455
|
+
};
|
|
1456
|
+
const occurrence = {
|
|
1457
|
+
resolution,
|
|
1458
|
+
unsubscribe: resolution.source.subscribe(publish),
|
|
1459
|
+
target,
|
|
1460
|
+
point
|
|
1461
|
+
};
|
|
1462
|
+
active = occurrence;
|
|
1463
|
+
const delay = new Promise((resolve) => {
|
|
1464
|
+
finishOpening = resolve;
|
|
1465
|
+
openingTimer = setTimeout(resolve, _deepseek_ai_dsh_client_ui_primitives.MENU_TRANSITION_MS.prepare);
|
|
1466
|
+
});
|
|
1467
|
+
Promise.all([resolution.ready, delay]).then(() => {
|
|
1468
|
+
if (active !== occurrence) return;
|
|
1469
|
+
clearTimeout(closeTimer);
|
|
1470
|
+
instance.actions.open(target, point);
|
|
1471
|
+
displayed = true;
|
|
1472
|
+
publish();
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1371
1475
|
ctx.provide("contextMenus", contextMenus);
|
|
1476
|
+
ctx.slots.registerFactory({
|
|
1477
|
+
name: "contextMenu.button",
|
|
1478
|
+
scope: "root",
|
|
1479
|
+
inject: () => ({
|
|
1480
|
+
hooks: {
|
|
1481
|
+
opener,
|
|
1482
|
+
registeredKinds: registry.registeredKinds
|
|
1483
|
+
},
|
|
1484
|
+
toggle: (button, target, point) => {
|
|
1485
|
+
if (disposed) return;
|
|
1486
|
+
if (opener.getSnapshot() === button) {
|
|
1487
|
+
close();
|
|
1488
|
+
return;
|
|
1489
|
+
}
|
|
1490
|
+
contextMenus.open(target, point, { button });
|
|
1491
|
+
}
|
|
1492
|
+
})
|
|
1493
|
+
}, ContextMenuButton);
|
|
1372
1494
|
const bindings = createContextMenuBindings((target, point) => {
|
|
1373
1495
|
contextMenus.open(target, point);
|
|
1374
1496
|
}, () => !disposed);
|
|
1375
1497
|
ctx.slots.provideRoot({ props: { useContextMenu: () => bindings } });
|
|
1376
1498
|
ctx.effect(() => {
|
|
1377
1499
|
const outside = (event) => {
|
|
1378
|
-
if (event.button === 2 || event.target instanceof Element && event.target.closest("[role=\"menu\"]
|
|
1500
|
+
if (event.button === 2 || event.target instanceof Node && isContextMenuTrigger(event.target) || event.target instanceof Element && event.target.closest("[role=\"menu\"]")) return;
|
|
1379
1501
|
close();
|
|
1380
1502
|
};
|
|
1381
1503
|
const context = (event) => {
|
|
@@ -1406,6 +1528,7 @@ window.__ModuleLoader__.load({
|
|
|
1406
1528
|
name: "shell.overlay",
|
|
1407
1529
|
id: "context-menu",
|
|
1408
1530
|
store,
|
|
1531
|
+
locale: "contextMenu",
|
|
1409
1532
|
children: {
|
|
1410
1533
|
"contextMenu.content": {
|
|
1411
1534
|
kind: "keyed",
|
|
@@ -1426,6 +1549,7 @@ window.__ModuleLoader__.load({
|
|
|
1426
1549
|
active?.unsubscribe();
|
|
1427
1550
|
active = void 0;
|
|
1428
1551
|
targetSource.set(null);
|
|
1552
|
+
opener.set(null);
|
|
1429
1553
|
dismiss(false);
|
|
1430
1554
|
selected?.select(id);
|
|
1431
1555
|
selected?.dispose();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-context-menu",
|
|
3
3
|
"description": "Typed, plugin-extensible context menus with captured targets and shared Web presentation",
|
|
4
|
-
"version": "0.2.2-
|
|
4
|
+
"version": "0.2.2-rc.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
},
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@deepseek-ai/cordis": "4.0
|
|
41
|
+
"@deepseek-ai/cordis": "4.1.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@deepseek-ai/schemastery": "3.
|
|
45
|
-
"@deepseek-ai/cordis": "4.0
|
|
46
|
-
"@deepseek-ai/dsh-client-locale": "0.2.2-
|
|
47
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-layout": "0.2.2-
|
|
49
|
-
"@deepseek-ai/dsh-brand": "0.2.2-
|
|
44
|
+
"@deepseek-ai/schemastery": "3.19.0",
|
|
45
|
+
"@deepseek-ai/cordis": "4.1.0",
|
|
46
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
|
|
47
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
|
|
49
|
+
"@deepseek-ai/dsh-brand": "0.2.2-rc.1",
|
|
50
50
|
"react": "^18.2.0",
|
|
51
51
|
"react-dom": "^18.2.0",
|
|
52
|
-
"@deepseek-ai/dsh-session": "0.2.2-
|
|
53
|
-
"@deepseek-ai/dsh-client-shortcuts": "0.2.2-
|
|
52
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
53
|
+
"@deepseek-ai/dsh-client-shortcuts": "0.2.2-rc.1"
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
56
|
"locale/*.json",
|
|
@@ -21,20 +21,29 @@
|
|
|
21
21
|
en: cc4dafd1aae02468
|
|
22
22
|
zh: be6b67724b7ac4a3
|
|
23
23
|
/deepseek-ai-dsh-client-ui-conversation/shell-and-standard-props:
|
|
24
|
-
en:
|
|
25
|
-
zh:
|
|
24
|
+
en: bd2a85b9012fa3c3
|
|
25
|
+
zh: e88d7e682e316a0e
|
|
26
26
|
/deepseek-ai-dsh-client-ui-conversation/temporary-composer-entries:
|
|
27
27
|
en: 59cd63057dfb6eeb
|
|
28
28
|
zh: b2e2c86e810b7bb8
|
|
29
29
|
/deepseek-ai-dsh-client-ui-conversation/model-experience:
|
|
30
|
-
en:
|
|
31
|
-
zh:
|
|
32
|
-
/deepseek-ai-dsh-client-ui-conversation/model-experience/
|
|
33
|
-
en:
|
|
34
|
-
zh:
|
|
30
|
+
en: 215e7ba838619b7b
|
|
31
|
+
zh: a311da3843709f90
|
|
32
|
+
/deepseek-ai-dsh-client-ui-conversation/model-experience/manual-continuation-request:
|
|
33
|
+
en: 6a7ae99570c9c007
|
|
34
|
+
zh: 26e86063e97d82c7
|
|
35
|
+
/deepseek-ai-dsh-client-ui-conversation/model-experience/manual-continuation-request/what-the-model-sees:
|
|
36
|
+
en: 017391d7ad0f9eb7
|
|
37
|
+
zh: 2693ed29d44b1164
|
|
38
|
+
/deepseek-ai-dsh-client-ui-conversation/model-experience/manual-continuation-request/token-effect:
|
|
39
|
+
en: 517c56dbd522c929
|
|
40
|
+
zh: 55fa3a02d026e36a
|
|
41
|
+
/deepseek-ai-dsh-client-ui-conversation/model-experience/manual-continuation-request/kv-cache-effect:
|
|
42
|
+
en: f8621bbc481c26ae
|
|
43
|
+
zh: 5be844989dc80803
|
|
35
44
|
/deepseek-ai-dsh-client-ui-conversation/known-limitations-and-deferred-work:
|
|
36
|
-
en:
|
|
37
|
-
zh:
|
|
45
|
+
en: b3f74c35f88ab2fa
|
|
46
|
+
zh: 8492b314debd130c
|
|
38
47
|
/deepseek-ai-dsh-client-ui-conversation/known-limitations-and-deferred-work/dev-note:
|
|
39
48
|
en: e67f633dc6fe7773
|
|
40
49
|
zh: e88aeb617ffb74ea
|
|
@@ -68,6 +68,8 @@ The existing semantic `DraftSnapshot` retains quote text and clipboard-coordinat
|
|
|
68
68
|
<a id="shell-and-standard-props"></a>
|
|
69
69
|
## Shell and standard props
|
|
70
70
|
|
|
71
|
+
The root-scoped `conversation.hero.frame` hoc Slot wraps the scroll body in every phase, so its layers never remount the composer when the home ends. Its owner props carry `hero`, true only for the blank home of a standalone Conversation. Layers keep the scroll body a direct flex item of the body, for example with `display: contents`. On the home, the Conversation root, which paints the background, isolates stacking: a layer decoration at negative `z-index` paints above that background and below all Conversation content, including composer takeovers. Other phases leave the root out of the stacking order, so unportaled Conversation popovers can still rise above AppFrame chrome that floats over the column. Layers own their own input handling. With no occupant, the body is unchanged.
|
|
72
|
+
|
|
71
73
|
Below 768px, Web view tabs align with the header's 20px left inset. Desktop and wider Web windows retain the additional 8px tab inset.
|
|
72
74
|
|
|
73
75
|
The shared image slot props keep display choices separate from durable references: `thumbnail` requests a contained attachment-list thumbnail, while `compact` requests a cropped gallery tile. An optional per-image `label` supplies the accessible display name; loading and cache identity still use the original attachment reference. `MessageImagesContentInput` adds optional complete `MessageImageLabels` for the root-scoped `conversation.images.content` Factory. Message, tool, and Factory inputs carry the view's authorized `loadImage` callback explicitly; loading and URL caching remain with the resource owner. [ui-attachment](../ui-attachment/README.md) provides this Factory and owns rendering and the lightbox.
|
|
@@ -78,9 +80,15 @@ The composer measures its expanded control groups after size, content, visibilit
|
|
|
78
80
|
|
|
79
81
|
The context meter follows the [statistics-control radius](../../../docs/ui-radius.md#radius-scale).
|
|
80
82
|
|
|
83
|
+
An empty, idle ordinary Session composer offers a play action after `RATE_LIMIT`, `SERVER`, `TIMEOUT`, `TRANSPORT`, `EMPTY_RESPONSE`, or `STREAM_CLOSED` ends its latest turn. The failed turn must include admitted ordinary user input and a settled failed model attempt. Clicking submits `content: []` through the existing Session prompt API; drafts and attachments keep the Send action. A new balanced turn uses committed history and records an empty `user/message` with `source.kind: 'retry'`. Refusal or transport failure leaves the draft empty and reports the error through the ordinary submission lifecycle.
|
|
84
|
+
|
|
85
|
+
The Session API owns `conversationContinuation`, shared by Host admission and browser presentation. It restores eligibility from complete Session history and preserves it across repeated failed empty continuations, independently of loaded browser pages.
|
|
86
|
+
|
|
87
|
+
The composer exposes `retry(failureSeq)` for failed-generation recovery. The input bar reads `conversationContinuation` and `inbox` through the standard `useProjection` prop. User-facing text calls the action Continue generating.
|
|
88
|
+
|
|
81
89
|
The composer uses the shared [text-input focus policy](../ui-primitives/README.md#use-this-package) on mount, Session switching, and unlock. Identified phones and tablets require tapping the input; desktop devices retain automatic focus. On these mobile devices, a submission that empties the focused draft moves focus to the non-text composer card, dismissing the keyboard while retaining its navigation position. Rejected submissions, retained newer draft text, and another control already holding focus preserve focus. The [Lexical patch](../../../patches/lexical@0.49.0.patch) keeps caret scrolling in the same coordinate system as DOM geometry when a mobile keyboard pans the page.
|
|
82
90
|
|
|
83
|
-
The context-occupancy button shows a ring and percentage below the input card, after the Session statistics. Clicking it opens the token breakdown in a panel
|
|
91
|
+
The context-occupancy button shows a ring and percentage below the input card, after the Session statistics. Clicking it opens the token breakdown in a CSS-anchored panel bounded by the layout viewport, including when no statistics are shown; the button stays hidden until context usage and capacity are available. Browser zoom and panning move the panel with the page, so it may extend beyond the visual viewport. Outside the Hero, that row keeps one reading's height while it is empty, so statistics and context usage arriving later do not change the composer's height; the Hero shows no empty row.
|
|
84
92
|
|
|
85
93
|
With Coding Tools off, the shell hides only Trajectory; other plugin-contributed Views remain available. The View tab bar is hidden when fewer than two Views are available. Turning Coding Tools off while Trajectory is active returns to Chat; stored View preferences and recorded Session data remain intact. Turning it on makes Trajectory available again. View owners receive the available roster so their navigation actions can follow the same visibility.
|
|
86
94
|
|
|
@@ -102,11 +110,13 @@ The package occupies the root-scoped `main` key `conversation`. Its `main.conver
|
|
|
102
110
|
|
|
103
111
|
A blank Session retains the header's leading and corner controls, including the right-sidebar opener, while hiding its title, actions, utilities, and View tabs. Selecting a Workspace creates the Session needed by these controls; the first message is not required. Without a selected Session, the strict header is absent; the resident header keeps the blank-Session 40px row on every platform, so the Hero input card sits at the same height before and after a Workspace is bound; on macOS desktop that row is also the window drag row. Sidebar entries retain their own data and execution prerequisites. A started Session header uses one row when fewer than two Views are available; the tab row reserves space only while rendered. When the title and actions do not fit, the title area clips them and fades its trailing edge before the utilities, which stay fully visible and clickable; overlays in the title and actions slots portal to stay outside that clip.
|
|
104
112
|
|
|
113
|
+
The Session Header owns its trailing More button and renders the shared `contextMenu.button` factory after utility contributions. This package declares the `sessionHeader` context-menu target `{ sessionId }`, independent of Session-row context actions; Header-menu providers import its client types. The button remains available without the export plugin while another Header-menu provider is registered; it hides when none are registered. Providers determine their own items and availability when the menu opens. [Context menus](../ui-context-menu/README.md) own button toggling and accessibility; [Session log export](../../session-query/session-log-export/README.md) owns export actions and global download dialogs.
|
|
114
|
+
|
|
105
115
|
View selection is deterministic: a registered persisted selection wins, otherwise registered `chat` wins, otherwise no View renders. It never chooses the first registered View. Shell phase combines Session lifecycle with the active-target set; no target-specific snapshot is read by the shell.
|
|
106
116
|
|
|
107
117
|
The shell reads the persisted View preference before rendering when a Session first binds or a cached Session becomes current, activates the registered preferred View or Chat fallback, and activates later tab or focus selections before committing them to the store. A blank Session still omits the `conversation.view` slot; no unselected target is activated.
|
|
108
118
|
|
|
109
|
-
Active transcripts in the main occurrence expose content-width drag handles in their uncovered side gutters; embedded occurrences omit them. A View that paints into a gutter raises only its concrete painted element above the handle; transparent full-width wrappers stay below so they do not claim empty gutter. This requires the path between that element and the Conversation body to remain outside an intermediate stacking context; the shipped Chromium behavior is pinned by the browser scenario. Chat applies the rule to table elements, while its column-bounded tool cards need no raise. Wheel motion over a handle still scrolls the transcript, while Ctrl+wheel remains a browser zoom gesture. The sticky composer owns its full footer band, which is not a resize target; a captured drag continues under the band and under gutter tables, which cover its indicator. In an active transcript the composer rests at the scrollport floor even when no View fills the column, keeps one stacking rank in every state, above transcript sticky headers and the back-to-bottom control, so menus it opens upward cover that control, and never serves as a scroll-anchoring target. It keeps its own compositor layer whatever lies beneath it, which makes it the containing block for fixed-position descendants: contributions to `conversation.composer`, `conversation.composer.bar`, `conversation.composer.dock`, `conversation.input.dock`, and the other `conversation.input.*` slots must portal fixed overlays to the document body, for example with `Tooltip` or `Menu` `portal` or `createPortal` ([handle and composer styles](src/client/skeleton/ConversationRoot.module.css)).
|
|
119
|
+
Active transcripts in the main occurrence expose content-width drag handles in their uncovered side gutters; embedded occurrences omit them. A View that paints into a gutter raises only its concrete painted element above the handle; transparent full-width wrappers stay below so they do not claim empty gutter. This requires the path between that element and the Conversation body to remain outside an intermediate stacking context; the shipped Chromium behavior is pinned by the browser scenario. Chat applies the rule to table elements, while its column-bounded tool cards need no raise. Wheel motion over a handle still scrolls the transcript, while Ctrl+wheel remains a browser zoom gesture. The handle scrolls the first `[data-conversation-scroll]` element inside the body, which is the body's own scroll element even when frame layers wrap it. The sticky composer owns its full footer band, which is not a resize target; a captured drag continues under the band and under gutter tables, which cover its indicator. In an active transcript the composer rests at the scrollport floor even when no View fills the column, keeps one stacking rank in every state, above transcript sticky headers and the back-to-bottom control, so menus it opens upward cover that control, and never serves as a scroll-anchoring target. It keeps its own compositor layer whatever lies beneath it, which makes it the containing block for fixed-position descendants: contributions to `conversation.composer`, `conversation.composer.bar`, `conversation.composer.dock`, `conversation.input.dock`, and the other `conversation.input.*` slots must portal fixed overlays to the document body, for example with `Tooltip` or `Menu` `portal` or `createPortal` ([handle and composer styles](src/client/skeleton/ConversationRoot.module.css)).
|
|
110
120
|
|
|
111
121
|
The width-handle indicator follows the pointer only during a captured drag; ordinary hover leaves its position unchanged.
|
|
112
122
|
|
|
@@ -189,11 +199,19 @@ Session title context gestures use the shared [context menu](../ui-context-menu/
|
|
|
189
199
|
<a id="model-experience"></a>
|
|
190
200
|
## Model Experience
|
|
191
201
|
|
|
192
|
-
|
|
202
|
+
### Manual continuation request
|
|
203
|
+
|
|
204
|
+
#### What the model sees
|
|
205
|
+
|
|
206
|
+
The play action submits `content: []` through the existing Session prompt API. Ordinary Loop admission records an empty `user/message` with `source.kind: 'retry'`. Chat presents the empty retry as a compact continuation-request receipt. The adapter applies its ordinary message serialization; the action adds no localized or hidden continuation text. Pending injected context follows ordinary admission.
|
|
207
|
+
|
|
208
|
+
#### Token effect
|
|
209
|
+
|
|
210
|
+
The action adds no continuation text. Empty-message serialization and framing costs depend on the adapter. The request still incurs the ordinary cost of retained history, current prompt sections, tool declarations, and any newly admitted context.
|
|
193
211
|
|
|
194
212
|
#### KV Cache effect
|
|
195
213
|
|
|
196
|
-
|
|
214
|
+
Serialization of the empty retry message depends on the adapter. Prefix reuse depends on the current model, prompt, tools, injected context, and provider cache policy.
|
|
197
215
|
|
|
198
216
|
## Known Limitations and Deferred Work
|
|
199
217
|
|
|
@@ -201,7 +219,9 @@ None; Conversation assembly and browser input state do not alter provider-side p
|
|
|
201
219
|
|
|
202
220
|
- **Only registered targets can render** — the shell deliberately has no implicit fallback target beyond the registered `chat` preference.
|
|
203
221
|
- **Factory occurrences inherit their render-position Session** — `conversation.content` does not accept an independently addressed Session; that requires a separate Session-provider capability.
|
|
222
|
+
- **Manual continuation uses a fixed product allowlist** — the supported failure codes are independent of the provider's configurable `retryableCodes`; changing automatic retry policy does not expand or reduce this action. `STREAM_CLOSED` permits an explicit new user turn even when the default policy does not retry it. That code can also identify a protocol violation, so another request is not guaranteed to recover.
|
|
204
223
|
- **Composer backdrop blur is verified only in Chromium** — with `will-change: transform` on the docked composer, descendant `backdrop-filter` still samples the transcript in Chromium; WebKit behavior has not been verified.
|
|
224
|
+
- **A failing Definition costs a full replay per publication** — after an incremental flush fails, the assembler replays the complete loaded window to keep the views correct. A Definition that fails on every update therefore replays the whole window on each publication until its owner fixes it ([window update paths](../../../docs/subsystems/conversation.md#window-update-paths)).
|
|
205
225
|
|
|
206
226
|
|
|
207
227
|
<a id="dev-note"></a>
|
|
@@ -68,6 +68,8 @@ Queue 预览启用空白折叠和文档边缘 trim,保留 emoji,并使用 CS
|
|
|
68
68
|
<a id="shell-and-standard-props"></a>
|
|
69
69
|
## Shell 与标准 props
|
|
70
70
|
|
|
71
|
+
root 作用域的 hoc Slot `conversation.hero.frame` 在所有阶段都包裹滚动区,因此首页结束时各层不会让输入框重新挂载。它的所有者 props 提供 `hero`,仅在独立 Conversation 的空白首页时为 true。各层需让滚动区仍是 body 的直接 flex 子项,例如使用 `display: contents`。首页阶段,绘制背景的 Conversation 根元素隔离层叠上下文:层中负 `z-index` 的装饰画在该背景之上、所有 Conversation 内容之下,包括输入区的接管面板。其他阶段根元素不参与层叠隔离,未经 portal 的 Conversation 浮层仍能盖住悬浮在中栏上方的 AppFrame 元素。各层自行处理输入。没有占用者时,body 保持原样。
|
|
72
|
+
|
|
71
73
|
宽度小于 768px 时,Web 的 View 标签与页头的 20px 左内边距对齐。桌面客户端和较宽的 Web 窗口保留标签额外的 8px 左内边距。
|
|
72
74
|
|
|
73
75
|
共享图片插槽属性将展示选择与持久化引用分开:`thumbnail` 请求完整缩放的附件列表缩略图,`compact` 请求裁剪的图片方块。每张图片可通过可选的 `label` 提供无障碍展示名称;加载和缓存标识仍使用原始附件引用。`MessageImagesContentInput` 为 root 作用域的 `conversation.images.content` Factory 增加可选的完整 `MessageImageLabels`。消息、工具及 Factory 输入显式携带视图提供的授权 `loadImage` 回调;读取和 URL 缓存仍由资源所有者负责。[ui-attachment](../ui-attachment/README.zh.md) 提供该 Factory,负责渲染与灯箱。
|
|
@@ -78,9 +80,15 @@ Queue 预览启用空白折叠和文档边缘 trim,保留 emoji,并使用 CS
|
|
|
78
80
|
|
|
79
81
|
上下文占用率入口遵循[统计控件圆角规则](../../../docs/ui-radius.zh.md#radius-scale)。
|
|
80
82
|
|
|
83
|
+
空闲且草稿为空的普通 Session,在最新轮次以 `RATE_LIMIT`、`SERVER`、`TIMEOUT`、`TRANSPORT`、`EMPTY_RESPONSE` 或 `STREAM_CLOSED` 结束后显示播放按钮。失败工作必须有已准入的普通用户输入和失败请求尝试。点击通过现有 Session prompt API 提交 `content: []`;已有草稿或附件仍使用发送按钮。新轮次正常闭合,使用已提交历史,并记录 `source.kind: 'retry'` 的空 `user/message`。请求被拒绝或传输失败时,草稿保持为空,错误沿用普通提交流程展示。
|
|
84
|
+
|
|
85
|
+
Session API 拥有 `conversationContinuation`,Host 准入和浏览器展示共用该投影。它从完整 Session 历史恢复资格,并在空输入继续再次失败时保留资格,不依赖浏览器已加载的历史分页。
|
|
86
|
+
|
|
87
|
+
composer 提供 `retry(failureSeq)` 处理生成失败后的恢复。输入栏通过标准 `useProjection` prop 读取 `conversationContinuation` 和 `inbox`。面向用户的操作文案为“继续生成”。
|
|
88
|
+
|
|
81
89
|
composer 在挂载、切换 Session 和解除锁定时使用共享的[文字输入框聚焦策略](../ui-primitives/README.zh.md#use-this-package)。识别出的手机和平板需要点击输入框;桌面设备保留自动聚焦。在这些移动设备上,提交清空正在聚焦的草稿后,焦点移到不接受文字输入的 composer 卡片,收起键盘并保留键盘导航位置。被拒绝的提交、保留的新草稿文字,以及已经聚焦的其他控件均保留原有焦点。移动端键盘平移页面时,[Lexical 补丁](../../../patches/lexical@0.49.0.patch)让光标滚动计算与 DOM 几何使用同一坐标系。
|
|
82
90
|
|
|
83
|
-
|
|
91
|
+
上下文占用按钮在输入卡片下方、会话统计右侧显示圆环和百分比。点击按钮可在受布局视口约束的 CSS 锚定面板中查看 token 构成,没有统计项时也可打开;上下文用量和容量尚不可用时,按钮保持隐藏。浏览器缩放和平移时面板随页面移动,因此可以超出视觉视口。Hero 之外,这一行为空时仍保留一项读数的高度,因此会话统计和上下文用量稍后到达不会改变 composer 的高度;Hero 不显示空行。
|
|
84
92
|
|
|
85
93
|
关闭代码工作工具时,外壳仅隐藏 Trajectory;其他插件贡献的 View 仍然可用。可用 View 少于两个时隐藏 View 标签栏。在 Trajectory 激活时关闭代码工作工具会返回 Chat;已保存的 View 偏好和 Session 记录保持不变。开启后,Trajectory 恢复可用。View 所有者接收可用列表,使导航操作跟随相同的可见性。
|
|
86
94
|
|
|
@@ -102,11 +110,13 @@ root 作用域的 `conversation.session.header.views.actions` list 有注册项
|
|
|
102
110
|
|
|
103
111
|
blank Session 保留 header 的 leading 与 corner 控件,包括右侧栏展开入口,同时隐藏标题、actions、utilities 和 View tabs。选择 Workspace 会创建这些控件所需的 Session,无需先发送消息。没有选中 Session 时,strict header 不挂载;常驻 header 在所有平台都保留与 blank Session 相同的 40px 行,因此绑定 Workspace 前后 Hero 输入卡片的高度位置不变;在 macOS 桌面上,这一行同时是窗口拖拽行。侧栏各入口仍遵循自身的数据与执行环境要求。 已开始的 Session 在可用 View 少于两个时使用单行标题栏,仅在渲染标签行时保留其高度。标题与 actions 放不下时,标题区域会裁剪它们,并在 utilities 之前渐隐其末端;utilities 始终完整可见且可点击;标题与 actions slot 中的浮层通过 portal 渲染,不受该裁剪影响。
|
|
104
112
|
|
|
113
|
+
Session Header 持有末尾的更多按钮,在 utility 贡献之后渲染共享 `contextMenu.button` factory。本包声明 `sessionHeader` 右键菜单目标 `{ sessionId }`,独立于会话行右键操作;Header 菜单提供者导入本包的 client 类型。只要仍注册有其他 Header 菜单提供者,未挂载导出插件时按钮也可用;没有任何提供者时隐藏。各提供者在菜单打开时决定自己的条目及可用性。[右键菜单](../ui-context-menu/README.zh.md)负责按钮开关与可访问性;[会话日志导出](../../session-query/session-log-export/README.zh.md)负责导出操作与全局下载弹窗。
|
|
114
|
+
|
|
105
115
|
View 选择规则固定:有效且已注册的持久化选择优先,其次是已注册的 `chat`,否则不渲染 View;绝不选择第一个已注册 View。Shell phase 只组合 Session lifecycle 与 active-target set,不读取任何 target-specific 快照。
|
|
106
116
|
|
|
107
117
|
Session 首次绑定或缓存的 Session 成为 current 时,shell 会在渲染前读取持久化 View 偏好,激活已注册的偏好 View 或 Chat fallback,并在后续 tab 或 focus 选择写入 store 前先激活对应 target。blank Session 仍不渲染 `conversation.view` slot;未选中的 target 不会激活。
|
|
108
118
|
|
|
109
|
-
主 occurrence 的活跃 transcript 只在未被内容覆盖的两侧沟槽中提供正文宽度拖拽条;嵌入式 occurrence 省略这些拖拽条。View 如果绘制进沟槽,只将具体的可见元素提到拖拽条上方;透明的全宽包装层保持在下方,不会占用空白沟槽。该规则要求此元素与 Conversation body 之间不能引入中间堆叠上下文;浏览器场景固定了交付 Chromium 的行为。Chat 将该规则用于表格元素,其限定在阅读列内的工具卡片无需提高层级。指针位于拖拽条上时,滚轮仍会滚动 transcript,Ctrl
|
|
119
|
+
主 occurrence 的活跃 transcript 只在未被内容覆盖的两侧沟槽中提供正文宽度拖拽条;嵌入式 occurrence 省略这些拖拽条。View 如果绘制进沟槽,只将具体的可见元素提到拖拽条上方;透明的全宽包装层保持在下方,不会占用空白沟槽。该规则要求此元素与 Conversation body 之间不能引入中间堆叠上下文;浏览器场景固定了交付 Chromium 的行为。Chat 将该规则用于表格元素,其限定在阅读列内的工具卡片无需提高层级。指针位于拖拽条上时,滚轮仍会滚动 transcript,Ctrl+滚轮则保留为浏览器缩放手势。拖拽条滚动的是 body 内第一个 `[data-conversation-scroll]` 元素;即使有 frame 层包在外面,它也是 body 自己的滚动区。粘滞 composer 拥有完整的底部区带,该区域不是宽度调整目标;已捕获的拖拽会在该区带和沟槽中的表格下方继续,此时指示线被它们遮住。在活跃 transcript 中,即使没有 View 撑满整列,composer 也停在滚动区底部;它在所有状态下保持同一层级,高于 transcript 的吸顶标题与“回到底部”按钮,因此它向上打开的菜单会盖住该按钮;它也从不作为滚动锚定目标。无论下方是什么内容,它都保持自己的合成层,因此成为 fixed 定位后代的包含块:向 `conversation.composer`、`conversation.composer.bar`、`conversation.composer.dock`、`conversation.input.dock` 以及其他 `conversation.input.*` slot 贡献的内容,必须把 fixed 浮层 portal 到 document body,例如使用 `Tooltip` 或 `Menu` 的 `portal`,或 `createPortal`([拖动手柄与 composer 样式](src/client/skeleton/ConversationRoot.module.css))。
|
|
110
120
|
|
|
111
121
|
宽度拖拽条的指示线只在已捕获指针的拖拽期间跟随指针,普通悬停不改变其位置。
|
|
112
122
|
|
|
@@ -189,11 +199,19 @@ selector 必须是 owner currency 的纯函数。非 null 返回值作为 `match
|
|
|
189
199
|
<a id="model-experience"></a>
|
|
190
200
|
## 模型体验
|
|
191
201
|
|
|
192
|
-
|
|
202
|
+
### 手动继续请求
|
|
203
|
+
|
|
204
|
+
#### 模型看到什么
|
|
205
|
+
|
|
206
|
+
播放按钮通过现有 Session prompt API 提交 `content: []`。普通 Loop 准入记录带 `source.kind: 'retry'` 的空 `user/message`。Chat 将空重试消息显示为轻量的继续请求记录。适配器按普通消息序列化处理;该操作不添加本地化或隐藏的继续文本。待注入上下文遵循普通准入流程。
|
|
207
|
+
|
|
208
|
+
#### Token 影响
|
|
209
|
+
|
|
210
|
+
该操作不增加继续文本。空消息的序列化及封装开销取决于适配器。请求仍承担保留历史、当前提示词、工具声明以及新准入上下文的正常输入成本。
|
|
193
211
|
|
|
194
212
|
#### KV Cache 影响
|
|
195
213
|
|
|
196
|
-
|
|
214
|
+
空重试消息的序列化取决于适配器。前缀复用取决于当前模型、提示词、工具、注入上下文及提供方缓存策略。
|
|
197
215
|
|
|
198
216
|
## 已知限制与暂缓事项
|
|
199
217
|
|
|
@@ -201,7 +219,9 @@ selector 必须是 owner currency 的纯函数。非 null 返回值作为 `match
|
|
|
201
219
|
|
|
202
220
|
- **只有已注册 target 可以渲染**——除已注册的 `chat` 偏好外,shell 刻意不提供隐式 fallback target。
|
|
203
221
|
- **Factory occurrence 继承渲染位置的 Session**——`conversation.content` 不接受独立寻址的 Session;该能力需要单独的 Session provider。
|
|
222
|
+
- **手动继续使用固定产品白名单**——支持的失败码独立于提供方可配置的 `retryableCodes`;修改自动重试策略不会扩展或缩小此操作的范围。即使默认策略不重试 `STREAM_CLOSED`,用户仍可明确发起新轮次。该错误码也可能表示协议违规,因此再次请求不保证能够恢复。
|
|
204
223
|
- **composer 内的毛玻璃只在 Chromium 中验证过**——docked composer 设置 `will-change: transform` 后,Chromium 中后代的 `backdrop-filter` 仍会采样背后的 transcript;WebKit 中的表现尚未验证。
|
|
224
|
+
- **出错的 Definition 让每次发布都完整回放**——增量 flush 失败后,assembler 回放已加载的完整窗口,以保持视图正确。若某个 Definition 在每次更新中都失败,在其 owner 修复前,每次发布都会回放整个窗口([Window 更新路径](../../../docs/subsystems/conversation.zh.md#window-update-paths))。
|
|
205
225
|
|
|
206
226
|
|
|
207
227
|
<a id="dev-note"></a>
|