Commit Graph
30 Commits
Author SHA1 Message Date
Yichen Jiang 1adc552f86 refactor(cua-mcp): select the profile through a plain manifest
The launcher, the plugin manager, the CLI plugin command, and the bundle
manifest type return to master: `dsh.bundle.profile`, `shippedProfileTemplate`,
and `bundleProfileName` are withdrawn, and `cua-mcp` is no longer a required
startup entry. A profile manifest that lists `@deepseek-ai/dsh-cua-mcp` as its
only bundle is the whole setup; `loadProfile` already loads an existing
manifest without a template, and the installation ships the bundle, so no pnpm
or registry access is involved. The README documents that manifest for
installed users and for the Python runtime wheel, and states that layering the
bundle over `dsh-base` is unsupported because both compositions declare the
same row ids.

The optional-bundles spec and the Web preview-boot e2e name the standalone
bundle through a `STANDALONE_PROFILE_BUNDLES` constant instead of reading a
manifest field; the cua-mcp expected-output e2e writes the documented manifest
before starting the server. The Agent Note records the bundle-declared profile
as a considered alternative, deferred until CUA leaves experimental and a
`PROFILE_TEMPLATES` entry can provide the zero-step start.
2026-11-10 16:31:20 +08:00
Yichen Jiang 985471bdcf fix(cua-mcp): document client entries instead of generating them
`--print-client-config codex|claude-code|json` is withdrawn together with the
client-config module and the static `node:sea` import that told a single-file
executable from a script launch. The browser worker image packs every optional
bundle and registers no `node:sea`, so the Cloudflare preview packer failed to
load the bundle; the README now documents the Codex `config.toml` fragment, the
`claude mcp add-json dsh_cua` command, and the generic `mcpServers` entry with
the same timeouts, tool exposure, and output budget. The frontend accepts only
`--help` besides the profile selection, and the server owns its `dsh_cua` name.

The README names the macOS helper's prepared build directory relative to the
provider package instead of as a repository path, because the gitignored
`.build` directory does not exist on a clean tree and `verify-package-paths`
rejects the reference. The expected-output e2e asserts the profile manifest
after `initialize` instead of after a configuration print.
2026-11-10 13:32:36 +08:00
Yichen Jiang 3147ec1596 feat(cua-mcp): compose the profile standalone and initialize it from the bundle declaration
The cua-mcp bundle composes its profile from one insert over the empty root
instead of layering on dsh-base, so no model adapter, prompt-side tool,
telemetry, or session-management row loads; every row is a bundle dependency.
The bundle declares the profile through dsh.bundle.profile, and app-boot's
shippedProfileTemplate initializes a missing profile from that single shipped
bundle for `dsh --profile`, the CLI `dsh plugin` command, and the plugin
manager's pnpm path. The `dsh plugin enable|disable` subcommand is withdrawn.
2026-11-10 12:00:17 +08:00
Yichen Jiang 7ed4b56940 feat(cua): serve Computer Use to MCP clients from the cua-mcp profile
Add @deepseek-ai/dsh-cua-mcp, an experimental optional bundle whose
profile frontend serves cua_run_code and cua_reset over MCP stdio to
Codex, Claude Code, and other harnesses. One connection owns one Agent;
programs run through ctx.tools.execute without a model step, the first
result carries the cua API reference, and screenshots are delivered as
the request version the program observed. DSH_CUA_CONSENT selects
unattended approval or client elicitation; --print-client-config renders
the client entry for the exact installation.

Supporting changes: dsh-cua gains a configured screenshotTarget and the
ctx.cuaPrograms reset/screenshot-target service, the PTC program-tool
factory exposes createRunCodeToolHandle with reset control, and dsh
plugin gains manifest-only enable/disable verbs for installed bundles.
2026-11-09 22:52:07 +08:00
creatixchu d3304de65b Align CUA guidance and migration examples with the scoped API 2026-11-05 18:08:26 +08:00
creatixchu d9d9c7348b Merge master into feat/cua-shared-native-api 2026-11-05 17:04:43 +08:00
creatixchu 44fc4192e0 refactor(cua): keep native permission guidance in macOS provider 2026-10-30 14:11:06 +08:00
creatixchu cbbf9d86a1 fix(cua): preserve settings recovery and validate current application metadata 2026-10-30 12:26:20 +08:00
creatixchu a3d098d310 refactor(cua): refresh page permissions on user activity instead of polling 2026-10-30 10:50:41 +08:00
creatixchu 0588356f62 feat(cua): present a native permission guide beside System Settings 2026-10-29 20:48:53 +08:00
creatixchu a027dcaeb2 fix(cua): wire application drag types and refresh generated references 2026-10-29 18:22:08 +08:00
creatixchu 1f150869b3 docs(cua): regenerate optional-path API references 2026-10-25 21:25:27 +08:00
creatixchu a818d8fed1 Add provider-specific window discovery, launch and authorized window facade 2026-10-25 20:45:30 +08:00
creatixchu 7b31502c1d Merge master after CUA permission onboarding landed 2026-10-25 19:58:30 +08:00
creatixchu d3f054c45b feat(cua): share macOS consent by bundle identifier 2026-10-25 16:46:31 +08:00
creatixchu 8860e05045 docs(cua): keep documentation changes focused on consent 2026-10-25 16:23:53 +08:00
creatixchu 4bae9ba462 fix(cua): address shared interface and permission review findings 2026-10-20 21:10:39 +08:00
creatixchu 98f126e032 merge(cua): integrate combined Host and Client package from basic onboarding 2026-10-19 19:53:37 +08:00
creatixchu b40d335e3d refactor(cua): colocate permission UI and narrow package exports 2026-10-19 19:46:13 +08:00
creatixchu b788fd3add fix(cua): isolate application leases from permission storage reads 2026-10-19 18:58:55 +08:00
creatixchu 9199e1a795 feat(cua): persist profile and conversation consent in domain storage 2026-10-19 18:47:55 +08:00
creatixchu 751c5cc671 merge: include explicit PTC configuration from the CUA base 2026-10-19 15:25:46 +08:00
creatixchu b524c7cc19 fix(cua): use the profile editor for persistent runtime changes 2026-10-19 15:24:37 +08:00
creatixchu 1954e948cb feat(cua): add optional macOS setup with existing plugin interfaces 2026-10-19 11:10:31 +08:00
creatixchu 72047d6ecd docs(cua): document permissions, support limits and APIs 2026-10-17 16:35:13 +08:00
creatixchu f65cb889b8 refactor(cua): separate shared execution from macOS provider 2026-10-11 19:18:02 +08:00
creatixchu c36a40656b refactor(cua): move native provider into experimental 2026-10-09 15:46:42 +08:00
creatixchu 15332e42e6 refactor(cua): keep manual provider and application consent in base layer 2026-09-28 16:53:29 +08:00
creatixchu 504b6df830 feat(cua): add an experimental opt-in with on-demand native preparation 2026-09-25 18:26:24 +08:00
Tianyi Cui af4ad05845 feat: add computer use with Cua Driver providers 2026-09-12 16:41:12 +08:00