[package]
edition = "2024"
name = "terraphim_agent"
version = "1.10.0"
authors = ["Terraphim Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terraphim AI Agent CLI - Command-line interface with interactive REPL and ASCII graph visualization"
homepage = "https://terraphim.ai"
documentation = "https://terraphim.ai"
readme = "README.md"
keywords = [
"cli",
"ai",
"agent",
"search",
"repl",
]
license = "Apache-2.0"
repository = "https://github.com/terraphim/terraphim-ai"
resolver = "2"
[package.metadata.deb]
maintainer = "Terraphim Contributors <team@terraphim.ai>"
copyright = "2024, Terraphim Contributors"
license-file = [
"../../LICENSE-Apache-2.0",
"4",
]
extended-description = """
Terraphim Agent - AI Agent CLI Interface for Terraphim.
Command-line interface with interactive REPL and ASCII graph visualization.
Supports search, configuration management, and data exploration."""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
[
"target/release/terraphim-agent",
"usr/bin/",
"755",
],
[
"../../README.md",
"usr/share/doc/terraphim-agent/README",
"644",
],
]
[features]
default = ["repl-interactive"]
repl = [
"dep:rustyline",
"dep:colored",
"dep:comfy-table",
"dep:indicatif",
"dep:dirs",
]
repl-chat = ["repl"]
repl-custom = ["repl"]
repl-file = ["repl"]
repl-full = [
"repl",
"repl-chat",
"repl-mcp",
"repl-file",
"repl-custom",
"repl-web",
"repl-interactive",
"repl-sessions",
]
repl-interactive = [
"repl",
"dep:atty",
]
repl-mcp = ["repl"]
repl-sessions = [
"repl",
"dep:terraphim_sessions",
]
repl-web = ["repl"]
update-tests = []
[lib]
name = "terraphim_agent"
path = "src/lib.rs"
[[bin]]
name = "terraphim-agent"
path = "src/main.rs"
[[test]]
name = "command_system_integration_tests"
path = "tests/command_system_integration_tests.rs"
[[test]]
name = "comprehensive_cli_tests"
path = "tests/comprehensive_cli_tests.rs"
[[test]]
name = "cross_mode_consistency_test"
path = "tests/cross_mode_consistency_test.rs"
[[test]]
name = "enhanced_search_tests"
path = "tests/enhanced_search_tests.rs"
[[test]]
name = "error_handling_test"
path = "tests/error_handling_test.rs"
[[test]]
name = "execution_mode_tests"
path = "tests/execution_mode_tests.rs"
[[test]]
name = "extract_feature_tests"
path = "tests/extract_feature_tests.rs"
[[test]]
name = "extract_functionality_validation"
path = "tests/extract_functionality_validation.rs"
[[test]]
name = "file_operations_basic_tests"
path = "tests/file_operations_basic_tests.rs"
[[test]]
name = "file_operations_command_parsing"
path = "tests/file_operations_command_parsing.rs"
[[test]]
name = "hook_system_tests"
path = "tests/hook_system_tests.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "kg_ranking_integration_test"
path = "tests/kg_ranking_integration_test.rs"
[[test]]
name = "offline_mode_tests"
path = "tests/offline_mode_tests.rs"
[[test]]
name = "onboarding_integration"
path = "tests/onboarding_integration.rs"
[[test]]
name = "persistence_tests"
path = "tests/persistence_tests.rs"
[[test]]
name = "repl_integration_tests"
path = "tests/repl_integration_tests.rs"
[[test]]
name = "replace_feature_tests"
path = "tests/replace_feature_tests.rs"
[[test]]
name = "rolegraph_suggestions_tests"
path = "tests/rolegraph_suggestions_tests.rs"
[[test]]
name = "selected_role_tests"
path = "tests/selected_role_tests.rs"
[[test]]
name = "server_mode_tests"
path = "tests/server_mode_tests.rs"
[[test]]
name = "tui_service_tests"
path = "tests/tui_service_tests.rs"
[[test]]
name = "unit_test"
path = "tests/unit_test.rs"
[[test]]
name = "update_functionality_tests"
path = "tests/update_functionality_tests.rs"
[[test]]
name = "vm_api_tests"
path = "tests/vm_api_tests.rs"
[[test]]
name = "vm_functionality_tests"
path = "tests/vm_functionality_tests.rs"
[[test]]
name = "vm_management_tests"
path = "tests/vm_management_tests.rs"
[[test]]
name = "web_operations_basic_tests"
path = "tests/web_operations_basic_tests.rs"
[[test]]
name = "web_operations_tests"
path = "tests/web_operations_tests.rs"
[dependencies.ahash]
version = "0.8"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.atty]
version = "0.2"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.colored]
version = "3.0"
optional = true
[dependencies.comfy-table]
version = "7.0"
optional = true
[dependencies.console]
version = "0.15"
[dependencies.crossterm]
version = "0.29"
[dependencies.dialoguer]
version = "0.11"
[dependencies.dirs]
version = "5.0"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.glob]
version = "0.3"
[dependencies.handlebars]
version = "6.3"
[dependencies.indicatif]
version = "0.18"
optional = true
[dependencies.jiff]
version = "0.2"
[dependencies.log]
version = "0.4"
[dependencies.pulldown-cmark]
version = "0.13"
features = ["html"]
default-features = false
[dependencies.ratatui]
version = "0.30"
[dependencies.regex]
version = "1.0"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rustyline]
version = "17.0"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.strsim]
version = "0.11"
[dependencies.terraphim_automata]
version = "1.0.0"
[dependencies.terraphim_config]
version = "1.0.0"
[dependencies.terraphim_hooks]
version = "1.0.0"
[dependencies.terraphim_middleware]
version = "1.0.0"
[dependencies.terraphim_persistence]
version = "1.0.0"
[dependencies.terraphim_rolegraph]
version = "1.0.0"
[dependencies.terraphim_service]
version = "1.0.0"
[dependencies.terraphim_sessions]
version = "1.6.0"
features = ["tsa-full"]
optional = true
[dependencies.terraphim_settings]
version = "1.0.0"
[dependencies.terraphim_types]
version = "1.0.0"
[dependencies.terraphim_update]
version = "1.0.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"env-filter",
]
[dependencies.urlencoding]
version = "2.1"
[dependencies.uuid]
version = "1.19"
features = [
"v4",
"serde",
]
[dependencies.walkdir]
version = "2.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.insta]
version = "1.41"
features = [
"yaml",
"redactions",
]
[dev-dependencies.portpicker]
version = "0.1"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dev-dependencies.serial_test]
version = "3.3"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
[build-dependencies.rustc_version]
version = "0.4"
[lints.rust]