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

internal/

directory
v1.0.1 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 app is the composition root: it builds the real adapters from the configuration, connects them to the use cases, and hands back the HTTP handler.
Package app is the composition root: it builds the real adapters from the configuration, connects them to the use cases, and hands back the HTTP handler.
Package contract is the UI test contract between agent-web-ui and agent-eval: the hooks the evaluator relies on to drive and read the page.
Package contract is the UI test contract between agent-web-ui and agent-eval: the hooks the evaluator relies on to drive and read the page.
core
auth
Package auth implements signing in: checking credentials, starting and ending sessions, and creating the first account.
Package auth implements signing in: checking credentials, starting and ending sessions, and creating the first account.
chat
Package chat implements the chat use case: sending messages, regenerating replies and streaming the agent's answer.
Package chat implements the chat use case: sending messages, regenerating replies and streaming the agent's answer.
conversation
Package conversation implements listing, reading, renaming and deleting conversations.
Package conversation implements listing, reading, renaming and deleting conversations.
domain
Package domain holds the entities and rules of the chat application.
Package domain holds the entities and rules of the chat application.
port/resource
Package resource declares the outbound ports: what the core needs from the outside world (databases, the agent).
Package resource declares the outbound ports: what the core needs from the outside world (databases, the agent).
port/service
Package service declares the inbound ports: the use cases the HTTP adapter calls.
Package service declares the inbound ports: the use cases the HTTP adapter calls.
eval
core/domain
Package domain holds the evaluator's vocabulary: problems, attempts, what the browser observed, and the scorecards built from them.
Package domain holds the evaluator's vocabulary: problems, attempts, what the browser observed, and the scorecards built from them.
core/port/resource
Package resource declares what the evaluator needs from the outside world: where problems come from, the browser, and where results are kept.
Package resource declares what the evaluator needs from the outside world: where problems come from, the browser, and where results are kept.
core/port/service
Package service declares the evaluator's use cases: what the command line asks for.
Package service declares the evaluator's use cases: what the command line asks for.
core/probe
Package probe decides what the UI probes found.
Package probe decides what the UI probes found.
core/report
Package report turns attempts into scorecards and summaries.
Package report turns attempts into scorecards and summaries.
core/run
Package run asks problems through the browser and records what happened.
Package run asks problems through the browser and records what happened.
core/score
Package score grades answers and builds the prompt.
Package score grades answers and builds the prompt.
core/uicheck
Package uicheck judges one attempt's observations against the passive UI checks U-01 to U-08.
Package uicheck judges one attempt's observations against the passive UI checks U-01 to U-08.
infrastructure/config
Package config loads and validates the evaluator's settings.
Package config loads and validates the evaluator's settings.
infrastructure/devtools
Package devtools drives the Web UI through Chrome DevTools MCP: it starts the server, calls its tools, and reads what they print.
Package devtools drives the Web UI through Chrome DevTools MCP: it starts the server, calls its tools, and reads what they print.
infrastructure/gaia
Package gaia provides the evaluator's problems: GAIA from local parquet files (downloaded by fetch.go), and a synthetic set for the self-test.
Package gaia provides the evaluator's problems: GAIA from local parquet files (downloaded by fetch.go), and a synthetic set for the self-test.
infrastructure/safety
Package safety holds the checks that keep data and secrets out of places they must not go.
Package safety holds the checks that keep data and secrets out of places they must not go.
infrastructure/store
Package store keeps a run's files on disk: its results one row at a time, its description, what the probes found, its summaries and its evidence.
Package store keeps a run's files on disk: its results one row at a time, its description, what the probes found, its summaries and its evidence.
infrastructure/synthetic
Package synthetic holds the evaluator's self-test set: thirteen invented problems (none of it is GAIA content), the answers the scripted agent gives to them, and the results a correct evaluator must find.
Package synthetic holds the evaluator's self-test set: thirteen invented problems (none of it is GAIA content), the answers the scripted agent gives to them, and the results a correct evaluator must find.
infrastructure
agent/adkrest
Package adkrest is the driven adapter that talks to an agent through the ADK REST API: it creates sessions, runs a turn with server-sent events, and turns the stream into domain.AgentEvent values.
Package adkrest is the driven adapter that talks to an agent through the ADK REST API: it creates sessions, runs a turn with server-sent events, and turns the stream into domain.AgentEvent values.
api/web
Package web is the HTTP driving adapter: routes, middleware, handlers and server lifecycle.
Package web is the HTTP driving adapter: routes, middleware, handlers and server lifecycle.
api/web/render
Package render turns an agent's Markdown into safe HTML.
Package render turns an agent's Markdown into safe HTML.
api/web/render/cmd/chromacss command
Command chromacss writes the syntax-highlighting stylesheet.
Command chromacss writes the syntax-highlighting stylesheet.
auth
Package auth is the driven adapter for password hashing.
Package auth is the driven adapter for password hashing.
config
Package config loads and validates the Web UI configuration from the process environment, optionally backed by a .env file.
Package config loads and validates the Web UI configuration from the process environment, optionally backed by a .env file.
logging
Package logging builds the application logger.
Package logging builds the application logger.
postgres
Package postgres is the PostgreSQL driven adapter: connection pool, migrations and the stores that implement the core's resource ports.
Package postgres is the PostgreSQL driven adapter: connection pool, migrations and the stores that implement the core's resource ports.
platform
envcfg
Package envcfg reads settings from the process environment and a .env file, and holds the type that keeps a secret out of logs and error messages.
Package envcfg reads settings from the process environment and a .env file, and holds the type that keeps a secret out of logs and error messages.
redact
Package redact turns a struct into a view that a log can show: its exported fields as a slog group, with the ones that hold a secret hidden.
Package redact turns a struct into a view that a log can show: its exported fields as a slog group, with the ones that hold a secret hidden.
tmplcache
Package tmplcache keeps texts that are no Go code in files of their own, the SQL of a store or a prompt, and hands them out filled in.
Package tmplcache keeps texts that are no Go code in files of their own, the SQL of a store or a prompt, and hands them out filled in.
Package testagent is a scripted ADK agent for tests, Docker Compose and the evaluator's self-test.
Package testagent is a scripted ADK agent for tests, Docker Compose and the evaluator's self-test.

Jump to

Keyboard shortcuts

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