mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
A profile manifest and a bundle manifest are different kinds and shared one flat `dsh` section: `dsh.plugins` listed bundles (not plugins) and `dsh.patch` declared a bundle's layer. Each kind now names its role — a bundle declares `dsh.bundle.patch`, a profile declares `dsh.profile.bundles` — so a package.json states which role it plays and the list name matches its contents. `DEFAULT_PROFILE_PLUGINS` becomes `DEFAULT_PROFILE_BUNDLES`, and `DshManifestSection` splits into `DshBundleManifest`/`DshProfileManifest`. Pre-release: no compatibility shim; turtle-ui moved with it (bd5ff10).
968 B
968 B
bundle/ — profile 插件组合包
English | 中文
Profile 组合包:在 manifest(元数据清单)中声明 "dsh": { "bundle": { "patch": "./cordis.patch.yml" } } 的 npm 包,因此可作为 patch 层安装进 dsh --profile 组合(profile 契约)。组合包的实体是它的 patch 列表;有些组合包还附带由其 patch 挂载的运行时粘合插件。
| 包 | 职责 | ctx key |
|---|---|---|
base/ |
每个 profile 最先应用的共享 dsh 核心 | —(仅 patch) |
web-app/ |
浏览器表层:web patch 层 + 运行时粘合插件 | 挂载多条配置行 |
headless/ |
叠加在 base + web-app 之上的一次性任务模式 | 挂载 headless-runner |
内置组合包从 dsh 安装目录解析;树外(out-of-tree)组合包通过 dsh plugin --profile <name> add <package> 安装进 profile。