[package]
edition = "2024"
name = "opi-coding-agent"
version = "0.3.0"
authors = ["OdradekAI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interactive coding agent CLI with file editing and shell execution"
readme = "README.md"
license = "MIT"
repository = "https://github.com/OdradekAI/opi"
resolver = "2"
[lib]
name = "opi_coding_agent"
path = "src/lib.rs"
[[bin]]
name = "opi"
path = "src/main.rs"
[[test]]
name = "compaction_runtime"
path = "tests/compaction_runtime.rs"
[[test]]
name = "config_loading"
path = "tests/config_loading.rs"
[[test]]
name = "config_precedence"
path = "tests/config_precedence.rs"
[[test]]
name = "diff_view_integration"
path = "tests/diff_view_integration.rs"
[[test]]
name = "interactive_hooks"
path = "tests/interactive_hooks.rs"
[[test]]
name = "interactive_mock"
path = "tests/interactive_mock.rs"
[[test]]
name = "json_mode"
path = "tests/json_mode.rs"
[[test]]
name = "keybindings_config"
path = "tests/keybindings_config.rs"
[[test]]
name = "mock_e2e"
path = "tests/mock_e2e.rs"
[[test]]
name = "non_interactive"
path = "tests/non_interactive.rs"
[[test]]
name = "non_interactive_policy"
path = "tests/non_interactive_policy.rs"
[[test]]
name = "provider_factory"
path = "tests/provider_factory.rs"
[[test]]
name = "session_cli"
path = "tests/session_cli.rs"
[[test]]
name = "session_runtime"
path = "tests/session_runtime.rs"
[[test]]
name = "system_prompt"
path = "tests/system_prompt.rs"
[[test]]
name = "tool_schema_fixtures_glob_grep"
path = "tests/tool_schema_fixtures_glob_grep.rs"
[[test]]
name = "tools_glob_grep"
path = "tests/tools_glob_grep.rs"
[[test]]
name = "tools_read_write_edit_bash"
path = "tests/tools_read_write_edit_bash.rs"
[[test]]
name = "usage_accumulation"
path = "tests/usage_accumulation.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.crossterm]
version = "0.29"
[dependencies.dotenvy]
version = "0.15"
[dependencies.globset]
version = "0.4"
[dependencies.ignore]
version = "0.4"
[dependencies.opi-agent]
version = "0.3.0"
[dependencies.opi-ai]
version = "0.3.0"
[dependencies.opi-tui]
version = "0.3.0"
[dependencies.ratatui]
version = "0.30"
[dependencies.regex]
version = "1"
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"io-util",
"fs",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.tempfile]
version = "3"