From 2fac8a2ec498e5e3ff485599b35779f1e6c50248 Mon Sep 17 00:00:00 2001 From: creatixchu Date: Fri, 9 Oct 2026 15:49:16 +0800 Subject: [PATCH] fix(cua): follow updated PTC launch configuration --- packages/experimental/cua/tests/persistent-bridge.built.e2e.ts | 2 +- .../skills/cordis-composition-reference/references/packages.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/experimental/cua/tests/persistent-bridge.built.e2e.ts b/packages/experimental/cua/tests/persistent-bridge.built.e2e.ts index e291b9cb86..66227b76e5 100644 --- a/packages/experimental/cua/tests/persistent-bridge.built.e2e.ts +++ b/packages/experimental/cua/tests/persistent-bridge.built.e2e.ts @@ -45,7 +45,7 @@ it.skipIf(process.platform === 'win32' || !existsSync(bridge) || !existsSync(boo await ctx.plugin(ComputerUseRegistry) await ctx.plugin(Sandbox) await ctx.plugin(SandboxPolicy) - await ctx.plugin(NodeRuntime, { executionMode: 'persistent-in-memory', bootstrapPath: bootstrap }) + await ctx.plugin(NodeRuntime, { executionMode: 'persistent-in-memory', launch: { kind: 'node-script', executable: process.execPath, bootstrapPath: bootstrap } }) await ctx.plugin(Loader) ctx.loader.builtins.cua = Cua const entry = await ctx.loader.create({ name: 'cordis:cua', config: { helperPath, allowedApps: [{ 'id': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'name': 'Fixture', 'executablePath': '/fixture/app' }] } }) diff --git a/packages/preset/agent-preset/skills/cordis-composition-reference/references/packages.md b/packages/preset/agent-preset/skills/cordis-composition-reference/references/packages.md index 5f96cbf6f3..1a39ce4eb3 100644 --- a/packages/preset/agent-preset/skills/cordis-composition-reference/references/packages.md +++ b/packages/preset/agent-preset/skills/cordis-composition-reference/references/packages.md @@ -130,7 +130,6 @@ Every package below exports a Cordis plugin that a bundle patch can name in a Lo | Package | Config | Description | |---|---|---| | `@deepseek-ai/dsh-computer-use` | no | Exclusive named computer-use provider registration | -| `@deepseek-ai/dsh-cua` | yes | macOS computer use through application and window objects | ## context @@ -179,6 +178,7 @@ Every package below exports a Cordis plugin that a bundle patch can name in a Lo | Package | Config | Description | |---|---|---| +| `@deepseek-ai/dsh-cua` | yes | macOS computer use through application and window objects | | `@deepseek-ai/dsh-experimental-agent-team` | yes | Implicit-root Agent Teams roster, direct peer messaging, and shared task DAG | | `@deepseek-ai/dsh-experimental-api-speech-to-text` | yes | Authenticated experimental speech transcription for browser clients | | `@deepseek-ai/dsh-experimental-auto-review` | no | Per-tool LLM authorization review for the DeepSeek Harness Auto permission preset |