Expand description
atm-agent-mcp library crate.
Provides the MCP proxy core, framing, tool schemas, configuration, and CLI
types for the atm-agent-mcp binary. Exposed as a library for integration
testing and potential reuse.
Modules§
- atm_
tools - ATM synthetic tool handlers for the MCP proxy.
- audit
- Append-only JSONL audit log for ATM tool calls and Codex forwards (FR-9).
- cli
- CLI argument types for atm-agent-mcp.
- commands
- Command implementations for atm-agent-mcp subcommands.
- config
- Configuration resolution for atm-agent-mcp.
- context
- Git context detection for per-turn context injection.
- elicitation
- Elicitation/approval request bridging (FR-18).
- framing
- JSON-RPC message framing for MCP stdio transport.
- inject
- Developer-instructions injection for Codex tool calls.
- lifecycle
- Per-thread command queue and lifecycle state machine.
- lock
- Cross-process identity lock files.
- mail_
inject - Auto mail injection for the MCP proxy.
- proxy
- MCP stdio proxy core.
- session
- In-memory session registry for active Codex agent sessions.
- stdin_
queue - Stdin queue for non-destructive ATM message injection into a running Codex session.
- summary
- Session summary read/write utilities (FR-6, FR-7).
- tools
- Synthetic MCP tool definitions for ATM integration.
- transport
- Transport abstraction for the Codex child process.
Structs§
- Mock
Transport - In-memory test double transport – no child process is spawned.
- Mock
Transport Handle - A channel-based sender/receiver handle for
MockTransport. - RawChild
Io - Raw I/O handles produced by a successful [
CodexTransport::spawn] call.