Documentation
¶
Overview ¶
Package errors provides sentinel errors for the DFMC project. These errors are used across packages to signal specific failure modes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCacheMiss = errors.New("cache miss") ErrNotFound = errors.New("not found") ErrInvalidInput = errors.New("invalid input") ErrRateLimited = errors.New("rate limited") ErrProviderDown = errors.New("provider unavailable") ErrContextBudget = errors.New("context budget exceeded") ErrSyntax = errors.New("syntax error") ErrParse = errors.New("parse error") )
Sentinel errors — public, reusable, errors.Is compatible.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package coach is a tiny rule-based observer that turns a completed agent turn into short user-facing notes.
|
Package coach is a tiny rule-based observer that turns a completed agent turn into short user-facing notes. |
|
Package commands provides a shared metadata registry that all three DFMC surfaces (CLI, TUI, web) consult so command help text, categories, aliases, and surface availability stay in sync without being hand-copied across layers.
|
Package commands provides a shared metadata registry that all three DFMC surfaces (CLI, TUI, web) consult so command help text, categories, aliases, and surface availability stay in sync without being hand-copied across layers. |
|
Package context — trajectory.go is the rule engine for the trajectory coach.
|
Package context — trajectory.go is the rule engine for the trajectory coach. |
|
Package drive implements the autonomous drive loop.
|
Package drive implements the autonomous drive loop. |
|
Package hooks dispatches user-configured shell commands in response to DFMC lifecycle events (prompt submit, tool call, session start).
|
Package hooks dispatches user-configured shell commands in response to DFMC lifecycle events (prompt submit, tool call, session start). |
|
Package intent runs a small, state-aware sub-LLM before every user Ask.
|
Package intent runs a small, state-aware sub-LLM before every user Ask. |
|
Package langintel hosts per-language knowledge bases used to surface relevant tips, patterns, and warnings during analysis.
|
Package langintel hosts per-language knowledge bases used to surface relevant tips, patterns, and warnings during analysis. |
|
Package mcp implements the Model Context Protocol server surface for DFMC.
|
Package mcp implements the Model Context Protocol server surface for DFMC. |
|
Package pathsafe owns the single canonical implementation of "is this path safely contained inside that root, symlinks and all".
|
Package pathsafe owns the single canonical implementation of "is this path safely contained inside that root, symlinks and all". |
|
Package planning — deterministic task decomposition.
|
Package planning — deterministic task decomposition. |
|
Package pluginexec spawns script plugins as child processes and talks to them over line-delimited JSON-RPC 2.0 on stdin/stdout.
|
Package pluginexec spawns script plugins as child processes and talks to them over line-delimited JSON-RPC 2.0 on stdin/stdout. |
|
Package providerlog persists every provider:complete event to a daily-rotated JSONL file under <data-dir>/provider_calls/.
|
Package providerlog persists every provider:complete event to a daily-rotated JSONL file under <data-dir>/provider_calls/. |
|
Package tokens provides token count estimation for prompts, context chunks, and tool results.
|
Package tokens provides token count estimation for prompts, context chunks, and tool results. |
|
Package toolhistory persists learned coding patterns the assistant can replay across sessions.
|
Package toolhistory persists learned coding patterns the assistant can replay across sessions. |
|
benchmark.go — Phase 7 tool for running and parsing Go benchmark results.
|
benchmark.go — Phase 7 tool for running and parsing Go benchmark results. |
Click to show internal directories.
Click to hide internal directories.