defect-agent 0.1.0-alpha.6

Core agent runtime for defect: turn loop, context compaction, tools and session orchestration.
Documentation
# 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 = "defect-agent"
version = "0.1.0-alpha.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core agent runtime for defect: turn loop, context compaction, tools and session orchestration."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/vast-enterprise/defect"

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

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

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

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

[dependencies.agent-client-protocol-schema]
version = "=0.13.2"
features = ["tracing"]

[dependencies.arc-swap]
version = "1"

[dependencies.dashmap]
version = "6"

[dependencies.defect-core]
version = "0.1.0-alpha.6"

[dependencies.futures]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.os_info]
version = "3"
default-features = false

[dependencies.rand]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "io-std",
    "sync",
    "fs",
    "process",
    "signal",
    "time",
    "sync",
    "macros",
    "rt",
    "process",
    "io-util",
    "time",
]

[dependencies.tokio-stream]
version = "0.1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "io-std",
    "sync",
    "fs",
    "process",
    "signal",
    "time",
    "sync",
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "test-util",
]

[lints.clippy]
too_many_arguments = "deny"