Files
deepseek-harness/apps/web/tests/expected/plugin-manager/manager.expected.md
T
Yichen Jiang ac2bed35e2 feat(web): guide plugin installation with a pre-install check and classified failures
The install dialog asks the Host to read a spec before installing it:
`plugins/inspect` sorts the spec (registry name, absolute path, git address,
tarball), asks the registry through `pnpm view` in the profile directory, or
reads a directory's package.json, and refuses what would fail with
`plugins/inspect-rejected` and a problem the dialog words under the field.
A failed pnpm run carries a `kind` classified from how it ended and what pnpm
printed, shown as one line with the output folded behind the details.
Enabling happens after the fact from the installed screen, which scrolls the
list to the first new bundle. Refusals of the moment and the confirmed
cancellation are toasts; the run is stopped through the manager's
`cancelInstall` and the dialog offers the spec again once the Host confirms.
The non-pack dependency group folds by default under its own name.

The host config gains `inspectTimeoutMs`; the CLI passes it explicitly.
2026-09-15 12:43:44 +08:00

706 B

  • heading "插件管理" [level=1]
  • paragraph: 管理已安装的插件。
  • button "刷新"
  • button "添加插件"
  • heading "插件包" [level=3]
  • text: 1 个
  • list:
    • listitem:
      • button "查看 示例组合包": 示例组合包
      • text: "Web e2e fixture: a bundle whose one row is an inert plugin."
      • switch "启用 示例组合包"
  • button "非插件包依赖" [expanded]:
    • img
    • text: 非插件包依赖
  • text: 1 个
  • paragraph: 这些包不是 dsh 插件包,不会被加载;可以在这里卸载。
  • list:
    • listitem:
      • button "查看 示例插件": 示例插件
      • text: "Web e2e fixture: a plain plugin module with no bundle, added to a composition per row."