space-spacee-clamation/dsh-package-manager
@dsh-ext/dsh-package-manager 是 DSH 的插件包管理器。它只保留一条安装管线: 把 dsh-bundle 插件安装为 profile 依赖,然后把它声明的 dsh.bundle.patch 写入 profile 自己的 cordis.patch.yml。热挂载、热卸载、禁用/启用都不再碰 Loader API,而是完全交给宿主启动时已经挂好的 watchUserPatches。
catalog description:dsh包管理器中间件,对原有的add的模式进行的封装,支持预设和插件 (内容还在迭代!!!!)
Install
`apps/cli/src/profile-boot.ts` 里的 `watchUserPatches` 监听 profile/home 两级
`cordis.patch.yml`,每次文件变化都会重新解析该层,并调用 root Include 的
`entry.update({ config: { ...config, patches } })`。Loader 随后按行 id 做增量
diff——这就是官方热重载路径,新增行即挂载,删行即卸载,`disabled: true` 即禁用。
因此本包**不导入 `cordis-plugin-loader`、不创建 Include 子树、不重算 profile
组合**。安装 dsh-bundle 时只做两件事:
1. `pnpm add <source>`(或 `dsh plugin` 的等价 pnpm 路径),让包可以从
profile 的 `node_modules` 解析;
2. 把该包的 `dsh.bundle.patch` 归一化后写进 profile `cordis.patch.yml` 的一个
**带标记的托管块**:
Add space-spacee-clamation/dsh-package-manager to your DSH config (web profile) to enable.
README
Expand full README Collapse
README is empty.
tt-a1i/archify
anywhere-labs/deepseek-harness-desktop
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
GanyuanRan/Aegis
dsh-market/dsh-market
toby-bridges/api-relay-audit