Directories
¶
| Path | Synopsis |
|---|---|
|
Package chatservice persists the conversation thread.
|
Package chatservice persists the conversation thread. |
|
Package chatsessionmodes routes each chat turn: resolves which chain to run, injects context, executes steps, and persists the result.
|
Package chatsessionmodes routes each chat turn: resolves which chain to run, injects context, executes steps, and persists the result. |
|
backends.go contains helpers for LLM backend and provider config KV storage.
|
backends.go contains helpers for LLM backend and provider config KV storage. |
|
Package hitlservice evaluates approval policies before shell commands and tool calls execute.
|
Package hitlservice evaluates approval policies before shell commands and tool calls execute. |
|
internal
|
|
|
hooks
internal/hooks/multi_repo.go
|
internal/hooks/multi_repo.go |
|
runtimestate
runtimestate implements the core logic for reconciling the declared state of LLM backends (from dbInstance) with their actual observed state.
|
runtimestate implements the core logic for reconciling the declared state of LLM backends (from dbInstance) with their actual observed state. |
|
setupcheck
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI.
|
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI. |
|
Package localhooks provides hooks that fire around chain execution: approval gates, plan summaries, and step transitions.
|
Package localhooks provides hooks that fire around chain execution: approval gates, plan summaries, and step transitions. |
|
mcpoauth
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients.
|
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients. |
|
Package mcpserverservice stores MCP server configs.
|
Package mcpserverservice stores MCP server configs. |
|
Package mcpworker keeps MCP server connections alive across chain steps.
|
Package mcpworker keeps MCP server connections alive across chain steps. |
|
Package planservice stores and advances execution plans.
|
Package planservice stores and advances execution plans. |
|
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts.
|
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts. |
|
Package taskengine runs the steps inside a chain.
|
Package taskengine runs the steps inside a chain. |
|
compact
Package compact summarizes older messages of a running ChatHistory when it approaches the model's context window, replacing them with one synthetic user message of the form:
|
Package compact summarizes older messages of a running ChatHistory when it approaches the model's context window, replacing them with one synthetic user message of the form: |
|
llmretry
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback.
|
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback. |
|
Package vfsservice exposes the local filesystem to chains.
|
Package vfsservice exposes the local filesystem to chains. |
Click to show internal directories.
Click to hide internal directories.