dsh-plugin 2.0.4 → 2.0.6

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.
Files changed (35) hide show
  1. package/README.en.md +2 -0
  2. package/README.md +2 -0
  3. package/client/client.js +382 -332
  4. package/client/client.js.map +1 -1
  5. package/lib/http/catalog.js +22 -3
  6. package/lib/http/diagnostics.js +36 -9
  7. package/lib/services/install/preflight.js +36 -0
  8. package/lib/services/install/task-queue.js +24 -19
  9. package/lib/services/probe.js +10 -5
  10. package/lib/services/profile/profile.js +14 -0
  11. package/lib/types/services/install/install-types.d.ts +3 -1
  12. package/lib/types/services/install/preflight.d.ts +11 -0
  13. package/lib/types/services/probe.d.ts +2 -1
  14. package/lib/types/services/profile/profile.d.ts +3 -0
  15. package/package.json +1 -1
  16. package/src/client/components/PluginHubSection.tsx +6 -1
  17. package/src/client/components/catalog/CatalogList.tsx +5 -1
  18. package/src/client/components/layout/SectionTabs.tsx +2 -1
  19. package/src/client/components/modals/modals.tsx +8 -2
  20. package/src/client/components/views/MarketView.tsx +1 -0
  21. package/src/client/data/catalog.ts +9 -7
  22. package/src/client/hooks/useCatalog.ts +10 -4
  23. package/src/client/hooks/useTaskQueue.ts +10 -5
  24. package/src/client/locales.ts +12 -4
  25. package/src/client/logic/failures.ts +12 -3
  26. package/src/client/logic/installed.ts +10 -6
  27. package/src/client/styles/Modal.module.css +9 -0
  28. package/src/client/styles/SectionTabs.module.css +18 -0
  29. package/src/server/http/catalog.ts +24 -3
  30. package/src/server/http/diagnostics.ts +36 -10
  31. package/src/server/services/install/install-types.ts +3 -1
  32. package/src/server/services/install/preflight.ts +37 -0
  33. package/src/server/services/install/task-queue.ts +23 -18
  34. package/src/server/services/probe.ts +10 -5
  35. package/src/server/services/profile/profile.ts +15 -0
package/README.en.md CHANGED
@@ -185,6 +185,8 @@ dsh plugin --profile web add dsh-plugin
185
185
 
186
186
  > Restart `dsh web` after updating for the changes to take effect.
187
187
 
188
+ > **Marketplace missing after an update/reinstall?** If you unchecked `dsh-plugin` under Settings → Plugins, the profile's `dsh.profile.bundles` no longer lists it — the dependency stays in `node_modules` but is not composed, so the marketplace will not appear after a restart. Re-check `dsh-plugin` under Settings → Plugins, or add `"dsh-plugin"` back to `dsh.profile.bundles` in `~/.dsh/profiles/<profile>/package.json`, then restart the host.
189
+
188
190
  ## Getting Started: browse & install in DeepSeek Harness
189
191
 
190
192
  Restart `dsh web` after installing, then open **Settings → Plugin Hub** to browse and install plugins. The catalog is same-source and in sync with [dsh-plugin.org](https://dsh-plugin.org).
package/README.md CHANGED
@@ -185,6 +185,8 @@ dsh plugin --profile web add dsh-plugin
185
185
 
186
186
  > 更新后重启 `dsh web` 即可生效。
187
187
 
188
+ > **更新/重装后市场不见了?** 如果你在「设置 → 插件」里取消勾选过 `dsh-plugin`,profile 的 `dsh.profile.bundles` 里就没有它了——依赖还在 `node_modules`,但不会被组合,重启后市场不会出现。到「设置 → 插件」重新勾选 `dsh-plugin`;也可以把 `"dsh-plugin"` 加回 `~/.dsh/profiles/<profile>/package.json` 的 `dsh.profile.bundles`,再重启宿主。
189
+
188
190
  ## 快速开始:在 DeepSeek Harness 中使用
189
191
 
190
192
  安装完成后重启 `dsh web`,打开 **设置 → 插件市场**,即可浏览并安装插件。插件市场与 [dsh-plugin.org](https://dsh-plugin.org) 官网数据同源、实时同步。