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 registry;
13pub mod render;
14pub mod runtimes;
15pub mod session;
16pub mod supervisor;
17pub mod validate;
18pub mod yaml_edit;
19
20/// Semantic version of the teamctl workspace.
21pub const VERSION: &str = env!("CARGO_PKG_VERSION");
22
23/// MCP protocol version teamctl speaks. Pinned per release.
24pub const MCP_PROTOCOL_VERSION: &str = "2024-11-05";