pkg/

directory
v0.17.8 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT

Directories

Path Synopsis
Package agent: delegation getters and setters for sub-managers (split from agent_getters.go)
Package agent: delegation getters and setters for sub-managers (split from agent_getters.go)
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.
Package credentials provides unified credential resolution for all providers.
Package credentials provides unified credential resolution for all providers.
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.
Package events provides event system for sprout UI architecture
Package events provides event system for sprout UI architecture
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.
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.
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.
Package providerregistry provides a client for fetching provider connection configs from a remote JSON registry server with in-memory caching.
Package providerregistry provides a client for fetching provider connection configs from a remote JSON registry server with in-memory caching.
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 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).
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