internal/

directory
v0.2.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0

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.
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.
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.
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.
team
Package team owns what a team's roles may do.
Package team owns what a team's roles may do.
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.
git
httpclient
Package httpclient decodes the error envelope the BuildMax server writes.
Package httpclient decodes the error envelope the BuildMax server writes.
k8s
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.
log
Package log configures the application's default slog logger.
Package log configures the application's default slog logger.
mcp
objectstore
Package objectstore provides pluggable blob storage for team workspace files and task-run artifacts.
Package objectstore provides pluggable blob storage for team 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.
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.
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.
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 team keeps.
Package artifact serves the durable files a team 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/team
Package team serves what a team owns: its membership, its agents, its webhook keys, its consumption, and its audit trail.
Package team serves what a team owns: its membership, its agents, its webhook keys, its consumption, and its audit trail.
handlers/work
Package work serves the surface a team 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 team 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 team's agent definitions.
Package agent owns the rules for a team's agent definitions.
artifact
Package artifact keeps durable files on a team's behalf.
Package artifact keeps durable files on a team'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 team's model alias to an operator-approved upstream target.
Package llmgateway resolves a team's model alias 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.
systemadmin
Package systemadmin owns who holds a deployment-scoped role.
Package systemadmin owns who holds a deployment-scoped role.
team
Package team owns membership rules: who is in a team, who may change that, and what a member may be.
Package team owns membership rules: who is in a team, who may change that, and what a member may be.
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.

Jump to

Keyboard shortcuts

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