Directories
¶
| Path | Synopsis |
|---|---|
|
job
Package job owns the local background jobs of one AgentApp: identity, state, bounded output, stop, lifecycle events, and shutdown.
|
Package job owns the local background jobs of one AgentApp: identity, state, bounded output, stop, lifecycle events, and shutdown. |
|
taskrun
Package taskrun provides task-run execution.
|
Package taskrun provides task-run execution. |
|
Package bootstrap wires process startup dependencies.
|
Package bootstrap wires process startup dependencies. |
|
Package config provides configuration loading and defaults.
|
Package config provides configuration loading and defaults. |
|
core
|
|
|
agent
Package agent provides the core AI agent logic: task planning, tool invocation, and conversation.
|
Package agent provides the core AI agent logic: task planning, tool invocation, and conversation. |
|
apierr
Package apierr is the vocabulary a service uses to say why it refused.
|
Package apierr is the vocabulary a service uses to say why it refused. |
|
hook
Package hook holds the shape of a hooks configuration block and the naming its events and transports use.
|
Package hook holds the shape of a hooks configuration block and the naming its events and transports use. |
|
llm
Package llm holds LLM wire types and the Tool contract used across core services and agent execution.
|
Package llm holds LLM wire types and the Tool contract used across core services and agent execution. |
|
localproject
Package localproject owns the local Project: the stable identity that groups the sessions of one local unit of work across CLI, TUI, and Desktop, and that will own the first cross-session memory scope.
|
Package localproject owns the local Project: the stable identity that groups the sessions of one local unit of work across CLI, TUI, and Desktop, and that will own the first cross-session memory scope. |
|
mcp
Package mcp holds the shape of an mcp.json document and the rules a server definition must satisfy.
|
Package mcp holds the shape of an mcp.json document and the rules a server definition must satisfy. |
|
plugin
Package plugin owns the plugin manifest: its format, its rules, and the version arithmetic that decides whether a build may run a release.
|
Package plugin owns the plugin manifest: its format, its rules, and the version arithmetic that decides whether a build may run a release. |
|
schema
Package schema is what a database says has been done to it.
|
Package schema is what a database says has been done to it. |
|
secret
Package secret owns the Space Secret domain: a Space-owned group of named items, its lifecycle, and the store contract.
|
Package secret owns the Space Secret domain: a Space-owned group of named items, its lifecycle, and the store contract. |
|
session
Package session provides the core session model: identity, the linked history journal, the reducer that replays it, recovery analysis, and the persistence seam.
|
Package session provides the core session model: identity, the linked history journal, the reducer that replays it, recovery analysis, and the persistence seam. |
|
space
Package space owns what a space's roles may do.
|
Package space owns what a space's roles may do. |
|
subagent
Package subagent holds the shape of a subagent definition file and the rules its frontmatter must satisfy.
|
Package subagent holds the shape of a subagent definition file and the rules its frontmatter must satisfy. |
|
e2e
|
|
|
cli
Package clie2e drives the built CLI binary end to end against a scripted model.
|
Package clie2e drives the built CLI binary end to end against a scripted model. |
|
infra
|
|
|
db
Package db provides persistence for BuildMax backend entities (MySQL via GORM).
|
Package db provides persistence for BuildMax backend entities (MySQL via GORM). |
|
flock
Package flock is an advisory file lock that the operating system releases when the holding process exits.
|
Package flock is an advisory file lock that the operating system releases when the holding process exits. |
|
httpclient
Package httpclient decodes the error envelope the BuildMax server writes.
|
Package httpclient decodes the error envelope the BuildMax server writes. |
|
llm
Package llm implements the core/llm.LLMClient contract over the LLM wire protocols BuildMax speaks: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and Ollama's native local API.
|
Package llm implements the core/llm.LLMClient contract over the LLM wire protocols BuildMax speaks: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, and Ollama's native local API. |
|
llmremote
Package llmremote implements the core LLM contract against a BuildMax managed gateway instead of a provider.
|
Package llmremote implements the core LLM contract against a BuildMax managed gateway instead of a provider. |
|
llmwire
Package llmwire is the versioned wire contract for BuildMax managed inference.
|
Package llmwire is the versioned wire contract for BuildMax managed inference. |
|
localprojectstore
Package localprojectstore is the file backend for local Projects: the bundle under projects/<project_id>/, the rebuildable catalog projection beside it, and the writer lock that serializes changes to either.
|
Package localprojectstore is the file backend for local Projects: the bundle under projects/<project_id>/, the rebuildable catalog projection beside it, and the writer lock that serializes changes to either. |
|
log
Package log configures the application's default slog logger.
|
Package log configures the application's default slog logger. |
|
objectstore
Package objectstore provides pluggable blob storage for space workspace files and task-run artifacts.
|
Package objectstore provides pluggable blob storage for space workspace files and task-run artifacts. |
|
pluginarchive
Package archive packs and extracts a plugin package.
|
Package archive packs and extracts a plugin package. |
|
pluginwire
Package pluginwire is the wire contract for the private plugin Marketplace.
|
Package pluginwire is the wire contract for the private plugin Marketplace. |
|
proc
Package proc starts and supervises the OS processes behind local background jobs: process-group spawning, bounded output capture, and process-tree termination.
|
Package proc starts and supervises the OS processes behind local background jobs: process-group spawning, bounded output capture, and process-tree termination. |
|
sandbox
Package sandbox provides the OS-level bash subprocess sandbox.
|
Package sandbox provides the OS-level bash subprocess sandbox. |
|
secret
Package secret implements the cryptography behind Space Secrets: envelope encryption of a Secret's item map, and the key-encryption-key providers that wrap the per-write data keys.
|
Package secret implements the cryptography behind Space Secrets: envelope encryption of a Secret's item map, and the key-encryption-key providers that wrap the per-write data keys. |
|
sessionstore
Package sessionstore is the file backend for local sessions: the JSONL journal codec, the single-writer lock, and tail repair.
|
Package sessionstore is the file backend for local sessions: the JSONL journal codec, the single-writer lock, and tail repair. |
|
trace
Package trace persists a durable, bounded, redacted record of a single Agent run by consuming the core/agent event stream.
|
Package trace persists a durable, bounded, redacted record of a single Agent run by consuming the core/agent event stream. |
|
workerclient
Package workerclient defines the worker API client and HTTP contract types.
|
Package workerclient defines the worker API client and HTTP contract types. |
|
wsarchive
Package wsarchive encodes and decodes a Task workspace checkpoint's payload: one Zstandard-compressed tar archive, format tar.zst.v1.
|
Package wsarchive encodes and decodes a Task workspace checkpoint's payload: one Zstandard-compressed tar archive, format tar.zst.v1. |
|
interface
|
|
|
auth
Package auth provides credential persistence and renewal for the BuildMax client.
|
Package auth provides credential persistence and renewal for the BuildMax client. |
|
cli
Package cli: root and subcommands for the BuildMax CLI.
|
Package cli: root and subcommands for the BuildMax CLI. |
|
client
Package client provides an HTTP client for the BuildMax server API.
|
Package client provides an HTTP client for the BuildMax server API. |
|
desktop
Package desktop implements the BuildMax desktop app (Wails) and is used by cmd/buildmax-desktop.
|
Package desktop implements the BuildMax desktop app (Wails) and is used by cmd/buildmax-desktop. |
|
pluginmgr
Package pluginmgr installs plugins from a deployment's Marketplace.
|
Package pluginmgr installs plugins from a deployment's Marketplace. |
|
slashcmd
Package slashcmd is the single source of truth for the runtime chat's slash-command set.
|
Package slashcmd is the single source of truth for the runtime chat's slash-command set. |
|
Package mock provides test-only in-memory implementations for unit tests.
|
Package mock provides test-only in-memory implementations for unit tests. |
|
Package server provides the HTTP server for BuildMax.
|
Package server provides the HTTP server for BuildMax. |
|
access
Package access owns who a caller is and what they may do.
|
Package access owns who a caller is and what they may do. |
|
authtoken
Package authtoken signs and verifies the run token a worker presents to the managed LLM gateway.
|
Package authtoken signs and verifies the run token a worker presents to the managed LLM gateway. |
|
handlers/admin
Package admin serves the deployment-scoped routes.
|
Package admin serves the deployment-scoped routes. |
|
handlers/artifact
Package artifact serves the durable files a space keeps.
|
Package artifact serves the durable files a space keeps. |
|
handlers/auditexport
Package auditexport streams the audit trail as CSV.
|
Package auditexport streams the audit trail as CSV. |
|
handlers/auth
Package auth serves the routes that establish a session.
|
Package auth serves the routes that establish a session. |
|
handlers/llmhttp
Package llmhttp presents the managed gateway over HTTP.
|
Package llmhttp presents the managed gateway over HTTP. |
|
handlers/runterminal
Package runterminal announces a task run that reached a terminal status.
|
Package runterminal announces a task run that reached a terminal status. |
|
handlers/space
Package space serves what a space owns: its membership, its agents, its webhook keys, its consumption, and its audit trail.
|
Package space serves what a space owns: its membership, its agents, its webhook keys, its consumption, and its audit trail. |
|
handlers/work
Package work serves the surface a space does its work on: issues and their comments, workflows, tasks and the runs that execute them, the conversations that start them, and the files and traces they leave behind.
|
Package work serves the surface a space does its work on: issues and their comments, workflows, tasks and the runs that execute them, the conversations that start them, and the files and traces they leave behind. |
|
handlers/worker
Package worker serves the routes a running worker calls back on.
|
Package worker serves the routes a running worker calls back on. |
|
scheduler
Package scheduler provides task run scheduling.
|
Package scheduler provides task run scheduling. |
|
turnqueue
Package turnqueue serializes the turns of one conversation.
|
Package turnqueue serializes the turns of one conversation. |
|
websocket
Package streamhub provides task-scoped stream buffers for worker-push and client subscribe (SSE).
|
Package streamhub provides task-scoped stream buffers for worker-push and client subscribe (SSE). |
|
service
|
|
|
agent
Package agent owns the rules for a space's agent definitions.
|
Package agent owns the rules for a space's agent definitions. |
|
artifact
Package artifact keeps durable files on a space's behalf.
|
Package artifact keeps durable files on a space's behalf. |
|
audit
Package audit records that a sensitive action happened.
|
Package audit records that a sensitive action happened. |
|
identity
Package identity owns what proves who a caller is.
|
Package identity owns what proves who a caller is. |
|
llmcatalog
Package llmcatalog owns what a deployment's model catalog will accept and what changing it records.
|
Package llmcatalog owns what a deployment's model catalog will accept and what changing it records. |
|
llmgateway
Package llmgateway resolves a model name to an operator-approved upstream target.
|
Package llmgateway resolves a model name to an operator-approved upstream target. |
|
plugin
Package plugin owns publication and the catalog lifecycle for the private Marketplace.
|
Package plugin owns publication and the catalog lifecycle for the private Marketplace. |
|
plugininspect
Package inspect derives a bounded, sanitized description of what a plugin package contributes.
|
Package inspect derives a bounded, sanitized description of what a plugin package contributes. |
|
secret
Package secret is the Space Secret lifecycle service: it validates a Secret's items, seals them through a Sealer, and stores metadata plus sealed bytes.
|
Package secret is the Space Secret lifecycle service: it validates a Secret's items, seals them through a Sealer, and stores metadata plus sealed bytes. |
|
space
Package space owns membership rules: who is in a space, who may change that, and what a member may be.
|
Package space owns membership rules: who is in a space, who may change that, and what a member may be. |
|
systemadmin
Package systemadmin owns who holds a deployment-scoped role.
|
Package systemadmin owns who holds a deployment-scoped role. |
|
workspace
Package workspace owns the cross-storage commit of a Task workspace checkpoint: it validates a captured payload's descriptor, confirms the immutable bytes are already durable in the payload store, and only then records the authoritative metadata pointer through the metadata store.
|
Package workspace owns the cross-storage commit of a Task workspace checkpoint: it validates a captured payload's descriptor, confirms the immutable bytes are already durable in the payload store, and only then records the authoritative metadata pointer through the metadata store. |
|
Package testsupport holds helpers that exist only for tests.
|
Package testsupport holds helpers that exist only for tests. |
|
mockllm
Package mockllm serves scripted model replies over the three wire protocols BuildMax speaks, so an end-to-end suite can drive a real run without a provider, a key, or a paid call.
|
Package mockllm serves scripted model replies over the three wire protocols BuildMax speaks, so an end-to-end suite can drive a real run without a provider, a key, or a paid call. |
|
Package tool provides concrete agent tools.
|
Package tool provides concrete agent tools. |
|
Package util contains small, cross-layer helpers with no business ownership.
|
Package util contains small, cross-layer helpers with no business ownership. |
|
secretscan
Package secretscan recognizes common secret shapes in free text.
|
Package secretscan recognizes common secret shapes in free text. |
Click to show internal directories.
Click to hide internal directories.