cuttlefish 0.7.0

Native tooling for agents: a local wasm runtime that runs delegated jobs against local models
Documentation
[package]
name = "cuttlefish"
# The published description. The original said "Hypervisor for wasm, defined by
# wit-bindgen" — WIT and the component model are deliberately deferred (the guest
# ABI is hand-rolled core wasm for now), so that description promised an
# interface this crate does not expose.
description = "Native tooling for agents: a local wasm runtime that runs delegated jobs against local models"
categories = ["wasm"]
keywords = ["agents", "wasm", "llm", "local-first", "sandbox"]
readme = "../../README.md"
documentation = "https://docs.rs/cuttlefish"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
rust-version.workspace = true

[lib]
name = "cuttlefish"
path = "src/lib.rs"

[[bin]]
name = "cuttlefish"
path = "src/main.rs"

[dependencies]
cuttlefish-abi = { workspace = true }
cuttlefish-core = { workspace = true }
cuttlefish-host = { workspace = true }
clap = { workspace = true }
tokio = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
# Hashes the project path into a short socket name (sun_path is ~104 bytes)
# and fingerprints a spec's contents so an in-place edit restarts the daemon.
sha2 = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
wasmtime = { workspace = true }
# Only this crate needs it -- `validate-json` is host-only, native. Keeping
# it out of cuttlefish-abi/cuttlefish-sdk matters: those compile to
# wasm32-unknown-unknown as part of every guest proc-block, and this crate
# pulls in ~100 transitive dependencies (full ICU Unicode tables,
# fancy-regex, num-bigint) that would bloat every block's build for a
# capability guest scripts don't even call.
jsonschema = { version = "0.49", default-features = false }

[dev-dependencies]
tempfile = "3"
uuid = { workspace = true }

[package.metadata.docs.rs]
# Match the `--cfg docsrs` used by .github/workflows/docs.yml, so docs.rs and
# our own published docs render feature annotations identically.
all-features = true
rustdoc-args = ["--cfg", "docsrs"]