# 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.95"
name = "kaizen-cli"
version = "0.1.45"
authors = ["Lucas Marques <hi@lucasmarques.me>"]
build = false
exclude = [
    "discoveries/",
    ".kaizen/",
    ".cursor/",
    ".claude/",
    "specs/",
    "docs/",
    "scripts/",
    ".github/",
    "AGENTS.md",
    "CLAUDE.md",
    "CONTRIBUTING.md",
    "CHANGELOG.md",
    "CODE_OF_CONDUCT.md",
    "SECURITY.md",
    ".gitignore",
    "*.itf.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributable agent observability: real-time-tailable sessions, agile-style retros, and repo-level improvement (Cursor, Claude Code, Codex). SQLite, redact before any sync you enable."
homepage = "https://github.com/marquesds/kaizen"
documentation = "https://docs.rs/kaizen-cli"
readme = "README.md"
keywords = [
    "agents",
    "ai",
    "observability",
    "retrospective",
    "telemetry",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/marquesds/kaizen"

[features]
default = ["full"]
dev-fast = ["telemetry-prod"]
full = ["telemetry-prod"]
telemetry-all = [
    "telemetry-dev",
    "telemetry-prod",
]
telemetry-datadog = []
telemetry-dev = []
telemetry-otlp = []
telemetry-posthog = []
telemetry-prod = [
    "telemetry-posthog",
    "telemetry-datadog",
    "telemetry-otlp",
]

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

[[bin]]
name = "kaizen"
path = "src/main.rs"

[[test]]
name = "agent_behavior"
path = "tests/spec/agent_behavior.rs"

[[test]]
name = "atif_jsonl_hash"
path = "tests/spec/atif_jsonl_hash.rs"

[[test]]
name = "auto_update"
path = "tests/spec/auto_update.rs"

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

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

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

[[test]]
name = "core_loop"
path = "tests/spec/core_loop.rs"

[[test]]
name = "daemon_capture"
path = "tests/spec/daemon_capture.rs"

[[test]]
name = "daemon_detach"
path = "tests/spec/daemon_detach.rs"

[[test]]
name = "daemon_lifecycle"
path = "tests/spec/daemon_lifecycle.rs"

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

[[test]]
name = "daemon_web_token"
path = "tests/spec/daemon_web_token.rs"

[[test]]
name = "datadog_grade_telemetry"
path = "tests/spec/datadog_grade_telemetry.rs"

[[test]]
name = "doctor_cmd"
path = "tests/spec/doctor_cmd.rs"

[[test]]
name = "doctor_diagnostic"
path = "tests/spec/doctor_diagnostic.rs"

[[test]]
name = "eval_h15"
path = "tests/spec/eval_h15.rs"

[[test]]
name = "event_index"
path = "tests/spec/event_index.rs"

[[test]]
name = "experiment_binding"
path = "tests/spec/experiment_binding.rs"

[[test]]
name = "experiment_lifecycle"
path = "tests/spec/experiment_lifecycle.rs"

[[test]]
name = "experiment_sequential"
path = "tests/spec/experiment_sequential.rs"

[[test]]
name = "gc_prune"
path = "tests/spec/gc_prune.rs"

[[test]]
name = "guidance_candidate"
path = "tests/spec/guidance_candidate.rs"

[[test]]
name = "guidance_cmd"
path = "tests/spec/guidance_cmd.rs"

[[test]]
name = "guidance_proposal_llm"
path = "tests/spec/guidance_proposal_llm.rs"

[[test]]
name = "guidance_score"
path = "tests/spec/guidance_score.rs"

[[test]]
name = "guidance_score_validation"
path = "tests/spec/guidance_score_validation.rs"

[[test]]
name = "h33_automation"
path = "tests/spec/h33_automation.rs"

[[test]]
name = "hook_ingest"
path = "tests/spec/hook_ingest.rs"

[[test]]
name = "ingest_idempotency"
path = "tests/spec/ingest_idempotency.rs"

[[test]]
name = "ingest_stub"
path = "tests/ingest_stub/integration_test.rs"

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

[[test]]
name = "init_setup"
path = "tests/spec/init_setup.rs"

[[test]]
name = "ipc_frame"
path = "tests/spec/ipc_frame.rs"

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

[[test]]
name = "llm_call_quality"
path = "tests/spec/llm_call_quality.rs"

[[test]]
name = "llm_proxy"
path = "tests/spec/llm_proxy.rs"

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

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

[[test]]
name = "mcp_server"
path = "tests/spec/mcp_server.rs"

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

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

[[test]]
name = "metrics_pipeline"
path = "tests/spec/metrics_pipeline.rs"

[[test]]
name = "metrics_report_compact"
path = "tests/spec/metrics_report_compact.rs"

[[test]]
name = "modern_scanners"
path = "tests/spec/modern_scanners.rs"

[[test]]
name = "multi_workspace"
path = "tests/spec/multi_workspace.rs"

[[test]]
name = "observe_pipeline"
path = "tests/spec/observe_pipeline.rs"

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

[[test]]
name = "openclaw_ingest_spec"
path = "tests/spec/openclaw_ingest_spec.rs"

[[test]]
name = "perf_phase0"
path = "tests/perf/phase0.rs"

[[test]]
name = "perf_projector_phase2"
path = "tests/perf/projector_phase2.rs"

[[test]]
name = "perf_read_report"
path = "tests/perf/read_report.rs"

[[test]]
name = "project_lookup"
path = "tests/spec/project_lookup.rs"

[[test]]
name = "projector_incremental"
path = "tests/spec/projector_incremental.rs"

[[test]]
name = "projector_parity"
path = "tests/spec/projector_parity.rs"

[[test]]
name = "prompt_tracking_spec"
path = "tests/spec/prompt_tracking_spec.rs"

[[test]]
name = "provider_pull_cache"
path = "tests/spec/provider_pull_cache.rs"

[[test]]
name = "provider_pull_event_keys"
path = "tests/spec/provider_pull_event_keys.rs"

[[test]]
name = "query_sqlite"
path = "tests/spec/query_sqlite.rs"

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

[[test]]
name = "read_report_perf"
path = "tests/spec/read_report_perf.rs"

[[test]]
name = "redaction_completeness"
path = "tests/spec/redaction_completeness.rs"

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

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

[[test]]
name = "retention"
path = "tests/spec/retention.rs"

[[test]]
name = "retro_pipeline"
path = "tests/spec/retro_pipeline.rs"

[[test]]
name = "search"
path = "tests/spec/search.rs"

[[test]]
name = "session_feedback_spec"
path = "tests/spec/session_feedback_spec.rs"

[[test]]
name = "session_lifecycle"
path = "tests/spec/session_lifecycle.rs"

[[test]]
name = "session_lookup"
path = "tests/spec/session_lookup.rs"

[[test]]
name = "session_outcome"
path = "tests/spec/session_outcome.rs"

[[test]]
name = "session_tree"
path = "tests/spec/session_tree.rs"

[[test]]
name = "span_hierarchy_spec"
path = "tests/spec/span_hierarchy_spec.rs"

[[test]]
name = "summary_cost_rollup"
path = "tests/spec/summary_cost_rollup.rs"

[[test]]
name = "sync_backpressure"
path = "tests/spec/sync_backpressure.rs"

[[test]]
name = "system_sampler"
path = "tests/spec/system_sampler.rs"

[[test]]
name = "telemetry_exporters"
path = "tests/spec/telemetry_exporters.rs"

[[test]]
name = "telemetry_file_metadata"
path = "tests/spec/telemetry_file_metadata.rs"

[[test]]
name = "telemetry_push_replay"
path = "tests/spec/telemetry_push_replay.rs"

[[test]]
name = "tui_app"
path = "tests/spec/tui_app.rs"

[[test]]
name = "upgrade"
path = "tests/spec/upgrade.rs"

[[test]]
name = "visualization_report"
path = "tests/spec/visualization_report.rs"

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

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

[[test]]
name = "web_server"
path = "tests/spec/web_server.rs"

[[test]]
name = "workspace_facts_sync"
path = "tests/spec/workspace_facts_sync.rs"

[dependencies.aho-corasick]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"

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

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "json",
    "tokio",
    "matched-path",
    "query",
    "ws",
]
default-features = false

[dependencies.blake3]
version = "1"

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

[dependencies.clap_complete]
version = "4"

[dependencies.crossterm]
version = "0.29"

[dependencies.flate2]
version = "1"

[dependencies.fs4]
version = "1.0"
features = ["sync"]

[dependencies.gethostname]
version = "1"

[dependencies.graphqlite]
version = "0.6"

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.18"

[dependencies.memchr]
version = "2"

[dependencies.notify]
version = "8"

[dependencies.rand]
version = "0.10"
features = ["std_rng"]

[dependencies.ratatui]
version = "0.30"

[dependencies.redb]
version = "4.1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "gzip",
    "blocking",
    "rustls",
]
default-features = false

[dependencies.rmcp]
version = "1"
features = [
    "server",
    "client",
    "transport-io",
    "schemars",
    "macros",
]

[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.sysinfo]
version = "0.39.1"
features = ["system"]
default-features = false

[dependencies.tantivy]
version = "0.26.1"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "macros",
    "local-offset",
    "parsing",
]

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "1.1"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "limit",
    "set-header",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.tree-sitter]
version = "0.26"

[dependencies.tree-sitter-go]
version = "0.25"

[dependencies.tree-sitter-java]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.25"

[dependencies.tree-sitter-python]
version = "0.25"

[dependencies.tree-sitter-rust]
version = "0.24"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.uuid]
version = "1"
features = [
    "v5",
    "v7",
]

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

[dev-dependencies.itf]
version = "0.4"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.quint-connect]
version = "0.1"

[dev-dependencies.rmcp]
version = "1"
features = [
    "server",
    "client",
    "transport-io",
    "schemars",
    "macros",
]

[dev-dependencies.tokio-tungstenite]
version = "0.29"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[target."cfg(unix)".dependencies.libc]
version = "0.2"
