Expand description
DeepSeek runtime library + HTTP sidecar (deepseek-runtime) — D6 Phase B single crate.
Re-exports§
pub use runtime_serve::RuntimeApiOptions;pub use runtime_serve::run_http_server;
Modules§
- cli
- CLI surface for headless
zagensbinary and shared args/types. - command_
safety - Command safety analysis for shell execution
- context_
reference - Durable context-reference metadata (session resume, HTTP runtime).
- json_
schema_ util - Shared
schemarshelpers for HTTP/OpenAPI export (D8). - mcp
- Async MCP (Model Context Protocol) implementation.
- network_
policy - Per-domain network policy for outbound network calls (#135).
- persist
- Session persistence (JSON + SQLite backends).
- pricing
- Cost estimation for DeepSeek API usage.
- repl
- Long-lived Python REPL runtime used by the RLM loop and by inline
```replblock execution in the agent loop. - rlm
- Recursive Language Model (RLM) loop — paper-spec Algorithm 1.
- runtime_
api - Runtime HTTP/SSE API for local DeepSeek automation.
- runtime_
serve - HTTP sidecar entry for Zagens and headless hosts (D6
runtime-server). - session_
manager - Session management for resuming conversations.
- session_
store_ sqlite - skills
- Skill discovery and registry for local SKILL.md files.
- snapshot
- Workspace snapshots — pre/post-turn safety net.
Structs§
- Context
Reference - Durable, compact metadata for a user-visible context reference.
- Saved
Session - A saved session containing full conversation history
- Session
Context Reference - Durable context-reference metadata attached to a user message.
- Session
Manager - Manager for session persistence operations
- Session
Metadata - Session metadata stored with each saved session