Directories
¶
| Path | Synopsis |
|---|---|
|
Agent command for sprout
|
Agent command for sprout |
|
api_inventory
command
|
|
|
audit_pricing
command
|
|
|
benchmark-suite-check
command
Command benchmark-suite-check validates a benchmark task suite directory against the on-disk task fixture format, so a suite can be checked WITHOUT running the (priced) benchmark.
|
Command benchmark-suite-check validates a benchmark task suite directory against the on-disk task fixture format, so a suite can be checked WITHOUT running the (priced) benchmark. |
|
enrich_registry
command
Command enrich_registry annotates freshly-generated canonical model files with capability-probe results.
|
Command enrich_registry annotates freshly-generated canonical model files with capability-probe results. |
|
genapi
command
genapi writes the versioned OpenAPI contract (docs/api/openapi.yaml) from the Huma operations registered in pkg/webui.
|
genapi writes the versioned OpenAPI contract (docs/api/openapi.yaml) from the Huma operations registered in pkg/webui. |
|
generate_studio_providers
command
Command generate_studio_providers derives the STUDIO_PROVIDERS snapshot embedded in the studio bridge (sprout-studio/shared/studio-bridge.js) from the provider registry, eliminating the hand-maintained copy that had drifted from the real provider configs.
|
Command generate_studio_providers derives the STUDIO_PROVIDERS snapshot embedded in the studio bridge (sprout-studio/shared/studio-bridge.js) from the provider registry, eliminating the hand-maintained copy that had drifted from the real provider configs. |
|
model_probe
command
Command model_probe runs the capability probe against a single provider/model and prints the result as JSON.
|
Command model_probe runs the capability probe against a single provider/model and prints the result as JSON. |
|
model_registry_server
command
Command model_registry_server runs a lightweight static file server for serving per-provider model JSON files.
|
Command model_registry_server runs a lightweight static file server for serving per-provider model JSON files. |
|
refresh_provider_catalog
command
|
|
|
sync_provider_configs
command
Command sync_provider_configs updates the embedded provider config models.available_models field to match the canonical registry.
|
Command sync_provider_configs updates the embedded provider config models.available_models field to match the canonical registry. |
|
validate_registry
command
Command validate_registry checks every providers/*.json against the runtime schema before the publish workflow uploads to GitHub Pages.
|
Command validate_registry checks every providers/*.json against the runtime schema before the publish workflow uploads to GitHub Pages. |
|
wasm
command
|
|
|
internal
|
|
|
testgit
Package testgit redirects git's config lookup inside test binaries so a subprocess git call can never read or write the developer's real ~/.gitconfig or /etc/gitconfig.
|
Package testgit redirects git's config lookup inside test binaries so a subprocess git call can never read or write the developer's real ~/.gitconfig or /etc/gitconfig. |
|
pkg
|
|
|
agent
Package agent: delegation getters and setters for sub-managers.
|
Package agent: delegation getters and setters for sub-managers. |
|
agent/approvals
Package approvals: the ApprovalAgent seam (SP-141 phase 3, increment 5).
|
Package approvals: the ApprovalAgent seam (SP-141 phase 3, increment 5). |
|
agent/changes
Auto-skip learning for ChangeTracker shell-mutation tracking.
|
Auto-skip learning for ChangeTracker shell-mutation tracking. |
|
agent/subagents
Package subagents: the process-wide active-subagent counter and the terminal display-prefix builder (SP-141 phase 4, increment 1).
|
Package subagents: the process-wide active-subagent counter and the terminal display-prefix builder (SP-141 phase 4, increment 1). |
|
agent/workflow
Package workflow provides the in-process workflow runner for TODO-loop workflows.
|
Package workflow provides the in-process workflow runner for TODO-loop workflows. |
|
agent_api
Package agent_api: LM Studio model-list discovery.
|
Package agent_api: LM Studio model-list discovery. |
|
agent_audit
Package agent_audit defines the facts-only per-call audit events the agent emits for every model call and tool execution, and the process-wide sink that records them.
|
Package agent_audit defines the facts-only per-call audit events the agent emits for every model call and tool execution, and the process-wide sink that records them. |
|
agent_providers
provider_config_timeouts.go — timeout + limit accessor methods on ProviderConfig, split from provider_config.go.
|
provider_config_timeouts.go — timeout + limit accessor methods on ProviderConfig, split from provider_config.go. |
|
agent_tools
design_export_paths.go — output-path confinement + artifact-relocation helpers for the design_export_tokens handler, split from design_export_handler.go.
|
design_export_paths.go — output-path confinement + artifact-relocation helpers for the design_export_tokens handler, split from design_export_handler.go. |
|
agent_tools/computer_use
Package computer_use denylist loader.
|
Package computer_use denylist loader. |
|
apiconformance
Package apiconformance is the conformance suite for the versioned backend contract in docs/api/openapi.yaml.
|
Package apiconformance is the conformance suite for the versioned backend contract in docs/api/openapi.yaml. |
|
ast
Package ast (continued) — body extraction.
|
Package ast (continued) — body extraction. |
|
automate
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). |
|
benchmark
delegation.go — the benchmark's delegation axis: the run mode that selects how a run's work is delegated (coder only, worker delegation, or economy mode) and the per-run delegation metrics the report compares.
|
delegation.go — the benchmark's delegation axis: the run mode that selects how a run's work is delegated (coder only, worker delegation, or economy mode) and the per-run delegation metrics the report compares. |
|
buildinfo
Package buildinfo holds build-time metadata shared by the CLI, the WebUI bootstrap payload, and the update checker.
|
Package buildinfo holds build-time metadata shared by the CLI, the WebUI bootstrap payload, and the update checker. |
|
clihooks
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. |
|
cliui
Package cliui hosts the CLI terminal display helpers extracted from cmd/.
|
Package cliui hosts the CLI terminal display helpers extracted from cmd/. |
|
configuration
Package configuration: command categorization and force-flag detection.
|
Package configuration: command categorization and force-flag detection. |
|
console
Reasoning (collapsed "Thinking" header) methods for AssistantTurnRenderer, split from assistant_turn_renderer.go.
|
Reasoning (collapsed "Thinking" header) methods for AssistantTurnRenderer, split from assistant_turn_renderer.go. |
|
credentials
Encryption and decryption operations
|
Encryption and decryption operations |
|
daemon
Package daemon — Phase 2: Daemon lifecycle + auto-start machinery.
|
Package daemon — Phase 2: Daemon lifecycle + auto-start machinery. |
|
deploy
Cloudflare deploy adapter: ship a project to Cloudflare Pages (static output) or Cloudflare Workers (server-side code).
|
Cloudflare deploy adapter: ship a project to Cloudflare Pages (static output) or Cloudflare Workers (server-side code). |
|
deployconfig
Package deployconfig owns the schema for the deploy config: the machine-readable document stored at .sprout/deploy.json that names where a project ships, plus the validator every reader must run.
|
Package deployconfig owns the schema for the deploy config: the machine-readable document stored at .sprout/deploy.json that names where a project ships, plus the validator every reader must run. |
|
design
Package design defines the design workspace directory contract: the design/ tree layout, the manifest scaffold, and parsers for the machine-readable manifest blocks.
|
Package design defines the design workspace directory contract: the design/ tree layout, the manifest scaffold, and parsers for the machine-readable manifest blocks. |
|
envutil
Package envutil provides environment variable helpers with SPROUT_* prefix support.
|
Package envutil provides environment variable helpers with SPROUT_* prefix support. |
|
errclass
Package errclass classifies the raw output of a failed build, test, or run command into a small, closed set of categories and pairs it with a short explanation template.
|
Package errclass classifies the raw output of a failed build, test, or run command into a small, closed set of categories and pairs it with a short explanation template. |
|
errors
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. |
|
events
Event bus implementation
|
Event bus implementation |
|
git
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. |
|
health
Package health implements the on-demand project health check behind `sprout health`: it reports size and complexity signals for a project's source tree, near-duplicate functions, dependencies with newer versions available, and the project's failing build/test checks, and turns each concern into a finding that carries a small, separately approvable fix.
|
Package health implements the on-demand project health check behind `sprout health`: it reports size and complexity signals for a project's source tree, near-duplicate functions, dependencies with newer versions available, and the project's failing build/test checks, and turns each concern into a finding that carries a small, separately approvable fix. |
|
history
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. |
|
history/timeline
Package timeline builds a project timeline from the recorded history.
|
Package timeline builds a project timeline from the recorded history. |
|
langguard
Package langguard is the detection foundation of the outbound language guard (roadmap/SP-152-language-guard.md): it extracts prose from model messages, identifies the dominant writing script of that prose, and decides whether a message is long enough to judge at all.
|
Package langguard is the detection foundation of the outbound language guard (roadmap/SP-152-language-guard.md): it extracts prose from model messages, identifies the dominant writing script of that prose, and decides whether a message is long enough to judge at all. |
|
llmproxy
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. |
|
localmodel
Model download + on-disk config helpers (split from model.go).
|
Model download + on-disk config helpers (split from model.go). |
|
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. |
|
modelcontract
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. |
|
modelprobe
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. |
|
modelregistry
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. |
|
noninteractive
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). |
|
notify
Package notify provides cross-platform OS-level desktop notifications.
|
Package notify provides cross-platform OS-level desktop notifications. |
|
plancontract
Package plancontract owns the schema for structured plans: the machine-readable plan document stored at .sprout/plan.json (plus a rendered .sprout/plan.md view that is regenerated from the JSON on every write) and the validator that every reader and writer of that file must run.
|
Package plancontract owns the schema for structured plans: the machine-readable plan document stored at .sprout/plan.json (plus a rendered .sprout/plan.md view that is regenerated from the JSON on every write) and the validator that every reader and writer of that file must run. |
|
planstore
Package planstore is the file-system-facing half of the structured plan: it reads and writes the machine-readable plan document stored at .sprout/plan.json and the rendered .sprout/plan.md view.
|
Package planstore is the file-system-facing half of the structured plan: it reads and writes the machine-readable plan document stored at .sprout/plan.json and the rendered .sprout/plan.md view. |
|
preview
Package preview is the preview backend: it starts or detects the project's dev server from the starter manifest's dev command and port (loaded through pkg/starterstore), and tracks the server's lifecycle — starting, running, stopped, failed — for the preview pane's presentational component.
|
Package preview is the preview backend: it starts or detects the project's dev server from the starter manifest's dev command and port (loaded through pkg/starterstore), and tracks the server's lifecycle — starting, running, stopped, failed — for the preview pane's presentational component. |
|
providercatalog
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. |
|
providerregistry
Remote provider cache and configuration.
|
Remote provider cache and configuration. |
|
redact
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. |
|
repo
Package repo holds the public repository's URL — the single source of truth shared by the CLI (`sprout bug`) and any other Go-side consumer that needs to link to the project.
|
Package repo holds the public repository's URL — the single source of truth shared by the CLI (`sprout bug`) and any other Go-side consumer that needs to link to the project. |
|
runner
Package runner implements `sprout runner`: a user's own machine executing the browser build's escalated work for their platform account (SP-159).
|
Package runner implements `sprout runner`: a user's own machine executing the browser build's escalated work for their platform account (SP-159). |
|
runner/relay
Package relay carries HTTP exchanges over one WebSocket between the platform and a runner behind NAT (platform SP-BUILDER-13, sprout SP-159).
|
Package relay carries HTTP exchanges over one WebSocket between the platform and a runner behind NAT (platform SP-BUILDER-13, sprout SP-159). |
|
runner/sandbox
Package sandbox confines a runner workspace's processes in native mode (SP-159 §159c): host toolchains under the OS sandbox — Seatbelt on macOS, bubblewrap on Linux.
|
Package sandbox confines a runner workspace's processes in native mode (SP-159 §159c): host toolchains under the OS sandbox — Seatbelt on macOS, bubblewrap on Linux. |
|
search
Package search provides cross-session search indexing capabilities.
|
Package search provides cross-session search indexing capabilities. |
|
secretdetect
Package secretdetect provides secret detection backed by the gitleaks detection engine.
|
Package secretdetect provides secret detection backed by the gitleaks detection engine. |
|
shelltext
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. |
|
skills
Package skills owns the catalogue of skills shipped with sprout.
|
Package skills owns the catalogue of skills shipped with sprout. |
|
startermanifest
Package startermanifest owns the schema for the starter manifest: the machine-readable document stored at .sprout/starter.json that declares how a project is built and run, plus the validator that every reader and writer of that file must run.
|
Package startermanifest owns the schema for the starter manifest: the machine-readable document stored at .sprout/starter.json that declares how a project is built and run, plus the validator that every reader and writer of that file must run. |
|
starters
Package starters owns the embedded, versioned starter trees that sprout ships and the discovery entry points over them.
|
Package starters owns the embedded, versioned starter trees that sprout ships and the discovery entry points over them. |
|
starterstore
Package starterstore is the file-system-facing half of the starter manifest: it reads the machine-readable document stored at .sprout/starter.json under a project root.
|
Package starterstore is the file-system-facing half of the starter manifest: it reads the machine-readable document stored at .sprout/starter.json under a project root. |
|
testutil
Package testutil provides shared helpers for sprout's test suite.
|
Package testutil provides shared helpers for sprout's test suite. |
|
training
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). |
|
txn
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). |
|
updatecheck
Package updatecheck implements the passive "new release available" check: it throttles GitHub release lookups to once per check interval, caches the result in the sprout state directory, and answers "is there a newer version than X" for the CLI notice and the WebUI banner.
|
Package updatecheck implements the passive "new release available" check: it throttles GitHub release lookups to once per check interval, caches the result in the sprout state directory, and answers "is there a newer version than X" for the CLI notice and the WebUI banner. |
|
utils
Package utils provides error handling utilities and conventions for the codebase.
|
Package utils provides error handling utilities and conventions for the codebase. |
|
utils/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). |
|
utils/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. |
|
utils/shellexec
Package shellexec builds the *exec.Cmd that runs a command line through the user's shell.
|
Package shellexec builds the *exec.Cmd that runs a command line through the user's shell. |
|
validation
Package validation provides syntax validation using gofmt/goimports
|
Package validation provides syntax validation using gofmt/goimports |
|
verify
Package verify implements the verification check runner for the "build", "test", "page", and "interaction" check kinds: after a turn that changed application code, the runtime (not the model) runs the project's build and test commands, and — for page and interaction checks — starts the app from the manifest's dev command and port and drives a headless browser: page checks open each listed route and fail on console errors, while interaction checks run the plan's scripted browser steps and confirm the expected outcome.
|
Package verify implements the verification check runner for the "build", "test", "page", and "interaction" check kinds: after a turn that changed application code, the runtime (not the model) runs the project's build and test commands, and — for page and interaction checks — starts the app from the manifest's dev command and port and drives a headless browser: page checks open each listed route and fail on console errors, while interaction checks run the plan's scripted browser steps and confirm the expected outcome. |
|
webcontent
browser_rod_discovery.go — GPU probe + system browser discovery, split from browser_rod_launch.go.
|
browser_rod_discovery.go — GPU probe + system browser discovery, split from browser_rod_launch.go. |
|
webui
Design status endpoint — SP-140-6 §6b.
|
Design status endpoint — SP-140-6 §6b. |
|
gomlx
module
|
|
|
tensor
module
|
|
|
test
|
|
|
webui/fixtures/designtokencss
command
Command designtokencss regenerates design/generated/tokens.css for a workspace root — exactly the design_export_tokens css target (design.ResolveExportTokens + RenderArtifacts + WriteExportedArtifactsAt).
|
Command designtokencss regenerates design/generated/tokens.css for a workspace root — exactly the design_export_tokens css target (design.ResolveExportTokens + RenderArtifacts + WriteExportedArtifactsAt). |
Click to show internal directories.
Click to hide internal directories.