trusty-agents-common 0.2.2

Stable agent-plugin surface (ToolExecutor, AgentPlugin, ToolResult) shared by trusty-agents and external agent crates.
Documentation
//! Skill deploy/manifest/tier machinery, extracted from `trusty-mpm` (#2892, #2818).
//!
//! Why: `trusty-mpm` and `trusty-code` both need to keep `~/.claude/skills/`
//! (and `<project>/.claude/skills/`) populated with up-to-date skill files
//! without clobbering user-owned or user-modified content, and both need the
//! same project-custom > user-custom > bundled precedence rule. This logic
//! was originally trusty-mpm-only (`crates/trusty-mpm/src/core/
//! {skill_deployer,skill_manifest,skill_tiers}.rs`); moving it here (mirroring
//! the agent compose/deploy/manifest extraction, #2892) lets both harnesses
//! share one implementation instead of forking it.
//! What: three submodules — [`manifest`] (the checksum + atomic-write
//! ownership ledger, reusing [`crate::agents::manifest`]'s `ManifestError` /
//! `atomic_write` / `checksum` rather than defining a second self-contained
//! error type), [`deployer`] (writes skill `.md` sources into
//! `<dest>/<name>/SKILL.md`, consulting the manifest to avoid clobbering user
//! edits), and [`tiers`] (the project-custom / user-custom / bundled
//! precedence resolver and multi-tier deploy orchestrator). `trusty-mpm`
//! re-exports every public item from `crate::core::{skill_deployer,
//! skill_manifest,skill_tiers}` for source compatibility with its existing
//! call sites.
//! Test: `cargo test -p trusty-agents-common skills::` exercises every
//! submodule in place; `cargo test -p trusty-mpm` exercises the re-exported
//! call sites end-to-end.

pub mod deployer;
pub mod manifest;
pub mod tiers;