Expand description
Core runtime boundaries for the embedded agent engine (turn loop, hosts, pure logic).
Production turns run via RuntimeThreadManager in the sidecar — not legacy CLI Runtime.
Modules§
- approval
- Tool approval policy shared between engine session state and the TUI shell.
- capacity
- Capacity-aware guardrail controller for context pressure management.
- chat
- Chat / message types shared between the runtime core and the TUI shell.
- coherence
- Plain-language session coherence state + capacity-event reducer (P2 PR4 enum entry; M1-deferred reducer landed in M6 2026-05-25).
- compaction
- Compaction configuration — shared between core and TUI.
- context_
partition - Hot-window / cold-zone context partition (A1.1).
- cycle
- Checkpoint-restart cycle configuration — shared between core and TUI.
- engine
- Session and turn loop boundaries (P2 PR2–PR4).
- error_
taxonomy - Shared error taxonomy across client, tools, runtime, and UI.
- events
- Events emitted by the engine to the UI (P2 PR4 →
zagens-core). - features
- Feature flags shared between the runtime core and the TUI shell.
- long_
horizon - Long-horizon code task (LHT) harness configuration — shared between core and runtime.
- lsp
- LSP configuration — shared between core and TUI.
- models
- Shared model types — pure data, no LLM client dependency.
- project_
context - Project context loading for DeepSeek TUI.
- sandbox
- Pluggable sandbox backend abstraction.
- scratchpad
- Scratchpad runtime configuration — shared between core and TUI.
- session
- Session state management for the core engine.
- subagent
- Sub-agent event types (runtime implementation in
deepseek-runtime/tools/subagent). - task_
type - Task type (Office / Code) — shared between core and TUI.
- turn
- Turn types shared between the runtime core and the TUI shell.
- user_
input - Types for
request_user_inputtool payloads (P2 PR4 →zagens-core). - working_
set - Repo-aware working set tracking and prompt context packing.
- workshop
- Workshop / large-tool-output routing configuration — shared between core and TUI.