pkg/

directory
v1.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: Apache-2.0

Directories

Path Synopsis
app
export
Package export provides HTML export functionality for docker agent sessions.
Package export provides HTML export functionality for docker agent sessions.
audio
capture
Package capture provides audio capture functionality.
Package capture provides audio capture functionality.
transcribe
Package transcribe provides real-time audio transcription using OpenAI's Realtime API.
Package transcribe provides real-time audio transcription using OpenAI's Realtime API.
Package backoff provides exponential backoff calculation and context-aware sleep utilities.
Package backoff provides exponential backoff calculation and context-aware sleep utilities.
Package cache implements a configurable response cache for agents.
Package cache implements a configurable response cache for agents.
Package chatserver implements an OpenAI-compatible HTTP server that exposes docker-agent agents through the /v1/chat/completions and /v1/models endpoints.
Package chatserver implements an OpenAI-compatible HTTP server that exposes docker-agent agents through the /v1/chat/completions and /v1/models endpoints.
v0
v1
v2
v3
v4
v5
v6
v7
Package creator provides functionality to create agent configurations interactively.
Package creator provides functionality to create agent configurations interactively.
Package effort defines the canonical set of thinking-effort levels and provides per-provider mapping helpers.
Package effort defines the canonical set of thinking-effort levels and provides per-provider mapping helpers.
Package evaluation provides an evaluation framework for testing agents.
Package evaluation provides an evaluation framework for testing agents.
Package fake provides a VCR-based proxy for replaying recorded AI API responses.
Package fake provides a VCR-based proxy for replaying recorded AI API responses.
Package hooks provides lifecycle hooks for agent tool execution.
Package hooks provides lifecycle hooks for agent tool execution.
builtins
Package builtins contains the stock in-process hook implementations shipped with docker-agent.
Package builtins contains the stock in-process hook implementations shipped with docker-agent.
memory
model
provider
Package provider builds and dispatches to LLM provider clients.
Package provider builds and dispatches to LLM provider clients.
provider/rulebased
Package rulebased provides a rule-based model router that selects the appropriate model based on text similarity using Bleve full-text search.
Package rulebased provides a rule-based model router that selects the appropriate model based on text similarity using Bleve full-text search.
provider/vertexai
Package vertexai provides support for non-Gemini models hosted on Google Cloud's Vertex AI Model Garden.
Package vertexai provides support for non-Gemini models hosted on Google Cloud's Vertex AI Model Garden.
Package modelerrors provides error classification utilities for LLM model providers.
Package modelerrors provides error classification utilities for LLM model providers.
Package permissions provides tool permission checking based on configurable Allow/Ask/Deny patterns.
Package permissions provides tool permission checking based on configurable Allow/Ask/Deny patterns.
Package profiling provides helpers for CPU and memory profiling.
Package profiling provides helpers for CPU and memory profiling.
rag
Package recording provides helpers for recording and replaying AI API interactions.
Package recording provides helpers for recording and replaying AI API interactions.
compactor
Package compactor owns session-aware compaction work that used to live inline in pkg/runtime: extracting the conversation to summarize, computing the kept-tail boundary, and running the default LLM-based summarization strategy.
Package compactor owns session-aware compaction work that used to live inline in pkg/runtime: extracting the conversation to summarize, computing the kept-tail boundary, and running the default LLM-based summarization strategy.
toolexec
Package toolexec hosts utilities used by the runtime to execute tool calls.
Package toolexec hosts utilities used by the runtime to execute tool calls.
Package sandbox provides Docker sandbox lifecycle management including creation, detection, argument building, and environment forwarding.
Package sandbox provides Docker sandbox lifecycle management including creation, detection, argument building, and environment forwarding.
Package sessiontitle provides session title generation using a one-shot LLM call.
Package sessiontitle provides session title generation using a one-shot LLM call.
Package shellpath provides safe shell binary resolution to prevent PATH hijacking attacks (CWE-426).
Package shellpath provides safe shell binary resolution to prevent PATH hijacking attacks (CWE-426).
Package sound provides cross-platform sound notification support.
Package sound provides cross-platform sound notification support.
a2a
Package a2a provides a toolset implementation for connecting to remote A2A agents.
Package a2a provides a toolset implementation for connecting to remote A2A agents.
mcp
tui
Package tui provides the top-level TUI model with tab and session management.
Package tui provides the top-level TUI model with tab and session management.
animation
Package animation provides centralized animation tick management for the TUI.
Package animation provides centralized animation tick management for the TUI.
cmdbatch
Package cmdbatch provides a fluent builder for batching tea.Cmd values.
Package cmdbatch provides a fluent builder for batching tea.Cmd values.
components/markdown
Package markdown provides a high-performance markdown renderer for terminal output.
Package markdown provides a high-performance markdown renderer for terminal output.
components/scrollview
Package scrollview provides a composable scrollable view that pairs content with a fixed-position scrollbar.
Package scrollview provides a composable scrollable view that pairs content with a fixed-position scrollbar.
components/tabbar
Package tabbar provides a horizontal tab bar for the TUI.
Package tabbar provides a horizontal tab bar for the TUI.
components/tool
Package tool builds the TUI view for a tool call message.
Package tool builds the TUI view for a tool call message.
internal/editorname
Package editorname maps the user's configured external editor (VISUAL or EDITOR) to a friendly display name used in TUI key-binding hints.
Package editorname maps the user's configured external editor (VISUAL or EDITOR) to a friendly display name used in TUI key-binding hints.
messages
Package messages defines all TUI message types organized by domain.
Package messages defines all TUI message types organized by domain.
service/supervisor
Package supervisor manages agent sessions.
Package supervisor manages agent sessions.
service/tuistate
Package tuistate provides persistent TUI state storage (tabs, recent/favorite directories).
Package tuistate provides persistent TUI state storage (tabs, recent/favorite directories).
subscription
Package subscription provides patterns for external event sources in the TUI.
Package subscription provides patterns for external event sources in the TUI.
Package upstream provides utilities for propagating HTTP headers from incoming API requests to outbound toolset HTTP calls.
Package upstream provides utilities for propagating HTTP headers from incoming API requests to outbound toolset HTTP calls.
Package userconfig provides user-level configuration for docker agent.
Package userconfig provides user-level configuration for docker agent.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL