pkg/

directory
v0.17.21 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT

Directories

Path Synopsis
Package agent: delegation getters and setters for sub-managers.
Package agent: delegation getters and setters for sub-managers.
Package agent_api: LM Studio model-list discovery.
Package agent_api: LM Studio model-list discovery.
Package tools provides the interface-based tool system for the Sprout AI agent.
Package tools provides the interface-based tool system for the Sprout AI agent.
computer_use
Package computer_use denylist loader.
Package computer_use denylist loader.
Package ast (continued) — body extraction.
Package ast (continued) — body extraction.
Package automate provides shared workflow discovery and validation for the automate/ feature used by both the CLI (cmd/automate.go) and the agent tool layer (pkg/agent/tool_handlers_automate.go).
Package automate provides shared workflow discovery and validation for the automate/ feature used by both the CLI (cmd/automate.go) and the agent tool layer (pkg/agent/tool_handlers_automate.go).
Package clihooks holds tiny callback hooks that wire higher-level CLI behavior (e.g.
Package clihooks holds tiny callback hooks that wire higher-level CLI behavior (e.g.
Package cliui hosts the CLI terminal display helpers extracted from cmd/.
Package cliui hosts the CLI terminal display helpers extracted from cmd/.
Package configuration: command categorization and force-flag detection.
Package configuration: command categorization and force-flag detection.
Package console.
Package console.
Encryption and decryption operations
Encryption and decryption operations
Package daemon — Phase 2: Daemon lifecycle + auto-start machinery.
Package daemon — Phase 2: Daemon lifecycle + auto-start machinery.
Package embedding provides ONNX-based embedding infrastructure for sprout.
Package embedding provides ONNX-based embedding infrastructure for sprout.
Package envutil provides environment variable helpers with SPROUT_* prefix support.
Package envutil provides environment variable helpers with SPROUT_* prefix support.
Package errors provides agent-specific error types and classification for intelligent retry/recovery logic.
Package errors provides agent-specific error types and classification for intelligent retry/recovery logic.
Event bus implementation
Event bus implementation
Package export provides functions to render Sprout session data as Markdown, HTML, or JSON documents.
Package export provides functions to render Sprout session data as Markdown, HTML, or JSON documents.
ETH-1 "sync-on-resume": reconcile the git state of a workspace container and report it as a single JSON object.
ETH-1 "sync-on-resume": reconcile the git state of a workspace container and report it as a single JSON object.
gomlx module
Audit logging for SP-077: tracks every write-back of OriginalCode (or NewCode) to the working tree.
Audit logging for SP-077: tracks every write-back of OriginalCode (or NewCode) to the working tree.
interfaces
Package llmproxy provides an http.RoundTripper that rewrites direct calls to well-known LLM provider endpoints (api.openai.com, api.anthropic.com, etc.) so they instead route through the sprout-foundry platform's /api/proxy/llm/{provider}/* path.
Package llmproxy provides an http.RoundTripper that rewrites direct calls to well-known LLM provider endpoints (api.openai.com, api.anthropic.com, etc.) so they instead route through the sprout-foundry platform's /api/proxy/llm/{provider}/* path.
Package localmodel manages the lifecycle of the local LLM server (cmd/llm_server) that runs on Apple Silicon via MLX.
Package localmodel manages the lifecycle of the local LLM server (cmd/llm_server) that runs on Apple Silicon via MLX.
lsp
proxy
Package proxy provides an LSP (Language Server Protocol) proxy manager that manages language server processes for workspace-aware code intelligence.
Package proxy provides an LSP (Language Server Protocol) proxy manager that manages language server processes for workspace-aware code intelligence.
Package mcp provides secret management for MCP server environment variables.
Package mcp provides secret management for MCP server environment variables.
Package modelcontract defines the canonical, provider-agnostic model schema and the adapter interface that normalizes each provider's native model API into it.
Package modelcontract defines the canonical, provider-agnostic model schema and the adapter interface that normalizes each provider's native model API into it.
Package modelprobe runs a bounded capability probe against a model to check, cheaply and objectively, whether it's usable for agentic coding — and whether it's strong enough for complex work.
Package modelprobe runs a bounded capability probe against a model to check, cheaply and objectively, whether it's usable for agentic coding — and whether it's strong enough for complex work.
Package modelregistry provides a client for fetching per-provider model lists from a static JSON model registry server with in-memory caching.
Package modelregistry provides a client for fetching per-provider model lists from a static JSON model registry server with in-memory caching.
Package noninteractive provides utilities for detecting and handling provider-not-configured errors in non-interactive environments (daemons, CI, piped stdin).
Package noninteractive provides utilities for detecting and handling provider-not-configured errors in non-interactive environments (daemons, CI, piped stdin).
Package notify provides cross-platform OS-level desktop notifications.
Package notify provides cross-platform OS-level desktop notifications.
Package providercatalog is the curated UX layer for provider onboarding — friendly descriptions, signup URLs, API-key help text, recommended-model justifications.
Package providercatalog is the curated UX layer for provider onboarding — friendly descriptions, signup URLs, API-key help text, recommended-model justifications.
Remote provider cache and configuration.
Remote provider cache and configuration.
Package redact provides byte-oriented secret redaction for log files and other persisted artifacts.
Package redact provides byte-oriented secret redaction for log files and other persisted artifacts.
Package search provides cross-session search indexing capabilities.
Package search provides cross-session search indexing capabilities.
Package secretdetect provides secret detection backed by the gitleaks detection engine.
Package secretdetect provides secret detection backed by the gitleaks detection engine.
Package shelltext provides shared helpers for scanning shell command text: quote stripping, heredoc stripping, and git history-rewrite detection.
Package shelltext provides shared helpers for scanning shell command text: quote stripping, heredoc stripping, and git history-rewrite detection.
Package skills owns the catalogue of skills shipped with sprout.
Package skills owns the catalogue of skills shipped with sprout.
tensor module
Package testutil provides shared helpers for sprout's test suite.
Package testutil provides shared helpers for sprout's test suite.
Package training provides utilities for exporting session data into training-ready formats (ShareGPT, OpenAI fine-tuning JSONL, Alpaca).
Package training provides utilities for exporting session data into training-ready formats (ShareGPT, OpenAI fine-tuning JSONL, Alpaca).
ETH-2 "transactional escalation": the container-side execution surface of a three-phase transaction the platform drives against a workspace container — push deltas (browser→container), run a command, pull deltas (container→browser).
ETH-2 "transactional escalation": the container-side execution surface of a three-phase transaction the platform drives against a workspace container — push deltas (browser→container), run a command, pull deltas (container→browser).
Package utils provides error handling utilities and conventions for the codebase.
Package utils provides error handling utilities and conventions for the codebase.
console
Package console provides Windows console utilities shared between pkg/automate (StopProcess escalation) and pkg/agent_tools (interruptProcessGroup).
Package console provides Windows console utilities shared between pkg/automate (StopProcess escalation) and pkg/agent_tools (interruptProcessGroup).
pidalive
Package pidalive provides a single canonical answer to "is this PID alive?" for all of sprout.
Package pidalive provides a single canonical answer to "is this PID alive?" for all of sprout.
Package validation provides syntax validation using gofmt/goimports
Package validation provides syntax validation using gofmt/goimports
Package webui provides React web server with embedded assets
Package webui provides React web server with embedded assets

Jump to

Keyboard shortcuts

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