@songtonyli/dsh-cli 0.1.40 → 0.1.41
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 +460 -60
- 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 +508 -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/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
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { createRequire, isBuiltin } from "node:module";
|
|
2
2
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
3
|
-
import { existsSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
4
|
-
import { parseEnv } from "node:util";
|
|
3
|
+
import fs, { existsSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
4
|
+
import { inspect, parseEnv } from "node:util";
|
|
5
5
|
import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep, win32 } from "node:path";
|
|
6
6
|
import * as yaml from "js-yaml";
|
|
7
|
+
import { load } from "js-yaml";
|
|
7
8
|
import { Context, Service } from "@deepseek-ai/cordis";
|
|
8
9
|
import Loader, { EntryGroup, EntryTree, ModuleLoader, isJsExpr } from "@deepseek-ai/cordis-plugin-loader";
|
|
9
|
-
import { access, constants, readFile, realpath, rename, writeFile } from "node:fs/promises";
|
|
10
|
+
import { access, constants, mkdir, readFile, realpath, rename, writeFile } from "node:fs/promises";
|
|
10
11
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
11
12
|
import Group from "@deepseek-ai/cordis-plugin-group";
|
|
12
13
|
import { dshHomePath, resolveDshHome } from "@deepseek-ai/dsh-home-paths";
|
|
13
14
|
import { createLaunchEnvironmentSnapshot } from "@deepseek-ai/dsh-launch-environment";
|
|
15
|
+
import semver, { parse } from "semver";
|
|
16
|
+
import { withFileLock, writeFileAtomic } from "@deepseek-ai/dsh-atomic-write";
|
|
14
17
|
import { getEnvironmentData, setEnvironmentData } from "node:worker_threads";
|
|
15
18
|
import { imports } from "resolve.exports";
|
|
16
19
|
//#region ../../../vendor/include/src/index.ts
|
|
@@ -245,6 +248,198 @@ var Include = class extends EntryTree {
|
|
|
245
248
|
}
|
|
246
249
|
};
|
|
247
250
|
//#endregion
|
|
251
|
+
//#region lib/types/plugin-compatibility.js
|
|
252
|
+
/** Evaluate plugin dsh peer requirements without importing plugin code. */
|
|
253
|
+
function objectOf$1(value, field) {
|
|
254
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) throw new Error(`${field} must be an object`);
|
|
255
|
+
return value;
|
|
256
|
+
}
|
|
257
|
+
function runtimeVersionOf(value) {
|
|
258
|
+
if (typeof value !== "string" || semver.valid(value) === null) throw new Error(`Invalid dsh runtime version: ${JSON.stringify(value)}; expected a semantic version`);
|
|
259
|
+
return value;
|
|
260
|
+
}
|
|
261
|
+
function identityField(manifest, field) {
|
|
262
|
+
const value = Object.hasOwn(manifest, field) ? manifest[field] : void 0;
|
|
263
|
+
if (typeof value !== "string" || value.trim() === "") throw new Error(`Plugin manifest ${field} must be a non-empty string when dsh peers are incompatible`);
|
|
264
|
+
return value;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Read this app-boot package's version in both source and bundled installations.
|
|
268
|
+
* @returns the validated runtime semantic version, preserving its exact spelling.
|
|
269
|
+
* @throws if package.json cannot be read or its version is missing or invalid.
|
|
270
|
+
*/
|
|
271
|
+
function getDshRuntimeVersion() {
|
|
272
|
+
const filename = fileURLToPath(new URL("../package.json", import.meta.url));
|
|
273
|
+
const manifest = objectOf$1(JSON.parse(fs.readFileSync(filename, "utf8")), "app-boot package.json");
|
|
274
|
+
return runtimeVersionOf(Object.hasOwn(manifest, "version") ? manifest.version : void 0);
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Check every @deepseek-ai/dsh or @deepseek-ai/dsh-* peer against the runtime.
|
|
278
|
+
* Prereleases participate in ranges. workspace:^, workspace:~, and workspace:*
|
|
279
|
+
* refer to the current runtime; other invalid ranges are incompatible.
|
|
280
|
+
* @param manifest - parsed plugin package.json; inherited fields are ignored.
|
|
281
|
+
* @param exemptions - exact plugin name@version keys mapped to exact runtime versions.
|
|
282
|
+
* @param runtimeVersion - running dsh version, defaulting to this app-boot package.
|
|
283
|
+
* @returns incompatible peers and exemption status, or undefined when none are incompatible.
|
|
284
|
+
* @throws for malformed manifest peer fields, invalid runtime versions, or missing identity on a mismatch.
|
|
285
|
+
*/
|
|
286
|
+
function evaluatePluginCompatibility(manifest, exemptions = {}, runtimeVersion = getDshRuntimeVersion()) {
|
|
287
|
+
runtimeVersionOf(runtimeVersion);
|
|
288
|
+
const fields = objectOf$1(manifest, "Plugin manifest");
|
|
289
|
+
if (!Object.hasOwn(fields, "peerDependencies")) return void 0;
|
|
290
|
+
const dependencies = objectOf$1(fields.peerDependencies, "Plugin manifest peerDependencies");
|
|
291
|
+
const peers = {};
|
|
292
|
+
for (const [name, range] of Object.entries(dependencies)) {
|
|
293
|
+
if (typeof range !== "string") throw new Error(`Plugin manifest peerDependencies[${JSON.stringify(name)}] must be a string`);
|
|
294
|
+
if (name !== "@deepseek-ai/dsh" && !name.startsWith("@deepseek-ai/dsh-")) continue;
|
|
295
|
+
const requirement = [
|
|
296
|
+
"workspace:^",
|
|
297
|
+
"workspace:~",
|
|
298
|
+
"workspace:*"
|
|
299
|
+
].includes(range) ? runtimeVersion : range;
|
|
300
|
+
if (requirement.trim() === "" || !semver.satisfies(runtimeVersion, requirement, { includePrerelease: true })) peers[name] = range;
|
|
301
|
+
}
|
|
302
|
+
if (Object.keys(peers).length === 0) return void 0;
|
|
303
|
+
const name = identityField(fields, "name");
|
|
304
|
+
const version = identityField(fields, "version");
|
|
305
|
+
const key = `${name}@${version}`;
|
|
306
|
+
return {
|
|
307
|
+
name,
|
|
308
|
+
version,
|
|
309
|
+
runtimeVersion,
|
|
310
|
+
peers,
|
|
311
|
+
exempted: (Object.hasOwn(exemptions, key) ? exemptions[key] : void 0)?.includes(runtimeVersion) === true
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Describe incompatible peers, their risk, and the exact-version remedy.
|
|
316
|
+
* Surfaces with their own grant mechanism or locale render the structured result themselves.
|
|
317
|
+
* @param issue - incompatible plugin/runtime result, including exempted mismatches.
|
|
318
|
+
* @returns an English diagnostic for logs and stderr.
|
|
319
|
+
*/
|
|
320
|
+
function pluginCompatibilityWarning(issue) {
|
|
321
|
+
const key = `${issue.name}@${issue.version}`;
|
|
322
|
+
return `Plugin ${key} is incompatible with dsh ${issue.runtimeVersion}: peerDependencies ${JSON.stringify(issue.peers)}. Running it may cause crashes or data loss. Update the plugin or install a plugin version compatible with this dsh runtime. To accept this risk explicitly, grant the exact-version exemption for ${key} on dsh ${issue.runtimeVersion} with \`dsh plugin allow-version\` or the plugin manager, then retry the installation or restart dsh. Exact-version exemption: ${issue.exempted ? "active" : "not active"}.`;
|
|
323
|
+
}
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region lib/types/profile-compatibility.js
|
|
326
|
+
/** Profile-local compatibility permissions readable before any Cordis plugins load. */
|
|
327
|
+
/** Independent profile metadata; neither package manifests nor Cordis patches carry grants. */
|
|
328
|
+
const PROFILE_COMPATIBILITY_FILENAME = "compatibility.json";
|
|
329
|
+
/** Published and scoped npm package names, as npm accepts them in a manifest dependency key. */
|
|
330
|
+
const PACKAGE_NAME = /^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/;
|
|
331
|
+
/** Whether a decoded record accepts only exact DSH versions. */
|
|
332
|
+
function isVersionList(value) {
|
|
333
|
+
return Array.isArray(value) && value.every((version) => typeof version === "string" && isExactPluginVersion(version));
|
|
334
|
+
}
|
|
335
|
+
/** Test whether an exemption names a canonical exact SemVer, including build metadata.
|
|
336
|
+
* @param value Version supplied by a manifest or user.
|
|
337
|
+
* @returns False for ranges, prefixes, whitespace, and malformed versions.
|
|
338
|
+
*/
|
|
339
|
+
function isExactPluginVersion(value) {
|
|
340
|
+
const parsed = parse(value);
|
|
341
|
+
return parsed !== null && value === `${parsed.version}${parsed.build.length === 0 ? "" : `+${parsed.build.join(".")}`}`;
|
|
342
|
+
}
|
|
343
|
+
/** Validate one explicit exemption without granting it.
|
|
344
|
+
* @param packageVersion Exact npm package-name@version, never an installation spec or range.
|
|
345
|
+
* @param runtimeVersion Exact DSH version, including prerelease and build metadata.
|
|
346
|
+
* @throws When either identity is not canonical.
|
|
347
|
+
*/
|
|
348
|
+
function validatePluginVersionExemption(packageVersion, runtimeVersion) {
|
|
349
|
+
const separator = packageVersion.lastIndexOf("@");
|
|
350
|
+
if (separator <= 0 || !PACKAGE_NAME.test(packageVersion.slice(0, separator)) || !isExactPluginVersion(packageVersion.slice(separator + 1)) || !isExactPluginVersion(runtimeVersion)) throw new Error("Version exemptions require an exact npm package-name@version and an exact DSH runtime version");
|
|
351
|
+
}
|
|
352
|
+
/** Read the profile's independent compatibility file without loading plugins.
|
|
353
|
+
* A missing file authorizes nothing. An unreadable or unparsable file authorizes nothing and is
|
|
354
|
+
* reported instead of failing, so a bad file can never make the profile unusable; rejected records
|
|
355
|
+
* are skipped while the remaining valid ones still apply.
|
|
356
|
+
* @param profileDir Absolute profile directory.
|
|
357
|
+
* @returns Accepted exemptions plus every problem found; no manifest fallback is used.
|
|
358
|
+
*/
|
|
359
|
+
function readProfileCompatibility(profileDir) {
|
|
360
|
+
const filename = join(profileDir, PROFILE_COMPATIBILITY_FILENAME);
|
|
361
|
+
const unreadable = (reason) => ({
|
|
362
|
+
exemptions: {},
|
|
363
|
+
warnings: [`${filename} ${reason}; treating the profile as having no exemptions`],
|
|
364
|
+
rewritable: false
|
|
365
|
+
});
|
|
366
|
+
let text;
|
|
367
|
+
try {
|
|
368
|
+
text = readFileSync(filename, "utf8");
|
|
369
|
+
} catch (error) {
|
|
370
|
+
if (error.code === "ENOENT") return {
|
|
371
|
+
exemptions: {},
|
|
372
|
+
warnings: [],
|
|
373
|
+
rewritable: true
|
|
374
|
+
};
|
|
375
|
+
return unreadable(`cannot be read (${String(error)})`);
|
|
376
|
+
}
|
|
377
|
+
let value;
|
|
378
|
+
try {
|
|
379
|
+
value = JSON.parse(text);
|
|
380
|
+
} catch (error) {
|
|
381
|
+
return unreadable(`is not valid JSON (${String(error)})`);
|
|
382
|
+
}
|
|
383
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return unreadable("must map exact package@version keys to DSH version lists");
|
|
384
|
+
const exemptions = {};
|
|
385
|
+
const warnings = [];
|
|
386
|
+
for (const [key, versions] of Object.entries(value)) {
|
|
387
|
+
const separator = key.lastIndexOf("@");
|
|
388
|
+
if (separator <= 0 || !PACKAGE_NAME.test(key.slice(0, separator)) || !isExactPluginVersion(key.slice(separator + 1))) {
|
|
389
|
+
warnings.push(`${filename}: ${JSON.stringify(key)} is not an exact package-name@version key; the record is ignored`);
|
|
390
|
+
continue;
|
|
391
|
+
}
|
|
392
|
+
if (!isVersionList(versions)) {
|
|
393
|
+
warnings.push(`${filename}: ${key} must contain a list of exact DSH versions; the record is ignored`);
|
|
394
|
+
continue;
|
|
395
|
+
}
|
|
396
|
+
exemptions[key] = versions;
|
|
397
|
+
}
|
|
398
|
+
return {
|
|
399
|
+
exemptions,
|
|
400
|
+
warnings,
|
|
401
|
+
rewritable: warnings.length === 0
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
/** Read only the accepted exemptions of a profile.
|
|
405
|
+
* @param profileDir Absolute profile directory.
|
|
406
|
+
* @returns Exact package-name@version keys mapped to their allowed DSH versions.
|
|
407
|
+
*/
|
|
408
|
+
function readProfileVersionExemptions(profileDir) {
|
|
409
|
+
return readProfileCompatibility(profileDir).exemptions;
|
|
410
|
+
}
|
|
411
|
+
/** Persist one informed grant or revocation under the compatibility file's own lock.
|
|
412
|
+
* @param profileDir Profile directory; no package manifest is created or modified.
|
|
413
|
+
* @param packageVersion Exact manifest package-name@version.
|
|
414
|
+
* @param runtimeVersion Exact DSH version; grants must name the current runtime, revocations may name historical ones.
|
|
415
|
+
* @param enabled Whether to grant rather than revoke.
|
|
416
|
+
* @param acceptRisk Required true for grants after explicit acknowledgement of possible crashes or data loss.
|
|
417
|
+
* @returns After the atomic write. Existing plugin instances are not reloaded by this operation.
|
|
418
|
+
* @throws For invalid identities, missing consent, a stale runtime, or a file the reader rejected,
|
|
419
|
+
* which the user must repair by hand because rewriting it would discard their content.
|
|
420
|
+
*/
|
|
421
|
+
async function setProfileVersionExemption(profileDir, packageVersion, runtimeVersion, enabled, acceptRisk) {
|
|
422
|
+
validatePluginVersionExemption(packageVersion, runtimeVersion);
|
|
423
|
+
if (enabled && !acceptRisk) throw new Error("Incompatible plugins may cause crashes or data loss. To grant this exact-version exemption, explicitly acknowledge the risk with --accept-risk (acceptRisk: true).");
|
|
424
|
+
const current = getDshRuntimeVersion();
|
|
425
|
+
if (enabled && runtimeVersion !== current) throw new Error(`Cannot approve DSH ${runtimeVersion}: this application runs DSH ${current}. Use --dsh-version ${current}.`);
|
|
426
|
+
await mkdir(profileDir, { recursive: true });
|
|
427
|
+
const filename = join(profileDir, PROFILE_COMPATIBILITY_FILENAME);
|
|
428
|
+
await withFileLock(filename, async () => {
|
|
429
|
+
const current = readProfileCompatibility(profileDir);
|
|
430
|
+
if (!current.rewritable) throw new Error(`${PROFILE_COMPATIBILITY_FILENAME} must be repaired before exemptions change:\n${current.warnings.join("\n")}`);
|
|
431
|
+
const exemptions = current.exemptions;
|
|
432
|
+
const versions = exemptions[packageVersion] ?? [];
|
|
433
|
+
if (enabled) exemptions[packageVersion] = [...new Set([...versions, runtimeVersion])];
|
|
434
|
+
else {
|
|
435
|
+
const retained = versions.filter((version) => version !== runtimeVersion);
|
|
436
|
+
if (retained.length) exemptions[packageVersion] = retained;
|
|
437
|
+
else Reflect.deleteProperty(exemptions, packageVersion);
|
|
438
|
+
}
|
|
439
|
+
await writeFileAtomic(filename, JSON.stringify(exemptions, void 0, 2) + "\n", { mode: 384 });
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
//#endregion
|
|
248
443
|
//#region lib/types/profile-resolution/legacy-links.js
|
|
249
444
|
/** Package directory canonicalization through the active runtime carrier's filesystem. */
|
|
250
445
|
/**
|
|
@@ -313,6 +508,14 @@ function bundlePatchPaths(packageDir, bundle) {
|
|
|
313
508
|
return bundlePatchFiles(bundle).map((file) => join(packageDir, file));
|
|
314
509
|
}
|
|
315
510
|
/**
|
|
511
|
+
* Print each skipped bundle once; loading never prints, so launchers call this once per start.
|
|
512
|
+
* @param binName - the diagnostic prefix.
|
|
513
|
+
* @param profile - the loaded profile.
|
|
514
|
+
*/
|
|
515
|
+
function reportSkippedBundles(binName, profile) {
|
|
516
|
+
for (const { packageName, reason } of profile.skippedBundles) process.stderr.write(`${binName}: skipping profile bundle ${JSON.stringify(packageName)}: ${reason}\n`);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
316
519
|
* Resolve a profile's directory under the Harness home.
|
|
317
520
|
* @param name - the profile name (`dsh --profile <name>`).
|
|
318
521
|
* @param home - the Harness home; defaults to {@link resolveDshHome}.
|
|
@@ -342,10 +545,16 @@ const DEFAULT_PROFILE_BUNDLES = ["@deepseek-ai/dsh-base"];
|
|
|
342
545
|
/**
|
|
343
546
|
* The bundles the dsh installation ships for a person to switch on: each a
|
|
344
547
|
* runtime dependency of the installation that declares `dsh.bundle.patch`,
|
|
345
|
-
*
|
|
346
|
-
* manager
|
|
548
|
+
* an `icon`, and `./locale/*.json` display metadata, selected by no shipped
|
|
549
|
+
* template, and offered switched off by the plugin manager
|
|
550
|
+
* ([rationale](../../../../.agents/notes/implemented/process/2026-09-15-shipped-optional-bundles.md),
|
|
551
|
+
* [admission](../../../../.agents/notes/implemented/architecture/2026-09-21-experimental-capabilities-as-optional-bundles.md)).
|
|
347
552
|
*/
|
|
348
|
-
const OPTIONAL_BUNDLES = [
|
|
553
|
+
const OPTIONAL_BUNDLES = [
|
|
554
|
+
"@deepseek-ai/dsh-experimental-agent-team-profile",
|
|
555
|
+
"@deepseek-ai/dsh-experimental-voice-input-bundle",
|
|
556
|
+
"@deepseek-ai/dsh-experimental-auto-review"
|
|
557
|
+
];
|
|
349
558
|
const PROFILE_PATCH_TEMPLATE = `# Your patch layer for this dsh profile, applied after every bundle layer:
|
|
350
559
|
# a top-level YAML array of loader patch entries (id-targeted config
|
|
351
560
|
# overrides, disables, and insert lists; \`!!js\` expressions allowed).
|
|
@@ -523,7 +732,7 @@ async function createRuntimeResolution(options) {
|
|
|
523
732
|
const { installAnchor, profile, home = resolveDshHome() } = options;
|
|
524
733
|
const profilesDir = join(home, PROFILES_DIR);
|
|
525
734
|
const manifest = readOptionalProfileManifest(profile);
|
|
526
|
-
const { packageNames, packageDirs, declarers, versions } = collectInstallationScopePackages(installAnchor,
|
|
735
|
+
const { packageNames, packageDirs, declarers, versions } = collectInstallationScopePackages(installAnchor, new Set(profile?.skippedBundles.map((skipped) => skipped.packageName)));
|
|
527
736
|
const profileDeclarers = /* @__PURE__ */ new Map();
|
|
528
737
|
const profileVersions = /* @__PURE__ */ new Map();
|
|
529
738
|
const localPackageNames = profile === void 0 ? [] : installedProfilePackageNames(profile, manifest);
|
|
@@ -559,17 +768,6 @@ function readOptionalProfileManifest(profile) {
|
|
|
559
768
|
throw error;
|
|
560
769
|
}
|
|
561
770
|
}
|
|
562
|
-
/**
|
|
563
|
-
* Identify selected bundles that did not produce a loaded layer.
|
|
564
|
-
* @param profile - loaded profile, when present.
|
|
565
|
-
* @param manifest - its parsed manifest, when present.
|
|
566
|
-
* @returns selected bundle names missing from the loaded layers, for resolution and diagnostics.
|
|
567
|
-
*/
|
|
568
|
-
function skippedProfileBundles(profile, manifest) {
|
|
569
|
-
const selected = manifest?.dsh?.profile?.bundles ?? [];
|
|
570
|
-
const loaded = new Set(profile?.layers.map((layer) => layer.packageName));
|
|
571
|
-
return new Set(selected.filter((name) => !loaded.has(name)));
|
|
572
|
-
}
|
|
573
771
|
/** Return installed direct dependencies that Node resolves before profile fallback. */
|
|
574
772
|
function installedProfilePackageNames(profile, manifest) {
|
|
575
773
|
if (manifest === void 0) return [];
|
|
@@ -711,7 +909,8 @@ function resolveBundleDir(binName, packageName, installAnchor, profileDir) {
|
|
|
711
909
|
* Load an already initialized profile directory without resolving it through
|
|
712
910
|
* the shared Harness home. This is used by application-owned profiles whose
|
|
713
911
|
* package project and lifecycle belong to that application.
|
|
714
|
-
* Unreadable bundles
|
|
912
|
+
* Unreadable bundles, and bundles whose own dsh peers the profile does not exempt, are skipped
|
|
913
|
+
* without changing the manifest and listed in `skippedBundles`; nothing is printed.
|
|
715
914
|
* @param binName - the diagnostic prefix on thrown errors.
|
|
716
915
|
* @param dir - absolute profile package directory.
|
|
717
916
|
* @param installAnchor - absolute path of the owning dsh app's package.json.
|
|
@@ -721,10 +920,15 @@ function resolveBundleDir(binName, packageName, installAnchor, profileDir) {
|
|
|
721
920
|
function loadProfileDirectory(binName, dir, installAnchor, options = {}) {
|
|
722
921
|
const bundles = readProfileManifest(binName, dir).dsh?.profile?.bundles ?? [];
|
|
723
922
|
const layers = [];
|
|
923
|
+
const skippedBundles = [];
|
|
924
|
+
const exemptions = bundles.length === 0 ? {} : readProfileVersionExemptions(dir);
|
|
724
925
|
for (const packageName of bundles) try {
|
|
725
926
|
const packageDir = resolveBundleDir(binName, packageName, installAnchor, dir);
|
|
726
|
-
const
|
|
927
|
+
const bundleManifest = readProfileManifest(binName, packageDir);
|
|
928
|
+
const bundle = bundleManifest.dsh?.bundle;
|
|
727
929
|
if (bundle === void 0) throw new Error(`${binName}: profile bundle ${JSON.stringify(packageName)} declares no dsh.bundle in its package.json`);
|
|
930
|
+
const issue = evaluatePluginCompatibility(bundleManifest, exemptions);
|
|
931
|
+
if (issue !== void 0 && !issue.exempted) throw new Error(pluginCompatibilityWarning(issue));
|
|
728
932
|
const patchPaths = bundlePatchPaths(packageDir, bundle);
|
|
729
933
|
const patches = patchPaths.flatMap((patchPath) => loadOverlayPatches(binName, patchPath));
|
|
730
934
|
layers.push({
|
|
@@ -734,7 +938,10 @@ function loadProfileDirectory(binName, dir, installAnchor, options = {}) {
|
|
|
734
938
|
patches
|
|
735
939
|
});
|
|
736
940
|
} catch (error) {
|
|
737
|
-
|
|
941
|
+
skippedBundles.push({
|
|
942
|
+
packageName,
|
|
943
|
+
reason: String(error)
|
|
944
|
+
});
|
|
738
945
|
}
|
|
739
946
|
const patchPath = join(dir, PROFILE_PATCH_FILENAME);
|
|
740
947
|
const patches = options.userLayer !== false && existsSync(patchPath) ? loadOverlayPatches(binName, patchPath) : [];
|
|
@@ -743,13 +950,14 @@ function loadProfileDirectory(binName, dir, installAnchor, options = {}) {
|
|
|
743
950
|
dir,
|
|
744
951
|
layers,
|
|
745
952
|
patchPath,
|
|
746
|
-
patches
|
|
953
|
+
patches,
|
|
954
|
+
skippedBundles
|
|
747
955
|
};
|
|
748
956
|
}
|
|
749
957
|
/**
|
|
750
958
|
* Load a profile: resolve every `dsh.profile.bundles` entry to its patch
|
|
751
|
-
* layer and parse the profile's own patch file. Unreadable
|
|
752
|
-
*
|
|
959
|
+
* layer and parse the profile's own patch file. Unreadable or incompatible bundles
|
|
960
|
+
* are skipped and listed in `skippedBundles`; profile manifest and user patch errors still throw.
|
|
753
961
|
* @param binName - the diagnostic prefix on thrown errors.
|
|
754
962
|
* @param name - the profile name.
|
|
755
963
|
* @param installAnchor - absolute path of the dsh app's package.json (first resolution anchor).
|
|
@@ -1384,17 +1592,27 @@ function internalModules() {
|
|
|
1384
1592
|
modern
|
|
1385
1593
|
};
|
|
1386
1594
|
}
|
|
1595
|
+
/**
|
|
1596
|
+
* Replace a resolver error's message and the same text in its stack.
|
|
1597
|
+
* Node's module-hooks thread serializes errors and returns the stack accessor as a read-only configurable
|
|
1598
|
+
* data property, so a rejected stack assignment redefines the property value.
|
|
1599
|
+
* @param error - resolver error to update in place.
|
|
1600
|
+
* @param message - replacement message.
|
|
1601
|
+
*/
|
|
1602
|
+
function replaceErrorMessage(error, message) {
|
|
1603
|
+
const { message: originalMessage, stack } = error;
|
|
1604
|
+
error.message = message;
|
|
1605
|
+
/* v8 ignore next -- Node's resolver errors always carry a stack */
|
|
1606
|
+
if (stack === void 0) return;
|
|
1607
|
+
const replaced = stack.replace(originalMessage, message);
|
|
1608
|
+
if (!Reflect.set(error, "stack", replaced)) Object.defineProperty(error, "stack", { value: replaced });
|
|
1609
|
+
}
|
|
1387
1610
|
function throwWithImporter(error, routedParent, parent) {
|
|
1388
1611
|
const code = error.code;
|
|
1389
1612
|
if (error instanceof Error && (code === "ERR_MODULE_NOT_FOUND" || code === "ERR_PACKAGE_PATH_NOT_EXPORTED")) {
|
|
1390
1613
|
const routedPath = fileURLToPath(routedParent);
|
|
1391
1614
|
const parentPath = fileURLToPath(parent);
|
|
1392
|
-
|
|
1393
|
-
const message = originalMessage.replaceAll(routedParent, parent).replaceAll(routedPath, parentPath);
|
|
1394
|
-
const stack = error.stack;
|
|
1395
|
-
error.message = message;
|
|
1396
|
-
/* v8 ignore next -- Node's resolver errors always carry a stack */
|
|
1397
|
-
if (stack !== void 0) error.stack = stack.replace(originalMessage, message);
|
|
1615
|
+
replaceErrorMessage(error, error.message.replaceAll(routedParent, parent).replaceAll(routedPath, parentPath));
|
|
1398
1616
|
}
|
|
1399
1617
|
throw error;
|
|
1400
1618
|
}
|
|
@@ -1780,6 +1998,161 @@ function readPluginMeta(specifier, parentURL) {
|
|
|
1780
1998
|
}
|
|
1781
1999
|
}
|
|
1782
2000
|
//#endregion
|
|
2001
|
+
//#region lib/types/compatibility-preflight.js
|
|
2002
|
+
/** Compatibility checks at the composition entry points DSH owns; no Loader instrumentation. */
|
|
2003
|
+
function readManifest(filename) {
|
|
2004
|
+
return JSON.parse(readFileSync(filename, "utf8"));
|
|
2005
|
+
}
|
|
2006
|
+
/** Render the patch wording an Include would report, through the profile's logger. */
|
|
2007
|
+
function patchWarning(ctx) {
|
|
2008
|
+
return (message, ...args) => {
|
|
2009
|
+
let index = 0;
|
|
2010
|
+
ctx.logger.warn(message.replace(/%C/g, () => JSON.stringify(args[index++])));
|
|
2011
|
+
};
|
|
2012
|
+
}
|
|
2013
|
+
function manifestOf(ctx, name, parentURL) {
|
|
2014
|
+
if (name.startsWith("cordis:")) return void 0;
|
|
2015
|
+
const specifier = name.startsWith("#") ? resolvePluginResource(name, parentURL) : name;
|
|
2016
|
+
const packages = ctx.get("pluginPackages");
|
|
2017
|
+
const pkg = packages?.packageOf(specifier, parentURL);
|
|
2018
|
+
if (pkg !== void 0) return readManifest(pkg.manifestPath);
|
|
2019
|
+
const bare = barePackageName(specifier);
|
|
2020
|
+
if (bare !== void 0 && packages === void 0) for (const path of createRequire(parentURL).resolve.paths(bare)) {
|
|
2021
|
+
const filename = join(path, bare, "package.json");
|
|
2022
|
+
if (existsSync(filename)) return readManifest(filename);
|
|
2023
|
+
}
|
|
2024
|
+
if (!isAbsolute(specifier) && !specifier.startsWith(".") && !specifier.startsWith("file:")) return void 0;
|
|
2025
|
+
const url = isAbsolute(specifier) ? pathToFileURL(specifier) : new URL(specifier, parentURL);
|
|
2026
|
+
let dir;
|
|
2027
|
+
try {
|
|
2028
|
+
dir = dirname(realpathSync(fileURLToPath(url)));
|
|
2029
|
+
} catch (error) {
|
|
2030
|
+
if ([
|
|
2031
|
+
"ENOENT",
|
|
2032
|
+
"ENOTDIR",
|
|
2033
|
+
"EISDIR"
|
|
2034
|
+
].includes(String(error.code))) return void 0;
|
|
2035
|
+
throw error;
|
|
2036
|
+
}
|
|
2037
|
+
while (true) try {
|
|
2038
|
+
return readManifest(join(dir, "package.json"));
|
|
2039
|
+
} catch (error) {
|
|
2040
|
+
if (error.code !== "ENOENT") throw error;
|
|
2041
|
+
const parent = dirname(dir);
|
|
2042
|
+
if (parent === dir) return void 0;
|
|
2043
|
+
dir = parent;
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
/** Prepare profile or preset rows before the owning DSH caller passes them to Loader.
|
|
2047
|
+
* Only a compatibility conflict denies a row: an entry whose manifest cannot be resolved keeps
|
|
2048
|
+
* the Loader's own import failure. A denied ordinary row gains `disabled`; a native Include that
|
|
2049
|
+
* reaches a denied plugin is denied as a whole, because its file is never rewritten.
|
|
2050
|
+
* @param ctx Context carrying launcher-owned profile facts; non-profile contexts retain their rows.
|
|
2051
|
+
* @param entries Complete effective entry list, after patch composition.
|
|
2052
|
+
* @param parentURL Resolution base of the tree that will import these rows.
|
|
2053
|
+
* @param binName Diagnostic prefix for a denied row; defaults to `dsh`.
|
|
2054
|
+
* @returns Detached rows with incompatible entries denied; reads the profile compatibility file once.
|
|
2055
|
+
* @throws For malformed compatibility permissions or a profile composition without a resolution base.
|
|
2056
|
+
*/
|
|
2057
|
+
function prepareProfileEntries(ctx, entries, parentURL, binName = "dsh") {
|
|
2058
|
+
return preflight(ctx, entries, parentURL, (row, reason) => {
|
|
2059
|
+
const label = typeof row.id === "string" ? `row ${JSON.stringify(row.id)}` : row.name;
|
|
2060
|
+
process.stderr.write(`${binName}: disabling profile plugin ${label}: ${reason}\n`);
|
|
2061
|
+
}).rows;
|
|
2062
|
+
}
|
|
2063
|
+
function preflight(ctx, entries, parentURL, report) {
|
|
2064
|
+
const rows = structuredClone(entries);
|
|
2065
|
+
const profile = ctx.get("profileContext");
|
|
2066
|
+
if (profile === void 0) return {
|
|
2067
|
+
rows,
|
|
2068
|
+
blocked: false
|
|
2069
|
+
};
|
|
2070
|
+
if (parentURL === void 0) throw new Error("Profile compatibility preflight requires a resolution base");
|
|
2071
|
+
const { exemptions, warnings } = readProfileCompatibility(profile.dir);
|
|
2072
|
+
for (const warning of warnings) process.stderr.write(`${warning}\n`);
|
|
2073
|
+
const includes = /* @__PURE__ */ new Set();
|
|
2074
|
+
/** Only a compatibility conflict denies a row; every other failure keeps the Loader's own diagnosis. */
|
|
2075
|
+
const denial = (row, base) => {
|
|
2076
|
+
try {
|
|
2077
|
+
const manifest = manifestOf(ctx, row.name, base);
|
|
2078
|
+
if (manifest === void 0) return void 0;
|
|
2079
|
+
const issue = evaluatePluginCompatibility(manifest, exemptions);
|
|
2080
|
+
return issue === void 0 || issue.exempted ? void 0 : pluginCompatibilityWarning(issue);
|
|
2081
|
+
} catch (error) {
|
|
2082
|
+
return `its declared peer dependencies cannot be validated: ${error instanceof Error ? error.message : String(error)}`;
|
|
2083
|
+
}
|
|
2084
|
+
};
|
|
2085
|
+
const deny = (row, reason) => {
|
|
2086
|
+
row.disabled = true;
|
|
2087
|
+
if (row.group) row.group = false;
|
|
2088
|
+
report(row, reason);
|
|
2089
|
+
};
|
|
2090
|
+
const check = (rows, base) => {
|
|
2091
|
+
let blocked = false;
|
|
2092
|
+
for (const row of rows) {
|
|
2093
|
+
if (row.disabled === true && !row.group) continue;
|
|
2094
|
+
const conflict = denial(row, base);
|
|
2095
|
+
if (conflict !== void 0) {
|
|
2096
|
+
deny(row, conflict);
|
|
2097
|
+
blocked = true;
|
|
2098
|
+
continue;
|
|
2099
|
+
}
|
|
2100
|
+
if ((row.group === true || row.name === "cordis:group" || row.name === "@deepseek-ai/cordis-plugin-group") && Array.isArray(row.config) && check(row.config, base)) blocked = true;
|
|
2101
|
+
if (row.name !== "cordis:include" && row.name !== "@deepseek-ai/cordis-plugin-include") continue;
|
|
2102
|
+
const reached = includedConflicts(row, base);
|
|
2103
|
+
if (reached !== void 0) {
|
|
2104
|
+
deny(row, reached);
|
|
2105
|
+
blocked = true;
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
return blocked;
|
|
2109
|
+
};
|
|
2110
|
+
/** Whether a native Include reaches a denied plugin; an unreadable one has no compatibility opinion. */
|
|
2111
|
+
const includedConflicts = (row, base) => {
|
|
2112
|
+
const config = row.config;
|
|
2113
|
+
if (typeof config?.path !== "string" || ![
|
|
2114
|
+
".yml",
|
|
2115
|
+
".yaml",
|
|
2116
|
+
".json"
|
|
2117
|
+
].includes(extname(config.path))) return;
|
|
2118
|
+
const requested = isAbsolute(config.path) ? config.path : fileURLToPath(new URL(config.path, base));
|
|
2119
|
+
const filename = existsSync(requested) ? realpathSync(requested) : requested;
|
|
2120
|
+
if (includes.has(filename)) return void 0;
|
|
2121
|
+
includes.add(filename);
|
|
2122
|
+
try {
|
|
2123
|
+
let data;
|
|
2124
|
+
try {
|
|
2125
|
+
data = load(readFileSync(filename, "utf8"), { schema: entryListSchema });
|
|
2126
|
+
} catch (error) {
|
|
2127
|
+
if (error.code !== "ENOENT" || config.initial === void 0) return void 0;
|
|
2128
|
+
data = config.initial;
|
|
2129
|
+
}
|
|
2130
|
+
if (!Array.isArray(data)) return void 0;
|
|
2131
|
+
return check(applyEntryPatches(data, config.patches, patchWarning(ctx)), pathToFileURL(filename).href) ? `its included file ${filename} reaches an incompatible plugin, and that file is never rewritten` : void 0;
|
|
2132
|
+
} finally {
|
|
2133
|
+
includes.delete(filename);
|
|
2134
|
+
}
|
|
2135
|
+
};
|
|
2136
|
+
return {
|
|
2137
|
+
rows,
|
|
2138
|
+
blocked: check(rows, parentURL)
|
|
2139
|
+
};
|
|
2140
|
+
}
|
|
2141
|
+
/** Apply compatibility policy to the complete patch composition over a profile's empty root.
|
|
2142
|
+
* The caller passes every patch layer of the profile, because this returns one insertion patch for
|
|
2143
|
+
* that empty root: a non-empty root config would lose the caller's override patches by id.
|
|
2144
|
+
* @param ctx Profile context prepared by the launcher.
|
|
2145
|
+
* @param patches Original ordered profile patches; these remain unchanged.
|
|
2146
|
+
* @param parentURL Root Include's resolution base.
|
|
2147
|
+
* @param binName Diagnostic prefix for a denied row; defaults to `dsh`.
|
|
2148
|
+
* @returns One prepared insertion patch for profiles, or the original patches for non-profile callers.
|
|
2149
|
+
*/
|
|
2150
|
+
function prepareProfilePatches(ctx, patches, parentURL, binName = "dsh") {
|
|
2151
|
+
if (ctx.get("profileContext") === void 0) return patches;
|
|
2152
|
+
const rows = prepareProfileEntries(ctx, applyEntryPatches([], patches, patchWarning(ctx)), parentURL, binName);
|
|
2153
|
+
return rows.length === 0 ? [] : [{ insert: rows }];
|
|
2154
|
+
}
|
|
2155
|
+
//#endregion
|
|
1783
2156
|
//#region lib/types/config-schema/native.js
|
|
1784
2157
|
/** Identity checks at the plugin-export and lazy-builder boundaries. */
|
|
1785
2158
|
/**
|
|
@@ -2790,21 +3163,19 @@ async function collectConfigSchemas(profile, entries, resolution, diagnostics =
|
|
|
2790
3163
|
/** Profile schema generation: composition diagnostics, runtime resolution, and boot-free discovery. */
|
|
2791
3164
|
/**
|
|
2792
3165
|
* Generate JSON Schema for a prepared profile's ordered patch layers without mounting plugins or evaluating expressions.
|
|
2793
|
-
*
|
|
3166
|
+
* Imports, Config getters, and lazy builders execute trusted code. Native validators and
|
|
2794
3167
|
* transform callbacks are not executed. Calls must not overlap another profile-resolution interception; collection
|
|
2795
3168
|
* releases its interception on success or rejection, while Node retains imported modules. Supplied layers are not mutated.
|
|
2796
3169
|
* Profile preparation, layer selection, process streams, and exit policy belong to the caller.
|
|
2797
|
-
* @param binName - the diagnostic prefix on thrown manifest errors.
|
|
2798
3170
|
* @param profile - prepared on-disk profile whose directory anchors root module and include resolution.
|
|
2799
3171
|
* @param layers - already parsed patch lists in application order, including caller-selected home and argv overlays.
|
|
2800
3172
|
* @param installAnchor - package manifest anchoring the installation's runtime dependencies.
|
|
2801
3173
|
* @returns a JSON Schema document with declaration references, partial results, and diagnostics under `x-cordis`.
|
|
2802
|
-
* @throws when
|
|
3174
|
+
* @throws when composition or runtime resolution cannot be prepared.
|
|
2803
3175
|
*/
|
|
2804
|
-
async function generateConfigSchema(
|
|
3176
|
+
async function generateConfigSchema(profile, layers, installAnchor) {
|
|
2805
3177
|
const diagnostics = [];
|
|
2806
|
-
const
|
|
2807
|
-
for (const packageName of skippedProfileBundles(profile, manifest)) diagnostics.push({
|
|
3178
|
+
for (const { packageName } of profile.skippedBundles) diagnostics.push({
|
|
2808
3179
|
level: "error",
|
|
2809
3180
|
message: `Selected profile bundle ${JSON.stringify(packageName)} could not be loaded; repair or remove its bundle selection.`
|
|
2810
3181
|
});
|
|
@@ -3161,9 +3532,11 @@ async function reconcileProfilePatches(ctx, patches, binName, requiredIds = [])
|
|
|
3161
3532
|
failed: row.fiber.state === FIBER_FAILED || row.fiber.state === FIBER_DISPOSED
|
|
3162
3533
|
}]);
|
|
3163
3534
|
const { patches: _previous, ...includeConfig } = entry.options.config;
|
|
3535
|
+
const parentURL = new URL(".", new URL(includeConfig.path, entry.parent.tree.ctx.baseUrl)).href;
|
|
3536
|
+
const prepared = prepareProfilePatches(ctx, patches, parentURL, binName);
|
|
3164
3537
|
await entry.update({ config: {
|
|
3165
3538
|
...includeConfig,
|
|
3166
|
-
patches
|
|
3539
|
+
patches: prepared
|
|
3167
3540
|
} });
|
|
3168
3541
|
const results = await Promise.allSettled(previousFibers.map(({ fiber }) => fiber.await()));
|
|
3169
3542
|
await ctx.loader.await();
|
|
@@ -3250,14 +3623,15 @@ function parsePatchList(binName, file, content, label) {
|
|
|
3250
3623
|
return anchorInsertedPluginNames(parsed, file);
|
|
3251
3624
|
}
|
|
3252
3625
|
/**
|
|
3253
|
-
* Compose the
|
|
3254
|
-
*
|
|
3255
|
-
*
|
|
3256
|
-
*
|
|
3257
|
-
*
|
|
3258
|
-
*
|
|
3259
|
-
*
|
|
3260
|
-
*
|
|
3626
|
+
* Compose the configured entry list: parse the base config file with the
|
|
3627
|
+
* include's entry-list dialect, apply every layer's patches as ONE flattened
|
|
3628
|
+
* list through the include's own patch algorithm (`applyEntryPatches`) — the
|
|
3629
|
+
* same call `boot()` makes, so even patch-visibility corner cases (a later
|
|
3630
|
+
* layer targeting a group child a plain config replacement introduced, which
|
|
3631
|
+
* the single-pass id index never sees) compose identically — then render the
|
|
3632
|
+
* result as YAML in the same dialect (`!!js` expressions print verbatim,
|
|
3633
|
+
* unevaluated). Row admission is a later stage: a plugin row the compatibility
|
|
3634
|
+
* policy denies still appears here, while a denied bundle contributes no layer.
|
|
3261
3635
|
*
|
|
3262
3636
|
* Every run of rows from the same file and patch layers is preceded by a `# ==` comment
|
|
3263
3637
|
* naming the file that contributed the rows and any layers that patched them,
|
|
@@ -3362,11 +3736,12 @@ function groupedDump(composed, entryOrigins) {
|
|
|
3362
3736
|
* @param patches - initial app and user patches, applied in order.
|
|
3363
3737
|
* @param bareModuleBaseUrl - optional installed-host base for bare package
|
|
3364
3738
|
* names; relative names continue to resolve beside the configuration file.
|
|
3739
|
+
* @param binName - diagnostic prefix for a profile plugin denied by compatibility policy; defaults to `dsh`.
|
|
3365
3740
|
* @returns the created root Include entry, or `undefined` when a surface
|
|
3366
3741
|
* disposed the whole tree (taking the Loader service with it) while the
|
|
3367
3742
|
* entry creation was in flight.
|
|
3368
3743
|
*/
|
|
3369
|
-
async function mountRootInclude(ctx, absoluteConfigPath, patches = [], bareModuleBaseUrl) {
|
|
3744
|
+
async function mountRootInclude(ctx, absoluteConfigPath, patches = [], bareModuleBaseUrl, binName = "dsh") {
|
|
3370
3745
|
ctx.loader.builtins.include = bareModuleBaseUrl === void 0 ? Include : class HostResolvedRootInclude extends Include {
|
|
3371
3746
|
import(name, getOuterStack) {
|
|
3372
3747
|
const specifier = isAbsolute(name) ? pathToFileURL(name).href : name;
|
|
@@ -3379,12 +3754,13 @@ async function mountRootInclude(ctx, absoluteConfigPath, patches = [], bareModul
|
|
|
3379
3754
|
}
|
|
3380
3755
|
};
|
|
3381
3756
|
ctx.loader.builtins.group = Group;
|
|
3757
|
+
const prepared = prepareProfilePatches(ctx, [...patches], pathToFileURL(dirname(absoluteConfigPath)).href + "/", binName);
|
|
3382
3758
|
const rootInclude = {
|
|
3383
3759
|
id: "include",
|
|
3384
3760
|
name: "cordis:include",
|
|
3385
3761
|
config: {
|
|
3386
3762
|
path: pathToFileURL(absoluteConfigPath).href,
|
|
3387
|
-
...
|
|
3763
|
+
...prepared.length > 0 ? { patches: prepared } : {}
|
|
3388
3764
|
}
|
|
3389
3765
|
};
|
|
3390
3766
|
const includeId = await ctx.loader.create(rootInclude);
|
|
@@ -3417,11 +3793,22 @@ async function observeLoaderRejectionCheckpoint(reasons) {
|
|
|
3417
3793
|
*/
|
|
3418
3794
|
const FAIL_LOUD_RELEASE_TIMEOUT_MS = 2e3;
|
|
3419
3795
|
/**
|
|
3420
|
-
* Install before boot to turn
|
|
3421
|
-
*
|
|
3422
|
-
* {@link auditStartupEntries} is
|
|
3423
|
-
*
|
|
3424
|
-
*
|
|
3796
|
+
* Install before boot to turn an unhandled rejection or an uncaught exception,
|
|
3797
|
+
* at any point in the process lifetime, into one labelled stderr diagnostic and
|
|
3798
|
+
* `exit(1)`. A rejection already included by {@link auditStartupEntries} is
|
|
3799
|
+
* ignored during its process checkpoint; every other rejection and every
|
|
3800
|
+
* uncaught exception remains fatal. Control never returns to the failed
|
|
3801
|
+
* operation after either: only the throw site knows which state is intact, and
|
|
3802
|
+
* a listener that threw mid-update (a stream `'data'` handler, a half-applied
|
|
3803
|
+
* registry write) leaves silently wrong results behind if it were resumed. The
|
|
3804
|
+
* event loop keeps running only until the release hook settles or times out.
|
|
3805
|
+
* Stdout remains untouched for ACP; the returned function removes both handlers.
|
|
3806
|
+
*
|
|
3807
|
+
* The diagnostic is `util.inspect(err)`, not `err.stack`: a `node:fs` error's
|
|
3808
|
+
* `code`, `syscall`, and `path` and any `cause` chain are enumerable properties
|
|
3809
|
+
* that the stack line omits, and they are what a crash report needs. Once a
|
|
3810
|
+
* handler is installed Node prints nothing of its own, so this line is the
|
|
3811
|
+
* only record of the failure.
|
|
3425
3812
|
*
|
|
3426
3813
|
* The Loader mounts entries concurrently, so a surface that owns the terminal
|
|
3427
3814
|
* can already hold it when a sibling entry rejects. Exiting straight from the
|
|
@@ -3443,15 +3830,17 @@ const FAIL_LOUD_RELEASE_TIMEOUT_MS = 2e3;
|
|
|
3443
3830
|
* @param release - optional teardown awaited before exit, used by a
|
|
3444
3831
|
* terminal-owning surface to restore the terminal. Its own failure is
|
|
3445
3832
|
* swallowed because the pending fatal exit already owns the outcome.
|
|
3446
|
-
* @returns the uninstaller that removes
|
|
3833
|
+
* @returns the uninstaller that removes both handlers.
|
|
3447
3834
|
*/
|
|
3448
3835
|
function installFailLoud(binName, proc = process, release) {
|
|
3449
3836
|
let exiting = false;
|
|
3450
|
-
const
|
|
3451
|
-
if (assembledActivationRejections.has(err)) return;
|
|
3837
|
+
const report = (err, label) => {
|
|
3452
3838
|
if (exiting) return;
|
|
3453
3839
|
exiting = true;
|
|
3454
|
-
proc.stderr.write(`${binName}:
|
|
3840
|
+
proc.stderr.write(`${binName}: ${label}: ${inspect(err, {
|
|
3841
|
+
depth: 4,
|
|
3842
|
+
maxArrayLength: 50
|
|
3843
|
+
})}\n`);
|
|
3455
3844
|
if (release === void 0) {
|
|
3456
3845
|
proc.exit(1);
|
|
3457
3846
|
return;
|
|
@@ -3467,8 +3856,19 @@ function installFailLoud(binName, proc = process, release) {
|
|
|
3467
3856
|
proc.exit(1);
|
|
3468
3857
|
})();
|
|
3469
3858
|
};
|
|
3470
|
-
const
|
|
3471
|
-
|
|
3859
|
+
const onRejection = (err) => {
|
|
3860
|
+
if (assembledActivationRejections.has(err)) return;
|
|
3861
|
+
report(err, "fatal load failure");
|
|
3862
|
+
};
|
|
3863
|
+
const onException = (err) => {
|
|
3864
|
+
report(err, "fatal uncaught exception");
|
|
3865
|
+
};
|
|
3866
|
+
const uninstall = () => {
|
|
3867
|
+
proc.off("unhandledRejection", onRejection);
|
|
3868
|
+
proc.off("uncaughtException", onException);
|
|
3869
|
+
};
|
|
3870
|
+
proc.on("unhandledRejection", onRejection);
|
|
3871
|
+
proc.on("uncaughtException", onException);
|
|
3472
3872
|
return uninstall;
|
|
3473
3873
|
}
|
|
3474
3874
|
/**
|
|
@@ -3733,7 +4133,7 @@ async function boot(binName, absoluteConfigPath, patches, prepare, bareModuleBas
|
|
|
3733
4133
|
await ctx.plugin(Loader);
|
|
3734
4134
|
await prepare?.(ctx);
|
|
3735
4135
|
stage = "plugin tree failed to load";
|
|
3736
|
-
await mountRootInclude(ctx, absoluteConfigPath, patches, bareModuleBaseUrl);
|
|
4136
|
+
await mountRootInclude(ctx, absoluteConfigPath, patches, bareModuleBaseUrl, binName);
|
|
3737
4137
|
await ctx.get("loader")?.await();
|
|
3738
4138
|
if (ctx.get("loader") === void 0) return ctx;
|
|
3739
4139
|
await auditStartupEntries(ctx, binName);
|
|
@@ -3787,4 +4187,4 @@ function addHarnessSourceSection(ctx, sourceRoot) {
|
|
|
3787
4187
|
});
|
|
3788
4188
|
}
|
|
3789
4189
|
//#endregion
|
|
3790
|
-
export { DEFAULT_PROFILE_BUNDLES, FAIL_LOUD_RELEASE_TIMEOUT_MS, HARNESS_SOURCE_SECTION, LOADER_EXPRESSION_SCHEMA, OPTIONAL_BUNDLES, PROFILES_DIR, PROFILE_PATCH_FILENAME, PROFILE_TEMPLATES, PluginPackages, StartupError, addHarnessSourceSection, auditStartupEntries, boot, bundlePatchFiles, bundlePatchPaths, composeEntries, createConfigProjector, createRuntimeResolution, generateConfigSchema, initProfile, installFailLoud, isNativeConfigSchema, loadEnv, loadLayeredEnv, loadOptionalPatches, loadOverlayPatches, loadProfile, loadProfileDirectory, mountRootInclude, readPluginMeta, readProfileManifest, readProfilePatches, readProfilePlugins, reconcileProfilePatches, reconcileProfilePlugins, removeLinkProjections, renderConfigDump, resolveBundleDir, resolveConfigPath, resolveInvokingDirectory, resolveProfileDir, resolveTelemetryPatch, restoreInvokingDirectory, sanitizeProfile, writeProfileBundles, writeProfileManifest };
|
|
4190
|
+
export { DEFAULT_PROFILE_BUNDLES, FAIL_LOUD_RELEASE_TIMEOUT_MS, HARNESS_SOURCE_SECTION, LOADER_EXPRESSION_SCHEMA, OPTIONAL_BUNDLES, PROFILES_DIR, PROFILE_COMPATIBILITY_FILENAME, PROFILE_PATCH_FILENAME, PROFILE_TEMPLATES, PluginPackages, StartupError, addHarnessSourceSection, auditStartupEntries, boot, bundlePatchFiles, bundlePatchPaths, composeEntries, createConfigProjector, createRuntimeResolution, evaluatePluginCompatibility, generateConfigSchema, getDshRuntimeVersion, initProfile, installFailLoud, isNativeConfigSchema, loadEnv, loadLayeredEnv, loadOptionalPatches, loadOverlayPatches, loadProfile, loadProfileDirectory, mountRootInclude, pluginCompatibilityWarning, prepareProfileEntries, prepareProfilePatches, readPluginMeta, readProfileCompatibility, readProfileManifest, readProfilePatches, readProfilePlugins, readProfileVersionExemptions, reconcileProfilePatches, reconcileProfilePlugins, removeLinkProjections, renderConfigDump, reportSkippedBundles, resolveBundleDir, resolveConfigPath, resolveInvokingDirectory, resolveProfileDir, resolveTelemetryPatch, restoreInvokingDirectory, sanitizeProfile, setProfileVersionExemption, writeProfileBundles, writeProfileManifest };
|