polyc-agent 2026.8.2

The agent turn loop: provider + tool-call routing, shared by the control plane and harness.
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"
rust-version = "1.97"
name = "polyc-agent"
version = "2026.8.2"
authors = ["Official Unofficial, Inc."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The agent turn loop: provider + tool-call routing, shared by the control plane and harness."
readme = false
license = "Apache-2.0 OR MIT"
repository = "https://github.com/officialunofficial/polychrome"
resolver = "2"

[package.metadata.polychrome]
layer = "component"
plane_role = "shared"

[features]
test-fixtures = []

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.buffa]
version = "0.8.1"
features = [
    "std",
    "json",
]

[dependencies.buffa-types]
version = "0.8"
features = [
    "reflect",
    "json",
]

[dependencies.futures]
version = "0.3"

[dependencies.jiff]
version = "0.2"

[dependencies.jsonschema]
version = "0.48"

[dependencies.polyc-capability]
version = "2026.8.0"

[dependencies.polyc-crypto]
version = "2026.8.0"

[dependencies.polyc-llm]
version = "2026.8.0"

[dependencies.polyc-proto]
version = "2026.8.0"

[dependencies.prometheus]
version = "0.14"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.polyc-conformance-vectors]
version = "2026.8.0"

[dev-dependencies.polyc-llm-openai]
version = "2026.8.0"

[lints.clippy]
dbg_macro = "deny"
module_name_repetitions = "allow"
redundant_pub_crate = "allow"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rustdoc]
all = "warn"