@songtonyli/dsh-cli 0.1.88 → 0.1.89
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 +127 -125
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +8 -6
- 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 +7 -3
- 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-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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +10 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +7 -0
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remote-access/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/typert.host.js +5 -1
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1541 -184
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +45 -44
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +56 -27
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +1426 -454
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +715 -57
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +560 -40
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +70 -35
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/transport.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +5 -102
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/assistant-stream.js +80 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/controller.js +294 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history/listener.js +297 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +52 -341
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +98 -67
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/controller.js +289 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/state/listener.js +112 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/web/controller.js +139 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +77 -75
- 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/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +143 -7
- 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/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-attachment/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-attachment/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-attachment/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/lib/index.js +1 -1
- 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/package.json +100 -100
- 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-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +7 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +7 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +245 -76
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +290 -290
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +34 -34
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +19 -59
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +27 -27
- 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-drag/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +5 -5
- 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/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 +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +3 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +3 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +28 -3
- 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 +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +118 -69
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +15 -21
- 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 +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +164 -106
- 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 +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +20 -20
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +4 -3
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +2 -2
- 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/lib/client.js +176 -2
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +42 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +2 -2
- 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/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +10 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +14 -14
- 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/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +5 -4
- 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 +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +158 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/index.js +239 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/typert.host.js +75 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/typert.remote-client.js +64 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +43 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +8 -6
- 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 +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +36 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +25 -25
- 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/lib/typert.host.js +7 -3
- 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 +26 -26
- 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 +98 -40
- 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 +10 -10
- package/node_modules/@deepseek-ai/dsh-cua/README.md +16 -7
- package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +16 -7
- package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +18 -38
- package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +342 -146
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +19 -20
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +13 -14
- package/node_modules/@deepseek-ai/dsh-cua/package.json +53 -50
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +9 -9
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +9 -9
- package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +12 -8
- 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-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +0 -17
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +0 -17
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/DETAIL.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/DETAIL.zh.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/zh.json +1 -1
- 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-agent-team/package.json +12 -12
- 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 +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.md +135 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/README.zh.md +135 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/client.js +8745 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/index.js +3131 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.host.js +2222 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/lib/typert.remote-client.js +1284 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-forge/package.json +117 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/README.i18n.yaml +43 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/README.md +121 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/README.zh.md +121 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/lib/client.js +6272 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-stats/package.json +71 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +4 -4
- 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/docs/DETAIL.md +0 -17
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/DETAIL.zh.md +0 -17
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-forge/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/README.md +100 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/README.zh.md +100 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/lib/index.js +495 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge/package.json +45 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.md +77 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/README.zh.md +77 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/cordis.patch.yml +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/icon.svg +11 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-bundle/package.json +53 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.md +105 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/README.zh.md +105 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/lib/index.js +813 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-github/package.json +47 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/README.md +105 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/README.zh.md +105 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/lib/index.js +844 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-forge-session/package.json +88 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.i18n.yaml +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/cordis.patch.yml +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/DETAIL.md +0 -15
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/DETAIL.zh.md +0 -15
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +7 -6
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.i18n.yaml +52 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.md +177 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/README.zh.md +177 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/cordis.patch.yml +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/icon.svg +12 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/client.js +7130 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/index.js +7781 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/owner-gateway/cli.js +370 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/retry-backoff-ccJYtzOj.js +121 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.host.js +767 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/typert.remote-client.js +551 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations-krUNq6VU.js +287 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/lib/viewer-declarations.js +26 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare/package.json +160 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/README.md +93 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/README.zh.md +93 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/lib/index.js +738 -0
- package/node_modules/@deepseek-ai/dsh-experimental-liveshare-protocol/package.json +37 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/DETAIL.md +1 -18
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/DETAIL.zh.md +1 -18
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/preview.svg +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/preview.zh.svg +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/DETAIL.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/DETAIL.zh.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/DETAIL.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/DETAIL.zh.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/DETAIL.md +0 -10
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/DETAIL.zh.md +0 -10
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/zh.json +1 -1
- 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/docs/DETAIL.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/DETAIL.zh.md +0 -16
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/zh.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/DETAIL.md +0 -15
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/DETAIL.zh.md +0 -15
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/de.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/es.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/fr.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/ja.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/pt.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/ru.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/zh.json +1 -1
- 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/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/index.js +213 -54
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +24 -25
- 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 +9 -9
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- 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/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/lib/index.js +5 -1
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +10 -1
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +1 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +1 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +13 -1
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +6 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +40 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -10
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +264 -93
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +45 -45
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +8 -15
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +12 -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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-mcp-client/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-mcp-resources/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-mcp-resources/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-resources/README.zh.md +1 -1
- 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/lib/index.js +6 -1
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +6 -2
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.md +1 -0
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.zh.md +1 -0
- 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/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +8 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +8 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +166 -34
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +60 -37
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +37 -35
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/diagnostic.js +72 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +137 -31
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +26 -4
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +43 -39
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +1 -1
- 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/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/lib/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +29 -29
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +50 -22
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +49 -21
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/configuration.js +24 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +413 -597
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +5853 -125
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +5865 -91
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +31 -24
- 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/lib/index.js +6 -1
- 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/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-DFdfvhLN.js +1411 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +37 -37
- 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 +33 -33
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +11 -11
- 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-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/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/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +6 -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 +5 -2
- package/node_modules/@deepseek-ai/dsh-session-projection/README.md +15 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +15 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +4 -2
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +3 -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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-skill/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill/README.zh.md +1 -1
- 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/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.md +3 -2
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.zh.md +3 -2
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +14 -3
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-storage/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/lib/index.js +10 -12
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-storage-json/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-storage-json/README.md +9 -7
- package/node_modules/@deepseek-ai/dsh-storage-json/README.zh.md +9 -7
- package/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +50 -49
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +7 -3
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -51
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +15 -15
- 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/lib/index.js +6 -1
- 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-ask-user/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +2 -2
- 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 +789 -26
- 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 +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/errors.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ptc.js +7 -2
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/ts-types.js +1 -1
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +8 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +36 -36
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +9 -6
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +19 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +19 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +21 -8
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +5 -10
- 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 +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +23 -14
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.md +27 -8
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.zh.md +27 -8
- package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +27 -20
- 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 +7 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +7 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +145 -211
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +25 -27
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +22 -22
- 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 +24 -24
- 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/package.json +85 -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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
- 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 +6 -6
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +150 -151
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +32 -21
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-UeToUMuD.js → index--TtJvO-i.js} +84 -84
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{index-91FlLSYh.css → index-Jtzf36XE.css} +1 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{graphql-BIiNFDN_.js → graphql-C-Uijqkk.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{http-DIhnzaXE.js → http-CLu1VCSi.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{php-B4EoFdzs.js → php-CjQPq1Mz.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{rst-BHSXxbFM.js → rst-BuDKiyD7.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-DYyEMX7k.js → ruby-ZtjE4NPI.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{svelte-CwMGesqy.js → svelte-Tt81icjn.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vue-DgeFhH50.js → vue-B5SDFeDA.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-D3p0kQ7Q.js → vendor-7utBqO4o.js} +25 -25
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +3 -3
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +21 -20
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
- 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/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/lib/index.js +5 -1
- 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 +23 -23
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/node_modules/acorn/CHANGELOG.md +1012 -0
- package/node_modules/acorn/LICENSE +21 -0
- package/node_modules/acorn/README.md +309 -0
- package/node_modules/acorn/bin/acorn +4 -0
- package/node_modules/acorn/dist/acorn.js +6370 -0
- package/node_modules/acorn/dist/acorn.mjs +6341 -0
- package/node_modules/acorn/dist/bin.js +90 -0
- package/node_modules/acorn/package.json +47 -0
- package/node_modules/acorn-walk/CHANGELOG.md +209 -0
- package/node_modules/{@deepseek-ai/dsh-experimental-worktree → acorn-walk}/LICENSE +5 -5
- package/node_modules/acorn-walk/README.md +124 -0
- package/node_modules/acorn-walk/dist/walk.js +485 -0
- package/node_modules/acorn-walk/dist/walk.mjs +467 -0
- package/node_modules/acorn-walk/package.json +47 -0
- package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
- package/node_modules/shell-quote/LICENSE +24 -0
- package/node_modules/shell-quote/README.md +246 -0
- package/node_modules/shell-quote/index.js +4 -0
- package/node_modules/shell-quote/package.json +66 -0
- package/node_modules/shell-quote/parse.js +382 -0
- package/node_modules/shell-quote/quote.js +85 -0
- package/node_modules/shell-quote/tsconfig.json +10 -0
- package/package.json +346 -326
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/README.i18n.yaml +0 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/README.md +0 -91
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/README.zh.md +0 -91
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/lib/client.js +0 -93
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/lib/index.js +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/de.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/en.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/es.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/fr.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/ja.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/pt.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/ru.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/zh.json +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/package.json +0 -59
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/directory.d.ts +0 -7
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/index.d.ts +0 -54
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/process.d.ts +0 -29
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/lib/types/types.d.ts +0 -20
|
@@ -3491,8 +3491,8 @@ window.__ModuleLoader__.load({
|
|
|
3491
3491
|
}, "ui-conversation historical image cache");
|
|
3492
3492
|
}
|
|
3493
3493
|
/**
|
|
3494
|
-
* Resolve and cache one
|
|
3495
|
-
* @param sessionId - Session
|
|
3494
|
+
* Resolve and cache one stored image URL.
|
|
3495
|
+
* @param sessionId - Session binding that owns the cached URL lifetime.
|
|
3496
3496
|
* @param attachment - Durable image reference.
|
|
3497
3497
|
* @returns browser URL valid until the Session binding is released.
|
|
3498
3498
|
*/
|
|
@@ -3514,7 +3514,7 @@ window.__ModuleLoader__.load({
|
|
|
3514
3514
|
}
|
|
3515
3515
|
/**
|
|
3516
3516
|
* Return an already-displayable URL without starting a read.
|
|
3517
|
-
* @param sessionId - Session
|
|
3517
|
+
* @param sessionId - Session binding that owns the cached URL lifetime.
|
|
3518
3518
|
* @param attachment - Durable image reference.
|
|
3519
3519
|
* @returns current preview or canonical URL when cached.
|
|
3520
3520
|
*/
|
|
@@ -3526,7 +3526,7 @@ window.__ModuleLoader__.load({
|
|
|
3526
3526
|
* Adopt a submission preview while fetching the durable admitted bytes.
|
|
3527
3527
|
* The preview is available synchronously, then replaced and revoked when
|
|
3528
3528
|
* the canonical attachment read completes.
|
|
3529
|
-
* @param sessionId - Session
|
|
3529
|
+
* @param sessionId - Session binding that owns the cached URL lifetime.
|
|
3530
3530
|
* @param attachment - Durable image reference the URL temporarily displays.
|
|
3531
3531
|
* @param url - browser URL to adopt.
|
|
3532
3532
|
* @returns whether the cache took ownership.
|
|
@@ -3556,7 +3556,7 @@ window.__ModuleLoader__.load({
|
|
|
3556
3556
|
return true;
|
|
3557
3557
|
}
|
|
3558
3558
|
loadCanonical(key, entry, attachment) {
|
|
3559
|
-
return entry.binding.session.readAttachment(attachment
|
|
3559
|
+
return entry.binding.session.readAttachment(attachment).then((result) => {
|
|
3560
3560
|
if (!result.ok) throw new Error(`${result.error.code}: ${result.error.message}`);
|
|
3561
3561
|
this.assertLive(key, entry);
|
|
3562
3562
|
let url;
|
|
@@ -4155,9 +4155,9 @@ window.__ModuleLoader__.load({
|
|
|
4155
4155
|
return binding;
|
|
4156
4156
|
}
|
|
4157
4157
|
/**
|
|
4158
|
-
* Resolve one
|
|
4158
|
+
* Resolve one Gateway-authorized durable image URL, cached per Session so
|
|
4159
4159
|
* every Conversation target shares one read and one browser URL.
|
|
4160
|
-
* @param sessionId - Session
|
|
4160
|
+
* @param sessionId - Session binding that owns the cached URL lifetime.
|
|
4161
4161
|
* @param attachment - Durable image reference from a session event.
|
|
4162
4162
|
* @returns browser URL valid until the Session binding is released.
|
|
4163
4163
|
*/
|
|
@@ -4166,7 +4166,7 @@ window.__ModuleLoader__.load({
|
|
|
4166
4166
|
}
|
|
4167
4167
|
/**
|
|
4168
4168
|
* Read a cached durable image URL synchronously when one is available.
|
|
4169
|
-
* @param sessionId - Session
|
|
4169
|
+
* @param sessionId - Session binding that owns the cached URL lifetime.
|
|
4170
4170
|
* @param attachment - Durable image reference from a session event.
|
|
4171
4171
|
* @returns current preview or canonical URL, if cached.
|
|
4172
4172
|
*/
|
|
@@ -4177,7 +4177,7 @@ window.__ModuleLoader__.load({
|
|
|
4177
4177
|
* Adopt an already-displayable URL for one durable reference (see
|
|
4178
4178
|
* HistoricalImageCache.seed): the transcript node then renders it without a
|
|
4179
4179
|
* byte round-trip.
|
|
4180
|
-
* @param sessionId - Session
|
|
4180
|
+
* @param sessionId - Session binding that owns the cached URL lifetime.
|
|
4181
4181
|
* @param attachment - Durable image reference the URL displays.
|
|
4182
4182
|
* @param url - browser URL to adopt.
|
|
4183
4183
|
* @returns whether the cache took URL ownership.
|
|
@@ -4744,20 +4744,25 @@ window.__ModuleLoader__.load({
|
|
|
4744
4744
|
if (!result.ok) throw new Error(`conversation.send failed: ${result.error.code}: ${result.error.message}`);
|
|
4745
4745
|
}
|
|
4746
4746
|
/**
|
|
4747
|
-
* Submit ordered draft attachments with text through one host admission. A
|
|
4748
|
-
* submission echo enters the session snapshot
|
|
4749
|
-
*
|
|
4750
|
-
*
|
|
4751
|
-
*
|
|
4752
|
-
*
|
|
4747
|
+
* Submit ordered draft attachments with text through one host admission. A
|
|
4748
|
+
* local submission echo is registered first and enters the session snapshot
|
|
4749
|
+
* once the Host accepts the prompt; serialization and the prompt round-trip
|
|
4750
|
+
* start after the browser can paint the composer's sending state. The
|
|
4751
|
+
* outcome is success as soon as the Host accepts the prompt, which an Inbox
|
|
4752
|
+
* row carrying the request id can show before the receipt. The echo's
|
|
4753
|
+
* observed retirement seeds admitted image previews into the durable cache
|
|
4754
|
+
* and removes every attachment from the draft registry; an accepted prompt
|
|
4755
|
+
* whose echo retires unobserved also releases them. Until the Host accepts
|
|
4756
|
+
* the prompt, every attachment remains registered for the composer.
|
|
4753
4757
|
* @param session - target session.
|
|
4754
4758
|
* @param text - serialized prompt text.
|
|
4755
4759
|
* @param attachmentIds - ordered draft-local attachment ids.
|
|
4756
4760
|
* @param mode - queue or steer delivery selected by composer policy.
|
|
4757
4761
|
* @param signal - optional cancellation for the complete Host admission.
|
|
4762
|
+
* @param accept - called inside the Session's acceptance, before the echo renders, so the composer settles with it.
|
|
4758
4763
|
* @returns the Host admission outcome; local attachment preparation failures reject.
|
|
4759
4764
|
*/
|
|
4760
|
-
async sendSession(session, text, attachmentIds, mode, signal) {
|
|
4765
|
+
async sendSession(session, text, attachmentIds, mode, signal, accept) {
|
|
4761
4766
|
const attachments = this.resolveDraftAttachments(attachmentIds);
|
|
4762
4767
|
if (attachments.length !== attachmentIds.length) throw new Error("conversation.sendSession: one or more draft attachments are no longer available");
|
|
4763
4768
|
const uploads = this.fileUploads.getSnapshot();
|
|
@@ -4794,17 +4799,24 @@ window.__ModuleLoader__.load({
|
|
|
4794
4799
|
receiptId
|
|
4795
4800
|
};
|
|
4796
4801
|
}));
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
}
|
|
4802
|
+
const ownership = {
|
|
4803
|
+
accepted: false,
|
|
4804
|
+
retiredUnobserved: false
|
|
4805
|
+
};
|
|
4806
|
+
const acceptance = Promise.withResolvers();
|
|
4801
4807
|
const submission = session.beginSubmission({
|
|
4802
4808
|
mode,
|
|
4803
4809
|
text,
|
|
4804
4810
|
attachments: pendingAttachments,
|
|
4811
|
+
onAccept: () => {
|
|
4812
|
+
ownership.accepted = true;
|
|
4813
|
+
accept?.();
|
|
4814
|
+
acceptance.resolve(void 0);
|
|
4815
|
+
},
|
|
4805
4816
|
onRetire: (settlement) => {
|
|
4806
|
-
this.settleSubmittedAttachments(session.sessionId, attachments, settlement);
|
|
4807
|
-
|
|
4817
|
+
if (settlement.reason === "observed") this.settleSubmittedAttachments(session.sessionId, attachments, settlement);
|
|
4818
|
+
else if (ownership.accepted) this.releaseDraftAttachments(attachments);
|
|
4819
|
+
else ownership.retiredUnobserved = true;
|
|
4808
4820
|
}
|
|
4809
4821
|
});
|
|
4810
4822
|
let content;
|
|
@@ -4818,8 +4830,10 @@ window.__ModuleLoader__.load({
|
|
|
4818
4830
|
submission.abandon();
|
|
4819
4831
|
throw error;
|
|
4820
4832
|
}
|
|
4821
|
-
|
|
4822
|
-
if (
|
|
4833
|
+
const result = await Promise.race([session.prompt(content, mode, signal, submission.requestId), acceptance.promise]);
|
|
4834
|
+
if (result !== void 0 && !result.ok) return { kind: "error" };
|
|
4835
|
+
ownership.accepted = true;
|
|
4836
|
+
if (ownership.retiredUnobserved) this.releaseDraftAttachments(attachments);
|
|
4823
4837
|
return { kind: "success" };
|
|
4824
4838
|
}
|
|
4825
4839
|
/**
|
|
@@ -5077,15 +5091,13 @@ window.__ModuleLoader__.load({
|
|
|
5077
5091
|
return sessions;
|
|
5078
5092
|
}
|
|
5079
5093
|
/**
|
|
5080
|
-
* Settle one submission's draft attachments when its echo
|
|
5081
|
-
* each image leaves the registry, handing its preview
|
|
5082
|
-
* image cache (seeded under the admitted reference so the
|
|
5083
|
-
* renders immediately while the cache reads canonical
|
|
5084
|
-
* when the cache already holds that reference.
|
|
5085
|
-
* the ids stay registered for the composer's rail restore.
|
|
5094
|
+
* Settle one submission's draft attachments when its echo is observed: each
|
|
5095
|
+
* file is released, and each image leaves the registry, handing its preview
|
|
5096
|
+
* URL to the durable image cache (seeded under the admitted reference so the
|
|
5097
|
+
* transcript node renders immediately while the cache reads canonical
|
|
5098
|
+
* bytes) or revoking it when the cache already holds that reference.
|
|
5086
5099
|
*/
|
|
5087
5100
|
settleSubmittedAttachments(sessionId, attachments, retirement) {
|
|
5088
|
-
if (retirement.reason !== "observed") return;
|
|
5089
5101
|
const uiConversation = this.ctx.get("uiConversation");
|
|
5090
5102
|
let observedIndex = 0;
|
|
5091
5103
|
for (const attachment of attachments) {
|
|
@@ -5274,8 +5286,6 @@ window.__ModuleLoader__.load({
|
|
|
5274
5286
|
claim;
|
|
5275
5287
|
seq = 0;
|
|
5276
5288
|
inflight;
|
|
5277
|
-
/** Ordinary sends detached from the editor, retained for settlement validation and cancellation. */
|
|
5278
|
-
detached = /* @__PURE__ */ new Map();
|
|
5279
5289
|
/** Read-only snapshot of the submit-plane state. */
|
|
5280
5290
|
get state() {
|
|
5281
5291
|
const c = this.claim;
|
|
@@ -5289,6 +5299,10 @@ window.__ModuleLoader__.load({
|
|
|
5289
5299
|
} } : {}
|
|
5290
5300
|
};
|
|
5291
5301
|
}
|
|
5302
|
+
/** The attempt of the message being sent; undefined outside the sending phase. */
|
|
5303
|
+
get sendingAttempt() {
|
|
5304
|
+
return this.phase === "sending" ? this.inflight?.attempt : void 0;
|
|
5305
|
+
}
|
|
5292
5306
|
/**
|
|
5293
5307
|
* Feed one event through the machine.
|
|
5294
5308
|
* @param ev - submit-plane event.
|
|
@@ -5298,12 +5312,11 @@ window.__ModuleLoader__.load({
|
|
|
5298
5312
|
switch (ev.type) {
|
|
5299
5313
|
case "draft-changed": return this.followCommand(ev.command);
|
|
5300
5314
|
case "claim": return this.followCommand(ev.claim);
|
|
5301
|
-
case "enter": return this.onEnter(ev
|
|
5315
|
+
case "enter": return this.onEnter(ev);
|
|
5302
5316
|
case "adjudicated": return this.onAdjudicated(ev.attempt, ev.outcome);
|
|
5303
5317
|
case "adjudication-failed": return this.onAdjudicationFailed(ev.attempt, ev.message);
|
|
5304
5318
|
case "submit-settled": return this.onSubmitSettled(ev);
|
|
5305
5319
|
case "sink-settled": return this.onSinkSettled(ev);
|
|
5306
|
-
case "send-committed": return this.onSendCommitted();
|
|
5307
5320
|
case "release": return this.onRelease();
|
|
5308
5321
|
default: return unreachable(ev);
|
|
5309
5322
|
}
|
|
@@ -5321,51 +5334,42 @@ window.__ModuleLoader__.load({
|
|
|
5321
5334
|
this.phase = command === void 0 ? "plain" : "claimed";
|
|
5322
5335
|
return [];
|
|
5323
5336
|
}
|
|
5324
|
-
/**
|
|
5325
|
-
|
|
5337
|
+
/** Occupy the frozen slot with the draft, references, quotes, and attachments the user sent. */
|
|
5338
|
+
beginAttempt(mode, draft, occurrences, quotes, attachmentIds, submission) {
|
|
5326
5339
|
const controller = new AbortController();
|
|
5327
5340
|
this.seq += 1;
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5341
|
+
const attempt = {
|
|
5342
|
+
seq: this.seq,
|
|
5343
|
+
signal: controller.signal,
|
|
5344
|
+
draftSnapshot: draft,
|
|
5345
|
+
occurrences,
|
|
5346
|
+
quotes,
|
|
5347
|
+
attachmentIds,
|
|
5348
|
+
mode,
|
|
5349
|
+
...submission === void 0 ? {} : { submission }
|
|
5350
|
+
};
|
|
5351
|
+
this.inflight = {
|
|
5352
|
+
attempt,
|
|
5336
5353
|
controller
|
|
5337
5354
|
};
|
|
5355
|
+
return attempt;
|
|
5338
5356
|
}
|
|
5339
|
-
/**
|
|
5340
|
-
|
|
5341
|
-
const flight = this.mintAttempt(mode, draft, submission);
|
|
5342
|
-
this.inflight = flight;
|
|
5343
|
-
return flight.attempt;
|
|
5344
|
-
}
|
|
5345
|
-
/** Mint an ordinary send that leaves the phase plain. */
|
|
5346
|
-
beginDetached(mode, draft, submission) {
|
|
5347
|
-
const flight = this.mintAttempt(mode, draft, submission);
|
|
5348
|
-
this.detached.set(flight.attempt.seq, flight.controller);
|
|
5357
|
+
/** Send the frozen message; the editor stays read-only until the Host accepts it. */
|
|
5358
|
+
send(attempt) {
|
|
5349
5359
|
this.claim = void 0;
|
|
5350
|
-
this.phase = "
|
|
5351
|
-
return flight.attempt;
|
|
5352
|
-
}
|
|
5353
|
-
/** Default-send effects capture the sink input before the editor commit. */
|
|
5354
|
-
detachedEffects(attempt) {
|
|
5360
|
+
this.phase = "sending";
|
|
5355
5361
|
return [{
|
|
5356
5362
|
type: "default-sink",
|
|
5357
5363
|
attempt,
|
|
5358
5364
|
draft: attempt.draftSnapshot,
|
|
5359
5365
|
mode: attempt.mode
|
|
5360
|
-
}, {
|
|
5361
|
-
type: "commit-draft",
|
|
5362
|
-
retainSuffixOf: attempt.draftSnapshot
|
|
5363
5366
|
}];
|
|
5364
5367
|
}
|
|
5365
|
-
onEnter(
|
|
5366
|
-
if (this.phase === "adjudicating" || this.phase === "submitting") return [];
|
|
5368
|
+
onEnter(ev) {
|
|
5369
|
+
if (this.phase === "adjudicating" || this.phase === "submitting" || this.phase === "sending") return [];
|
|
5370
|
+
const { mode, draft, occurrences, quotes, attachmentIds, submission } = ev;
|
|
5367
5371
|
if (this.phase === "claimed" && this.claim !== void 0) {
|
|
5368
|
-
const attempt = this.beginAttempt(mode, draft, submission);
|
|
5372
|
+
const attempt = this.beginAttempt(mode, draft, occurrences, quotes, attachmentIds, submission);
|
|
5369
5373
|
this.phase = "submitting";
|
|
5370
5374
|
return [{
|
|
5371
5375
|
type: "begin-submit",
|
|
@@ -5375,9 +5379,9 @@ window.__ModuleLoader__.load({
|
|
|
5375
5379
|
}];
|
|
5376
5380
|
}
|
|
5377
5381
|
const trimmed = draft.trim();
|
|
5378
|
-
if (trimmed === "") return [];
|
|
5382
|
+
if (trimmed === "" && attachmentIds.length === 0) return [];
|
|
5383
|
+
const attempt = this.beginAttempt(mode, draft, occurrences, quotes, attachmentIds, submission);
|
|
5379
5384
|
if (trimmed.startsWith("/")) {
|
|
5380
|
-
const attempt = this.beginAttempt(mode, draft, submission);
|
|
5381
5385
|
this.phase = "adjudicating";
|
|
5382
5386
|
return [{
|
|
5383
5387
|
type: "adjudicate",
|
|
@@ -5385,7 +5389,7 @@ window.__ModuleLoader__.load({
|
|
|
5385
5389
|
draft
|
|
5386
5390
|
}];
|
|
5387
5391
|
}
|
|
5388
|
-
return this.
|
|
5392
|
+
return this.send(attempt);
|
|
5389
5393
|
}
|
|
5390
5394
|
onAdjudicated(attempt, outcome) {
|
|
5391
5395
|
const flight = this.inflight;
|
|
@@ -5400,11 +5404,10 @@ window.__ModuleLoader__.load({
|
|
|
5400
5404
|
args: argsAfter(attempt.draftSnapshot, outcome.claim.token)
|
|
5401
5405
|
}];
|
|
5402
5406
|
}
|
|
5407
|
+
if (outcome === void 0) return this.send(attempt);
|
|
5403
5408
|
this.inflight = void 0;
|
|
5404
5409
|
this.phase = "plain";
|
|
5405
|
-
|
|
5406
|
-
this.detached.set(attempt.seq, flight.controller);
|
|
5407
|
-
return this.detachedEffects(attempt);
|
|
5410
|
+
return [];
|
|
5408
5411
|
}
|
|
5409
5412
|
onAdjudicationFailed(attempt, message) {
|
|
5410
5413
|
if (this.phase !== "adjudicating" || this.inflight?.attempt.seq !== attempt.seq) return [];
|
|
@@ -5444,33 +5447,29 @@ window.__ModuleLoader__.load({
|
|
|
5444
5447
|
text
|
|
5445
5448
|
}];
|
|
5446
5449
|
}
|
|
5447
|
-
/**
|
|
5450
|
+
/** An accepted message clears the editor; a refused or failed one returns to editing unchanged. */
|
|
5448
5451
|
onSinkSettled(ev) {
|
|
5449
|
-
|
|
5452
|
+
const flight = this.inflight;
|
|
5453
|
+
if (this.phase !== "sending" || flight === void 0 || flight.attempt.seq !== ev.attempt.seq) return [];
|
|
5454
|
+
this.inflight = void 0;
|
|
5455
|
+
this.phase = "plain";
|
|
5456
|
+
const effects = ev.ok ? [{
|
|
5457
|
+
type: "commit-draft",
|
|
5458
|
+
retainSuffixOf: null
|
|
5459
|
+
}] : [];
|
|
5450
5460
|
const text = ev.message ?? ev.outcome?.text;
|
|
5451
|
-
if (text
|
|
5452
|
-
return [{
|
|
5461
|
+
if (text !== void 0) effects.push({
|
|
5453
5462
|
type: "notice",
|
|
5454
5463
|
level: ev.ok && ev.outcome?.kind !== "error" ? "info" : "error",
|
|
5455
5464
|
text
|
|
5456
|
-
}
|
|
5457
|
-
|
|
5458
|
-
/** Clear after an accepted attachment-only send; it has no text suffix to retain. */
|
|
5459
|
-
onSendCommitted() {
|
|
5460
|
-
if (this.phase !== "plain") return [];
|
|
5461
|
-
this.claim = void 0;
|
|
5462
|
-
return [{
|
|
5463
|
-
type: "commit-draft",
|
|
5464
|
-
retainSuffixOf: null
|
|
5465
|
-
}];
|
|
5465
|
+
});
|
|
5466
|
+
return effects;
|
|
5466
5467
|
}
|
|
5467
5468
|
onRelease() {
|
|
5468
5469
|
if (this.inflight !== void 0) {
|
|
5469
5470
|
this.inflight.controller.abort();
|
|
5470
5471
|
this.inflight = void 0;
|
|
5471
5472
|
}
|
|
5472
|
-
for (const controller of this.detached.values()) controller.abort();
|
|
5473
|
-
this.detached.clear();
|
|
5474
5473
|
this.phase = "plain";
|
|
5475
5474
|
this.claim = void 0;
|
|
5476
5475
|
return [];
|
|
@@ -14183,13 +14182,47 @@ window.__ModuleLoader__.load({
|
|
|
14183
14182
|
* Plain-text reference scan (the plain-text-reference decision;
|
|
14184
14183
|
* see .agents/notes/archived/architecture/2026-07-25-web-input-machine-and-slash-pipeline.md):
|
|
14185
14184
|
* a `/name` or `@name` token whose name is on the trigger's lexicon, and
|
|
14186
|
-
* syntax-recognizable `@
|
|
14185
|
+
* syntax-recognizable `@path` file and folder tokens. Pure derivation — the editor's
|
|
14187
14186
|
* text-ref entity transform consumes these ranges; editing the text out of
|
|
14188
14187
|
* match shape simply drops the range next scan.
|
|
14189
14188
|
*/
|
|
14190
14189
|
/** Token matcher: a trigger char at line start or after whitespace, then a word-ish name (never crosses \n). */
|
|
14191
14190
|
const TEXT_REF_RE = /(^|\s)([/@])([\w-]+)/g;
|
|
14192
|
-
|
|
14191
|
+
/** One `@` path token: a quoted path through its closing quote or line end, or an unquoted run. */
|
|
14192
|
+
const PATH_TOKEN_RE = /(^|\s)(@(?:"[^"\n]*"?|[^\s"]\S*))/g;
|
|
14193
|
+
/**
|
|
14194
|
+
* Punctuation that ends prose rather than a path: the characters the
|
|
14195
|
+
* sent-message file and folder rules in ui-reference strip from the end of an
|
|
14196
|
+
* unquoted token.
|
|
14197
|
+
*/
|
|
14198
|
+
const TRAILING_PUNCTUATION = /* @__PURE__ */ new Set(".,;:!?,。;:!?");
|
|
14199
|
+
/** An unquoted token names a path only with a separator or an extension; a bare `@name` stays plain until a lexicon claims it. */
|
|
14200
|
+
const PATH_LIKE_RE = /^@.*[/\\.]/u;
|
|
14201
|
+
/**
|
|
14202
|
+
* End of the whole `@path` file or folder token at `start`, so a path is never
|
|
14203
|
+
* cut at its directory prefix. A closed quote ends at its quote and an
|
|
14204
|
+
* unquoted token with a separator or extension drops trailing punctuation,
|
|
14205
|
+
* the spans the sent-message rules render. An open quote (a folder drill in
|
|
14206
|
+
* progress) ends at its last slash when only trailing punctuation and
|
|
14207
|
+
* whitespace or the draft end follow it.
|
|
14208
|
+
* @param draft - draft text.
|
|
14209
|
+
* @param start - offset of the token's `@`.
|
|
14210
|
+
* @param token - the path token at `start`.
|
|
14211
|
+
* @returns the token's end offset, or undefined when it names no path.
|
|
14212
|
+
*/
|
|
14213
|
+
function pathEnd(draft, start, token) {
|
|
14214
|
+
if (!token.startsWith("@\"")) {
|
|
14215
|
+
let length = token.length;
|
|
14216
|
+
while (TRAILING_PUNCTUATION.has(token.charAt(length - 1))) length -= 1;
|
|
14217
|
+
return PATH_LIKE_RE.test(token.slice(0, length)) ? start + length : void 0;
|
|
14218
|
+
}
|
|
14219
|
+
if (token.length > 3 && token.endsWith("\"")) return start + token.length;
|
|
14220
|
+
const slash = token.lastIndexOf("/");
|
|
14221
|
+
if (slash < 0) return void 0;
|
|
14222
|
+
let next = start + slash + 1;
|
|
14223
|
+
while (TRAILING_PUNCTUATION.has(draft.charAt(next))) next += 1;
|
|
14224
|
+
return next === draft.length || /\s/u.test(draft.charAt(next)) ? start + slash + 1 : void 0;
|
|
14225
|
+
}
|
|
14193
14226
|
/**
|
|
14194
14227
|
* What may follow a `/name` token: whitespace or the draft end, the boundary
|
|
14195
14228
|
* the host skill gesture (`dsh-tool-skill`) requires, so `/nfs-hg/xxx`,
|
|
@@ -14224,13 +14257,12 @@ window.__ModuleLoader__.load({
|
|
|
14224
14257
|
});
|
|
14225
14258
|
}
|
|
14226
14259
|
}
|
|
14227
|
-
|
|
14228
|
-
let
|
|
14229
|
-
while ((
|
|
14230
|
-
const
|
|
14231
|
-
const
|
|
14232
|
-
|
|
14233
|
-
if (!out.some((range) => range.start < end && range.end > start)) out.push({
|
|
14260
|
+
PATH_TOKEN_RE.lastIndex = 0;
|
|
14261
|
+
let path;
|
|
14262
|
+
while ((path = PATH_TOKEN_RE.exec(draft)) !== null) {
|
|
14263
|
+
const start = path.index + (path[1]?.length ?? 0);
|
|
14264
|
+
const end = pathEnd(draft, start, path[2] ?? "");
|
|
14265
|
+
if (end !== void 0 && !out.some((range) => range.start < end && range.end > start)) out.push({
|
|
14234
14266
|
start,
|
|
14235
14267
|
end,
|
|
14236
14268
|
trigger: "@"
|
|
@@ -15292,6 +15324,10 @@ window.__ModuleLoader__.load({
|
|
|
15292
15324
|
default: return "frozen";
|
|
15293
15325
|
}
|
|
15294
15326
|
}
|
|
15327
|
+
/** Whether an attempt owns the draft: the editor and attachments are read-only until it settles. */
|
|
15328
|
+
function frozen(phase) {
|
|
15329
|
+
return phase === "adjudicating" || phase === "submitting" || phase === "sending";
|
|
15330
|
+
}
|
|
15295
15331
|
/** Whether two projections differ in content (selection and caret excluded). */
|
|
15296
15332
|
function projectionContentChanged(prev, next) {
|
|
15297
15333
|
if (prev.clipboardText !== next.clipboardText || prev.detectText !== next.detectText) return true;
|
|
@@ -15306,6 +15342,10 @@ window.__ModuleLoader__.load({
|
|
|
15306
15342
|
return old === void 0 || old.occurrenceId !== occ.occurrenceId || old.invalid !== occ.invalid;
|
|
15307
15343
|
});
|
|
15308
15344
|
}
|
|
15345
|
+
/** Message of a failure surfaced as a composer notice. */
|
|
15346
|
+
function errorText(error) {
|
|
15347
|
+
return error instanceof Error ? error.message : String(error);
|
|
15348
|
+
}
|
|
15309
15349
|
const EMPTY_QUEUE$1 = [];
|
|
15310
15350
|
/** Unavailable catalogs contain no named text references. */
|
|
15311
15351
|
const EMPTY_LEXICON$1 = /* @__PURE__ */ new Map();
|
|
@@ -15332,7 +15372,7 @@ window.__ModuleLoader__.load({
|
|
|
15332
15372
|
draftRev: this.rev
|
|
15333
15373
|
}),
|
|
15334
15374
|
insertText: (text, span) => {
|
|
15335
|
-
if (this.snapshot.phase
|
|
15375
|
+
if (frozen(this.snapshot.phase) || this.disposed) return false;
|
|
15336
15376
|
if (span.draftRev !== this.rev) return false;
|
|
15337
15377
|
return this.draftEditor.insertAsyncText(span, text);
|
|
15338
15378
|
},
|
|
@@ -15373,16 +15413,6 @@ window.__ModuleLoader__.load({
|
|
|
15373
15413
|
commandRestore;
|
|
15374
15414
|
/** The mounted composer's file-picker opener (scoped pick-files event target). */
|
|
15375
15415
|
filePicker;
|
|
15376
|
-
/** Default sends retained until admission settles or scope disposal releases their attachments. */
|
|
15377
|
-
detachedDrafts = /* @__PURE__ */ new Map();
|
|
15378
|
-
/** Failed default sends waiting to be restored together in submission order. */
|
|
15379
|
-
failedDetached = /* @__PURE__ */ new Map();
|
|
15380
|
-
/** Revision of the last automatic failure restoration. */
|
|
15381
|
-
failedRestoreRev;
|
|
15382
|
-
restoringFailures = false;
|
|
15383
|
-
attachmentFlightSeq = 0;
|
|
15384
|
-
/** Attachment-only sends retained until admission settles or scope disposal releases their attachments. */
|
|
15385
|
-
attachmentFlights = /* @__PURE__ */ new Map();
|
|
15386
15416
|
unsubscribeInbox;
|
|
15387
15417
|
constructor(deps) {
|
|
15388
15418
|
this.deps = deps;
|
|
@@ -15405,10 +15435,6 @@ window.__ModuleLoader__.load({
|
|
|
15405
15435
|
onEditorUpdate() {
|
|
15406
15436
|
if (projectionContentChanged(this.draftEditor.refreshProjection(), this.projection)) {
|
|
15407
15437
|
this.rev += 1;
|
|
15408
|
-
if (!this.restoringFailures && this.failedRestoreRev !== void 0) {
|
|
15409
|
-
this.failedDetached.clear();
|
|
15410
|
-
this.failedRestoreRev = void 0;
|
|
15411
|
-
}
|
|
15412
15438
|
this.dispatchRun({
|
|
15413
15439
|
type: "draft-changed",
|
|
15414
15440
|
command: this.projection.command
|
|
@@ -15520,12 +15546,11 @@ window.__ModuleLoader__.load({
|
|
|
15520
15546
|
return "applied";
|
|
15521
15547
|
}
|
|
15522
15548
|
draftInitializationBlocked() {
|
|
15523
|
-
|
|
15524
|
-
return this.disposed || phase === "adjudicating" || phase === "submitting" || this.detachedDrafts.size > 0 || this.attachmentFlights.size > 0;
|
|
15549
|
+
return this.disposed || frozen(this.core.state.phase);
|
|
15525
15550
|
}
|
|
15526
15551
|
/** Append ordered attachment ids unless an admission transaction is locked. */
|
|
15527
15552
|
addAttachments(ids) {
|
|
15528
|
-
if (this.snapshot.phase
|
|
15553
|
+
if (frozen(this.snapshot.phase)) return false;
|
|
15529
15554
|
if (ids.length === 0) return true;
|
|
15530
15555
|
this.attachmentIds = [...this.attachmentIds, ...ids];
|
|
15531
15556
|
this.publish();
|
|
@@ -15538,7 +15563,7 @@ window.__ModuleLoader__.load({
|
|
|
15538
15563
|
* @returns false when admission is locked or the editor refuses the insertion.
|
|
15539
15564
|
*/
|
|
15540
15565
|
addFiles(references, ids) {
|
|
15541
|
-
if (this.snapshot.phase
|
|
15566
|
+
if (frozen(this.snapshot.phase)) return false;
|
|
15542
15567
|
if (!this.draftEditor.insertFileReferences(references)) return false;
|
|
15543
15568
|
this.attachmentIds = [...this.attachmentIds, ...ids];
|
|
15544
15569
|
this.publish();
|
|
@@ -15546,11 +15571,11 @@ window.__ModuleLoader__.load({
|
|
|
15546
15571
|
}
|
|
15547
15572
|
/**
|
|
15548
15573
|
* Remove one attachment id from this draft. Busy admission phases refuse, like
|
|
15549
|
-
* {@link addAttachments}: a removal landing while a
|
|
15550
|
-
*
|
|
15574
|
+
* {@link addAttachments}: a removal landing while a send serializes would
|
|
15575
|
+
* otherwise vanish from the rail yet still ride the in-flight send.
|
|
15551
15576
|
*/
|
|
15552
15577
|
removeAttachment(id) {
|
|
15553
|
-
if (this.snapshot.phase
|
|
15578
|
+
if (frozen(this.snapshot.phase)) return false;
|
|
15554
15579
|
const next = this.attachmentIds.filter((candidate) => candidate !== id);
|
|
15555
15580
|
if (next.length === this.attachmentIds.length) return false;
|
|
15556
15581
|
this.attachmentIds = next;
|
|
@@ -15569,17 +15594,6 @@ window.__ModuleLoader__.load({
|
|
|
15569
15594
|
this.publish();
|
|
15570
15595
|
}
|
|
15571
15596
|
/**
|
|
15572
|
-
* Clear the draft as a successful-send commit: the editor empties (no undo
|
|
15573
|
-
* unit) and the undo history is cut, so Ctrl/Cmd-Z cannot resurrect sent
|
|
15574
|
-
* content (the command path gets the same discipline from submit-settled).
|
|
15575
|
-
* @param attachmentIds - admitted attachment ids to remove from this draft.
|
|
15576
|
-
*/
|
|
15577
|
-
commitSend(attachmentIds) {
|
|
15578
|
-
const submitted = new Set(attachmentIds);
|
|
15579
|
-
this.attachmentIds = this.attachmentIds.filter((id) => !submitted.has(id));
|
|
15580
|
-
this.dispatchRun({ type: "send-committed" });
|
|
15581
|
-
}
|
|
15582
|
-
/**
|
|
15583
15597
|
* Insert pasted plain text over the current editor selection
|
|
15584
15598
|
* (placeholder-sanitized). The paste event's own default is suppressed by
|
|
15585
15599
|
* the caller; PASTE_TAG makes the paste its own history boundary, so one
|
|
@@ -15590,10 +15604,11 @@ window.__ModuleLoader__.load({
|
|
|
15590
15604
|
this.draftEditor.paste(text);
|
|
15591
15605
|
}
|
|
15592
15606
|
/**
|
|
15593
|
-
* Enter adjudication + submit transaction + default sink
|
|
15594
|
-
*
|
|
15595
|
-
*
|
|
15596
|
-
*
|
|
15607
|
+
* Enter adjudication + submit transaction + default sink with the draft, its
|
|
15608
|
+
* reference chips, and its attachments as the user sent them. Effects fan
|
|
15609
|
+
* out from the machine; this method only feeds the event. Lock entry
|
|
15610
|
+
* (adjudicating/submitting/sending) force-closes the transient layers: the
|
|
15611
|
+
* popup dismisses and the menu tracks frozen.
|
|
15597
15612
|
*/
|
|
15598
15613
|
submit(mode = "queue", source) {
|
|
15599
15614
|
if (this.disposed) return;
|
|
@@ -15608,31 +15623,6 @@ window.__ModuleLoader__.load({
|
|
|
15608
15623
|
...source === void 0 ? {} : { source },
|
|
15609
15624
|
...state === void 0 ? {} : { state }
|
|
15610
15625
|
});
|
|
15611
|
-
if (this.snapshot.draft.trim() === "" && this.attachmentIds.length > 0) {
|
|
15612
|
-
if (this.snapshot.phase === "plain") {
|
|
15613
|
-
const attachmentIds = [...this.attachmentIds];
|
|
15614
|
-
const controller = new AbortController();
|
|
15615
|
-
this.attachmentFlightSeq += 1;
|
|
15616
|
-
const flight = this.attachmentFlightSeq;
|
|
15617
|
-
this.attachmentFlights.set(flight, {
|
|
15618
|
-
controller,
|
|
15619
|
-
attachmentIds
|
|
15620
|
-
});
|
|
15621
|
-
this.commitSend(attachmentIds);
|
|
15622
|
-
this.notifySubmission(submission);
|
|
15623
|
-
this.deps.defaultSink("", attachmentIds, mode, controller.signal).then((outcome) => {
|
|
15624
|
-
if (this.disposed || !this.attachmentFlights.delete(flight)) return;
|
|
15625
|
-
if (outcome.kind === "success") return;
|
|
15626
|
-
this.restoreAttachments(attachmentIds);
|
|
15627
|
-
if (outcome.text !== void 0) this.notify("error", outcome.text);
|
|
15628
|
-
}, (error) => {
|
|
15629
|
-
if (this.disposed || !this.attachmentFlights.delete(flight)) return;
|
|
15630
|
-
this.restoreAttachments(attachmentIds);
|
|
15631
|
-
this.notify("error", error instanceof Error ? error.message : String(error));
|
|
15632
|
-
});
|
|
15633
|
-
}
|
|
15634
|
-
return;
|
|
15635
|
-
}
|
|
15636
15626
|
const before = this.snapshot;
|
|
15637
15627
|
if (before.phase === "claimed" && this.attachmentIds.length > 0 && before.claim?.attachments !== true) {
|
|
15638
15628
|
this.notify("error", this.deps.commandAttachments.unsupportedNotice(before.claim?.token ?? before.draft));
|
|
@@ -15642,10 +15632,12 @@ window.__ModuleLoader__.load({
|
|
|
15642
15632
|
type: "enter",
|
|
15643
15633
|
mode,
|
|
15644
15634
|
draft: this.projection.clipboardText,
|
|
15635
|
+
occurrences: [...this.projection.occurrences],
|
|
15636
|
+
quotes: [...this.projection.quotes],
|
|
15637
|
+
attachmentIds: [...this.attachmentIds],
|
|
15645
15638
|
submission
|
|
15646
15639
|
});
|
|
15647
|
-
|
|
15648
|
-
if (phase === "adjudicating" || phase === "submitting") {
|
|
15640
|
+
if (frozen(this.snapshot.phase)) {
|
|
15649
15641
|
this.deps.popup?.()?.dismiss();
|
|
15650
15642
|
this.deps.inputTriggers?.()?.track(this.projection.detectText, 0, { tier: "frozen" }, this.rev);
|
|
15651
15643
|
}
|
|
@@ -15803,27 +15795,20 @@ window.__ModuleLoader__.load({
|
|
|
15803
15795
|
this.editor.focus();
|
|
15804
15796
|
}
|
|
15805
15797
|
/**
|
|
15806
|
-
* Teardown the shell
|
|
15807
|
-
* the draft
|
|
15798
|
+
* Teardown the shell, abort the in-flight attempt, and return every
|
|
15799
|
+
* browser-owned attachment the draft still holds, including those of a
|
|
15800
|
+
* message the Host has not accepted yet.
|
|
15808
15801
|
* @returns attachment ids the scope disposer must release.
|
|
15809
15802
|
*/
|
|
15810
15803
|
dispose() {
|
|
15811
15804
|
if (this.disposed) return [];
|
|
15812
|
-
const retained =
|
|
15813
|
-
for (const record of this.detachedDrafts.values()) for (const attachmentId of record.attachmentIds) retained.add(attachmentId);
|
|
15814
|
-
for (const flight of this.attachmentFlights.values()) {
|
|
15815
|
-
for (const attachmentId of flight.attachmentIds) retained.add(attachmentId);
|
|
15816
|
-
flight.controller.abort();
|
|
15817
|
-
}
|
|
15805
|
+
const retained = [...this.attachmentIds];
|
|
15818
15806
|
this.disposed = true;
|
|
15819
15807
|
this.cancelCommandRestore();
|
|
15820
15808
|
this.dispatchRun({ type: "release" });
|
|
15821
15809
|
this.unsubscribeInbox?.();
|
|
15822
15810
|
this.unregister();
|
|
15823
|
-
|
|
15824
|
-
this.failedDetached.clear();
|
|
15825
|
-
this.attachmentFlights.clear();
|
|
15826
|
-
return [...retained];
|
|
15811
|
+
return retained;
|
|
15827
15812
|
}
|
|
15828
15813
|
/** Read the live input state (guard derivation reads here). */
|
|
15829
15814
|
get snapshot() {
|
|
@@ -15912,28 +15897,16 @@ window.__ModuleLoader__.load({
|
|
|
15912
15897
|
this.draftEditor.clearHistory();
|
|
15913
15898
|
}
|
|
15914
15899
|
/**
|
|
15915
|
-
* Prompt serialization before the sink: expand each chip occurrence
|
|
15916
|
-
* owner's model form via the session controller's codec
|
|
15917
|
-
*
|
|
15918
|
-
*
|
|
15900
|
+
* Prompt serialization before the sink: expand each chip occurrence of the
|
|
15901
|
+
* sent draft to its owner's model form via the session controller's codec
|
|
15902
|
+
* routing and format each quote as Markdown, then send it with the
|
|
15903
|
+
* attachments captured at Enter. Owner missing or serialization failure
|
|
15904
|
+
* settles the send as failed, which keeps the draft. Chip-free drafts skip
|
|
15905
|
+
* the async detour.
|
|
15919
15906
|
*/
|
|
15920
15907
|
sinkSerialized(attempt, draft, mode) {
|
|
15921
15908
|
this.notifySubmission(attempt.submission);
|
|
15922
|
-
const attachmentIds =
|
|
15923
|
-
this.attachmentIds = [];
|
|
15924
|
-
const occurrences = this.projection.occurrences;
|
|
15925
|
-
const quotes = this.projection.quotes;
|
|
15926
|
-
const record = {
|
|
15927
|
-
draft,
|
|
15928
|
-
occurrences,
|
|
15929
|
-
quotes,
|
|
15930
|
-
attachmentIds
|
|
15931
|
-
};
|
|
15932
|
-
this.detachedDrafts.set(attempt.seq, record);
|
|
15933
|
-
if (this.failedRestoreRev === this.rev) {
|
|
15934
|
-
this.failedDetached.clear();
|
|
15935
|
-
this.failedRestoreRev = void 0;
|
|
15936
|
-
}
|
|
15909
|
+
const { occurrences, quotes, attachmentIds } = attempt;
|
|
15937
15910
|
const inputTriggers = this.deps.inputTriggers?.();
|
|
15938
15911
|
const prompt = serializeDraftPrompt(snapshotDraft(draft, occurrences, void 0, quotes), async (source, ref) => {
|
|
15939
15912
|
if (inputTriggers === void 0) throw new Error(`no serializer for reference source "${source}"`);
|
|
@@ -15941,15 +15914,16 @@ window.__ModuleLoader__.load({
|
|
|
15941
15914
|
});
|
|
15942
15915
|
const send = (text) => {
|
|
15943
15916
|
if (this.dead(attempt)) return;
|
|
15944
|
-
this.settleSink(attempt, this.deps.defaultSink(text, attachmentIds, mode, attempt.signal)
|
|
15917
|
+
this.settleSink(attempt, this.deps.defaultSink(text, attachmentIds, mode, attempt.signal, () => {
|
|
15918
|
+
this.acceptSink(attempt);
|
|
15919
|
+
}));
|
|
15945
15920
|
};
|
|
15946
15921
|
if (!(prompt instanceof Promise)) {
|
|
15947
15922
|
send(prompt);
|
|
15948
15923
|
return;
|
|
15949
15924
|
}
|
|
15950
15925
|
prompt.then(send, (error) => {
|
|
15951
|
-
|
|
15952
|
-
this.settleDetachedFailure(attempt, error instanceof Error ? error.message : String(error));
|
|
15926
|
+
this.failSink(attempt, error);
|
|
15953
15927
|
});
|
|
15954
15928
|
}
|
|
15955
15929
|
notifySubmission(submission) {
|
|
@@ -15958,79 +15932,46 @@ window.__ModuleLoader__.load({
|
|
|
15958
15932
|
this.deps.messageSubmitted?.(submission);
|
|
15959
15933
|
} catch (_error) {}
|
|
15960
15934
|
}
|
|
15961
|
-
/**
|
|
15935
|
+
/**
|
|
15936
|
+
* Settle the message being sent. Once the Host accepts it, its attachments
|
|
15937
|
+
* leave the draft before the editor clears; ConversationController releases
|
|
15938
|
+
* them when the message's echo retires. Any other outcome keeps the draft
|
|
15939
|
+
* and its attachments for correction.
|
|
15940
|
+
*/
|
|
15962
15941
|
settleSink(attempt, pending) {
|
|
15963
15942
|
pending.then((outcome) => {
|
|
15964
|
-
if (this.dead(attempt))
|
|
15965
|
-
if (outcome.kind !== "success") {
|
|
15966
|
-
this.settleDetachedFailure(attempt, outcome.text);
|
|
15967
|
-
return;
|
|
15968
|
-
}
|
|
15969
|
-
this.detachedDrafts.delete(attempt.seq);
|
|
15970
|
-
this.dispatchRun({
|
|
15971
|
-
type: "sink-settled",
|
|
15972
|
-
attempt,
|
|
15973
|
-
ok: true,
|
|
15974
|
-
outcome
|
|
15975
|
-
});
|
|
15943
|
+
if (!this.dead(attempt)) this.applySinkOutcome(attempt, outcome);
|
|
15976
15944
|
}, (error) => {
|
|
15977
|
-
|
|
15978
|
-
this.settleDetachedFailure(attempt, error instanceof Error ? error.message : String(error));
|
|
15945
|
+
this.failSink(attempt, error);
|
|
15979
15946
|
});
|
|
15980
15947
|
}
|
|
15981
|
-
/**
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
if (
|
|
15948
|
+
/** Settle the message being sent as accepted when the sink learns the Host's acceptance before its outcome. */
|
|
15949
|
+
acceptSink(attempt) {
|
|
15950
|
+
if (this.dead(attempt) || this.core.sendingAttempt !== attempt) return;
|
|
15951
|
+
this.applySinkOutcome(attempt, { kind: "success" });
|
|
15952
|
+
}
|
|
15953
|
+
applySinkOutcome(attempt, outcome) {
|
|
15954
|
+
const accepted = outcome.kind === "success";
|
|
15955
|
+
if (accepted && attempt.attachmentIds.length > 0) {
|
|
15956
|
+
const sent = new Set(attempt.attachmentIds);
|
|
15957
|
+
this.attachmentIds = this.attachmentIds.filter((id) => !sent.has(id));
|
|
15958
|
+
}
|
|
15989
15959
|
this.dispatchRun({
|
|
15990
15960
|
type: "sink-settled",
|
|
15991
15961
|
attempt,
|
|
15992
|
-
ok:
|
|
15993
|
-
|
|
15962
|
+
ok: accepted,
|
|
15963
|
+
outcome
|
|
15994
15964
|
});
|
|
15995
15965
|
}
|
|
15996
|
-
/**
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
const base = draft.length + (draft === "" ? 0 : 2);
|
|
16006
|
-
if (draft !== "") draft += separator;
|
|
16007
|
-
draft += record.draft;
|
|
16008
|
-
quotes.push(...record.quotes.map((quote) => ({
|
|
16009
|
-
...quote,
|
|
16010
|
-
offset: base + quote.offset
|
|
16011
|
-
})));
|
|
16012
|
-
for (const occurrence of record.occurrences) occurrences.push({
|
|
16013
|
-
...occurrence,
|
|
16014
|
-
offset: base + occurrence.offset
|
|
16015
|
-
});
|
|
16016
|
-
}
|
|
16017
|
-
this.restoringFailures = true;
|
|
16018
|
-
try {
|
|
16019
|
-
this.draftEditor.restoreDraft(draft, occurrences, quotes, { remove: this.deps.quoteRemoveLabel?.() ?? "" });
|
|
16020
|
-
this.draftEditor.clearHistory();
|
|
16021
|
-
this.failedRestoreRev = this.rev;
|
|
16022
|
-
} finally {
|
|
16023
|
-
this.restoringFailures = false;
|
|
16024
|
-
}
|
|
16025
|
-
}
|
|
16026
|
-
/** Return failed-send attachments to the head of the rail; release happens only after success. */
|
|
16027
|
-
restoreAttachments(attachmentIds) {
|
|
16028
|
-
if (attachmentIds.length === 0) return;
|
|
16029
|
-
const current = new Set(this.attachmentIds);
|
|
16030
|
-
const restored = attachmentIds.filter((id) => !current.has(id));
|
|
16031
|
-
if (restored.length === 0) return;
|
|
16032
|
-
this.attachmentIds = [...restored, ...this.attachmentIds];
|
|
16033
|
-
this.publish();
|
|
15966
|
+
/** Settle a send that ended without a Host outcome; the draft stays for correction. */
|
|
15967
|
+
failSink(attempt, error) {
|
|
15968
|
+
if (this.dead(attempt)) return;
|
|
15969
|
+
this.dispatchRun({
|
|
15970
|
+
type: "sink-settled",
|
|
15971
|
+
attempt,
|
|
15972
|
+
ok: false,
|
|
15973
|
+
message: errorText(error)
|
|
15974
|
+
});
|
|
16034
15975
|
}
|
|
16035
15976
|
/** Enter adjudication: poll the session controller; failure = notice + draft retained (never a silent downgrade). */
|
|
16036
15977
|
adjudicate(attempt, draft) {
|
|
@@ -16068,7 +16009,7 @@ window.__ModuleLoader__.load({
|
|
|
16068
16009
|
* for correction.
|
|
16069
16010
|
*/
|
|
16070
16011
|
beginSubmit(attempt, claim, args) {
|
|
16071
|
-
const attachmentIds = claim.attachments === true ?
|
|
16012
|
+
const attachmentIds = claim.attachments === true ? attempt.attachmentIds : [];
|
|
16072
16013
|
Promise.resolve().then(async () => {
|
|
16073
16014
|
const attachments = attachmentIds.length > 0 ? await this.deps.commandAttachments.serialize(attachmentIds) : [];
|
|
16074
16015
|
if (this.dead(attempt)) return void 0;
|
|
@@ -16233,7 +16174,7 @@ window.__ModuleLoader__.load({
|
|
|
16233
16174
|
inputTriggers: () => this.controller(actx),
|
|
16234
16175
|
popup: () => this.popup(actx),
|
|
16235
16176
|
inbox: session.projections.faceOf("inbox"),
|
|
16236
|
-
defaultSink: (text, attachmentIds, mode, signal) => this.sink(session, text, attachmentIds, mode, signal),
|
|
16177
|
+
defaultSink: (text, attachmentIds, mode, signal, accept) => this.sink(session, text, attachmentIds, mode, signal, accept),
|
|
16237
16178
|
quoteRemoveLabel: () => this.t("quote.remove"),
|
|
16238
16179
|
quoteInsertionAllowed: () => {
|
|
16239
16180
|
const state = session.getSnapshot();
|
|
@@ -16329,14 +16270,14 @@ window.__ModuleLoader__.load({
|
|
|
16329
16270
|
return binding === void 0 ? void 0 : this.controller(binding.ctx);
|
|
16330
16271
|
}
|
|
16331
16272
|
/**
|
|
16332
|
-
* Default sink:
|
|
16333
|
-
* host entity (materialized when its workspace was picked),
|
|
16334
|
-
* exactly one path; a failed
|
|
16335
|
-
* (banner via promptError, draft
|
|
16273
|
+
* Default sink: prompt while the composer holds the sent draft. The session
|
|
16274
|
+
* is always a real host entity (materialized when its workspace was picked),
|
|
16275
|
+
* so there is exactly one path; a refused or failed prompt is an ordinary
|
|
16276
|
+
* prompt failure (banner via promptError, draft kept in the composer).
|
|
16336
16277
|
*/
|
|
16337
|
-
sink(session, text, attachmentIds, mode, signal) {
|
|
16278
|
+
sink(session, text, attachmentIds, mode, signal, accept) {
|
|
16338
16279
|
if (text === "" && attachmentIds.length === 0) return Promise.resolve({ kind: "success" });
|
|
16339
|
-
return this.conversation().sendSession(session, text, attachmentIds, mode, signal);
|
|
16280
|
+
return this.conversation().sendSession(session, text, attachmentIds, mode, signal, accept);
|
|
16340
16281
|
}
|
|
16341
16282
|
/**
|
|
16342
16283
|
* Submit every still-pending queued message through QueueDock Steer, in FIFO
|
|
@@ -16492,6 +16433,7 @@ window.__ModuleLoader__.load({
|
|
|
16492
16433
|
"input.file": "文件",
|
|
16493
16434
|
"input.stop": "停止生成",
|
|
16494
16435
|
"input.send": "发送消息",
|
|
16436
|
+
"input.sending": "正在发送消息",
|
|
16495
16437
|
"input.send.queue": "排队发送",
|
|
16496
16438
|
"input.send.steer": "插话发送",
|
|
16497
16439
|
"attachment.pending": "待发送附件",
|
|
@@ -16545,7 +16487,6 @@ window.__ModuleLoader__.load({
|
|
|
16545
16487
|
"session.hierarchy": "会话层级",
|
|
16546
16488
|
"session.returnToMain": "返回主智能体(Alt+↑)",
|
|
16547
16489
|
"session.moreViews": "更多会话视图",
|
|
16548
|
-
"session.moreViewsCurrent": "更多会话视图 · {name}",
|
|
16549
16490
|
"todo.title": "任务",
|
|
16550
16491
|
"todo.progress.done": "{done} 已完成",
|
|
16551
16492
|
"todo.progress.active": "{active} 进行中",
|
|
@@ -16872,6 +16813,7 @@ window.__ModuleLoader__.load({
|
|
|
16872
16813
|
"input.file": "File",
|
|
16873
16814
|
"input.stop": "Stop generating",
|
|
16874
16815
|
"input.send": "Send message",
|
|
16816
|
+
"input.sending": "Sending message",
|
|
16875
16817
|
"input.send.queue": "Queue message",
|
|
16876
16818
|
"input.send.steer": "Steer message",
|
|
16877
16819
|
"attachment.pending": "Pending attachments",
|
|
@@ -16925,7 +16867,6 @@ window.__ModuleLoader__.load({
|
|
|
16925
16867
|
"session.hierarchy": "Session hierarchy",
|
|
16926
16868
|
"session.returnToMain": "Return to the main agent (Alt+↑)",
|
|
16927
16869
|
"session.moreViews": "More conversation views",
|
|
16928
|
-
"session.moreViewsCurrent": "More conversation views · {name}",
|
|
16929
16870
|
"todo.title": "To-dos",
|
|
16930
16871
|
"todo.progress.done": "{done} completed",
|
|
16931
16872
|
"todo.progress.active": "{active} in progress",
|
|
@@ -17252,6 +17193,7 @@ window.__ModuleLoader__.load({
|
|
|
17252
17193
|
"input.file": "ファイル",
|
|
17253
17194
|
"input.stop": "生成を停止",
|
|
17254
17195
|
"input.send": "メッセージを送信",
|
|
17196
|
+
"input.sending": "メッセージを送信中",
|
|
17255
17197
|
"input.send.queue": "メッセージをキューに追加",
|
|
17256
17198
|
"input.send.steer": "実行中の指示にメッセージを追加",
|
|
17257
17199
|
"attachment.pending": "保留中の添付ファイル",
|
|
@@ -17305,7 +17247,6 @@ window.__ModuleLoader__.load({
|
|
|
17305
17247
|
"session.hierarchy": "セッション階層",
|
|
17306
17248
|
"session.returnToMain": "メインエージェントに戻る(Alt+↑)",
|
|
17307
17249
|
"session.moreViews": "その他の会話ビュー",
|
|
17308
|
-
"session.moreViewsCurrent": "その他の会話ビュー · {name}",
|
|
17309
17250
|
"todo.title": "ToDo",
|
|
17310
17251
|
"todo.progress.done": "{done}件完了",
|
|
17311
17252
|
"todo.progress.active": "{active}件進行中",
|
|
@@ -17632,6 +17573,7 @@ window.__ModuleLoader__.load({
|
|
|
17632
17573
|
"input.file": "Archivo",
|
|
17633
17574
|
"input.stop": "Detener generación",
|
|
17634
17575
|
"input.send": "Enviar mensaje",
|
|
17576
|
+
"input.sending": "Enviando mensaje",
|
|
17635
17577
|
"input.send.queue": "mensaje de cola",
|
|
17636
17578
|
"input.send.steer": "Redirigir mensaje",
|
|
17637
17579
|
"attachment.pending": "Anexos pendientes",
|
|
@@ -17685,7 +17627,6 @@ window.__ModuleLoader__.load({
|
|
|
17685
17627
|
"session.hierarchy": "Jerarquía de sesiones",
|
|
17686
17628
|
"session.returnToMain": "Volver al agente principal (Alt+↑)",
|
|
17687
17629
|
"session.moreViews": "Más vistas de conversación",
|
|
17688
|
-
"session.moreViewsCurrent": "Más vistas de conversación · {name}",
|
|
17689
17630
|
"todo.title": "Tareas pendientes",
|
|
17690
17631
|
"todo.progress.done": "{done} completado",
|
|
17691
17632
|
"todo.progress.active": "{active} en progreso",
|
|
@@ -18012,6 +17953,7 @@ window.__ModuleLoader__.load({
|
|
|
18012
17953
|
"input.file": "Fichier",
|
|
18013
17954
|
"input.stop": "Arrêter la génération",
|
|
18014
17955
|
"input.send": "Envoyer le message",
|
|
17956
|
+
"input.sending": "Envoi du message",
|
|
18015
17957
|
"input.send.queue": "Message de file d'attente",
|
|
18016
17958
|
"input.send.steer": "Guider avec ce message",
|
|
18017
17959
|
"attachment.pending": "Pièces jointes en attente",
|
|
@@ -18065,7 +18007,6 @@ window.__ModuleLoader__.load({
|
|
|
18065
18007
|
"session.hierarchy": "Hiérarchie des sessions",
|
|
18066
18008
|
"session.returnToMain": "Revenir à l’agent principal (Alt+↑)",
|
|
18067
18009
|
"session.moreViews": "Plus de vues de conversations",
|
|
18068
|
-
"session.moreViewsCurrent": "Plus de vues de conversations · {name}",
|
|
18069
18010
|
"todo.title": "À faire",
|
|
18070
18011
|
"todo.progress.done": "{done} terminé",
|
|
18071
18012
|
"todo.progress.active": "{active} en cours",
|
|
@@ -18392,6 +18333,7 @@ window.__ModuleLoader__.load({
|
|
|
18392
18333
|
"input.file": "Datei",
|
|
18393
18334
|
"input.stop": "Generierung stoppen",
|
|
18394
18335
|
"input.send": "Nachricht senden",
|
|
18336
|
+
"input.sending": "Nachricht wird gesendet",
|
|
18395
18337
|
"input.send.queue": "Warteschlangennachricht",
|
|
18396
18338
|
"input.send.steer": "Mit Nachricht lenken",
|
|
18397
18339
|
"attachment.pending": "Ausstehende Anhänge",
|
|
@@ -18445,7 +18387,6 @@ window.__ModuleLoader__.load({
|
|
|
18445
18387
|
"session.hierarchy": "Sitzungshierarchie",
|
|
18446
18388
|
"session.returnToMain": "Zum Hauptagenten zurückkehren (Alt+↑)",
|
|
18447
18389
|
"session.moreViews": "Weitere Konversationsansichten",
|
|
18448
|
-
"session.moreViewsCurrent": "Weitere Konversationsansichten · {name}",
|
|
18449
18390
|
"todo.title": "Aufgaben",
|
|
18450
18391
|
"todo.progress.done": "{done} abgeschlossen",
|
|
18451
18392
|
"todo.progress.active": "{active} in Bearbeitung",
|
|
@@ -18772,6 +18713,7 @@ window.__ModuleLoader__.load({
|
|
|
18772
18713
|
"input.file": "Файл",
|
|
18773
18714
|
"input.stop": "Остановить генерацию",
|
|
18774
18715
|
"input.send": "Отправить сообщение",
|
|
18716
|
+
"input.sending": "Отправка сообщения",
|
|
18775
18717
|
"input.send.queue": "Сообщение в очереди",
|
|
18776
18718
|
"input.send.steer": "Направить сообщение",
|
|
18777
18719
|
"attachment.pending": "Ожидающие вложения",
|
|
@@ -18825,7 +18767,6 @@ window.__ModuleLoader__.load({
|
|
|
18825
18767
|
"session.hierarchy": "Иерархия сеансов",
|
|
18826
18768
|
"session.returnToMain": "Вернуться к основному агенту (Alt+↑)",
|
|
18827
18769
|
"session.moreViews": "Больше просмотров беседы",
|
|
18828
|
-
"session.moreViewsCurrent": "Больше просмотров беседы · {name}",
|
|
18829
18770
|
"todo.title": "Дела",
|
|
18830
18771
|
"todo.progress.done": "{done} завершено",
|
|
18831
18772
|
"todo.progress.active": "{active} в процессе",
|
|
@@ -19152,6 +19093,7 @@ window.__ModuleLoader__.load({
|
|
|
19152
19093
|
"input.file": "Arquivo",
|
|
19153
19094
|
"input.stop": "Parar geração",
|
|
19154
19095
|
"input.send": "Enviar mensagem",
|
|
19096
|
+
"input.sending": "Enviando mensagem",
|
|
19155
19097
|
"input.send.queue": "Mensagem de fila",
|
|
19156
19098
|
"input.send.steer": "Orientar com mensagem",
|
|
19157
19099
|
"attachment.pending": "Anexos pendentes",
|
|
@@ -19205,7 +19147,6 @@ window.__ModuleLoader__.load({
|
|
|
19205
19147
|
"session.hierarchy": "Hierarquia de sessão",
|
|
19206
19148
|
"session.returnToMain": "Voltar ao agente principal (Alt+↑)",
|
|
19207
19149
|
"session.moreViews": "Mais visualizações de conversas",
|
|
19208
|
-
"session.moreViewsCurrent": "Mais visualizações de conversas · {name}",
|
|
19209
19150
|
"todo.title": "Tarefas",
|
|
19210
19151
|
"todo.progress.done": "{done} concluído",
|
|
19211
19152
|
"todo.progress.active": "{active} em andamento",
|
|
@@ -20065,7 +20006,7 @@ window.__ModuleLoader__.load({
|
|
|
20065
20006
|
}
|
|
20066
20007
|
//#endregion
|
|
20067
20008
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/ConversationRoot.module.css.mjs
|
|
20068
|
-
const css$4 = ".zLYQ6W_root{background:var(--dsw-alias-bg-base);flex-direction:column;min-width:0;height:100%;display:flex;position:relative}.zLYQ6W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;grid-template-columns:auto minmax(0,1fr);min-height:76px;padding:10px 28px 0 20px;display:grid}.zLYQ6W_header:where(:not(:has(.zLYQ6W_tabs))){min-height:0;padding-bottom:10px}.zLYQ6W_headerBlank{border-bottom:none;min-height:0;padding-bottom:0}.zLYQ6W_headerBlank .zLYQ6W_headerCorner{margin-left:auto}html:not([data-platform=darwin]) .zLYQ6W_headerSessionless{padding-top:0}html:not([data-platform=darwin]) .zLYQ6W_headerSessionless .zLYQ6W_titleRow{min-height:0}[data-platform=darwin] .zLYQ6W_headerLeading,[data-platform=darwin] .zLYQ6W_headerActions,[data-platform=darwin] .zLYQ6W_headerUtilities,[data-platform=darwin] .zLYQ6W_headerCorner{-webkit-app-region:no-drag}.zLYQ6W_titleRow{min-height:30px;grid-column:2;align-items:center;gap:0;padding-inline-start:max(0px, calc(var(--dsh-frame-leading-clearance,0px) - 20px));display:flex;container-type:inline-size}.zLYQ6W_titleCluster{flex:1;align-items:center;gap:10px;
|
|
20009
|
+
const css$4 = ".zLYQ6W_root{background:var(--dsw-alias-bg-base);flex-direction:column;min-width:0;height:100%;display:flex;position:relative}.zLYQ6W_header{box-sizing:border-box;border-bottom:.5px solid var(--dsw-alias-border-l3);flex:none;grid-template-columns:auto minmax(0,1fr);min-height:76px;padding:10px 28px 0 20px;display:grid}.zLYQ6W_header:where(:not(:has(.zLYQ6W_tabs))){min-height:0;padding-bottom:10px}.zLYQ6W_headerBlank{border-bottom:none;min-height:0;padding-bottom:0}.zLYQ6W_headerBlank .zLYQ6W_headerCorner{margin-left:auto}html:not([data-platform=darwin]) .zLYQ6W_headerSessionless{padding-top:0}html:not([data-platform=darwin]) .zLYQ6W_headerSessionless .zLYQ6W_titleRow{min-height:0}[data-platform=darwin] .zLYQ6W_headerLeading,[data-platform=darwin] .zLYQ6W_headerActions,[data-platform=darwin] .zLYQ6W_headerUtilities,[data-platform=darwin] .zLYQ6W_headerCorner{-webkit-app-region:no-drag}.zLYQ6W_titleRow{min-height:30px;grid-column:2;align-items:center;gap:0;padding-inline-start:max(0px, calc(var(--dsh-frame-leading-clearance,0px) - 20px));display:flex;container-type:inline-size}.zLYQ6W_titleCluster{--title-cluster-fade:20px;min-width:0;margin:-4px calc(-1 * var(--title-cluster-fade)) -4px -4px;padding:4px var(--title-cluster-fade) 4px 4px;mask-image:linear-gradient(to left, transparent calc(.3 * var(--title-cluster-fade)), #000 var(--title-cluster-fade));flex:1;align-items:center;gap:10px;display:flex;overflow:clip}.zLYQ6W_titleCluster:has(+.zLYQ6W_headerUtilities:empty){--title-cluster-fade:8px}.zLYQ6W_headerLeading{flex:none;grid-area:1/1;align-items:center;gap:8px;display:flex}.zLYQ6W_crumbs{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex;overflow:hidden}.zLYQ6W_crumbSeg{align-items:center;gap:4px;min-width:0;display:inline-flex}.zLYQ6W_crumbSep{color:var(--dsw-alias-label-caption);font-size:14px;line-height:20px}.zLYQ6W_crumb{border-radius:var(--dsw-radius-md);max-width:220px;color:var(--dsw-alias-label-tertiary);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:none;padding:4px 8px;font-size:14px;line-height:20px;display:inline-block;overflow:hidden}.zLYQ6W_crumbSubagent{font-size:12px;line-height:18px}@media (hover:hover){button.zLYQ6W_crumb:hover{background:var(--dsw-alias-interactive-bg-hover)}}.zLYQ6W_crumbCurrent{color:var(--dsw-alias-label-primary);cursor:default;font-weight:500}.zLYQ6W_headerActions{flex:none;align-items:center;gap:8px;display:flex}.zLYQ6W_headerUtilities{flex:none;align-items:center;gap:8px;margin-left:20px;display:flex}.zLYQ6W_headerUtilities:empty{display:none}.zLYQ6W_headerCorner{flex:none;align-items:center;margin-left:8px;margin-right:-16px;display:flex}.zLYQ6W_headerCorner:empty{display:none}.zLYQ6W_tabs{z-index:1;box-sizing:border-box;flex-wrap:wrap;grid-column:1/-1;align-items:flex-start;gap:16px 20px;width:100%;min-width:0;margin-top:10px;padding-left:8px;display:flex;position:relative}.zLYQ6W_viewTabs{flex-wrap:wrap;gap:32px;min-width:0;min-height:25px;display:flex}.zLYQ6W_tab{--dsh-tab-hit-inline:10px;box-sizing:border-box;min-height:35px;margin:-10px calc(-1 * var(--dsh-tab-hit-inline)) 0;padding:10px var(--dsh-tab-hit-inline) 9px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;font-size:13px;font-weight:500;line-height:16px;position:relative}.zLYQ6W_tab:after{content:\"\";right:var(--dsh-tab-hit-inline);bottom:-1px;left:var(--dsh-tab-hit-inline);background:0 0;border-radius:2px;height:2px;position:absolute}.zLYQ6W_tabActive{color:var(--dsw-alias-state-business-primary)}.zLYQ6W_tabActive:after{background:var(--dsw-alias-state-business-primary)}.zLYQ6W_viewsMoreAnchor{flex:none}.zLYQ6W_viewsMore{width:22px;height:22px;color:var(--dsw-alias-label-secondary);margin-top:-3px;padding:0}.zLYQ6W_viewsMoreActive{color:var(--dsw-alias-state-business-primary)}.zLYQ6W_tabLabel{text-overflow:ellipsis;white-space:nowrap;max-width:88px;display:block;overflow:hidden}.zLYQ6W_viewsMore[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover)}.zLYQ6W_viewsMoreMenu{width:288px;max-width:calc(100vw - 24px)}.zLYQ6W_viewArea{flex-direction:column;flex:1;min-height:0;display:flex}.zLYQ6W_widthHandle{z-index:0;width:min(10px, calc((100% - var(--dsh-chat-content-width)) / 2 - 24px - 24px));cursor:col-resize;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]{right:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle[data-side=right]{left:calc(50% + var(--dsh-chat-content-width) / 2 + 24px)}.zLYQ6W_widthHandle:after{content:\"\";background:linear-gradient(to bottom, transparent calc(var(--dsh-width-handle-pointer-y,50%) - 36px), var(--dsw-alias-scrollbar-bg-l1) calc(var(--dsh-width-handle-pointer-y,50%) - 8px), var(--dsw-alias-scrollbar-bg-l1) calc(var(--dsh-width-handle-pointer-y,50%) + 8px), transparent calc(var(--dsh-width-handle-pointer-y,50%) + 36px));opacity:0;pointer-events:none;border-radius:2px;width:2px;position:absolute;top:0;bottom:0}.zLYQ6W_widthHandle[data-side=left]:after{right:4px}.zLYQ6W_widthHandle[data-side=right]:after{left:4px}.zLYQ6W_widthHandle[data-dragging]:after{opacity:1}@media (hover:hover){.zLYQ6W_widthHandle:hover:after{opacity:1}}.zLYQ6W_widthHandle[data-dragging]{z-index:8}.zLYQ6W_root:has([data-conversation-composer-overlay]) .zLYQ6W_widthHandle{display:none}.zLYQ6W_composerStack{--dsh-composer-stack-gap:6px;gap:var(--dsh-composer-stack-gap);flex-direction:column;display:flex}.zLYQ6W_composerSeat{--dsh-composer-text-max-height:336px;flex-direction:column;flex:none;display:flex}.zLYQ6W_root[data-phase=active]{overflow:hidden}.zLYQ6W_root[data-phase=active] .zLYQ6W_header{flex:none}.zLYQ6W_body{--dsh-chat-content-width:var(--dsh-chat-user-width,clamp(680px, calc(var(--dsh-conversation-column-width,0px) * .64), 920px));--dsh-composer-card-max-width:calc(var(--dsh-chat-content-width) + 32px);--dsh-composer-side-clearance:16px;--dsh-composer-dock-inset:8px;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.zLYQ6W_embeddedBody{--dsh-chat-content-width:min(calc(100% - 32px), 920px);--dsh-composer-card-max-width:min(calc(100% - 16px), 952px);--dsh-composer-side-clearance:8px;--dsh-composer-dock-inset:8px;overflow:hidden}.zLYQ6W_scrollBody{scrollbar-gutter:stable;flex-direction:column;flex:1;min-height:0;margin-right:2px;display:flex;overflow-y:auto}.zLYQ6W_scrollBody::-webkit-scrollbar-track{margin:2px}.zLYQ6W_root[data-phase=active] .zLYQ6W_viewArea,.zLYQ6W_embeddedBody[data-content-phase=active] .zLYQ6W_viewArea{flex:1 0 auto;min-height:auto}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat,.zLYQ6W_embeddedBody[data-content-phase=active] .zLYQ6W_composerSeat{z-index:7;background:linear-gradient(180deg, color-mix(in srgb, var(--dsw-alias-bg-base) 0%, transparent) 0px, var(--dsw-alias-bg-base) 36px);position:sticky;bottom:0}.zLYQ6W_root[data-phase=active] .zLYQ6W_composerSeat:has([data-trigger-menu]){z-index:9}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay]){scrollbar-gutter:auto;position:relative;overflow:hidden auto}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>[data-slot=conversation\\.session]>.zLYQ6W_viewArea{flex:1 1 0;min-height:0;overflow:hidden}.zLYQ6W_scrollBody:has([data-conversation-composer-overlay])>.zLYQ6W_composerSeat{right:var(--dsh-scrollbar-width);position:absolute;bottom:0;left:0}.zLYQ6W_composerHero{width:min(calc(var(--dsh-composer-card-max-width) + 2 * var(--dsh-composer-side-clearance)), 100%);z-index:1;align-self:center;gap:8px;padding-bottom:32px}.zLYQ6W_heroWorkspaceRow{align-items:center;gap:2px;min-width:0;margin-top:4px;padding:0 16px 0 20px;display:flex}.zLYQ6W_heroOptions{flex:none;align-items:center;gap:2px;min-width:0;margin-left:auto;display:flex}.zLYQ6W_heroOptions:empty{display:none}.zLYQ6W_root[data-phase=hero] .zLYQ6W_scrollBody,.zLYQ6W_embeddedBody[data-content-phase=hero] .zLYQ6W_scrollBody{justify-content:center;overflow-y:auto}.zLYQ6W_root[data-phase=settling] .zLYQ6W_composerSeat,.zLYQ6W_embeddedBody[data-content-phase=settling] .zLYQ6W_composerSeat{visibility:hidden}";
|
|
20069
20010
|
const tagId$4 = "@deepseek-ai/dsh-client-ui-conversation/ConversationRoot.module.css";
|
|
20070
20011
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
20071
20012
|
const tag = document.createElement("style");
|
|
@@ -20763,6 +20704,30 @@ window.__ModuleLoader__.load({
|
|
|
20763
20704
|
})
|
|
20764
20705
|
});
|
|
20765
20706
|
}
|
|
20707
|
+
/** Approximate 13px text advance: full-width glyphs take one em, other glyphs about half. */
|
|
20708
|
+
const WIDE_GLYPH = /[\u1100-\u115F\u2E80-\uA4CF\uAC00-\uD7A3\uF900-\uFAFF\uFE30-\uFE4F\uFF00-\uFF60\uFFE0-\uFFE6]/u;
|
|
20709
|
+
const WIDE_GLYPH_WIDTH = 13;
|
|
20710
|
+
const NARROW_GLYPH_WIDTH = 7;
|
|
20711
|
+
/** Mirrors the `.tabLabel` max-width in `ConversationRoot.module.css`. */
|
|
20712
|
+
const TAB_LABEL_MAX_WIDTH = 88;
|
|
20713
|
+
/** Estimate whether a View tab label exceeds its 88px cell. */
|
|
20714
|
+
function labelNeedsTooltip(label) {
|
|
20715
|
+
let width = 0;
|
|
20716
|
+
for (const glyph of label) width += WIDE_GLYPH.test(glyph) ? WIDE_GLYPH_WIDTH : NARROW_GLYPH_WIDTH;
|
|
20717
|
+
return width > TAB_LABEL_MAX_WIDTH;
|
|
20718
|
+
}
|
|
20719
|
+
/** One View tab label; its full-name tooltip is offered only when the text is expected to overflow. */
|
|
20720
|
+
function ViewTabLabel({ label }) {
|
|
20721
|
+
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
20722
|
+
label,
|
|
20723
|
+
portal: true,
|
|
20724
|
+
disabled: !labelNeedsTooltip(label),
|
|
20725
|
+
children: (0, react_jsx_runtime.jsx)("span", {
|
|
20726
|
+
className: ConversationRoot_module_css_default.tabLabel,
|
|
20727
|
+
children: label
|
|
20728
|
+
})
|
|
20729
|
+
});
|
|
20730
|
+
}
|
|
20766
20731
|
function deriveAncestry(list, id) {
|
|
20767
20732
|
const chain = [];
|
|
20768
20733
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -20917,17 +20882,10 @@ window.__ModuleLoader__.load({
|
|
|
20917
20882
|
onClick: () => {
|
|
20918
20883
|
selectView(viewTab.id);
|
|
20919
20884
|
},
|
|
20920
|
-
children: (0, react_jsx_runtime.jsx)(
|
|
20921
|
-
label: viewTab.label,
|
|
20922
|
-
portal: true,
|
|
20923
|
-
children: (0, react_jsx_runtime.jsx)("span", {
|
|
20924
|
-
className: ConversationRoot_module_css_default.tabLabel,
|
|
20925
|
-
children: viewTab.label
|
|
20926
|
-
})
|
|
20927
|
-
})
|
|
20885
|
+
children: (0, react_jsx_runtime.jsx)(ViewTabLabel, { label: viewTab.label })
|
|
20928
20886
|
}, viewTab.id))
|
|
20929
20887
|
}), hasEntryActions && (0, react_jsx_runtime.jsx)(ViewsMoreMenu, {
|
|
20930
|
-
label:
|
|
20888
|
+
label: t("session.moreViews"),
|
|
20931
20889
|
current: currentInMore,
|
|
20932
20890
|
entries: moreTabs.map((viewTab) => ({
|
|
20933
20891
|
id: viewTab.id,
|
|
@@ -21704,7 +21662,7 @@ window.__ModuleLoader__.load({
|
|
|
21704
21662
|
}
|
|
21705
21663
|
//#endregion
|
|
21706
21664
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-conversation/src/client/skeleton/InputBar.module.css.mjs
|
|
21707
|
-
const css$1 = ".Uzaq8q_root{padding:0 var(--dsh-composer-side-clearance) 4px;flex-direction:column;align-items:center;display:flex}.Uzaq8q_dock{justify-content:center;align-items:center;gap:12px;max-width:100%;padding-top:4px;display:flex}.Uzaq8q_hero .Uzaq8q_dock:empty{display:none}.Uzaq8q_hero{padding:0 var(--dsh-composer-side-clearance)}.Uzaq8q_notice{width:100%;max-width:var(--dsh-composer-card-max-width);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);margin-bottom:6px;padding:4px 8px;font-size:12px;line-height:18px}.Uzaq8q_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-panel);background:var(--dsw-specific-input-major);box-shadow:var(--dsw-elevation-soft);font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;flex-direction:column;gap:12px;padding-top:8px;display:flex;position:relative}@media (pointer:coarse){.Uzaq8q_card{font-size:max(16px, var(--dsh-content-font-size,14px))}}.Uzaq8q_cardWorkspaceTrigger{--dsw-elevation-stroke-color:transparent;cursor:pointer}.Uzaq8q_cardWorkspaceTrigger:after{content:\"\";box-sizing:border-box;border-radius:var(--dsw-radius-panel);color:var(--dsw-alias-border-l4);pointer-events:none;border:1px dashed;transition:color .1s;position:absolute;inset:0}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}@media (hover:hover){.Uzaq8q_cardWorkspaceTrigger:hover:after{color:var(--dsw-alias-state-business-primary)}}.Uzaq8q_accessory{align-items:center;gap:8px;padding:10px 12px 0;display:flex}.Uzaq8q_overlayAnchor{height:0;position:absolute;inset:0 0 auto}.Uzaq8q_scroll{max-height:var(--dsh-composer-text-max-height);margin-right:4px;overflow-y:auto}.Uzaq8q_scroll::-webkit-scrollbar-track{margin-top:8px}.Uzaq8q_grow{position:relative}.Uzaq8q_pending{corner-shape:round;background:var(--dsw-alias-state-business-primary);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate Uzaq8q_input-pending}@keyframes Uzaq8q_input-pending{0%{opacity:.35}to{opacity:1}}.Uzaq8q_input{box-sizing:border-box;min-height:36px;font-family:var(--dsw-font-family);font-size:inherit;line-height:inherit;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary);caret-color:var(--dsw-alias-state-business-primary);outline:none;padding:4px 8px 0 14px}.Uzaq8q_input p{margin:0}.Uzaq8q_input p:last-child:after{content:var(--dsh-composer-hint);color:var(--dsw-alias-label-caption)}.Uzaq8q_input[data-composer-composing] p:last-child:after{content:none}.Uzaq8q_input[data-composer-chip-selected]{caret-color:#0000}.Uzaq8q_input[data-composer-composing]+.Uzaq8q_placeholder{visibility:hidden}.Uzaq8q_placeholder{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;user-select:none;position:absolute;inset:4px 8px auto 14px;overflow:hidden}.Uzaq8q_inputDisabled{color:var(--dsw-alias-label-tertiary);cursor:not-allowed}.Uzaq8q_input[aria-haspopup=menu]{cursor:pointer}.Uzaq8q_hero .Uzaq8q_input{min-height:52px}.Uzaq8q_hero .Uzaq8q_placeholder{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.Uzaq8q_row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:2px 8px 6px;display:flex;container-type:inline-size}.Uzaq8q_row[data-model-compact]{--dsh-composer-model-text-display:none;--dsh-composer-model-icon-display:block}.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{align-items:center;min-width:0;display:flex}.Uzaq8q_tools,.Uzaq8q_modes{gap:12px}.Uzaq8q_trailing{flex:none;gap:12px;margin-left:auto}@container (width<=560px){.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{gap:8px}}.Uzaq8q_add{corner-shape:round;background:var(--dsw-specific-selector);width:28px;height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;display:grid}@media (hover:hover){.Uzaq8q_add:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}}.Uzaq8q_add:disabled{opacity:.5;cursor:default}.Uzaq8q_select{border-radius:var(--dsw-radius-sm);max-width:220px;height:28px;color:var(--dsw-alias-label-secondary);white-space:nowrap;cursor:pointer;appearance:none;background-color:#0000;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2381858C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-position:right 4px center;background-repeat:no-repeat;background-size:12px 12px;border:none;outline:none;padding:0 20px 0 8px;font-size:13px;font-weight:500;line-height:20px}@media (hover:hover){.Uzaq8q_select:hover:not(:disabled){background-color:var(--dsw-alias-interactive-bg-hover)}}.Uzaq8q_select:disabled{opacity:.5;cursor:default}.Uzaq8q_primary{corner-shape:round;background:var(--dsw-alias-button-info-fill);color:#fff;cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;transition:background-color .1s;display:grid;transform:translateY(-2px)}@media (hover:hover){.Uzaq8q_primary:hover:not(:disabled){background:var(--dsw-alias-button-info-hover)}}.Uzaq8q_primary:disabled{opacity:.4;cursor:default}.Uzaq8q_retry{border-radius:var(--dsw-radius-sm);color:inherit;cursor:pointer;background:0 0;border:1px solid;margin-left:8px;padding:1px 8px;font-size:12px}.Uzaq8q_standardControls{align-items:center;gap:12px;min-width:0;display:flex}.Uzaq8q_tools[hidden],.Uzaq8q_standardControls[hidden]{display:none}.Uzaq8q_trailingActive{flex:1;margin-left:0}.Uzaq8q_activity{flex:none;align-items:center;display:flex}.Uzaq8q_activity:empty{display:none}.Uzaq8q_activityExpanded{flex:1;min-width:0}";
|
|
21665
|
+
const css$1 = ".Uzaq8q_root{padding:0 var(--dsh-composer-side-clearance) 4px;flex-direction:column;align-items:center;display:flex}.Uzaq8q_dock{justify-content:center;align-items:center;gap:12px;max-width:100%;padding-top:4px;display:flex}.Uzaq8q_hero .Uzaq8q_dock:empty{display:none}.Uzaq8q_hero{padding:0 var(--dsh-composer-side-clearance)}.Uzaq8q_notice{width:100%;max-width:var(--dsh-composer-card-max-width);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary);margin-bottom:6px;padding:4px 8px;font-size:12px;line-height:18px}.Uzaq8q_card{box-sizing:border-box;width:100%;max-width:var(--dsh-composer-card-max-width);--dsw-elevation-stroke-color:var(--dsw-alias-border-l2);border-radius:var(--dsw-radius-panel);background:var(--dsw-specific-input-major);box-shadow:var(--dsw-elevation-soft);font-size:var(--dsh-content-font-size,14px);line-height:calc(24px + var(--dsh-content-font-delta,0px));--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border:0;flex-direction:column;gap:12px;padding-top:8px;display:flex;position:relative}@media (pointer:coarse){.Uzaq8q_card{font-size:max(16px, var(--dsh-content-font-size,14px))}}.Uzaq8q_cardWorkspaceTrigger{--dsw-elevation-stroke-color:transparent;cursor:pointer}.Uzaq8q_cardWorkspaceTrigger:after{content:\"\";box-sizing:border-box;border-radius:var(--dsw-radius-panel);color:var(--dsw-alias-border-l4);pointer-events:none;border:1px dashed;transition:color .1s;position:absolute;inset:0}.Uzaq8q_cardWorkspaceTrigger :disabled{pointer-events:none}@media (hover:hover){.Uzaq8q_cardWorkspaceTrigger:hover:after{color:var(--dsw-alias-state-business-primary)}}.Uzaq8q_accessory{align-items:center;gap:8px;padding:10px 12px 0;display:flex}.Uzaq8q_overlayAnchor{height:0;position:absolute;inset:0 0 auto}.Uzaq8q_scroll{max-height:var(--dsh-composer-text-max-height);margin-right:4px;overflow-y:auto}.Uzaq8q_scroll::-webkit-scrollbar-track{margin-top:8px}.Uzaq8q_grow{position:relative}.Uzaq8q_pending{corner-shape:round;background:var(--dsw-alias-state-business-primary);border-radius:50%;width:8px;height:8px;animation:1s ease-in-out infinite alternate Uzaq8q_input-pending}@keyframes Uzaq8q_input-pending{0%{opacity:.35}to{opacity:1}}.Uzaq8q_input{box-sizing:border-box;min-height:36px;font-family:var(--dsw-font-family);font-size:inherit;line-height:inherit;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:var(--dsw-alias-label-primary);caret-color:var(--dsw-alias-state-business-primary);outline:none;padding:4px 8px 0 14px}.Uzaq8q_input p{margin:0}.Uzaq8q_input p:last-child:after{content:var(--dsh-composer-hint);color:var(--dsw-alias-label-caption)}.Uzaq8q_input[data-composer-composing] p:last-child:after{content:none}.Uzaq8q_input[data-composer-chip-selected]{caret-color:#0000}.Uzaq8q_input[data-composer-composing]+.Uzaq8q_placeholder{visibility:hidden}.Uzaq8q_placeholder{color:var(--dsw-alias-label-caption);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;user-select:none;position:absolute;inset:4px 8px auto 14px;overflow:hidden}.Uzaq8q_inputDisabled{color:var(--dsw-alias-label-tertiary);cursor:not-allowed}.Uzaq8q_input[aria-haspopup=menu]{cursor:pointer}.Uzaq8q_hero .Uzaq8q_input{min-height:52px}.Uzaq8q_hero .Uzaq8q_placeholder{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.Uzaq8q_row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:2px 8px 6px;display:flex;container-type:inline-size}.Uzaq8q_row[data-model-compact]{--dsh-composer-model-text-display:none;--dsh-composer-model-icon-display:block}.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{align-items:center;min-width:0;display:flex}.Uzaq8q_tools,.Uzaq8q_modes{gap:12px}.Uzaq8q_trailing{flex:none;gap:12px;margin-left:auto}@container (width<=560px){.Uzaq8q_tools,.Uzaq8q_modes,.Uzaq8q_trailing{gap:8px}}.Uzaq8q_add{corner-shape:round;background:var(--dsw-specific-selector);width:28px;height:28px;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;display:grid}@media (hover:hover){.Uzaq8q_add:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-solid)}}.Uzaq8q_add:disabled{opacity:.5;cursor:default}.Uzaq8q_select{border-radius:var(--dsw-radius-sm);max-width:220px;height:28px;color:var(--dsw-alias-label-secondary);white-space:nowrap;cursor:pointer;appearance:none;background-color:#0000;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2381858C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");background-position:right 4px center;background-repeat:no-repeat;background-size:12px 12px;border:none;outline:none;padding:0 20px 0 8px;font-size:13px;font-weight:500;line-height:20px}@media (hover:hover){.Uzaq8q_select:hover:not(:disabled){background-color:var(--dsw-alias-interactive-bg-hover)}}.Uzaq8q_select:disabled{opacity:.5;cursor:default}.Uzaq8q_primary{corner-shape:round;background:var(--dsw-alias-button-info-fill);color:#fff;cursor:pointer;border:none;border-radius:999px;flex:none;place-items:center;width:34px;height:34px;transition:background-color .1s;display:grid;transform:translateY(-2px)}@media (hover:hover){.Uzaq8q_primary:hover:not(:disabled){background:var(--dsw-alias-button-info-hover)}}.Uzaq8q_primary:disabled{opacity:.4;cursor:default}.Uzaq8q_primary[data-sending]:disabled{opacity:1;cursor:progress}.Uzaq8q_sendingSpinner{animation:.8s linear infinite Uzaq8q_input-sending}@media (prefers-reduced-motion:reduce){.Uzaq8q_sendingSpinner{animation-duration:2.4s}}@keyframes Uzaq8q_input-sending{to{transform:rotate(360deg)}}.Uzaq8q_retry{border-radius:var(--dsw-radius-sm);color:inherit;cursor:pointer;background:0 0;border:1px solid;margin-left:8px;padding:1px 8px;font-size:12px}.Uzaq8q_standardControls{align-items:center;gap:12px;min-width:0;display:flex}.Uzaq8q_tools[hidden],.Uzaq8q_standardControls[hidden]{display:none}.Uzaq8q_trailingActive{flex:1;margin-left:0}.Uzaq8q_activity{flex:none;align-items:center;display:flex}.Uzaq8q_activity:empty{display:none}.Uzaq8q_activityExpanded{flex:1;min-width:0}";
|
|
21708
21666
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-conversation/InputBar.module.css";
|
|
21709
21667
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
21710
21668
|
const tag = document.createElement("style");
|
|
@@ -21725,6 +21683,7 @@ window.__ModuleLoader__.load({
|
|
|
21725
21683
|
"hero": "Uzaq8q_hero",
|
|
21726
21684
|
"input": "Uzaq8q_input",
|
|
21727
21685
|
"input-pending": "Uzaq8q_input-pending",
|
|
21686
|
+
"input-sending": "Uzaq8q_input-sending",
|
|
21728
21687
|
"inputDisabled": "Uzaq8q_inputDisabled",
|
|
21729
21688
|
"modes": "Uzaq8q_modes",
|
|
21730
21689
|
"notice": "Uzaq8q_notice",
|
|
@@ -21737,6 +21696,7 @@ window.__ModuleLoader__.load({
|
|
|
21737
21696
|
"row": "Uzaq8q_row",
|
|
21738
21697
|
"scroll": "Uzaq8q_scroll",
|
|
21739
21698
|
"select": "Uzaq8q_select",
|
|
21699
|
+
"sendingSpinner": "Uzaq8q_sendingSpinner",
|
|
21740
21700
|
"standardControls": "Uzaq8q_standardControls",
|
|
21741
21701
|
"tools": "Uzaq8q_tools",
|
|
21742
21702
|
"trailing": "Uzaq8q_trailing",
|
|
@@ -21830,7 +21790,8 @@ window.__ModuleLoader__.load({
|
|
|
21830
21790
|
const disabled = removed || inert || !live || blocked !== void 0 || parentOffline;
|
|
21831
21791
|
const locked = disabled;
|
|
21832
21792
|
const modelSeatLocked = removed || inert || !live;
|
|
21833
|
-
const machineBusy = input?.phase === "adjudicating" || input?.phase === "submitting";
|
|
21793
|
+
const machineBusy = input?.phase === "adjudicating" || input?.phase === "submitting" || input?.phase === "sending";
|
|
21794
|
+
const sending = input?.phase === "sending";
|
|
21834
21795
|
const workspaceTrigger = inert && !removed && onRequestWorkspace !== void 0;
|
|
21835
21796
|
const editorDisabled = removed || locked && !workspaceTrigger;
|
|
21836
21797
|
const editable = live && !locked && !machineBusy;
|
|
@@ -21856,6 +21817,20 @@ window.__ModuleLoader__.load({
|
|
|
21856
21817
|
sessionId,
|
|
21857
21818
|
editor
|
|
21858
21819
|
]);
|
|
21820
|
+
const busyPhaseSeen = (0, react.useRef)(false);
|
|
21821
|
+
(0, react.useEffect)(() => {
|
|
21822
|
+
if (machineBusy) {
|
|
21823
|
+
busyPhaseSeen.current = true;
|
|
21824
|
+
return;
|
|
21825
|
+
}
|
|
21826
|
+
if (!busyPhaseSeen.current) return;
|
|
21827
|
+
busyPhaseSeen.current = false;
|
|
21828
|
+
if (locked || editor === null) return;
|
|
21829
|
+
if (document.activeElement !== null && document.activeElement !== document.body) return;
|
|
21830
|
+
if ((0, _deepseek_ai_dsh_client_ui_primitives.isMobileDevice)()) {
|
|
21831
|
+
if (cardRef.current !== null) (0, _deepseek_ai_dsh_client_ui_primitives.focusWithoutRing)(cardRef.current, { preventScroll: true });
|
|
21832
|
+
} else focusDraftEditor(editor, revealSelection);
|
|
21833
|
+
}, [machineBusy]);
|
|
21859
21834
|
(0, react.useEffect)(() => {
|
|
21860
21835
|
if (locked || draft === "") return;
|
|
21861
21836
|
revealSelection();
|
|
@@ -21961,12 +21936,12 @@ window.__ModuleLoader__.load({
|
|
|
21961
21936
|
onRequestWorkspace();
|
|
21962
21937
|
}
|
|
21963
21938
|
};
|
|
21964
|
-
const primaryStops = running && subagent === null && (empty || blocked !== void 0);
|
|
21939
|
+
const primaryStops = running && subagent === null && !sending && (empty || blocked !== void 0);
|
|
21965
21940
|
const primaryDisabled = primaryStops ? stopAction === void 0 : empty || disabled || machineBusy || uploadsPending;
|
|
21966
|
-
const interruptible = running && continuable;
|
|
21941
|
+
const interruptible = running && (continuable || sending && subagent === null);
|
|
21967
21942
|
const primarySubmitMode = resolveSubmitMode(busyEnter, running, "enter", steeringAvailable);
|
|
21968
21943
|
const plainMessageDraft = !empty && input?.phase === "plain" && !draft.trimStart().startsWith("/");
|
|
21969
|
-
const primaryLabel = primaryStops ? t("input.stop") : running && steeringAvailable && !disabled && !uploadsPending && plainMessageDraft ? t(primarySubmitMode === "steer" ? "input.send.steer" : "input.send.queue") : t("input.send");
|
|
21944
|
+
const primaryLabel = primaryStops ? t("input.stop") : sending ? t("input.sending") : running && steeringAvailable && !disabled && !uploadsPending && plainMessageDraft ? t(primarySubmitMode === "steer" ? "input.send.steer" : "input.send.queue") : t("input.send");
|
|
21970
21945
|
const onPrimary = () => {
|
|
21971
21946
|
if (primaryStops) {
|
|
21972
21947
|
stopAction?.();
|
|
@@ -22143,6 +22118,8 @@ window.__ModuleLoader__.load({
|
|
|
22143
22118
|
type: "button",
|
|
22144
22119
|
className: InputBar_module_css_default.primary,
|
|
22145
22120
|
"aria-label": primaryLabel,
|
|
22121
|
+
"aria-busy": sending,
|
|
22122
|
+
"data-sending": sending ? "" : void 0,
|
|
22146
22123
|
disabled: primaryDisabled,
|
|
22147
22124
|
onMouseDown: keepFocus,
|
|
22148
22125
|
onClick: onPrimary,
|
|
@@ -22159,6 +22136,27 @@ window.__ModuleLoader__.load({
|
|
|
22159
22136
|
rx: "3",
|
|
22160
22137
|
fill: "currentColor"
|
|
22161
22138
|
})
|
|
22139
|
+
}) : sending ? (0, react_jsx_runtime.jsxs)("svg", {
|
|
22140
|
+
className: InputBar_module_css_default.sendingSpinner,
|
|
22141
|
+
viewBox: "0 0 16 16",
|
|
22142
|
+
width: "16",
|
|
22143
|
+
height: "16",
|
|
22144
|
+
"aria-hidden": true,
|
|
22145
|
+
children: [(0, react_jsx_runtime.jsx)("circle", {
|
|
22146
|
+
cx: "8",
|
|
22147
|
+
cy: "8",
|
|
22148
|
+
r: "6",
|
|
22149
|
+
fill: "none",
|
|
22150
|
+
stroke: "currentColor",
|
|
22151
|
+
strokeOpacity: "0.35",
|
|
22152
|
+
strokeWidth: "2"
|
|
22153
|
+
}), (0, react_jsx_runtime.jsx)("path", {
|
|
22154
|
+
d: "M8 2a6 6 0 0 1 6 6",
|
|
22155
|
+
fill: "none",
|
|
22156
|
+
stroke: "currentColor",
|
|
22157
|
+
strokeWidth: "2",
|
|
22158
|
+
strokeLinecap: "round"
|
|
22159
|
+
})]
|
|
22162
22160
|
}) : (0, react_jsx_runtime.jsx)("svg", {
|
|
22163
22161
|
viewBox: "0 0 16 16",
|
|
22164
22162
|
width: "16",
|
|
@@ -22807,6 +22805,7 @@ window.__ModuleLoader__.load({
|
|
|
22807
22805
|
selectWorkspace: (workspaceId) => workspaceNavigation.openWorkspace(workspaceId, (nextId) => {
|
|
22808
22806
|
if (sessionId !== void 0 && nextId !== sessionId) {
|
|
22809
22807
|
const from = inputHub.shell(sessionId);
|
|
22808
|
+
if (from.snapshot.phase !== "plain" && from.snapshot.phase !== "claimed") return;
|
|
22810
22809
|
const draft = from.draftSnapshot;
|
|
22811
22810
|
const attachmentIds = from.snapshot.attachmentIds;
|
|
22812
22811
|
const next = inputHub.shell(nextId);
|
|
@@ -22985,7 +22984,8 @@ window.__ModuleLoader__.load({
|
|
|
22985
22984
|
keyboard: shell,
|
|
22986
22985
|
addFiles: (files, directories = /* @__PURE__ */ new Set()) => {
|
|
22987
22986
|
if (sessions.binding(sessionId) === void 0) return t("file.sessionUnavailable");
|
|
22988
|
-
|
|
22987
|
+
const { phase } = shell.snapshot;
|
|
22988
|
+
if (phase === "adjudicating" || phase === "submitting" || phase === "sending") return t("attachment.dropBlocked");
|
|
22989
22989
|
const uploads = [];
|
|
22990
22990
|
const references = [];
|
|
22991
22991
|
const cwd = sessions.list.getSnapshot().byId[sessionId]?.cwd;
|