@songtonyli/dsh-cli 0.1.30 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/dsh.mjs +1 -1
- package/node_modules/@deepseek-ai/cordis/README.md +4 -0
- package/node_modules/@deepseek-ai/cordis/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis/src/index.ts +2 -0
- package/node_modules/@deepseek-ai/cordis-plugin-group/package.json +3 -3
- package/node_modules/@deepseek-ai/cordis-plugin-include/package.json +4 -4
- package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +4 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +87 -7
- package/node_modules/@deepseek-ai/cordis-plugin-loader/package.json +4 -3
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/diff.ts +45 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +53 -7
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/index.ts +13 -1
- package/node_modules/@deepseek-ai/cordis-plugin-timer/package.json +3 -3
- package/node_modules/@deepseek-ai/cosmokit/README.md +6 -0
- package/node_modules/@deepseek-ai/cosmokit/lib/index.js +112 -19
- package/node_modules/@deepseek-ai/cosmokit/package.json +1 -1
- package/node_modules/@deepseek-ai/cosmokit/src/index.ts +2 -0
- package/node_modules/@deepseek-ai/cosmokit/src/types.ts +49 -23
- package/node_modules/@deepseek-ai/cosmokit/src/volatile.ts +86 -0
- 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/lib/bin.js +21 -5
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-Bb5YvFIX.js → dump-config-C-0P1h0W.js} +14 -3
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-DaAE0NHG.js +2 -0
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-schema-BgEU7VYz.js +41 -0
- package/node_modules/@deepseek-ai/dsh/lib/{plugin-DJ-rVHUS.js → plugin-CnNK4cws.js} +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-BNu17Y9U.js → profile-boot-DIiro1p-.js} +8 -15
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +113 -119
- package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +7 -6
- package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent/README.md +3 -0
- package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +3 -0
- package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +40 -6
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/archive-admission.js +35 -0
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/consumed-work.js +5 -4
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +1 -2
- package/node_modules/@deepseek-ai/dsh-agent/package.json +27 -20
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +9 -9
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +9 -9
- package/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +26 -39
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +39 -49
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +26 -28
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset/README.md +94 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/README.zh.md +94 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/lib/index.js +29 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +49 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/SKILL.md +29 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +506 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +38 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/host-plugin.md +60 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/mcp-bundle.md +5 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/ui-plugin.md +13 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/verification.md +5 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/client.js +22 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/package.json +15 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/cordis.patch.yml +8 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/package.json +7 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/editing-cordis-compositions/SKILL.md +84 -0
- package/node_modules/@deepseek-ai/{dsh-api-authorization-controller → dsh-agent-preset-registry}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +107 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +107 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +781 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/invariant.js +806 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/typert.host.js +118 -270
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +84 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/composition-inventory.js +9 -36
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/definition.js +29 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/display.js +12 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +371 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/invariant.js +7 -19
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/mount.js +243 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/preset.js +2 -0
- package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/session.js +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +96 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +7 -7
- package/node_modules/@deepseek-ai/{dsh-settings-file → dsh-api-account-controller}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.md +53 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/README.zh.md +53 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/index.js +209 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.host.js +273 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/typert.remote-client.js +267 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/index.js +116 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/{dsh-api-authorization-controller → dsh-api-account-controller}/package.json +13 -20
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +9 -4
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +9 -4
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/client.js +294 -51
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +516 -92
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/index.js +104 -14
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/remote-events.js +2 -2
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/client/stream-client.js +164 -11
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +322 -33
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-protocol.js +10 -46
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-server.js +210 -23
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +18 -13
- package/node_modules/@deepseek-ai/{dsh-llm-cursor → dsh-api-job-controller}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-api-job-controller/README.md +69 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/README.zh.md +69 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/client.js +367 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/index.js +377 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.host.js +273 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/typert.remote-client.js +181 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/index.js +23 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/model.js +164 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/client/service.js +182 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/index.js +150 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/observe.js +107 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/rows.js +43 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/types.js +8 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/lib/types/wake.js +59 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +82 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1751 -1017
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/client/index.js +7 -3
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +40 -39
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +31 -8
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +31 -8
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +603 -515
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +299 -137
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +373 -183
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +216 -124
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/archived-session-gate.js +52 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/lineage.js +2 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/manager.js +249 -277
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/projection-store.js +45 -13
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/service.js +35 -47
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +112 -50
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +72 -36
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/control.js +2 -44
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/history.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +117 -13
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +24 -15
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/skill-catalog.js +60 -50
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.js +0 -1
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +68 -72
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.md +1 -2
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/README.zh.md +1 -2
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/index.js +6 -78
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.host.js +33 -99
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/typert.remote-client.js +32 -80
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/lib/types/index.js +6 -61
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +50 -22
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.remote-client.js +4 -4
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.md +16 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/README.zh.md +16 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/client.js +98 -6
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/index.js +202 -15
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.host.js +161 -11
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/typert.remote-client.js +121 -8
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/index.js +4 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/model.js +70 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/client/service.js +33 -3
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/commands.js +45 -7
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/default-directory.js +65 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/feed.js +9 -1
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/lib/types/index.js +62 -5
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +21 -18
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.md +26 -25
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/README.zh.md +26 -25
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/client.js +41 -35
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/index.js +129 -121
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.host.js +72 -141
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/typert.remote-client.js +61 -120
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/changes.js +106 -46
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/client/change-feed.js +34 -27
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/client/provider.js +13 -6
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/lib/types/index.js +32 -53
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +33 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +33 -15
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +1647 -681
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +255 -357
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-atomic-write/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-authorization/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-authorization/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-authorization/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-authorization/lib/index.js +16 -4
- package/node_modules/@deepseek-ai/dsh-authorization/lib/types/index.js +19 -4
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +20 -26
- package/node_modules/@deepseek-ai/dsh-base/package.json +94 -94
- package/node_modules/@deepseek-ai/dsh-bash-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-bash-local/README.md +7 -6
- package/node_modules/@deepseek-ai/dsh-bash-local/README.zh.md +7 -6
- package/node_modules/@deepseek-ai/dsh-bash-local/lib/index.js +153 -202
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/lib/index.js +58 -63
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-brand/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-connection/README.md +7 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/README.zh.md +7 -3
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/client.js +169 -28
- package/node_modules/@deepseek-ai/dsh-client-connection/lib/index.js +98 -36
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +13 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/client.js +8 -12
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +46 -18
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/client/runtime.js +5 -12
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/protocol.js +5 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/client.js +6 -4
- package/node_modules/@deepseek-ai/dsh-client-hmr/lib/index.js +8 -5
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-locale/README.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/README.zh.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +225 -75
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/index.js +9 -8
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +57 -36
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/invariant.js +2 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +8 -7
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +7 -6
- package/node_modules/@deepseek-ai/dsh-client-store/LICENSE +21 -0
- package/node_modules/@deepseek-ai/{dsh-client-ui-settings-unarchive-sessions → dsh-client-store}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-client-store/README.md +48 -0
- package/node_modules/@deepseek-ai/dsh-client-store/README.zh.md +48 -0
- package/node_modules/@deepseek-ai/dsh-client-store/lib/index.js +180 -0
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/contract.d.ts +121 -0
- package/node_modules/@deepseek-ai/dsh-client-store/lib/types/index.d.ts +92 -0
- package/node_modules/@deepseek-ai/dsh-client-store/package.json +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +13 -31
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +22 -40
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +865 -1033
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +21 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +28 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +62 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +60 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +4808 -1393
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +37 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +41 -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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +20 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +17 -16
- 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 +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +19 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +1321 -349
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/index.js +9 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +34 -32
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +28 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +14 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +14 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +628 -497
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +17 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +31 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +18 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +13 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.md +25 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/README.zh.md +29 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +413 -63
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +26 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +75 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +10 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +15 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +18 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +12 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +17 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.md +20 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/README.zh.md +20 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +530 -195
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +25 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +39 -100
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +17 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.md +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/README.zh.md +8 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +73 -60
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +22 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +29 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +29 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +1095 -381
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +16 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.md +25 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/README.zh.md +25 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/ConnectionIndicator.module.css +1 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/HoverCard.module.css +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Menu.module.css +68 -48
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Modal.module.css +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/OnboardingSurface.module.css +1 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/PathLabel.module.css +28 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/RiskConfirmation.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedControl.module.css +76 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/SegmentedTabs.module.css +55 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/StateDot.module.css +64 -37
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TerminalBlock.module.css +13 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/TextShimmer.module.css +27 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Toast.module.css +31 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/Tooltip.module.css +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/index.js +5418 -2739
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/markdown/MarkdownText.module.css +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/SettingsForm.module.css +53 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/settings-form/fields.module.css +145 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ConfigField.d.ts +33 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/DisclosureRow.d.ts +4 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/HoverCard.d.ts +14 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/LinkIcon.d.ts +15 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Menu.d.ts +50 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PathLabel.d.ts +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/PermissionIcon.d.ts +39 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/ReferenceIcon.d.ts +12 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedControl.d.ts +35 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SegmentedTabs.d.ts +26 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/SiteGlyph.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/StateDot.d.ts +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TerminalBlock.d.ts +15 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/TextShimmer.d.ts +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Toast.d.ts +19 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/Tooltip.d.ts +12 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-file-types.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/code-highlighting.d.ts +19 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/index.d.ts +376 -195
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/props.d.ts +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/icons/shared-artwork.d.ts +36 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/index.d.ts +21 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/overlay-top-margin.d.ts +14 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/plugin-artwork.d.ts +17 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/SettingsForm.d.ts +46 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/fields.d.ts +69 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/settings-form/form-model.d.ts +214 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredMaxHeight.d.ts +4 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/lib/types/useAnchoredPosition.d.ts +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-primitives/package.json +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +12 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/lib/client.js +7 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +7 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +2 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +10 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.md +20 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/README.zh.md +20 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/client.js +281 -117
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/lib/index.js +18 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +13 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +75 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +75 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +2383 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/index.js +28 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +69 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/client.js +175 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +17 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +17 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +166 -36
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +19 -15
- 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 +14 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +25 -22
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1246 -180
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/index.js +24 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +15 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +116 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.md +11 -46
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/README.zh.md +15 -50
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +15 -1753
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +10 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/client.js +199 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +9 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.md +82 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/README.zh.md +82 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +857 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/index.js +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +61 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.md +79 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/README.zh.md +79 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +324 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/index.js +13 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +61 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +35 -28
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +12 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.md +13 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/README.zh.md +13 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +1191 -429
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +16 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +46 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +46 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +133782 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +3766 -789
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +37 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/index.js +13 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +34 -21
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/README.zh.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +316 -106
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +15 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +10 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +323 -111
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +24 -141
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +25 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-slots/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.md +13 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/README.zh.md +13 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +168 -260
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +172 -70
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/index.js +14 -27
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/Montserrat-OFL.txt +93 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/brand-font.css +24 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-light.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-medium.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/styles/montserrat-regular.woff2 +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +17 -15
- 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 +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/README.zh.md +10 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +1887 -204
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +24 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +32 -44
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +18 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +19 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +9 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +102 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +102 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +2182 -1015
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +26 -22
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +46 -18
- package/node_modules/@deepseek-ai/dsh-commands/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-compaction/lib/index.js +2 -5
- package/node_modules/@deepseek-ai/dsh-compaction/lib/invariant.js +4 -22
- package/node_modules/@deepseek-ai/dsh-compaction/lib/types/checkpoint.js +2 -2
- package/node_modules/@deepseek-ai/dsh-compaction/lib/types/invariant.js +2 -3
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +9 -8
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +9 -8
- package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +50 -19
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/index.js +1 -7
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/image-offload.js +0 -3
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/lib/types/project-message.js +0 -5
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/lib/index.js +3 -7
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-config-editor/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/README.md +79 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/README.zh.md +79 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +132 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +54 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +878 -170
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +6 -68
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +107 -51
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.remote-client.js +15 -15
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/sandbox.js +0 -27
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.md +63 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/README.zh.md +63 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/index.js +35 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/index.js +36 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +42 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.md +96 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/README.zh.md +96 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/index.js +891 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/details.js +55 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/index.js +488 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/logout.js +34 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/protocol.js +210 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +52 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-deque/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +8 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +8 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +14 -74
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/invariant.js +6 -8
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.host.js +51 -189
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/typert.remote-client.js +3 -151
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +0 -41
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/projection.js +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/roster.js +8 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +28 -26
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.md +16 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +16 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +3 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/icon.svg +12 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +12 -7
- package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-web-profile → dsh-experimental-api-speech-to-text}/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/README.zh.md +78 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/index.js +218 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.host.js +432 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/typert.remote-client.js +311 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/index.js +142 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/README.zh.md +11 -9
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +127 -562
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +30 -27
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +76 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +76 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +5714 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +92 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.md +80 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/README.zh.md +80 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/index.js +200 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/index.js +181 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/lib/types/wave.js +24 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +57 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.md +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/README.zh.md +82 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/index.js +818 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/lib/worker.js +219 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +53 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/runtime/assets.json +28 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +23 -24
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +27 -25
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.md +77 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/README.zh.md +77 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/cordis.patch.yml +13 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/icon.svg +9 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +54 -0
- package/node_modules/@deepseek-ai/dsh-file-reference/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-file-reference/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-file-reference/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.md +3 -4
- package/node_modules/@deepseek-ai/dsh-file-reference-local/README.zh.md +3 -4
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-fs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs/README.md +7 -5
- package/node_modules/@deepseek-ai/dsh-fs/README.zh.md +7 -5
- package/node_modules/@deepseek-ai/dsh-fs/lib/index.js +12 -0
- package/node_modules/@deepseek-ai/dsh-fs/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs-local/README.md +6 -3
- package/node_modules/@deepseek-ai/dsh-fs-local/README.zh.md +6 -3
- package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +27 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +8 -7
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +46 -18
- package/node_modules/@deepseek-ai/dsh-goal/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/lib/index.js +2 -3
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-Bh4BGGk9.js → json-stream-BA-F3lfb.js} +4 -4
- package/node_modules/@deepseek-ai/dsh-headless/lib/startup.js +1 -1
- package/node_modules/@deepseek-ai/dsh-headless/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-hmr/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-hmr/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-hmr/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-hook-protocol/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-hook-protocol/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/lib/index.js +4 -7
- package/node_modules/@deepseek-ai/dsh-hooks-claude-code/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-hooks-codex/lib/index.js +3 -6
- package/node_modules/@deepseek-ai/dsh-hooks-codex/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/index.js +28 -81
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/icons.js +4 -49
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/resolver.js +8 -27
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/lib/types/shared.js +16 -7
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.md +8 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/README.zh.md +8 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/index.js +19 -11
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +23 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +23 -4
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/types/index.js +18 -10
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-invariants/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-invariants/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-invariants/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-jobs/README.md +18 -11
- package/node_modules/@deepseek-ai/dsh-jobs/README.zh.md +18 -11
- package/node_modules/@deepseek-ai/dsh-jobs/lib/index.js +74 -16
- package/node_modules/@deepseek-ai/dsh-jobs/lib/invariant.js +67 -17
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/archive-admission.js +43 -0
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/index.js +34 -16
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/invariant.js +90 -27
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/types.js +3 -2
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/view.js +9 -0
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +22 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.md +18 -11
- package/node_modules/@deepseek-ai/dsh-jobs-local/README.zh.md +17 -10
- package/node_modules/@deepseek-ai/dsh-jobs-local/lib/index.js +566 -193
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm/README.md +11 -8
- package/node_modules/@deepseek-ai/dsh-llm/README.zh.md +11 -8
- package/node_modules/@deepseek-ai/dsh-llm/lib/index.js +41 -97
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +69 -13
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.remote-client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/assembler.js +4 -4
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/content.js +12 -64
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/index.js +3 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/message.js +21 -16
- package/node_modules/@deepseek-ai/dsh-llm/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +35 -49
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +36 -50
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +1132 -2048
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +53 -43
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +12 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +11 -8
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +84 -184
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +30 -24
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-native-command/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-native-command/README.md +8 -9
- package/node_modules/@deepseek-ai/dsh-native-command/README.zh.md +8 -9
- package/node_modules/@deepseek-ai/dsh-native-command/lib/index.js +612 -3
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/desktop-entry.js +79 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-linux.js +70 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications-windows.js +228 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/file-applications.js +191 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/index.js +10 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/path-opener.js +230 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/runner.js +27 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/types.js +25 -0
- package/node_modules/@deepseek-ai/dsh-native-command/lib/types/url-opener.js +88 -0
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +10 -5
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/lib/index.js +33 -57
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.host.js +41 -3
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/typert.remote-client.js +39 -1
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/lib/types/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-package-manifest/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +16 -35
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +54 -20
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +7 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +14 -38
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +23 -24
- package/node_modules/@deepseek-ai/dsh-persona/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-persona/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-persona/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +1 -2
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +12 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +12 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +371 -74
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +203 -29
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +155 -15
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +210 -70
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-failure.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/install-spec.js +16 -2
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/operations.js +35 -5
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/registry.js +95 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +5 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +37 -32
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.md +6 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-local/README.zh.md +6 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-local/lib/index.js +161 -196
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +11 -13
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/lib/index.js +58 -63
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/lib/index.js +36 -60
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-local/lib/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.md +19 -15
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/README.zh.md +17 -13
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/runner.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/{types-CutH1Lgc.js → types-DxezulnA.js} +267 -78
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-schedule/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +104 -37
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +61 -5
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +11 -1
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-scope/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +15 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +12 -8
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +215 -125
- package/node_modules/@deepseek-ai/dsh-session/lib/invariant.js +4 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/types/fork.js +28 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +56 -61
- package/node_modules/@deepseek-ai/dsh-session/lib/types/invariant.js +5 -1
- package/node_modules/@deepseek-ai/dsh-session/lib/types/known-event-types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session/lib/types/repair.js +52 -23
- package/node_modules/@deepseek-ai/dsh-session/lib/types/surface.js +73 -17
- package/node_modules/@deepseek-ai/dsh-session/lib/types/types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session/package.json +15 -11
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/index.js +55 -10
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/children.js +17 -0
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/generated.js +25 -11
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/historical.js +20 -0
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/lib/types/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +11 -10
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +350 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +350 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +1552 -0
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +51 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +43 -20
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/index.js +48 -17
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-session-persistence/lib/index.js +2 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +210 -45
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +1456 -313
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/lib/index.js +71 -51
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-query/lib/index.js +4 -5
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +5 -5
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +47 -19
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/index.js +3 -7
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/types/projection.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +39 -39
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-telemetry/lib/index.js +6 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-session-title-llm/lib/index.js +1 -4
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-settings/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-settings/README.md +19 -96
- package/node_modules/@deepseek-ai/dsh-settings/README.zh.md +25 -102
- package/node_modules/@deepseek-ai/dsh-settings/lib/index.js +360 -426
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +271 -512
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/redact.js +14 -8
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/schema.js +85 -0
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/types.js +1 -9
- package/node_modules/@deepseek-ai/dsh-settings/package.json +21 -17
- package/node_modules/@deepseek-ai/dsh-shell/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-shell/README.md +17 -10
- package/node_modules/@deepseek-ai/dsh-shell/README.zh.md +17 -10
- package/node_modules/@deepseek-ai/dsh-shell/lib/index.js +19 -21
- package/node_modules/@deepseek-ai/dsh-shell/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-shell-env/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-shell-env/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/lib/index.js +10 -1
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-skill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/README.md +100 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +100 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +46 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-pptx/SKILL.md +70 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-xlsx/SKILL.md +56 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/scripts/check_office.py +279 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/lib/index.js +80 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +43 -0
- package/node_modules/@deepseek-ai/dsh-spill/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-storage/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +9 -6
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +9 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +301 -239
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +60 -89
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -56
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/archive-admission.js +151 -0
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/catalog.js +12 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control-types.js +2 -3
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/control.js +2 -40
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +29 -91
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/lifecycle.js +14 -19
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/list-children.js +45 -49
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/projection.js +10 -4
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/run-settlement.js +1 -1
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +57 -54
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-subagent-in-process-driver/package.json +26 -26
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +2 -3
- package/node_modules/@deepseek-ai/dsh-time-context/lib/invariant.js +4 -4
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +35 -57
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +0 -7
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/estimate.js +0 -3
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/surface-fold.js +0 -5
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +16 -10
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +16 -10
- package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +421 -183
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +32 -32
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.md +6 -5
- package/node_modules/@deepseek-ai/dsh-tool-cordis/README.zh.md +6 -5
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/index.js +4 -9980
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +7809 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/config.js +93 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/host.js +17 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/index.js +57 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/present.js +16 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/providers.js +85 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +21 -12
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +30 -30
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +1 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +9 -8
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +10 -9
- package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +110 -51
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-present/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -4
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +10 -5
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +10 -5
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +440 -207
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +31 -31
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/lib/index.js +9 -3
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +2 -2
- 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 +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/model-selection-settings.js +12 -38
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +30 -32
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +10 -20
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.md +21 -8
- package/node_modules/@deepseek-ai/dsh-tool-workflow/README.zh.md +21 -8
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/index.js +179 -11
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/index.js +147 -14
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/record.js +43 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +25 -21
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.i18n.yaml +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.md +128 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/README.zh.md +128 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/lib/index.js +252 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +44 -0
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tools/README.md +4 -0
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +4 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/ptc.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +1 -0
- package/node_modules/@deepseek-ai/dsh-tools/package.json +27 -27
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +18 -16
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +18 -16
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +866 -144
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +75 -75
- package/node_modules/@deepseek-ai/dsh-typert-loader/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +7 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +7 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/index.js +66 -3
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/index.js +20 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/lib/types/json-value.js +61 -0
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +6 -3
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.js +3 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/index.js +3 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/types/service.js +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/index.js +1 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/invariant.js +1 -4
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/types/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +9 -6
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +9 -6
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +51 -29
- package/node_modules/@deepseek-ai/dsh-web-app/lib/index.js +293 -1
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +150 -102
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +154 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/minimal.patch.yml +61 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +152 -0
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +146 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-DU8FBaxM.js +127 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-Uv-aF9RH.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon-dark.svg +3 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/favicon.svg +0 -5
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +4 -3
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/manifest.webmanifest +3 -4
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +15 -10
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +21 -29
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +16 -18
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-webhook/lib/index.js +121 -50
- package/node_modules/@deepseek-ai/dsh-webhook/lib/types/session.js +111 -46
- package/node_modules/@deepseek-ai/dsh-webhook/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-webhook-github/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
- package/node_modules/@deepseek-ai/dsh-workspace/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-workspace/README.md +16 -4
- package/node_modules/@deepseek-ai/dsh-workspace/README.zh.md +17 -4
- package/node_modules/@deepseek-ai/dsh-workspace/lib/index.js +166 -25
- package/node_modules/@deepseek-ai/dsh-workspace/lib/invariant.js +8 -3
- package/node_modules/@deepseek-ai/dsh-workspace/lib/types/index.js +185 -21
- package/node_modules/@deepseek-ai/dsh-workspace/lib/types/spec.js +11 -4
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +16 -16
- package/node_modules/@deepseek-ai/schemastery/README.md +4 -0
- package/node_modules/@deepseek-ai/schemastery/lib/index.cjs +40 -1
- package/node_modules/@deepseek-ai/schemastery/lib/index.mjs +41 -2
- package/node_modules/@deepseek-ai/schemastery/package.json +2 -2
- package/node_modules/@deepseek-ai/schemastery/src/index.ts +93 -33
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +0 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +0 -2
- package/node_modules/@eslint-community/regexpp/LICENSE +21 -0
- package/node_modules/@eslint-community/regexpp/README.md +177 -0
- package/node_modules/@eslint-community/regexpp/index.js +3042 -0
- package/node_modules/@eslint-community/regexpp/index.mjs +3032 -0
- package/node_modules/@eslint-community/regexpp/package.json +71 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +104 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +631 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +747 -0
- package/node_modules/fast-uri/package.json +56 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +38 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +25 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/sherpa-onnx-node/README.md +11 -0
- package/node_modules/sherpa-onnx-node/addon-static-import.js +70 -0
- package/node_modules/sherpa-onnx-node/addon.js +98 -0
- package/node_modules/sherpa-onnx-node/audio-tagg.js +45 -0
- package/node_modules/sherpa-onnx-node/keyword-spotter.js +68 -0
- package/node_modules/sherpa-onnx-node/non-streaming-asr.js +158 -0
- package/node_modules/sherpa-onnx-node/non-streaming-speaker-diarization.js +38 -0
- package/node_modules/sherpa-onnx-node/non-streaming-speech-denoiser.js +32 -0
- package/node_modules/sherpa-onnx-node/non-streaming-tts.js +116 -0
- package/node_modules/sherpa-onnx-node/online-speech-denoiser.js +46 -0
- package/node_modules/sherpa-onnx-node/package.json +56 -0
- package/node_modules/sherpa-onnx-node/punctuation.js +43 -0
- package/node_modules/sherpa-onnx-node/resampler.js +80 -0
- package/node_modules/sherpa-onnx-node/sherpa-onnx.js +49 -0
- package/node_modules/sherpa-onnx-node/speaker-identification.js +152 -0
- package/node_modules/sherpa-onnx-node/spoken-language-identification.js +38 -0
- package/node_modules/sherpa-onnx-node/streaming-asr.js +181 -0
- package/node_modules/sherpa-onnx-node/types.js +788 -0
- package/node_modules/sherpa-onnx-node/vad.js +134 -0
- package/package.json +318 -272
- package/node_modules/@bufbuild/protobuf/README.md +0 -41
- package/node_modules/@bufbuild/protobuf/dist/commonjs/clone.js +0 -66
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/boot.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/enum.js +0 -31
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/extension.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/file.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/index.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/message.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/service.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/symbols.js +0 -43
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv1/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/boot.js +0 -105
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/embed.js +0 -244
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/enum.js +0 -58
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/extension.js +0 -28
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/file.js +0 -35
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/index.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/message.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/restore-json-names.js +0 -29
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/scalar.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/service.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/symbols.js +0 -74
- package/node_modules/@bufbuild/protobuf/dist/commonjs/codegenv2/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/create.js +0 -296
- package/node_modules/@bufbuild/protobuf/dist/commonjs/descriptors.js +0 -53
- package/node_modules/@bufbuild/protobuf/dist/commonjs/equals.js +0 -209
- package/node_modules/@bufbuild/protobuf/dist/commonjs/extensions.js +0 -168
- package/node_modules/@bufbuild/protobuf/dist/commonjs/fields.js +0 -45
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-binary.js +0 -415
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-json.js +0 -1037
- package/node_modules/@bufbuild/protobuf/dist/commonjs/index.js +0 -55
- package/node_modules/@bufbuild/protobuf/dist/commonjs/is-message.js +0 -33
- package/node_modules/@bufbuild/protobuf/dist/commonjs/json-value.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/merge.js +0 -70
- package/node_modules/@bufbuild/protobuf/dist/commonjs/package.json +0 -4
- package/node_modules/@bufbuild/protobuf/dist/commonjs/proto-int64.js +0 -131
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/error.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/guard.js +0 -78
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/index.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.js +0 -157
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/names.js +0 -115
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/nested-types.js +0 -110
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/path.js +0 -376
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.js +0 -292
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-types.js +0 -16
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect.js +0 -469
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/scalar.js +0 -129
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/unsafe.js +0 -149
- package/node_modules/@bufbuild/protobuf/dist/commonjs/registry.js +0 -954
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.js +0 -437
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-json.js +0 -625
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/from-text.js +0 -684
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/index.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/is-group-like.js +0 -47
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/reader.js +0 -481
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/to-text.js +0 -358
- package/node_modules/@bufbuild/protobuf/dist/commonjs/txtpb/writer.js +0 -220
- package/node_modules/@bufbuild/protobuf/dist/commonjs/types.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/commonjs/unknown-enum.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.js +0 -188
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.js +0 -726
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.js +0 -37
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/size-delimited.js +0 -191
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.js +0 -106
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-format.js +0 -199
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.js +0 -334
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/any.js +0 -75
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/duration.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/any_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/api_pb.js +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -68
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/cpp_features_pb.js +0 -60
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/descriptor_pb.js +0 -892
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/duration_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/empty_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/field_mask_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/go_features_pb.js +0 -126
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/java_features_pb.js +0 -106
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/source_context_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/struct_pb.js +0 -59
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/timestamp_pb.js +0 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/type_pb.js +0 -242
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/gen/google/protobuf/wrappers_pb.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/index.js +0 -48
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.js +0 -44
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/timestamp.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.js +0 -66
- package/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/boot.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +0 -40
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +0 -101
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -239
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -53
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -25
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +0 -32
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +0 -26
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -63
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -71
- package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/create.js +0 -293
- package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +0 -50
- package/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -206
- package/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -159
- package/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +0 -409
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -1029
- package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -29
- package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -30
- package/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -67
- package/node_modules/@bufbuild/protobuf/dist/esm/package.json +0 -4
- package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -128
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +0 -31
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +0 -71
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +0 -21
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.js +0 -152
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +0 -109
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +0 -105
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.js +0 -369
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +0 -284
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +0 -464
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +0 -124
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +0 -140
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +0 -948
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +0 -433
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -620
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/from-text.js +0 -680
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/index.js +0 -15
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/is-group-like.js +0 -44
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/reader.js +0 -477
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/to-text.js +0 -355
- package/node_modules/@bufbuild/protobuf/dist/esm/txtpb/writer.js +0 -214
- package/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -14
- package/node_modules/@bufbuild/protobuf/dist/esm/unknown-enum.js +0 -23
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +0 -184
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +0 -721
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -18
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -186
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +0 -101
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +0 -195
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +0 -325
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -69
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -35
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -36
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -65
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -57
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +0 -888
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -123
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -103
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -56
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -24
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -239
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -64
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -32
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.js +0 -41
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -50
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +0 -61
- package/node_modules/@bufbuild/protobuf/package.json +0 -136
- package/node_modules/@deepseek-ai/dsh-agent-presets/README.md +0 -195
- package/node_modules/@deepseek-ai/dsh-agent-presets/README.zh.md +0 -195
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/index.js +0 -1820
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/invariant.js +0 -1838
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/typert.remote-client.js +0 -207
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/authoring.js +0 -176
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/discovery.js +0 -316
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/index.js +0 -799
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/metadata.js +0 -92
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/mount.js +0 -386
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/preset.js +0 -11
- package/node_modules/@deepseek-ai/dsh-agent-presets/lib/types/specifier.js +0 -41
- package/node_modules/@deepseek-ai/dsh-agent-presets/package.json +0 -98
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/agent.cordis.yml +0 -283
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/cordis-plugin-development/SKILL.md +0 -108
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/cordis/skills/editing-cordis-compositions/SKILL.md +0 -102
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/minimal/agent.cordis.yml +0 -69
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/minimal/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/agent.cordis.yml +0 -287
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/ptc/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/agent.cordis.yml +0 -266
- package/node_modules/@deepseek-ai/dsh-agent-presets/presets/standard/preset.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.md +0 -138
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/README.zh.md +0 -138
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/index.js +0 -501
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.host.js +0 -350
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/typert.remote-client.js +0 -249
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/index.js +0 -424
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/lib/types/types.js +0 -12
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/queue-mirror.js +0 -61
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/README.md +0 -112
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/README.zh.md +0 -112
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/client.js +0 -216
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/lib/index.js +0 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-unarchive-sessions/package.json +0 -66
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.md +0 -98
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/README.zh.md +0 -98
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/cordis.patch.yml +0 -6
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-web-profile/package.json +0 -47
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.md +0 -142
- package/node_modules/@deepseek-ai/dsh-llm-cursor/README.zh.md +0 -142
- package/node_modules/@deepseek-ai/dsh-llm-cursor/lib/index.js +0 -3050
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +0 -62
- package/node_modules/@deepseek-ai/dsh-settings/lib/invariant.js +0 -35
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/invariant.js +0 -41
- package/node_modules/@deepseek-ai/dsh-settings-file/README.md +0 -150
- package/node_modules/@deepseek-ai/dsh-settings-file/README.zh.md +0 -150
- package/node_modules/@deepseek-ai/dsh-settings-file/lib/index.js +0 -285
- package/node_modules/@deepseek-ai/dsh-settings-file/package.json +0 -47
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-UEJ3Ntqn.js +0 -1511
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-8VXBH-f-.js +0 -127
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-lP1BfJ4l.css +0 -1
- /package/node_modules/@deepseek-ai/{dsh-agent-presets → dsh-agent-preset-registry}/lib/types/types.js +0 -0
- /package/node_modules/@deepseek-ai/{dsh-experimental-agent-team-web-profile → dsh-experimental-voice-input-bundle}/lib/index.js +0 -0
|
@@ -6,6 +6,7 @@ window.__ModuleLoader__.load({
|
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let react = require("react");
|
|
9
|
+
let react_dom = require("react-dom");
|
|
9
10
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
10
11
|
let _deepseek_ai_dsh_client_ui_slots = require("@deepseek-ai/dsh-client-ui-slots");
|
|
11
12
|
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
@@ -86,26 +87,44 @@ window.__ModuleLoader__.load({
|
|
|
86
87
|
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
87
88
|
}
|
|
88
89
|
//#endregion
|
|
90
|
+
//#region ../../boot/plugin-manager/src/registry.ts
|
|
91
|
+
/** An http(s) URL, as pnpm's `--registry` takes it. */
|
|
92
|
+
const REGISTRY_URL = /^https?:\/\/\S+$/;
|
|
93
|
+
//#endregion
|
|
89
94
|
//#region lib/types/client/presentation.js
|
|
90
95
|
/** Display labels and toast sentences for global plugin management. */
|
|
91
|
-
/** The
|
|
92
|
-
const
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
|
|
96
|
+
/** The registries with a name of their own, by host. */
|
|
97
|
+
const REGISTRY_COPY = new Map([["registry.npmmirror.com", "registryNpmmirror"]]);
|
|
98
|
+
/** npm's own registry, which pnpm names without any configuration. */
|
|
99
|
+
const OFFICIAL_NPM_HOST = "registry.npmjs.org";
|
|
100
|
+
/**
|
|
101
|
+
* What a registry reads as: pnpm's own as the default registry, a known mirror by its name, any other registry by
|
|
102
|
+
* its host; and the host each names, for where the name alone would leave it unsaid.
|
|
103
|
+
* @param registry - the registry, null for the one pnpm's own configuration names.
|
|
104
|
+
* @param t - the manager's translate seat.
|
|
105
|
+
* @param resolved - the URL pnpm's own configuration names, null while unknown, when it reads as npm's own.
|
|
106
|
+
* @returns the name and the host.
|
|
107
|
+
*/
|
|
108
|
+
function registryText(registry, t, resolved) {
|
|
109
|
+
if (registry === null) return {
|
|
110
|
+
name: t("registryDefault"),
|
|
111
|
+
host: resolved === null ? OFFICIAL_NPM_HOST : registryHost(resolved)
|
|
112
|
+
};
|
|
113
|
+
const host = registryHost(registry);
|
|
114
|
+
const key = REGISTRY_COPY.get(host);
|
|
115
|
+
return {
|
|
116
|
+
name: key === void 0 ? host : t(key),
|
|
117
|
+
host
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/** The host of a registry URL; the URL as written when it does not parse. */
|
|
121
|
+
function registryHost(registry) {
|
|
122
|
+
try {
|
|
123
|
+
return new URL(registry).host;
|
|
124
|
+
} catch {
|
|
125
|
+
return registry;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
109
128
|
/** The sentence each of the Host's refusal codes reads as. */
|
|
110
129
|
const CODE_KEYS = {
|
|
111
130
|
"management-required": "reasonManagementRequired",
|
|
@@ -148,21 +167,28 @@ window.__ModuleLoader__.load({
|
|
|
148
167
|
return (name.startsWith("@") ? name.slice(name.indexOf("/") + 1) : name).replace(/^dsh-(?:host-|client-)?/, "");
|
|
149
168
|
}
|
|
150
169
|
/**
|
|
151
|
-
*
|
|
152
|
-
* @param pkg -
|
|
153
|
-
* @param
|
|
154
|
-
* @returns localized copy
|
|
170
|
+
* Resolve installed package metadata without changing its technical identity.
|
|
171
|
+
* @param pkg - package identity and local metadata.
|
|
172
|
+
* @param resolveText - current-locale package text resolver.
|
|
173
|
+
* @returns localized copy with a technical-name fallback and the independent beta status.
|
|
155
174
|
*/
|
|
156
|
-
function packageText(pkg,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
175
|
+
function packageText(pkg, resolveText) {
|
|
176
|
+
return {
|
|
177
|
+
title: pkg.meta?.title === void 0 ? pkg.name : resolveText(pkg.meta.title),
|
|
178
|
+
description: pkg.meta?.description === void 0 ? void 0 : resolveText(pkg.meta.description) || void 0,
|
|
179
|
+
beta: pkg.name.startsWith("@deepseek-ai/dsh-experimental-")
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Resolve a bundle row's plugin metadata, using its full module specifier as the final title fallback.
|
|
184
|
+
* @param row - row identity and local metadata.
|
|
185
|
+
* @param resolveText - current-locale package text resolver.
|
|
186
|
+
* @returns the row's display title and optional description.
|
|
187
|
+
*/
|
|
188
|
+
function rowText(row, resolveText) {
|
|
189
|
+
return {
|
|
190
|
+
title: row.meta?.title === void 0 ? row.moduleName : resolveText(row.meta.title),
|
|
191
|
+
description: row.meta?.description === void 0 ? void 0 : resolveText(row.meta.description) || void 0
|
|
166
192
|
};
|
|
167
193
|
}
|
|
168
194
|
/**
|
|
@@ -176,6 +202,13 @@ window.__ModuleLoader__.load({
|
|
|
176
202
|
case "restart": return t("restartNotice");
|
|
177
203
|
case "overridden": return t("overriddenNotice", { name: notice.packageName });
|
|
178
204
|
case "cancelled": return t("installCancelled");
|
|
205
|
+
case "install": return t({
|
|
206
|
+
done: "installBackgroundDone",
|
|
207
|
+
failed: "installBackgroundFailed",
|
|
208
|
+
unconfirmed: "installBackgroundUnconfirmed",
|
|
209
|
+
applying: "installBackgroundApplying",
|
|
210
|
+
unknown: "installBackgroundUnknown"
|
|
211
|
+
}[notice.outcome]);
|
|
179
212
|
case "failed": {
|
|
180
213
|
const reason = notice.code === void 0 ? notice.reason : managementText({
|
|
181
214
|
code: notice.code,
|
|
@@ -194,13 +227,28 @@ window.__ModuleLoader__.load({
|
|
|
194
227
|
* after each action and after every `plugin-manager/changed` event, so a
|
|
195
228
|
* change made on another surface shows here without a manual refresh.
|
|
196
229
|
*/
|
|
230
|
+
/** The choice shown until the Host has said which registry it asks first: the one pnpm's own configuration names. */
|
|
231
|
+
const OFFICIAL_REGISTRY = {
|
|
232
|
+
kind: "offered",
|
|
233
|
+
registry: null
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* The registries the dialog offers: the Host's first, its fallbacks, and pnpm's own, each once.
|
|
237
|
+
* @param registries - what the Host configured, or null while unread.
|
|
238
|
+
* @returns the registries in the order the dialog lists them.
|
|
239
|
+
*/
|
|
240
|
+
function offeredRegistries(registries) {
|
|
241
|
+
const offered = [];
|
|
242
|
+
for (const registry of [...registries === null ? [] : [registries.registry, ...registries.fallbackRegistries], null]) if (!offered.includes(registry)) offered.push(registry);
|
|
243
|
+
return offered;
|
|
244
|
+
}
|
|
197
245
|
/**
|
|
198
246
|
* Whether an installation is still owned by the Host.
|
|
199
247
|
* @param phase - the dialog's current installation phase.
|
|
200
|
-
* @returns true
|
|
248
|
+
* @returns true while a Host result or a check for an active request is outstanding.
|
|
201
249
|
*/
|
|
202
250
|
function isInstallPending(phase) {
|
|
203
|
-
return phase === "starting" || phase === "running" || phase === "cancelling" || phase === "applying";
|
|
251
|
+
return phase === "starting" || phase === "running" || phase === "cancelling" || phase === "applying" || phase === "unconfirmed";
|
|
204
252
|
}
|
|
205
253
|
/** A refused answer or a change the Host could not apply, carrying what it said and, for a refusal, its code. */
|
|
206
254
|
var RemoteAnswerError = class extends Error {
|
|
@@ -214,11 +262,12 @@ window.__ModuleLoader__.load({
|
|
|
214
262
|
}
|
|
215
263
|
};
|
|
216
264
|
/** The dialog's reading of a failed change: the Host's code and diagnostic, and the run's classified failure. */
|
|
217
|
-
function failureOf(error, kind, pendingBuilds) {
|
|
265
|
+
function failureOf(error, kind, pendingBuilds, failedAt) {
|
|
218
266
|
return {
|
|
219
267
|
reason: error?.diagnostic ?? "",
|
|
220
268
|
...error === void 0 ? {} : { code: error.code },
|
|
221
269
|
...kind === void 0 ? {} : { kind },
|
|
270
|
+
...failedAt === void 0 ? {} : { failedAt },
|
|
222
271
|
...pendingBuilds === void 0 || pendingBuilds.length === 0 ? {} : { pendingBuilds }
|
|
223
272
|
};
|
|
224
273
|
}
|
|
@@ -262,6 +311,7 @@ window.__ModuleLoader__.load({
|
|
|
262
311
|
moduleName: row.moduleName,
|
|
263
312
|
enabled: live?.enabled ?? false,
|
|
264
313
|
phase: live?.fiberPhase ?? null,
|
|
314
|
+
...row.meta === void 0 ? {} : { meta: row.meta },
|
|
265
315
|
...row.entryId === void 0 ? {} : { entryId: row.entryId },
|
|
266
316
|
...live?.readOnlyReason === void 0 ? {} : { readOnlyReason: live.readOnlyReason }
|
|
267
317
|
};
|
|
@@ -274,6 +324,7 @@ window.__ModuleLoader__.load({
|
|
|
274
324
|
rows,
|
|
275
325
|
...bundle.version === void 0 ? {} : { version: bundle.version },
|
|
276
326
|
...bundle.description === void 0 ? {} : { description: bundle.description },
|
|
327
|
+
...bundle.meta === void 0 ? {} : { meta: bundle.meta },
|
|
277
328
|
...bundle.readOnlyReason === void 0 ? {} : { readOnlyReason: bundle.readOnlyReason },
|
|
278
329
|
...bundle.error === void 0 ? {} : { error: bundle.error }
|
|
279
330
|
};
|
|
@@ -290,6 +341,11 @@ window.__ModuleLoader__.load({
|
|
|
290
341
|
const IDLE_INSTALL = {
|
|
291
342
|
open: false,
|
|
292
343
|
spec: "",
|
|
344
|
+
registries: null,
|
|
345
|
+
registry: OFFICIAL_REGISTRY,
|
|
346
|
+
registryOpen: false,
|
|
347
|
+
registryError: false,
|
|
348
|
+
attempts: null,
|
|
293
349
|
phase: "idle",
|
|
294
350
|
inputError: null,
|
|
295
351
|
subject: null,
|
|
@@ -301,6 +357,31 @@ window.__ModuleLoader__.load({
|
|
|
301
357
|
approvedBuilds: [],
|
|
302
358
|
enabling: false
|
|
303
359
|
};
|
|
360
|
+
/** The dialog back at its spec: the run and its outcome forgotten, the spec and the registries kept. */
|
|
361
|
+
function specAgain(install) {
|
|
362
|
+
const { open, spec, registries, registry } = install;
|
|
363
|
+
return {
|
|
364
|
+
...IDLE_INSTALL,
|
|
365
|
+
open,
|
|
366
|
+
spec,
|
|
367
|
+
registries,
|
|
368
|
+
registry
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* The choice as the dialog can show it once the Host has answered: nothing remembered starts from the registry the
|
|
373
|
+
* Host asks first; a remembered registry the Host no longer offers is kept as a typed one.
|
|
374
|
+
*/
|
|
375
|
+
function reconciled(remembered, registries) {
|
|
376
|
+
if (remembered === null) return {
|
|
377
|
+
kind: "offered",
|
|
378
|
+
registry: registries.registry
|
|
379
|
+
};
|
|
380
|
+
return remembered.kind === "offered" && remembered.registry !== null && !offeredRegistries(registries).includes(remembered.registry) ? {
|
|
381
|
+
kind: "custom",
|
|
382
|
+
url: remembered.registry
|
|
383
|
+
} : remembered;
|
|
384
|
+
}
|
|
304
385
|
/** Reads and mutates the profile's plugins through the `pluginManager` Remote. */
|
|
305
386
|
var PluginManagerController = class {
|
|
306
387
|
ctx;
|
|
@@ -312,7 +393,10 @@ window.__ModuleLoader__.load({
|
|
|
312
393
|
pendingConfirm;
|
|
313
394
|
/** Cancels the check the dialog has in flight. */
|
|
314
395
|
inspectAbort;
|
|
396
|
+
request;
|
|
315
397
|
noticeSeq = 0;
|
|
398
|
+
/** The registry last used from this browser, kept across dialogs and page loads; null until one was used. */
|
|
399
|
+
registryMemory = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(null, { persist: { name: "dsh.plugin-manager.install-registry" } });
|
|
316
400
|
/**
|
|
317
401
|
* @param ctx - the tab plugin's context, whose `remote.pluginManager` and `remote.pluginInventory` namespaces answer.
|
|
318
402
|
*/
|
|
@@ -338,19 +422,24 @@ window.__ModuleLoader__.load({
|
|
|
338
422
|
/** Stop publishing and drop every late settlement. */
|
|
339
423
|
dispose() {
|
|
340
424
|
this.disposed = true;
|
|
425
|
+
this.request = void 0;
|
|
341
426
|
this.generation += 1;
|
|
342
427
|
}
|
|
343
428
|
/**
|
|
344
429
|
* Build the face the tab's slot registration injects.
|
|
345
430
|
* @param configLedger - the projection of the plugins carrying configuration, bound beside the tab's own state.
|
|
431
|
+
* @param resolveText - render-time package text resolution supplied by the locale service.
|
|
346
432
|
* @returns the tab's snapshot sources and its actions.
|
|
347
433
|
*/
|
|
348
|
-
inject(configLedger) {
|
|
434
|
+
inject(configLedger, resolveText) {
|
|
349
435
|
return {
|
|
436
|
+
resolveText,
|
|
350
437
|
hooks: {
|
|
351
438
|
pluginManager: this.store,
|
|
352
|
-
configLedger
|
|
439
|
+
configLedger,
|
|
440
|
+
configurations: this.ctx.configForms.describe()
|
|
353
441
|
},
|
|
442
|
+
configForm: (id) => this.ctx.configForms.get(id),
|
|
354
443
|
ensure: () => {
|
|
355
444
|
if (this.getSnapshot().status === "idle") this.load();
|
|
356
445
|
},
|
|
@@ -358,13 +447,22 @@ window.__ModuleLoader__.load({
|
|
|
358
447
|
this.load();
|
|
359
448
|
},
|
|
360
449
|
openInstall: () => {
|
|
361
|
-
if (
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
450
|
+
if (this.getSnapshot().install.requestId === void 0) {
|
|
451
|
+
this.patch({ install: {
|
|
452
|
+
...IDLE_INSTALL,
|
|
453
|
+
open: true,
|
|
454
|
+
registry: this.registryMemory.getSnapshot() ?? OFFICIAL_REGISTRY
|
|
455
|
+
} });
|
|
456
|
+
this.readRegistries();
|
|
457
|
+
} else this.patchInstall({ open: true });
|
|
458
|
+
this.reconcileInstall();
|
|
365
459
|
},
|
|
366
460
|
closeInstall: () => {
|
|
367
|
-
if (isInstallPending(this.getSnapshot().install.phase))
|
|
461
|
+
if (isInstallPending(this.getSnapshot().install.phase)) {
|
|
462
|
+
this.patchInstall({ open: false });
|
|
463
|
+
this.cancelInstall();
|
|
464
|
+
return;
|
|
465
|
+
}
|
|
368
466
|
this.abortInspect();
|
|
369
467
|
this.patch({ install: IDLE_INSTALL });
|
|
370
468
|
},
|
|
@@ -375,22 +473,37 @@ window.__ModuleLoader__.load({
|
|
|
375
473
|
spec: text,
|
|
376
474
|
inputError: null
|
|
377
475
|
} : {
|
|
378
|
-
...
|
|
379
|
-
open: true,
|
|
476
|
+
...specAgain(install),
|
|
380
477
|
spec: text
|
|
381
478
|
});
|
|
382
479
|
},
|
|
383
480
|
runInstall: () => {
|
|
384
481
|
this.runInstall();
|
|
385
482
|
},
|
|
483
|
+
toggleRegistryOptions: () => {
|
|
484
|
+
this.patchInstall({ registryOpen: !this.getSnapshot().install.registryOpen });
|
|
485
|
+
},
|
|
486
|
+
chooseRegistry: (choice) => {
|
|
487
|
+
if (this.getSnapshot().install.phase === "idle") this.patchInstall({
|
|
488
|
+
registry: choice,
|
|
489
|
+
registryError: false
|
|
490
|
+
});
|
|
491
|
+
},
|
|
492
|
+
changeRegistry: () => {
|
|
493
|
+
const install = this.getSnapshot().install;
|
|
494
|
+
if (install.phase === "failed") this.patch({ install: {
|
|
495
|
+
...specAgain(install),
|
|
496
|
+
registryOpen: true
|
|
497
|
+
} });
|
|
498
|
+
},
|
|
386
499
|
approveBuildsAndRetry: () => {
|
|
387
500
|
this.approveBuildsAndRetry();
|
|
388
501
|
},
|
|
389
502
|
cancelInstall: () => {
|
|
390
503
|
this.cancelInstall();
|
|
391
504
|
},
|
|
392
|
-
|
|
393
|
-
this.
|
|
505
|
+
reconcileInstall: () => {
|
|
506
|
+
this.reconcileInstall();
|
|
394
507
|
},
|
|
395
508
|
toggleInstallDetails: () => {
|
|
396
509
|
this.patchInstall({ detailsOpen: !this.getSnapshot().install.detailsOpen });
|
|
@@ -448,8 +561,32 @@ window.__ModuleLoader__.load({
|
|
|
448
561
|
installProgress(progress) {
|
|
449
562
|
const install = this.getSnapshot().install;
|
|
450
563
|
if (install.requestId !== progress.requestId || !isInstallPending(install.phase)) return;
|
|
451
|
-
|
|
452
|
-
|
|
564
|
+
const request = this.request;
|
|
565
|
+
if (request === void 0) return;
|
|
566
|
+
request.acknowledged = true;
|
|
567
|
+
if (install.phase === "applying") return;
|
|
568
|
+
if (progress.phase === "installing" && request.cancellation !== void 0) {
|
|
569
|
+
if (request.cancellation.waitingForStart) this.sendCancellation(request, request.cancellation);
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
const attempt = progress.attempt;
|
|
573
|
+
this.patchInstall({
|
|
574
|
+
phase: progress.phase === "installing" ? "running" : progress.phase,
|
|
575
|
+
...attempt === void 0 ? {} : { attempts: {
|
|
576
|
+
registries: [...install.attempts?.registries ?? [], attempt.registry],
|
|
577
|
+
total: attempt.total
|
|
578
|
+
} }
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
/** Read the registries the Host offers, for the dialog just opened; a refused read leaves pnpm's own and a typed one. */
|
|
582
|
+
async readRegistries() {
|
|
583
|
+
const answer = await this.ctx.remote.pluginManager.registries();
|
|
584
|
+
const install = this.getSnapshot().install;
|
|
585
|
+
if (this.disposed || !install.open || !answer.ok) return;
|
|
586
|
+
this.patchInstall({
|
|
587
|
+
registries: answer.value,
|
|
588
|
+
registry: reconciled(this.registryMemory.getSnapshot(), answer.value)
|
|
589
|
+
});
|
|
453
590
|
}
|
|
454
591
|
/**
|
|
455
592
|
* Fold a chunk belonging to this installation into its pnpm command.
|
|
@@ -459,6 +596,10 @@ window.__ModuleLoader__.load({
|
|
|
459
596
|
appendLog(chunk) {
|
|
460
597
|
const install = this.getSnapshot().install;
|
|
461
598
|
if (chunk.requestId !== install.requestId) return;
|
|
599
|
+
if (install.requestId !== void 0 && (install.phase === "starting" || install.phase === "cancelling" || install.phase === "unconfirmed")) this.installProgress({
|
|
600
|
+
requestId: install.requestId,
|
|
601
|
+
phase: "installing"
|
|
602
|
+
});
|
|
462
603
|
const index = install.runs.findIndex((run) => run.jobId === chunk.jobId);
|
|
463
604
|
if (index === -1 && !isInstallPending(install.phase)) return;
|
|
464
605
|
const settled = chunk.exitCode === void 0 ? {} : { exitCode: chunk.exitCode };
|
|
@@ -482,6 +623,7 @@ window.__ModuleLoader__.load({
|
|
|
482
623
|
*/
|
|
483
624
|
load() {
|
|
484
625
|
if (this.disposed) return Promise.resolve();
|
|
626
|
+
this.reconcileInstall();
|
|
485
627
|
if (this.inFlight !== void 0) {
|
|
486
628
|
this.rerun = true;
|
|
487
629
|
return this.inFlight;
|
|
@@ -562,6 +704,20 @@ window.__ModuleLoader__.load({
|
|
|
562
704
|
});
|
|
563
705
|
return;
|
|
564
706
|
}
|
|
707
|
+
const choice = install.registry;
|
|
708
|
+
const typed = choice.kind === "custom" ? choice.url.trim() : void 0;
|
|
709
|
+
if (typed !== void 0 && !REGISTRY_URL.test(typed)) {
|
|
710
|
+
this.patchInstall({
|
|
711
|
+
phase: "idle",
|
|
712
|
+
registryError: true
|
|
713
|
+
});
|
|
714
|
+
return;
|
|
715
|
+
}
|
|
716
|
+
const registry = typed ?? choice.registry;
|
|
717
|
+
this.registryMemory.set(typed === void 0 ? choice : {
|
|
718
|
+
kind: "custom",
|
|
719
|
+
url: typed
|
|
720
|
+
});
|
|
565
721
|
this.abortInspect();
|
|
566
722
|
const controller = new AbortController();
|
|
567
723
|
this.inspectAbort = controller;
|
|
@@ -571,12 +727,14 @@ window.__ModuleLoader__.load({
|
|
|
571
727
|
subject: null,
|
|
572
728
|
runs: [],
|
|
573
729
|
detailsOpen: false,
|
|
730
|
+
attempts: null,
|
|
731
|
+
registryOpen: false,
|
|
574
732
|
installed: null,
|
|
575
733
|
restartRequired: false,
|
|
576
734
|
failure: null,
|
|
577
735
|
approvedBuilds: []
|
|
578
736
|
});
|
|
579
|
-
const inspected = await this.ctx.remote.pluginManager.inspect(spec, controller.signal);
|
|
737
|
+
const inspected = await this.ctx.remote.pluginManager.inspect(spec, { registry }, controller.signal);
|
|
580
738
|
if (this.gone(controller.signal)) return;
|
|
581
739
|
this.inspectAbort = void 0;
|
|
582
740
|
if (!inspected.ok) {
|
|
@@ -590,11 +748,13 @@ window.__ModuleLoader__.load({
|
|
|
590
748
|
return;
|
|
591
749
|
}
|
|
592
750
|
if (inspected.value.status === "refused") {
|
|
751
|
+
const { problem, reason, registries } = inspected.value;
|
|
593
752
|
this.patchInstall({
|
|
594
753
|
phase: "idle",
|
|
595
754
|
inputError: {
|
|
596
|
-
problem
|
|
597
|
-
reason
|
|
755
|
+
problem,
|
|
756
|
+
reason,
|
|
757
|
+
...registries === void 0 ? {} : { registries }
|
|
598
758
|
}
|
|
599
759
|
});
|
|
600
760
|
return;
|
|
@@ -610,13 +770,21 @@ window.__ModuleLoader__.load({
|
|
|
610
770
|
* the Host saves that permission for this profile before pnpm runs.
|
|
611
771
|
*/
|
|
612
772
|
async startInstall(subject, approvedBuilds) {
|
|
613
|
-
const { spec } = subject;
|
|
773
|
+
const { spec, registry } = subject;
|
|
614
774
|
const requestId = randomUUID();
|
|
775
|
+
const request = {
|
|
776
|
+
requestId,
|
|
777
|
+
acknowledged: false,
|
|
778
|
+
replyLost: false,
|
|
779
|
+
recovering: false
|
|
780
|
+
};
|
|
781
|
+
this.request = request;
|
|
615
782
|
this.patchInstall({
|
|
616
783
|
phase: "starting",
|
|
617
784
|
requestId,
|
|
618
785
|
subject,
|
|
619
786
|
runs: [],
|
|
787
|
+
attempts: null,
|
|
620
788
|
failure: null,
|
|
621
789
|
installed: null,
|
|
622
790
|
approvedBuilds: []
|
|
@@ -624,35 +792,85 @@ window.__ModuleLoader__.load({
|
|
|
624
792
|
const result = await this.ctx.remote.pluginManager.installBundle(spec, {
|
|
625
793
|
enabled: false,
|
|
626
794
|
requestId,
|
|
795
|
+
registry,
|
|
627
796
|
...approvedBuilds === void 0 ? {} : { approvedBuilds: [...approvedBuilds] }
|
|
628
797
|
});
|
|
629
|
-
if (this.disposed || this.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
798
|
+
if (this.disposed || this.request !== request) return;
|
|
799
|
+
if (!result.ok) {
|
|
800
|
+
request.replyLost = true;
|
|
801
|
+
this.installUncertain("result", result.error.message);
|
|
802
|
+
this.reconcileInstall();
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
this.settleInstall(result.value);
|
|
806
|
+
}
|
|
807
|
+
/** A recovery call shares the Host's active result; absent results are explicitly unknown. */
|
|
808
|
+
async reconcileInstall() {
|
|
809
|
+
const request = this.request;
|
|
810
|
+
if (request === void 0 || !request.replyLost || request.recovering) return;
|
|
811
|
+
request.recovering = true;
|
|
812
|
+
const result = await this.ctx.remote.pluginManager.waitForInstall(request.requestId);
|
|
813
|
+
if (this.disposed || this.request !== request) return;
|
|
814
|
+
request.recovering = false;
|
|
815
|
+
if (!result.ok) {
|
|
816
|
+
this.installUncertain("result", result.error.message);
|
|
817
|
+
return;
|
|
818
|
+
}
|
|
819
|
+
if (result.value !== null) {
|
|
820
|
+
this.settleInstall(result.value);
|
|
821
|
+
return;
|
|
822
|
+
}
|
|
823
|
+
this.request = void 0;
|
|
824
|
+
this.patchInstall({
|
|
825
|
+
phase: "unknown",
|
|
826
|
+
failure: null,
|
|
827
|
+
runs: settledRuns(this.getSnapshot().install.runs, null)
|
|
635
828
|
});
|
|
636
|
-
|
|
829
|
+
this.notifyHiddenInstall("unknown");
|
|
830
|
+
this.load();
|
|
831
|
+
}
|
|
832
|
+
settleInstall(result) {
|
|
833
|
+
const { runs, attempts } = this.getSnapshot().install;
|
|
834
|
+
this.request = void 0;
|
|
835
|
+
const asked = result.registries === void 0 ? {} : { attempts: {
|
|
836
|
+
registries: result.registries,
|
|
837
|
+
total: Math.max(attempts?.total ?? 0, result.registries.length)
|
|
838
|
+
} };
|
|
839
|
+
if (result.application === "cancelled") this.offerSpecAgain({
|
|
637
840
|
kind: "cancelled",
|
|
638
841
|
seq: ++this.noticeSeq
|
|
639
842
|
});
|
|
640
|
-
else if (result.
|
|
641
|
-
const packages = result.
|
|
843
|
+
else if (result.application === "failed") {
|
|
844
|
+
const packages = result.packageResult;
|
|
642
845
|
this.patchInstall({
|
|
643
846
|
phase: "failed",
|
|
644
847
|
runs: settledRuns(runs, packages?.exitCode ?? null),
|
|
645
|
-
failure: failureOf(result.
|
|
848
|
+
failure: failureOf(result.error, packages?.kind, result.pendingBuilds, result.failedAt),
|
|
849
|
+
...asked
|
|
646
850
|
});
|
|
647
851
|
} else this.patchInstall({
|
|
648
852
|
phase: "done",
|
|
649
853
|
runs: settledRuns(runs, 0),
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
854
|
+
failure: null,
|
|
855
|
+
installed: result.bundle ?? null,
|
|
856
|
+
restartRequired: result.application === "restart-required",
|
|
857
|
+
approvedBuilds: result.approvedBuilds ?? [],
|
|
858
|
+
...asked
|
|
653
859
|
});
|
|
860
|
+
const phase = this.getSnapshot().install.phase;
|
|
861
|
+
if (phase === "done" || phase === "failed") this.notifyHiddenInstall(phase);
|
|
654
862
|
this.load();
|
|
655
863
|
}
|
|
864
|
+
installUncertain(uncertainty, reason) {
|
|
865
|
+
this.patchInstall({
|
|
866
|
+
phase: this.getSnapshot().install.phase === "applying" ? "applying" : "unconfirmed",
|
|
867
|
+
failure: {
|
|
868
|
+
reason,
|
|
869
|
+
uncertainty
|
|
870
|
+
}
|
|
871
|
+
});
|
|
872
|
+
this.notifyHiddenInstall("unconfirmed");
|
|
873
|
+
}
|
|
656
874
|
/**
|
|
657
875
|
* Allow the install scripts the failed run left pending and run the same
|
|
658
876
|
* spec again. Only the failed screen with pending names offers this.
|
|
@@ -665,69 +883,80 @@ window.__ModuleLoader__.load({
|
|
|
665
883
|
}
|
|
666
884
|
/**
|
|
667
885
|
* Leave the check or the failed screen for the spec at once; a Host-owned
|
|
668
|
-
* run is asked to stop and
|
|
886
|
+
* run is asked to stop and its state waits for the Host's word, since
|
|
669
887
|
* neither a dropped RPC nor a closed connection means pnpm has stopped.
|
|
670
|
-
* @param closeAfter - stop only a running install, and close the dialog once the Host confirms the stop.
|
|
671
888
|
*/
|
|
672
|
-
async cancelInstall(
|
|
889
|
+
async cancelInstall() {
|
|
673
890
|
const install = this.getSnapshot().install;
|
|
674
|
-
if (
|
|
891
|
+
if (install.phase === "checking" || install.phase === "failed" || install.phase === "unknown") {
|
|
675
892
|
this.abortInspect();
|
|
676
893
|
this.offerSpecAgain();
|
|
677
894
|
return;
|
|
678
895
|
}
|
|
679
|
-
|
|
680
|
-
|
|
896
|
+
const request = this.request;
|
|
897
|
+
if (install.phase !== "starting" && install.phase !== "running" && install.phase !== "unconfirmed" || request === void 0) return;
|
|
898
|
+
if (request.cancellation !== void 0 && !request.cancellation.waitingForStart) return;
|
|
899
|
+
const cancellation = { waitingForStart: false };
|
|
900
|
+
request.cancellation = cancellation;
|
|
901
|
+
await this.sendCancellation(request, cancellation);
|
|
902
|
+
}
|
|
903
|
+
/** A cancellation that overtakes installation is retried after the Host acknowledges that request. */
|
|
904
|
+
async sendCancellation(request, cancellation) {
|
|
905
|
+
const acknowledged = request.acknowledged;
|
|
906
|
+
cancellation.waitingForStart = false;
|
|
681
907
|
this.patchInstall({
|
|
682
908
|
phase: "cancelling",
|
|
683
909
|
failure: null
|
|
684
910
|
});
|
|
685
|
-
const result = await this.ctx.remote.pluginManager.cancelInstall(requestId);
|
|
686
|
-
|
|
687
|
-
if (this.disposed || current.requestId !== requestId || !isInstallPending(current.phase)) return;
|
|
911
|
+
const result = await this.ctx.remote.pluginManager.cancelInstall(request.requestId);
|
|
912
|
+
if (this.disposed || this.request !== request || request.cancellation !== cancellation) return;
|
|
688
913
|
if (!result.ok) {
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
reason: result.error.message,
|
|
693
|
-
cancelUnconfirmed: true
|
|
694
|
-
}
|
|
695
|
-
});
|
|
914
|
+
cancellation.waitingForStart = !request.acknowledged;
|
|
915
|
+
if (request.acknowledged) request.cancellation = void 0;
|
|
916
|
+
this.installUncertain(request.replyLost ? "result" : "cancellation", result.error.message);
|
|
696
917
|
return;
|
|
697
918
|
}
|
|
698
919
|
if (result.value.status === "cancelled") {
|
|
699
|
-
|
|
920
|
+
this.offerSpecAgain({
|
|
700
921
|
kind: "cancelled",
|
|
701
922
|
seq: ++this.noticeSeq
|
|
702
|
-
};
|
|
703
|
-
if (closeAfter) this.patch({
|
|
704
|
-
install: IDLE_INSTALL,
|
|
705
|
-
notice
|
|
706
923
|
});
|
|
707
|
-
else this.offerSpecAgain(notice);
|
|
708
924
|
this.load();
|
|
709
|
-
} else if (result.value.status === "too-late")
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
925
|
+
} else if (result.value.status === "too-late") {
|
|
926
|
+
request.acknowledged = true;
|
|
927
|
+
request.cancellation = void 0;
|
|
928
|
+
this.patchInstall({ phase: "applying" });
|
|
929
|
+
this.notifyHiddenInstall("applying");
|
|
930
|
+
this.reconcileInstall();
|
|
931
|
+
} else if (request.replyLost) {
|
|
932
|
+
request.cancellation = void 0;
|
|
933
|
+
this.installUncertain("result", "");
|
|
934
|
+
this.reconcileInstall();
|
|
935
|
+
} else if (!acknowledged && this.getSnapshot().install.phase !== "applying") if (request.acknowledged) await this.sendCancellation(request, cancellation);
|
|
936
|
+
else {
|
|
937
|
+
cancellation.waitingForStart = true;
|
|
938
|
+
this.installUncertain("acceptance", "");
|
|
939
|
+
}
|
|
940
|
+
else {
|
|
941
|
+
request.cancellation = void 0;
|
|
942
|
+
this.installUncertain("cancellation", "");
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
notifyHiddenInstall(outcome) {
|
|
946
|
+
if (!this.getSnapshot().install.open) this.patch({ notice: {
|
|
947
|
+
kind: "install",
|
|
948
|
+
outcome,
|
|
949
|
+
seq: ++this.noticeSeq
|
|
950
|
+
} });
|
|
717
951
|
}
|
|
718
952
|
/**
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
* stopped the run.
|
|
953
|
+
* Release the tracked request and return to editing with its spec retained.
|
|
954
|
+
* A cancellation notice is supplied only after the Host confirms it stopped.
|
|
722
955
|
*/
|
|
723
956
|
offerSpecAgain(notice = null) {
|
|
724
|
-
|
|
957
|
+
this.request = void 0;
|
|
725
958
|
this.patch({
|
|
726
|
-
install:
|
|
727
|
-
...IDLE_INSTALL,
|
|
728
|
-
open,
|
|
729
|
-
spec
|
|
730
|
-
},
|
|
959
|
+
install: specAgain(this.getSnapshot().install),
|
|
731
960
|
...notice === null ? {} : { notice }
|
|
732
961
|
});
|
|
733
962
|
}
|
|
@@ -832,7 +1061,7 @@ window.__ModuleLoader__.load({
|
|
|
832
1061
|
}
|
|
833
1062
|
//#endregion
|
|
834
1063
|
//#region \0dsh-css:/Users/songli/deepseek-harness/packages/client/ui-plugin-manager/src/client/PluginManagerPage.module.css.mjs
|
|
835
|
-
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:28px clamp(24px,4vw,48px) 48px;display:flex;overflow:auto}.-\\34 UeZq_page>*{width:100%;max-width:960px}.-\\34 UeZq_pageHead{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.-\\34 UeZq_pageTitle{margin:0;font-size:20px;font-weight:500;line-height:28px}.-\\34 UeZq_pageIntro{color:var(--dsw-alias-label-secondary);margin:4px 0 0;font-size:13px;line-height:20px}.-\\34 UeZq_toolbar{justify-content:flex-end;align-items:center;gap:16px;display:flex}.-\\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_banner{background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 12%, transparent);color:var(--dsw-alias-label-primary);border-radius:10px;margin:0;padding:8px 12px;font-size:12px;line-height:18px}.-\\34 UeZq_group{flex-direction:column;gap:8px;display:flex}.-\\34 UeZq_groupHead{align-items:baseline;gap:8px;display:flex}.-\\34 UeZq_groupTitle{margin:0;font-size:14px;font-weight:500;line-height:22px}.-\\34 UeZq_count{color:var(--dsw-alias-label-caption);font-variant-numeric:tabular-nums;font-size:14px}.-\\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:20px;padding:0 8px;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 var(--dsw-alias-state-business-primary)}to{box-shadow:0 0 #0000}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_card[data-plugin-highlight]{box-shadow:0 0 0 2px var(--dsw-alias-state-business-primary);animation:none}}.-\\34 UeZq_iconButton:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.-\\34 UeZq_cards{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_card{--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border-radius:12px;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);width:48px;height:48px;color:var(--dsw-alias-label-secondary);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.-\\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-weight:500}.-\\34 UeZq_cardOpen:after{content:\"\";border-radius:12px;position:absolute;inset:0}.-\\34 UeZq_cardOpen:focus-visible{outline:none}.-\\34 UeZq_cardOpen:focus-visible:after{outline:2px solid var(--dsw-alias-brand-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_cardEnd{z-index:1;flex:none;align-items:center;gap:8px;display:inline-flex;position:relative}.-\\34 UeZq_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-caption);cursor:pointer;background:0 0;border:0;border-radius:28px;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_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{width:28px;height:28px;color:var(--dsw-alias-state-error-primary);cursor:pointer;background:0 0;border:0;border-radius:8px;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:2px solid var(--dsw-alias-brand-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:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.-\\34 UeZq_installDialog{width:min(600px,100%);max-height:calc(100vh - 48px)}.-\\34 UeZq_installBody{flex-direction:column;gap:12px;min-width:0;display:flex}.-\\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);background:var(--dsw-alias-bg-layer-3);height:36px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:10px;padding:0 12px;font-size:13px}.-\\34 UeZq_installField input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-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;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);background:var(--dsw-alias-bg-layer-1);border-radius:12px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.-\\34 UeZq_guideIntro,.-\\34 UeZq_guideHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_guideSafety{background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 12%, transparent);color:var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary));border-radius:8px;align-items:flex-start;gap:6px;margin:0;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.-\\34 UeZq_guideSafety>svg{flex:none;margin-top:2px}.-\\34 UeZq_guideNote{background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-secondary);border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:18px}.-\\34 UeZq_guideList{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_guideItem{border-top:.5px solid var(--dsw-alias-border-l4);align-items:flex-start;gap:10px;padding:8px 0;display:flex}.-\\34 UeZq_guideIndex{corner-shape:round;background:var(--dsw-alias-bg-layer-3);text-align:center;width:20px;height:20px;color:var(--dsw-alias-label-tertiary);border-radius:999px;flex:none;font-size:11px;line-height:20px}.-\\34 UeZq_guideMain{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.-\\34 UeZq_guideTitle{color:var(--dsw-alias-label-primary);font-size:12.5px;font-weight:600}.-\\34 UeZq_guideExample{color:var(--dsw-alias-label-secondary);overflow-wrap:anywhere;font-size:12px}.-\\34 UeZq_guideExample code{font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace)}.-\\34 UeZq_guideExampleLabel{color:var(--dsw-alias-label-tertiary)}.-\\34 UeZq_inputError{color:var(--dsw-alias-state-error-primary);margin:-4px 0 0;font-size:12px;line-height:18px}.-\\34 UeZq_wide{justify-content:center;width:100%}.-\\34 UeZq_wizard{flex-direction:column;flex:auto;gap:16px;min-width:0;min-height:0;padding:16px 20px 20px;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{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;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-tone=done]{color:var(--dsw-alias-state-success-primary)}.-\\34 UeZq_wizardIcon[data-tone=failed]{color:var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary))}.-\\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);text-align:center;border-radius:12px;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_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_spinnerLarge{border:3px solid color-mix(in srgb, var(--dsw-alias-label-primary) 18%, transparent);border-top-color:var(--dsw-alias-label-primary);corner-shape:round;border-radius:50%;width:28px;height:28px;animation:.9s linear infinite -\\34 UeZq_spin}.-\\34 UeZq_spinner{border:2px solid color-mix(in srgb, var(--dsw-alias-label-primary) 18%, transparent);border-top-color:var(--dsw-alias-label-primary);corner-shape:round;border-radius:50%;flex:none;width:14px;height:14px;animation:.9s linear infinite -\\34 UeZq_spin}@keyframes -\\34 UeZq_spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_spinner,.-\\34 UeZq_spinnerLarge{animation:none}.-\\34 UeZq_detailsChevron{transition:none}}.-\\34 UeZq_result,.-\\34 UeZq_resultWarn{background:color-mix(in srgb, var(--dsw-alias-state-success-primary) 10%, transparent);color:var(--dsw-alias-label-primary);border-radius:10px;margin:0;padding:8px 12px;font-size:13px;line-height:20px}.-\\34 UeZq_resultWarn{background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 12%, transparent)}.-\\34 UeZq_approval{border:.5px solid color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 40%, transparent);background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 8%, transparent);border-radius:12px;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-state-warning-primary,var(--dsw-alias-state-business-primary));margin:0;font-size:12.5px;font-weight:600;line-height:18px}.-\\34 UeZq_approvalList{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_approvalList code{background:var(--dsw-alias-bg-layer-3);font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);color:var(--dsw-alias-label-primary);border-radius:6px;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_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:2px solid var(--dsw-alias-brand-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-caption);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_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_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);width:40px;height:40px;color:var(--dsw-alias-label-secondary);border-radius:10px;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}";
|
|
1064
|
+
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:28px clamp(24px,4vw,48px) 48px;display:flex;overflow:auto}.-\\34 UeZq_page>*{width:100%;max-width:960px}.-\\34 UeZq_pageHead{box-sizing:border-box;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}[data-platform=darwin] .-\\34 UeZq_pageHead{padding-top:var(--dsh-frame-top-clearance,0px)}.-\\34 UeZq_pageTitle{margin:0;font-size:20px;font-weight:500;line-height:28px}.-\\34 UeZq_pageIntro{color:var(--dsw-alias-label-secondary);margin:4px 0 0;font-size:13px;line-height:20px}.-\\34 UeZq_toolbar{justify-content:flex-end;align-items:center;gap:16px;display:flex}.-\\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_banner{background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 12%, transparent);color:var(--dsw-alias-label-primary);border-radius:10px;margin:0;padding:8px 12px;font-size:12px;line-height:18px}.-\\34 UeZq_group{flex-direction:column;gap:8px;display:flex}.-\\34 UeZq_groupHead{align-items:baseline;gap:8px;display:flex}.-\\34 UeZq_groupTitle{margin:0;font-size:14px;font-weight:500;line-height:22px}.-\\34 UeZq_count{color:var(--dsw-alias-label-caption);font-variant-numeric:tabular-nums;font-size:14px}.-\\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 var(--dsw-alias-state-business-primary)}to{box-shadow:0 0 #0000}}@media (prefers-reduced-motion:reduce){.-\\34 UeZq_card[data-plugin-highlight]{box-shadow:0 0 0 2px var(--dsw-alias-state-business-primary);animation:none}}.-\\34 UeZq_iconButton:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.-\\34 UeZq_cards{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_card{--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);border-radius:12px;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);width:48px;height:48px;color:var(--dsw-alias-label-secondary);border-radius:10px;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:12px;position:absolute;inset:0}.-\\34 UeZq_cardOpen:focus-visible{outline:none}.-\\34 UeZq_cardOpen:focus-visible:after{outline:2px solid var(--dsw-alias-brand-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_cardEnd{z-index:1;flex:none;align-items:center;gap:8px;display:inline-flex;position:relative}.-\\34 UeZq_iconButton{width:28px;height:28px;color:var(--dsw-alias-label-caption);cursor:pointer;background:0 0;border:0;border-radius:28px;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{border-radius:16px;height:32px;padding:0 12px;font-size:13px;line-height:20px}.-\\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{width:28px;height:28px;color:var(--dsw-alias-state-error-primary);cursor:pointer;background:0 0;border:0;border-radius:8px;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:2px solid var(--dsw-alias-brand-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:2px solid var(--dsw-alias-brand-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_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);background:var(--dsw-alias-bg-layer-3);height:40px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:14px;outline:none;padding:0 14px;font-size:13px}.-\\34 UeZq_installField input[type=text]:focus{border-color:var(--dsw-alias-brand-primary);box-shadow:inset 0 0 0 .5px var(--dsw-alias-brand-primary)}.-\\34 UeZq_installField input[aria-invalid=true]{border-color:var(--dsw-alias-state-error-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);background:var(--dsw-alias-bg-layer-1);border-radius:14px;flex-direction:column;gap:10px;padding:8px 14px 14px;display:flex}.-\\34 UeZq_guideHint{color:var(--dsw-alias-label-tertiary);margin:0;font-size:12px;line-height:18px}.-\\34 UeZq_guideSafety{background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 12%, transparent);color:var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary));border-radius:10px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.-\\34 UeZq_guideSafety>svg{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_guideIndex{corner-shape:round;background:var(--dsw-alias-bg-module-platform);width:20px;height:20px;color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:11px;font-weight:500;display:inline-flex}.-\\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-secondary);overflow-wrap:anywhere;font-size:12px;line-height:20px}.-\\34 UeZq_guideExample code{font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace)}.-\\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);background:var(--dsw-alias-bg-layer-2);height:26px;font:inherit;color:var(--dsw-alias-label-secondary);cursor:pointer;border-radius:8px;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);--dsw-elevation-stroke-color:var(--dsw-alias-border-l3);width:min(440px,100vw - 24px);box-shadow:var(--dsw-elevation-prominent);border:0;border-radius:12px;flex-direction:column;gap:4px;min-width:0;margin:0;padding:8px 10px 12px;display:flex;position:fixed}.-\\34 UeZq_registryOption{cursor:pointer;border:.5px solid #0000;border-radius:10px;flex-direction:column;gap:4px;padding:8px 10px;display:flex}.-\\34 UeZq_registryOption[data-checked=true]{border-color:color-mix(in srgb, var(--dsw-alias-brand-primary) 40%, transparent);background:var(--dsw-alias-bg-layer-2)}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);background:var(--dsw-alias-bg-layer-3);height:32px;font:inherit;color:var(--dsw-alias-label-primary);border-radius:8px;margin-left:26px;padding:0 10px;font-size:13px}.-\\34 UeZq_registryCustomField[aria-invalid=true]{border-color:var(--dsw-alias-state-error-primary)}.-\\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:14px;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{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;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);text-align:center;border-radius:12px;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:16px;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{background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-secondary);border-radius:6px;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{background:color-mix(in srgb, var(--dsw-alias-state-success-primary) 10%, transparent);color:var(--dsw-alias-label-primary);border-radius:10px;margin:0;padding:8px 12px;font-size:13px;line-height:20px}.-\\34 UeZq_resultWarn{background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 12%, transparent)}.-\\34 UeZq_approval{border:.5px solid color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 40%, transparent);background:color-mix(in srgb, var(--dsw-alias-state-warning-primary,var(--dsw-alias-state-business-primary)) 8%, transparent);border-radius:12px;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-state-warning-primary,var(--dsw-alias-state-business-primary));margin:0;font-size:12.5px;font-weight:600;line-height:18px}.-\\34 UeZq_approvalList{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.-\\34 UeZq_approvalList code{background:var(--dsw-alias-bg-layer-3);font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);color:var(--dsw-alias-label-primary);border-radius:6px;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}[data-platform=darwin] .-\\34 UeZq_detail{padding-top: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:2px solid var(--dsw-alias-brand-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_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_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);width:40px;height:40px;color:var(--dsw-alias-label-secondary);border-radius:10px;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}";
|
|
836
1065
|
const tagId = "@deepseek-ai/dsh-client-ui-plugin-manager/PluginManagerPage.module.css";
|
|
837
1066
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
838
1067
|
const tag = document.createElement("style");
|
|
@@ -843,11 +1072,13 @@ window.__ModuleLoader__.load({
|
|
|
843
1072
|
}
|
|
844
1073
|
var PluginManagerPage_module_css_default = {
|
|
845
1074
|
"actions": "-4UeZq_actions",
|
|
1075
|
+
"addButton": "-4UeZq_addButton",
|
|
846
1076
|
"approval": "-4UeZq_approval",
|
|
847
1077
|
"approvalCaution": "-4UeZq_approvalCaution",
|
|
848
1078
|
"approvalList": "-4UeZq_approvalList",
|
|
849
1079
|
"approvalText": "-4UeZq_approvalText",
|
|
850
1080
|
"approvalTitle": "-4UeZq_approvalTitle",
|
|
1081
|
+
"attemptBadge": "-4UeZq_attemptBadge",
|
|
851
1082
|
"banner": "-4UeZq_banner",
|
|
852
1083
|
"card": "-4UeZq_card",
|
|
853
1084
|
"cardArrow": "-4UeZq_cardArrow",
|
|
@@ -882,6 +1113,7 @@ window.__ModuleLoader__.load({
|
|
|
882
1113
|
"dsh-plugin-highlight": "-4UeZq_dsh-plugin-highlight",
|
|
883
1114
|
"empty": "-4UeZq_empty",
|
|
884
1115
|
"failure": "-4UeZq_failure",
|
|
1116
|
+
"footAction": "-4UeZq_footAction",
|
|
885
1117
|
"group": "-4UeZq_group",
|
|
886
1118
|
"groupHead": "-4UeZq_groupHead",
|
|
887
1119
|
"groupInfo": "-4UeZq_groupInfo",
|
|
@@ -892,11 +1124,9 @@ window.__ModuleLoader__.load({
|
|
|
892
1124
|
"guideExampleLabel": "-4UeZq_guideExampleLabel",
|
|
893
1125
|
"guideHint": "-4UeZq_guideHint",
|
|
894
1126
|
"guideIndex": "-4UeZq_guideIndex",
|
|
895
|
-
"guideIntro": "-4UeZq_guideIntro",
|
|
896
1127
|
"guideItem": "-4UeZq_guideItem",
|
|
897
1128
|
"guideList": "-4UeZq_guideList",
|
|
898
1129
|
"guideMain": "-4UeZq_guideMain",
|
|
899
|
-
"guideNote": "-4UeZq_guideNote",
|
|
900
1130
|
"guideSafety": "-4UeZq_guideSafety",
|
|
901
1131
|
"guideTitle": "-4UeZq_guideTitle",
|
|
902
1132
|
"guideToggle": "-4UeZq_guideToggle",
|
|
@@ -904,9 +1134,12 @@ window.__ModuleLoader__.load({
|
|
|
904
1134
|
"iconWrap": "-4UeZq_iconWrap",
|
|
905
1135
|
"inputError": "-4UeZq_inputError",
|
|
906
1136
|
"installBody": "-4UeZq_installBody",
|
|
1137
|
+
"installContent": "-4UeZq_installContent",
|
|
907
1138
|
"installDialog": "-4UeZq_installDialog",
|
|
908
1139
|
"installField": "-4UeZq_installField",
|
|
909
1140
|
"installLocation": "-4UeZq_installLocation",
|
|
1141
|
+
"optionsRow": "-4UeZq_optionsRow",
|
|
1142
|
+
"packageImage": "-4UeZq_packageImage",
|
|
910
1143
|
"page": "-4UeZq_page",
|
|
911
1144
|
"pageHead": "-4UeZq_pageHead",
|
|
912
1145
|
"pageIntro": "-4UeZq_pageIntro",
|
|
@@ -914,6 +1147,14 @@ window.__ModuleLoader__.load({
|
|
|
914
1147
|
"partsFilter": "-4UeZq_partsFilter",
|
|
915
1148
|
"partsHead": "-4UeZq_partsHead",
|
|
916
1149
|
"reason": "-4UeZq_reason",
|
|
1150
|
+
"registry": "-4UeZq_registry",
|
|
1151
|
+
"registryChosen": "-4UeZq_registryChosen",
|
|
1152
|
+
"registryCustomField": "-4UeZq_registryCustomField",
|
|
1153
|
+
"registryCustomPick": "-4UeZq_registryCustomPick",
|
|
1154
|
+
"registryHint": "-4UeZq_registryHint",
|
|
1155
|
+
"registryOption": "-4UeZq_registryOption",
|
|
1156
|
+
"registryTitle": "-4UeZq_registryTitle",
|
|
1157
|
+
"registryToggle": "-4UeZq_registryToggle",
|
|
917
1158
|
"result": "-4UeZq_result",
|
|
918
1159
|
"resultWarn": "-4UeZq_resultWarn",
|
|
919
1160
|
"row": "-4UeZq_row",
|
|
@@ -927,14 +1168,13 @@ window.__ModuleLoader__.load({
|
|
|
927
1168
|
"rowOpenIcon": "-4UeZq_rowOpenIcon",
|
|
928
1169
|
"rowState": "-4UeZq_rowState",
|
|
929
1170
|
"rows": "-4UeZq_rows",
|
|
1171
|
+
"run": "-4UeZq_run",
|
|
930
1172
|
"sectionCount": "-4UeZq_sectionCount",
|
|
931
1173
|
"sectionHead": "-4UeZq_sectionHead",
|
|
932
1174
|
"sectionTitle": "-4UeZq_sectionTitle",
|
|
933
|
-
"spin": "-4UeZq_spin",
|
|
934
|
-
"spinner": "-4UeZq_spinner",
|
|
935
|
-
"spinnerLarge": "-4UeZq_spinnerLarge",
|
|
936
1175
|
"status": "-4UeZq_status",
|
|
937
1176
|
"statusTag": "-4UeZq_statusTag",
|
|
1177
|
+
"statusWithDot": "-4UeZq_statusWithDot",
|
|
938
1178
|
"subLabel": "-4UeZq_subLabel",
|
|
939
1179
|
"subject": "-4UeZq_subject",
|
|
940
1180
|
"subjectDesc": "-4UeZq_subjectDesc",
|
|
@@ -946,6 +1186,7 @@ window.__ModuleLoader__.load({
|
|
|
946
1186
|
"versionTag": "-4UeZq_versionTag",
|
|
947
1187
|
"wide": "-4UeZq_wide",
|
|
948
1188
|
"wizard": "-4UeZq_wizard",
|
|
1189
|
+
"wizardActions": "-4UeZq_wizardActions",
|
|
949
1190
|
"wizardBack": "-4UeZq_wizardBack",
|
|
950
1191
|
"wizardClose": "-4UeZq_wizardClose",
|
|
951
1192
|
"wizardFoot": "-4UeZq_wizardFoot",
|
|
@@ -990,13 +1231,13 @@ window.__ModuleLoader__.load({
|
|
|
990
1231
|
failed: "rowPhaseFailed",
|
|
991
1232
|
unloading: "rowPhaseUnloading"
|
|
992
1233
|
};
|
|
993
|
-
/** Status dot naming a
|
|
1234
|
+
/** Status dot naming a root-fiber phase; loading and unloading are live transitions. */
|
|
994
1235
|
const PHASE_STATES = {
|
|
995
1236
|
pending: "idle",
|
|
996
1237
|
loading: "ongoing",
|
|
997
1238
|
active: "done",
|
|
998
1239
|
failed: "error",
|
|
999
|
-
unloading: "
|
|
1240
|
+
unloading: "ongoing"
|
|
1000
1241
|
};
|
|
1001
1242
|
/** The count line over a pack's components: the total, then only the states that occur. */
|
|
1002
1243
|
function partsSummary(rows, t) {
|
|
@@ -1012,12 +1253,41 @@ window.__ModuleLoader__.load({
|
|
|
1012
1253
|
}
|
|
1013
1254
|
/** Rows beyond this count get a filter box above the list. */
|
|
1014
1255
|
const ROW_FILTER_THRESHOLD = 10;
|
|
1256
|
+
/** The size the 36-viewBox plugin artwork renders at inside a card's 48px frame. */
|
|
1257
|
+
const CARD_ARTWORK_SIZE = 36;
|
|
1258
|
+
/** The size the artwork renders at inside a row's 40px frame. */
|
|
1259
|
+
const ROW_ARTWORK_SIZE = 30;
|
|
1260
|
+
/** The artwork of the official plugins that registered their configuration, by registration id. */
|
|
1261
|
+
const ITEM_ARTWORK = new Map([
|
|
1262
|
+
["shell", _deepseek_ai_dsh_client_ui_primitives.PluginArtworkTerminal],
|
|
1263
|
+
["agent-loop", _deepseek_ai_dsh_client_ui_primitives.PluginArtworkLoop],
|
|
1264
|
+
["subagent", _deepseek_ai_dsh_client_ui_primitives.PluginArtworkSubagent],
|
|
1265
|
+
["web-search", _deepseek_ai_dsh_client_ui_primitives.PluginArtworkSearch]
|
|
1266
|
+
]);
|
|
1267
|
+
/** An official plugin's card and page artwork; plugins without their own get the default. */
|
|
1268
|
+
function itemArtwork(id) {
|
|
1269
|
+
return (0, react_jsx_runtime.jsx)(ITEM_ARTWORK.get(id) ?? _deepseek_ai_dsh_client_ui_primitives.PluginArtworkDefault, { size: CARD_ARTWORK_SIZE });
|
|
1270
|
+
}
|
|
1271
|
+
/** Manifest images remain isolated from the page DOM; a failed decode keeps the position's default artwork. */
|
|
1272
|
+
function PackageArtwork({ src, row = false, size = row ? ROW_ARTWORK_SIZE : CARD_ARTWORK_SIZE }) {
|
|
1273
|
+
const [failedSource, setFailedSource] = (0, react.useState)();
|
|
1274
|
+
return src === void 0 || src === failedSource ? (0, react_jsx_runtime.jsx)(row ? _deepseek_ai_dsh_client_ui_primitives.PluginArtworkSubagent : _deepseek_ai_dsh_client_ui_primitives.PluginArtworkDefault, { size }) : (0, react_jsx_runtime.jsx)("img", {
|
|
1275
|
+
className: PluginManagerPage_module_css_default.packageImage,
|
|
1276
|
+
src,
|
|
1277
|
+
width: size,
|
|
1278
|
+
height: size,
|
|
1279
|
+
alt: "",
|
|
1280
|
+
onError: () => {
|
|
1281
|
+
setFailedSource(src);
|
|
1282
|
+
}
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1015
1285
|
/** A row's switch: locked, saying why, when the Host refuses to address the row through the profile patch. */
|
|
1016
|
-
function RowSwitch({ row, t, busy, onChange }) {
|
|
1286
|
+
function RowSwitch({ row, title, t, busy, onChange }) {
|
|
1017
1287
|
const locked = row.readOnlyReason !== void 0 || row.entryId === void 0;
|
|
1018
1288
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
|
|
1019
1289
|
checked: row.enabled,
|
|
1020
|
-
label: t("partToggle", { name:
|
|
1290
|
+
label: t("partToggle", { name: title }),
|
|
1021
1291
|
disabled: busy || locked,
|
|
1022
1292
|
...row.readOnlyReason === void 0 ? {} : { title: managementText({ code: row.readOnlyReason }, t) },
|
|
1023
1293
|
onChange
|
|
@@ -1033,16 +1303,34 @@ window.__ModuleLoader__.load({
|
|
|
1033
1303
|
if (!row.enabled || row.phase === null) return "idle";
|
|
1034
1304
|
return PHASE_STATES[row.phase];
|
|
1035
1305
|
}
|
|
1306
|
+
/** A Host metadata diagnostic does not change the package's management permissions. */
|
|
1307
|
+
function MetadataError({ error, t }) {
|
|
1308
|
+
return error === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
1309
|
+
className: PluginManagerPage_module_css_default.reason,
|
|
1310
|
+
role: "status",
|
|
1311
|
+
"data-package-meta-error": true,
|
|
1312
|
+
children: t("metadataError", { error })
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1036
1315
|
/**
|
|
1037
1316
|
* A pack's rows as a list in the order the pack declares them: a state dot,
|
|
1038
1317
|
* the row id, one line saying its state, a configure control for a row that
|
|
1039
1318
|
* registered a page, and, when the pack is on, a switch. A pack like base
|
|
1040
1319
|
* carries close to a hundred rows, so a long list gets a filter.
|
|
1041
1320
|
*/
|
|
1042
|
-
function RowsSection({ rows, t, toggle, configure }) {
|
|
1321
|
+
function RowsSection({ rows, t, resolveText, toggle, configure }) {
|
|
1043
1322
|
const [filter, setFilter] = (0, react.useState)("");
|
|
1044
1323
|
const query = filter.trim().toLowerCase();
|
|
1045
|
-
const
|
|
1324
|
+
const localized = rows.map((row) => ({
|
|
1325
|
+
row,
|
|
1326
|
+
...rowText(row, resolveText)
|
|
1327
|
+
}));
|
|
1328
|
+
const shown = query === "" ? localized : localized.filter(({ row, title, description }) => [
|
|
1329
|
+
title,
|
|
1330
|
+
description,
|
|
1331
|
+
row.rowId,
|
|
1332
|
+
row.moduleName
|
|
1333
|
+
].some((value) => value?.toLowerCase().includes(query)));
|
|
1046
1334
|
return (0, react_jsx_runtime.jsxs)("section", {
|
|
1047
1335
|
className: PluginManagerPage_module_css_default.detailSection,
|
|
1048
1336
|
"data-plugin-rows": true,
|
|
@@ -1077,51 +1365,63 @@ window.__ModuleLoader__.load({
|
|
|
1077
1365
|
}) : null,
|
|
1078
1366
|
shown.length === 0 ? null : (0, react_jsx_runtime.jsx)("ul", {
|
|
1079
1367
|
className: PluginManagerPage_module_css_default.rows,
|
|
1080
|
-
children: shown.map((row) => (0, react_jsx_runtime.
|
|
1368
|
+
children: shown.map(({ row, title, description }) => (0, react_jsx_runtime.jsxs)("li", {
|
|
1081
1369
|
className: PluginManagerPage_module_css_default.row,
|
|
1082
1370
|
"data-plugin-row": row.entryId ?? row.rowId,
|
|
1083
1371
|
...row.phase === "failed" ? { "data-state": "failed" } : row.enabled ? {} : { "data-state": "off" },
|
|
1084
|
-
children: (0, react_jsx_runtime.jsxs)("div", {
|
|
1372
|
+
children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
1085
1373
|
className: PluginManagerPage_module_css_default.rowLine,
|
|
1086
1374
|
children: [
|
|
1087
1375
|
(0, react_jsx_runtime.jsx)("span", {
|
|
1088
1376
|
className: PluginManagerPage_module_css_default.rowIcon,
|
|
1089
1377
|
"aria-hidden": "true",
|
|
1090
|
-
children: (0, react_jsx_runtime.jsx)(
|
|
1378
|
+
children: (0, react_jsx_runtime.jsx)(PackageArtwork, {
|
|
1379
|
+
src: row.meta?.icon,
|
|
1380
|
+
row: true
|
|
1381
|
+
}, row.meta?.icon)
|
|
1091
1382
|
}),
|
|
1092
1383
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
1093
1384
|
className: PluginManagerPage_module_css_default.rowMain,
|
|
1094
|
-
children: [
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1385
|
+
children: [
|
|
1386
|
+
configure?.has(row) === true ? (0, react_jsx_runtime.jsxs)("button", {
|
|
1387
|
+
type: "button",
|
|
1388
|
+
className: PluginManagerPage_module_css_default.rowOpen,
|
|
1389
|
+
"aria-label": t("configureRow", { name: title }),
|
|
1390
|
+
onClick: () => {
|
|
1391
|
+
configure.open(row);
|
|
1392
|
+
},
|
|
1393
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1394
|
+
className: PluginManagerPage_module_css_default.rowId,
|
|
1395
|
+
children: title
|
|
1396
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutlineRegular, {
|
|
1397
|
+
className: PluginManagerPage_module_css_default.rowOpenIcon,
|
|
1398
|
+
"aria-hidden": "true"
|
|
1399
|
+
})]
|
|
1400
|
+
}) : (0, react_jsx_runtime.jsx)("span", {
|
|
1102
1401
|
className: PluginManagerPage_module_css_default.rowId,
|
|
1402
|
+
children: title
|
|
1403
|
+
}),
|
|
1404
|
+
description === void 0 ? null : (0, react_jsx_runtime.jsx)("span", {
|
|
1405
|
+
className: PluginManagerPage_module_css_default.rowModule,
|
|
1406
|
+
children: description
|
|
1407
|
+
}),
|
|
1408
|
+
title === row.rowId ? null : (0, react_jsx_runtime.jsx)("code", {
|
|
1409
|
+
className: PluginManagerPage_module_css_default.rowModule,
|
|
1103
1410
|
children: row.rowId
|
|
1104
|
-
}),
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
children: row.rowId
|
|
1111
|
-
}), (0, react_jsx_runtime.jsx)("span", {
|
|
1112
|
-
className: PluginManagerPage_module_css_default.rowModule,
|
|
1113
|
-
children: row.moduleName
|
|
1114
|
-
})]
|
|
1411
|
+
}),
|
|
1412
|
+
title === row.moduleName ? null : (0, react_jsx_runtime.jsx)("code", {
|
|
1413
|
+
className: PluginManagerPage_module_css_default.rowModule,
|
|
1414
|
+
children: row.moduleName
|
|
1415
|
+
})
|
|
1416
|
+
]
|
|
1115
1417
|
}),
|
|
1116
1418
|
(0, react_jsx_runtime.jsxs)("span", {
|
|
1117
1419
|
className: PluginManagerPage_module_css_default.rowState,
|
|
1118
|
-
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, {
|
|
1119
|
-
state: rowDotState(row),
|
|
1120
|
-
size: 8
|
|
1121
|
-
}), rowStateText(row, t)]
|
|
1420
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: rowDotState(row) }), rowStateText(row, t)]
|
|
1122
1421
|
}),
|
|
1123
1422
|
toggle === void 0 ? null : (0, react_jsx_runtime.jsx)(RowSwitch, {
|
|
1124
1423
|
row,
|
|
1424
|
+
title,
|
|
1125
1425
|
t,
|
|
1126
1426
|
busy: toggle.busy(row),
|
|
1127
1427
|
onChange: (enabled) => {
|
|
@@ -1129,7 +1429,10 @@ window.__ModuleLoader__.load({
|
|
|
1129
1429
|
}
|
|
1130
1430
|
})
|
|
1131
1431
|
]
|
|
1132
|
-
})
|
|
1432
|
+
}), (0, react_jsx_runtime.jsx)(MetadataError, {
|
|
1433
|
+
error: row.meta?.error,
|
|
1434
|
+
t
|
|
1435
|
+
})]
|
|
1133
1436
|
}, row.rowId))
|
|
1134
1437
|
})
|
|
1135
1438
|
]
|
|
@@ -1153,15 +1456,16 @@ window.__ModuleLoader__.load({
|
|
|
1153
1456
|
if (pkg.error !== void 0) return "problem";
|
|
1154
1457
|
return pkg.enabled ? "running" : "disabled";
|
|
1155
1458
|
}
|
|
1156
|
-
/** The head every card shares: the
|
|
1157
|
-
function CardHead({ title, t, onOpen, tags, description, end }) {
|
|
1459
|
+
/** The head every card shares: the artwork, the name that opens the page beside its tags, its one-liner, and what sits at the end. */
|
|
1460
|
+
function CardHead({ title, t, onOpen, icon, tags, description, end }) {
|
|
1461
|
+
const descriptionId = (0, react.useId)();
|
|
1158
1462
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1159
1463
|
className: PluginManagerPage_module_css_default.cardHead,
|
|
1160
1464
|
children: [
|
|
1161
1465
|
(0, react_jsx_runtime.jsx)("span", {
|
|
1162
1466
|
className: PluginManagerPage_module_css_default.cardIcon,
|
|
1163
1467
|
"aria-hidden": "true",
|
|
1164
|
-
children:
|
|
1468
|
+
children: icon
|
|
1165
1469
|
}),
|
|
1166
1470
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
1167
1471
|
className: PluginManagerPage_module_css_default.cardMain,
|
|
@@ -1171,11 +1475,13 @@ window.__ModuleLoader__.load({
|
|
|
1171
1475
|
type: "button",
|
|
1172
1476
|
className: `${PluginManagerPage_module_css_default.cardTitle} ${PluginManagerPage_module_css_default.cardOpen}`,
|
|
1173
1477
|
"aria-label": t("openDetail", { name: title }),
|
|
1478
|
+
"aria-describedby": description === void 0 ? void 0 : descriptionId,
|
|
1174
1479
|
onClick: onOpen,
|
|
1175
1480
|
children: title
|
|
1176
1481
|
}), tags]
|
|
1177
1482
|
}), description === void 0 ? null : (0, react_jsx_runtime.jsx)("span", {
|
|
1178
1483
|
className: PluginManagerPage_module_css_default.cardDesc,
|
|
1484
|
+
id: descriptionId,
|
|
1179
1485
|
children: description
|
|
1180
1486
|
})]
|
|
1181
1487
|
}),
|
|
@@ -1193,7 +1499,7 @@ window.__ModuleLoader__.load({
|
|
|
1193
1499
|
className: PluginManagerPage_module_css_default.crumb,
|
|
1194
1500
|
"aria-label": crumbLabel,
|
|
1195
1501
|
onClick: onBack,
|
|
1196
|
-
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1502
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {
|
|
1197
1503
|
className: PluginManagerPage_module_css_default.crumbIcon,
|
|
1198
1504
|
"aria-hidden": "true"
|
|
1199
1505
|
}), (0, react_jsx_runtime.jsx)("span", { children: crumbText })]
|
|
@@ -1202,23 +1508,24 @@ window.__ModuleLoader__.load({
|
|
|
1202
1508
|
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
1203
1509
|
className: PluginManagerPage_module_css_default.cardIcon,
|
|
1204
1510
|
"aria-hidden": "true",
|
|
1205
|
-
children: icon
|
|
1511
|
+
children: icon
|
|
1206
1512
|
}), actions]
|
|
1207
1513
|
})] });
|
|
1208
1514
|
}
|
|
1209
1515
|
/** One package as a card that opens its page: its name, its one-liner, its tags, and its bundle switch. */
|
|
1210
|
-
function PackageCard({ pkg, t, busy, highlighted, onOpen, onSetEnabled }) {
|
|
1211
|
-
const { title, description, beta } = packageText(pkg,
|
|
1516
|
+
function PackageCard({ pkg, t, resolveText, busy, highlighted, onOpen, onSetEnabled }) {
|
|
1517
|
+
const { title, description, beta } = packageText(pkg, resolveText);
|
|
1212
1518
|
const status = packageStatus(pkg);
|
|
1213
|
-
return (0, react_jsx_runtime.
|
|
1519
|
+
return (0, react_jsx_runtime.jsxs)("li", {
|
|
1214
1520
|
className: `${PluginManagerPage_module_css_default.card} ${PluginManagerPage_module_css_default.cardLink}`,
|
|
1215
1521
|
"data-plugin-package": pkg.name,
|
|
1216
1522
|
"data-plugin-status": status,
|
|
1217
1523
|
...highlighted ? { "data-plugin-highlight": "" } : {},
|
|
1218
|
-
children: (0, react_jsx_runtime.jsx)(CardHead, {
|
|
1524
|
+
children: [(0, react_jsx_runtime.jsx)(CardHead, {
|
|
1219
1525
|
title,
|
|
1220
1526
|
t,
|
|
1221
1527
|
onOpen,
|
|
1528
|
+
icon: (0, react_jsx_runtime.jsx)(PackageArtwork, { src: pkg.meta?.icon }, pkg.meta?.icon),
|
|
1222
1529
|
tags: (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [beta ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tag, {
|
|
1223
1530
|
className: PluginManagerPage_module_css_default.statusTag,
|
|
1224
1531
|
tone: "info",
|
|
@@ -1236,7 +1543,10 @@ window.__ModuleLoader__.load({
|
|
|
1236
1543
|
busy,
|
|
1237
1544
|
onSetEnabled
|
|
1238
1545
|
})
|
|
1239
|
-
})
|
|
1546
|
+
}), (0, react_jsx_runtime.jsx)(MetadataError, {
|
|
1547
|
+
error: pkg.meta?.error,
|
|
1548
|
+
t
|
|
1549
|
+
})]
|
|
1240
1550
|
});
|
|
1241
1551
|
}
|
|
1242
1552
|
/**
|
|
@@ -1251,12 +1561,39 @@ window.__ModuleLoader__.load({
|
|
|
1251
1561
|
title: item.label,
|
|
1252
1562
|
t,
|
|
1253
1563
|
onOpen,
|
|
1564
|
+
icon: itemArtwork(item.id),
|
|
1254
1565
|
description: renderSlot("plugins.item", { view: "summary" }, { only: item.id })
|
|
1255
1566
|
})
|
|
1256
1567
|
});
|
|
1257
1568
|
}
|
|
1258
|
-
/**
|
|
1259
|
-
function
|
|
1569
|
+
/** One row as the detail slots see it. */
|
|
1570
|
+
function rowRef(row) {
|
|
1571
|
+
return {
|
|
1572
|
+
rowId: row.rowId,
|
|
1573
|
+
moduleName: row.moduleName,
|
|
1574
|
+
enabled: row.enabled
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
/** One bundle as the detail slots see it. */
|
|
1578
|
+
function packageRef(pkg) {
|
|
1579
|
+
return {
|
|
1580
|
+
name: pkg.name,
|
|
1581
|
+
...pkg.version === void 0 ? {} : { version: pkg.version },
|
|
1582
|
+
installed: pkg.installed,
|
|
1583
|
+
enabled: pkg.enabled,
|
|
1584
|
+
rows: pkg.rows.map(rowRef)
|
|
1585
|
+
};
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* An official plugin's page: the crumb back to the cards, its icon with the
|
|
1589
|
+
* contributed actions, its title with the contributed badges over its
|
|
1590
|
+
* one-liner, the form the entry renders, and the contributed sections.
|
|
1591
|
+
*/
|
|
1592
|
+
function ItemDetail({ item, t, onBack, renderSlot, form }) {
|
|
1593
|
+
const subject = {
|
|
1594
|
+
kind: "item",
|
|
1595
|
+
id: item.id
|
|
1596
|
+
};
|
|
1260
1597
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1261
1598
|
className: PluginManagerPage_module_css_default.detail,
|
|
1262
1599
|
"data-plugin-item-detail": item.id,
|
|
@@ -1264,36 +1601,53 @@ window.__ModuleLoader__.load({
|
|
|
1264
1601
|
(0, react_jsx_runtime.jsx)(DetailTop, {
|
|
1265
1602
|
crumbLabel: t("backToList"),
|
|
1266
1603
|
crumbText: t("crumbRoot"),
|
|
1267
|
-
onBack
|
|
1604
|
+
onBack,
|
|
1605
|
+
icon: itemArtwork(item.id),
|
|
1606
|
+
actions: (0, react_jsx_runtime.jsx)("div", {
|
|
1607
|
+
className: PluginManagerPage_module_css_default.detailActions,
|
|
1608
|
+
children: renderSlot("plugins.detail.actions", { subject })
|
|
1609
|
+
})
|
|
1268
1610
|
}),
|
|
1269
1611
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
1270
1612
|
className: PluginManagerPage_module_css_default.detailMain,
|
|
1271
|
-
children: [(0, react_jsx_runtime.
|
|
1613
|
+
children: [(0, react_jsx_runtime.jsxs)("div", {
|
|
1272
1614
|
className: PluginManagerPage_module_css_default.titleRow,
|
|
1273
|
-
children: (0, react_jsx_runtime.jsx)("h3", {
|
|
1615
|
+
children: [(0, react_jsx_runtime.jsx)("h3", {
|
|
1274
1616
|
className: PluginManagerPage_module_css_default.detailTitle,
|
|
1275
1617
|
children: item.label
|
|
1276
|
-
})
|
|
1618
|
+
}), renderSlot("plugins.detail.badge", { subject })]
|
|
1277
1619
|
}), (0, react_jsx_runtime.jsx)("p", {
|
|
1278
1620
|
className: PluginManagerPage_module_css_default.detailDesc,
|
|
1279
1621
|
children: renderSlot("plugins.item", { view: "summary" }, { only: item.id })
|
|
1280
1622
|
})]
|
|
1281
1623
|
}),
|
|
1282
|
-
(0, react_jsx_runtime.
|
|
1624
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
1283
1625
|
className: PluginManagerPage_module_css_default.detailSections,
|
|
1284
|
-
"
|
|
1285
|
-
|
|
1626
|
+
children: [(0, react_jsx_runtime.jsx)("section", {
|
|
1627
|
+
className: PluginManagerPage_module_css_default.detailSection,
|
|
1628
|
+
"data-plugin-config": true,
|
|
1629
|
+
children: renderSlot("plugins.item", {
|
|
1630
|
+
view: "page",
|
|
1631
|
+
form
|
|
1632
|
+
}, { only: item.id })
|
|
1633
|
+
}), renderSlot("plugins.detail.section", { subject })]
|
|
1286
1634
|
})
|
|
1287
1635
|
]
|
|
1288
1636
|
});
|
|
1289
1637
|
}
|
|
1290
1638
|
/**
|
|
1291
|
-
* A row's configuration page
|
|
1292
|
-
*
|
|
1639
|
+
* A row's configuration page keeps its technical identity beside local package
|
|
1640
|
+
* text and the form supplied by its configuration entry.
|
|
1293
1641
|
*/
|
|
1294
|
-
function RowDetail({ pkg, row, t, onBack, renderSlot }) {
|
|
1295
|
-
const { title } = packageText(pkg,
|
|
1642
|
+
function RowDetail({ pkg, row, t, resolveText, onBack, renderSlot, form }) {
|
|
1643
|
+
const { title } = packageText(pkg, resolveText);
|
|
1644
|
+
const { title: rowTitle, description } = rowText(row, resolveText);
|
|
1296
1645
|
const key = rowConfigKey(pkg.name, row.rowId);
|
|
1646
|
+
const subject = {
|
|
1647
|
+
kind: "row",
|
|
1648
|
+
pkg: packageRef(pkg),
|
|
1649
|
+
row: rowRef(row)
|
|
1650
|
+
};
|
|
1297
1651
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1298
1652
|
className: PluginManagerPage_module_css_default.detail,
|
|
1299
1653
|
"data-plugin-row-detail": key,
|
|
@@ -1302,17 +1656,29 @@ window.__ModuleLoader__.load({
|
|
|
1302
1656
|
crumbLabel: t("backToPackage", { name: title }),
|
|
1303
1657
|
crumbText: title,
|
|
1304
1658
|
onBack,
|
|
1305
|
-
icon: (0, react_jsx_runtime.jsx)(
|
|
1659
|
+
icon: (0, react_jsx_runtime.jsx)(PackageArtwork, {
|
|
1660
|
+
src: row.meta?.icon,
|
|
1661
|
+
row: true,
|
|
1662
|
+
size: CARD_ARTWORK_SIZE
|
|
1663
|
+
}, row.meta?.icon),
|
|
1664
|
+
actions: (0, react_jsx_runtime.jsx)("div", {
|
|
1665
|
+
className: PluginManagerPage_module_css_default.detailActions,
|
|
1666
|
+
children: renderSlot("plugins.detail.actions", { subject })
|
|
1667
|
+
})
|
|
1306
1668
|
}),
|
|
1307
1669
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
1308
1670
|
className: PluginManagerPage_module_css_default.detailMain,
|
|
1309
1671
|
children: [
|
|
1310
|
-
(0, react_jsx_runtime.
|
|
1672
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
1311
1673
|
className: PluginManagerPage_module_css_default.titleRow,
|
|
1312
|
-
children: (0, react_jsx_runtime.jsx)("h3", {
|
|
1674
|
+
children: [(0, react_jsx_runtime.jsx)("h3", {
|
|
1313
1675
|
className: PluginManagerPage_module_css_default.detailTitle,
|
|
1314
|
-
children:
|
|
1315
|
-
})
|
|
1676
|
+
children: rowTitle
|
|
1677
|
+
}), renderSlot("plugins.detail.badge", { subject })]
|
|
1678
|
+
}),
|
|
1679
|
+
rowTitle === row.rowId ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
1680
|
+
className: PluginManagerPage_module_css_default.detailName,
|
|
1681
|
+
children: (0, react_jsx_runtime.jsx)("code", { children: row.rowId })
|
|
1316
1682
|
}),
|
|
1317
1683
|
(0, react_jsx_runtime.jsx)("p", {
|
|
1318
1684
|
className: PluginManagerPage_module_css_default.detailName,
|
|
@@ -1320,14 +1686,21 @@ window.__ModuleLoader__.load({
|
|
|
1320
1686
|
}),
|
|
1321
1687
|
(0, react_jsx_runtime.jsx)("p", {
|
|
1322
1688
|
className: PluginManagerPage_module_css_default.detailDesc,
|
|
1323
|
-
children: renderSlot("plugins.row.config", { view: "summary" }, { entryKey: key })
|
|
1689
|
+
children: description ?? renderSlot("plugins.row.config", { view: "summary" }, { entryKey: key })
|
|
1324
1690
|
})
|
|
1325
1691
|
]
|
|
1326
1692
|
}),
|
|
1327
|
-
(0, react_jsx_runtime.jsx)(
|
|
1693
|
+
(0, react_jsx_runtime.jsx)(MetadataError, {
|
|
1694
|
+
error: row.meta?.error,
|
|
1695
|
+
t
|
|
1696
|
+
}),
|
|
1697
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
1328
1698
|
className: PluginManagerPage_module_css_default.detailSections,
|
|
1329
1699
|
"data-plugin-config": true,
|
|
1330
|
-
children: renderSlot("plugins.row.config", {
|
|
1700
|
+
children: [renderSlot("plugins.row.config", {
|
|
1701
|
+
view: "page",
|
|
1702
|
+
form
|
|
1703
|
+
}, { entryKey: key }), renderSlot("plugins.detail.section", { subject })]
|
|
1331
1704
|
})
|
|
1332
1705
|
]
|
|
1333
1706
|
});
|
|
@@ -1340,9 +1713,13 @@ window.__ModuleLoader__.load({
|
|
|
1340
1713
|
* problem when it reports one; the configuration the bundle registered for
|
|
1341
1714
|
* itself; and its rows with their switches and configure controls.
|
|
1342
1715
|
*/
|
|
1343
|
-
function PackageDetail({ pkg, t, busy, rowBusy, configured, configure, renderSlot, onBack, onSetEnabled, onUninstall, onSetRowEnabled }) {
|
|
1344
|
-
const { title, description, beta } = packageText(pkg,
|
|
1716
|
+
function PackageDetail({ pkg, t, resolveText, busy, rowBusy, configured, configure, renderSlot, onBack, onSetEnabled, onUninstall, onSetRowEnabled }) {
|
|
1717
|
+
const { title, description, beta } = packageText(pkg, resolveText);
|
|
1345
1718
|
const status = packageStatus(pkg);
|
|
1719
|
+
const subject = {
|
|
1720
|
+
kind: "bundle",
|
|
1721
|
+
pkg: packageRef(pkg)
|
|
1722
|
+
};
|
|
1346
1723
|
return (0, react_jsx_runtime.jsxs)("div", {
|
|
1347
1724
|
className: PluginManagerPage_module_css_default.detail,
|
|
1348
1725
|
"data-plugin-detail": pkg.name,
|
|
@@ -1351,24 +1728,29 @@ window.__ModuleLoader__.load({
|
|
|
1351
1728
|
crumbLabel: t("backToList"),
|
|
1352
1729
|
crumbText: t("crumbRoot"),
|
|
1353
1730
|
onBack,
|
|
1731
|
+
icon: (0, react_jsx_runtime.jsx)(PackageArtwork, { src: pkg.meta?.icon }, pkg.meta?.icon),
|
|
1354
1732
|
actions: (0, react_jsx_runtime.jsxs)("div", {
|
|
1355
1733
|
className: PluginManagerPage_module_css_default.detailActions,
|
|
1356
|
-
children: [
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1734
|
+
children: [
|
|
1735
|
+
renderSlot("plugins.detail.actions", { subject }),
|
|
1736
|
+
pkg.installed ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1737
|
+
variant: "outline",
|
|
1738
|
+
size: "sm",
|
|
1739
|
+
className: PluginManagerPage_module_css_default.danger,
|
|
1740
|
+
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconTrashOutlineRegular, { size: 13 }),
|
|
1741
|
+
"aria-label": t("uninstallLabel", { name: title }),
|
|
1742
|
+
disabled: busy || pkg.readOnlyReason !== void 0,
|
|
1743
|
+
onClick: onUninstall,
|
|
1744
|
+
children: t("uninstall")
|
|
1745
|
+
}) : null,
|
|
1746
|
+
(0, react_jsx_runtime.jsx)(EnableSwitch, {
|
|
1747
|
+
pkg,
|
|
1748
|
+
title,
|
|
1749
|
+
t,
|
|
1750
|
+
busy,
|
|
1751
|
+
onSetEnabled
|
|
1752
|
+
})
|
|
1753
|
+
]
|
|
1372
1754
|
})
|
|
1373
1755
|
}),
|
|
1374
1756
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -1395,7 +1777,8 @@ window.__ModuleLoader__.load({
|
|
|
1395
1777
|
className: PluginManagerPage_module_css_default.statusTag,
|
|
1396
1778
|
tone: "danger",
|
|
1397
1779
|
children: t("statusProblem")
|
|
1398
|
-
}) : null
|
|
1780
|
+
}) : null,
|
|
1781
|
+
renderSlot("plugins.detail.badge", { subject })
|
|
1399
1782
|
]
|
|
1400
1783
|
}),
|
|
1401
1784
|
(0, react_jsx_runtime.jsx)("p", {
|
|
@@ -1405,12 +1788,16 @@ window.__ModuleLoader__.load({
|
|
|
1405
1788
|
children: pkg.name
|
|
1406
1789
|
})
|
|
1407
1790
|
}),
|
|
1408
|
-
(0, react_jsx_runtime.jsx)("p", {
|
|
1791
|
+
description === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
1409
1792
|
className: PluginManagerPage_module_css_default.detailDesc,
|
|
1410
|
-
children: description
|
|
1793
|
+
children: description
|
|
1411
1794
|
})
|
|
1412
1795
|
]
|
|
1413
1796
|
}),
|
|
1797
|
+
(0, react_jsx_runtime.jsx)(MetadataError, {
|
|
1798
|
+
error: pkg.meta?.error,
|
|
1799
|
+
t
|
|
1800
|
+
}),
|
|
1414
1801
|
pkg.error === void 0 ? null : (0, react_jsx_runtime.jsxs)("p", {
|
|
1415
1802
|
className: PluginManagerPage_module_css_default.reason,
|
|
1416
1803
|
role: "status",
|
|
@@ -1427,19 +1814,24 @@ window.__ModuleLoader__.load({
|
|
|
1427
1814
|
}),
|
|
1428
1815
|
(0, react_jsx_runtime.jsxs)("div", {
|
|
1429
1816
|
className: PluginManagerPage_module_css_default.detailSections,
|
|
1430
|
-
children: [
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1817
|
+
children: [
|
|
1818
|
+
configured ? (0, react_jsx_runtime.jsx)("section", {
|
|
1819
|
+
className: PluginManagerPage_module_css_default.detailSection,
|
|
1820
|
+
"data-plugin-config": true,
|
|
1821
|
+
children: renderSlot("plugins.bundle.config", { view: "page" }, { entryKey: pkg.name })
|
|
1822
|
+
}) : null,
|
|
1823
|
+
(0, react_jsx_runtime.jsx)(RowsSection, {
|
|
1824
|
+
rows: pkg.rows,
|
|
1825
|
+
t,
|
|
1826
|
+
resolveText,
|
|
1827
|
+
toggle: pkg.enabled ? {
|
|
1828
|
+
busy: (row) => busy || rowBusy(row),
|
|
1829
|
+
onSetEnabled: onSetRowEnabled
|
|
1830
|
+
} : void 0,
|
|
1831
|
+
configure
|
|
1832
|
+
}),
|
|
1833
|
+
renderSlot("plugins.detail.section", { subject })
|
|
1834
|
+
]
|
|
1443
1835
|
})
|
|
1444
1836
|
]
|
|
1445
1837
|
});
|
|
@@ -1515,6 +1907,8 @@ window.__ModuleLoader__.load({
|
|
|
1515
1907
|
running: "installingTitle",
|
|
1516
1908
|
cancelling: "installCancelling",
|
|
1517
1909
|
applying: "installApplying",
|
|
1910
|
+
unconfirmed: "installUnconfirmedTitle",
|
|
1911
|
+
unknown: "installUnknownTitle",
|
|
1518
1912
|
done: "installedTitle",
|
|
1519
1913
|
failed: "installFailedTitle"
|
|
1520
1914
|
};
|
|
@@ -1525,13 +1919,31 @@ window.__ModuleLoader__.load({
|
|
|
1525
1919
|
git: "installSubjectGit",
|
|
1526
1920
|
tarball: "installSubjectTarball"
|
|
1527
1921
|
};
|
|
1922
|
+
/** The registries asked, by name, in the dictionary's list form. */
|
|
1923
|
+
function registryList(registries, t, resolved) {
|
|
1924
|
+
return registries.map((registry) => registryText(registry, t, resolved).name).join(t("registryListSeparator"));
|
|
1925
|
+
}
|
|
1926
|
+
/** An option's label: the registry's name with the host it names, unless the host is the name. */
|
|
1927
|
+
function registryOption(registry, t, resolved) {
|
|
1928
|
+
const { name, host } = registryText(registry, t, resolved);
|
|
1929
|
+
return name === host ? name : t("registryWithHost", {
|
|
1930
|
+
name,
|
|
1931
|
+
host
|
|
1932
|
+
});
|
|
1933
|
+
}
|
|
1528
1934
|
/**
|
|
1529
1935
|
* The failed screen's one line: a pnpm failure by its kind, a refusal by its
|
|
1530
1936
|
* code, any other failure in the Host's words; the run's output stays behind the details.
|
|
1937
|
+
* A run the Host laid at the spec's own host says so; one it laid at a registry
|
|
1938
|
+
* names every registry asked when there were several.
|
|
1531
1939
|
*/
|
|
1532
|
-
function failureText(failure, t) {
|
|
1940
|
+
function failureText(failure, t, install) {
|
|
1533
1941
|
if (failure === null) return t("installFailureGeneric");
|
|
1534
1942
|
if (failure.kind === "build-blocked" && !failure.pendingBuilds?.length) return t("installFailureBuildBlockedManual");
|
|
1943
|
+
const host = install?.subject?.host;
|
|
1944
|
+
if (failure.failedAt === "spec-host" && host !== void 0) return t("installFailureNetworkHost", { host });
|
|
1945
|
+
const asked = install?.attempts?.registries ?? [];
|
|
1946
|
+
if (failure.failedAt === "registry" && (failure.kind === "network" || failure.kind === "timeout") && asked.length > 1) return t("installFailureNetworkAll", { registries: registryList(asked, t, install?.registries?.resolved ?? null) });
|
|
1535
1947
|
if (failure.kind !== void 0) return t(FAILURE_KIND_KEYS[failure.kind]);
|
|
1536
1948
|
if (failure.code !== void 0) return managementText({
|
|
1537
1949
|
code: failure.code,
|
|
@@ -1568,15 +1980,47 @@ window.__ModuleLoader__.load({
|
|
|
1568
1980
|
* and failed screens over the same subject card. A failed run that left
|
|
1569
1981
|
* install scripts undecided shows them for approval in place of plain retry.
|
|
1570
1982
|
*/
|
|
1571
|
-
function InstallDialog({ install, t, onClose, onEditSpec, onRun, onCancel,
|
|
1983
|
+
function InstallDialog({ install, t, onClose, onEditSpec, onRun, onCancel, onReconcile, onToggleDetails, onEnableNow, onApproveBuilds, onToggleRegistry, onChooseRegistry, onChangeRegistry }) {
|
|
1572
1984
|
const errorId = (0, react.useId)();
|
|
1573
1985
|
const guideId = (0, react.useId)();
|
|
1574
1986
|
const approvalId = (0, react.useId)();
|
|
1987
|
+
const registryId = (0, react.useId)();
|
|
1988
|
+
const registryErrorId = (0, react.useId)();
|
|
1575
1989
|
const [guideOpen, setGuideOpen] = (0, react.useState)(false);
|
|
1576
1990
|
const { phase } = install;
|
|
1991
|
+
const registryToggleRef = (0, react.useRef)(null);
|
|
1992
|
+
const registryPanelRef = (0, react.useRef)(null);
|
|
1993
|
+
const registryShown = install.registryOpen && phase === "idle";
|
|
1994
|
+
const registryPosition = (0, _deepseek_ai_dsh_client_ui_primitives.useAnchoredPosition)({
|
|
1995
|
+
open: registryShown,
|
|
1996
|
+
anchorRef: registryToggleRef,
|
|
1997
|
+
panelRef: registryPanelRef,
|
|
1998
|
+
align: "end",
|
|
1999
|
+
gap: 6,
|
|
2000
|
+
margin: 12
|
|
2001
|
+
});
|
|
2002
|
+
(0, _deepseek_ai_dsh_client_ui_primitives.useDismissOnOutsidePointer)(registryToggleRef, registryShown, onToggleRegistry, registryPanelRef);
|
|
2003
|
+
(0, react.useEffect)(() => {
|
|
2004
|
+
if (!registryShown) return;
|
|
2005
|
+
const onKeyDown = (event) => {
|
|
2006
|
+
if (event.key !== "Escape") return;
|
|
2007
|
+
event.stopPropagation();
|
|
2008
|
+
onToggleRegistry();
|
|
2009
|
+
};
|
|
2010
|
+
document.addEventListener("keydown", onKeyDown, true);
|
|
2011
|
+
return () => {
|
|
2012
|
+
document.removeEventListener("keydown", onKeyDown, true);
|
|
2013
|
+
};
|
|
2014
|
+
}, [registryShown, onToggleRegistry]);
|
|
1577
2015
|
if (phase === "idle" || phase === "checking") {
|
|
1578
2016
|
const checking = phase === "checking";
|
|
1579
2017
|
const empty = install.spec.trim() === "";
|
|
2018
|
+
const choice = install.registry;
|
|
2019
|
+
const resolved = install.registries?.resolved ?? null;
|
|
2020
|
+
const chosenTitle = choice.kind === "custom" ? t("registryCustom") : registryText(choice.registry, t, resolved).name;
|
|
2021
|
+
const inputProblem = install.inputError;
|
|
2022
|
+
const askedByCheck = inputProblem?.registries ?? [];
|
|
2023
|
+
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 });
|
|
1580
2024
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
1581
2025
|
open: install.open,
|
|
1582
2026
|
onClose,
|
|
@@ -1584,27 +2028,26 @@ window.__ModuleLoader__.load({
|
|
|
1584
2028
|
closeLabel: t("close"),
|
|
1585
2029
|
description: t("installDescription"),
|
|
1586
2030
|
className: PluginManagerPage_module_css_default.installDialog,
|
|
2031
|
+
contentClassName: PluginManagerPage_module_css_default.installContent,
|
|
1587
2032
|
footer: (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1588
2033
|
variant: "primary",
|
|
1589
2034
|
className: PluginManagerPage_module_css_default.wide,
|
|
1590
2035
|
disabled: checking || empty,
|
|
1591
2036
|
"aria-busy": checking,
|
|
1592
2037
|
onClick: onRun,
|
|
1593
|
-
children: [checking ? (0, react_jsx_runtime.jsx)("
|
|
1594
|
-
className: PluginManagerPage_module_css_default.spinner,
|
|
1595
|
-
"aria-hidden": "true"
|
|
1596
|
-
}) : null, t(checking ? "installChecking" : "installRun")]
|
|
2038
|
+
children: [checking ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "ongoing" }) : null, t(checking ? "installChecking" : "installRun")]
|
|
1597
2039
|
}),
|
|
1598
2040
|
children: (0, react_jsx_runtime.jsxs)("div", {
|
|
1599
2041
|
className: PluginManagerPage_module_css_default.installBody,
|
|
1600
2042
|
children: [
|
|
1601
|
-
(0, react_jsx_runtime.
|
|
2043
|
+
(0, react_jsx_runtime.jsx)("div", {
|
|
1602
2044
|
className: PluginManagerPage_module_css_default.installField,
|
|
1603
|
-
children:
|
|
2045
|
+
children: (0, react_jsx_runtime.jsx)("input", {
|
|
1604
2046
|
type: "text",
|
|
1605
2047
|
value: install.spec,
|
|
1606
2048
|
placeholder: t("installSpecPlaceholder"),
|
|
1607
2049
|
disabled: checking,
|
|
2050
|
+
"aria-label": t("installSpecLabel"),
|
|
1608
2051
|
"aria-invalid": install.inputError !== null,
|
|
1609
2052
|
"aria-describedby": install.inputError === null ? void 0 : errorId,
|
|
1610
2053
|
onChange: (event) => {
|
|
@@ -1613,104 +2056,219 @@ window.__ModuleLoader__.load({
|
|
|
1613
2056
|
onKeyDown: (event) => {
|
|
1614
2057
|
if (event.key === "Enter" && !empty && !checking) onRun();
|
|
1615
2058
|
}
|
|
1616
|
-
})
|
|
2059
|
+
})
|
|
1617
2060
|
}),
|
|
1618
|
-
|
|
2061
|
+
inputSentence === null ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
1619
2062
|
id: errorId,
|
|
1620
2063
|
className: PluginManagerPage_module_css_default.inputError,
|
|
1621
2064
|
role: "alert",
|
|
1622
|
-
children:
|
|
2065
|
+
children: inputSentence
|
|
1623
2066
|
}),
|
|
1624
|
-
(0, react_jsx_runtime.jsxs)("
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
2067
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
2068
|
+
className: PluginManagerPage_module_css_default.optionsRow,
|
|
2069
|
+
children: [(0, react_jsx_runtime.jsxs)("button", {
|
|
2070
|
+
type: "button",
|
|
2071
|
+
className: PluginManagerPage_module_css_default.guideToggle,
|
|
2072
|
+
"aria-expanded": guideOpen,
|
|
2073
|
+
"aria-controls": guideId,
|
|
2074
|
+
onClick: () => {
|
|
2075
|
+
setGuideOpen((open) => !open);
|
|
2076
|
+
},
|
|
2077
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {
|
|
2078
|
+
className: PluginManagerPage_module_css_default.guideChevron,
|
|
2079
|
+
"aria-hidden": "true"
|
|
2080
|
+
}), (0, react_jsx_runtime.jsx)("span", { children: t(guideOpen ? "installGuideHide" : "installGuideToggle") })]
|
|
2081
|
+
}), (0, react_jsx_runtime.jsxs)("button", {
|
|
2082
|
+
ref: registryToggleRef,
|
|
2083
|
+
type: "button",
|
|
2084
|
+
className: PluginManagerPage_module_css_default.registryToggle,
|
|
2085
|
+
"aria-expanded": install.registryOpen,
|
|
2086
|
+
"aria-controls": registryId,
|
|
2087
|
+
"aria-haspopup": "dialog",
|
|
2088
|
+
disabled: checking,
|
|
2089
|
+
onClick: onToggleRegistry,
|
|
2090
|
+
children: [
|
|
2091
|
+
(0, react_jsx_runtime.jsx)("span", { children: t("registryToggle") }),
|
|
2092
|
+
" ",
|
|
2093
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
2094
|
+
className: PluginManagerPage_module_css_default.registryChosen,
|
|
2095
|
+
children: chosenTitle
|
|
2096
|
+
}),
|
|
2097
|
+
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {
|
|
2098
|
+
className: PluginManagerPage_module_css_default.guideChevron,
|
|
2099
|
+
"aria-hidden": "true"
|
|
2100
|
+
})
|
|
2101
|
+
]
|
|
2102
|
+
})]
|
|
1636
2103
|
}),
|
|
1637
2104
|
guideOpen ? (0, react_jsx_runtime.jsxs)("div", {
|
|
1638
2105
|
id: guideId,
|
|
1639
2106
|
className: PluginManagerPage_module_css_default.guide,
|
|
1640
2107
|
"data-install-guide": true,
|
|
1641
|
-
children: [
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
(0, react_jsx_runtime.
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
2108
|
+
children: [(0, react_jsx_runtime.jsx)("ol", {
|
|
2109
|
+
className: PluginManagerPage_module_css_default.guideList,
|
|
2110
|
+
children: GUIDE_EXAMPLES.map(({ key, titleKey, exampleKey, hintKey }, index) => (0, react_jsx_runtime.jsxs)("li", {
|
|
2111
|
+
className: PluginManagerPage_module_css_default.guideItem,
|
|
2112
|
+
children: [
|
|
2113
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
2114
|
+
className: PluginManagerPage_module_css_default.guideIndex,
|
|
2115
|
+
"aria-hidden": "true",
|
|
2116
|
+
children: index + 1
|
|
2117
|
+
}),
|
|
2118
|
+
(0, react_jsx_runtime.jsxs)("div", {
|
|
2119
|
+
className: PluginManagerPage_module_css_default.guideMain,
|
|
2120
|
+
children: [
|
|
2121
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
2122
|
+
className: PluginManagerPage_module_css_default.guideTitle,
|
|
2123
|
+
children: t(titleKey)
|
|
2124
|
+
}),
|
|
2125
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
2126
|
+
className: PluginManagerPage_module_css_default.guideHint,
|
|
2127
|
+
children: t(hintKey)
|
|
2128
|
+
}),
|
|
2129
|
+
(0, react_jsx_runtime.jsxs)("span", {
|
|
2130
|
+
className: PluginManagerPage_module_css_default.guideExample,
|
|
2131
|
+
children: [(0, react_jsx_runtime.jsx)("span", {
|
|
2132
|
+
className: PluginManagerPage_module_css_default.guideExampleLabel,
|
|
2133
|
+
children: t("installGuideExampleLabel")
|
|
2134
|
+
}), (0, react_jsx_runtime.jsx)("code", { children: t(exampleKey) })]
|
|
2135
|
+
})
|
|
2136
|
+
]
|
|
2137
|
+
}),
|
|
2138
|
+
(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2139
|
+
variant: "outline",
|
|
2140
|
+
size: "sm",
|
|
2141
|
+
"aria-label": t("installGuideFillAria", { example: t(exampleKey) }),
|
|
2142
|
+
disabled: checking,
|
|
2143
|
+
onClick: () => {
|
|
2144
|
+
onEditSpec(t(exampleKey));
|
|
2145
|
+
},
|
|
2146
|
+
children: t("installGuideFill")
|
|
2147
|
+
})
|
|
2148
|
+
]
|
|
2149
|
+
}, key))
|
|
2150
|
+
}), (0, react_jsx_runtime.jsxs)("p", {
|
|
2151
|
+
className: PluginManagerPage_module_css_default.guideSafety,
|
|
2152
|
+
role: "note",
|
|
2153
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutlineRegular, {
|
|
2154
|
+
size: 14,
|
|
2155
|
+
"aria-hidden": "true"
|
|
2156
|
+
}), (0, react_jsx_runtime.jsx)("span", { children: t("installGuideSafety") })]
|
|
2157
|
+
})]
|
|
2158
|
+
}) : null,
|
|
2159
|
+
registryShown ? (0, react_dom.createPortal)((0, react_jsx_runtime.jsxs)("fieldset", {
|
|
2160
|
+
ref: registryPanelRef,
|
|
2161
|
+
id: registryId,
|
|
2162
|
+
className: PluginManagerPage_module_css_default.registry,
|
|
2163
|
+
style: registryPosition ?? {
|
|
2164
|
+
visibility: "hidden",
|
|
2165
|
+
left: 0,
|
|
2166
|
+
top: 0
|
|
2167
|
+
},
|
|
2168
|
+
"data-install-registry": true,
|
|
2169
|
+
"aria-label": t("registryLegend"),
|
|
2170
|
+
children: [offeredRegistries(install.registries).map((registry) => {
|
|
2171
|
+
const checked = choice.kind === "offered" && choice.registry === registry;
|
|
2172
|
+
return (0, react_jsx_runtime.jsxs)("label", {
|
|
2173
|
+
className: PluginManagerPage_module_css_default.registryOption,
|
|
2174
|
+
"data-checked": checked,
|
|
2175
|
+
children: [(0, react_jsx_runtime.jsx)("input", {
|
|
2176
|
+
type: "radio",
|
|
2177
|
+
name: registryId,
|
|
2178
|
+
checked,
|
|
2179
|
+
onChange: () => {
|
|
2180
|
+
onChooseRegistry({
|
|
2181
|
+
kind: "offered",
|
|
2182
|
+
registry
|
|
2183
|
+
});
|
|
2184
|
+
}
|
|
2185
|
+
}), (0, react_jsx_runtime.jsx)("span", {
|
|
2186
|
+
className: PluginManagerPage_module_css_default.registryTitle,
|
|
2187
|
+
children: (0, react_jsx_runtime.jsx)("span", { children: registryOption(registry, t, resolved) })
|
|
2188
|
+
})]
|
|
2189
|
+
}, registry ?? "");
|
|
2190
|
+
}), (0, react_jsx_runtime.jsxs)("div", {
|
|
2191
|
+
className: PluginManagerPage_module_css_default.registryOption,
|
|
2192
|
+
"data-checked": choice.kind === "custom",
|
|
2193
|
+
children: [
|
|
2194
|
+
(0, react_jsx_runtime.jsxs)("label", {
|
|
2195
|
+
className: PluginManagerPage_module_css_default.registryCustomPick,
|
|
2196
|
+
children: [(0, react_jsx_runtime.jsx)("input", {
|
|
2197
|
+
type: "radio",
|
|
2198
|
+
name: registryId,
|
|
2199
|
+
checked: choice.kind === "custom",
|
|
2200
|
+
onChange: () => {
|
|
2201
|
+
onChooseRegistry({
|
|
2202
|
+
kind: "custom",
|
|
2203
|
+
url: ""
|
|
2204
|
+
});
|
|
2205
|
+
}
|
|
2206
|
+
}), (0, react_jsx_runtime.jsx)("span", {
|
|
2207
|
+
className: PluginManagerPage_module_css_default.registryTitle,
|
|
2208
|
+
children: (0, react_jsx_runtime.jsx)("span", { children: t("registryCustom") })
|
|
2209
|
+
})]
|
|
2210
|
+
}),
|
|
2211
|
+
(0, react_jsx_runtime.jsx)("input", {
|
|
2212
|
+
type: "text",
|
|
2213
|
+
className: PluginManagerPage_module_css_default.registryCustomField,
|
|
2214
|
+
"aria-label": t("registryCustom"),
|
|
2215
|
+
placeholder: t("registryCustomPlaceholder"),
|
|
2216
|
+
value: choice.kind === "custom" ? choice.url : "",
|
|
2217
|
+
disabled: choice.kind !== "custom",
|
|
2218
|
+
"aria-invalid": install.registryError,
|
|
2219
|
+
"aria-describedby": install.registryError ? registryErrorId : void 0,
|
|
2220
|
+
onChange: (event) => {
|
|
2221
|
+
onChooseRegistry({
|
|
2222
|
+
kind: "custom",
|
|
2223
|
+
url: event.currentTarget.value
|
|
2224
|
+
});
|
|
2225
|
+
},
|
|
2226
|
+
onKeyDown: (event) => {
|
|
2227
|
+
if (event.key === "Enter" && !empty) onRun();
|
|
2228
|
+
}
|
|
2229
|
+
}),
|
|
2230
|
+
install.registryError ? (0, react_jsx_runtime.jsx)("p", {
|
|
2231
|
+
id: registryErrorId,
|
|
2232
|
+
className: PluginManagerPage_module_css_default.inputError,
|
|
2233
|
+
role: "alert",
|
|
2234
|
+
children: t("registryCustomInvalid")
|
|
2235
|
+
}) : null,
|
|
2236
|
+
(0, react_jsx_runtime.jsx)("span", {
|
|
2237
|
+
className: PluginManagerPage_module_css_default.registryHint,
|
|
2238
|
+
children: t("registryCustomHint")
|
|
2239
|
+
})
|
|
2240
|
+
]
|
|
2241
|
+
})]
|
|
2242
|
+
}), document.body) : null
|
|
1703
2243
|
]
|
|
1704
2244
|
})
|
|
1705
2245
|
});
|
|
1706
2246
|
}
|
|
1707
2247
|
const heading = t(SCREEN_TITLE_KEYS[phase]);
|
|
1708
2248
|
const pending = isInstallPending(phase);
|
|
1709
|
-
const
|
|
1710
|
-
const
|
|
2249
|
+
const cancellable = phase === "starting" || phase === "running" || phase === "unconfirmed";
|
|
2250
|
+
const stoppable = cancellable || phase === "failed" || phase === "unknown";
|
|
2251
|
+
const failure = install.failure;
|
|
2252
|
+
const uncertainty = failure?.uncertainty;
|
|
2253
|
+
const uncertaintyText = failure?.uncertainty === void 0 ? null : t({
|
|
2254
|
+
result: "installResultUnconfirmed",
|
|
2255
|
+
cancellation: phase === "applying" ? "installApplyingCancellationError" : "installCancelUnconfirmed",
|
|
2256
|
+
acceptance: "installAwaitingAcceptance"
|
|
2257
|
+
}[failure.uncertainty], { reason: failure.reason });
|
|
1711
2258
|
const pendingBuilds = phase === "failed" ? install.failure?.pendingBuilds ?? [] : [];
|
|
1712
2259
|
const approvable = pendingBuilds.length > 0;
|
|
1713
2260
|
const firstRun = install.runs[0];
|
|
2261
|
+
const asked = install.attempts !== null && install.attempts.registries.length > 1 ? install.attempts : null;
|
|
2262
|
+
const current = asked === null ? void 0 : asked.registries.at(-1);
|
|
2263
|
+
const previous = asked === null ? void 0 : asked.registries.at(-2);
|
|
2264
|
+
const resolved = install.registries?.resolved ?? null;
|
|
2265
|
+
const attemptLine = pending && asked !== null && current !== void 0 && previous !== void 0 ? t("installAttempt", {
|
|
2266
|
+
previous: registryText(previous, t, resolved).name,
|
|
2267
|
+
registry: registryText(current, t, resolved).name,
|
|
2268
|
+
index: String(asked.registries.length),
|
|
2269
|
+
total: String(asked.total)
|
|
2270
|
+
}) : null;
|
|
2271
|
+
const changeable = phase === "failed" && !approvable && install.failure?.failedAt === "registry";
|
|
1714
2272
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
1715
2273
|
open: install.open,
|
|
1716
2274
|
onClose,
|
|
@@ -1725,17 +2283,16 @@ window.__ModuleLoader__.load({
|
|
|
1725
2283
|
children: [phase === "done" ? (0, react_jsx_runtime.jsx)("span", {}) : (0, react_jsx_runtime.jsxs)("button", {
|
|
1726
2284
|
type: "button",
|
|
1727
2285
|
className: PluginManagerPage_module_css_default.wizardBack,
|
|
1728
|
-
"aria-label": t("installEditAria"),
|
|
2286
|
+
"aria-label": t(pending ? "installCancelAndEdit" : "installEditAria"),
|
|
1729
2287
|
disabled: !stoppable,
|
|
1730
2288
|
onClick: onCancel,
|
|
1731
|
-
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
2289
|
+
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") })]
|
|
1732
2290
|
}), (0, react_jsx_runtime.jsx)("button", {
|
|
1733
2291
|
type: "button",
|
|
1734
2292
|
className: PluginManagerPage_module_css_default.wizardClose,
|
|
1735
|
-
"aria-label": t(
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCloseOutline16, { size: 14 })
|
|
2293
|
+
"aria-label": t(cancellable ? "installCloseCancels" : "close"),
|
|
2294
|
+
onClick: onClose,
|
|
2295
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCloseOutlineMedium, { size: 14 })
|
|
1739
2296
|
})]
|
|
1740
2297
|
}), (0, react_jsx_runtime.jsxs)("div", {
|
|
1741
2298
|
className: PluginManagerPage_module_css_default.wizardScroll,
|
|
@@ -1745,9 +2302,12 @@ window.__ModuleLoader__.load({
|
|
|
1745
2302
|
children: [
|
|
1746
2303
|
(0, react_jsx_runtime.jsx)("span", {
|
|
1747
2304
|
className: PluginManagerPage_module_css_default.wizardIcon,
|
|
1748
|
-
"data-
|
|
2305
|
+
"data-state": pending ? "ongoing" : phase === "done" ? "done" : "error",
|
|
1749
2306
|
"aria-hidden": "true",
|
|
1750
|
-
children: pending ? (0, react_jsx_runtime.jsx)(
|
|
2307
|
+
children: pending ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, {
|
|
2308
|
+
state: "ongoing",
|
|
2309
|
+
size: 28
|
|
2310
|
+
}) : phase === "done" ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckCircleFillRegular, { size: 28 }) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutlineRegular, { size: 28 })
|
|
1751
2311
|
}),
|
|
1752
2312
|
(0, react_jsx_runtime.jsx)("h2", {
|
|
1753
2313
|
className: PluginManagerPage_module_css_default.wizardTitle,
|
|
@@ -1756,13 +2316,21 @@ window.__ModuleLoader__.load({
|
|
|
1756
2316
|
}),
|
|
1757
2317
|
phase === "failed" ? (0, react_jsx_runtime.jsx)("p", {
|
|
1758
2318
|
className: PluginManagerPage_module_css_default.wizardSub,
|
|
1759
|
-
children: failureText(install.failure, t)
|
|
2319
|
+
children: failureText(install.failure, t, install)
|
|
1760
2320
|
}) : null,
|
|
1761
|
-
|
|
2321
|
+
attemptLine === null ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
2322
|
+
className: PluginManagerPage_module_css_default.wizardSub,
|
|
2323
|
+
children: attemptLine
|
|
2324
|
+
}),
|
|
2325
|
+
uncertaintyText === null ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
1762
2326
|
className: PluginManagerPage_module_css_default.wizardSub,
|
|
1763
2327
|
role: "alert",
|
|
1764
|
-
children:
|
|
1765
|
-
})
|
|
2328
|
+
children: uncertaintyText
|
|
2329
|
+
}),
|
|
2330
|
+
phase === "unknown" ? (0, react_jsx_runtime.jsx)("p", {
|
|
2331
|
+
className: PluginManagerPage_module_css_default.wizardSub,
|
|
2332
|
+
children: t("installUnknownDescription")
|
|
2333
|
+
}) : null
|
|
1766
2334
|
]
|
|
1767
2335
|
}),
|
|
1768
2336
|
install.subject === null ? null : (0, react_jsx_runtime.jsx)(SubjectCard, {
|
|
@@ -1827,23 +2395,41 @@ window.__ModuleLoader__.load({
|
|
|
1827
2395
|
className: PluginManagerPage_module_css_default.detailsToggle,
|
|
1828
2396
|
"aria-expanded": install.detailsOpen,
|
|
1829
2397
|
onClick: onToggleDetails,
|
|
1830
|
-
children: [(0, react_jsx_runtime.jsx)("span", { children: t(install.detailsOpen ? "installDetailsHide" : "installDetailsShow") }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
2398
|
+
children: [(0, react_jsx_runtime.jsx)("span", { children: t(install.detailsOpen ? "installDetailsHide" : "installDetailsShow") }), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineRegular, {
|
|
1831
2399
|
className: PluginManagerPage_module_css_default.detailsChevron,
|
|
1832
2400
|
"aria-hidden": "true"
|
|
1833
2401
|
})]
|
|
1834
2402
|
}),
|
|
2403
|
+
uncertainty === "result" ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2404
|
+
variant: "outline",
|
|
2405
|
+
size: "sm",
|
|
2406
|
+
className: PluginManagerPage_module_css_default.footAction,
|
|
2407
|
+
onClick: onReconcile,
|
|
2408
|
+
children: t("installReconcile")
|
|
2409
|
+
}) : null,
|
|
1835
2410
|
pending ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1836
2411
|
variant: "outline",
|
|
1837
2412
|
size: "sm",
|
|
1838
|
-
|
|
2413
|
+
className: PluginManagerPage_module_css_default.footAction,
|
|
2414
|
+
disabled: !cancellable,
|
|
1839
2415
|
onClick: onCancel,
|
|
1840
2416
|
children: t(phase === "cancelling" ? "installCancelling" : "installCancel")
|
|
1841
2417
|
}) : null,
|
|
1842
|
-
phase === "failed" && !approvable ? (0, react_jsx_runtime.
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
2418
|
+
phase === "failed" && !approvable ? (0, react_jsx_runtime.jsxs)("span", {
|
|
2419
|
+
className: PluginManagerPage_module_css_default.wizardActions,
|
|
2420
|
+
children: [changeable ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2421
|
+
variant: "outline",
|
|
2422
|
+
size: "sm",
|
|
2423
|
+
className: PluginManagerPage_module_css_default.footAction,
|
|
2424
|
+
onClick: onChangeRegistry,
|
|
2425
|
+
children: t("installChangeRegistry")
|
|
2426
|
+
}) : null, (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2427
|
+
variant: "primary",
|
|
2428
|
+
size: "sm",
|
|
2429
|
+
className: PluginManagerPage_module_css_default.footAction,
|
|
2430
|
+
onClick: onRun,
|
|
2431
|
+
children: t("installRetry")
|
|
2432
|
+
})]
|
|
1847
2433
|
}) : null
|
|
1848
2434
|
]
|
|
1849
2435
|
}),
|
|
@@ -1852,18 +2438,30 @@ window.__ModuleLoader__.load({
|
|
|
1852
2438
|
children: [(0, react_jsx_runtime.jsx)("p", {
|
|
1853
2439
|
className: PluginManagerPage_module_css_default.installLocation,
|
|
1854
2440
|
children: firstRun === void 0 ? t("terminalNoOutput") : t("installLocation", { dir: firstRun.cwd })
|
|
1855
|
-
}), install.runs.map((run) =>
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
2441
|
+
}), install.runs.map((run, index) => {
|
|
2442
|
+
const registry = asked?.registries[index];
|
|
2443
|
+
return (0, react_jsx_runtime.jsxs)("div", {
|
|
2444
|
+
className: PluginManagerPage_module_css_default.run,
|
|
2445
|
+
children: [registry === void 0 ? null : (0, react_jsx_runtime.jsx)("p", {
|
|
2446
|
+
className: PluginManagerPage_module_css_default.attemptBadge,
|
|
2447
|
+
children: t("installAttemptBadge", {
|
|
2448
|
+
index: String(index + 1),
|
|
2449
|
+
registry: registryText(registry, t, resolved).name
|
|
2450
|
+
})
|
|
2451
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.TerminalBlock, {
|
|
2452
|
+
command: run.command,
|
|
2453
|
+
output: run.output,
|
|
2454
|
+
running: run.exitCode === void 0,
|
|
2455
|
+
exitCode: run.exitCode,
|
|
2456
|
+
maxLines: INSTALL_TERMINAL_LINES,
|
|
2457
|
+
labels: {
|
|
2458
|
+
...terminalLabels(t),
|
|
2459
|
+
...phase === "cancelling" ? { failed: t("installCancelledShort") } : {}
|
|
2460
|
+
},
|
|
2461
|
+
className: PluginManagerPage_module_css_default.terminal
|
|
2462
|
+
})]
|
|
2463
|
+
}, run.jobId);
|
|
2464
|
+
})]
|
|
1867
2465
|
}) : null,
|
|
1868
2466
|
phase !== "done" ? null : install.installed !== null ? (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
1869
2467
|
variant: "primary",
|
|
@@ -1884,8 +2482,7 @@ window.__ModuleLoader__.load({
|
|
|
1884
2482
|
});
|
|
1885
2483
|
}
|
|
1886
2484
|
/** The confirmation an uninstall waits on. */
|
|
1887
|
-
function ConfirmDialog({
|
|
1888
|
-
const { title: name } = packageText({ name: confirm.packageName }, t);
|
|
2485
|
+
function ConfirmDialog({ name, t, onConfirm, onCancel }) {
|
|
1889
2486
|
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
1890
2487
|
open: true,
|
|
1891
2488
|
onClose: onCancel,
|
|
@@ -1906,10 +2503,20 @@ window.__ModuleLoader__.load({
|
|
|
1906
2503
|
}
|
|
1907
2504
|
/** Render the plugin manager: the official plugins and installed bundles, their pages, the install dialog, and the confirmation. */
|
|
1908
2505
|
function PluginManagerPage(props) {
|
|
1909
|
-
const { t, ensure, renderSlot } = props;
|
|
2506
|
+
const { t, ensure, renderSlot, resolveText } = props;
|
|
2507
|
+
const configurations = props.useConfigurations((snapshot) => snapshot.view?.namespaces);
|
|
2508
|
+
const formFor = (id) => {
|
|
2509
|
+
if (!configurations?.some((view) => view.ns === id)) return void 0;
|
|
2510
|
+
const form = props.configForm(id);
|
|
2511
|
+
return {
|
|
2512
|
+
state: form.getSnapshot(),
|
|
2513
|
+
mutate: (ops, revision) => form.mutate(ops, revision)
|
|
2514
|
+
};
|
|
2515
|
+
};
|
|
1910
2516
|
const state = props.usePluginManager((snapshot) => snapshot);
|
|
1911
2517
|
const ledger = props.useConfigLedger((snapshot) => snapshot);
|
|
1912
2518
|
const [view, setView] = (0, react.useState)({ kind: "list" });
|
|
2519
|
+
const [activation, setActivation] = (0, react.useState)(null);
|
|
1913
2520
|
(0, react.useEffect)(() => {
|
|
1914
2521
|
ensure();
|
|
1915
2522
|
}, [ensure]);
|
|
@@ -1938,6 +2545,7 @@ window.__ModuleLoader__.load({
|
|
|
1938
2545
|
const openItem = view.kind === "item" ? ledger.items.find((item) => item.id === view.id) : void 0;
|
|
1939
2546
|
const openRow = view.kind === "row" && openPkg !== void 0 ? openPkg.rows.find((row) => row.rowId === view.rowId) : void 0;
|
|
1940
2547
|
const showsCards = openPkg === void 0 && openItem === void 0;
|
|
2548
|
+
const activated = listed.find((pkg) => pkg.name === activation && pkg.enabled && !state.busy.includes(pkg.name));
|
|
1941
2549
|
const setRowEnabled = (row, enabled) => {
|
|
1942
2550
|
/* v8 ignore next -- a row without a live entry has its switch disabled */
|
|
1943
2551
|
if (row.entryId !== void 0) props.setRowEnabled(row.entryId, enabled);
|
|
@@ -1955,15 +2563,18 @@ window.__ModuleLoader__.load({
|
|
|
1955
2563
|
const packageCard = (pkg) => (0, react_jsx_runtime.jsx)(PackageCard, {
|
|
1956
2564
|
pkg,
|
|
1957
2565
|
t,
|
|
2566
|
+
resolveText,
|
|
1958
2567
|
busy: state.busy.includes(pkg.name),
|
|
1959
2568
|
highlighted: state.highlight === pkg.name,
|
|
1960
2569
|
onOpen: () => {
|
|
2570
|
+
setActivation(null);
|
|
1961
2571
|
setView({
|
|
1962
2572
|
kind: "package",
|
|
1963
2573
|
name: pkg.name
|
|
1964
2574
|
});
|
|
1965
2575
|
},
|
|
1966
2576
|
onSetEnabled: (enabled) => {
|
|
2577
|
+
setActivation(enabled ? pkg.name : null);
|
|
1967
2578
|
props.setEnabled(pkg.name, enabled);
|
|
1968
2579
|
}
|
|
1969
2580
|
}, pkg.name);
|
|
@@ -2022,32 +2633,41 @@ window.__ModuleLoader__.load({
|
|
|
2022
2633
|
children: (0, react_jsx_runtime.jsx)("span", {
|
|
2023
2634
|
className: PluginManagerPage_module_css_default.iconWrap,
|
|
2024
2635
|
"aria-hidden": "true",
|
|
2025
|
-
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
2636
|
+
children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutlineRegular, {})
|
|
2026
2637
|
})
|
|
2027
2638
|
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2028
2639
|
variant: "primary",
|
|
2029
2640
|
size: "sm",
|
|
2030
|
-
|
|
2641
|
+
className: PluginManagerPage_module_css_default.addButton,
|
|
2642
|
+
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPlusOutlineRegular, { size: 13 }),
|
|
2031
2643
|
disabled: !loaded,
|
|
2032
2644
|
onClick: props.openInstall,
|
|
2033
|
-
children: t("addPlugin")
|
|
2645
|
+
children: t(state.install.requestId === void 0 ? "addPlugin" : "installViewTask")
|
|
2034
2646
|
})]
|
|
2035
2647
|
})]
|
|
2036
2648
|
}) : null,
|
|
2037
|
-
state.status === "loading" ? (0, react_jsx_runtime.
|
|
2038
|
-
className: PluginManagerPage_module_css_default.status
|
|
2039
|
-
|
|
2649
|
+
showsCards && state.status === "loading" ? (0, react_jsx_runtime.jsxs)("p", {
|
|
2650
|
+
className: `${PluginManagerPage_module_css_default.status} ${PluginManagerPage_module_css_default.statusWithDot}`,
|
|
2651
|
+
role: "status",
|
|
2652
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "ongoing" }), t("loading")]
|
|
2040
2653
|
}) : null,
|
|
2041
|
-
state.status === "unavailable" ? (0, react_jsx_runtime.
|
|
2042
|
-
className: PluginManagerPage_module_css_default.status
|
|
2654
|
+
showsCards && state.status === "unavailable" ? (0, react_jsx_runtime.jsxs)("p", {
|
|
2655
|
+
className: `${PluginManagerPage_module_css_default.status} ${PluginManagerPage_module_css_default.statusWithDot}`,
|
|
2043
2656
|
role: "status",
|
|
2044
|
-
children: t("unavailable")
|
|
2657
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "idle" }), t("unavailable")]
|
|
2045
2658
|
}) : null,
|
|
2046
|
-
state.
|
|
2659
|
+
state.notice === null || noticeLine === null ? null : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
2660
|
+
text: noticeLine,
|
|
2661
|
+
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutlineRegular, {}),
|
|
2662
|
+
holdMs: toastHoldMs(noticeLine),
|
|
2663
|
+
onDone: props.dismissNotice
|
|
2664
|
+
}, state.notice.seq),
|
|
2665
|
+
!showsCards && state.status === "error" ? (0, react_jsx_runtime.jsxs)("div", {
|
|
2047
2666
|
className: PluginManagerPage_module_css_default.failure,
|
|
2048
|
-
children: [(0, react_jsx_runtime.
|
|
2667
|
+
children: [(0, react_jsx_runtime.jsxs)("p", {
|
|
2668
|
+
className: PluginManagerPage_module_css_default.statusWithDot,
|
|
2049
2669
|
role: "alert",
|
|
2050
|
-
children: t("error")
|
|
2670
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "error" }), t("error")]
|
|
2051
2671
|
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2052
2672
|
variant: "outline",
|
|
2053
2673
|
size: "sm",
|
|
@@ -2055,16 +2675,12 @@ window.__ModuleLoader__.load({
|
|
|
2055
2675
|
children: t("retry")
|
|
2056
2676
|
})]
|
|
2057
2677
|
}) : null,
|
|
2058
|
-
state.notice === null || noticeLine === null ? null : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
|
|
2059
|
-
text: noticeLine,
|
|
2060
|
-
icon: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {}),
|
|
2061
|
-
holdMs: toastHoldMs(noticeLine),
|
|
2062
|
-
onDone: props.dismissNotice
|
|
2063
|
-
}, state.notice.seq),
|
|
2064
2678
|
loaded && openPkg !== void 0 && openRow !== void 0 ? (0, react_jsx_runtime.jsx)(RowDetail, {
|
|
2065
2679
|
pkg: openPkg,
|
|
2066
2680
|
row: openRow,
|
|
2681
|
+
form: formFor(openRow.rowId),
|
|
2067
2682
|
t,
|
|
2683
|
+
resolveText,
|
|
2068
2684
|
renderSlot,
|
|
2069
2685
|
onBack: () => {
|
|
2070
2686
|
setView({
|
|
@@ -2076,6 +2692,7 @@ window.__ModuleLoader__.load({
|
|
|
2076
2692
|
loaded && openPkg !== void 0 && openRow === void 0 ? (0, react_jsx_runtime.jsx)(PackageDetail, {
|
|
2077
2693
|
pkg: openPkg,
|
|
2078
2694
|
t,
|
|
2695
|
+
resolveText,
|
|
2079
2696
|
busy: state.busy.includes(openPkg.name),
|
|
2080
2697
|
rowBusy: (row) => row.entryId !== void 0 && state.busy.includes(rowKey(row.entryId)),
|
|
2081
2698
|
configured: ledger.bundles.has(openPkg.name),
|
|
@@ -2093,6 +2710,7 @@ window.__ModuleLoader__.load({
|
|
|
2093
2710
|
onSetRowEnabled: setRowEnabled
|
|
2094
2711
|
}) : null,
|
|
2095
2712
|
loaded && openItem !== void 0 ? (0, react_jsx_runtime.jsx)(ItemDetail, {
|
|
2713
|
+
form: formFor(openItem.id),
|
|
2096
2714
|
item: openItem,
|
|
2097
2715
|
t,
|
|
2098
2716
|
renderSlot,
|
|
@@ -2100,10 +2718,39 @@ window.__ModuleLoader__.load({
|
|
|
2100
2718
|
setView({ kind: "list" });
|
|
2101
2719
|
}
|
|
2102
2720
|
}) : null,
|
|
2103
|
-
loaded && showsCards ? officialCards.length === 0 && mine.length === 0 ? (0, react_jsx_runtime.jsx)("p", {
|
|
2721
|
+
loaded && showsCards ? officialCards.length === 0 && mine.length === 0 && state.status !== "error" ? (0, react_jsx_runtime.jsx)("p", {
|
|
2104
2722
|
className: PluginManagerPage_module_css_default.empty,
|
|
2105
2723
|
children: t("empty")
|
|
2106
|
-
}) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
2724
|
+
}) : (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
2725
|
+
renderGroup("official", t("officialTitle"), officialCards),
|
|
2726
|
+
renderGroup("bundles", t("bundlesTitle"), mine.map(packageCard)),
|
|
2727
|
+
state.status === "error" ? (0, react_jsx_runtime.jsxs)("div", {
|
|
2728
|
+
className: PluginManagerPage_module_css_default.failure,
|
|
2729
|
+
children: [(0, react_jsx_runtime.jsxs)("p", {
|
|
2730
|
+
className: PluginManagerPage_module_css_default.statusWithDot,
|
|
2731
|
+
role: "alert",
|
|
2732
|
+
children: [(0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, { state: "error" }), t("error")]
|
|
2733
|
+
}), (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
2734
|
+
variant: "outline",
|
|
2735
|
+
size: "sm",
|
|
2736
|
+
onClick: props.refresh,
|
|
2737
|
+
children: t("retry")
|
|
2738
|
+
})]
|
|
2739
|
+
}) : null
|
|
2740
|
+
] }) : null,
|
|
2741
|
+
showsCards && activated !== void 0 && !state.install.open ? renderSlot("plugins.bundle.activation", {
|
|
2742
|
+
packageName: activated.name,
|
|
2743
|
+
onDismiss: () => {
|
|
2744
|
+
setActivation(null);
|
|
2745
|
+
},
|
|
2746
|
+
onOpenDetails: () => {
|
|
2747
|
+
setActivation(null);
|
|
2748
|
+
setView({
|
|
2749
|
+
kind: "package",
|
|
2750
|
+
name: activated.name
|
|
2751
|
+
});
|
|
2752
|
+
}
|
|
2753
|
+
}, { entryKey: activated.name }) : null,
|
|
2107
2754
|
(0, react_jsx_runtime.jsx)(InstallDialog, {
|
|
2108
2755
|
install: state.install,
|
|
2109
2756
|
t,
|
|
@@ -2111,13 +2758,19 @@ window.__ModuleLoader__.load({
|
|
|
2111
2758
|
onEditSpec: props.editInstallSpec,
|
|
2112
2759
|
onRun: props.runInstall,
|
|
2113
2760
|
onCancel: props.cancelInstall,
|
|
2114
|
-
|
|
2761
|
+
onReconcile: props.reconcileInstall,
|
|
2115
2762
|
onToggleDetails: props.toggleInstallDetails,
|
|
2116
|
-
onEnableNow:
|
|
2117
|
-
|
|
2763
|
+
onEnableNow: () => {
|
|
2764
|
+
setActivation(state.install.installed);
|
|
2765
|
+
props.enableInstalled();
|
|
2766
|
+
},
|
|
2767
|
+
onApproveBuilds: props.approveBuildsAndRetry,
|
|
2768
|
+
onToggleRegistry: props.toggleRegistryOptions,
|
|
2769
|
+
onChooseRegistry: props.chooseRegistry,
|
|
2770
|
+
onChangeRegistry: props.changeRegistry
|
|
2118
2771
|
}),
|
|
2119
2772
|
state.confirm === null ? null : (0, react_jsx_runtime.jsx)(ConfirmDialog, {
|
|
2120
|
-
confirm: state.confirm,
|
|
2773
|
+
name: packageText(state.packages.find((pkg) => pkg.name === state.confirm?.packageName) ?? { name: state.confirm.packageName }, resolveText).title,
|
|
2121
2774
|
t,
|
|
2122
2775
|
onConfirm: props.confirm,
|
|
2123
2776
|
onCancel: props.cancelConfirm
|
|
@@ -2133,18 +2786,18 @@ window.__ModuleLoader__.load({
|
|
|
2133
2786
|
* @returns the icon element.
|
|
2134
2787
|
*/
|
|
2135
2788
|
function PluginsPanelIcon({ size }) {
|
|
2136
|
-
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
2789
|
+
return (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconPluginPinwheelOutlineRegular, { size });
|
|
2137
2790
|
}
|
|
2138
2791
|
//#endregion
|
|
2139
2792
|
//#region lib/types/client/locales.js
|
|
2140
|
-
/** Plugin management copy
|
|
2793
|
+
/** Plugin management interface copy. */
|
|
2141
2794
|
/** Simplified Chinese dictionary and key source of truth. */
|
|
2142
2795
|
const zh = {
|
|
2143
2796
|
panel: "插件",
|
|
2144
2797
|
title: "插件",
|
|
2145
2798
|
intro: "添加和管理插件",
|
|
2146
2799
|
loading: "正在读取插件…",
|
|
2147
|
-
error: "
|
|
2800
|
+
error: "可能由于网络问题,无法读取全部插件",
|
|
2148
2801
|
unavailable: "本部署没有可管理的 profile,无法安装或启停插件。",
|
|
2149
2802
|
retry: "重试",
|
|
2150
2803
|
refresh: "刷新",
|
|
@@ -2154,17 +2807,11 @@ window.__ModuleLoader__.load({
|
|
|
2154
2807
|
overriddenNotice: "{name} 已保存,但被更高优先级的配置覆盖,当前未生效",
|
|
2155
2808
|
bundlesTitle: "已安装",
|
|
2156
2809
|
officialTitle: "官方",
|
|
2157
|
-
builtinAgentTeamTitle: "智能体团队",
|
|
2158
|
-
builtinAgentTeamDescription: "启用智能体团队协作与团队工具。",
|
|
2159
|
-
builtinAgentTeamWebTitle: "智能体团队 Web 界面",
|
|
2160
|
-
builtinAgentTeamWebDescription: "在浏览器中查看团队成员、任务看板和成员会话。",
|
|
2161
|
-
builtinAutoReviewTitle: "自动授权审查",
|
|
2162
|
-
builtinAutoReviewDescription: "提供自动审查权限模式,由模型在每次工具调用前判断是否授权。",
|
|
2163
2810
|
statusProblem: "异常",
|
|
2164
2811
|
statusBeta: "Beta",
|
|
2165
2812
|
reasonLabel: "原因",
|
|
2813
|
+
metadataError: "包元信息错误:{error}",
|
|
2166
2814
|
versionTag: "v{version}",
|
|
2167
|
-
noDescription: "暂无描述。",
|
|
2168
2815
|
partsLabel: "包含的组件",
|
|
2169
2816
|
partsEmpty: "这个插件包不包含任何组件。",
|
|
2170
2817
|
partsCountTotal: "共 {count} 个",
|
|
@@ -2193,13 +2840,11 @@ window.__ModuleLoader__.load({
|
|
|
2193
2840
|
installDescription: "输入插件的包名、GitHub 仓库地址或本地目录路径。",
|
|
2194
2841
|
installSpecLabel: "包名或地址",
|
|
2195
2842
|
installSpecPlaceholder: "例如 @deepseek-ai/dsh-experimental-auto-review",
|
|
2196
|
-
installGuideToggle: "
|
|
2843
|
+
installGuideToggle: "插件安装引导和示例",
|
|
2197
2844
|
installGuideHide: "收起引导",
|
|
2198
|
-
installGuideIntro: "从插件的 README 或发布页面复制以下任意一项。",
|
|
2199
|
-
installGuideIdNote: "包名即 npm 包名,常见形式为 dsh-xxx 或 @作者/插件名;插件的显示名称不是包名。",
|
|
2200
2845
|
installGuideIdTitle: "包名",
|
|
2201
2846
|
installGuideIdExample: "@deepseek-ai/dsh-experimental-auto-review",
|
|
2202
|
-
installGuideIdHint: "README 安装命令中 dsh plugin add 或 pnpm add 之后的部分。",
|
|
2847
|
+
installGuideIdHint: "插件包名即 npm 包名(如 dsh-xxx 或 @作者/插件名),社区插件的 README 安装命令中 dsh plugin add 或 pnpm add 之后的部分。",
|
|
2203
2848
|
installGuideGitTitle: "GitHub 仓库地址",
|
|
2204
2849
|
installGuideGitExample: "https://github.com/author/dsh-plugin",
|
|
2205
2850
|
installGuideGitHint: "插件在 GitHub 上的开源仓库地址,也支持其他 Git 仓库。",
|
|
@@ -2210,6 +2855,16 @@ window.__ModuleLoader__.load({
|
|
|
2210
2855
|
installGuideFill: "填入示例",
|
|
2211
2856
|
installGuideFillAria: "填入示例 {example}",
|
|
2212
2857
|
installGuideSafety: "请确认插件来源可信。插件在本机以你的权限运行,来源不明的插件可能损坏 DeepSeek Harness,或读取和泄露你的数据。",
|
|
2858
|
+
registryToggle: "安装源",
|
|
2859
|
+
registryLegend: "从哪个 npm 源下载插件",
|
|
2860
|
+
registryDefault: "默认安装源",
|
|
2861
|
+
registryNpmmirror: "中国大陆镜像源",
|
|
2862
|
+
registryWithHost: "{name}({host})",
|
|
2863
|
+
registryCustom: "自定义地址",
|
|
2864
|
+
registryCustomPlaceholder: "https://npm.example.com/",
|
|
2865
|
+
registryCustomHint: "公司内网或私有 npm 源;需要登录的源,把凭据放在本机的 ~/.npmrc 里",
|
|
2866
|
+
registryCustomInvalid: "请输入以 http:// 或 https:// 开头的地址",
|
|
2867
|
+
registryListSeparator: "、",
|
|
2213
2868
|
installRun: "安装",
|
|
2214
2869
|
installChecking: "正在检查…",
|
|
2215
2870
|
installProblemInvalid: "无法识别这个包名或地址:{reason}",
|
|
@@ -2218,14 +2873,29 @@ window.__ModuleLoader__.load({
|
|
|
2218
2873
|
installProblemNotPackage: "该路径不存在或不是有效的插件包",
|
|
2219
2874
|
installProblemNotBundle: "这个包没有声明组合包,无法作为插件安装:{reason}",
|
|
2220
2875
|
installProblemNetwork: "无法连接插件源,请检查网络后重试",
|
|
2876
|
+
installProblemNetworkAll: "所有安装源都无法连接(已尝试:{registries}),请检查网络或代理设置,或更换安装源",
|
|
2221
2877
|
installProblemUnknown: "无法获取插件信息:{reason}",
|
|
2222
2878
|
installingTitle: "插件安装中…",
|
|
2223
2879
|
installedTitle: "已安装",
|
|
2224
2880
|
installFailedTitle: "插件安装失败",
|
|
2225
2881
|
installEdit: "编辑",
|
|
2226
2882
|
installEditAria: "返回编辑",
|
|
2883
|
+
installCancelAndEdit: "取消安装并返回编辑",
|
|
2884
|
+
installApplyingCancellationError: "取消请求未得到确认;安装已进入收尾阶段,请等待结果。{reason}",
|
|
2885
|
+
installReconcile: "核对安装状态",
|
|
2886
|
+
installUnknownTitle: "未能获取安装结果",
|
|
2887
|
+
installUnknownDescription: "后端当前没有此安装任务。请检查插件列表后再尝试安装。",
|
|
2888
|
+
installResultUnconfirmed: "未收到安装结果,请核对安装状态。{reason}",
|
|
2889
|
+
installAwaitingAcceptance: "正在等待后端接收安装任务,收到确认后会自动重试取消。",
|
|
2890
|
+
installBackgroundUnknown: "未能获取安装结果,请检查插件列表。",
|
|
2227
2891
|
installCancel: "取消安装",
|
|
2228
2892
|
installCloseCancels: "取消安装并关闭",
|
|
2893
|
+
installViewTask: "查看安装任务",
|
|
2894
|
+
installUnconfirmedTitle: "安装状态尚未确认",
|
|
2895
|
+
installBackgroundDone: "插件安装已完成,可查看安装结果。",
|
|
2896
|
+
installBackgroundFailed: "插件安装失败,可查看安装详情。",
|
|
2897
|
+
installBackgroundUnconfirmed: "安装状态暂未确认,请查看安装任务了解详情。",
|
|
2898
|
+
installBackgroundApplying: "安装已进入收尾阶段,无法取消,可查看安装进度。",
|
|
2229
2899
|
installStarting: "正在准备安装…",
|
|
2230
2900
|
installCancelling: "正在停止安装…",
|
|
2231
2901
|
installApplying: "正在应用配置,请稍候…",
|
|
@@ -2241,7 +2911,12 @@ window.__ModuleLoader__.load({
|
|
|
2241
2911
|
installSubjectTarball: "压缩包",
|
|
2242
2912
|
installLocation: "安装位置:{dir}",
|
|
2243
2913
|
installRetry: "重试",
|
|
2914
|
+
installChangeRegistry: "更换安装源",
|
|
2915
|
+
installAttempt: "{previous} 不可用,正在改用 {registry} 重试(第 {index} 个源,共 {total} 个)",
|
|
2916
|
+
installAttemptBadge: "第 {index} 次 · {registry}",
|
|
2244
2917
|
installFailureNetwork: "网络连接失败",
|
|
2918
|
+
installFailureNetworkAll: "所有安装源都无法连接(已尝试:{registries})。请检查网络或代理设置,或更换安装源后重试。",
|
|
2919
|
+
installFailureNetworkHost: "无法连接 {host}。GitHub 地址和 .tgz 直链不经过安装源,需要本机能直接访问它或配置代理;如果这个插件也发布到了 npm,请改填包名。",
|
|
2245
2920
|
installFailureNotFound: "未找到相关插件",
|
|
2246
2921
|
installFailureNoMatchingVersion: "没有匹配的版本",
|
|
2247
2922
|
installFailureDiskFull: "磁盘空间不足,安装已停止",
|
|
@@ -2302,7 +2977,7 @@ window.__ModuleLoader__.load({
|
|
|
2302
2977
|
title: "Plugins",
|
|
2303
2978
|
intro: "Add and manage plugins",
|
|
2304
2979
|
loading: "Reading plugins…",
|
|
2305
|
-
error: "
|
|
2980
|
+
error: "Could not read all plugins, possibly due to a network problem",
|
|
2306
2981
|
unavailable: "This deployment runs without a manageable profile, so plugins cannot be installed or switched here.",
|
|
2307
2982
|
retry: "Retry",
|
|
2308
2983
|
refresh: "Refresh",
|
|
@@ -2312,17 +2987,11 @@ window.__ModuleLoader__.load({
|
|
|
2312
2987
|
overriddenNotice: "{name} was saved, but a higher-priority configuration overrides it, so it is not in effect",
|
|
2313
2988
|
bundlesTitle: "Installed",
|
|
2314
2989
|
officialTitle: "Official",
|
|
2315
|
-
builtinAgentTeamTitle: "Agent Teams",
|
|
2316
|
-
builtinAgentTeamDescription: "Enable agent team collaboration and team tools.",
|
|
2317
|
-
builtinAgentTeamWebTitle: "Agent Teams Web UI",
|
|
2318
|
-
builtinAgentTeamWebDescription: "View team members, the task board, and teammate sessions in the browser.",
|
|
2319
|
-
builtinAutoReviewTitle: "Auto Authorization Review",
|
|
2320
|
-
builtinAutoReviewDescription: "Add an Auto review permission mode that uses the model to assess authorization before each tool call.",
|
|
2321
2990
|
statusProblem: "Problem",
|
|
2322
2991
|
statusBeta: "Beta",
|
|
2323
2992
|
reasonLabel: "Reason",
|
|
2993
|
+
metadataError: "Package metadata error: {error}",
|
|
2324
2994
|
versionTag: "v{version}",
|
|
2325
|
-
noDescription: "No description.",
|
|
2326
2995
|
partsLabel: "Components",
|
|
2327
2996
|
partsEmpty: "This plugin pack contains no components.",
|
|
2328
2997
|
partsCountTotal: "{count} total",
|
|
@@ -2351,13 +3020,11 @@ window.__ModuleLoader__.load({
|
|
|
2351
3020
|
installDescription: "Enter the plugin's package name, GitHub repository address, or local directory path.",
|
|
2352
3021
|
installSpecLabel: "Package name or address",
|
|
2353
3022
|
installSpecPlaceholder: "for example @deepseek-ai/dsh-experimental-auto-review",
|
|
2354
|
-
installGuideToggle: "
|
|
3023
|
+
installGuideToggle: "Install guide and examples",
|
|
2355
3024
|
installGuideHide: "Hide the guide",
|
|
2356
|
-
installGuideIntro: "Copy any one of these from the plugin's README or release page.",
|
|
2357
|
-
installGuideIdNote: "The package name is the npm package name, usually dsh-xxx or @author/plugin; the display name is not one.",
|
|
2358
3025
|
installGuideIdTitle: "Package name",
|
|
2359
3026
|
installGuideIdExample: "@deepseek-ai/dsh-experimental-auto-review",
|
|
2360
|
-
installGuideIdHint: "The part after dsh plugin add or pnpm add in
|
|
3027
|
+
installGuideIdHint: "The plugin package name is the npm package name (like dsh-xxx or @author/plugin): the part after dsh plugin add or pnpm add in a community plugin's README install command.",
|
|
2361
3028
|
installGuideGitTitle: "GitHub repository address",
|
|
2362
3029
|
installGuideGitExample: "https://github.com/author/dsh-plugin",
|
|
2363
3030
|
installGuideGitHint: "The address of the plugin's open-source repository on GitHub; other Git hosts work too.",
|
|
@@ -2368,6 +3035,16 @@ window.__ModuleLoader__.load({
|
|
|
2368
3035
|
installGuideFill: "Use example",
|
|
2369
3036
|
installGuideFillAria: "Use the example {example}",
|
|
2370
3037
|
installGuideSafety: "Install only plugins you trust: they run with your permissions and can damage DeepSeek Harness or leak your data.",
|
|
3038
|
+
registryToggle: "Registry",
|
|
3039
|
+
registryLegend: "The npm registry the plugin is downloaded from",
|
|
3040
|
+
registryDefault: "Default registry",
|
|
3041
|
+
registryNpmmirror: "Mainland China mirror",
|
|
3042
|
+
registryWithHost: "{name} ({host})",
|
|
3043
|
+
registryCustom: "Custom address",
|
|
3044
|
+
registryCustomPlaceholder: "https://npm.example.com/",
|
|
3045
|
+
registryCustomHint: "A company or private npm registry; for one that needs a login, keep the credentials in ~/.npmrc on this machine",
|
|
3046
|
+
registryCustomInvalid: "Enter an address starting with http:// or https://",
|
|
3047
|
+
registryListSeparator: ", ",
|
|
2371
3048
|
installRun: "Install",
|
|
2372
3049
|
installChecking: "Checking…",
|
|
2373
3050
|
installProblemInvalid: "This is not a package name or address that can be installed: {reason}",
|
|
@@ -2376,14 +3053,29 @@ window.__ModuleLoader__.load({
|
|
|
2376
3053
|
installProblemNotPackage: "The path does not exist or is not a valid plugin package",
|
|
2377
3054
|
installProblemNotBundle: "This package declares no bundle, so it cannot be installed as a plugin: {reason}",
|
|
2378
3055
|
installProblemNetwork: "The plugin registry could not be reached; check the network and try again",
|
|
3056
|
+
installProblemNetworkAll: "No registry could be reached (tried: {registries}); check the network or proxy settings, or change the registry",
|
|
2379
3057
|
installProblemUnknown: "The plugin could not be looked up: {reason}",
|
|
2380
3058
|
installingTitle: "Installing the plugin…",
|
|
2381
3059
|
installedTitle: "Installed",
|
|
2382
3060
|
installFailedTitle: "The plugin could not be installed",
|
|
2383
3061
|
installEdit: "Edit",
|
|
2384
3062
|
installEditAria: "Back to editing",
|
|
3063
|
+
installCancelAndEdit: "Cancel installation and return to editing",
|
|
3064
|
+
installApplyingCancellationError: "Cancellation was not confirmed. Installation is being applied; wait for its result. {reason}",
|
|
3065
|
+
installReconcile: "Check installation status",
|
|
3066
|
+
installUnknownTitle: "Installation result unavailable",
|
|
3067
|
+
installUnknownDescription: "The Host has no active installation with this request id. Check the plugin list before trying again.",
|
|
3068
|
+
installResultUnconfirmed: "The installation result was not received. Check installation status. {reason}",
|
|
3069
|
+
installAwaitingAcceptance: "Waiting for the Host to accept installation. Cancellation will retry automatically after confirmation.",
|
|
3070
|
+
installBackgroundUnknown: "Installation result unavailable. Check the plugin list.",
|
|
2385
3071
|
installCancel: "Cancel install",
|
|
2386
3072
|
installCloseCancels: "Cancel install and close",
|
|
3073
|
+
installViewTask: "View installation",
|
|
3074
|
+
installUnconfirmedTitle: "Installation status unconfirmed",
|
|
3075
|
+
installBackgroundDone: "Installation finished. View installation details.",
|
|
3076
|
+
installBackgroundFailed: "Installation failed. View installation details.",
|
|
3077
|
+
installBackgroundUnconfirmed: "Installation status is unconfirmed. View the installation for details.",
|
|
3078
|
+
installBackgroundApplying: "Installation is being applied and cannot be cancelled. View installation progress.",
|
|
2387
3079
|
installStarting: "Preparing installation…",
|
|
2388
3080
|
installCancelling: "Stopping installation…",
|
|
2389
3081
|
installApplying: "Applying configuration, please wait…",
|
|
@@ -2399,7 +3091,12 @@ window.__ModuleLoader__.load({
|
|
|
2399
3091
|
installSubjectTarball: "Tarball",
|
|
2400
3092
|
installLocation: "Installs into {dir}",
|
|
2401
3093
|
installRetry: "Retry",
|
|
3094
|
+
installChangeRegistry: "Change registry",
|
|
3095
|
+
installAttempt: "{previous} could not serve the package; retrying through {registry} (registry {index} of {total})",
|
|
3096
|
+
installAttemptBadge: "Attempt {index} · {registry}",
|
|
2402
3097
|
installFailureNetwork: "The network connection failed",
|
|
3098
|
+
installFailureNetworkAll: "No registry could be reached (tried: {registries}). Check the network or proxy settings, or change the registry and retry.",
|
|
3099
|
+
installFailureNetworkHost: "{host} could not be reached. A GitHub address or a .tgz link is not fetched through the registry: this machine must reach it directly or through a proxy. If the plugin is also published to npm, enter its package name instead.",
|
|
2403
3100
|
installFailureNotFound: "No such plugin was found",
|
|
2404
3101
|
installFailureNoMatchingVersion: "No version matches the request",
|
|
2405
3102
|
installFailureDiskFull: "The disk is full; the install stopped",
|
|
@@ -2474,7 +3171,8 @@ window.__ModuleLoader__.load({
|
|
|
2474
3171
|
"locale",
|
|
2475
3172
|
"remote",
|
|
2476
3173
|
"remote.pluginManager",
|
|
2477
|
-
"remote.pluginInventory"
|
|
3174
|
+
"remote.pluginInventory",
|
|
3175
|
+
"configForms"
|
|
2478
3176
|
];
|
|
2479
3177
|
/**
|
|
2480
3178
|
* Contribute the Plugins entry to the sidebar with the management page it
|
|
@@ -2514,12 +3212,16 @@ window.__ModuleLoader__.load({
|
|
|
2514
3212
|
name: "main",
|
|
2515
3213
|
key: PANEL_ID,
|
|
2516
3214
|
locale: NS,
|
|
2517
|
-
inject: () => controller.inject(configLedger),
|
|
3215
|
+
inject: () => controller.inject(configLedger, (text) => ctx.locale.resolveText(text)),
|
|
2518
3216
|
children: {
|
|
2519
3217
|
"plugins.item": {
|
|
2520
3218
|
kind: "list",
|
|
2521
3219
|
scope: "root"
|
|
2522
3220
|
},
|
|
3221
|
+
"plugins.bundle.activation": {
|
|
3222
|
+
kind: "keyed",
|
|
3223
|
+
scope: "root"
|
|
3224
|
+
},
|
|
2523
3225
|
"plugins.bundle.config": {
|
|
2524
3226
|
kind: "keyed",
|
|
2525
3227
|
scope: "root"
|
|
@@ -2527,6 +3229,18 @@ window.__ModuleLoader__.load({
|
|
|
2527
3229
|
"plugins.row.config": {
|
|
2528
3230
|
kind: "keyed",
|
|
2529
3231
|
scope: "root"
|
|
3232
|
+
},
|
|
3233
|
+
"plugins.detail.actions": {
|
|
3234
|
+
kind: "list",
|
|
3235
|
+
scope: "root"
|
|
3236
|
+
},
|
|
3237
|
+
"plugins.detail.badge": {
|
|
3238
|
+
kind: "list",
|
|
3239
|
+
scope: "root"
|
|
3240
|
+
},
|
|
3241
|
+
"plugins.detail.section": {
|
|
3242
|
+
kind: "list",
|
|
3243
|
+
scope: "root"
|
|
2530
3244
|
}
|
|
2531
3245
|
}
|
|
2532
3246
|
}, PluginManagerPage));
|