blue/Cargo.toml
Eric Garcia 83fb0202a6 feat: implement dynamic context activation (RFC 0016 + 0017)
RFC 0016: Context Injection Architecture
- Add blue:// URI scheme for document addressing
- Add manifest.rs for three-tier context configuration
- Implement MCP resources/list and resources/read handlers
- Add `blue context` CLI command for visibility
- Add context_injections audit table (schema v5)

RFC 0017: Dynamic Context Activation (Phase 1)
- Add relevance_edges table for explicit links (schema v6)
- Implement composite session ID: {repo}-{realm}-{random12}
- Add content-hash based staleness detection
- Add tiered refresh policies (SessionStart/OnChange/OnRequest/Never)
- Add rate limiting with 30s cooldown
- Add blue_context_status MCP tool

Drafted from 12-expert alignment dialogue achieving 95% convergence.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 17:21:05 -05:00

78 lines
1.5 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/blue-core",
"crates/blue-mcp",
"crates/blue-ollama",
"apps/blue-cli",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "CC0-1.0"
repository = "https://git.beyondtheuniverse.superviber.com/superviber/blue"
authors = ["Eric Minton Garcia"]
[workspace.dependencies]
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
# Async runtime
tokio = { version = "1.0", features = ["full", "io-std"] }
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# CLI
clap = { version = "4.0", features = ["derive"] }
# Database
rusqlite = { version = "0.32", features = ["bundled"] }
# Time
chrono = { version = "0.4", features = ["serde"] }
# Git
git2 = "0.19"
# Regex
regex = "1.10"
# Semver
semver = { version = "1.0", features = ["serde"] }
# HTTP server (daemon)
axum = "0.8"
tower-http = { version = "0.6", features = ["cors", "trace"] }
# HTTP client (Forgejo API, Ollama)
reqwest = { version = "0.12", features = ["json", "blocking"] }
# Directories
dirs = "5.0"
# Testing HTTP services
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"
# Crypto
sha2 = "0.10"
# Random
rand = "0.8"
# Testing
tempfile = "3.15"
# Internal
blue-core = { path = "crates/blue-core" }
blue-mcp = { path = "crates/blue-mcp" }
blue-ollama = { path = "crates/blue-ollama" }