Files
deepseek-harness/apps/web/tests/expected/plugin-install-cancel/cancelled.expected.md
T
Yichen Jiang bc0ecae21f feat(plugins): ship optional bundles switched off and guide the install dialog
The dsh installation lists under `dsh.optionalBundles` the bundles it
ships for a person to switch on. The plugin manager reports them as
`optional`, and the Web plugin page shows them first, in a built-in
group with an official tag, off until selected and never removable.
Agent Teams ships this way, so a blank profile offers both of its
layers. Default-product isolation, the workspace constraints, and the
packed-install check accept that one dependency edge and nothing else
experimental.

A bundle's title and one-liner come from `dsh.title` and the new
`dsh.description`, else from the package name and `description`. A
dependency without a bundle patch is no longer listed unless the
profile selects it. The install dialog asks for a package name or
address; a guide under the field shows the three accepted forms with
an example each and ends in a security warning, and the copy no longer
speaks of a plugin ID.
2026-09-15 20:51:12 +08:00

410 B

  • dialog "添加插件":
    • heading "添加插件" [level=2]
    • button "关闭":
      • img
    • paragraph: 输入插件的包名、GitHub 仓库地址或本地目录路径。
    • text: 包名或地址
    • textbox "包名或地址":
      • /placeholder: 例如 dsh-better-sidebar
      • text: slow-package
    • button "不知道该填什么?":
      • img
      • text: 不知道该填什么?
    • button "安装"