| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, | |
| # software distributed under the License is distributed on an | |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| # KIND, either express or implied. See the License for the | |
| # specific language governing permissions and limitations | |
| # under the License. | |
| [package] | |
| name = "maka-computer-use" | |
| version.workspace = true | |
| edition.workspace = true | |
| license.workspace = true | |
| publish.workspace = true | |
| [features] | |
| default = [] | |
| native-desktop = [ | |
| "dep:hex", | |
| "dep:cua-driver-contract", | |
| "dep:cua-driver-sdk", | |
| "dep:cua-driver-core", | |
| "dep:uuid", | |
| "dep:libc", | |
| "dep:base64", | |
| "dep:cursor-overlay", | |
| "dep:sha2", | |
| "dep:tempfile", | |
| "dep:platform-windows", | |
| "dep:windows-sys", | |
| "dep:platform-linux", | |
| "dep:platform-macos", | |
| "dep:core-foundation", | |
| "dep:objc2", | |
| "dep:objc2-foundation", | |
| "dep:objc2-app-kit", | |
| ] | |
| [dependencies] | |
| maka-code-runtime.workspace = true | |
| hex = { workspace = true, optional = true } | |
| maka-agent-facts.workspace = true | |
| maka-capabilities.workspace = true | |
| cua-driver-contract = { workspace = true, optional = true } | |
| cua-driver-sdk = { workspace = true, optional = true } | |
| cua-driver-core = { git = "https://github.com/maka-agent/cua", rev = "79c9b58a1b61f66ae966635c464e54cb2c8151d6", optional = true } | |
| serde.workspace = true | |
| schemars.workspace = true | |
| uuid = { workspace = true, optional = true } | |
| libc = { workspace = true, optional = true } | |
| reqwest.workspace = true | |
| base64 = { version = "0.22.1", optional = true } | |
| cursor-overlay = { git = "https://github.com/maka-agent/cua", rev = "79c9b58a1b61f66ae966635c464e54cb2c8151d6", features = ["theme-authoring"], optional = true } | |
| sha2 = { workspace = true, optional = true } | |
| tempfile = { workspace = true, optional = true } | |
| serde_json.workspace = true | |
| tokio = { workspace = true, features = ["io-std", "process"] } | |
| tokio-util.workspace = true | |
| [dev-dependencies] | |
| maka-js-runtime.workspace = true | |
| tiny-skia = { version = "0.11", features = ["png-format"] } | |
| [target.'cfg(windows)'.dependencies] | |
| platform-windows = { git = "https://github.com/maka-agent/cua", rev = "79c9b58a1b61f66ae966635c464e54cb2c8151d6", optional = true } | |
| windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_System_Threading"], optional = true } | |
| [target.'cfg(target_os = "linux")'.dependencies] | |
| platform-linux = { git = "https://github.com/maka-agent/cua", rev = "79c9b58a1b61f66ae966635c464e54cb2c8151d6", optional = true } | |
| [target.'cfg(target_os = "macos")'.dependencies] | |
| platform-macos = { git = "https://github.com/maka-agent/cua", rev = "79c9b58a1b61f66ae966635c464e54cb2c8151d6", optional = true } | |
| core-foundation = { version = "0.10.1", optional = true } | |
| objc2 = { version = "0.6.4", optional = true } | |
| objc2-foundation = { version = "0.3.2", default-features = false, features = ["std", "NSArray", "NSData", "NSString"], optional = true } | |
| objc2-app-kit = { version = "0.3.2", default-features = false, features = ["std", "NSPasteboard", "NSPasteboardItem"], optional = true } | |
| [[example]] | |
| name = "cursor-preview" | |
| required-features = ["native-desktop"] | |
| [[example]] | |
| name = "desktop-host" | |
| required-features = ["native-desktop"] | |
| [[test]] | |
| name = "repl_browser" | |
| required-features = ["native-desktop"] |