Overview
dsh-open-workspace-any-app
README / EN
Package documentation
Registry summary
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- **应用必须能通过绝对路径或 `PATH` 找到**。装在非标准位置、或包名与声明不符的应用,请直接把真实路径写进 `paths`。 - **图标提取依赖 macOS 的 `plutil`/`sips`**;其他平台请用 `iconPath` 提供图片。 - **界面新增的应用立刻生效**,不需要重启。但**改 `cordis.patch.yml` 里手写的条目需要重启**:主机端模块按 URL 缓存,DSH 的 HMR 默认忽略 `**/node_modules`(插件正是从 profile 的 `node_modules` 软链进来的),所以配置层能热重载、插件代码本身不能。 - **界面添加只支持 macOS 应用包(`.app` 目录)**:扫描列表枚举的是 bundle。`kind: cli`、`{path}` 参数这类高级写法仍然要写进 `cordis.patch.yml`。 - **同时只能有一个控件**占用 `conversation.session.header.utilities` 里 `id: 'open-any-app'` 这个格子;重复注册同 id 会被槽位拒绝。 - Windows 的 `app-paths` 定位器需要 `reg.exe`;非 Windows 平台上该定位器直接判为不存在。
