Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT

Directories

Path Synopsis
Package api serves the OpenAI-compatible HTTP surface (/v1/...).
Package api serves the OpenAI-compatible HTTP surface (/v1/...).
Package app wires the database, domain service, HTTP surfaces and the TUI into the running server.
Package app wires the database, domain service, HTTP surfaces and the TUI into the running server.
Package cli is the switchboard command line.
Package cli is the switchboard command line.
Package control exposes authenticated administration for remote CLI clients.
Package control exposes authenticated administration for remote CLI clients.
Package core implements Switchboard's domain: API keys, agent tokens and OAuth, channels, the request broker (queue, claims, leases, streaming), conversation reconstruction, sessions and statistics.
Package core implements Switchboard's domain: API keys, agent tokens and OAuth, channels, the request broker (queue, claims, leases, streaming), conversation reconstruction, sessions and statistics.
db
Package db opens the SQLite database and applies embedded migrations.
Package db opens the SQLite database and applies embedded migrations.
Package events is the in-process event bus: every state change in the system is published here, persisted to the events table (unless ephemeral) and fanned out to live subscribers (dashboard SSE, TUI).
Package events is the in-process event bus: every state change in the system is published here, persisted to the events table (unless ephemeral) and fanned out to live subscribers (dashboard SSE, TUI).
Package ids generates prefixed, time-sortable identifiers.
Package ids generates prefixed, time-sortable identifiers.
Package mcpserver exposes the request outbox to agents over MCP (Streamable HTTP) with bearer-token authentication.
Package mcpserver exposes the request outbox to agents over MCP (Streamable HTTP) with bearer-token authentication.
Package oauth implements the OAuth 2.1 authorization server that MCP clients use to obtain bearer tokens: RFC 8414 / RFC 9728 metadata, RFC 7591 dynamic client registration, PKCE authorization code and refresh token grants, and RFC 7009 revocation.
Package oauth implements the OAuth 2.1 authorization server that MCP clients use to obtain bearer tokens: RFC 8414 / RFC 9728 metadata, RFC 7591 dynamic client registration, PKCE authorization code and refresh token grants, and RFC 7009 revocation.
Package openai holds the OpenAI-compatible wire types, parsing and response builders, plus the message normalization used to reconstruct conversations across requests.
Package openai holds the OpenAI-compatible wire types, parsing and response builders, plus the message normalization used to reconstruct conversations across requests.
Package secret generates and hashes credentials.
Package secret generates and hashes credentials.
Package testdb isolates backend tests in a temporary SQLite file or PostgreSQL schema.
Package testdb isolates backend tests in a temporary SQLite file or PostgreSQL schema.
Package tui is the terminal status screen shown while the server runs.
Package tui is the terminal status screen shown while the server runs.
Package updater discovers release updates and verifies/install binaries.
Package updater discovers release updates and verifies/install binaries.
Package version holds build metadata injected via -ldflags.
Package version holds build metadata injected via -ldflags.
Package web is the operator dashboard: server-rendered HTML with HTMX for partial updates and an SSE feed for live refresh.
Package web is the operator dashboard: server-rendered HTML with HTMX for partial updates and an SSE feed for live refresh.

Jump to

Keyboard shortcuts

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