| # 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. | |
| [workspace] | |
| exclude = ["third-party/nsh", "third-party/async-io", "third-party/gix-index", "third-party/gix-discover", "third-party/sqlx-sqlite", "third-party/image-webp", "third-party/termina", "third-party/deno-node-sqlite"] | |
| default-members = ["products/maka/cli", "platform/python-runtime"] | |
| members = [ | |
| "platform/session-state", | |
| "plugins/agent/facts", | |
| "plugins/agent/state", | |
| "platform/packages", | |
| "plugins/agent/ports", | |
| "platform/capabilities", | |
| "products/maka/native", | |
| "plugins/interactions/native", | |
| "plugins/agent/acp-executor/native", | |
| "plugins/skills/native", | |
| "plugins/workspace/workspace-decisions-api/native", | |
| "plugins/workspace/workspace-processes/native", | |
| "plugins/workspace/workspace-files/native", | |
| "plugins/workspace/support", | |
| "products/maka/acp", | |
| "plugins/agent/engine", | |
| "plugins/agent/native", | |
| "plugins/workspace/workspace-files/patch", | |
| "plugins/agent/assistant", | |
| "platform/transport", | |
| "platform/background-health", | |
| "products/maka/cli", | |
| "plugins/settings/store", | |
| "products/maka/desktop-shell", | |
| "products/maka/ios-shell", | |
| "products/maka/host-shell", | |
| "products/maka/client", | |
| "products/maka/terminal-shell", | |
| "products/maka/updater", | |
| "products/maka/workbench", | |
| "products/maka/wsl-bridge", | |
| "platform/computer-use", | |
| "platform/event-log", | |
| "plugins/agent/acp-executor/engine", | |
| "plugins/workspace/workspace-files/engine", | |
| "plugins/agent/goal", | |
| "plugins/agent/insights", | |
| "plugins/workspace/workspace-decisions-api/engine", | |
| "platform/js-runtime", | |
| "platform/code-runtime", | |
| "platform/python-runtime", | |
| "plugins/agent/mcp", | |
| "plugins/agent/model", | |
| "plugins/agent/provider-protocol", | |
| "platform/network", | |
| "platform/plugin-core", | |
| "platform/presentation", | |
| "platform/process", | |
| "plugins/agent/providers", | |
| "platform/host-runtime", | |
| "platform/host-js", | |
| "platform/remote-client", | |
| "platform/sandbox", | |
| "plugins/agent/scheduler/engine", | |
| "plugins/settings/native", | |
| "plugins/agent/session-import", | |
| "plugins/agent/session-recap", | |
| "plugins/agent/session-title", | |
| "plugins/skills/core", | |
| "plugins/agent/tool-catalog", | |
| "plugins/agent/tools", | |
| "platform/ui-support", | |
| "plugins/workspace/workspace-web/native", | |
| "plugins/workspace/workspace-computer/native", | |
| "products/eval", | |
| "tools/mock-ai", | |
| "tools/ui-build", | |
| ] | |
| resolver = "3" | |
| [workspace.package] | |
| version = "0.3.0" | |
| edition = "2024" | |
| license = "Apache-2.0" | |
| publish = false | |
| [workspace.dependencies] | |
| asyncband = "*" | |
| mxc-sdk = { git = "https://github.com/microsoft/mxc", rev = "05a430bc17a3e1b3fa2131524fc52e4319e07298" } | |
| flatbuffers = "25.12.19" | |
| maka-python-runtime = { path = "platform/python-runtime" } | |
| maka-mcp = { path = "plugins/agent/mcp" } | |
| hex = "0.4.3" | |
| maka-app-client = { path = "products/maka/client" } | |
| nsh-terminal = { path = "third-party/nsh/crates/nsh-terminal" } | |
| nsh-updater = { path = "third-party/nsh/crates/nsh-updater" } | |
| nsh-platform-linux = { path = "third-party/nsh/crates/nsh-platform-linux", default-features = false, features = ["js", "svg", "updater", "websocket", "zlib", "crypto", "editor", "emoji-picker", "highlight", "math", "plot", "rich-editor", "term"] } | |
| nsh-core = { path = "third-party/nsh/crates/nsh-core" } | |
| nsh-engine = { path = "third-party/nsh/crates/nsh-engine" } | |
| nsh-js = { path = "third-party/nsh/crates/nsh-js" } | |
| nsh-platform-tui = { path = "third-party/nsh/crates/nsh-platform-tui" } | |
| nsh-platform-windows = { path = "third-party/nsh/crates/nsh-platform-windows", default-features = false, features = ["js", "svg", "updater", "websocket", "zlib", "crypto", "editor", "emoji-picker", "highlight", "math", "plot", "rich-editor", "term"] } | |
| nsh-platform-macos = { path = "third-party/nsh/crates/nsh-platform-macos", default-features = false, features = ["js", "svg", "updater", "websocket", "zlib", "crypto", "editor", "emoji-picker", "highlight", "math", "plot", "rich-editor", "term"] } | |
| nsh-platform-ios = { path = "third-party/nsh/crates/nsh-platform-ios", default-features = false, features = ["js", "svg", "websocket", "editor", "emoji-picker", "highlight"] } | |
| nsh-platform-apple = { path = "third-party/nsh/crates/nsh-platform-apple" } | |
| nsh-testing = { path = "third-party/nsh/crates/nsh-testing" } | |
| nsh-bundler = { path = "third-party/nsh/crates/nsh-bundler", default-features = false } | |
| nsh-base = { path = "third-party/nsh/crates/nsh-base", features = ["math", "emoji-picker", "plot"] } | |
| maka-mock-ai = { path = "tools/mock-ai" } | |
| maka-ui-build = { path = "tools/ui-build" } | |
| maka-agent-facts = { path = "plugins/agent/facts" } | |
| maka-agent-state = { path = "plugins/agent/state" } | |
| maka-packages = { path = "platform/packages" } | |
| maka-agent-ports = { path = "plugins/agent/ports" } | |
| maka-capabilities = { path = "platform/capabilities" } | |
| maka-product-native = { path = "products/maka/native" } | |
| maka-interactions-native = { path = "plugins/interactions/native" } | |
| maka-acp-native = { path = "plugins/agent/acp-executor/native" } | |
| maka-skills-native = { path = "plugins/skills/native" } | |
| maka-decisions-api-native = { path = "plugins/workspace/workspace-decisions-api/native" } | |
| maka-processes-native = { path = "plugins/workspace/workspace-processes/native" } | |
| maka-files-native = { path = "plugins/workspace/workspace-files/native" } | |
| maka-workspace-support = { path = "plugins/workspace/support" } | |
| maka-schema = { path = "tools/schema" } | |
| maka-interactions-api = { path = "plugins/interactions/api" } | |
| maka-skills-api = { path = "plugins/skills/api" } | |
| maka-computer-native = { path = "plugins/workspace/workspace-computer/native" } | |
| maka-workspace-api = { path = "plugins/workspace/api" } | |
| maka-agent-authority = { path = "plugins/agent/authority" } | |
| maka-web-api = { path = "plugins/workspace/workspace-web/api" } | |
| maka-agent-api = { path = "plugins/agent/api" } | |
| maka-transport = { path = "platform/transport" } | |
| cua-driver-sdk = { git = "https://github.com/maka-agent/cua", rev = "f767531b26772afea29985d360d3f00d730baeb0" } | |
| cua-driver-contract = { git = "https://github.com/maka-agent/cua", rev = "f767531b26772afea29985d360d3f00d730baeb0" } | |
| agent-client-protocol = { version = "5.0.0", default-features = false, features = ["unstable_protocol_v2"] } | |
| apply-patch = { path = "plugins/workspace/workspace-files/patch" } | |
| cap-fs-ext = "4.0.3" | |
| cap-std = "4.0.3" | |
| jiff = "0.2.38" | |
| clap = { version = "4.6.7", default-features = false, features = ["derive", "std", "help", "usage", "error-context"] } | |
| crossterm = { version = "0.29.0", features = ["event-stream"] } | |
| deno_core = "=0.413.0" | |
| # Deno Core fixes the shared error ABI to this exact release. | |
| deno_error = "=0.7.1" | |
| fastrand = "2.5.0" | |
| futures-util = { version = "0.3.34", features = ["sink"] } | |
| gix = { version = "=0.90.0", default-features = false, features = ["sha1", "sha256"] } | |
| imagesize = { version = "=0.15.0", default-features = false, features = ["png", "jpeg", "gif", "webp"] } | |
| jsonschema = { version = "0.60.1", default-features = false } | |
| libc = "0.2.191" | |
| maka-acp = { path = "products/maka/acp" } | |
| maka-agent-engine = { path = "plugins/agent/engine" } | |
| maka-agent-native = { path = "plugins/agent/native" } | |
| maka-assistant = { path = "plugins/agent/assistant" } | |
| maka-config = { path = "plugins/settings/store" } | |
| maka-computer-use = { path = "platform/computer-use", default-features = false } | |
| maka-event-log = { path = "platform/event-log" } | |
| maka-external-agent = { path = "plugins/agent/acp-executor/engine" } | |
| maka-fs-tools = { path = "plugins/workspace/workspace-files/engine" } | |
| maka-goal = { path = "plugins/agent/goal" } | |
| maka-decisions-api = { path = "plugins/workspace/workspace-decisions-api/engine" } | |
| maka-js-runtime = { path = "platform/js-runtime" } | |
| maka-session-state = { path = "platform/session-state" } | |
| maka-code-runtime = { path = "platform/code-runtime" } | |
| maka-model = { path = "plugins/agent/model" } | |
| maka-provider-protocol = { path = "plugins/agent/provider-protocol" } | |
| maka-network = { path = "platform/network" } | |
| maka-plugin-core = { path = "platform/plugin-core" } | |
| maka-presentation = { path = "platform/presentation" } | |
| maka-process = { path = "platform/process" } | |
| maka-providers = { path = "plugins/agent/providers" } | |
| maka-host-runtime = { path = "platform/host-runtime" } | |
| maka-host-js = { path = "platform/host-js" } | |
| maka-remote-client = { path = "platform/remote-client" } | |
| maka-sandbox = { path = "platform/sandbox" } | |
| maka-scheduler = { path = "plugins/agent/scheduler/engine" } | |
| maka-settings-native = { path = "plugins/settings/native" } | |
| maka-session-import = { path = "plugins/agent/session-import" } | |
| maka-session-recap = { path = "plugins/agent/session-recap" } | |
| maka-session-title = { path = "plugins/agent/session-title" } | |
| maka-skills = { path = "plugins/skills/core" } | |
| maka-tool-catalog = { path = "plugins/agent/tool-catalog" } | |
| maka-tools = { path = "plugins/agent/tools" } | |
| maka-terminal-shell = { path = "products/maka/terminal-shell" } | |
| maka-updater = { path = "products/maka/updater" } | |
| maka-ui-support = { path = "platform/ui-support" } | |
| maka-web = { path = "plugins/workspace/workspace-web/native" } | |
| maka-workbench = { path = "products/maka/workbench" } | |
| maka-wsl-bridge = { path = "products/maka/wsl-bridge" } | |
| ratatui = { version = "0.30.2", default-features = false, features = ["crossterm"] } | |
| regex = "1" | |
| reqwest = { version = "0.13.5", default-features = false, features = ["rustls", "gzip", "brotli", "deflate", "socks"] } | |
| rusqlite = { version = "0.41.0", features = ["bundled"] } | |
| schemars = "1.2.3" | |
| semver = "1.0.28" | |
| serde = { version = "1.0.229", features = ["derive", "rc"] } | |
| serde_json = { version = "1.0.154", features = ["raw_value", "float_roundtrip"] } | |
| sha2 = "0.11.1" | |
| sqlx = { version = "0.9.0", default-features = false, features = ["runtime-tokio", "sqlite", "migrate", "macros"] } | |
| tempfile = "3.27.0" | |
| thiserror = "2.0.21" | |
| tokio = { version = "1.54.1", features = ["rt-multi-thread", "sync", "time", "macros", "signal", "io-util"] } | |
| tokio-tungstenite = "0.30.0" | |
| tokio-util = { version = "0.7.20", features = ["rt"] } | |
| tracing-subscriber = { version = "0.3.23", default-features = false, features = ["fmt"] } | |
| tracing = "0.1.44" | |
| unicode-segmentation = "1.13.3" | |
| sys-locale = "0.3.2" | |
| termina = { path = "third-party/termina" } | |
| uuid = { version = "1.29.0", features = ["v4", "v7", "serde"] } | |
| [profile.dev] | |
| # Keep useful backtraces without embedding hundreds of MiB of dependency types. | |
| debug = "line-tables-only" | |
| # Keep application code quick to rebuild and straightforward to debug. | |
| opt-level = 0 | |
| # Share dependencies between the UI compiler, build scripts and development binaries. | |
| [profile.dev.build-override] | |
| debug = "line-tables-only" | |
| # Dependency workspaces' profiles are ignored here. Keep the VM and layout | |
| # engines optimized, as NSH does in its own development builds. | |
| [profile.dev.package.quickjs-jit-sys] | |
| opt-level = 3 | |
| [profile.dev.package.taffy] | |
| opt-level = 3 | |
| # Include the concrete UI callers that instantiate generic engine/layout code. | |
| # Level 1 keeps development builds lighter and allows shared monomorphizations. | |
| [profile.dev.package.nsh-core] | |
| opt-level = 1 | |
| [profile.dev.package.nsh-js] | |
| opt-level = 1 | |
| [profile.dev.package.nsh-platform-tui] | |
| opt-level = 1 | |
| # Keep Computer Use's deep browser dispatch within the normal Tokio stack in dev builds. | |
| [profile.dev.package.maka-computer-use] | |
| opt-level = 1 | |
| [profile.dev.package.maka-computer-native] | |
| opt-level = 1 | |
| # Keep terminal image encoding optimized. | |
| [profile.dev.package.nsh-terminal] | |
| opt-level = 3 | |
| [profile.dev.package.quantette] | |
| opt-level = 3 | |
| [profile.dev.package.icy_sixel] | |
| opt-level = 3 | |
| [profile.dist] | |
| inherits = "release" | |
| # Shipped release profile: optimize for compact binaries (npm/installer limits + | |
| # I-cache locality) and whole-program ThinLTO while staying within 7 GB macOS CI | |
| # runner memory. Kept separate from [profile.release] for fast local builds. | |
| # Never set panic = "abort": catch_unwind is required across the workspace. | |
| opt-level = "s" | |
| lto = "thin" | |
| strip = "symbols" | |
| # Keep compute-hot engines, renderers, and codecs at maximum optimization. | |
| [profile.dist.package.quickjs-jit-sys] | |
| opt-level = 3 | |
| [profile.dist.package.taffy] | |
| opt-level = 3 | |
| [profile.dist.package.nsh-terminal] | |
| opt-level = 3 | |
| [profile.dist.package.quantette] | |
| opt-level = 3 | |
| [profile.dist.package.icy_sixel] | |
| opt-level = 3 | |
| [profile.dist.package.regex-automata] | |
| opt-level = 3 | |
| [profile.dist.package.blake3] | |
| opt-level = 3 | |
| [profile.dist.package.sha2] | |
| opt-level = 3 | |
| [profile.dist.package.flate2] | |
| opt-level = 3 | |
| [profile.dist.package.zstd] | |
| opt-level = 3 | |
| [profile.dist.package.zune-jpeg] | |
| opt-level = 3 | |
| [profile.dist.package.png] | |
| opt-level = 3 | |
| [profile.dist.package.image-webp] | |
| opt-level = 3 | |
| [profile.dist.package.tiny-skia] | |
| opt-level = 3 | |
| [profile.dist.package.resvg] | |
| opt-level = 3 | |
| [profile.dist.package.syntect] | |
| opt-level = 3 | |
| [patch.crates-io] | |
| zbus = { git = "https://github.com/maka-agent/cua", rev = "f767531b26772afea29985d360d3f00d730baeb0" } | |
| nom = { git = "https://github.com/maka-agent/cua", rev = "f767531b26772afea29985d360d3f00d730baeb0" } | |
| reqwest = { path = "third-party/reqwest" } | |
| gix-index = { path = "third-party/gix-index" } | |
| gix-discover = { path = "third-party/gix-discover" } | |
| image-webp = { path = "third-party/image-webp" } | |
| sqlx-sqlite = { path = "third-party/sqlx-sqlite" } | |
| async-io = { path = "third-party/async-io" } | |
| # Deno published this crate before its upstream rustls security update. | |
| deno_tls = { path = "third-party/deno-tls" } | |
| # Share the workspace SQLite library with Deno’s Node SQLite extension. | |
| deno_node_sqlite = { path = "third-party/deno-node-sqlite" } | |
| # Shared terminal image codec. | |
| icy_sixel = { path = "third-party/nsh/third-party/icy_sixel" } |