# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "koda-cli"
version = "0.2.11"
authors = ["Lijun Zhu"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance AI coding agent for macOS and Linux"
homepage = "https://github.com/lijunzh/koda"
readme = "README.md"
keywords = [
    "ai",
    "coding-agent",
    "llm",
    "cli",
    "unix",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/lijunzh/koda"

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

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

[[test]]
name = "cli_test"
path = "tests/cli_test.rs"

[[test]]
name = "regression_test"
path = "tests/regression_test.rs"

[[test]]
name = "server_test"
path = "tests/server_test.rs"

[[test]]
name = "skill_agent_e2e_test"
path = "tests/skill_agent_e2e_test.rs"

[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"

[[bench]]
name = "render_bench"
path = "benches/render_bench.rs"
harness = false

[dependencies.agent-client-protocol-schema]
version = "0.11"
features = [
    "unstable_session_model",
    "unstable_session_list",
    "unstable",
]

[dependencies.ansi-to-tui]
version = "8"

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]

[dependencies.futures-util]
version = "0.3.32"

[dependencies.koda-core]
version = "0.2.11"

[dependencies.once_cell]
version = "1"

[dependencies.ratatui]
version = "0.30"
features = [
    "crossterm",
    "scrolling-regions",
]
default-features = false

[dependencies.ratatui-textarea]
version = "0.9"

[dependencies.rpassword]
version = "7.4.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.syntect]
version = "5"
features = [
    "default-syntaxes",
    "default-themes",
    "parsing",
    "html",
    "regex-fancy",
]
default-features = false

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.29"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.koda-core]
version = "0.2.11"
features = ["test-support"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3"
