[package]
name = "sofos"
version = "0.2.11"
edition = "2021"

authors = ["Alexander Alexandrov"]
description = "An interactive AI coding agent for your terminal"
license = "MIT"
repository = "https://github.com/alexylon/sofos-code"
documentation = "https://docs.rs/sofos"
keywords = ["cli", "ai", "llm", "coding-agent", "developer-tools"]
categories = ["command-line-utilities", "development-tools"]

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

[dependencies]
clap = { version = "4", features = ["derive", "env"] }
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.13", features = ["json", "stream"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1"
thiserror = "2"
colored = "3"
syntect = "5"
pulldown-cmark = "0.13"
similar = "3"
crossterm = "0.29"
ratatui = { version = "0.30", features = ["unstable-rendered-line-info", "scrolling-regions"] }
tui-textarea = { package = "tui-textarea-2", version = "0.11" }
ansi-to-tui = "8"
os_pipe = "1"
libc = "0.2"
globset = "0.4"
rand = "0.10"
base64 = "0.22"
arboard = "3"
png = "0.18"
unicode-width = "0.2"

# Utilities
futures = "0.3"
chrono = "0.4"

# Logging (optional but helpful)
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
tempfile = "3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
