Capability Overview
Every capability package in Dsh-Go follows the Capability Seam pattern: service definition + provider, where replacing the provider changes the overall behavior. The following are grouped by functional domain.
Core Runtime
| Package | Capability |
|---|
pkg/session | Event Sourcing, event vocabulary, fold, invariants, incremental projection |
pkg/agent | Agent registry, Turn/Step loop, cancellation reasons, request-error retry |
pkg/tools | four-stage pipeline, execution context, presentation, limits, schema, preservation |
pkg/llm | LLM seam, streaming protocol, failure classification, retry, cache probe |
Planning Primitives
| Package | Capability |
|---|
pkg/goal / pkg/todo | Goal State Machine (four states + stable error codes), Todo whole replacement |
pkg/plan / pkg/skills | plan patterns, skills system (6-layer provider) |
Persistence & Storage
Subagents & Workflow
Files & Processes
Configuration & Security
Observability