Files
qwen-code/packages/cua-driver/rust/crates/cua-driver-core/Cargo.toml
T
顾盼 a791e47a54 feat(cua): streamline computer use and port native reliability fixes (#14846)
* feat(cua): preload the JavaScript computer use runtime

* refactor(cua): remove the native Wayland backend

* feat(cua): move app computer use into the driver

* feat(cua): preserve background delivery and port platform fixes

* feat(cua): add explicit desktop input and browser runtime facade

* feat(cua): package the unified 0.26.0 computer use runtime

* fix(cua): finalize cross-platform native reliability

* fix(cua): isolate runtime releases from CLI versioning

* fix(cua): keep Electron out of root workspace installs

* fix(cua): synchronize consumers and async cleanup tests

* fix(browser): migrate smoke to preloaded cua runtime

* docs(cua): document MCP setup for Qwen Code Claude Code and Codex
2026-10-21 14:03:31 +08:00

62 lines
2.3 KiB
TOML

[package]
name = "cua-driver-core"
version.workspace = true
edition.workspace = true
publish = false
[features]
default = ["yaml", "rego"]
yaml = ["dep:serde_yaml_ng", "dep:regex"]
rego = ["dep:regorus"]
[dependencies]
cua-driver-contract = { path = "../cua-driver-contract" }
tokio = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
async-trait = "0.1"
serde_yaml_ng = { version = "0.10", optional = true }
regex = { version = "1", optional = true }
regorus = { version = "0.10.1", optional = true }
# Used by the shared `image_utils` module — pure PNG/JPEG/resize/crosshair
# helpers extracted from `platform-{macos,windows,linux}/src/capture.rs` so
# all three platforms call the same code path.
image = { workspace = true }
# Compatibility constraint for image's zune-jpeg decoder. This dependency is
# intentionally direct so SDK consumers without this workspace lockfile cannot
# resolve the incompatible zune-core 0.5.2 release.
zune-core = { workspace = true }
# Used by the `browser` module's pooled CDP browser-endpoint WebSocket.
# Same versions platform-macos already depends on, to avoid duplicate
# crate versions in the workspace graph. No TLS features: the endpoint
# contract is loopback ws:// only.
tokio-tungstenite = "0.24"
futures-util = "0.3"
uuid = { workspace = true }
base64 = { workspace = true }
sha2 = "0.10"
url = "2.5"
time = "0.3"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
# Used by `cursor_sampler::sample_cursor` to poll the OS mouse position
# during video recording. Same version as platform-windows uses to avoid
# a duplicate crate version.
[dev-dependencies]
tempfile = "3"
# Test-only. Asserts the advertised `outputSchema` the way a strict MCP client
# does — by validating real payloads against it. The runtime itself validates
# success output by deserialising into the Rust type, so this stays out of the
# shipped dependency graph.
# Version matches the one regorus already pulls into this crate's graph, so
# the test dependency reuses that build instead of adding a second copy.
jsonschema = { version = "0.46", default-features = false }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = ["Win32_Foundation", "Win32_UI_WindowsAndMessaging"] }