# 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 = "opi-coding-agent"
version = "0.4.0"
authors = ["OdradekAI"]
build = false
exclude = [".opi"]
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 = "agents_md_context"
path = "tests/agents_md_context.rs"

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

[[test]]
name = "bedrock_provider_wiring"
path = "tests/bedrock_provider_wiring.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 = "find_tool"
path = "tests/find_tool.rs"

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

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

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

[[test]]
name = "image_tool_results_json"
path = "tests/image_tool_results_json.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 = "list_models"
path = "tests/list_models.rs"

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

[[test]]
name = "ls_tool"
path = "tests/ls_tool.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 = "picker_integration"
path = "tests/picker_integration.rs"

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

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

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

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

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

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

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

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

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

[[test]]
name = "tool_selection"
path = "tests/tool_selection.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"

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

[dependencies.clap_complete]
version = "4"

[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.4.0"

[dependencies.opi-ai]
version = "0.4.0"

[dependencies.opi-tui]
version = "0.4.0"

[dependencies.ratatui]
version = "0.30"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "stream",
]
default-features = false

[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.base64]
version = "0.22"

[dev-dependencies.futures-util]
version = "0.3"

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