[package]
edition = "2024"
name = "second-brain-cli"
version = "0.13.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory layer for AI coding agents: ingest, recall, and sync across machines"
readme = "README.md"
keywords = [
"memory",
"mcp",
"embeddings",
"knowledge-graph",
"ai-agents",
]
categories = [
"command-line-utilities",
"database",
]
license = "MIT"
repository = "https://github.com/Anyesh/second-brain"
resolver = "2"
[[bin]]
name = "sb"
path = "src/main.rs"
[[test]]
name = "dispatch_output"
path = "tests/dispatch_output.rs"
[[test]]
name = "doctor"
path = "tests/doctor.rs"
[[test]]
name = "hook"
path = "tests/hook.rs"
[[test]]
name = "hook_context"
path = "tests/hook_context.rs"
[[test]]
name = "install_script"
path = "tests/install_script.rs"
[[test]]
name = "no_key_files"
path = "tests/no_key_files.rs"
[[test]]
name = "pair_over_ssh"
path = "tests/pair_over_ssh.rs"
[[test]]
name = "readme_sync"
path = "tests/readme_sync.rs"
[[test]]
name = "restore"
path = "tests/restore.rs"
[[test]]
name = "sibling_notes"
path = "tests/sibling_notes.rs"
[[test]]
name = "starting_daemon"
path = "tests/starting_daemon.rs"
[[test]]
name = "sync_refused"
path = "tests/sync_refused.rs"
[[test]]
name = "sync_serve"
path = "tests/sync_serve.rs"
[[test]]
name = "sync_snapshot"
path = "tests/sync_snapshot.rs"
[[test]]
name = "sync_stream"
path = "tests/sync_stream.rs"
[[test]]
name = "sync_success"
path = "tests/sync_success.rs"
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.openssl-sys]
version = "0.9"
features = ["vendored"]
[dependencies.qrcode]
version = "0.14"
default-features = false
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"blocking",
]
[dependencies.second-brain-core]
version = "0.13.1"
features = ["encryption"]
[dependencies.second-brain-sync]
version = "0.13.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.axum]
version = "0.8"