@songtonyli/dsh-cli 0.1.40 → 0.1.42
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/README.i18n.yaml +21 -5
- package/node_modules/@deepseek-ai/dsh/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +5 -11
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-C-0P1h0W.js → dump-config-BEDI-dNY.js} +2 -2
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-crgOY3tW.js +2 -0
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-schema-BgEU7VYz.js → dump-config-schema-DhhNOaro.js} +3 -3
- package/node_modules/@deepseek-ai/dsh/lib/plugin-DkYIj96-.js +83 -0
- package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-DIiro1p-.js → profile-boot-BZ2ZjNWi.js} +4 -3
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +116 -113
- package/node_modules/@deepseek-ai/dsh-acp/README.i18n.yaml +81 -5
- package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-acp-app/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +90 -5
- package/node_modules/@deepseek-ai/dsh-agent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +10 -3
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.i18n.yaml +99 -5
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +26 -25
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +99 -5
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +35 -9
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +27 -26
- package/node_modules/@deepseek-ai/dsh-agent-preset/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +9 -6
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +10 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/practices.md +38 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/ui-plugin.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +52 -21
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/invariant.js +52 -21
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +114 -45
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +37 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +26 -11
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +5 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +39 -36
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.md +7 -1
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.zh.md +7 -1
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/index.js +123 -10
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +200 -11
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +200 -11
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/index.js +79 -6
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +9 -7
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +6 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +50 -26
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +9 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +61 -29
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-api-job-controller/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1268 -217
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +5 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +3 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +43 -40
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +9 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +9 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +101 -32
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +159 -79
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +179 -99
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +40 -15
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/catalog.js +52 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/assistant-stream.js +16 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +9 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +81 -40
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/transport.js +5 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +11 -14
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +24 -9
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +24 -4
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +75 -68
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +63 -39
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +4 -5
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +25 -12
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +13 -32
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +11 -26
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +2 -3
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +3 -3
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-workspace.js +29 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +7 -11
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +25 -21
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +7 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +10 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +11 -3
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +11 -3
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +474 -66
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +16 -6
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +22 -19
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +6 -5
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +6 -5
- package/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +73 -8
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-authorization/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +5 -2
- package/node_modules/@deepseek-ai/dsh-base/package.json +96 -95
- package/node_modules/@deepseek-ai/dsh-bash-local/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.i18n.yaml +96 -5
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-brand/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-chunked-list/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-file-upload/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +63 -39
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +9 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +103 -17
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-resources/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.md +94 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/README.zh.md +94 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/client.js +2006 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/index.js +23 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/lib/protocol.js +524 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +63 -0
- package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +27 -5
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +192 -135
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +27 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +77 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +19 -93
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +34 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +34 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +885 -287
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +15 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +12 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +12 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +415 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +35 -34
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +73 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +242 -211
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +29 -29
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +8 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +63 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +14 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +14 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +97 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +172 -56
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +22 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +8 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +16 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +17 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +336 -98
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/index.js +140 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.host.js +53 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/typert.remote-client.js +28 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +36 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +32 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +32 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +6 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +83 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +24 -53
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +17 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +46 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +24 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +22 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +49 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +27 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +2 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +13 -81
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +33 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +3 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +9 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +1735 -897
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +16 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +28 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +6 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +30 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +12 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +16 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +12 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +2 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +17 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +1 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +9 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +15 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +8 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +8 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +10 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +19 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +11 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +6 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +11 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +16 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +10 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +4 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +6 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +36 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +42 -45
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +6735 -171
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +32 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +27 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +46 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +46 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2300 -255
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +66 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +22 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +10 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +10 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +202 -109
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +20 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +11 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +48 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.md +89 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/README.zh.md +89 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +1163 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +63 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +59 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +16 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +77 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +13 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +14 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +14 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +41 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +102 -75
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +57 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +76 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +19 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +12 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +12 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +667 -85
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +20 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +151 -106
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +19 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +29 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +67 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +20 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +20 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +13 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +13 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +13 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +315 -90
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +68 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +8 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +608 -329
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +27 -25
- package/node_modules/@deepseek-ai/dsh-cmdline/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-command-compact/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-command-feedback/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-command-goal/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-commands/README.i18n.yaml +75 -5
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +63 -39
- package/node_modules/@deepseek-ai/dsh-commands/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-compaction/README.i18n.yaml +84 -5
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +105 -5
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +193 -43
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +126 -78
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-credentials/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-credentials-local/README.i18n.yaml +75 -5
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +13 -3
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +13 -3
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/index.js +54 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/account-tasks.js +30 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/index.js +26 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +14 -5
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +16 -8
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +16 -8
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +262 -40
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +44 -3
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +190 -32
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +45 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +30 -5
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-deque/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +99 -5
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +7 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +7 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +359 -323
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +170 -25
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +180 -237
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/invariant.js +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +95 -28
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-board.js +7 -47
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/task-view.js +57 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +25 -39
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +51 -5
- 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/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +27 -6
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +20 -3
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +64 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +129 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +129 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/icon.svg +10 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +511 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +14 -10
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +14 -10
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +317 -4345
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +24 -28
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +184 -44
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/index.js +5 -4
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/index.js +5 -4
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +11 -9
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +164 -26
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +3 -1
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +9 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-file-reference/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-fs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-goal/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +63 -39
- package/node_modules/@deepseek-ai/dsh-goal/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-home-paths/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-hook-protocol/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/README.i18n.yaml +87 -5
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-hooks-codex/README.i18n.yaml +87 -5
- package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/README.i18n.yaml +60 -5
- 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 +54 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +2 -2
- 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 +54 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-invariants/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-launch-environment/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-lazy-require/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-llm/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +107 -12
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +16 -20
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +107 -0
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/error.js +2 -0
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +26 -9
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +90 -5
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +18 -13
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +18 -13
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +642 -595
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +44 -47
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +79 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +79 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +62 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +54 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +69 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +53 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +93 -5
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +26 -25
- package/node_modules/@deepseek-ai/dsh-llm-retry/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-llm-retry/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-retry/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +26 -25
- package/node_modules/@deepseek-ai/dsh-mcp-client/README.i18n.yaml +96 -5
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-mcp-resources/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-message-feedback/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-native-command/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +108 -33
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +55 -10
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +59 -22
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +111 -9
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-output-retention/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-output-retention/README.md +7 -3
- package/node_modules/@deepseek-ai/dsh-output-retention/README.zh.md +7 -3
- package/node_modules/@deepseek-ai/dsh-output-retention/lib/index.js +17 -1
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +65 -41
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +10 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +108 -5
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +0 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +19 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +19 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +760 -155
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +237 -26
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +215 -22
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +19 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/github-connection.js +61 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +113 -23
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +1 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +403 -22
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/registry.js +2 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/run-tree.js +57 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +13 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +33 -33
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/README.i18n.yaml +99 -5
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +111 -9
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox/README.i18n.yaml +90 -5
- package/node_modules/@deepseek-ai/dsh-sandbox/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +16 -2
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +64 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +67 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +75 -5
- package/node_modules/@deepseek-ai/dsh-schedule/README.md +65 -129
- package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +72 -137
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +2147 -797
- package/node_modules/@deepseek-ai/dsh-schedule/lib/invariant.js +79 -17
- package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +727 -0
- package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +477 -0
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/delivery-history.js +66 -0
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +1000 -113
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +428 -101
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/invariant.js +8 -1
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +129 -268
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/storage.js +54 -0
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/tools.js +305 -204
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/update.js +164 -0
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +50 -28
- package/node_modules/@deepseek-ai/dsh-scope/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-scope/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +39 -5
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +1 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +48 -5
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +102 -5
- package/node_modules/@deepseek-ai/dsh-session/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +89 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +16 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/tool-history.js +76 -0
- package/node_modules/@deepseek-ai/dsh-session/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-format/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/README.i18n.yaml +51 -5
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/README.i18n.yaml +51 -5
- 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/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +90 -5
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.md +8 -4
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/README.zh.md +8 -4
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +53 -9
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +51 -9
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/CHANGELOG.md +10 -0
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/LICENSE +1 -1
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/README.md +10 -10
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/esm/browser.js +82 -55
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/esm/index.mjs +87 -56
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/browser.cjs +106 -77
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/index.cjs +106 -77
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/node-worker.cjs +5 -1
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/node.cjs +111 -78
- package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/package.json +12 -11
- package/node_modules/@deepseek-ai/dsh-session-log-export/node_modules/fflate/umd/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +189 -9
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-query/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-session-query/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +7 -1
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-reference/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +63 -39
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-session-stats/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-session-title/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +18 -17
- package/node_modules/@deepseek-ai/dsh-session-title-llm/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-settings/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-settings/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-shell/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-shell-env/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-skill/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill-badge/README.i18n.yaml +54 -5
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-skill-office/README.md +8 -2
- package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +8 -2
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +14 -3
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +14 -3
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +22 -4
- package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +21 -3
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +9 -8
- package/node_modules/@deepseek-ai/dsh-spill/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-spill/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-spill/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-spill-local/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-spill-policy/README.i18n.yaml +81 -5
- package/node_modules/@deepseek-ai/dsh-spill-policy/README.md +22 -22
- package/node_modules/@deepseek-ai/dsh-spill-policy/README.zh.md +22 -22
- package/node_modules/@deepseek-ai/dsh-spill-policy/lib/index.js +216 -142
- package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/index.js +110 -167
- package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/notice.js +10 -2
- package/node_modules/@deepseek-ai/dsh-spill-policy/lib/types/retention.js +88 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +35 -22
- package/node_modules/@deepseek-ai/dsh-storage/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-storage-json/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +93 -5
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +3 -2
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +4 -3
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +71 -238
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +65 -41
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control-types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +12 -12
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +50 -261
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +51 -56
- package/node_modules/@deepseek-ai/dsh-subagent-acp/README.i18n.yaml +84 -5
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/README.i18n.yaml +81 -5
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/README.i18n.yaml +105 -5
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +21 -20
- package/node_modules/@deepseek-ai/dsh-subprocess/README.i18n.yaml +72 -5
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -2
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -2
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +10 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/output.js +82 -24
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-B2zsQ1Dz.js +1529 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.i18n.yaml +87 -5
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-terminal/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal-bash/README.i18n.yaml +90 -5
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-time-context/README.i18n.yaml +69 -5
- package/node_modules/@deepseek-ai/dsh-time-context/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-time-context/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-timeout/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +111 -9
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-token-meter/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-token-meter/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +22 -18
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/README.i18n.yaml +75 -5
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +126 -5
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +6 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +24 -22
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +373 -79
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +141 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +9 -73
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +32 -30
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.i18n.yaml +114 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.md +3 -9
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/README.zh.md +3 -9
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/lib/index.js +4 -5
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +96 -5
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +21 -15
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-tool-present/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +123 -5
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +6 -6
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +7 -25
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-tool-ralph/README.i18n.yaml +99 -5
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-skill/README.i18n.yaml +141 -5
- package/node_modules/@deepseek-ai/dsh-tool-skill/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +22 -20
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +120 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +105 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +6 -11
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +6 -14
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-todo/README.i18n.yaml +90 -5
- package/node_modules/@deepseek-ai/dsh-tool-todo/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-todo/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-todo/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/index.js +5 -15
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +150 -5
- package/node_modules/@deepseek-ai/dsh-tool-web/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +22 -21
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.i18n.yaml +102 -5
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +9 -16
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +10 -16
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +102 -5
- package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +16 -2
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +13 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +5 -0
- package/node_modules/@deepseek-ai/dsh-tools/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +84 -5
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +16 -1
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +76 -76
- package/node_modules/@deepseek-ai/dsh-typert-loader/README.i18n.yaml +57 -5
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +63 -5
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-registry/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/README.i18n.yaml +87 -5
- package/node_modules/@deepseek-ai/dsh-user-approval/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-util-code-language/README.i18n.yaml +25 -0
- package/node_modules/@deepseek-ai/dsh-util-code-language/README.md +50 -0
- package/node_modules/@deepseek-ai/dsh-util-code-language/README.zh.md +50 -0
- package/node_modules/@deepseek-ai/dsh-util-code-language/lib/index.js +269 -0
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +35 -0
- package/node_modules/@deepseek-ai/dsh-util-crypto/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +33 -5
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-values/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.i18n.yaml +24 -5
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js +11 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/types/index.d.ts +7 -0
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +66 -5
- package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +75 -5
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +21 -3
- package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +33 -5
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +143 -139
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/Montserrat-OFL.txt +93 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-light-Cvd2VjE_.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-medium-B4OyO9CN.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/fonts/montserrat-regular-DYep38cA.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DUvMhLle.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Q6zc2uHV.js +127 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/asciidoc-Ve4PFQV2.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/bat-BkioyH1T.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/bibtex-CHM0blh-.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/clojure-P80f7IUj.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/cmake-D1j8_8rp.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/csv-fuZLfV_i.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/dart-bE4Kk8sk.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/diff-D97Zzqfu.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/dotenv-Da5cRb03.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/elixir-CvYZzuDY.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/erlang-DsQrWhSR.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/fish-BvzEVeQv.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/fsharp-CXgrBDvD.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/graphql-DujV8YkJ.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/groovy-gcz8RCvz.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/haskell-Df6bDoY_.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/hcl-BWvSN4gD.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-derivative-DOyKdj44.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-fwsONPVS.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/http-DcV90OkR.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/javascript-DI5JR1nB.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/julia-BpJ6DjL_.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/latex-B4C7GdlO.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/log-2UxHyX5q.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/make-CHLpvVh8.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/nix-CwoSXNpI.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/perl-DsWkoyyU.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-LEPfNACG.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/powershell-Dpen1YoG.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/proto-C7zT0LnQ.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/r-Dspwwk_N.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/rst-BbocfKWr.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-R292Iif0.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/scala-C151Ov-r.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/svelte-DNMY6jOf.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/system-verilog-CnnmHF94.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vb-D17OF-Vu.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/verilog-BQ8w6xss.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/vue-Dq2x6432.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +17 -15
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +84 -5
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-web-search-exa/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/README.i18n.yaml +81 -5
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-webhook/README.i18n.yaml +45 -5
- package/node_modules/@deepseek-ai/dsh-webhook/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-webhook-github/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-win32-process/README.i18n.yaml +42 -5
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-workflow/README.i18n.yaml +60 -5
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/README.i18n.yaml +78 -5
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +37 -36
- package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +87 -5
- package/node_modules/@deepseek-ai/dsh-workspace/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +7 -5
- package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +7 -5
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-workspace-changes/README.i18n.yaml +36 -5
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
- package/node_modules/@deepseek-ai/libreoffice-kit/README.md +30 -5
- package/node_modules/@deepseek-ai/libreoffice-kit/README.zh.md +30 -5
- package/node_modules/@deepseek-ai/libreoffice-kit/lib/cli.js +2058 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/lib/font-snapshot-worker.js +454 -0
- package/node_modules/@deepseek-ai/libreoffice-kit/lib/index.js +1055 -57
- package/node_modules/@deepseek-ai/libreoffice-kit/lib/worker.js +922 -239
- package/node_modules/@deepseek-ai/libreoffice-kit/package.json +9 -3
- package/node_modules/@deepseek-ai/node-addon-system/README.i18n.yaml +9 -5
- package/node_modules/@deepseek-ai/node-addon-system/README.md +1 -1
- package/node_modules/@deepseek-ai/node-addon-system/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/node_modules/@js-temporal/polyfill/CHANGELOG.md +453 -0
- package/node_modules/@js-temporal/polyfill/LICENSE +13 -0
- package/node_modules/@js-temporal/polyfill/README.md +90 -0
- package/node_modules/@js-temporal/polyfill/dist/index.cjs +2 -0
- package/node_modules/@js-temporal/polyfill/dist/index.esm.js +2 -0
- package/node_modules/@js-temporal/polyfill/dist/index.umd.js +2 -0
- package/node_modules/@js-temporal/polyfill/lib/assert.ts +8 -0
- package/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +39 -0
- package/node_modules/@js-temporal/polyfill/lib/calendar.ts +2424 -0
- package/node_modules/@js-temporal/polyfill/lib/debug.ts +7 -0
- package/node_modules/@js-temporal/polyfill/lib/duration.ts +438 -0
- package/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +4973 -0
- package/node_modules/@js-temporal/polyfill/lib/index.ts +34 -0
- package/node_modules/@js-temporal/polyfill/lib/init.ts +43 -0
- package/node_modules/@js-temporal/polyfill/lib/instant.ts +138 -0
- package/node_modules/@js-temporal/polyfill/lib/intl.ts +758 -0
- package/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +162 -0
- package/node_modules/@js-temporal/polyfill/lib/legacydate.ts +17 -0
- package/node_modules/@js-temporal/polyfill/lib/math.ts +96 -0
- package/node_modules/@js-temporal/polyfill/lib/now.ts +48 -0
- package/node_modules/@js-temporal/polyfill/lib/plaindate.ts +212 -0
- package/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +274 -0
- package/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +110 -0
- package/node_modules/@js-temporal/polyfill/lib/plaintime.ts +154 -0
- package/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +157 -0
- package/node_modules/@js-temporal/polyfill/lib/regex.ts +59 -0
- package/node_modules/@js-temporal/polyfill/lib/slots.ts +341 -0
- package/node_modules/@js-temporal/polyfill/lib/temporal.ts +10 -0
- package/node_modules/@js-temporal/polyfill/lib/timeduration.ts +149 -0
- package/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +492 -0
- package/node_modules/@js-temporal/polyfill/package.json +125 -0
- package/node_modules/fflate/CHANGELOG.md +0 -10
- package/node_modules/fflate/LICENSE +1 -1
- package/node_modules/fflate/README.md +10 -10
- package/node_modules/fflate/esm/browser.js +55 -82
- package/node_modules/fflate/esm/index.mjs +56 -87
- package/node_modules/fflate/lib/browser.cjs +77 -106
- package/node_modules/fflate/lib/index.cjs +77 -106
- package/node_modules/fflate/lib/node-worker.cjs +1 -5
- package/node_modules/fflate/lib/node.cjs +78 -111
- package/node_modules/fflate/package.json +10 -11
- package/node_modules/fflate/umd/index.js +1 -1
- package/node_modules/jsbi/LICENSE +176 -0
- package/node_modules/jsbi/README.md +173 -0
- package/node_modules/jsbi/dist/jsbi-cjs.js +2 -0
- package/node_modules/jsbi/dist/jsbi-umd.js +2 -0
- package/node_modules/jsbi/dist/jsbi.mjs +2 -0
- package/node_modules/jsbi/package.json +25 -0
- package/package.json +305 -289
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-DaAE0NHG.js +0 -2
- package/node_modules/@deepseek-ai/dsh/lib/plugin-CnNK4cws.js +0 -31
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +0 -741
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +0 -70
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DU8FBaxM.js +0 -127
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Uv-aF9RH.css +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/html-CfGypltT.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-DJl5gRdb.js +0 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/ruby-5eNB0pDK.js +0 -2
- package/node_modules/@deepseek-ai/libreoffice-kit/node_modules/fflate/umd/index.js +0 -1
- /package/node_modules/@deepseek-ai/{libreoffice-kit → dsh-session-log-export}/node_modules/fflate/lib/worker.cjs +0 -0
|
@@ -27,13 +27,330 @@ window.__ModuleLoader__.load({
|
|
|
27
27
|
enumerable: true
|
|
28
28
|
}) : target, mod));
|
|
29
29
|
//#endregion
|
|
30
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
31
30
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
31
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
32
32
|
let react = require("react");
|
|
33
33
|
let _deepseek_ai_dsh_client_ui_dockkit = require("@deepseek-ai/dsh-client-ui-dockkit");
|
|
34
34
|
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
35
|
+
let react_dom = require("react-dom");
|
|
36
|
+
//#region lib/types/client/focus.js
|
|
37
|
+
/**
|
|
38
|
+
* Read pane and tab identity from live owner markup, including an embedding iframe.
|
|
39
|
+
* @param element - focused or pointer-activated element in the product document.
|
|
40
|
+
* @param sessionId - Session currently drawn by the sidebar.
|
|
41
|
+
* @param layout - current committed layout for that Session.
|
|
42
|
+
* @param occurrence - current occurrence lookup for a committed tab.
|
|
43
|
+
* @returns the captured page, or undefined for stale, hidden, or outside elements.
|
|
44
|
+
*/
|
|
45
|
+
function sidebarTargetFromElement(element, sessionId, layout, occurrence) {
|
|
46
|
+
if (element === null || !element.isConnected) return void 0;
|
|
47
|
+
if (element.closest("[data-sidebar-right-session]")?.dataset.sidebarRightSession !== sessionId) return void 0;
|
|
48
|
+
const container = element.closest("[data-dockkit-pane], [data-dockkit-float]");
|
|
49
|
+
const paneId = container?.dataset.dockkitPane ?? container?.dataset.dockkitFloat;
|
|
50
|
+
if (paneId === void 0 || container?.closest("[hidden], [aria-hidden=\"true\"]") !== null) return void 0;
|
|
51
|
+
const pane = layout.nodes[paneId];
|
|
52
|
+
if (pane?.kind !== "pane" || pane.host === "dock" && !layout.expanded) return void 0;
|
|
53
|
+
const tabElement = element.closest("[data-dockkit-tab], [data-sidebar-right-tab]");
|
|
54
|
+
const tabId = tabElement?.dataset.dockkitTab ?? tabElement?.dataset.sidebarRightTab ?? pane.activeTabId;
|
|
55
|
+
if (tabId !== void 0 && (!pane.tabs.includes(tabId) || layout.tabs[tabId] === void 0)) return void 0;
|
|
56
|
+
const held = tabId === void 0 ? void 0 : occurrence(tabId);
|
|
57
|
+
const marker = element.closest("[data-sidebar-right-occurrence]") ?? tabElement?.querySelector("[data-sidebar-right-occurrence]");
|
|
58
|
+
if (marker !== null && marker !== void 0 && marker.dataset.sidebarRightOccurrence !== held?.id) return void 0;
|
|
59
|
+
return {
|
|
60
|
+
sessionId,
|
|
61
|
+
paneId,
|
|
62
|
+
host: pane.host,
|
|
63
|
+
tabId,
|
|
64
|
+
occurrence: held,
|
|
65
|
+
navigationRevision: held?.navigation.getSnapshot().revision
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Find a visible pane of one Session, preferring the requested pane over the active fallback.
|
|
70
|
+
* @param document - product document containing docked and floating panes.
|
|
71
|
+
* @param sessionId - Session whose panes may receive focus.
|
|
72
|
+
* @param paneId - preferred pane before an operation changed the layout.
|
|
73
|
+
* @returns a surviving visible pane, or undefined when the Session has none.
|
|
74
|
+
*/
|
|
75
|
+
function visibleSidebarPane(document, sessionId, paneId) {
|
|
76
|
+
const panes = [...document.querySelectorAll("[data-dockkit-pane], [data-dockkit-float]")].filter((pane) => {
|
|
77
|
+
const owner = pane.closest("[data-sidebar-right-session]");
|
|
78
|
+
return owner?.dataset.sidebarRightSession === sessionId && pane.closest("[hidden], [aria-hidden=\"true\"]") === null && (pane.hasAttribute("data-dockkit-float") || owner.hasAttribute("data-sidebar-right-open"));
|
|
79
|
+
});
|
|
80
|
+
return panes.find((pane) => (pane.dataset.dockkitPane ?? pane.dataset.dockkitFloat) === paneId) ?? panes.find((pane) => pane.hasAttribute("data-dockkit-pane-active") || pane.hasAttribute("data-dockkit-float-active")) ?? panes[0];
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Observe pane focus and retain it when its DOM node is replaced, preserving text selections.
|
|
84
|
+
* @param document - product document whose sidebar owns the listener lifetime.
|
|
85
|
+
* @returns disposer for every document/window listener.
|
|
86
|
+
*/
|
|
87
|
+
function observeSidebarFocus(document) {
|
|
88
|
+
let active = true;
|
|
89
|
+
let focused;
|
|
90
|
+
const removal = new MutationObserver(() => {
|
|
91
|
+
if (focused === void 0 || focused.element.isConnected) return;
|
|
92
|
+
const previous = focused;
|
|
93
|
+
focused = void 0;
|
|
94
|
+
removal.disconnect();
|
|
95
|
+
if (document.activeElement !== document.body) return;
|
|
96
|
+
const moved = previous.occurrence === void 0 ? void 0 : [...document.querySelectorAll("[data-sidebar-right-occurrence]")].find((marker) => marker.dataset.sidebarRightOccurrence === previous.occurrence)?.closest("[data-dockkit-pane], [data-dockkit-float]");
|
|
97
|
+
const paneId = moved?.dataset.dockkitPane ?? moved?.dataset.dockkitFloat;
|
|
98
|
+
visibleSidebarPane(document, previous.sessionId, paneId ?? previous.paneId)?.focus({ preventScroll: true });
|
|
99
|
+
});
|
|
100
|
+
const capture = () => {
|
|
101
|
+
removal.disconnect();
|
|
102
|
+
focused = void 0;
|
|
103
|
+
const element = document.activeElement;
|
|
104
|
+
const pane = element?.closest("[data-dockkit-pane], [data-dockkit-float]");
|
|
105
|
+
if (element === null || pane === void 0 || pane === null) return;
|
|
106
|
+
const owner = pane.closest("[data-sidebar-right-session]");
|
|
107
|
+
const sessionId = owner?.dataset.sidebarRightSession;
|
|
108
|
+
const paneId = pane.dataset.dockkitPane ?? pane.dataset.dockkitFloat;
|
|
109
|
+
if (owner === null || sessionId === void 0 || paneId === void 0) return;
|
|
110
|
+
const tab = element.closest("[data-dockkit-tab]") ?? pane.querySelector("[role=\"tab\"][aria-selected=\"true\"], [data-dockkit-float-title]");
|
|
111
|
+
focused = {
|
|
112
|
+
element,
|
|
113
|
+
sessionId,
|
|
114
|
+
paneId,
|
|
115
|
+
occurrence: (element.closest("[data-sidebar-right-occurrence]") ?? tab?.querySelector("[data-sidebar-right-occurrence]"))?.dataset.sidebarRightOccurrence
|
|
116
|
+
};
|
|
117
|
+
removal.observe(owner, {
|
|
118
|
+
childList: true,
|
|
119
|
+
subtree: true
|
|
120
|
+
});
|
|
121
|
+
if (owner.parentElement !== null) removal.observe(owner.parentElement, { childList: true });
|
|
122
|
+
};
|
|
123
|
+
const focusout = (event) => {
|
|
124
|
+
if (event.relatedTarget === null && focused?.element.isConnected) {
|
|
125
|
+
focused = void 0;
|
|
126
|
+
removal.disconnect();
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
const pointer = (event) => {
|
|
130
|
+
const element = event.composedPath().find((value) => value instanceof Element);
|
|
131
|
+
if (!(element instanceof Element)) return;
|
|
132
|
+
const pane = element.closest("[data-sidebar-right-session] [data-dockkit-pane], [data-sidebar-right-session] [data-dockkit-float]");
|
|
133
|
+
if (pane === null) {
|
|
134
|
+
focused = void 0;
|
|
135
|
+
removal.disconnect();
|
|
136
|
+
}
|
|
137
|
+
const control = element.closest("button, input, textarea, select, a, [contenteditable], [tabindex], iframe");
|
|
138
|
+
if (pane !== null && (control === null || control === pane)) pane.focus({ preventScroll: true });
|
|
139
|
+
};
|
|
140
|
+
const blur = () => {
|
|
141
|
+
queueMicrotask(() => {
|
|
142
|
+
if (active) capture();
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
document.addEventListener("focusin", capture);
|
|
146
|
+
document.addEventListener("focusout", focusout);
|
|
147
|
+
document.addEventListener("pointerdown", pointer, true);
|
|
148
|
+
document.defaultView?.addEventListener("blur", blur);
|
|
149
|
+
document.defaultView?.addEventListener("focus", capture);
|
|
150
|
+
capture();
|
|
151
|
+
return () => {
|
|
152
|
+
active = false;
|
|
153
|
+
removal.disconnect();
|
|
154
|
+
document.removeEventListener("focusin", capture);
|
|
155
|
+
document.removeEventListener("focusout", focusout);
|
|
156
|
+
document.removeEventListener("pointerdown", pointer, true);
|
|
157
|
+
document.defaultView?.removeEventListener("blur", blur);
|
|
158
|
+
document.defaultView?.removeEventListener("focus", capture);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region lib/types/client/shortcuts.js
|
|
163
|
+
/**
|
|
164
|
+
* Register the sidebar commands over the controller used by its visible controls.
|
|
165
|
+
* @param shortcuts - effective-binding registry for this window.
|
|
166
|
+
* @param sidebar - current Session and page owner.
|
|
167
|
+
* @param t - current localized command and unavailable labels.
|
|
168
|
+
* @param closeWindow - private native close operation using the current configuration revision.
|
|
169
|
+
* @returns release callback for the commands.
|
|
170
|
+
*/
|
|
171
|
+
function registerSidebarShortcuts(shortcuts, sidebar, t, closeWindow) {
|
|
172
|
+
const reason = (kind, target) => {
|
|
173
|
+
if (kind === "split") {
|
|
174
|
+
const block = sidebar.splitBlock(target);
|
|
175
|
+
return block === void 0 ? null : t(`command.${block}`);
|
|
176
|
+
}
|
|
177
|
+
if (target.host === "float") return t("command.float");
|
|
178
|
+
return null;
|
|
179
|
+
};
|
|
180
|
+
const disposers = [shortcuts.register({
|
|
181
|
+
id: "sidebar.right.toggle",
|
|
182
|
+
label: () => t("command.toggle"),
|
|
183
|
+
aliases: ["right sidebar", "toggle right panel"],
|
|
184
|
+
defaults: {
|
|
185
|
+
"desktop:macos": {
|
|
186
|
+
code: "KeyB",
|
|
187
|
+
modifiers: ["primary", "alt"]
|
|
188
|
+
},
|
|
189
|
+
"desktop:windows": {
|
|
190
|
+
code: "KeyB",
|
|
191
|
+
modifiers: ["primary", "alt"]
|
|
192
|
+
},
|
|
193
|
+
"desktop:linux": {
|
|
194
|
+
code: "KeyB",
|
|
195
|
+
modifiers: ["primary", "alt"]
|
|
196
|
+
},
|
|
197
|
+
"web:macos": {
|
|
198
|
+
code: "KeyB",
|
|
199
|
+
modifiers: ["primary", "shift"]
|
|
200
|
+
},
|
|
201
|
+
"web:windows": {
|
|
202
|
+
code: "KeyB",
|
|
203
|
+
modifiers: ["primary", "shift"]
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
regions: [
|
|
207
|
+
"page",
|
|
208
|
+
"editable",
|
|
209
|
+
"terminal"
|
|
210
|
+
],
|
|
211
|
+
modals: [],
|
|
212
|
+
resolve: () => {
|
|
213
|
+
const target = sidebar.commandTarget(null);
|
|
214
|
+
if (target === void 0) return {
|
|
215
|
+
status: "blocked",
|
|
216
|
+
reason: t("command.noSession")
|
|
217
|
+
};
|
|
218
|
+
return {
|
|
219
|
+
status: "handled",
|
|
220
|
+
run: () => {
|
|
221
|
+
if (sidebar.isTargetCurrent(target)) sidebar.toggleExpanded();
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
})];
|
|
226
|
+
for (const kind of ["split", "fullscreen"]) {
|
|
227
|
+
const binding = kind === "split" ? {
|
|
228
|
+
code: "Backslash",
|
|
229
|
+
modifiers: ["primary"]
|
|
230
|
+
} : {
|
|
231
|
+
code: "Enter",
|
|
232
|
+
modifiers: ["primary", "alt"]
|
|
233
|
+
};
|
|
234
|
+
disposers.push(shortcuts.register({
|
|
235
|
+
id: kind === "split" ? "pane.split" : "pane.fullscreen.toggle",
|
|
236
|
+
label: () => t(kind === "split" ? "dock.splitPane" : "command.fullscreen"),
|
|
237
|
+
aliases: [kind, "panel"],
|
|
238
|
+
defaults: {
|
|
239
|
+
"desktop:macos": binding,
|
|
240
|
+
"desktop:windows": binding,
|
|
241
|
+
"desktop:linux": binding,
|
|
242
|
+
"web:macos": binding,
|
|
243
|
+
"web:windows": binding
|
|
244
|
+
},
|
|
245
|
+
regions: [
|
|
246
|
+
"page",
|
|
247
|
+
"editable",
|
|
248
|
+
"terminal"
|
|
249
|
+
],
|
|
250
|
+
modals: [],
|
|
251
|
+
resolve: ({ target: element }) => {
|
|
252
|
+
const target = sidebar.focusedTarget(element);
|
|
253
|
+
if (target === void 0) return {
|
|
254
|
+
status: "blocked",
|
|
255
|
+
reason: t("command.noFocus")
|
|
256
|
+
};
|
|
257
|
+
const unavailable = reason(kind, target);
|
|
258
|
+
if (unavailable !== null) return {
|
|
259
|
+
status: "blocked",
|
|
260
|
+
reason: unavailable
|
|
261
|
+
};
|
|
262
|
+
return {
|
|
263
|
+
status: "handled",
|
|
264
|
+
run: () => {
|
|
265
|
+
if (!sidebar.isTargetCurrent(target)) return;
|
|
266
|
+
if (kind === "split") sidebar.split(target.paneId);
|
|
267
|
+
else sidebar.toggleFullscreen(target);
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
}));
|
|
272
|
+
}
|
|
273
|
+
for (const kind of ["close", "refresh"]) {
|
|
274
|
+
const desktop = {
|
|
275
|
+
code: kind === "close" ? "KeyW" : "KeyR",
|
|
276
|
+
modifiers: ["primary"]
|
|
277
|
+
};
|
|
278
|
+
const web = {
|
|
279
|
+
...desktop,
|
|
280
|
+
modifiers: ["primary", "alt"]
|
|
281
|
+
};
|
|
282
|
+
disposers.push(shortcuts.register({
|
|
283
|
+
id: `page.${kind}`,
|
|
284
|
+
label: () => t(`command.${kind}`),
|
|
285
|
+
aliases: [kind, "page"],
|
|
286
|
+
defaults: {
|
|
287
|
+
"desktop:macos": desktop,
|
|
288
|
+
"desktop:windows": desktop,
|
|
289
|
+
"desktop:linux": desktop,
|
|
290
|
+
"web:windows": web,
|
|
291
|
+
...kind === "close" ? { "web:macos": web } : {}
|
|
292
|
+
},
|
|
293
|
+
regions: [
|
|
294
|
+
"page",
|
|
295
|
+
"editable",
|
|
296
|
+
"terminal"
|
|
297
|
+
],
|
|
298
|
+
modals: kind === "close" ? [
|
|
299
|
+
"settings",
|
|
300
|
+
"shortcuts",
|
|
301
|
+
"other"
|
|
302
|
+
] : [],
|
|
303
|
+
resolve: ({ target: element, source, modal }) => {
|
|
304
|
+
if (kind === "close" && modal !== null) return {
|
|
305
|
+
status: "handled",
|
|
306
|
+
run: () => {
|
|
307
|
+
(0, _deepseek_ai_dsh_client_ui_primitives.closeTopModal)(document);
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
const target = sidebar.focusedTarget(element);
|
|
311
|
+
if (target === void 0 && (source === "iframe" || element?.closest("[data-sidebar-right-session]"))) return {
|
|
312
|
+
status: "blocked",
|
|
313
|
+
reason: t("command.stale")
|
|
314
|
+
};
|
|
315
|
+
if (kind === "refresh") {
|
|
316
|
+
const refresh = target?.occurrence?.commands.refresh;
|
|
317
|
+
if (target === void 0 || refresh === void 0) return {
|
|
318
|
+
status: "blocked",
|
|
319
|
+
reason: t("command.noRefresh")
|
|
320
|
+
};
|
|
321
|
+
return {
|
|
322
|
+
status: "handled",
|
|
323
|
+
run: () => {
|
|
324
|
+
if (sidebar.isTargetCurrent(target) && target.occurrence?.commands.refresh === refresh) refresh();
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
if (target !== void 0 && sidebar.canCloseTarget(target)) return {
|
|
329
|
+
status: "handled",
|
|
330
|
+
run: () => {
|
|
331
|
+
sidebar.closeTarget(target);
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
if (shortcuts.runtime !== "desktop") return {
|
|
335
|
+
status: "blocked",
|
|
336
|
+
reason: t("command.noFocus")
|
|
337
|
+
};
|
|
338
|
+
return {
|
|
339
|
+
status: "handled",
|
|
340
|
+
run: () => {
|
|
341
|
+
if (target === void 0 || sidebar.isTargetCurrent(target)) closeWindow();
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
}));
|
|
346
|
+
}
|
|
347
|
+
return () => {
|
|
348
|
+
for (const dispose of disposers.reverse()) dispose();
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
//#endregion
|
|
35
352
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-sidebar-right/src/client/tabs/guide/GuideBody.module.css.mjs
|
|
36
|
-
const css$2 = ".Oj14cW_guide{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100%;padding:0 24px;display:flex}.Oj14cW_guide:after{content:\"\";flex:0 10%}.Oj14cW_hero{color:var(--dsw-static-neutral-200);margin-bottom:16px;display:flex}body[data-ds-dark-theme] .Oj14cW_hero{color:var(--dsw-static-neutral-700)}.Oj14cW_entry{box-sizing:border-box;width:380px;max-width:100%;min-height:56px;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l3);
|
|
353
|
+
const css$2 = ".Oj14cW_guide{--dsl-guide-entry-radius:var(--dsw-radius-xl);box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100%;padding:0 24px;display:flex}.Oj14cW_guide:after{content:\"\";flex:0 10%}.Oj14cW_hero{color:var(--dsw-static-neutral-200);margin-bottom:16px;display:flex}body[data-ds-dark-theme] .Oj14cW_hero{color:var(--dsw-static-neutral-700)}.Oj14cW_entry{box-sizing:border-box;width:380px;max-width:100%;min-height:56px;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;background:var(--dsw-alias-bg-layer-1);border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsl-guide-entry-radius);cursor:pointer;align-items:center;gap:14px;padding:14px 20px;display:flex}.Oj14cW_entry:hover{background:var(--dsw-alias-interactive-bg-hover)}.Oj14cW_entryIcon{width:26px;height:26px;color:var(--dsw-alias-label-secondary);flex:none;justify-content:center;align-items:center;display:flex}.Oj14cW_placeholderInk{color:var(--dsw-alias-label-tertiary)}.Oj14cW_entryText{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.Oj14cW_entryTitle{white-space:nowrap;text-overflow:ellipsis;font-size:14px;line-height:1.4;overflow:hidden}.Oj14cW_entryDescription{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.4;overflow:hidden}.Oj14cW_titleIcon{color:var(--dsw-alias-label-tertiary);flex:none}.Oj14cW_entryCell{width:380px;max-width:100%}";
|
|
37
354
|
const tagId$2 = "@deepseek-ai/dsh-client-ui-sidebar-right/GuideBody.module.css";
|
|
38
355
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
39
356
|
const tag = document.createElement("style");
|
|
@@ -118,35 +435,59 @@ window.__ModuleLoader__.load({
|
|
|
118
435
|
}
|
|
119
436
|
//#endregion
|
|
120
437
|
//#region lib/types/client/tabs/guide/GuideBody.js
|
|
438
|
+
/**
|
|
439
|
+
* The guide tab's body: a chain host, and the guide it falls back to.
|
|
440
|
+
*
|
|
441
|
+
* The chain is the replacement seam. A product with its own idea of what an
|
|
442
|
+
* empty sidebar should say registers into `sidebar.right.tab.guide`, and its entry
|
|
443
|
+
* takes the whole body; with no entry, or with every entry declining, the guide
|
|
444
|
+
* below renders. The shipped guide is the owner's fallback rather than a chain
|
|
445
|
+
* entry of its own, so there is always exactly one body and the shipped one
|
|
446
|
+
* cannot be outvoted by accident.
|
|
447
|
+
*
|
|
448
|
+
* The shipped guide is a muted compass over the entry capsules every
|
|
449
|
+
* registered type contributed, centred in the body, and nothing else — no
|
|
450
|
+
* heading, as a browser start page shows its doors without a caption. While
|
|
451
|
+
* at most four entries are listed, a capsule with a description shows it
|
|
452
|
+
* under the title; a longer list drops every description to stay light.
|
|
453
|
+
* Picking one opens that type as a page
|
|
454
|
+
* in this tab's place, so the guide is a doorway rather than a page that stays
|
|
455
|
+
* open.
|
|
456
|
+
*/
|
|
121
457
|
/** Entry count past which the guide drops the capsules' descriptions to stay light. */
|
|
122
458
|
const MAX_DESCRIBED_ENTRIES = 4;
|
|
123
459
|
/** One entry capsule: the contributing type's glyph and title, and its description while the guide is short. */
|
|
124
|
-
function EntryBox({ entry, described, onPick }) {
|
|
460
|
+
function EntryBox({ entry, described, onPick, shortcut }) {
|
|
125
461
|
const Icon = entry.icon ?? CubeGlyph;
|
|
126
462
|
const description = described ? entry.description?.() : void 0;
|
|
127
463
|
return (0, react_jsx_runtime.jsxs)("button", {
|
|
128
464
|
type: "button",
|
|
129
465
|
className: GuideBody_module_css_default.entry,
|
|
130
466
|
"data-sidebar-right-guide-entry": entry.kind,
|
|
467
|
+
"aria-keyshortcuts": shortcut?.aria,
|
|
131
468
|
onClick: () => {
|
|
132
469
|
onPick(entry);
|
|
133
470
|
},
|
|
134
|
-
children: [
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
className: GuideBody_module_css_default.
|
|
144
|
-
children:
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
471
|
+
children: [
|
|
472
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
473
|
+
className: GuideBody_module_css_default.entryIcon,
|
|
474
|
+
children: (0, react_jsx_runtime.jsx)(Icon, {
|
|
475
|
+
size: description === void 0 ? 22 : 26,
|
|
476
|
+
className: entry.icon === void 0 ? GuideBody_module_css_default.placeholderInk : void 0
|
|
477
|
+
})
|
|
478
|
+
}),
|
|
479
|
+
(0, react_jsx_runtime.jsxs)("span", {
|
|
480
|
+
className: GuideBody_module_css_default.entryText,
|
|
481
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
482
|
+
className: GuideBody_module_css_default.entryTitle,
|
|
483
|
+
children: entry.title()
|
|
484
|
+
}), description !== void 0 && (0, react_jsx_runtime.jsx)("span", {
|
|
485
|
+
className: GuideBody_module_css_default.entryDescription,
|
|
486
|
+
children: description
|
|
487
|
+
})]
|
|
488
|
+
}),
|
|
489
|
+
shortcut !== void 0 && shortcut.keys.length > 0 && (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.ShortcutKeys, { keys: shortcut.keys })
|
|
490
|
+
]
|
|
150
491
|
});
|
|
151
492
|
}
|
|
152
493
|
/** The shipped guide: the tab's own compass over the doors out of the column. */
|
|
@@ -162,7 +503,8 @@ window.__ModuleLoader__.load({
|
|
|
162
503
|
});
|
|
163
504
|
}
|
|
164
505
|
/** The guide tab's body, replaceable through its chain child. */
|
|
165
|
-
function GuideBody({ useTabInfo, useGuideEntries, renderSlot, renderSlotChain }) {
|
|
506
|
+
function GuideBody({ useTabInfo, useGuideEntries, renderSlot, renderSlotChain, useShortcuts }) {
|
|
507
|
+
const shortcuts = useShortcuts((entries) => entries);
|
|
166
508
|
const { tab } = useTabInfo();
|
|
167
509
|
const entries = useGuideEntries((entries) => entries);
|
|
168
510
|
return renderSlotChain("sidebar.right.tab.guide", {}, {
|
|
@@ -183,6 +525,7 @@ window.__ModuleLoader__.load({
|
|
|
183
525
|
fallback: (0, react_jsx_runtime.jsx)(EntryBox, {
|
|
184
526
|
entry,
|
|
185
527
|
described,
|
|
528
|
+
shortcut: shortcuts.find((shortcut) => shortcut.id === entry.commandId),
|
|
186
529
|
onPick: (selected) => {
|
|
187
530
|
tab.actions.openTab(selected.kind, { replaceTab: true });
|
|
188
531
|
}
|
|
@@ -194,7 +537,7 @@ window.__ModuleLoader__.load({
|
|
|
194
537
|
}
|
|
195
538
|
//#endregion
|
|
196
539
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-sidebar-right/src/client/shell/ExpandButton.module.css.mjs
|
|
197
|
-
const css$1 = ".owsXtq_button{width:28px;
|
|
540
|
+
const css$1 = ".owsXtq_button{width:28px;color:var(--dsw-alias-label-secondary);flex:none;padding:0}.owsXtq_button svg{width:15px;height:15px}.owsXtq_icon{transform:scaleX(-1)}";
|
|
198
541
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-sidebar-right/ExpandButton.module.css";
|
|
199
542
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
200
543
|
const tag = document.createElement("style");
|
|
@@ -210,16 +553,19 @@ window.__ModuleLoader__.load({
|
|
|
210
553
|
//#endregion
|
|
211
554
|
//#region lib/types/client/shell/ExpandButton.js
|
|
212
555
|
/** The expand control while the panel is collapsed; nothing while it is shown. */
|
|
213
|
-
function ExpandButton({ sessionId, useStore, actions, t }) {
|
|
556
|
+
function ExpandButton({ sessionId, useStore, actions, t, useShortcuts }) {
|
|
557
|
+
const shortcut = useShortcuts((entries) => entries.find((entry) => entry.id === "sidebar.right.toggle"));
|
|
214
558
|
if (useStore((state) => state.bySession[sessionId]?.layout.expanded ?? false)) return null;
|
|
215
559
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
216
560
|
label: t("chrome.expand"),
|
|
561
|
+
shortcutKeys: shortcut?.keys,
|
|
217
562
|
side: "bottom",
|
|
218
563
|
delayMs: 500,
|
|
219
|
-
children: (0, react_jsx_runtime.jsx)(
|
|
220
|
-
|
|
564
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
565
|
+
size: "sm",
|
|
221
566
|
className: ExpandButton_module_css_default.button,
|
|
222
567
|
"aria-label": t("chrome.expandAria"),
|
|
568
|
+
"aria-keyshortcuts": shortcut?.aria,
|
|
223
569
|
"data-sidebar-right-expand": true,
|
|
224
570
|
onClick: () => {
|
|
225
571
|
actions.setExpanded(sessionId, true);
|
|
@@ -265,15 +611,21 @@ window.__ModuleLoader__.load({
|
|
|
265
611
|
* Called during render, so a language change reaches the kit with the next one —
|
|
266
612
|
* the kit caches no copy to invalidate.
|
|
267
613
|
* @param t - namespace-bound translate.
|
|
614
|
+
* @param split - effective split binding, when available.
|
|
615
|
+
* @param close - effective page-close binding, when available.
|
|
268
616
|
* @returns every string the kit renders.
|
|
269
617
|
*/
|
|
270
|
-
function dockLabels(t) {
|
|
618
|
+
function dockLabels(t, split, close) {
|
|
271
619
|
return {
|
|
272
620
|
emptyPane: t("dock.emptyPane"),
|
|
273
621
|
splitPane: t("dock.splitPane"),
|
|
622
|
+
splitPaneShortcut: split?.aria,
|
|
623
|
+
splitPaneKeys: split?.keys,
|
|
274
624
|
splitPaneDisabled: t("dock.splitPaneDisabled"),
|
|
275
625
|
splitPaneNarrow: t("dock.splitPaneNarrow"),
|
|
276
626
|
closeTab: t("dock.closeTab"),
|
|
627
|
+
closeTabShortcut: close?.aria,
|
|
628
|
+
closeTabKeys: close?.keys,
|
|
277
629
|
addTab: t("dock.addTab"),
|
|
278
630
|
dockFloat: t("dock.dockFloat"),
|
|
279
631
|
closeFloat: t("dock.closeFloat"),
|
|
@@ -5054,7 +5406,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5054
5406
|
}
|
|
5055
5407
|
//#endregion
|
|
5056
5408
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-sidebar-right/src/client/shell/SidebarRight.module.css.mjs
|
|
5057
|
-
const css = ".jVjTDG_session{display:contents}.jVjTDG_session[hidden]{display:none}.jVjTDG_panel{--dsh-dockkit-dock-layer:10;--dsh-dockkit-float-layer:60;pointer-events:none;flex-direction:column;min-width:0;display:flex;position:absolute;top:0;bottom:0;right:0}.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider]{transform:translateX(var(--dsh-sidebar-width));visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow)}.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-divider]{visibility:visible;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out);transform:none}
|
|
5409
|
+
const css = ".jVjTDG_session{display:contents}.jVjTDG_session[hidden]{display:none}.jVjTDG_panel{--dsh-dockkit-dock-layer:10;--dsh-dockkit-float-layer:60;pointer-events:none;flex-direction:column;min-width:0;display:flex;position:absolute;top:0;bottom:0;right:0}.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider]{transform:translateX(var(--dsh-sidebar-width));visibility:hidden;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out), visibility 0s linear var(--ds-transition-duration-slow)}.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-host=dock],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-empty],.jVjTDG_panel[data-sidebar-right-open] [data-dockkit-divider]{visibility:visible;transition:transform var(--ds-transition-duration-slow) var(--ds-ease-in-out);transform:none}.jVjTDG_panel[data-sidebar-right-panel=fullscreen]{--dsh-dockkit-dock-layer:40}[data-windows-titlebar] .jVjTDG_panel[data-sidebar-right-panel=fullscreen]{max-width:calc(100vw - var(--dsh-windows-sidebar-width))}[data-windows-titlebar] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-column=\"0\"][data-dockkit-pane]{border-radius:var(--dsh-windows-content-radius) 0 0 0;corner-shape:round}[data-platform=darwin] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"0\"]{--dsh-dockkit-strip-inline-start:88px}[data-platform=darwin] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"1\"]{--dsh-dockkit-strip-inline-start:10px}[data-platform=darwin][data-fullscreen] .jVjTDG_panel[data-sidebar-right-panel=fullscreen] [data-dockkit-host=dock][data-dockkit-column=\"0\"]{--dsh-dockkit-strip-inline-start:10px}@media (prefers-reduced-motion:reduce){.jVjTDG_panel [data-dockkit-host=dock],.jVjTDG_panel [data-dockkit-empty],.jVjTDG_panel [data-dockkit-divider]{transition:none}}.jVjTDG_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-secondary);border-radius:var(--dsw-radius-sm);cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:6px;line-height:1;display:inline-flex}.jVjTDG_iconButton svg{width:15px;height:15px}.jVjTDG_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.jVjTDG_collapseGlyph{transform:scaleX(-1)}.jVjTDG_panelBody{flex:auto;min-height:0;display:flex}.jVjTDG_unavailable{color:var(--dsw-alias-label-tertiary);font-size:var(--dsh-content-font-size-secondary,13px);margin:0;padding:12px}.jVjTDG_tabTitle{display:contents}.jVjTDG_tabBody{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}";
|
|
5058
5410
|
const tagId = "@deepseek-ai/dsh-client-ui-sidebar-right/SidebarRight.module.css";
|
|
5059
5411
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
5060
5412
|
const tag = document.createElement("style");
|
|
@@ -5069,9 +5421,43 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5069
5421
|
"panel": "jVjTDG_panel",
|
|
5070
5422
|
"panelBody": "jVjTDG_panelBody",
|
|
5071
5423
|
"session": "jVjTDG_session",
|
|
5424
|
+
"tabBody": "jVjTDG_tabBody",
|
|
5425
|
+
"tabTitle": "jVjTDG_tabTitle",
|
|
5072
5426
|
"unavailable": "jVjTDG_unavailable"
|
|
5073
5427
|
};
|
|
5074
5428
|
//#endregion
|
|
5429
|
+
//#region lib/types/client/shell/close-focus.js
|
|
5430
|
+
/** Focus continuity after page operations replace docked or floating pane elements. */
|
|
5431
|
+
/**
|
|
5432
|
+
* Focus the page selected by an open or split after its DOM has committed.
|
|
5433
|
+
* @param document - product document owning the input focus.
|
|
5434
|
+
* @param sessionId - Session whose page is opening.
|
|
5435
|
+
* @param open - synchronous operation returning its selected pane, or undefined when unchanged.
|
|
5436
|
+
*/
|
|
5437
|
+
function openWithPaneFocus(document, sessionId, open) {
|
|
5438
|
+
let paneId;
|
|
5439
|
+
(0, react_dom.flushSync)(() => {
|
|
5440
|
+
paneId = open();
|
|
5441
|
+
});
|
|
5442
|
+
if (paneId !== void 0) visibleSidebarPane(document, sessionId, paneId)?.focus({ preventScroll: true });
|
|
5443
|
+
}
|
|
5444
|
+
/**
|
|
5445
|
+
* Commit a focused page's removal before focusing a surviving visible pane.
|
|
5446
|
+
* @param document - product document owning the input focus.
|
|
5447
|
+
* @param sessionId - Session whose page is closing.
|
|
5448
|
+
* @param paneId - pane whose page is closing; preferred if it survives.
|
|
5449
|
+
* @param close - synchronous cleanup and layout removal; errors preserve focus.
|
|
5450
|
+
*/
|
|
5451
|
+
function closeWithPaneFocus(document, sessionId, paneId, close) {
|
|
5452
|
+
const before = document.activeElement;
|
|
5453
|
+
const owner = before?.closest("[data-sidebar-right-session]");
|
|
5454
|
+
const source = before?.closest("[data-dockkit-pane], [data-dockkit-float]");
|
|
5455
|
+
const retain = owner?.dataset.sidebarRightSession === sessionId && (source?.dataset.dockkitPane ?? source?.dataset.dockkitFloat) === paneId;
|
|
5456
|
+
(0, react_dom.flushSync)(close);
|
|
5457
|
+
if (!retain || document.activeElement !== document.body && document.activeElement !== before) return;
|
|
5458
|
+
visibleSidebarPane(document, sessionId, paneId)?.focus({ preventScroll: true });
|
|
5459
|
+
}
|
|
5460
|
+
//#endregion
|
|
5075
5461
|
//#region lib/types/client/shell/SidebarRight.js
|
|
5076
5462
|
/**
|
|
5077
5463
|
* The Sidebar's seat in the frame, and the panel it draws.
|
|
@@ -5113,7 +5499,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5113
5499
|
* @param openTab - the navigation face's `openTab`, which the strip's add control asks for a guide through.
|
|
5114
5500
|
* @returns the intents the kit reports gestures to.
|
|
5115
5501
|
*/
|
|
5116
|
-
function intentsFor(sessionId, actions, openTab, closeTab) {
|
|
5502
|
+
function intentsFor(sessionId, actions, openTab, closeTab, splitPane) {
|
|
5117
5503
|
return {
|
|
5118
5504
|
focusTab: (tabId) => {
|
|
5119
5505
|
actions.focusTab(sessionId, tabId);
|
|
@@ -5121,9 +5507,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5121
5507
|
focusPane: (paneId) => {
|
|
5122
5508
|
actions.focusPane(sessionId, paneId);
|
|
5123
5509
|
},
|
|
5124
|
-
splitPane: (paneId) => {
|
|
5510
|
+
splitPane: splitPane ?? ((paneId) => {
|
|
5125
5511
|
actions.splitPane(sessionId, paneId);
|
|
5126
|
-
},
|
|
5512
|
+
}),
|
|
5127
5513
|
addTab: (paneId) => {
|
|
5128
5514
|
openTab(GUIDE_KIND, {
|
|
5129
5515
|
paneId,
|
|
@@ -5162,8 +5548,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5162
5548
|
/**
|
|
5163
5549
|
* Dispatch one tab's body or title with stable framework hooks and record lifetime.
|
|
5164
5550
|
*/
|
|
5165
|
-
function TabSlot({ renderSlot, occurrence, useTabTypes, useTabNavigation, useStore, fullscreen, active, retainTab, tab, seat, fallback }) {
|
|
5166
|
-
const { signal, tabActions } = occurrence(tab);
|
|
5551
|
+
function TabSlot({ renderSlot, occurrence, useTabTypes, useTabNavigation, useStore, fullscreen, shortcuts, active, retainTab, tab, seat, fallback }) {
|
|
5552
|
+
const { id, signal, tabActions } = occurrence(tab);
|
|
5167
5553
|
const definition = useTabTypes((types) => types.find((definition) => definition.kind === tab.kind));
|
|
5168
5554
|
const retained = seat === "sidebar.right.pane.tab" && definition?.keepMounted === true;
|
|
5169
5555
|
(0, react.useLayoutEffect)(() => retained ? retainTab(tab.id, signal) : void 0, [
|
|
@@ -5174,6 +5560,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5174
5560
|
]);
|
|
5175
5561
|
const hookContext = (0, react.useMemo)(() => ({
|
|
5176
5562
|
tabId: tab.id,
|
|
5563
|
+
shortcuts,
|
|
5177
5564
|
title: seat === "sidebar.right.pane.tab.title",
|
|
5178
5565
|
fullscreen,
|
|
5179
5566
|
active,
|
|
@@ -5189,13 +5576,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5189
5576
|
signal,
|
|
5190
5577
|
tabActions,
|
|
5191
5578
|
useStore,
|
|
5192
|
-
useTabNavigation
|
|
5579
|
+
useTabNavigation,
|
|
5580
|
+
shortcuts
|
|
5193
5581
|
]);
|
|
5194
|
-
|
|
5582
|
+
const content = renderSlot(seat, {}, {
|
|
5195
5583
|
entryKey: definition?.id ?? tab.kind,
|
|
5196
5584
|
fallback,
|
|
5197
5585
|
hookContext
|
|
5198
5586
|
});
|
|
5587
|
+
return seat === "sidebar.right.pane.tab.title" ? (0, react_jsx_runtime.jsx)("span", {
|
|
5588
|
+
className: SidebarRight_module_css_default.tabTitle,
|
|
5589
|
+
"data-sidebar-right-tab": tab.id,
|
|
5590
|
+
"data-sidebar-right-occurrence": id,
|
|
5591
|
+
children: content
|
|
5592
|
+
}) : (0, react_jsx_runtime.jsx)("div", {
|
|
5593
|
+
className: SidebarRight_module_css_default.tabBody,
|
|
5594
|
+
"data-sidebar-right-tab": tab.id,
|
|
5595
|
+
"data-sidebar-right-occurrence": id,
|
|
5596
|
+
children: content
|
|
5597
|
+
});
|
|
5199
5598
|
}
|
|
5200
5599
|
/**
|
|
5201
5600
|
* Dispatch a tab's body to its registered type.
|
|
@@ -5258,32 +5657,35 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5258
5657
|
});
|
|
5259
5658
|
}
|
|
5260
5659
|
/** The panel's two controls, placed by the kit at the top-right pane's strip end. */
|
|
5261
|
-
function PanelChrome({ sessionId, fullscreen,
|
|
5660
|
+
function PanelChrome({ sessionId, fullscreen, actions, t, shortcuts, toggleFullscreen }) {
|
|
5262
5661
|
const next = fullscreen ? "push" : "fullscreen";
|
|
5263
5662
|
const modeLabel = fullscreen ? t("chrome.exitFullscreen") : t("chrome.toFullscreen");
|
|
5663
|
+
const mode = shortcuts.find((entry) => entry.id === "pane.fullscreen.toggle");
|
|
5664
|
+
const toggle = shortcuts.find((entry) => entry.id === "sidebar.right.toggle");
|
|
5264
5665
|
return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
5265
5666
|
label: modeLabel,
|
|
5667
|
+
shortcutKeys: mode?.keys,
|
|
5266
5668
|
side: "bottom",
|
|
5267
5669
|
delayMs: 500,
|
|
5268
5670
|
children: (0, react_jsx_runtime.jsx)("button", {
|
|
5269
5671
|
type: "button",
|
|
5270
5672
|
className: SidebarRight_module_css_default.iconButton,
|
|
5271
5673
|
"aria-label": modeLabel,
|
|
5674
|
+
"aria-keyshortcuts": mode?.aria,
|
|
5272
5675
|
"data-sidebar-right-mode": next,
|
|
5273
|
-
onClick:
|
|
5274
|
-
if (fullscreen && autoFullscreen) actions.setExpanded(sessionId, false);
|
|
5275
|
-
actions.setMode(sessionId, next);
|
|
5276
|
-
},
|
|
5676
|
+
onClick: toggleFullscreen,
|
|
5277
5677
|
children: fullscreen ? (0, react_jsx_runtime.jsx)(ExitFullscreenGlyph, {}) : (0, react_jsx_runtime.jsx)(FullscreenGlyph, {})
|
|
5278
5678
|
})
|
|
5279
5679
|
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
5280
5680
|
label: t("chrome.collapse"),
|
|
5681
|
+
shortcutKeys: toggle?.keys,
|
|
5281
5682
|
side: "bottom",
|
|
5282
5683
|
delayMs: 500,
|
|
5283
5684
|
children: (0, react_jsx_runtime.jsx)("button", {
|
|
5284
5685
|
type: "button",
|
|
5285
5686
|
className: SidebarRight_module_css_default.iconButton,
|
|
5286
5687
|
"aria-label": t("chrome.collapseAria"),
|
|
5688
|
+
"aria-keyshortcuts": toggle?.aria,
|
|
5287
5689
|
"data-sidebar-right-toggle": true,
|
|
5288
5690
|
onClick: () => {
|
|
5289
5691
|
actions.toggleExpanded(sessionId);
|
|
@@ -5297,7 +5699,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5297
5699
|
* anchored to the frame's right edge and slid off it while collapsed.
|
|
5298
5700
|
*/
|
|
5299
5701
|
function SidebarPanel(panel) {
|
|
5300
|
-
const { sessionId, surface, actions, t, renderSlot, openTab, width, reportRoom, fullscreen,
|
|
5702
|
+
const { sessionId, surface, actions, t, renderSlot, openTab, width, reportRoom, fullscreen, panelRef } = panel;
|
|
5301
5703
|
const { expanded } = surface.layout;
|
|
5302
5704
|
const types = panel.useTabTypes((value) => value);
|
|
5303
5705
|
return (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -5307,20 +5709,21 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5307
5709
|
width: fullscreen ? "100vw" : width,
|
|
5308
5710
|
"--dsh-sidebar-width": fullscreen ? "100vw" : `${width}px`
|
|
5309
5711
|
},
|
|
5712
|
+
"data-sidebar-right-session": sessionId,
|
|
5310
5713
|
"data-sidebar-right-panel": fullscreen ? "fullscreen" : "push",
|
|
5311
5714
|
"data-sidebar-right-open": expanded || void 0,
|
|
5715
|
+
"aria-hidden": !expanded || void 0,
|
|
5312
5716
|
children: (0, react_jsx_runtime.jsx)("div", {
|
|
5313
5717
|
className: SidebarRight_module_css_default.panelBody,
|
|
5314
5718
|
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_dockkit.DockLayout, {
|
|
5315
5719
|
state: surface.layout,
|
|
5316
5720
|
canSplit: (0, _deepseek_ai_dsh_client_ui_dockkit.canSplit)(surface.layout) && (0, _deepseek_ai_dsh_client_ui_dockkit.dockPaneIds)(surface.layout).length < 2,
|
|
5317
|
-
hideSplitWhenBlocked: true,
|
|
5318
5721
|
dropZones: "horizontal",
|
|
5319
5722
|
minPaneFraction: .2,
|
|
5320
5723
|
canAddTab: (paneId) => guideIn(surface.layout, paneId) === void 0,
|
|
5321
5724
|
canCloseTab: (tabId) => canCloseTab(surface, tabId),
|
|
5322
|
-
intents: intentsFor(sessionId, actions, openTab, panel.closeTab),
|
|
5323
|
-
labels: dockLabels(t),
|
|
5725
|
+
intents: intentsFor(sessionId, actions, openTab, panel.closeTab, panel.splitPane),
|
|
5726
|
+
labels: dockLabels(t, panel.shortcuts.find((entry) => entry.id === "pane.split"), panel.shortcuts.find((entry) => entry.id === "page.close")),
|
|
5324
5727
|
renderTab: bodiesFor(panel),
|
|
5325
5728
|
renderTabTitle: titlesFor(panel),
|
|
5326
5729
|
active: panel.active,
|
|
@@ -5332,9 +5735,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5332
5735
|
chrome: (0, react_jsx_runtime.jsx)(PanelChrome, {
|
|
5333
5736
|
sessionId,
|
|
5334
5737
|
fullscreen,
|
|
5335
|
-
autoFullscreen,
|
|
5336
5738
|
actions,
|
|
5337
|
-
t
|
|
5739
|
+
t,
|
|
5740
|
+
shortcuts: panel.shortcuts,
|
|
5741
|
+
toggleFullscreen: panel.toggleFullscreen
|
|
5338
5742
|
}),
|
|
5339
5743
|
onRoom: reportRoom
|
|
5340
5744
|
})
|
|
@@ -5347,7 +5751,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5347
5751
|
* frame learns the panel's presentation, and where `ctx.sidebarRight` learns
|
|
5348
5752
|
* which session it is acting on, because this is the seat that knows both.
|
|
5349
5753
|
*/
|
|
5350
|
-
function RightbarSeat({ sessionId, width, viewportWidth, canShow, useStore, actions, t, renderSlot, syncPresentation, bindService, openTab, closeTab, useTabTypes, useTabNavigation, occurrence, retainTab, active }) {
|
|
5754
|
+
function RightbarSeat({ sessionId, width, viewportWidth, canShow, useStore, actions, t, renderSlot, syncPresentation, bindService, openTab, closeTab, useTabTypes, useTabNavigation, occurrence, retainTab, active, useShortcuts, splitPane, toggleFullscreen }) {
|
|
5755
|
+
const shortcuts = useShortcuts((entries) => entries);
|
|
5351
5756
|
const surfaces = useStore((state) => state.bySession);
|
|
5352
5757
|
const surface = surfaces[sessionId];
|
|
5353
5758
|
const shown = active && surface !== void 0 && surface.layout.expanded;
|
|
@@ -5376,26 +5781,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5376
5781
|
fullscreen,
|
|
5377
5782
|
canShow
|
|
5378
5783
|
]);
|
|
5379
|
-
(0, react.useEffect)(() => {
|
|
5380
|
-
if (!active || document.documentElement.dataset.platform !== "darwin") return;
|
|
5381
|
-
const panel = panelRef.current;
|
|
5382
|
-
if (panel === null) return;
|
|
5383
|
-
let raf = null;
|
|
5384
|
-
const nudge = () => {
|
|
5385
|
-
panel.setAttribute("data-sidebar-right-region-nudge", "");
|
|
5386
|
-
raf = requestAnimationFrame(() => {
|
|
5387
|
-
raf = null;
|
|
5388
|
-
panel.removeAttribute("data-sidebar-right-region-nudge");
|
|
5389
|
-
});
|
|
5390
|
-
};
|
|
5391
|
-
nudge();
|
|
5392
|
-
const settle = setTimeout(nudge, 400);
|
|
5393
|
-
return () => {
|
|
5394
|
-
clearTimeout(settle);
|
|
5395
|
-
if (raf !== null) cancelAnimationFrame(raf);
|
|
5396
|
-
panel.removeAttribute("data-sidebar-right-region-nudge");
|
|
5397
|
-
};
|
|
5398
|
-
}, [shown, active]);
|
|
5399
5784
|
(0, react.useLayoutEffect)(() => {
|
|
5400
5785
|
if (!active) return;
|
|
5401
5786
|
let disposed = false;
|
|
@@ -5435,12 +5820,20 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5435
5820
|
sessionId,
|
|
5436
5821
|
actions,
|
|
5437
5822
|
surfaces,
|
|
5823
|
+
autoFullscreen,
|
|
5824
|
+
closeWithFocus: (paneId, close) => {
|
|
5825
|
+
closeWithPaneFocus(document, sessionId, paneId, close);
|
|
5826
|
+
},
|
|
5827
|
+
openWithFocus: (open) => {
|
|
5828
|
+
openWithPaneFocus(document, sessionId, open);
|
|
5829
|
+
},
|
|
5438
5830
|
canSplitPane: (paneId) => room.current.get(paneId)?.row !== false
|
|
5439
5831
|
}) : void 0, [
|
|
5440
5832
|
bindService,
|
|
5441
5833
|
sessionId,
|
|
5442
5834
|
actions,
|
|
5443
5835
|
surfaces,
|
|
5836
|
+
autoFullscreen,
|
|
5444
5837
|
active
|
|
5445
5838
|
]);
|
|
5446
5839
|
if (surface === void 0) return null;
|
|
@@ -5461,6 +5854,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5461
5854
|
reportRoom,
|
|
5462
5855
|
active,
|
|
5463
5856
|
retainTab,
|
|
5857
|
+
shortcuts,
|
|
5858
|
+
splitPane,
|
|
5859
|
+
toggleFullscreen,
|
|
5464
5860
|
width,
|
|
5465
5861
|
panelRef
|
|
5466
5862
|
});
|
|
@@ -5761,14 +6157,26 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
5761
6157
|
...placement.revealIfOpened === void 0 ? {} : { revealIfOpened: placement.revealIfOpened }
|
|
5762
6158
|
});
|
|
5763
6159
|
const held = {
|
|
6160
|
+
id: randomUUID(),
|
|
5764
6161
|
sessionId,
|
|
5765
6162
|
tabId,
|
|
5766
6163
|
controller,
|
|
6164
|
+
commands: {},
|
|
5767
6165
|
signal: controller.signal,
|
|
5768
6166
|
navigation: (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(navigation),
|
|
5769
6167
|
paneId: void 0,
|
|
5770
6168
|
pinned: false,
|
|
5771
6169
|
tabActions: {
|
|
6170
|
+
bindCommands: (commands) => {
|
|
6171
|
+
if (controller.signal.aborted) return () => {};
|
|
6172
|
+
held.commands = commands;
|
|
6173
|
+
const release = () => {
|
|
6174
|
+
if (held.commands === commands) held.commands = {};
|
|
6175
|
+
controller.signal.removeEventListener("abort", release);
|
|
6176
|
+
};
|
|
6177
|
+
controller.signal.addEventListener("abort", release, { once: true });
|
|
6178
|
+
return release;
|
|
6179
|
+
},
|
|
5772
6180
|
openResource: (address, options = {}) => {
|
|
5773
6181
|
navigator.openResourceIn(sessionId, address, {
|
|
5774
6182
|
...place(options),
|
|
@@ -6126,10 +6534,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6126
6534
|
isExpanded() {
|
|
6127
6535
|
return this.mountedSurface()?.layout.expanded ?? false;
|
|
6128
6536
|
}
|
|
6129
|
-
/** Collapse
|
|
6537
|
+
/** Collapse the column, or expand it and focus its active dock pane after rendering. */
|
|
6130
6538
|
toggleExpanded() {
|
|
6131
|
-
const { sessionId, actions } = this.require();
|
|
6132
|
-
|
|
6539
|
+
const { sessionId, actions, openWithFocus } = this.require();
|
|
6540
|
+
openWithFocus(() => {
|
|
6541
|
+
actions.toggleExpanded(sessionId);
|
|
6542
|
+
const layout = this.mountedSurface()?.layout;
|
|
6543
|
+
return layout?.expanded ? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(layout) : void 0;
|
|
6544
|
+
});
|
|
6133
6545
|
}
|
|
6134
6546
|
/**
|
|
6135
6547
|
* Focus a tab and the pane holding it; a missing tab is left alone.
|
|
@@ -6141,6 +6553,125 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6141
6553
|
actions.focusTab(sessionId, tabId);
|
|
6142
6554
|
}
|
|
6143
6555
|
/**
|
|
6556
|
+
* Capture the page owning current DOM focus; outside focus never uses layout history.
|
|
6557
|
+
* @param element - explicit input target, including an embedding iframe; defaults to live document focus.
|
|
6558
|
+
* @returns current focused page identity, or undefined outside a visible sidebar page.
|
|
6559
|
+
*/
|
|
6560
|
+
focusedTarget(element = document.activeElement) {
|
|
6561
|
+
const binding = this.binding;
|
|
6562
|
+
const surface = this.mountedSurface();
|
|
6563
|
+
return binding === void 0 || surface === void 0 ? void 0 : sidebarTargetFromElement(element, binding.sessionId, surface.layout, (tabId) => this.tabDomain.occurrence(binding.sessionId, { id: tabId }));
|
|
6564
|
+
}
|
|
6565
|
+
/**
|
|
6566
|
+
* Choose a focused sidebar pane, or the mounted Session's active dock pane for an outside open.
|
|
6567
|
+
* @param element - live command input target; stale sidebar markup never falls back to another pane.
|
|
6568
|
+
* @returns captured target, or undefined without a mounted Session.
|
|
6569
|
+
*/
|
|
6570
|
+
commandTarget(element = document.activeElement) {
|
|
6571
|
+
const focused = this.focusedTarget(element);
|
|
6572
|
+
if (focused !== void 0 || element?.closest("[data-sidebar-right-session]")) return focused;
|
|
6573
|
+
const binding = this.binding;
|
|
6574
|
+
const layout = this.mountedSurface()?.layout;
|
|
6575
|
+
if (binding === void 0 || layout === void 0) return void 0;
|
|
6576
|
+
const pane = (0, _deepseek_ai_dsh_client_ui_dockkit.getPane)(layout, (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(layout));
|
|
6577
|
+
const tabId = pane.activeTabId;
|
|
6578
|
+
const held = tabId === void 0 ? void 0 : this.tabDomain.occurrence(binding.sessionId, { id: tabId });
|
|
6579
|
+
return {
|
|
6580
|
+
sessionId: binding.sessionId,
|
|
6581
|
+
paneId: pane.id,
|
|
6582
|
+
host: pane.host,
|
|
6583
|
+
tabId,
|
|
6584
|
+
occurrence: held,
|
|
6585
|
+
navigationRevision: held?.navigation.getSnapshot().revision
|
|
6586
|
+
};
|
|
6587
|
+
}
|
|
6588
|
+
/**
|
|
6589
|
+
* Open from a captured pane using the guide's replacement and floating placement rules.
|
|
6590
|
+
* @param kind - registered page kind.
|
|
6591
|
+
* @param target - captured live pane and optional page.
|
|
6592
|
+
*/
|
|
6593
|
+
openTabFromTarget(kind, target) {
|
|
6594
|
+
if (!this.isTargetCurrent(target)) return;
|
|
6595
|
+
this.require().openWithFocus(() => {
|
|
6596
|
+
const tab = target.tabId === void 0 ? void 0 : this.mountedSurface()?.layout.tabs[target.tabId];
|
|
6597
|
+
if (target.host === "float" && tab?.kind === kind && this.tabs.get(kind)?.multiple !== true) {
|
|
6598
|
+
this.require().actions.setExpanded(target.sessionId, true);
|
|
6599
|
+
this.focus(tab.id);
|
|
6600
|
+
} else this.openTab(kind, {
|
|
6601
|
+
...target.host === "dock" ? { paneId: target.paneId } : {},
|
|
6602
|
+
...tab?.kind === "guide" ? { replaceTab: tab.id } : {}
|
|
6603
|
+
});
|
|
6604
|
+
return this.mountedSurface()?.layout.activePaneId;
|
|
6605
|
+
});
|
|
6606
|
+
}
|
|
6607
|
+
/**
|
|
6608
|
+
* Test explicit close eligibility without using the last selected page.
|
|
6609
|
+
* @param target - captured focused page.
|
|
6610
|
+
* @returns whether this current page can be removed or its sole guide pane collapsed.
|
|
6611
|
+
*/
|
|
6612
|
+
canCloseTarget(target) {
|
|
6613
|
+
return this.isTargetCurrent(target) && target.tabId !== void 0;
|
|
6614
|
+
}
|
|
6615
|
+
/**
|
|
6616
|
+
* Remove a captured page through its resource cleanup handler, or collapse the sole docked guide.
|
|
6617
|
+
* Cleanup errors propagate and preserve the page.
|
|
6618
|
+
* @param target - page captured while resolving the command.
|
|
6619
|
+
* @returns closed after removal or collapse, unavailable without a page, or stale after identity changes.
|
|
6620
|
+
*/
|
|
6621
|
+
closeTarget(target) {
|
|
6622
|
+
if (!this.isTargetCurrent(target)) return "stale";
|
|
6623
|
+
const surface = this.mountedSurface();
|
|
6624
|
+
if (surface === void 0 || target.tabId === void 0) return "unavailable";
|
|
6625
|
+
const tabId = target.tabId;
|
|
6626
|
+
const binding = this.require();
|
|
6627
|
+
binding.closeWithFocus(target.paneId, () => {
|
|
6628
|
+
if (canCloseTab(surface, tabId)) this.close(tabId);
|
|
6629
|
+
else binding.actions.setExpanded(target.sessionId, false);
|
|
6630
|
+
});
|
|
6631
|
+
return "closed";
|
|
6632
|
+
}
|
|
6633
|
+
/**
|
|
6634
|
+
* Check a captured target before acting, including reopened records and intervening navigation.
|
|
6635
|
+
* @param target - identity captured while resolving the input.
|
|
6636
|
+
* @returns whether the mounted Session, pane, tab lifetime and navigation still match.
|
|
6637
|
+
*/
|
|
6638
|
+
isTargetCurrent(target) {
|
|
6639
|
+
if (this.binding?.sessionId !== target.sessionId) return false;
|
|
6640
|
+
const layout = this.mountedSurface()?.layout;
|
|
6641
|
+
const pane = layout?.nodes[target.paneId];
|
|
6642
|
+
if (pane?.kind !== "pane" || pane.host !== target.host) return false;
|
|
6643
|
+
if (target.tabId === void 0) return pane.activeTabId === void 0;
|
|
6644
|
+
if (!pane.tabs.includes(target.tabId) || layout?.tabs[target.tabId] === void 0) return false;
|
|
6645
|
+
const held = this.tabDomain.occurrence(target.sessionId, { id: target.tabId });
|
|
6646
|
+
return held === target.occurrence && !held.signal.aborted && held.navigation.getSnapshot().revision === target.navigationRevision;
|
|
6647
|
+
}
|
|
6648
|
+
/**
|
|
6649
|
+
* Explain the same geometry and pane-budget rule used by the split control.
|
|
6650
|
+
* @param target - captured command or button target.
|
|
6651
|
+
* @returns a localizable block discriminator, or undefined when splitting is available.
|
|
6652
|
+
*/
|
|
6653
|
+
splitBlock(target) {
|
|
6654
|
+
const surface = this.mountedSurface();
|
|
6655
|
+
if (surface === void 0 || !this.isTargetCurrent(target)) return "stale";
|
|
6656
|
+
const { layout } = surface;
|
|
6657
|
+
if (target.host === "float") return "float";
|
|
6658
|
+
if (!layout.expanded) return "collapsed";
|
|
6659
|
+
if ((0, _deepseek_ai_dsh_client_ui_dockkit.getPane)(layout, target.paneId).tabs.length === 0) return "empty";
|
|
6660
|
+
if (!(0, _deepseek_ai_dsh_client_ui_dockkit.canSplit)(layout) || (0, _deepseek_ai_dsh_client_ui_dockkit.dockPaneIds)(layout).length >= 2) return "budget";
|
|
6661
|
+
if (!this.require().canSplitPane(target.paneId)) return "width";
|
|
6662
|
+
}
|
|
6663
|
+
/**
|
|
6664
|
+
* Toggle the right panel's display mode through the same action as its chrome button.
|
|
6665
|
+
* @param target - captured dock pane; floating and stale targets are unchanged.
|
|
6666
|
+
*/
|
|
6667
|
+
toggleFullscreen(target) {
|
|
6668
|
+
if (!this.isTargetCurrent(target) || target.host === "float" || !this.isExpanded()) return;
|
|
6669
|
+
const { sessionId, actions, autoFullscreen } = this.require();
|
|
6670
|
+
const fullscreen = autoFullscreen === true || this.mountedSurface()?.layout.mode === "fullscreen";
|
|
6671
|
+
if (fullscreen && autoFullscreen === true) actions.setExpanded(sessionId, false);
|
|
6672
|
+
actions.setMode(sessionId, fullscreen ? "push" : "fullscreen");
|
|
6673
|
+
}
|
|
6674
|
+
/**
|
|
6144
6675
|
* Split a docked pane to its right when the budget and the room rule allow.
|
|
6145
6676
|
* @param paneId - the pane to split; defaults to the active docked pane.
|
|
6146
6677
|
* @returns the new pane's id, or `undefined` when nothing was split.
|
|
@@ -6154,8 +6685,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6154
6685
|
if (node === void 0 || node.kind !== "pane" || node.host !== "dock") return void 0;
|
|
6155
6686
|
if (!(0, _deepseek_ai_dsh_client_ui_dockkit.canSplit)(layout) || (0, _deepseek_ai_dsh_client_ui_dockkit.dockPaneIds)(layout).length >= 2 || !canSplitPane(target)) return void 0;
|
|
6156
6687
|
let created;
|
|
6157
|
-
|
|
6158
|
-
|
|
6688
|
+
this.require().openWithFocus(() => {
|
|
6689
|
+
actions.splitPane(sessionId, target, (id) => {
|
|
6690
|
+
created = id;
|
|
6691
|
+
});
|
|
6692
|
+
return created;
|
|
6159
6693
|
});
|
|
6160
6694
|
return created;
|
|
6161
6695
|
}
|
|
@@ -6203,7 +6737,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
6203
6737
|
/** The mounted session's surface; `undefined` without a seat or before its first open. */
|
|
6204
6738
|
mountedSurface() {
|
|
6205
6739
|
const { binding } = this;
|
|
6206
|
-
return binding === void 0 ? void 0 : binding.surfaces[binding.sessionId];
|
|
6740
|
+
return binding === void 0 ? void 0 : this.adopted.get(binding.sessionId)?.store.getSnapshot().bySession[binding.sessionId] ?? binding.surfaces[binding.sessionId];
|
|
6207
6741
|
}
|
|
6208
6742
|
/**
|
|
6209
6743
|
* The store actions a tab's own action on `sessionId` runs through: that
|
|
@@ -8327,6 +8861,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8327
8861
|
*/
|
|
8328
8862
|
/** Simplified Chinese dictionary and key-set source of truth. */
|
|
8329
8863
|
const zh = {
|
|
8864
|
+
"command.close": "关闭当前页面/窗口",
|
|
8865
|
+
"command.refresh": "刷新当前页面",
|
|
8866
|
+
"command.noRefresh": "当前页面不支持刷新",
|
|
8867
|
+
"command.toggle": "展开/收起右侧栏",
|
|
8868
|
+
"command.fullscreen": "面板全屏/退出全屏",
|
|
8869
|
+
"command.noSession": "请先选择会话",
|
|
8870
|
+
"command.noFocus": "请先聚焦右侧面板",
|
|
8871
|
+
"command.stale": "页面已切换,请重新聚焦",
|
|
8872
|
+
"command.collapsed": "请先展开右侧栏",
|
|
8873
|
+
"command.float": "浮动面板不支持此操作",
|
|
8874
|
+
"command.empty": "请先打开页面",
|
|
8875
|
+
"command.budget": "已达两格上限",
|
|
8876
|
+
"command.width": "栏宽不足,拖宽侧边栏后再分栏",
|
|
8330
8877
|
"chrome.expand": "打开侧边栏",
|
|
8331
8878
|
"chrome.expandAria": "打开右侧边栏",
|
|
8332
8879
|
"chrome.collapse": "收起侧边栏",
|
|
@@ -8351,6 +8898,19 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8351
8898
|
};
|
|
8352
8899
|
/** English dictionary, checked against the Chinese key set. */
|
|
8353
8900
|
const en = {
|
|
8901
|
+
"command.close": "Close current page or window",
|
|
8902
|
+
"command.refresh": "Refresh current page",
|
|
8903
|
+
"command.noRefresh": "This page cannot be refreshed",
|
|
8904
|
+
"command.toggle": "Toggle right sidebar",
|
|
8905
|
+
"command.fullscreen": "Toggle panel fullscreen",
|
|
8906
|
+
"command.noSession": "Select a session first",
|
|
8907
|
+
"command.noFocus": "Focus a right sidebar pane first",
|
|
8908
|
+
"command.stale": "The page changed; focus it again",
|
|
8909
|
+
"command.collapsed": "Expand the right sidebar first",
|
|
8910
|
+
"command.float": "This action is unavailable in a floating panel",
|
|
8911
|
+
"command.empty": "Open a page first",
|
|
8912
|
+
"command.budget": "Two panes is the limit",
|
|
8913
|
+
"command.width": "Not enough width to split, widen the sidebar",
|
|
8354
8914
|
"chrome.expand": "Open sidebar",
|
|
8355
8915
|
"chrome.expandAria": "Open right sidebar",
|
|
8356
8916
|
"chrome.collapse": "Collapse sidebar",
|
|
@@ -8396,7 +8956,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8396
8956
|
}
|
|
8397
8957
|
//#endregion
|
|
8398
8958
|
//#region lib/types/client/tab-info.js
|
|
8399
|
-
/** Slot-owned tab information derived from framework-bound store and navigation hooks. */
|
|
8400
8959
|
/**
|
|
8401
8960
|
* Bind a tab occurrence without subscribing or creating records during factory evaluation.
|
|
8402
8961
|
* @param standard - framework session identity.
|
|
@@ -8405,7 +8964,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8405
8964
|
*/
|
|
8406
8965
|
const tabInfoFactory = (standard, context) => {
|
|
8407
8966
|
const { sessionId } = standard;
|
|
8408
|
-
const { tabId, title, fullscreen, active, signal, actions, useStore, useTabNavigation } = context;
|
|
8967
|
+
const { tabId, title, fullscreen, active, signal, actions, useStore, useTabNavigation, shortcuts } = context;
|
|
8409
8968
|
return function useTabInfo() {
|
|
8410
8969
|
const layout = useStore((state) => state.bySession[sessionId]?.layout);
|
|
8411
8970
|
const navigation = useTabNavigation(tabId);
|
|
@@ -8424,7 +8983,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8424
8983
|
visible: active && (pane.host === "float" || layout.expanded && (title || pane.activeTabId === tabId)),
|
|
8425
8984
|
navigation,
|
|
8426
8985
|
signal,
|
|
8427
|
-
actions
|
|
8986
|
+
actions,
|
|
8987
|
+
refreshShortcut: shortcuts.find((row) => row.id === "page.refresh")
|
|
8428
8988
|
}
|
|
8429
8989
|
};
|
|
8430
8990
|
}, [
|
|
@@ -8435,7 +8995,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8435
8995
|
fullscreen,
|
|
8436
8996
|
active,
|
|
8437
8997
|
signal,
|
|
8438
|
-
actions
|
|
8998
|
+
actions,
|
|
8999
|
+
shortcuts
|
|
8439
9000
|
]);
|
|
8440
9001
|
};
|
|
8441
9002
|
};
|
|
@@ -8457,7 +9018,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8457
9018
|
"locale",
|
|
8458
9019
|
"resources",
|
|
8459
9020
|
"sessions",
|
|
8460
|
-
"uiSession"
|
|
9021
|
+
"uiSession",
|
|
9022
|
+
"shortcuts"
|
|
8461
9023
|
];
|
|
8462
9024
|
/**
|
|
8463
9025
|
* Client plugin body: provide the registry and the navigation face, register the
|
|
@@ -8496,6 +9058,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8496
9058
|
zh,
|
|
8497
9059
|
en
|
|
8498
9060
|
}), "ui-sidebar-right: dictionaries");
|
|
9061
|
+
ctx.effect(() => registerSidebarShortcuts(ctx.shortcuts, controller, t, () => {
|
|
9062
|
+
ctx.shortcuts.closeWindow().catch((error) => {
|
|
9063
|
+
console.error("Window close failed", error);
|
|
9064
|
+
});
|
|
9065
|
+
}), "ui-sidebar-right: shortcuts");
|
|
9066
|
+
if (typeof document !== "undefined") ctx.effect(() => observeSidebarFocus(document), "ui-sidebar-right: focus");
|
|
8499
9067
|
ctx.effect(() => {
|
|
8500
9068
|
const handle = createSidebarRightStore(() => defaultSeed(tabs));
|
|
8501
9069
|
const adoptions = /* @__PURE__ */ new Map();
|
|
@@ -8524,13 +9092,23 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8524
9092
|
else layout.closeRightbar();
|
|
8525
9093
|
},
|
|
8526
9094
|
bindService: (binding) => controller.bind(binding),
|
|
9095
|
+
splitPane: (paneId) => {
|
|
9096
|
+
controller.split(paneId);
|
|
9097
|
+
},
|
|
9098
|
+
toggleFullscreen: () => {
|
|
9099
|
+
const target = controller.commandTarget();
|
|
9100
|
+
if (target !== void 0) controller.toggleFullscreen(target);
|
|
9101
|
+
},
|
|
8527
9102
|
openTab: (kind, options) => {
|
|
8528
9103
|
controller.openTab(kind, options);
|
|
8529
9104
|
},
|
|
8530
|
-
hooks: {
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
9105
|
+
hooks: {
|
|
9106
|
+
shortcuts: ctx.shortcuts.catalog,
|
|
9107
|
+
tabTypes: {
|
|
9108
|
+
subscribe: (listener) => tabs.subscribe(listener),
|
|
9109
|
+
getSnapshot: () => tabs.entries()
|
|
9110
|
+
}
|
|
9111
|
+
}
|
|
8534
9112
|
};
|
|
8535
9113
|
const disposeTypes = [tabs.register(guideDefinition(t))];
|
|
8536
9114
|
const disposeSeat = ctx.slots.inject("rightbar", function* () {
|
|
@@ -8582,12 +9160,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
8582
9160
|
const disposeExpand = ctx.slots.inject("conversation.session.header.corner", () => ctx.slots.register({
|
|
8583
9161
|
name: "conversation.session.header.corner",
|
|
8584
9162
|
locale: NS,
|
|
8585
|
-
store
|
|
9163
|
+
store,
|
|
9164
|
+
inject: () => ({ hooks: { shortcuts: ctx.shortcuts.catalog } })
|
|
8586
9165
|
}, ExpandButton));
|
|
8587
|
-
const guideInjected = { hooks: {
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
9166
|
+
const guideInjected = { hooks: {
|
|
9167
|
+
shortcuts: ctx.shortcuts.catalog,
|
|
9168
|
+
guideEntries: {
|
|
9169
|
+
subscribe: (listener) => tabs.subscribe(listener),
|
|
9170
|
+
getSnapshot: () => tabs.guide()
|
|
9171
|
+
}
|
|
9172
|
+
} };
|
|
8591
9173
|
const disposeGuide = ctx.slots.inject("sidebar.right.pane.tab", () => ctx.slots.register({
|
|
8592
9174
|
name: "sidebar.right.pane.tab",
|
|
8593
9175
|
key: GUIDE_ID,
|