Expand description
Runtime adapters — MCP, session persist, snapshots (D16 E1-a, D17 frozen).
Extracted from zagens-cli as part of the D16 sidecar crate
split. Further migration of engine, tools, and route handlers is deferred
by design (D17 Architecture Freeze) — those remain internal co-located
units in zagens-cli, not candidates for crate extraction.
This crate is the stable boundary for MCP connectors, persistence adapters,
scratchpad gates, snapshots, and network policy.
Modules§
- http_
client - Shared HTTP client builder helpers (proxy from environment).
- json_
schema_ util - Shared
schemarshelpers for HTTP/OpenAPI export (D8). - mcp
- Async MCP (Model Context Protocol) implementation.
- models
- Chat/model re-exports shared by tools and persist layers.
- network_
policy - Per-domain network policy for outbound network calls (#135).
- persist
- Session persistence (JSON + SQLite backends).
- scratchpad
- Audit scratchpad types and path-based reads (D16 E1-a2).
- scratchpad_
gates - Tool audit gates for scratchpad-backed repo reviews (D16 E1-a2).
- snapshot
- Workspace snapshots — pre/post-turn safety net.
- tools
- Portable tool helpers and host ports (D16 E1-a3+).
- util
- Small shared helpers for adapters modules.