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