Quote the entry ID as printed by the CLI

This commit is contained in:
creatixchu committed 2026-11-11 14:44:19 +08:00
1 parent ce1b5182bc
commit a7df022dae
6 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -6,8 +6,8 @@
en: 45a0f430190937de
zh: 7b48603bebfcd1c6
/computer-use/choose-a-provider:
en: 417bc451f020c0c3
zh: 82f5a41e07460aa1
en: 4a72c1987678a47b
zh: b039d15b4e782cc4
/computer-use/lifetime-and-desktop-sharing:
en: 08ff155ad3d75953
zh: 48821856b6dff051
+1 -1
View File
@@ -30,7 +30,7 @@ Mount [`dsh-computer-use`](../../packages/computer-use/computer-use/README.md) a
| [Cua Driver MCP](../../packages/experimental/computer-use-cua-driver-mcp/README.md) | An already installed `cua-driver` executable connected through MCP |
| [Cua Driver native](../../packages/experimental/computer-use-cua-driver-native/README.md) | The platform-native runtime installed with the npm dependency |
The two Cua Driver providers expose their upstream tool catalogs. The shared service registers only a name and rejects any second provider, including another instance with the same name. It has no common desktop-operation methods or model-controlled selector.
The two Cua Driver providers are public experimental npm packages. Mount one explicitly to expose its upstream tool catalog. The shared service registers only a name and rejects any second provider, including another instance with the same name. It has no common desktop-operation methods or model-controlled selector.
## Lifetime and desktop sharing
+1 -1
View File
@@ -30,7 +30,7 @@ CUA provider 通过 `ctx.cuaAccess` 提供系统权限状态、用户主动申
| [Cua Driver MCP](../../packages/experimental/computer-use-cua-driver-mcp/README.zh.md) | 通过 MCP 连接已安装的 `cua-driver` 可执行文件 |
| [Cua Driver 原生](../../packages/experimental/computer-use-cua-driver-native/README.zh.md) | 随 npm 依赖安装的平台原生运行时 |
两个 Cua Driver 提供方公开各自的上游工具目录。共享服务只注册名称,并拒绝任何第二个提供方,包括使用相同名称的另一个实例。服务不包含通用桌面操作方法或模型控制的选择器。
两个 Cua Driver 提供方都是公开发布到 npm 的实验性包。显式挂载其中一个即可使用它的上游工具目录。共享服务只注册名称,并拒绝任何第二个提供方,包括使用相同名称的另一个实例。服务不包含通用桌面操作方法或模型控制的选择器。
## 生命周期和桌面共享
@@ -12,5 +12,5 @@
en: 432f8ef79c654833
zh: 1bfaa713017b2cdc
/macos-computer-use-provider-name/migration:
en: d662312371c91932
zh: b7bd923a29c4a9b9
en: 863f01f83fa63c0c
zh: 4eb05fdbe8993470
@@ -20,5 +20,5 @@ The Computer Use bundle picks up the renamed macOS provider automatically. Direc
## Migration
1. New versions are published under the new npm name. Update direct dependencies and imports to `@deepseek-ai/dsh-cua-macos` and refresh your lockfile. In custom Cordis compositions, update the provider's `name` if it references the old package.
2. In home or profile `cordis.patch.yml` and other overlays targeting the bundled provider, change `id: cua` to `id: cua-macos`. Keep the whole existing `config`, including any `agentPreset`, `helperPath` or `sourceSigning` values. If an overlay still targets the old bundle entry, the Loader warns `patch: entry cua not found` and skips that override. Source builds then use the default ad-hoc signature unless another entry supplies `sourceSigning`. macOS may ask for permission again after the helper is rebuilt. Custom compositions can keep their own entry IDs.
2. In home or profile `cordis.patch.yml` and other overlays targeting the bundled provider, change `id: cua` to `id: cua-macos`. Keep the whole existing `config`, including any `agentPreset`, `helperPath` or `sourceSigning` values. If an overlay still targets the old bundle entry, `--dump-config` reports `patch: entry "cua" not found` and the Loader skips that override. Source builds then use the default ad-hoc signature unless another entry supplies `sourceSigning`. macOS may ask for permission again after the helper is rebuilt. Custom compositions can keep their own entry IDs.
3. On macOS with Computer Use enabled, run `dsh --profile web --dump-config` (substitute your profile). Check that the `cua-macos` entry loads the new package and has your expected configuration.
@@ -20,5 +20,5 @@ Computer Use 组合会自动加载改名后的 macOS 提供方。直接依赖或
## 迁移
1. 后续版本使用新包名发布。将直接依赖和导入改为 `@deepseek-ai/dsh-cua-macos`,并更新锁文件。如果自定义 Cordis 配置的 `name` 引用了旧包,也要更新。
2. 如果主目录或配置档的 `cordis.patch.yml` 及其他覆盖配置指向组合提供的 macOS 后端,将 `id: cua` 改为 `id: cua-macos`。保留完整的 `config`,包括已设置的 `agentPreset`、`helperPath` 和 `sourceSigning`。如果仍指向组合的旧配置行,Loader 会提示 `patch: entry cua not found` 并跳过这条覆盖配置。如果其他配置也没有指定 `sourceSigning`,源码构建会使用默认的临时签名,重新构建 helper 后,macOS 可能再次要求授权。自定义组合可以保留自行指定的配置行 ID。
2. 如果主目录或配置档的 `cordis.patch.yml` 及其他覆盖配置指向组合提供的 macOS 后端,将 `id: cua` 改为 `id: cua-macos`。保留完整的 `config`,包括已设置的 `agentPreset`、`helperPath` 和 `sourceSigning`。如果仍指向组合的旧配置行,`--dump-config` 会提示 `patch: entry "cua" not found`,Loader 会跳过这条覆盖配置。如果其他配置也没有指定 `sourceSigning`,源码构建会使用默认的临时签名,重新构建 helper 后,macOS 可能再次要求授权。自定义组合可以保留自行指定的配置行 ID。
3. 在 macOS 上启用 Computer Use 后,运行 `dsh --profile web --dump-config`,将 `web` 换成实际使用的配置档。检查 `cua-macos` 行是否加载了新包,以及各项配置是否符合预期。