Skip to main content

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