@songtonyli/dsh-cli 0.1.75 → 0.1.77
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/dsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +117 -116
- package/node_modules/@deepseek-ai/dsh-acp/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-agent/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +3 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +7 -6
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +7 -6
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +9 -10
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +7 -8
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +490 -62
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +3 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +42 -41
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +72 -73
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/client.js +166 -21
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/index.js +36 -9
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/inventory.js +101 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/types/client/model.js +23 -7
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -13
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +40 -26
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +237 -11
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +7 -10
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +10 -7
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +8 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +9 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +136 -6
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +25 -6
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +3 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.md +22 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.zh.md +22 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/index.js +238 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +6 -6
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +12 -11
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +3 -5
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +6 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +14 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +8 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +3 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +34 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +16 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +356 -124
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +30 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +25 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +5 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +12 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +18 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +34 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +16 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +17 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +314 -85
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +72 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +1637 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +62 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +1 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +17 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +4 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +4 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +117 -66
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +13 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +176 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +324 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +5 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +4 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +6 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +7 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +8 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +15 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +12 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +14 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +15 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +9 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +75 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +25 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +14 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +18 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +11 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +23 -26
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +95 -8
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -7
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +15 -13
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +10 -4
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +38 -38
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +9 -22
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +18 -26
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +14 -32
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +70 -17
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/worker.js +16 -12
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +14 -20
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.md +68 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.zh.md +68 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/cordis.patch.yml +10 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/icon.svg +9 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +50 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +10 -13
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +26 -12
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-headless/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +37 -37
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +14 -14
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +13 -13
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/failure.js +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +3 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +43 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +117 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +117 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +661 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.host.js +407 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.remote-client.js +259 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index-url.js +27 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +351 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse-thread.js +61 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/parse.js +36 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/search.js +135 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/tools.js +128 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/worker.js +8 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/worker.cjs +1759 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +89 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.md +74 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/README.zh.md +74 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/lib/index.js +320 -0
- package/node_modules/@deepseek-ai/{dsh-client-ui-slots → dsh-plugin-market-index}/package.json +15 -12
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +5 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +34 -34
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +18 -21
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +35 -35
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-skill-office/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-export-pdf/SKILL.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-render/SKILL.md +1 -1
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +46 -46
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subprocess-local/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/index.js +252 -47
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +125 -4
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +19 -19
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tools/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +45 -26
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +20 -10
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/py-types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ts-types.js +26 -9
- package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +10 -10
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +10 -10
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +347 -136
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +78 -78
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +140 -139
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +18 -20
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -18
- package/node_modules/@earendil-works/pi-ai/README.md +5 -34
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +59 -54
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +16 -18
- package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +29 -27
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +15 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +21 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/transform-messages.js +28 -15
- package/node_modules/@earendil-works/pi-ai/dist/index.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/anthropic.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google-vertex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/kimi-coding.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/meta.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/kimi-coding.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode-go.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js +26 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +5 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +3 -0
- package/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/node_modules/minisearch/LICENSE.txt +7 -0
- package/node_modules/minisearch/README.md +347 -0
- package/node_modules/minisearch/dist/cjs/SearchableMap.cjs +549 -0
- package/node_modules/minisearch/dist/cjs/index.cjs +2007 -0
- package/node_modules/minisearch/dist/es/SearchableMap.js +547 -0
- package/node_modules/minisearch/dist/es/index.js +2005 -0
- package/node_modules/minisearch/dist/umd/SearchableMap.js +555 -0
- package/node_modules/minisearch/dist/umd/index.js +2013 -0
- package/node_modules/minisearch/package.json +90 -0
- package/node_modules/minisearch/src/MiniSearch.test.js +1997 -0
- package/node_modules/minisearch/src/MiniSearch.ts +2261 -0
- package/node_modules/minisearch/src/SearchableMap/SearchableMap.test.js +314 -0
- package/node_modules/minisearch/src/SearchableMap/SearchableMap.ts +424 -0
- package/node_modules/minisearch/src/SearchableMap/TreeIterator.ts +103 -0
- package/node_modules/minisearch/src/SearchableMap/fuzzySearch.ts +130 -0
- package/node_modules/minisearch/src/SearchableMap/types.ts +18 -0
- package/node_modules/minisearch/src/index.ts +4 -0
- package/node_modules/minisearch/src/testSetup/jest.js +1 -0
- package/package.json +305 -301
- package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-client-store/README.i18n.yaml +0 -28
- package/node_modules/@deepseek-ai/dsh-client-store/README.md +0 -46
- package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +0 -46
- package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +0 -180
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +0 -121
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +0 -92
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +0 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +0 -221
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +0 -221
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Button.module.css +0 -77
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Checkbox.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CodeCard.module.css +0 -83
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/CommandText.module.css +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +0 -118
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DiffBlock.module.css +0 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/DisclosureRow.module.css +0 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/FileTypeIcon.module.css +0 -50
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +0 -90
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImageLightbox.module.css +0 -54
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ImagePreview.module.css +0 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/InlineEditor.module.css +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Input.module.css +0 -38
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/JsonTree.module.css +0 -345
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +0 -285
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuGroup.module.css +0 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/MenuSurface.module.css +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +0 -129
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Pill.module.css +0 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ReadBlock.module.css +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +0 -73
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SearchBlock.module.css +0 -112
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +0 -76
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +0 -55
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ShortcutKeys.module.css +0 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +0 -100
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Switch.module.css +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tag.module.css +0 -57
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +0 -205
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +0 -88
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +0 -101
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +0 -63
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/WebBlock.module.css +0 -141
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +0 -12583
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/CodeBlock.module.css +0 -145
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/JsonBlock.module.css +0 -32
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +0 -467
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +0 -53
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +0 -145
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/BrandWordmark.d.ts +0 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Button.d.ts +0 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Checkbox.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeFileIcon.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CodeToolbar.d.ts +0 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/CommandText.d.ts +0 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +0 -33
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConnectionIndicator.d.ts +0 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DiffBlock.d.ts +0 -52
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +0 -38
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FileTypeIcon.d.ts +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FishLogo.d.ts +0 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/FoldToggle.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +0 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCardGroup.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImageLightbox.d.ts +0 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ImagePreview.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/InlineEditor.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Input.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/JsonTree.d.ts +0 -59
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +0 -34
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +0 -143
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuGroup.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/MenuSurface.d.ts +0 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Modal.d.ts +0 -44
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/OnboardingSurface.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +0 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +0 -51
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Pill.d.ts +0 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReadBlock.d.ts +0 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +0 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/RiskConfirmation.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SearchBlock.d.ts +0 -72
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +0 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +0 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ShortcutKeys.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +0 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Switch.d.ts +0 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tag.d.ts +0 -32
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +0 -86
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +0 -63
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/WebBlock.d.ts +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ansi.d.ts +0 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/clipboard.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-icon-artwork.d.ts +0 -54
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +0 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +0 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/darwin-desktop.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/file-size.d.ts +0 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/focus.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/guide-artwork.d.ts +0 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/head-tail-cap.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +0 -385
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +0 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +0 -102
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/input-modality.d.ts +0 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/keyboard-composition.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/CodeBlock.d.ts +0 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/JsonBlock.d.ts +0 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownDelegate.d.ts +0 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/MarkdownText.d.ts +0 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/cjkFriendlyStrong.d.ts +0 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/file-link.d.ts +0 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/highlight.d.ts +0 -148
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/incremental.d.ts +0 -80
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/katex.d.ts +0 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/local-image-syntax.d.ts +0 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/mathCompatibility.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/parse.d.ts +0 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/plain-text.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/render.d.ts +0 -141
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/markdown/useViewportHighlighting.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +0 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +0 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/pointer-grace.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/rank-by-name.d.ts +0 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/relative-time.d.ts +0 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +0 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +0 -70
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +0 -214
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/use-copy-feedback.d.ts +0 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +0 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +0 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useDismissOnOutsidePointer.d.ts +0 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useModalLayer.d.ts +0 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/user-text.d.ts +0 -29
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/user-text.module.css +0 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/LICENSE +0 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.i18n.yaml +0 -55
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.md +0 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/README.zh.md +0 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/index.js +0 -577
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/index.d.ts +0 -955
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/renderer.d.ts +0 -271
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/lib/types/store.d.ts +0 -3
- package/node_modules/@earendil-works/pi-ai/dist/utils/assistant-message-frame.js +0 -425
|
@@ -103,6 +103,8 @@ window.__ModuleLoader__.load({
|
|
|
103
103
|
extensionsTitle: "实验性插件",
|
|
104
104
|
moreTitle: "实验性插件",
|
|
105
105
|
moreAction: "更多",
|
|
106
|
+
tabsLabel: "插件视图",
|
|
107
|
+
installedTab: "已安装",
|
|
106
108
|
statusProblem: "异常",
|
|
107
109
|
statusBeta: "实验性",
|
|
108
110
|
reasonLabel: "原因",
|
|
@@ -167,6 +169,8 @@ window.__ModuleLoader__.load({
|
|
|
167
169
|
sentenceSeparator: "",
|
|
168
170
|
installRun: "安装",
|
|
169
171
|
installChecking: "正在检查…",
|
|
172
|
+
installConfirmedTitle: "安装插件",
|
|
173
|
+
installConfirmedRefused: "无法安装此插件",
|
|
170
174
|
installProblemInvalid: "无法识别这个包名或地址:{reason}",
|
|
171
175
|
installProblemInstalled: "该插件已安装。如需升级,请卸载后重新安装",
|
|
172
176
|
installProblemShipped: "该插件随 DSH 提供,升级 DSH 即可获得新版本",
|
|
@@ -287,7 +291,7 @@ window.__ModuleLoader__.load({
|
|
|
287
291
|
reasonStopProfile: "这个 profile 没有启用 HMR,正在使用的包要停止后用 dsh plugin 卸载",
|
|
288
292
|
reasonBundleInUse: "其他配置仍在使用这个组合包的组件,请先停用它们",
|
|
289
293
|
reasonStaleApproval: "待允许的安装脚本列表已变化,请重新安装以刷新",
|
|
290
|
-
reasonIncompatibleVersion: "{plugin} 与 DSH {runtime} 不兼容(要求 {
|
|
294
|
+
reasonIncompatibleVersion: "{plugin} 与 DSH {runtime} 不兼容(要求 {requirements}),运行它可能导致崩溃或数据丢失。",
|
|
291
295
|
reasonIncompatibleVersionUnnamed: "这个插件与当前 DSH 版本不兼容,运行它可能导致崩溃或数据丢失。",
|
|
292
296
|
reasonIncompatibleInstall: "请安装与当前 DSH 兼容的插件版本。",
|
|
293
297
|
reasonIncompatibleInstalled: "请卸载后重新安装与当前 DSH 兼容的版本。",
|
|
@@ -323,6 +327,8 @@ window.__ModuleLoader__.load({
|
|
|
323
327
|
extensionsTitle: "Experimental plugins",
|
|
324
328
|
moreTitle: "Experimental plugins",
|
|
325
329
|
moreAction: "More",
|
|
330
|
+
tabsLabel: "Plugin views",
|
|
331
|
+
installedTab: "Installed",
|
|
326
332
|
statusProblem: "Problem",
|
|
327
333
|
statusBeta: "Experimental",
|
|
328
334
|
reasonLabel: "Reason",
|
|
@@ -387,6 +393,8 @@ window.__ModuleLoader__.load({
|
|
|
387
393
|
sentenceSeparator: " ",
|
|
388
394
|
installRun: "Install",
|
|
389
395
|
installChecking: "Checking…",
|
|
396
|
+
installConfirmedTitle: "Install plugin",
|
|
397
|
+
installConfirmedRefused: "This plugin cannot be installed",
|
|
390
398
|
installProblemInvalid: "This is not a package name or address that can be installed: {reason}",
|
|
391
399
|
installProblemInstalled: "This plugin is already installed. To upgrade it, uninstall it and install it again",
|
|
392
400
|
installProblemShipped: "This plugin ships with DSH; upgrading DSH updates it",
|
|
@@ -507,7 +515,7 @@ window.__ModuleLoader__.load({
|
|
|
507
515
|
reasonStopProfile: "This profile runs without HMR; stop it and uninstall the package with dsh plugin.",
|
|
508
516
|
reasonBundleInUse: "Other configuration still uses this bundle's components; switch them off first.",
|
|
509
517
|
reasonStaleApproval: "The pending script approvals changed; install again to refresh them.",
|
|
510
|
-
reasonIncompatibleVersion: "{plugin} is incompatible with DSH {runtime} (requires {
|
|
518
|
+
reasonIncompatibleVersion: "{plugin} is incompatible with DSH {runtime} (requires {requirements}); running it may cause crashes or data loss.",
|
|
511
519
|
reasonIncompatibleVersionUnnamed: "This plugin is incompatible with the running DSH version; running it may cause crashes or data loss.",
|
|
512
520
|
reasonIncompatibleInstall: "Install a plugin version compatible with this DSH.",
|
|
513
521
|
reasonIncompatibleInstalled: "Uninstall it and install a version compatible with this DSH.",
|
|
@@ -633,7 +641,7 @@ window.__ModuleLoader__.load({
|
|
|
633
641
|
return [...named.length === 0 ? [t("reasonIncompatibleVersionUnnamed")] : named.map((plugin) => t("reasonIncompatibleVersion", {
|
|
634
642
|
plugin: `${plugin.name}@${plugin.version}`,
|
|
635
643
|
runtime: plugin.runtimeVersion,
|
|
636
|
-
|
|
644
|
+
requirements: Object.entries(plugin.requirements).map(([name, range]) => `${name} ${range}`).join(", ")
|
|
637
645
|
})), t(error.installing ? "reasonIncompatibleInstall" : "reasonIncompatibleInstalled")].join(t("sentenceSeparator"));
|
|
638
646
|
}
|
|
639
647
|
if (error.code !== "operation-error") return t(CODE_KEYS[error.code]);
|
|
@@ -776,7 +784,7 @@ window.__ModuleLoader__.load({
|
|
|
776
784
|
* this recovery does not apply; test for undefined, because null is a valid entry.
|
|
777
785
|
*/
|
|
778
786
|
function githubRecoveryRegistry(install) {
|
|
779
|
-
if (install.phase !== "failed" || install.failure?.failedAt !== "spec-host" || install.failure.kind !== "network" && install.failure.kind !== "timeout") return void 0;
|
|
787
|
+
if (install.confirmed !== void 0 || install.phase !== "failed" || install.failure?.failedAt !== "spec-host" || install.failure.kind !== "network" && install.failure.kind !== "timeout") return void 0;
|
|
780
788
|
const host = install.subject?.host?.toLowerCase().split(":")[0];
|
|
781
789
|
if (host !== "github.com" && !host?.endsWith(".github.com")) return void 0;
|
|
782
790
|
const resolved = install.registries?.resolved ?? null;
|
|
@@ -911,7 +919,7 @@ window.__ModuleLoader__.load({
|
|
|
911
919
|
};
|
|
912
920
|
/** The dialog back at its spec: the run and its outcome forgotten, the spec and the registries kept. */
|
|
913
921
|
function specAgain(install) {
|
|
914
|
-
const { open, spec, registries, registry, mirrorRecovery } = install;
|
|
922
|
+
const { open, spec, registries, registry, mirrorRecovery, confirmed } = install;
|
|
915
923
|
return {
|
|
916
924
|
...IDLE_INSTALL,
|
|
917
925
|
open,
|
|
@@ -919,7 +927,8 @@ window.__ModuleLoader__.load({
|
|
|
919
927
|
registries,
|
|
920
928
|
registry,
|
|
921
929
|
...install.subject?.selection === void 0 ? {} : { subject: install.subject },
|
|
922
|
-
...mirrorRecovery === void 0 ? {} : { mirrorRecovery }
|
|
930
|
+
...mirrorRecovery === void 0 ? {} : { mirrorRecovery },
|
|
931
|
+
...confirmed === void 0 ? {} : { confirmed }
|
|
923
932
|
};
|
|
924
933
|
}
|
|
925
934
|
/**
|
|
@@ -972,6 +981,8 @@ window.__ModuleLoader__.load({
|
|
|
972
981
|
noticeSeq = 0;
|
|
973
982
|
analyticsAttempt;
|
|
974
983
|
registryRead;
|
|
984
|
+
/** A Discover entry chose the dialog's registry; that choice applies to this dialog only and is never remembered. */
|
|
985
|
+
transientRegistry = false;
|
|
975
986
|
/** The registry last used from this browser, kept across dialogs and page loads; null until one was used. */
|
|
976
987
|
registryMemory = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(null, { persist: { name: "dsh.plugin-manager.install-registry" } });
|
|
977
988
|
/**
|
|
@@ -1007,15 +1018,17 @@ window.__ModuleLoader__.load({
|
|
|
1007
1018
|
/**
|
|
1008
1019
|
* Build the face the tab's slot registration injects.
|
|
1009
1020
|
* @param configLedger - the projection of the plugins carrying configuration, bound beside the tab's own state.
|
|
1021
|
+
* @param pluginTabs - the tabs other plugins contribute through `plugins.tab`.
|
|
1010
1022
|
* @param resolveText - render-time package text resolution supplied by the locale service.
|
|
1011
1023
|
* @returns the tab's snapshot sources and its actions.
|
|
1012
1024
|
*/
|
|
1013
|
-
inject(configLedger, resolveText) {
|
|
1025
|
+
inject(configLedger, pluginTabs, resolveText) {
|
|
1014
1026
|
return {
|
|
1015
1027
|
resolveText,
|
|
1016
1028
|
hooks: {
|
|
1017
1029
|
pluginManager: this.store,
|
|
1018
1030
|
configLedger,
|
|
1031
|
+
pluginTabs,
|
|
1019
1032
|
configurations: this.ctx.configForms.describe()
|
|
1020
1033
|
},
|
|
1021
1034
|
configForm: (id) => this.ctx.configForms.get(id),
|
|
@@ -1027,19 +1040,23 @@ window.__ModuleLoader__.load({
|
|
|
1027
1040
|
},
|
|
1028
1041
|
openInstall: () => {
|
|
1029
1042
|
this.ctx.get("productAnalytics")?.track("plugin_add_button_click", {});
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
+
this.openDialog();
|
|
1044
|
+
},
|
|
1045
|
+
installFrom: ({ spec, registry, title, version }) => {
|
|
1046
|
+
if (!this.openDialog()) return;
|
|
1047
|
+
this.transientRegistry = registry !== void 0;
|
|
1048
|
+
this.patchInstall({
|
|
1049
|
+
spec,
|
|
1050
|
+
confirmed: {
|
|
1051
|
+
title,
|
|
1052
|
+
version
|
|
1053
|
+
},
|
|
1054
|
+
...registry === void 0 ? {} : { registry: {
|
|
1055
|
+
kind: "custom",
|
|
1056
|
+
url: registry
|
|
1057
|
+
} }
|
|
1058
|
+
});
|
|
1059
|
+
this.runInstall();
|
|
1043
1060
|
},
|
|
1044
1061
|
closeInstall: () => {
|
|
1045
1062
|
if (isInstallPending(this.getSnapshot().install.phase)) {
|
|
@@ -1072,7 +1089,9 @@ window.__ModuleLoader__.load({
|
|
|
1072
1089
|
this.patchInstall({ registryOpen: !this.getSnapshot().install.registryOpen });
|
|
1073
1090
|
},
|
|
1074
1091
|
chooseRegistry: (choice) => {
|
|
1075
|
-
if (this.getSnapshot().install.phase
|
|
1092
|
+
if (this.getSnapshot().install.phase !== "idle") return;
|
|
1093
|
+
this.transientRegistry = false;
|
|
1094
|
+
this.patchInstall({
|
|
1076
1095
|
registry: choice,
|
|
1077
1096
|
registryError: false
|
|
1078
1097
|
});
|
|
@@ -1197,6 +1216,29 @@ window.__ModuleLoader__.load({
|
|
|
1197
1216
|
};
|
|
1198
1217
|
}
|
|
1199
1218
|
/**
|
|
1219
|
+
* Open the install dialog: a new one starts from the registry last used here and reads what the Host offers; a hidden
|
|
1220
|
+
* installation reopens as it is.
|
|
1221
|
+
* @returns whether a new dialog started.
|
|
1222
|
+
*/
|
|
1223
|
+
openDialog() {
|
|
1224
|
+
const started = this.getSnapshot().install.requestId === void 0;
|
|
1225
|
+
if (started) {
|
|
1226
|
+
this.transientRegistry = false;
|
|
1227
|
+
this.patch({ install: {
|
|
1228
|
+
...IDLE_INSTALL,
|
|
1229
|
+
open: true,
|
|
1230
|
+
registry: this.registryMemory.getSnapshot() ?? OFFICIAL_REGISTRY
|
|
1231
|
+
} });
|
|
1232
|
+
const read = { choice: this.getSnapshot().install.registry };
|
|
1233
|
+
this.registryRead = read;
|
|
1234
|
+
read.done = this.readRegistries(read).finally(() => {
|
|
1235
|
+
delete read.done;
|
|
1236
|
+
});
|
|
1237
|
+
} else this.patchInstall({ open: true });
|
|
1238
|
+
this.reconcileInstall();
|
|
1239
|
+
return started;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1200
1242
|
* Follow the Host's cancellation window for this dialog's installation.
|
|
1201
1243
|
* @param progress - a request id and phase received from the Host.
|
|
1202
1244
|
*/
|
|
@@ -1483,7 +1525,7 @@ window.__ModuleLoader__.load({
|
|
|
1483
1525
|
url: currentChoice.url.trim()
|
|
1484
1526
|
} : currentChoice;
|
|
1485
1527
|
const registry = selected.kind === "custom" ? selected.url : selected.registry;
|
|
1486
|
-
this.registryMemory.set(selected);
|
|
1528
|
+
if (!this.transientRegistry) this.registryMemory.set(selected);
|
|
1487
1529
|
if (catalogSubject !== void 0) {
|
|
1488
1530
|
this.inspectAbort = void 0;
|
|
1489
1531
|
await this.startInstall({
|
|
@@ -1868,7 +1910,7 @@ window.__ModuleLoader__.load({
|
|
|
1868
1910
|
}
|
|
1869
1911
|
//#endregion
|
|
1870
1912
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-plugin-manager/src/client/PluginManagerPage.module.css.mjs
|
|
1871
|
-
const css = ".-\\34 UeZq_page{box-sizing:border-box;height:100%;color:var(--dsw-alias-label-primary);flex-direction:column;align-items:center;gap:32px;padding:0 clamp(24px,4vw,48px) 48px;display:flex;overflow:auto}.-\\34 UeZq_page>*{width:100%;max-width:960px}.-\\34 UeZq_pageHead{box-sizing:border-box;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding-top:28px;display:flex}[data-platform=darwin] .-\\34 UeZq_pageHead{padding-top:calc(28px + var(--dsh-frame-top-clearance,0px))}.-\\34 UeZq_pageHeading{min-width:0;max-width:100%}.-\\34 UeZq_pageTitle{margin:0;font-size:20px;font-weight:500;line-height:28px}.-\\34 UeZq_pageIntro{color:var(--dsw-alias-label-secondary);align-items:center;gap:4px;margin:4px 0 0;font-size:13px;line-height:20px;display:flex}.-\\34 UeZq_infoButton{width:20px;height:20px;color:var(--dsw-alias-label-caption);flex:none;padding:0}.-\\34 UeZq_toolbar{white-space:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:16px;display:flex}.-\\34 UeZq_addMenu{width:320px;max-width:calc(100vw - 48px)}.-\\34 UeZq_addMenu [role=menuitem]{box-sizing:border-box;gap:10px;height:72px;padding:6px 12px}.-\\34 UeZq_addMenuItem{white-space:normal;flex-direction:column;gap:2px;display:flex}.-\\34 UeZq_addMenuDescription{overflow-wrap:anywhere;max-height:36px;color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.-\\34 UeZq_status,.-\\34 UeZq_failure p,.-\\34 UeZq_empty{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_failure{color:var(--dsw-alias-state-error-primary);align-items:center;gap:10px;display:flex}.-\\34 UeZq_statusWithDot{align-items:center;gap:6px;display:inline-flex}.-\\34 UeZq_group{flex-direction:column;gap:8px;display:flex}.-\\34 UeZq_groupHead{align-items:center;gap:8px;display:flex}.-\\34 UeZq_groupTitle{flex:1;margin:0;font-size:14px;font-weight:500;line-height:22px}.-\\34 UeZq_groupMore{color:color-mix(in srgb, var(--dsw-alias-label-secondary) 60%, var(--dsw-alias-label-tertiary));flex:none;gap:4px;padding-inline-end:0;font-size:14px;font-weight:400;line-height:22px}.-\\34 UeZq_groupMore:hover,.-\\34 UeZq_groupMore:focus-visible{color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_moreHead{align-items:center;gap:8px}.-\\34 UeZq_moreBack{width:28px;color:var(--dsw-alias-label-secondary);padding:0}.-\\34 UeZq_groupInfo{color:var(--dsw-alias-label-caption);align-self:center;align-items:center;display:inline-flex}.-\\34 UeZq_groupInfo:hover,.-\\34 UeZq_groupInfo:focus-visible{color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_statusTag{height:18px;padding:0 7px;font-size:10px;line-height:1}.-\\34 UeZq_card[data-plugin-highlight]{animation:2.4s ease-out -\\34 UeZq_dsh-plugin-highlight}@keyframes -\\34 UeZq_dsh-plugin-highlight{0%,55%{box-shadow:0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 40%, transparent)}to{box-shadow:0 0 #0000}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_card[data-plugin-highlight]{box-shadow:0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 40%, transparent);animation:none}}.-\\34 UeZq_iconButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.-\\34 UeZq_cards{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_card{border-radius:var(--dsw-radius-xl);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);min-width:0;margin:0 -8px}.-\\34 UeZq_cardHead{align-items:center;gap:14px;padding:8px;display:flex}.-\\34 UeZq_cardIcon{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);width:48px;height:48px;color:var(--dsw-alias-label-secondary);flex:none;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_packageImage{object-fit:contain}.-\\34 UeZq_cardMain{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.-\\34 UeZq_titleRow{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.-\\34 UeZq_cardTitle{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.-\\34 UeZq_cardLink{position:relative}.-\\34 UeZq_cardLink:hover{background:var(--dsw-alias-interactive-bg-hover)}.-\\34 UeZq_cardOpen{max-width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:500;line-height:20px}.-\\34 UeZq_cardOpen:after{content:\"\";border-radius:var(--dsw-radius-xl);position:absolute;inset:0}.-\\34 UeZq_cardOpen:focus-visible{outline:none}.-\\34 UeZq_cardOpen:focus-visible:after{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.-\\34 UeZq_cardDesc{color:var(--dsw-alias-label-tertiary);-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:13px;line-height:18px;display:-webkit-box;overflow:hidden}.-\\34 UeZq_skeletonFill{background:var(--dsw-alias-bg-skeleton);animation:2s cubic-bezier(.36,0,.64,1) infinite -\\34 UeZq_dsh-plugin-skeleton}.-\\34 UeZq_skeletonText{align-items:center;height:1lh;display:flex}.-\\34 UeZq_skeletonBar{border-radius:var(--dsw-radius-xs);width:100%;height:12px}.-\\34 UeZq_skeletonHeading{width:48px}.-\\34 UeZq_skeletonTitle{width:min(144px,60%)}.-\\34 UeZq_skeletonDescription{width:min(280px,85%)}.-\\34 UeZq_skeletonIcon{border-color:#0000}.-\\34 UeZq_skeletonActions{width:36px;height:20px}@keyframes -\\34 UeZq_dsh-plugin-skeleton{0%{opacity:1}40%{opacity:.6}80%,to{opacity:1}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_skeletonFill{animation:none}}.-\\34 UeZq_cardEnd{z-index:1;flex:none;align-items:center;gap:8px;display:inline-flex;position:relative}.-\\34 UeZq_iconButton{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-caption);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_iconButton:disabled{opacity:.5;cursor:default}.-\\34 UeZq_addButton,.-\\34 UeZq_addPrimary,.-\\34 UeZq_addMore{border-radius:var(--dsw-radius-md);height:32px;padding:0 12px;font-size:13px;line-height:20px}.-\\34 UeZq_addGroup{flex:none;align-items:stretch;display:inline-flex}.-\\34 UeZq_addPrimary{border-top-right-radius:0;border-bottom-right-radius:0}.-\\34 UeZq_addMore{border-left:.5px solid color-mix(in srgb, var(--dsw-alias-label-primary-foreground) 30%, transparent);border-top-left-radius:0;border-bottom-left-radius:0;width:32px;padding:0}.-\\34 UeZq_iconWrap{display:inline-flex}.-\\34 UeZq_danger{color:var(--dsw-alias-state-error-primary);border-color:color-mix(in srgb, var(--dsw-alias-state-error-primary) 30%, transparent);--dsw-alias-interactive-bg-hover:color-mix(in srgb, var(--dsw-alias-state-error-primary) 8%, transparent)}.-\\34 UeZq_detailActions{flex:none;align-items:center;gap:16px;display:flex}.-\\34 UeZq_actions{align-items:center;gap:16px;display:flex}.-\\34 UeZq_deleteButton{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-state-error-primary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_deleteButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-danger,var(--dsw-alias-interactive-bg-hover))}.-\\34 UeZq_deleteButton:disabled{opacity:.5;cursor:default}.-\\34 UeZq_deleteButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.-\\34 UeZq_reason{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_partsHead .-\\34 UeZq_subLabel{margin:0}.-\\34 UeZq_partsFilter{width:200px}.-\\34 UeZq_partsFilter:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.-\\34 UeZq_installDialog{width:min(560px,100%);max-height:min(800px,100%)}.-\\34 UeZq_installContent{min-height:0;overflow-y:auto}.-\\34 UeZq_installBody{flex-direction:column;gap:12px;min-width:0;display:flex}.-\\34 UeZq_installFooter{flex-direction:column;flex:1;gap:20px;min-width:0;display:flex}.-\\34 UeZq_templateHint{color:var(--dsw-alias-label-secondary);margin:-4px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_installLocation{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_installField{flex-direction:column;gap:6px;font-size:13px;display:flex}.-\\34 UeZq_installField input[type=text]{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-3);height:40px;font:inherit;color:var(--dsw-alias-label-primary);outline:none;padding:0 14px;font-size:13px}.-\\34 UeZq_installField input[type=text]:focus,.-\\34 UeZq_registryCustomField:focus{border-color:var(--dsw-alias-state-business-primary);box-shadow:inset 0 0 0 .5px var(--dsw-alias-state-business-primary)}.-\\34 UeZq_installField input[type=text][aria-invalid=true],.-\\34 UeZq_registryCustomField[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary);box-shadow:none}.-\\34 UeZq_installField input[type=text][aria-invalid=true]:focus,.-\\34 UeZq_registryCustomField[aria-invalid=true]:focus{box-shadow:inset 0 0 0 .5px var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary))}.-\\34 UeZq_guideToggle{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:4px;margin-top:4px;padding:0;font-size:12.5px;display:inline-flex}.-\\34 UeZq_guideToggle:hover{color:var(--dsw-alias-label-primary)}.-\\34 UeZq_guideChevron{transition:transform .16s}.-\\34 UeZq_guideToggle[aria-expanded=true] .-\\34 UeZq_guideChevron{transform:rotate(180deg)}.-\\34 UeZq_guide{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1);flex-direction:column;gap:10px;padding:8px 14px;display:flex}.-\\34 UeZq_guideHint{color:var(--dsw-alias-label-tertiary);margin:6px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_installSafety{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-state-warn-tertiary);color:var(--dsw-alias-label-secondary);align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.-\\34 UeZq_installSafetyText{flex-direction:column;gap:4px;min-width:0;display:flex}.-\\34 UeZq_installSafety>svg{color:var(--dsw-alias-state-warn-primary);flex:none;margin-top:2px}.-\\34 UeZq_guideList{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_guideItem{align-items:flex-start;gap:10px;padding:8px 0;display:flex}.-\\34 UeZq_guideItem>button{align-self:center}.-\\34 UeZq_guideMain{flex-direction:column;flex:1;gap:0;min-width:0;display:flex}.-\\34 UeZq_guideTitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px}.-\\34 UeZq_guideExample{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:12px;line-height:20px}.-\\34 UeZq_guideExample code{font-family:var(--ds-font-family-code)}.-\\34 UeZq_guideExampleLabel{color:var(--dsw-alias-label-tertiary)}.-\\34 UeZq_optionsRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.-\\34 UeZq_registryToggle{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);height:28px;font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;align-items:center;gap:6px;padding:0 8px 0 10px;font-size:12.5px;display:inline-flex}.-\\34 UeZq_registryToggle:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.-\\34 UeZq_registryToggle:disabled{cursor:default;opacity:.6}.-\\34 UeZq_registryToggle[aria-expanded=true]{border-color:var(--dsw-alias-border-l3);background:var(--dsw-alias-bg-layer-3)}.-\\34 UeZq_registryToggle[aria-expanded=true] .-\\34 UeZq_guideChevron{transform:rotate(180deg)}.-\\34 UeZq_registryChosen{color:var(--dsw-alias-label-primary);font-weight:500}.-\\34 UeZq_registry{z-index:1100;box-sizing:border-box;background:var(--dsw-alias-bg-layer-2);border-radius:var(--dsw-radius-lg);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);width:min(440px,100vw - 24px);box-shadow:var(--dsw-elevation-prominent);border:0;flex-direction:column;gap:4px;min-width:0;margin:0;padding:8px;display:flex;position:fixed}.-\\34 UeZq_registryOption{border-radius:var(--dsw-radius-md);cursor:pointer;border:0;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.-\\34 UeZq_registryOption:hover{background:var(--dsw-alias-interactive-bg-hover)}label.-\\34 UeZq_registryOption{flex-direction:row;align-items:flex-start;gap:10px}.-\\34 UeZq_registryOption input[type=radio]{width:16px;height:16px;accent-color:var(--dsw-alias-brand-primary);flex:none;margin:2px 0 0}.-\\34 UeZq_registryTitle{color:var(--dsw-alias-label-primary);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;line-height:20px;display:flex}.-\\34 UeZq_registryHint{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:12px;line-height:18px}.-\\34 UeZq_registryCustomPick{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.-\\34 UeZq_registryCustomField{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-3);height:32px;font:inherit;color:var(--dsw-alias-label-primary);outline:none;margin-left:26px;padding:0 10px;font-size:13px}.-\\34 UeZq_registryOption>.-\\34 UeZq_inputError,.-\\34 UeZq_registryOption>.-\\34 UeZq_registryHint{margin-left:26px}.-\\34 UeZq_inputError{color:var(--dsw-alias-state-error-primary);margin:-4px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_wide{border-radius:var(--dsw-radius-md);justify-content:center;width:100%;height:40px}.-\\34 UeZq_wizard{flex-direction:column;flex:auto;gap:16px;min-width:0;min-height:0;padding:16px 20px 0;display:flex}.-\\34 UeZq_wizardScroll{flex-direction:column;flex:auto;gap:16px;min-height:0;display:flex;overflow-y:auto}.-\\34 UeZq_wizardHead{justify-content:space-between;align-items:center;min-height:24px;display:flex}.-\\34 UeZq_wizardBack{font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:15px;font-weight:600;display:inline-flex}.-\\34 UeZq_wizardClose{border-radius:var(--dsw-radius-sm);width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.-\\34 UeZq_wizardClose:hover{background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-primary)}.-\\34 UeZq_wizardHero{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:8px 0 4px;display:flex}.-\\34 UeZq_wizardIcon{width:44px;height:44px;color:var(--dsw-alias-label-secondary);justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_wizardIcon[data-state=done]{color:var(--dsw-alias-state-success-secondary)}.-\\34 UeZq_wizardIcon[data-state=error]{color:var(--dsw-alias-state-warn-label)}.-\\34 UeZq_wizardTitle{margin:0;font-size:18px;font-weight:600;line-height:26px}.-\\34 UeZq_wizardSub{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_subject{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);text-align:center;flex-direction:column;align-items:center;gap:6px;padding:16px;display:flex}.-\\34 UeZq_subjectName{overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:600;line-height:22px}.-\\34 UeZq_subjectDesc,.-\\34 UeZq_subjectMeta{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_wizardFoot{justify-content:space-between;align-items:center;gap:12px;display:flex}.-\\34 UeZq_footAction{border-radius:var(--dsw-radius-md);height:32px}.-\\34 UeZq_detailsToggle{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:13px;display:inline-flex}.-\\34 UeZq_detailsChevron{transition:transform .16s}.-\\34 UeZq_detailsToggle[aria-expanded=true] .-\\34 UeZq_detailsChevron{transform:rotate(180deg)}.-\\34 UeZq_detailsBody{flex-direction:column;gap:8px;min-width:0;display:flex}.-\\34 UeZq_wizardActions{align-items:center;gap:8px;display:flex}.-\\34 UeZq_run{flex-direction:column;gap:4px;min-width:0;display:flex}.-\\34 UeZq_attemptBadge{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-secondary);align-self:flex-start;margin:0;padding:0 6px;font-size:11px;line-height:18px}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_detailsChevron{transition:none}}.-\\34 UeZq_result,.-\\34 UeZq_resultWarn{border-radius:var(--dsw-radius-md);background:color-mix(in srgb, var(--dsw-alias-state-success-primary) 10%, transparent);color:var(--dsw-alias-label-primary);margin:0;padding:8px 12px;font-size:13px;line-height:20px}.-\\34 UeZq_resultWarn{background:var(--dsw-alias-state-warn-tertiary)}.-\\34 UeZq_approval{border:.5px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary) 40%, transparent);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-state-warn-tertiary);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.-\\34 UeZq_approvalTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:13px;font-weight:600}.-\\34 UeZq_approvalText{color:var(--dsw-alias-label-secondary);margin:0;font-size:12.5px;line-height:18px}.-\\34 UeZq_approvalCaution{color:var(--dsw-alias-label-secondary);margin:0;font-size:12.5px;font-weight:500;line-height:18px}.-\\34 UeZq_approvalList{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_approvalList code{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-3);font-family:var(--ds-font-family-code);color:var(--dsw-alias-label-primary);padding:2px 8px;font-size:12px;display:inline-block}.-\\34 UeZq_terminal{--dsl-terminal-font:var(--dsw-font-markdown-code-block-small);--dsl-terminal-line-height:18px;--dsl-terminal-output-max-height:240px;border:.5px solid var(--dsw-alias-border-l1);margin:4px 0 0}.-\\34 UeZq_dependents{color:var(--dsw-alias-label-secondary);margin:8px 0 0;padding-left:18px;font-size:13px;line-height:20px}.-\\34 UeZq_dangerButton{--dsw-alias-button-primary-fill:var(--dsw-alias-state-error-primary);--dsw-alias-button-primary-hover:var(--dsw-alias-state-error-primary)}.-\\34 UeZq_detail{flex-direction:column;display:flex}.-\\34 UeZq_detailTop,.-\\34 UeZq_moreHead{padding-top:28px;display:flex}.-\\34 UeZq_detailTop{flex-direction:column}[data-platform=darwin] .-\\34 UeZq_detailTop,[data-platform=darwin] .-\\34 UeZq_moreHead{padding-top:calc(28px + var(--dsh-frame-top-clearance,0px))}.-\\34 UeZq_crumb{color:var(--dsw-alias-label-tertiary);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:12.5px;display:inline-flex}.-\\34 UeZq_crumb:hover{color:var(--dsw-alias-label-primary)}.-\\34 UeZq_crumb:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.-\\34 UeZq_crumbIcon{transform:rotate(90deg)}.-\\34 UeZq_detailHead{justify-content:space-between;align-items:center;gap:12px;margin:32px 0 0;display:flex}.-\\34 UeZq_detailMain{flex-direction:column;gap:8px;min-width:0;margin-top:20px;display:flex}.-\\34 UeZq_detailTitle{margin:0;font-size:20px;font-weight:500;line-height:28px}.-\\34 UeZq_versionTag{font-variant-numeric:tabular-nums;flex:none}.-\\34 UeZq_detailDesc{color:var(--dsw-alias-label-secondary);margin:0;font-size:14px;line-height:22px}.-\\34 UeZq_detailName{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_detailName code{font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace)}.-\\34 UeZq_detail>.-\\34 UeZq_detailDesc{margin-top:12px}.-\\34 UeZq_packagePreview{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);object-fit:contain;align-self:flex-start;max-width:100%;max-height:320px;margin-top:24px;display:block}.-\\34 UeZq_detailSections{flex-direction:column;gap:32px;margin-top:32px;display:flex}.-\\34 UeZq_detailSection{flex-direction:column;gap:12px;display:flex}.-\\34 UeZq_sectionHead{align-items:baseline;gap:10px;display:flex}.-\\34 UeZq_sectionTitle{margin:0;font-size:14px;font-weight:500;line-height:20px}.-\\34 UeZq_sectionCount{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.-\\34 UeZq_facts{margin:0}.-\\34 UeZq_facts div{border-bottom:.5px solid var(--dsw-alias-border-l2);justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding:8px 2px;display:flex}.-\\34 UeZq_facts dt{color:var(--dsw-alias-label-secondary);flex:none;font-size:13px;line-height:20px}.-\\34 UeZq_facts dd{text-align:end;overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_facts code{background:var(--dsw-alias-bg-module-platform);box-decoration-break:clone;font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);border-radius:4px;padding:2px 6px;font-size:12px}.-\\34 UeZq_cardArrow{color:var(--dsw-alias-label-tertiary);flex:none}.-\\34 UeZq_rows{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_row{border-bottom:.5px solid var(--dsw-alias-border-l2);padding:12px 2px}.-\\34 UeZq_row:last-child{border-bottom:0}.-\\34 UeZq_rowLine{align-items:center;gap:16px;min-width:0;display:flex}.-\\34 UeZq_rowIcon{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-md);width:40px;height:40px;color:var(--dsw-alias-label-secondary);flex:none;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_rowMain{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.-\\34 UeZq_rowId{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;font-size:13.5px;font-weight:500;line-height:20px}.-\\34 UeZq_row[data-state=off] .-\\34 UeZq_rowId{color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_rowModule{font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:11.5px;line-height:16px}.-\\34 UeZq_rowOpen{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:2px;padding:0;display:inline-flex}.-\\34 UeZq_rowOpen:hover .-\\34 UeZq_rowId{text-underline-offset:3px;text-decoration:underline}.-\\34 UeZq_rowOpenIcon{color:var(--dsw-alias-label-tertiary);flex:none}.-\\34 UeZq_rowOpen:hover .-\\34 UeZq_rowOpenIcon{color:var(--dsw-alias-label-primary)}.-\\34 UeZq_rowState{color:var(--dsw-alias-label-secondary);white-space:nowrap;flex:none;align-items:center;gap:6px;font-size:12.5px;line-height:18px;display:inline-flex}.-\\34 UeZq_row[data-state=failed] .-\\34 UeZq_rowState{color:var(--dsw-alias-state-error-primary)}.-\\34 UeZq_rowFailure{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:4px 0 0 56px;font-size:12px;line-height:18px}";
|
|
1913
|
+
const css = ".-\\34 UeZq_page{box-sizing:border-box;height:100%;color:var(--dsw-alias-label-primary);flex-direction:column;align-items:center;gap:32px;padding:0 clamp(24px,4vw,48px) 48px;display:flex;overflow:auto}.-\\34 UeZq_page>*{width:100%;max-width:960px}.-\\34 UeZq_pageHead{box-sizing:border-box;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding-top:28px;display:flex}[data-platform=darwin] .-\\34 UeZq_pageHead{padding-top:calc(28px + var(--dsh-frame-top-clearance,0px))}.-\\34 UeZq_pageHeading{min-width:0;max-width:100%}.-\\34 UeZq_pageTitle{margin:0;font-size:20px;font-weight:500;line-height:28px}.-\\34 UeZq_pageIntro{color:var(--dsw-alias-label-secondary);align-items:center;gap:4px;margin:4px 0 0;font-size:13px;line-height:20px;display:flex}.-\\34 UeZq_infoButton{width:20px;height:20px;color:var(--dsw-alias-label-caption);flex:none;padding:0}.-\\34 UeZq_toolbar{white-space:nowrap;flex:none;justify-content:flex-end;align-items:center;gap:16px;display:flex}.-\\34 UeZq_addMenu{width:320px;max-width:calc(100vw - 48px)}.-\\34 UeZq_addMenu [role=menuitem]{box-sizing:border-box;gap:10px;height:72px;padding:6px 12px}.-\\34 UeZq_addMenuItem{white-space:normal;flex-direction:column;gap:2px;display:flex}.-\\34 UeZq_addMenuDescription{overflow-wrap:anywhere;max-height:36px;color:var(--dsw-alias-label-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.-\\34 UeZq_status,.-\\34 UeZq_failure p,.-\\34 UeZq_empty{color:var(--dsw-alias-label-tertiary);margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_failure{color:var(--dsw-alias-state-error-primary);align-items:center;gap:10px;display:flex}.-\\34 UeZq_statusWithDot{align-items:center;gap:6px;display:inline-flex}.-\\34 UeZq_group{flex-direction:column;gap:8px;display:flex}.-\\34 UeZq_groupHead{align-items:center;gap:8px;display:flex}.-\\34 UeZq_groupTitle{flex:1;margin:0;font-size:14px;font-weight:500;line-height:22px}.-\\34 UeZq_groupMore{color:color-mix(in srgb, var(--dsw-alias-label-secondary) 60%, var(--dsw-alias-label-tertiary));flex:none;gap:4px;padding-inline-end:0;font-size:14px;font-weight:400;line-height:22px}.-\\34 UeZq_groupMore:hover,.-\\34 UeZq_groupMore:focus-visible{color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_moreHead{align-items:center;gap:8px}.-\\34 UeZq_moreBack{width:28px;color:var(--dsw-alias-label-secondary);padding:0}.-\\34 UeZq_groupInfo{color:var(--dsw-alias-label-caption);align-self:center;align-items:center;display:inline-flex}.-\\34 UeZq_groupInfo:hover,.-\\34 UeZq_groupInfo:focus-visible{color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_statusTag{height:18px;padding:0 7px;font-size:10px;line-height:1}.-\\34 UeZq_card[data-plugin-highlight]{animation:2.4s ease-out -\\34 UeZq_dsh-plugin-highlight}@keyframes -\\34 UeZq_dsh-plugin-highlight{0%,55%{box-shadow:0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 40%, transparent)}to{box-shadow:0 0 #0000}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_card[data-plugin-highlight]{box-shadow:0 0 0 2px color-mix(in srgb, var(--dsw-alias-state-business-primary) 40%, transparent);animation:none}}.-\\34 UeZq_iconButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.-\\34 UeZq_cards{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_card{border-radius:var(--dsw-radius-xl);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);min-width:0;margin:0 -8px}.-\\34 UeZq_cardHead{align-items:center;gap:14px;padding:8px;display:flex}.-\\34 UeZq_cardIcon{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);width:48px;height:48px;color:var(--dsw-alias-label-secondary);flex:none;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_packageImage{object-fit:contain}.-\\34 UeZq_cardMain{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.-\\34 UeZq_titleRow{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.-\\34 UeZq_cardTitle{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.-\\34 UeZq_cardLink{position:relative}.-\\34 UeZq_cardLink:hover{background:var(--dsw-alias-interactive-bg-hover)}.-\\34 UeZq_cardOpen{max-width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:500;line-height:20px}.-\\34 UeZq_cardOpen:after{content:\"\";border-radius:var(--dsw-radius-xl);position:absolute;inset:0}.-\\34 UeZq_cardOpen:focus-visible{outline:none}.-\\34 UeZq_cardOpen:focus-visible:after{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.-\\34 UeZq_cardDesc{color:var(--dsw-alias-label-tertiary);-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:13px;line-height:18px;display:-webkit-box;overflow:hidden}.-\\34 UeZq_skeletonFill{background:var(--dsw-alias-bg-skeleton);animation:2s cubic-bezier(.36,0,.64,1) infinite -\\34 UeZq_dsh-plugin-skeleton}.-\\34 UeZq_skeletonText{align-items:center;height:1lh;display:flex}.-\\34 UeZq_skeletonBar{border-radius:var(--dsw-radius-xs);width:100%;height:12px}.-\\34 UeZq_skeletonHeading{width:48px}.-\\34 UeZq_skeletonTitle{width:min(144px,60%)}.-\\34 UeZq_skeletonDescription{width:min(280px,85%)}.-\\34 UeZq_skeletonIcon{border-color:#0000}.-\\34 UeZq_skeletonActions{width:36px;height:20px}@keyframes -\\34 UeZq_dsh-plugin-skeleton{0%{opacity:1}40%{opacity:.6}80%,to{opacity:1}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_skeletonFill{animation:none}}.-\\34 UeZq_cardEnd{z-index:1;flex:none;align-items:center;gap:8px;display:inline-flex;position:relative}.-\\34 UeZq_iconButton{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-caption);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_iconButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_iconButton:disabled{opacity:.5;cursor:default}.-\\34 UeZq_addButton,.-\\34 UeZq_addPrimary,.-\\34 UeZq_addMore{border-radius:var(--dsw-radius-md);height:32px;padding:0 12px;font-size:13px;line-height:20px}.-\\34 UeZq_addGroup{flex:none;align-items:stretch;display:inline-flex}.-\\34 UeZq_addPrimary{border-top-right-radius:0;border-bottom-right-radius:0}.-\\34 UeZq_addMore{border-left:.5px solid color-mix(in srgb, var(--dsw-alias-label-primary-foreground) 30%, transparent);border-top-left-radius:0;border-bottom-left-radius:0;width:32px;padding:0}.-\\34 UeZq_iconWrap{display:inline-flex}.-\\34 UeZq_danger{color:var(--dsw-alias-state-error-primary);border-color:color-mix(in srgb, var(--dsw-alias-state-error-primary) 30%, transparent);--dsw-alias-interactive-bg-hover:color-mix(in srgb, var(--dsw-alias-state-error-primary) 8%, transparent)}.-\\34 UeZq_detailActions{flex:none;align-items:center;gap:16px;display:flex}.-\\34 UeZq_actions{align-items:center;gap:16px;display:flex}.-\\34 UeZq_deleteButton{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-state-error-primary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_deleteButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover-danger,var(--dsw-alias-interactive-bg-hover))}.-\\34 UeZq_deleteButton:disabled{opacity:.5;cursor:default}.-\\34 UeZq_deleteButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.-\\34 UeZq_reason{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_partsHead .-\\34 UeZq_subLabel{margin:0}.-\\34 UeZq_partsFilter{width:200px}.-\\34 UeZq_partsFilter:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:1px}.-\\34 UeZq_installDialog{width:min(560px,100%);max-height:min(800px,100%)}.-\\34 UeZq_installContent{min-height:0;overflow-y:auto}.-\\34 UeZq_installBody{flex-direction:column;gap:12px;min-width:0;display:flex}.-\\34 UeZq_installFooter{flex-direction:column;flex:1;gap:20px;min-width:0;display:flex}.-\\34 UeZq_templateHint{color:var(--dsw-alias-label-secondary);margin:-4px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_installLocation{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_installField{flex-direction:column;gap:6px;font-size:13px;display:flex}.-\\34 UeZq_installField input[type=text]{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-3);height:40px;font:inherit;color:var(--dsw-alias-label-primary);outline:none;padding:0 14px;font-size:13px}.-\\34 UeZq_installField input[type=text]:focus,.-\\34 UeZq_registryCustomField:focus{border-color:var(--dsw-alias-state-business-primary);box-shadow:inset 0 0 0 .5px var(--dsw-alias-state-business-primary)}.-\\34 UeZq_installField input[type=text][aria-invalid=true],.-\\34 UeZq_registryCustomField[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary);box-shadow:none}.-\\34 UeZq_installField input[type=text][aria-invalid=true]:focus,.-\\34 UeZq_registryCustomField[aria-invalid=true]:focus{box-shadow:inset 0 0 0 .5px var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary))}.-\\34 UeZq_guideToggle{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:4px;margin-top:4px;padding:0;font-size:12.5px;display:inline-flex}.-\\34 UeZq_guideToggle:hover{color:var(--dsw-alias-label-primary)}.-\\34 UeZq_guideChevron{transition:transform .16s}.-\\34 UeZq_guideToggle[aria-expanded=true] .-\\34 UeZq_guideChevron{transform:rotate(180deg)}.-\\34 UeZq_guide{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-bg-layer-1);flex-direction:column;gap:10px;padding:8px 14px;display:flex}.-\\34 UeZq_guideHint{color:var(--dsw-alias-label-tertiary);margin:6px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_installSafety{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-state-warn-tertiary);color:var(--dsw-alias-label-secondary);align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.-\\34 UeZq_installSafetyText{flex-direction:column;gap:4px;min-width:0;display:flex}.-\\34 UeZq_installSafety>svg{color:var(--dsw-alias-state-warn-primary);flex:none;margin-top:2px}.-\\34 UeZq_guideList{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_guideItem{align-items:flex-start;gap:10px;padding:8px 0;display:flex}.-\\34 UeZq_guideItem>button{align-self:center}.-\\34 UeZq_guideMain{flex-direction:column;flex:1;gap:0;min-width:0;display:flex}.-\\34 UeZq_guideTitle{color:var(--dsw-alias-label-primary);font-size:13px;font-weight:500;line-height:20px}.-\\34 UeZq_guideExample{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:12px;line-height:20px}.-\\34 UeZq_guideExample code{font-family:var(--ds-font-family-code)}.-\\34 UeZq_guideExampleLabel{color:var(--dsw-alias-label-tertiary)}.-\\34 UeZq_optionsRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;display:flex}.-\\34 UeZq_registryToggle{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-2);height:28px;font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;align-items:center;gap:6px;padding:0 8px 0 10px;font-size:12.5px;display:inline-flex}.-\\34 UeZq_registryToggle:hover:not(:disabled){color:var(--dsw-alias-label-primary)}.-\\34 UeZq_registryToggle:disabled{cursor:default;opacity:.6}.-\\34 UeZq_registryToggle[aria-expanded=true]{border-color:var(--dsw-alias-border-l3);background:var(--dsw-alias-bg-layer-3)}.-\\34 UeZq_registryToggle[aria-expanded=true] .-\\34 UeZq_guideChevron{transform:rotate(180deg)}.-\\34 UeZq_registryChosen{color:var(--dsw-alias-label-primary);font-weight:500}.-\\34 UeZq_registry{z-index:1100;box-sizing:border-box;background:var(--dsw-alias-bg-layer-2);border-radius:var(--dsw-radius-lg);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);width:min(440px,100vw - 24px);box-shadow:var(--dsw-elevation-prominent);border:0;flex-direction:column;gap:4px;min-width:0;margin:0;padding:8px;display:flex;position:fixed}.-\\34 UeZq_registryOption{border-radius:var(--dsw-radius-md);cursor:pointer;border:0;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.-\\34 UeZq_registryOption:hover{background:var(--dsw-alias-interactive-bg-hover)}label.-\\34 UeZq_registryOption{flex-direction:row;align-items:flex-start;gap:10px}.-\\34 UeZq_registryOption input[type=radio]{width:16px;height:16px;accent-color:var(--dsw-alias-brand-primary);flex:none;margin:2px 0 0}.-\\34 UeZq_registryTitle{color:var(--dsw-alias-label-primary);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;line-height:20px;display:flex}.-\\34 UeZq_registryHint{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:12px;line-height:18px}.-\\34 UeZq_registryCustomPick{cursor:pointer;align-items:flex-start;gap:10px;display:flex}.-\\34 UeZq_registryCustomField{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-layer-3);height:32px;font:inherit;color:var(--dsw-alias-label-primary);outline:none;margin-left:26px;padding:0 10px;font-size:13px}.-\\34 UeZq_registryOption>.-\\34 UeZq_inputError,.-\\34 UeZq_registryOption>.-\\34 UeZq_registryHint{margin-left:26px}.-\\34 UeZq_inputError{color:var(--dsw-alias-state-error-primary);margin:-4px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_wide{border-radius:var(--dsw-radius-md);justify-content:center;width:100%;height:40px}.-\\34 UeZq_wizard{flex-direction:column;flex:auto;gap:16px;min-width:0;min-height:0;padding:16px 20px 0;display:flex}.-\\34 UeZq_wizardScroll{flex-direction:column;flex:auto;gap:16px;min-height:0;display:flex;overflow-y:auto}.-\\34 UeZq_wizardHead{justify-content:space-between;align-items:center;min-height:24px;display:flex}.-\\34 UeZq_wizardBack{font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:15px;font-weight:600;display:inline-flex}.-\\34 UeZq_wizardClose{border-radius:var(--dsw-radius-sm);width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.-\\34 UeZq_wizardClose:hover{background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-primary)}.-\\34 UeZq_wizardHero{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:8px 0 4px;display:flex}.-\\34 UeZq_wizardIcon{width:44px;height:44px;color:var(--dsw-alias-label-secondary);justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_wizardIcon[data-state=done]{color:var(--dsw-alias-state-success-secondary)}.-\\34 UeZq_wizardIcon[data-state=error]{color:var(--dsw-alias-state-warn-label)}.-\\34 UeZq_wizardTitle{margin:0;font-size:18px;font-weight:600;line-height:26px}.-\\34 UeZq_wizardSub{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_subject{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-lg);text-align:center;flex-direction:column;align-items:center;gap:6px;padding:16px;display:flex}.-\\34 UeZq_subjectName{overflow-wrap:anywhere;margin:0;font-size:15px;font-weight:600;line-height:22px}.-\\34 UeZq_subjectSpec{font-family:var(--ds-font-family-code);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_subjectDesc,.-\\34 UeZq_subjectMeta{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_wizardFoot{justify-content:space-between;align-items:center;gap:12px;display:flex}.-\\34 UeZq_footAction{border-radius:var(--dsw-radius-md);height:32px}.-\\34 UeZq_detailsToggle{font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:13px;display:inline-flex}.-\\34 UeZq_detailsChevron{transition:transform .16s}.-\\34 UeZq_detailsToggle[aria-expanded=true] .-\\34 UeZq_detailsChevron{transform:rotate(180deg)}.-\\34 UeZq_detailsBody{flex-direction:column;gap:8px;min-width:0;display:flex}.-\\34 UeZq_wizardActions{align-items:center;gap:8px;display:flex}.-\\34 UeZq_run{flex-direction:column;gap:4px;min-width:0;display:flex}.-\\34 UeZq_attemptBadge{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-secondary);align-self:flex-start;margin:0;padding:0 6px;font-size:11px;line-height:18px}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_detailsChevron{transition:none}}.-\\34 UeZq_result,.-\\34 UeZq_resultWarn{border-radius:var(--dsw-radius-md);background:color-mix(in srgb, var(--dsw-alias-state-success-primary) 10%, transparent);color:var(--dsw-alias-label-primary);margin:0;padding:8px 12px;font-size:13px;line-height:20px}.-\\34 UeZq_resultWarn{background:var(--dsw-alias-state-warn-tertiary)}.-\\34 UeZq_approval{border:.5px solid color-mix(in srgb, var(--dsw-alias-state-warn-primary) 40%, transparent);border-radius:var(--dsw-radius-lg);background:var(--dsw-alias-state-warn-tertiary);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.-\\34 UeZq_approvalTitle{color:var(--dsw-alias-label-primary);margin:0;font-size:13px;font-weight:600}.-\\34 UeZq_approvalText{color:var(--dsw-alias-label-secondary);margin:0;font-size:12.5px;line-height:18px}.-\\34 UeZq_approvalCaution{color:var(--dsw-alias-label-secondary);margin:0;font-size:12.5px;font-weight:500;line-height:18px}.-\\34 UeZq_approvalList{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_approvalList code{border-radius:var(--dsw-radius-sm);background:var(--dsw-alias-bg-layer-3);font-family:var(--ds-font-family-code);color:var(--dsw-alias-label-primary);padding:2px 8px;font-size:12px;display:inline-block}.-\\34 UeZq_terminal{--dsl-terminal-font:var(--dsw-font-markdown-code-block-small);--dsl-terminal-line-height:18px;--dsl-terminal-output-max-height:240px;border:.5px solid var(--dsw-alias-border-l1);margin:4px 0 0}.-\\34 UeZq_dependents{color:var(--dsw-alias-label-secondary);margin:8px 0 0;padding-left:18px;font-size:13px;line-height:20px}.-\\34 UeZq_dangerButton{--dsw-alias-button-primary-fill:var(--dsw-alias-state-error-primary);--dsw-alias-button-primary-hover:var(--dsw-alias-state-error-primary)}.-\\34 UeZq_detail{flex-direction:column;display:flex}.-\\34 UeZq_detailTop,.-\\34 UeZq_moreHead{padding-top:28px;display:flex}.-\\34 UeZq_detailTop{flex-direction:column}[data-platform=darwin] .-\\34 UeZq_detailTop,[data-platform=darwin] .-\\34 UeZq_moreHead{padding-top:calc(28px + var(--dsh-frame-top-clearance,0px))}.-\\34 UeZq_crumb{color:var(--dsw-alias-label-tertiary);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:12.5px;display:inline-flex}.-\\34 UeZq_crumb:hover{color:var(--dsw-alias-label-primary)}.-\\34 UeZq_crumb:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}.-\\34 UeZq_crumbIcon{transform:rotate(90deg)}.-\\34 UeZq_detailHead{justify-content:space-between;align-items:center;gap:12px;margin:32px 0 0;display:flex}.-\\34 UeZq_detailMain{flex-direction:column;gap:8px;min-width:0;margin-top:20px;display:flex}.-\\34 UeZq_detailTitle{margin:0;font-size:20px;font-weight:500;line-height:28px}.-\\34 UeZq_versionTag{font-variant-numeric:tabular-nums;flex:none}.-\\34 UeZq_detailDesc{color:var(--dsw-alias-label-secondary);margin:0;font-size:14px;line-height:22px}.-\\34 UeZq_detailName{color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_detailName code{font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace)}.-\\34 UeZq_detail>.-\\34 UeZq_detailDesc{margin-top:12px}.-\\34 UeZq_packagePreview{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);object-fit:contain;align-self:flex-start;max-width:100%;max-height:320px;margin-top:24px;display:block}.-\\34 UeZq_detailSections{flex-direction:column;gap:32px;margin-top:32px;display:flex}.-\\34 UeZq_detailSection{flex-direction:column;gap:12px;display:flex}.-\\34 UeZq_sectionHead{align-items:baseline;gap:10px;display:flex}.-\\34 UeZq_sectionTitle{margin:0;font-size:14px;font-weight:500;line-height:20px}.-\\34 UeZq_sectionCount{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.-\\34 UeZq_facts{margin:0}.-\\34 UeZq_facts div{border-bottom:.5px solid var(--dsw-alias-border-l2);justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding:8px 2px;display:flex}.-\\34 UeZq_facts dt{color:var(--dsw-alias-label-secondary);flex:none;font-size:13px;line-height:20px}.-\\34 UeZq_facts dd{text-align:end;overflow-wrap:anywhere;min-width:0;margin:0;font-size:13px;line-height:20px}.-\\34 UeZq_facts code{background:var(--dsw-alias-bg-module-platform);box-decoration-break:clone;font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);border-radius:4px;padding:2px 6px;font-size:12px}.-\\34 UeZq_cardArrow{color:var(--dsw-alias-label-tertiary);flex:none}.-\\34 UeZq_rows{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_row{border-bottom:.5px solid var(--dsw-alias-border-l2);padding:12px 2px}.-\\34 UeZq_row:last-child{border-bottom:0}.-\\34 UeZq_rowLine{align-items:center;gap:16px;min-width:0;display:flex}.-\\34 UeZq_rowIcon{border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-md);width:40px;height:40px;color:var(--dsw-alias-label-secondary);flex:none;justify-content:center;align-items:center;display:inline-flex}.-\\34 UeZq_rowMain{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.-\\34 UeZq_rowId{color:var(--dsw-alias-label-primary);overflow-wrap:anywhere;font-size:13.5px;font-weight:500;line-height:20px}.-\\34 UeZq_row[data-state=off] .-\\34 UeZq_rowId{color:var(--dsw-alias-label-secondary)}.-\\34 UeZq_rowModule{font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);color:var(--dsw-alias-label-tertiary);overflow-wrap:anywhere;font-size:11.5px;line-height:16px}.-\\34 UeZq_rowOpen{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:2px;padding:0;display:inline-flex}.-\\34 UeZq_rowOpen:hover .-\\34 UeZq_rowId{text-underline-offset:3px;text-decoration:underline}.-\\34 UeZq_rowOpenIcon{color:var(--dsw-alias-label-tertiary);flex:none}.-\\34 UeZq_rowOpen:hover .-\\34 UeZq_rowOpenIcon{color:var(--dsw-alias-label-primary)}.-\\34 UeZq_rowState{color:var(--dsw-alias-label-secondary);white-space:nowrap;flex:none;align-items:center;gap:6px;font-size:12.5px;line-height:18px;display:inline-flex}.-\\34 UeZq_row[data-state=failed] .-\\34 UeZq_rowState{color:var(--dsw-alias-state-error-primary)}.-\\34 UeZq_rowFailure{color:var(--dsw-alias-state-error-primary);overflow-wrap:anywhere;margin:4px 0 0 56px;font-size:12px;line-height:18px}.-\\34 UeZq_toolbar[hidden]{display:none}.-\\34 UeZq_pageTabs{margin-top:-16px;display:flex}.-\\34 UeZq_pageTabList{width:fit-content;min-width:240px}.-\\34 UeZq_installedPanel{flex-direction:column;gap:32px;display:flex}.-\\34 UeZq_tabPanel{flex-direction:column;gap:24px;display:flex}";
|
|
1872
1914
|
const tagId = "@deepseek-ai/dsh-client-ui-plugin-manager/PluginManagerPage.module.css";
|
|
1873
1915
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
1874
1916
|
const tag = document.createElement("style");
|
|
@@ -1955,6 +1997,7 @@ window.__ModuleLoader__.load({
|
|
|
1955
1997
|
"installLocation": "-4UeZq_installLocation",
|
|
1956
1998
|
"installSafety": "-4UeZq_installSafety",
|
|
1957
1999
|
"installSafetyText": "-4UeZq_installSafetyText",
|
|
2000
|
+
"installedPanel": "-4UeZq_installedPanel",
|
|
1958
2001
|
"moreBack": "-4UeZq_moreBack",
|
|
1959
2002
|
"moreHead": "-4UeZq_moreHead",
|
|
1960
2003
|
"optionsRow": "-4UeZq_optionsRow",
|
|
@@ -1964,6 +2007,8 @@ window.__ModuleLoader__.load({
|
|
|
1964
2007
|
"pageHead": "-4UeZq_pageHead",
|
|
1965
2008
|
"pageHeading": "-4UeZq_pageHeading",
|
|
1966
2009
|
"pageIntro": "-4UeZq_pageIntro",
|
|
2010
|
+
"pageTabList": "-4UeZq_pageTabList",
|
|
2011
|
+
"pageTabs": "-4UeZq_pageTabs",
|
|
1967
2012
|
"pageTitle": "-4UeZq_pageTitle",
|
|
1968
2013
|
"partsFilter": "-4UeZq_partsFilter",
|
|
1969
2014
|
"partsHead": "-4UeZq_partsHead",
|
|
@@ -2009,6 +2054,8 @@ window.__ModuleLoader__.load({
|
|
|
2009
2054
|
"subjectDesc": "-4UeZq_subjectDesc",
|
|
2010
2055
|
"subjectMeta": "-4UeZq_subjectMeta",
|
|
2011
2056
|
"subjectName": "-4UeZq_subjectName",
|
|
2057
|
+
"subjectSpec": "-4UeZq_subjectSpec",
|
|
2058
|
+
"tabPanel": "-4UeZq_tabPanel",
|
|
2012
2059
|
"templateHint": "-4UeZq_templateHint",
|
|
2013
2060
|
"terminal": "-4UeZq_terminal",
|
|
2014
2061
|
"titleRow": "-4UeZq_titleRow",
|
|
@@ -2144,6 +2191,7 @@ window.__ModuleLoader__.load({
|
|
|
2144
2191
|
"@deepseek-ai/dsh-experimental-session-titles-bundle",
|
|
2145
2192
|
"@deepseek-ai/dsh-experimental-badge-skill-bundle",
|
|
2146
2193
|
"@deepseek-ai/dsh-experimental-ralph-bundle",
|
|
2194
|
+
"@deepseek-ai/dsh-experimental-plugin-market-bundle",
|
|
2147
2195
|
"@deepseek-ai/dsh-subagent-codex",
|
|
2148
2196
|
"@deepseek-ai/dsh-subagent-claude-code"
|
|
2149
2197
|
];
|
|
@@ -2988,6 +3036,8 @@ window.__ModuleLoader__.load({
|
|
|
2988
3036
|
"integrity": "installFailureIntegrity",
|
|
2989
3037
|
"unknown": "installFailureGeneric"
|
|
2990
3038
|
};
|
|
3039
|
+
/** The navigation value of the page's own tab; contributed tabs use their registration ids. */
|
|
3040
|
+
const INSTALLED_TAB = "installed";
|
|
2991
3041
|
/** The heading of each screen past the spec. */
|
|
2992
3042
|
const SCREEN_TITLE_KEYS = {
|
|
2993
3043
|
starting: "installStarting",
|
|
@@ -3006,6 +3056,11 @@ window.__ModuleLoader__.load({
|
|
|
3006
3056
|
git: "installSubjectGit",
|
|
3007
3057
|
tarball: "installSubjectTarball"
|
|
3008
3058
|
};
|
|
3059
|
+
/** A check no registry answered names every registry asked; any other refusal reads by its problem. */
|
|
3060
|
+
function inputProblemSentence(problem, t, resolved) {
|
|
3061
|
+
const asked = problem.registries ?? [];
|
|
3062
|
+
return problem.problem === "network" && asked.length > 1 ? t("installProblemNetworkAll", { registries: registryList(asked, t, resolved) }) : t(INPUT_PROBLEM_KEYS[problem.problem], { reason: problem.reason });
|
|
3063
|
+
}
|
|
3009
3064
|
/** The registries asked, by name, in the dictionary's list form. */
|
|
3010
3065
|
function registryList(registries, t, resolved) {
|
|
3011
3066
|
return registries.map((registry) => registryText(registry, t, resolved).name).join(t("registryListSeparator"));
|
|
@@ -3050,30 +3105,45 @@ window.__ModuleLoader__.load({
|
|
|
3050
3105
|
}, t);
|
|
3051
3106
|
return failure.reason === "" ? t("installFailureGeneric") : failure.reason;
|
|
3052
3107
|
}
|
|
3053
|
-
/** The package
|
|
3054
|
-
function
|
|
3055
|
-
const title = subject.name ?? subject.spec;
|
|
3056
|
-
const kindKey = SUBJECT_KIND_KEYS[subject.kind];
|
|
3057
|
-
const description = subject.description ?? (kindKey === void 0 ? void 0 : t(kindKey));
|
|
3108
|
+
/** The package an install is about: its name, one-liner, version, and, when `showSpec` is set, its spec. */
|
|
3109
|
+
function SubjectBlock({ lines, t }) {
|
|
3058
3110
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
3059
3111
|
className: PluginManagerPage_module_css_default.subject,
|
|
3060
|
-
"data-install-subject":
|
|
3112
|
+
"data-install-subject": lines.spec,
|
|
3061
3113
|
children: [
|
|
3062
3114
|
(0, react_jsx_runtime.jsx)("p", {
|
|
3063
3115
|
className: PluginManagerPage_module_css_default.subjectName,
|
|
3064
|
-
children: title
|
|
3116
|
+
children: lines.title
|
|
3065
3117
|
}),
|
|
3066
|
-
description === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
3118
|
+
lines.description === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
3067
3119
|
className: PluginManagerPage_module_css_default.subjectDesc,
|
|
3068
|
-
children: description
|
|
3120
|
+
children: lines.description
|
|
3069
3121
|
}),
|
|
3070
|
-
|
|
3122
|
+
lines.version === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
3071
3123
|
className: PluginManagerPage_module_css_default.subjectMeta,
|
|
3072
|
-
children: t("installVersion", { version:
|
|
3073
|
-
})
|
|
3124
|
+
children: t("installVersion", { version: lines.version })
|
|
3125
|
+
}),
|
|
3126
|
+
lines.showSpec ? (0, react_jsx_runtime.jsx)("p", {
|
|
3127
|
+
className: PluginManagerPage_module_css_default.subjectSpec,
|
|
3128
|
+
children: lines.spec
|
|
3129
|
+
}) : null
|
|
3074
3130
|
]
|
|
3075
3131
|
});
|
|
3076
3132
|
}
|
|
3133
|
+
/** The checked package as the Host read it before installing; a confirmed version keeps its tab's name and version. */
|
|
3134
|
+
function SubjectCard({ subject, confirmed, t }) {
|
|
3135
|
+
const kindKey = SUBJECT_KIND_KEYS[subject.kind];
|
|
3136
|
+
return (0, react_jsx_runtime.jsx)(SubjectBlock, {
|
|
3137
|
+
t,
|
|
3138
|
+
lines: {
|
|
3139
|
+
spec: subject.spec,
|
|
3140
|
+
title: confirmed?.title ?? subject.name ?? subject.spec,
|
|
3141
|
+
description: subject.description ?? (kindKey === void 0 ? void 0 : t(kindKey)),
|
|
3142
|
+
version: subject.version ?? confirmed?.version,
|
|
3143
|
+
showSpec: confirmed !== void 0
|
|
3144
|
+
}
|
|
3145
|
+
});
|
|
3146
|
+
}
|
|
3077
3147
|
/** Track one install field's composition, including Safari's 10ms post-composition Enter window. */
|
|
3078
3148
|
function useInstallComposition(active) {
|
|
3079
3149
|
const composition = (0, react.useRef)({
|
|
@@ -3174,15 +3244,54 @@ window.__ModuleLoader__.load({
|
|
|
3174
3244
|
})] })
|
|
3175
3245
|
});
|
|
3176
3246
|
}
|
|
3247
|
+
if ((phase === "idle" || phase === "checking") && install.confirmed !== void 0) {
|
|
3248
|
+
const checking = phase === "checking";
|
|
3249
|
+
const problem = install.inputError;
|
|
3250
|
+
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
3251
|
+
open: install.open,
|
|
3252
|
+
onClose,
|
|
3253
|
+
title: t(problem === null ? "installConfirmedTitle" : "installConfirmedRefused"),
|
|
3254
|
+
closeLabel: t("close"),
|
|
3255
|
+
className: PluginManagerPage_module_css_default.installDialog,
|
|
3256
|
+
footer: checking ? void 0 : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
3257
|
+
variant: "outline",
|
|
3258
|
+
onClick: onClose,
|
|
3259
|
+
children: t("close")
|
|
3260
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
3261
|
+
variant: "primary",
|
|
3262
|
+
autoFocus: true,
|
|
3263
|
+
onClick: onRun,
|
|
3264
|
+
children: t(problem === null ? "installRun" : "retry")
|
|
3265
|
+
})] }),
|
|
3266
|
+
children: (0, react_jsx_runtime.jsxs)("div", {
|
|
3267
|
+
className: PluginManagerPage_module_css_default.installBody,
|
|
3268
|
+
"data-install-phase": phase,
|
|
3269
|
+
children: [(0, react_jsx_runtime.jsx)(SubjectBlock, {
|
|
3270
|
+
t,
|
|
3271
|
+
lines: {
|
|
3272
|
+
spec: install.spec,
|
|
3273
|
+
...install.confirmed,
|
|
3274
|
+
showSpec: true
|
|
3275
|
+
}
|
|
3276
|
+
}), checking ? (0, react_jsx_runtime.jsxs)("p", {
|
|
3277
|
+
className: `${PluginManagerPage_module_css_default.status} ${PluginManagerPage_module_css_default.statusWithDot}`,
|
|
3278
|
+
role: "status",
|
|
3279
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "ongoing" }), t("installChecking")]
|
|
3280
|
+
}) : problem === null ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
3281
|
+
className: PluginManagerPage_module_css_default.inputError,
|
|
3282
|
+
role: "alert",
|
|
3283
|
+
children: inputProblemSentence(problem, t, install.registries?.resolved ?? null)
|
|
3284
|
+
})]
|
|
3285
|
+
})
|
|
3286
|
+
});
|
|
3287
|
+
}
|
|
3177
3288
|
if (phase === "idle" || phase === "checking") {
|
|
3178
3289
|
const checking = phase === "checking";
|
|
3179
3290
|
const empty = install.spec.trim() === "";
|
|
3180
3291
|
const choice = install.registry;
|
|
3181
3292
|
const resolved = install.registries?.resolved ?? null;
|
|
3182
3293
|
const chosenTitle = choice.kind === "custom" ? t("registryCustom") : registryText(choice.registry, t, resolved).name;
|
|
3183
|
-
const
|
|
3184
|
-
const askedByCheck = inputProblem?.registries ?? [];
|
|
3185
|
-
const inputSentence = inputProblem === null ? null : inputProblem.problem === "network" && askedByCheck.length > 1 ? t("installProblemNetworkAll", { registries: registryList(askedByCheck, t, resolved) }) : t(INPUT_PROBLEM_KEYS[inputProblem.problem], { reason: inputProblem.reason });
|
|
3294
|
+
const inputSentence = install.inputError === null ? null : inputProblemSentence(install.inputError, t, resolved);
|
|
3186
3295
|
const templateHint = install.spec === "https://github.com/author/dsh-plugin" ? t("installGitTemplateHint") : install.spec === "/Users/name/my-plugin" ? t("installPathTemplateHint") : null;
|
|
3187
3296
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
3188
3297
|
open: install.open,
|
|
@@ -3470,7 +3579,7 @@ window.__ModuleLoader__.load({
|
|
|
3470
3579
|
index: String(asked.registries.length),
|
|
3471
3580
|
total: String(asked.total)
|
|
3472
3581
|
}) : null;
|
|
3473
|
-
const changeable = phase === "failed" && !approvable && install.failure?.failedAt === "registry";
|
|
3582
|
+
const changeable = phase === "failed" && !approvable && install.failure?.failedAt === "registry" && install.confirmed === void 0;
|
|
3474
3583
|
const subject = install.subject;
|
|
3475
3584
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
3476
3585
|
open: install.open,
|
|
@@ -3483,13 +3592,13 @@ window.__ModuleLoader__.load({
|
|
|
3483
3592
|
"data-install-phase": phase,
|
|
3484
3593
|
children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
3485
3594
|
className: PluginManagerPage_module_css_default.wizardHead,
|
|
3486
|
-
children: [phase === "done" ? (0, react_jsx_runtime.jsx)("span", {}) : (0, react_jsx_runtime.jsxs)("button", {
|
|
3595
|
+
children: [phase === "done" || install.confirmed !== void 0 && !pending ? (0, react_jsx_runtime.jsx)("span", {}) : (0, react_jsx_runtime.jsxs)("button", {
|
|
3487
3596
|
type: "button",
|
|
3488
3597
|
className: PluginManagerPage_module_css_default.wizardBack,
|
|
3489
|
-
"aria-label": t(pending ? "installCancelAndEdit" : "installEditAria"),
|
|
3598
|
+
"aria-label": t(install.confirmed !== void 0 ? "cancel" : pending ? "installCancelAndEdit" : "installEditAria"),
|
|
3490
3599
|
disabled: !stoppable,
|
|
3491
3600
|
onClick: onCancel,
|
|
3492
|
-
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutlineMedium, { "aria-hidden": "true" }), (0, react_jsx_runtime.jsx)("span", { children: t(pending ? "installCancelAndEdit" : "installEdit") })]
|
|
3601
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutlineMedium, { "aria-hidden": "true" }), (0, react_jsx_runtime.jsx)("span", { children: t(install.confirmed !== void 0 ? "cancel" : pending ? "installCancelAndEdit" : "installEdit") })]
|
|
3493
3602
|
}), (0, react_jsx_runtime.jsx)("button", {
|
|
3494
3603
|
type: "button",
|
|
3495
3604
|
className: PluginManagerPage_module_css_default.wizardClose,
|
|
@@ -3541,6 +3650,7 @@ window.__ModuleLoader__.load({
|
|
|
3541
3650
|
...subject,
|
|
3542
3651
|
version: install.installedVersion
|
|
3543
3652
|
} : subject,
|
|
3653
|
+
confirmed: install.confirmed,
|
|
3544
3654
|
t
|
|
3545
3655
|
}),
|
|
3546
3656
|
approvable ? (0, react_jsx_runtime.jsxs)("section", {
|
|
@@ -3730,7 +3840,21 @@ window.__ModuleLoader__.load({
|
|
|
3730
3840
|
};
|
|
3731
3841
|
const state = props.usePluginManager((snapshot) => snapshot);
|
|
3732
3842
|
const ledger = props.useConfigLedger((snapshot) => snapshot);
|
|
3733
|
-
const view = props.useStore((state) => state.view), { setView } = props.actions;
|
|
3843
|
+
const view = props.useStore((state) => state.view), { setView, setTab } = props.actions;
|
|
3844
|
+
const tabs = props.usePluginTabs((snapshot) => snapshot);
|
|
3845
|
+
const selectedTab = props.useStore((state) => state.tab);
|
|
3846
|
+
const tab = tabs.some((item) => item.id === selectedTab) ? selectedTab : INSTALLED_TAB;
|
|
3847
|
+
(0, react.useEffect)(() => {
|
|
3848
|
+
if (tab !== selectedTab) setTab(tab);
|
|
3849
|
+
}, [
|
|
3850
|
+
tab,
|
|
3851
|
+
selectedTab,
|
|
3852
|
+
setTab
|
|
3853
|
+
]);
|
|
3854
|
+
(0, react.useEffect)(() => {
|
|
3855
|
+
if (state.highlight !== null) setTab(INSTALLED_TAB);
|
|
3856
|
+
}, [state.highlight, setTab]);
|
|
3857
|
+
const tabsId = (0, react.useId)();
|
|
3734
3858
|
const [activation, setActivation] = (0, react.useState)(null);
|
|
3735
3859
|
(0, react.useEffect)(() => {
|
|
3736
3860
|
ensure();
|
|
@@ -3764,11 +3888,18 @@ window.__ModuleLoader__.load({
|
|
|
3764
3888
|
const openPkg = view.kind === "package" || view.kind === "row" ? listed.find((pkg) => pkg.name === view.name) : void 0;
|
|
3765
3889
|
const openItem = view.kind === "item" ? ledger.items.find((item) => item.id === view.id) : void 0;
|
|
3766
3890
|
const openRow = view.kind === "row" && openPkg !== void 0 ? openPkg.rows.find((row) => row.rowId === view.rowId) : void 0;
|
|
3767
|
-
const
|
|
3891
|
+
const onInstalled = tab === INSTALLED_TAB;
|
|
3892
|
+
const showsCards = !onInstalled || openPkg === void 0 && openItem === void 0;
|
|
3768
3893
|
const detailFromMore = (view.kind === "package" || view.kind === "row") && (view.from === "more" || MORE_BUNDLES.includes(view.name) && !pinned.has(view.name));
|
|
3769
|
-
const showsMoreList = showsCards && (view.kind === "more" || detailFromMore);
|
|
3894
|
+
const showsMoreList = onInstalled && showsCards && (view.kind === "more" || detailFromMore);
|
|
3770
3895
|
const showsMainList = showsCards && !showsMoreList;
|
|
3896
|
+
const installedCards = onInstalled && showsCards;
|
|
3771
3897
|
const openPkgInMore = openPkg !== void 0 && openPkg.official && detailFromMore;
|
|
3898
|
+
const installedPanel = tabs.length === 0 || showsMoreList ? {} : {
|
|
3899
|
+
role: "tabpanel",
|
|
3900
|
+
id: `${tabsId}-${INSTALLED_TAB}-panel`,
|
|
3901
|
+
"aria-labelledby": `${tabsId}-${INSTALLED_TAB}`
|
|
3902
|
+
};
|
|
3772
3903
|
const activated = listed.find((pkg) => pkg.name === activation && pkg.enabled && !state.busy.includes(pkg.name));
|
|
3773
3904
|
const setRowEnabled = (row, enabled) => {
|
|
3774
3905
|
/* v8 ignore next -- a row without a live entry has its switch disabled */
|
|
@@ -3881,6 +4012,7 @@ window.__ModuleLoader__.load({
|
|
|
3881
4012
|
})]
|
|
3882
4013
|
}), (0, react_jsx_runtime.jsxs)("div", {
|
|
3883
4014
|
className: PluginManagerPage_module_css_default.toolbar,
|
|
4015
|
+
hidden: !onInstalled,
|
|
3884
4016
|
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
3885
4017
|
label: t("refresh"),
|
|
3886
4018
|
delayMs: 500,
|
|
@@ -3920,6 +4052,44 @@ window.__ModuleLoader__.load({
|
|
|
3920
4052
|
})]
|
|
3921
4053
|
})]
|
|
3922
4054
|
}) : null,
|
|
4055
|
+
showsMainList && tabs.length > 0 ? (0, react_jsx_runtime.jsx)("div", {
|
|
4056
|
+
className: PluginManagerPage_module_css_default.pageTabs,
|
|
4057
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.SegmentedTabs, {
|
|
4058
|
+
className: PluginManagerPage_module_css_default.pageTabList,
|
|
4059
|
+
label: t("tabsLabel"),
|
|
4060
|
+
value: tab,
|
|
4061
|
+
onChange: (next) => {
|
|
4062
|
+
setTab(next);
|
|
4063
|
+
},
|
|
4064
|
+
items: [{
|
|
4065
|
+
value: INSTALLED_TAB,
|
|
4066
|
+
label: t("installedTab"),
|
|
4067
|
+
id: `${tabsId}-${INSTALLED_TAB}`,
|
|
4068
|
+
panelId: `${tabsId}-${INSTALLED_TAB}-panel`
|
|
4069
|
+
}, ...tabs.map((item) => ({
|
|
4070
|
+
value: item.id,
|
|
4071
|
+
label: item.label,
|
|
4072
|
+
id: `${tabsId}-${item.id}`,
|
|
4073
|
+
panelId: `${tabsId}-${item.id}-panel`
|
|
4074
|
+
}))]
|
|
4075
|
+
})
|
|
4076
|
+
}) : null,
|
|
4077
|
+
!onInstalled ? (0, react_jsx_runtime.jsx)("div", {
|
|
4078
|
+
role: "tabpanel",
|
|
4079
|
+
id: `${tabsId}-${tab}-panel`,
|
|
4080
|
+
"aria-labelledby": `${tabsId}-${tab}`,
|
|
4081
|
+
className: PluginManagerPage_module_css_default.tabPanel,
|
|
4082
|
+
children: renderSlot("plugins.tab", {
|
|
4083
|
+
install: props.installFrom,
|
|
4084
|
+
openPackage: (name) => {
|
|
4085
|
+
setTab(INSTALLED_TAB);
|
|
4086
|
+
setView({
|
|
4087
|
+
kind: "package",
|
|
4088
|
+
name
|
|
4089
|
+
});
|
|
4090
|
+
}
|
|
4091
|
+
}, { only: tab })
|
|
4092
|
+
}) : null,
|
|
3923
4093
|
showsMoreList ? (0, react_jsx_runtime.jsxs)("header", {
|
|
3924
4094
|
className: PluginManagerPage_module_css_default.moreHead,
|
|
3925
4095
|
"data-window-drag": true,
|
|
@@ -3939,11 +4109,14 @@ window.__ModuleLoader__.load({
|
|
|
3939
4109
|
children: t("moreTitle")
|
|
3940
4110
|
})]
|
|
3941
4111
|
}) : null,
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
4112
|
+
installedCards && !loaded ? (0, react_jsx_runtime.jsxs)("div", {
|
|
4113
|
+
className: PluginManagerPage_module_css_default.installedPanel,
|
|
4114
|
+
...installedPanel,
|
|
4115
|
+
children: [state.status === "loading" ? (0, react_jsx_runtime.jsx)(ListSkeleton, { label: t("loading") }) : null, state.status === "unavailable" ? (0, react_jsx_runtime.jsxs)("p", {
|
|
4116
|
+
className: `${PluginManagerPage_module_css_default.status} ${PluginManagerPage_module_css_default.statusWithDot}`,
|
|
4117
|
+
role: "status",
|
|
4118
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "idle" }), t("unavailable")]
|
|
4119
|
+
}) : null]
|
|
3947
4120
|
}) : null,
|
|
3948
4121
|
state.notice === null || noticeLine === null ? null : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
3949
4122
|
text: noticeLine,
|
|
@@ -3964,7 +4137,7 @@ window.__ModuleLoader__.load({
|
|
|
3964
4137
|
children: t("retry")
|
|
3965
4138
|
})]
|
|
3966
4139
|
}) : null,
|
|
3967
|
-
loaded && openPkg !== void 0 && openRow !== void 0 ? (0, react_jsx_runtime.jsx)(RowDetail, {
|
|
4140
|
+
onInstalled && loaded && openPkg !== void 0 && openRow !== void 0 ? (0, react_jsx_runtime.jsx)(RowDetail, {
|
|
3968
4141
|
pkg: openPkg,
|
|
3969
4142
|
row: openRow,
|
|
3970
4143
|
form: formFor(openRow.rowId),
|
|
@@ -3979,7 +4152,7 @@ window.__ModuleLoader__.load({
|
|
|
3979
4152
|
});
|
|
3980
4153
|
}
|
|
3981
4154
|
}) : null,
|
|
3982
|
-
loaded && openPkg !== void 0 && openRow === void 0 ? (0, react_jsx_runtime.jsx)(PackageDetail, {
|
|
4155
|
+
onInstalled && loaded && openPkg !== void 0 && openRow === void 0 ? (0, react_jsx_runtime.jsx)(PackageDetail, {
|
|
3983
4156
|
pkg: openPkg,
|
|
3984
4157
|
t,
|
|
3985
4158
|
resolveText,
|
|
@@ -4003,7 +4176,7 @@ window.__ModuleLoader__.load({
|
|
|
4003
4176
|
},
|
|
4004
4177
|
onSetRowEnabled: setRowEnabled
|
|
4005
4178
|
}) : null,
|
|
4006
|
-
loaded && openItem !== void 0 ? (0, react_jsx_runtime.jsx)(ItemDetail, {
|
|
4179
|
+
onInstalled && loaded && openItem !== void 0 ? (0, react_jsx_runtime.jsx)(ItemDetail, {
|
|
4007
4180
|
form: formFor(openItem.id),
|
|
4008
4181
|
item: openItem,
|
|
4009
4182
|
t,
|
|
@@ -4012,34 +4185,42 @@ window.__ModuleLoader__.load({
|
|
|
4012
4185
|
setView({ kind: "list" });
|
|
4013
4186
|
}
|
|
4014
4187
|
}) : null,
|
|
4015
|
-
loaded &&
|
|
4016
|
-
className: PluginManagerPage_module_css_default.
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
"data-plugin-group": "more",
|
|
4022
|
-
children: (0, react_jsx_runtime.jsx)("ul", {
|
|
4023
|
-
className: PluginManagerPage_module_css_default.cards,
|
|
4024
|
-
children: more.map(packageCard)
|
|
4188
|
+
loaded && installedCards ? basicCards.length === 0 && official.length === 0 && mine.length === 0 && state.status !== "error" ? (0, react_jsx_runtime.jsx)("div", {
|
|
4189
|
+
className: PluginManagerPage_module_css_default.installedPanel,
|
|
4190
|
+
...installedPanel,
|
|
4191
|
+
children: (0, react_jsx_runtime.jsx)("p", {
|
|
4192
|
+
className: PluginManagerPage_module_css_default.empty,
|
|
4193
|
+
children: t("empty")
|
|
4025
4194
|
})
|
|
4026
|
-
}) : (0, react_jsx_runtime.jsxs)(
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
})
|
|
4042
|
-
|
|
4195
|
+
}) : (0, react_jsx_runtime.jsxs)("div", {
|
|
4196
|
+
className: PluginManagerPage_module_css_default.installedPanel,
|
|
4197
|
+
...installedPanel,
|
|
4198
|
+
children: [showsMoreList ? (0, react_jsx_runtime.jsx)("section", {
|
|
4199
|
+
className: PluginManagerPage_module_css_default.group,
|
|
4200
|
+
"data-plugin-scope": "global",
|
|
4201
|
+
"data-plugin-group": "more",
|
|
4202
|
+
children: (0, react_jsx_runtime.jsx)("ul", {
|
|
4203
|
+
className: PluginManagerPage_module_css_default.cards,
|
|
4204
|
+
children: more.map(packageCard)
|
|
4205
|
+
})
|
|
4206
|
+
}) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
4207
|
+
renderGroup("basic", t("basicTitle"), basicCards),
|
|
4208
|
+
renderGroup("extensions", t("extensionsTitle"), extensions.map(packageCard)),
|
|
4209
|
+
renderGroup("bundles", t("bundlesTitle"), mine.map(packageCard))
|
|
4210
|
+
] }), state.status === "error" && !refreshing ? (0, react_jsx_runtime.jsxs)("div", {
|
|
4211
|
+
className: PluginManagerPage_module_css_default.failure,
|
|
4212
|
+
children: [(0, react_jsx_runtime.jsxs)("p", {
|
|
4213
|
+
className: PluginManagerPage_module_css_default.statusWithDot,
|
|
4214
|
+
role: "alert",
|
|
4215
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "error" }), t(state.refreshStatus === "failed" ? "refreshError" : "error")]
|
|
4216
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
4217
|
+
variant: "outline",
|
|
4218
|
+
size: "sm",
|
|
4219
|
+
onClick: props.refresh,
|
|
4220
|
+
children: t("retry")
|
|
4221
|
+
})]
|
|
4222
|
+
}) : null]
|
|
4223
|
+
}) : null,
|
|
4043
4224
|
showsCards && activated !== void 0 && !state.install.open ? renderSlot("plugins.bundle.activation", {
|
|
4044
4225
|
packageName: activated.name,
|
|
4045
4226
|
onDismiss: () => {
|
|
@@ -4109,6 +4290,41 @@ window.__ModuleLoader__.load({
|
|
|
4109
4290
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPluginPinwheelOutlineRegular, { size });
|
|
4110
4291
|
}
|
|
4111
4292
|
//#endregion
|
|
4293
|
+
//#region lib/types/client/tab-ledger.js
|
|
4294
|
+
/** The tabs other plugins contribute to the Plugins page through `plugins.tab`, in the active locale. */
|
|
4295
|
+
/**
|
|
4296
|
+
* Project the `plugins.tab` ledger as one observable the page binds.
|
|
4297
|
+
* @param ctx - the page plugin's context, whose slot registry and locale the projection follows.
|
|
4298
|
+
* @returns the tab source; its snapshot changes only when the ledger or the locale does.
|
|
4299
|
+
*/
|
|
4300
|
+
function tabLedgerSource(ctx) {
|
|
4301
|
+
let version = -1;
|
|
4302
|
+
let revision = -1;
|
|
4303
|
+
let tabs = [];
|
|
4304
|
+
return {
|
|
4305
|
+
getSnapshot: () => {
|
|
4306
|
+
const next = ctx.slots.getVersion("plugins.tab");
|
|
4307
|
+
const current = ctx.locale.getSnapshot().revision;
|
|
4308
|
+
if (next !== version || current !== revision) {
|
|
4309
|
+
version = next;
|
|
4310
|
+
revision = current;
|
|
4311
|
+
tabs = ctx.slots.entries("plugins.tab").map((entry) => ({
|
|
4312
|
+
/* v8 ignore next -- list-slot registration requires id */
|
|
4313
|
+
id: entry.options.id ?? "",
|
|
4314
|
+
label: (0, _deepseek_ai_dsh_client_ui_slots.resolveSlotLabel)(entry.options.label) ?? ""
|
|
4315
|
+
}));
|
|
4316
|
+
}
|
|
4317
|
+
return tabs;
|
|
4318
|
+
},
|
|
4319
|
+
subscribe: (listener) => {
|
|
4320
|
+
const offs = [ctx.slots.subscribe("plugins.tab", listener), ctx.locale.subscribe(listener)];
|
|
4321
|
+
return () => {
|
|
4322
|
+
for (const off of offs) off();
|
|
4323
|
+
};
|
|
4324
|
+
}
|
|
4325
|
+
};
|
|
4326
|
+
}
|
|
4327
|
+
//#endregion
|
|
4112
4328
|
//#region lib/types/client/navigation-store.js
|
|
4113
4329
|
/** Plugin page selection shared by the page and cross-plugin navigation. */
|
|
4114
4330
|
/**
|
|
@@ -4117,10 +4333,18 @@ window.__ModuleLoader__.load({
|
|
|
4117
4333
|
*/
|
|
4118
4334
|
function createNavigationStore() {
|
|
4119
4335
|
return (0, _deepseek_ai_dsh_client_store.defineStore)({
|
|
4120
|
-
init: () => ({
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
}
|
|
4336
|
+
init: () => ({
|
|
4337
|
+
view: { kind: "list" },
|
|
4338
|
+
tab: "installed"
|
|
4339
|
+
}),
|
|
4340
|
+
actions: {
|
|
4341
|
+
setView: (draft, view) => {
|
|
4342
|
+
draft.view = view;
|
|
4343
|
+
},
|
|
4344
|
+
setTab: (draft, tab) => {
|
|
4345
|
+
draft.tab = tab;
|
|
4346
|
+
}
|
|
4347
|
+
}
|
|
4124
4348
|
});
|
|
4125
4349
|
}
|
|
4126
4350
|
//#endregion
|
|
@@ -4174,7 +4398,7 @@ window.__ModuleLoader__.load({
|
|
|
4174
4398
|
};
|
|
4175
4399
|
}, "ui-plugin-manager: host invalidations");
|
|
4176
4400
|
const configLedger = configLedgerSource(ctx);
|
|
4177
|
-
const face = controller.inject(configLedger, (text) => ctx.locale.resolveText(text));
|
|
4401
|
+
const face = controller.inject(configLedger, tabLedgerSource(ctx), (text) => ctx.locale.resolveText(text));
|
|
4178
4402
|
ctx.slots.inject("shell.overlay", () => ctx.slots.register({
|
|
4179
4403
|
name: "shell.overlay",
|
|
4180
4404
|
id: "plugin-manager.refresh-toast",
|
|
@@ -4201,6 +4425,10 @@ window.__ModuleLoader__.load({
|
|
|
4201
4425
|
kind: "list",
|
|
4202
4426
|
scope: "root"
|
|
4203
4427
|
},
|
|
4428
|
+
"plugins.tab": {
|
|
4429
|
+
kind: "list",
|
|
4430
|
+
scope: "root"
|
|
4431
|
+
},
|
|
4204
4432
|
"plugins.item": {
|
|
4205
4433
|
kind: "list",
|
|
4206
4434
|
scope: "root"
|
|
@@ -4236,6 +4464,7 @@ window.__ModuleLoader__.load({
|
|
|
4236
4464
|
});
|
|
4237
4465
|
const disposeNavigation = ctx.reflect.provide("pluginNavigation", { openBundle: (packageName) => {
|
|
4238
4466
|
ctx.layout.selectPanel(PANEL_ID);
|
|
4467
|
+
instance.actions.setTab("installed");
|
|
4239
4468
|
instance.actions.setView({
|
|
4240
4469
|
kind: "package",
|
|
4241
4470
|
name: packageName
|