content: [package]
  name = "terminator-mcp-agent"
  version.workspace = true
  edition.workspace = true
  
  [features]
  default = ["telemetry"]
  telemetry = ["dep:opentelemetry", "dep:opentelemetry_sdk", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:opentelemetry-appender-tracing"]
  
  [lib]
  name = "terminator_mcp_agent"
  path = "src/lib.rs"
  
  [[bin]]
  name = "terminator-mcp-agent"
  path = "src/main.rs"
  
  
  [dependencies]
  serde = { workspace = true }
  tokio = { workspace = true }
  anyhow = { workspace = true }
  chrono = { workspace = true }
  tracing = { workspace = true }
  terminator = { workspace = true }
  serde_json = { workspace = true }
  tracing-subscriber = { workspace = true }
  tracing-appender = { workspace = true }
  time = { workspace = true }
  rmcp = { version = "0.6.3", features = [
      "server",
      "client",
      "transport-sse-server",
      "transport-io",
      "transport-streamable-http-server",
      "transport-child-process",
  ] }
  futures = "0.3"
  image = { version = "0.25.1", features = ["png"] }
  base64 = "0.22.1"
  clap = { version = "4.5", features = ["derive"] }
  axum = "0.8"
  tower-http = { version = "0.6", features = ["cors"] }
  terminator-workflow-recorder = { path = "../terminator-workflow-recorder" }
  tokio-util = { version = "0.7", features = ["rt"] }
  uuid = { version = "1.10", features = ["v4", "serde"] }
  
  regex = { workspace = true }
  tempfile = "3"
  sysinfo = "0.33"
  hostname = "0.4"
  
  reqwest = { version = "0.12.5", features = ["json"] }
  
  # YAML parsing support
  serde_yaml = "0.9"
  
  # OpenTelemetry dependencies (optional, behind 'telemetry' feature)
  opentelemetry = { version = "0.27", optional = true }
  opentelemetry_sdk = { version = "0.27", features = ["rt-tokio", "logs"], optional = true }
  opentelemetry-otlp = { version = "0.27", features = ["http-proto", "reqwest-client", "logs"], optional = true }
  opentelemetry-semantic-conventions = { version = "0.27", optional = true }
  opentelemetry-appender-tracing = { version = "0.27", optional = true }
  
  # Dependencies for AI summarizer binary - TODO add behind feature flag
  ollama-rs = "0.3.2"
  arboard = "3.6.0"
  rdev = "0.5.3"
  
  
  [build-dependencies]
  chrono = { workspace = true }
  
  [dev-dependencies]
  tokio-test = "0.4"
  rand = "0.8"
  
  [[example]]
  name = "terminator-ai-summarizer"
  path = "examples/terminator-ai-summarizer/src/main.rs"
  [target.'cfg(unix)'.dependencies]
  libc = "0.2"
  