[package]
edition = "2024"
name = "koda-core"
version = "0.2.21"
authors = ["Lijun Zhu"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for the Koda AI coding agent (macOS and Linux only)"
homepage = "https://github.com/lijunzh/koda"
readme = "README.md"
keywords = [
"ai",
"coding-agent",
"llm",
"engine",
"unix",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/lijunzh/koda"
[features]
test-support = []
[lib]
name = "koda_core"
path = "src/lib.rs"
[[test]]
name = "anthropic_http_test"
path = "tests/anthropic_http_test.rs"
[[test]]
name = "bash_safety_test"
path = "tests/bash_safety_test.rs"
[[test]]
name = "builtin_proxy_e2e_test"
path = "tests/builtin_proxy_e2e_test.rs"
[[test]]
name = "cancel_test"
path = "tests/cancel_test.rs"
required-features = ["test-support"]
[[test]]
name = "e2e_agent_test"
path = "tests/e2e_agent_test.rs"
required-features = ["test-support"]
[[test]]
name = "e2e_safety_test"
path = "tests/e2e_safety_test.rs"
required-features = ["test-support"]
[[test]]
name = "e2e_skills_test"
path = "tests/e2e_skills_test.rs"
required-features = ["test-support"]
[[test]]
name = "e2e_test"
path = "tests/e2e_test.rs"
required-features = ["test-support"]
[[test]]
name = "e2e_tools_test"
path = "tests/e2e_tools_test.rs"
required-features = ["test-support"]
[[test]]
name = "file_tools_test"
path = "tests/file_tools_test.rs"
[[test]]
name = "gemini_http_test"
path = "tests/gemini_http_test.rs"
[[test]]
name = "golden_test"
path = "tests/golden_test.rs"
[[test]]
name = "guarantee_matrix_test"
path = "tests/guarantee_matrix_test.rs"
[[test]]
name = "http_client_config_test"
path = "tests/http_client_config_test.rs"
[[test]]
name = "inference_context_test"
path = "tests/inference_context_test.rs"
[[test]]
name = "inference_edge_test"
path = "tests/inference_edge_test.rs"
required-features = ["test-support"]
[[test]]
name = "inference_recovery_test"
path = "tests/inference_recovery_test.rs"
required-features = ["test-support"]
[[test]]
name = "mcp_http_transport_test"
path = "tests/mcp_http_transport_test.rs"
[[test]]
name = "mcp_instructions_bootstrap_test"
path = "tests/mcp_instructions_bootstrap_test.rs"
[[test]]
name = "new_tools_test"
path = "tests/new_tools_test.rs"
[[test]]
name = "openai_compat_http_test"
path = "tests/openai_compat_http_test.rs"
[[test]]
name = "perf_test"
path = "tests/perf_test.rs"
[[test]]
name = "purge_test"
path = "tests/purge_test.rs"
[[test]]
name = "session_test"
path = "tests/session_test.rs"
required-features = ["test-support"]
[[test]]
name = "snapshot_test"
path = "tests/snapshot_test.rs"
[[test]]
name = "token_audit"
path = "tests/token_audit.rs"
[[test]]
name = "tool_normalize_test"
path = "tests/tool_normalize_test.rs"
[[test]]
name = "tool_wiring_test"
path = "tests/tool_wiring_test.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.futures-util]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.ignore]
version = "0.4"
[dependencies.koda-sandbox]
version = "0.2.21"
[dependencies.parking_lot]
version = "0.12"
[dependencies.path-clean]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
[dependencies.rmcp]
version = "1.5"
features = [
"client",
"base64",
"transport-child-process",
"transport-streamable-http-client-reqwest",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.shlex]
version = "1"
[dependencies.similar]
version = "3"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"sqlite",
"macros",
]
default-features = false
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
features = [
"http1",
"tokio",
"tower-log",
]
default-features = false
[dev-dependencies.ignore]
version = "0.4"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.rmcp]
version = "1.5"
features = [
"server",
"macros",
"transport-streamable-http-server",
"transport-streamable-http-server-session",
"server-side-http",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[dev-dependencies.tower]
version = "0.5"