team_core/lib.rs
1//! Shared library for teamctl.
2//!
3//! Exposes the YAML schema types for the compose tree, the validator that
4//! enforces project-isolation + ACL invariants, the artifact renderer that
5//! turns compose into env files and MCP configs, the `Supervisor` trait
6//! (with a portable `TmuxSupervisor` back-end), and the SQLite mailbox
7//! schema used by `team-mcp`.
8
9pub mod attachments;
10pub mod compose;
11pub mod mailbox;
12pub mod render;
13pub mod runtimes;
14pub mod session;
15pub mod supervisor;
16pub mod validate;
17pub mod yaml_edit;
18
19/// Semantic version of the teamctl workspace.
20pub const VERSION: &str = env!("CARGO_PKG_VERSION");
21
22/// MCP protocol version teamctl speaks. Pinned per release.
23pub const MCP_PROTOCOL_VERSION: &str = "2024-11-05";