[package]
edition = "2024"
rust-version = "1.91"
name = "memstead-cli"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for Memstead — query and mutate typed entity graphs from the shell. Default build produces the full `memstead` binary (multi-mem, git-backed); `--no-default-features` builds the lean folder-only surface."
homepage = "https://memstead.io"
readme = "README.md"
keywords = [
"agent-memory",
"cli",
"knowledge-graph",
"markdown",
"agents",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/memstead/memstead"
resolver = "2"
[features]
default = ["mem-repo"]
mem-repo = [
"dep:memstead-git-branch",
"dep:gix",
"dep:memstead-engine",
]
[lib]
name = "memstead_cli"
path = "src/lib.rs"
[[bin]]
name = "memstead"
path = "src/main.rs"
[[test]]
name = "boot_typed_errors"
path = "tests/boot_typed_errors.rs"
[[test]]
name = "friction_ledger"
path = "tests/friction_ledger.rs"
[[test]]
name = "install_embedded_schema"
path = "tests/install_embedded_schema.rs"
[[test]]
name = "mem_commands"
path = "tests/mem_commands.rs"
[[test]]
name = "mem_init"
path = "tests/mem_init.rs"
[[test]]
name = "no_internal_leaks"
path = "tests/no_internal_leaks.rs"
[[test]]
name = "open_questions"
path = "tests/open_questions.rs"
[[test]]
name = "projection_commands"
path = "tests/projection_commands.rs"
[[test]]
name = "quickstart_and_schema_new"
path = "tests/quickstart_and_schema_new.rs"
[[test]]
name = "read_commands"
path = "tests/read_commands.rs"
[[test]]
name = "rehearsal_contract"
path = "tests/rehearsal_contract.rs"
[[test]]
name = "repair_below_boot"
path = "tests/repair_below_boot.rs"
[[test]]
name = "surface_consistency"
path = "tests/surface_consistency.rs"
[[test]]
name = "workspace_config_commands"
path = "tests/workspace_config_commands.rs"
[[test]]
name = "workspace_dump"
path = "tests/workspace_dump.rs"
[[test]]
name = "workspace_init_envelope"
path = "tests/workspace_init_envelope.rs"
[[test]]
name = "write_commands"
path = "tests/write_commands.rs"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dirs]
version = "5"
[dependencies.ed25519-dalek]
version = "3"
features = ["rand_core"]
[dependencies.getrandom]
version = "0.4"
features = ["sys_rng"]
[dependencies.gix]
version = "0.85"
features = [
"revision",
"tree-editor",
"blob-diff",
"max-performance-safe",
"sha1",
]
optional = true
default-features = false
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.memstead-base]
version = "0.8.0"
[dependencies.memstead-engine]
version = "0.8.0"
optional = true
[dependencies.memstead-git-branch]
version = "0.8.0"
optional = true
[dependencies.memstead-schema]
version = "0.8.0"
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
"rustls-tls",
]
default-features = false
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
"serde-well-known",
"serde",
]
[dependencies.toml]
version = "1.1"
[dependencies.toml_edit]
version = "0.25"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.memstead-git-branch]
version = "0.8.0"
features = ["test-support"]
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-std",
"macros",
"rt-multi-thread",
]
[dev-dependencies.zip]
version = "8"
features = [
"deflate-flate2-zlib-rs",
"time",
]
default-features = false
[lints.clippy]
result_large_err = "allow"