[package]
edition = "2024"
rust-version = "1.87"
name = "malvin"
version = "0.2.1"
build = false
exclude = [
".cursor/",
".cursorrules",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Non-interactive CLI agent, via Cursor ACP"
readme = "README.md"
keywords = ["malvin"]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/dsweet99/malvin"
[lib]
name = "malvin"
path = "src/lib.rs"
[[bin]]
name = "malvin"
path = "src/main.rs"
[[test]]
name = "agent_bundle_kiss_contract"
path = "tests/agent_bundle_kiss_contract.rs"
[[test]]
name = "checks_discovery"
path = "tests/checks_discovery.rs"
[[test]]
name = "cli_bare_invoke_contract"
path = "tests/cli_bare_invoke_contract.rs"
[[test]]
name = "cli_doc"
path = "tests/cli_doc.rs"
[[test]]
name = "cli_parity"
path = "tests/cli_parity.rs"
[[test]]
name = "cli_parity_code"
path = "tests/cli_parity_code.rs"
[[test]]
name = "cli_parity_code_dry_run"
path = "tests/cli_parity_code_dry_run.rs"
[[test]]
name = "cli_parity_code_fanout"
path = "tests/cli_parity_code_fanout.rs"
[[test]]
name = "cli_parity_code_gates"
path = "tests/cli_parity_code_gates.rs"
[[test]]
name = "cli_parity_linux_pty_a"
path = "tests/cli_parity_linux_pty_a.rs"
[[test]]
name = "cli_parity_linux_pty_b"
path = "tests/cli_parity_linux_pty_b.rs"
[[test]]
name = "cli_parity_tidy_gates"
path = "tests/cli_parity_tidy_gates.rs"
[[test]]
name = "code_deprecated"
path = "tests/code_deprecated.rs"
[[test]]
name = "code_kpop_contract"
path = "tests/code_kpop_contract.rs"
[[test]]
name = "code_kpop_path"
path = "tests/code_kpop_path.rs"
[[test]]
name = "code_stdout_malvin_config"
path = "tests/code_stdout_malvin_config.rs"
[[test]]
name = "command_output_pipe_drain"
path = "tests/command_output_pipe_drain.rs"
[[test]]
name = "defer_enrich_live"
path = "tests/defer_enrich_live.rs"
[[test]]
name = "delight_kpop_contract"
path = "tests/delight_kpop_contract.rs"
[[test]]
name = "do_stdout"
path = "tests/do_stdout.rs"
[[test]]
name = "do_stdout_clamp"
path = "tests/do_stdout_clamp.rs"
[[test]]
name = "do_stdout_gitignore"
path = "tests/do_stdout_gitignore.rs"
[[test]]
name = "do_stdout_malvin_config"
path = "tests/do_stdout_malvin_config.rs"
[[test]]
name = "do_stdout_wrap_model"
path = "tests/do_stdout_wrap_model.rs"
[[test]]
name = "explain_kpop_contract"
path = "tests/explain_kpop_contract.rs"
[[test]]
name = "hostile_agent_sandbox_contract"
path = "tests/hostile_agent_sandbox_contract.rs"
[[test]]
name = "kiss_inc_fragment_contract"
path = "tests/kiss_inc_fragment_contract.rs"
[[test]]
name = "kiss_src_test_helpers_contract"
path = "tests/kiss_src_test_helpers_contract.rs"
[[test]]
name = "kpop_multiturn"
path = "tests/kpop_multiturn.rs"
[[test]]
name = "kpop_multiturn_more"
path = "tests/kpop_multiturn_more.rs"
[[test]]
name = "log_gc_skip_contract"
path = "tests/log_gc_skip_contract.rs"
[[test]]
name = "malvin_acp_spawn_lock_descendant_contract"
path = "tests/malvin_acp_spawn_lock_descendant_contract.rs"
[[test]]
name = "malvin_acp_spawn_sweep_contract"
path = "tests/malvin_acp_spawn_sweep_contract.rs"
[[test]]
name = "malvin_name_contract"
path = "tests/malvin_name_contract.rs"
[[test]]
name = "malvin_sandbox_contract"
path = "tests/malvin_sandbox_contract.rs"
[[test]]
name = "malvin_spawn_rules_contract"
path = "tests/malvin_spawn_rules_contract.rs"
[[test]]
name = "mini_audit_parity"
path = "tests/mini_audit_parity.rs"
[[test]]
name = "mini_live"
path = "tests/mini_live.rs"
[[test]]
name = "observability_contract"
path = "tests/observability_contract.rs"
[[test]]
name = "observability_parity"
path = "tests/observability_parity.rs"
[[test]]
name = "openrouter_types_contract"
path = "tests/openrouter_types_contract.rs"
[[test]]
name = "process_group_memory_contract"
path = "tests/process_group_memory_contract.rs"
[[test]]
name = "rename_meta_adaptix_log_compat"
path = "tests/rename_meta_adaptix_log_compat.rs"
[[test]]
name = "review_write_fanout_contract"
path = "tests/review_write_fanout_contract.rs"
[[test]]
name = "sandbox_oom_retry_contract"
path = "tests/sandbox_oom_retry_contract.rs"
[[test]]
name = "sandbox_oom_test"
path = "tests/sandbox_oom_test.rs"
[[test]]
name = "tidy_gate_path"
path = "tests/tidy_gate_path.rs"
[[test]]
name = "tidy_kpop_contract"
path = "tests/tidy_kpop_contract.rs"
[[test]]
name = "workflow_context_unit"
path = "tests/workflow_context_unit.rs"
[[test]]
name = "workflow_name_aliases"
path = "tests/workflow_name_aliases.rs"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
]
default-features = false
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.encoding_rs]
version = "0.8"
[dependencies.futures]
version = "0.3"
features = [
"std",
"async-await",
]
default-features = false
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.termimad]
version = "0.34"
[dependencies.terminal_size]
version = "0.4"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"macros",
"process",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"std",
"registry",
]
default-features = false
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.portable-pty]
version = "0.8"
[dev-dependencies.wiremock]
version = "0.6"
[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.llama-cpp-2]
version = "=0.1.151"
features = [
"metal",
"common",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.errno]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "0.14"
[lints.clippy]
nursery = "warn"
pedantic = "warn"
[lints.rust]
unsafe_code = "deny"
[profile.dev]
lto = false
codegen-units = 8
debug = 0
incremental = true