internal/

directory
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package casenc encodes tool bodies for the content-addressed store.
Package casenc encodes tool bodies for the content-addressed store.
client
daemon
Package daemon runs the watch loop as a background process and enforces a single running instance per machine.
Package daemon runs the watch loop as a background process and enforces a single running instance per machine.
discover
Package discover enumerates agent session files from each agent's known roots.
Package discover enumerates agent session files from each agent's known roots.
resolve
Package resolve turns a discovered session file into the project it belongs to.
Package resolve turns a discovered session file into the project it belongs to.
syncer
Package syncer combines resolution and upload for a single session file.
Package syncer combines resolution and upload for a single session file.
upload
Package upload drives the ingest protocol from the client side, statelessly.
Package upload drives the ingest protocol from the client side, statelessly.
watch
Package watch keeps session files synced continuously.
Package watch keeps session files synced continuously.
Package config loads akari-server configuration.
Package config loads akari-server configuration.
Package devseed fills a local akari server with realistic example data for development.
Package devseed fills a local akari server with realistic example data for development.
Package durationfmt formats a session's wall-clock span for display.
Package durationfmt formats a session's wall-clock span for display.
Package gitremote canonicalizes a git origin URL into akari's project key: a stable "authority/owner/.../repo" string that is identical across machines, clone URLs (ssh, https, scp-like), and worktrees.
Package gitremote canonicalizes a git origin URL into akari's project key: a stable "authority/owner/.../repo" string that is identical across machines, clone URLs (ssh, https, scp-like), and worktrees.
Package guide is akari's self-hosted user guide: the Markdown chapters, the ordered chapter registry, and the rendering that turns them into the HTML the web layer shows and the plain-text forms an agent ingests.
Package guide is akari's self-hosted user guide: the Markdown chapters, the ordered chapter registry, and the rendering that turns them into the HTML the web layer shows and the plain-text forms an agent ingests.
Package parser turns the raw bytes of an agent session file into akari's normalized projection: ordered messages, tool calls, and token usage.
Package parser turns the raw bytes of an agent session file into akari's normalized projection: ordered messages, tool calls, and token usage.
Package pricing computes session cost from a model rate table compiled into the binary.
Package pricing computes session cost from a model rate table compiled into the binary.
Package quality turns a session's behavioral signals into an outcome classification and a 0-100 quality score with an A-F grade.
Package quality turns a session's behavioral signals into an outcome classification and a 0-100 quality score with an A-F grade.
Package selfupdate resolves and downloads akari client releases from GitHub so the client can update itself in place.
Package selfupdate resolves and downloads akari client releases from GitHub so the client can update itself in place.
server
auth
Package auth holds akari-server's credential primitives: argon2id password hashing, opaque token and id generation, and token hashing.
Package auth holds akari-server's credential primitives: argon2id password hashing, opaque token and id generation, and token hashing.
httpapi
Package httpapi wires akari-server's HTTP surface: authentication, account and token management, and the session ingest protocol.
Package httpapi wires akari-server's HTTP surface: authentication, account and token management, and the session ingest protocol.
mcpserver
Package mcpserver builds the read-only Model Context Protocol surface akari exposes to coding agents.
Package mcpserver builds the read-only Model Context Protocol surface akari exposes to coding agents.
ogimage
Package ogimage renders the Open Graph preview card for a published usage overview: a 1200x630 PNG a link unfurler (Slack, Discord, iMessage, and the like) shows when someone shares a /u/<username> link.
Package ogimage renders the Open Graph preview card for a published usage overview: a 1200x630 PNG a link unfurler (Slack, Discord, iMessage, and the like) shows when someone shares a /u/<username> link.
parse
Package parse is the server-side pipeline that turns a session's stored raw bytes into the queryable projection.
Package parse is the server-side pipeline that turns a session's stored raw bytes into the queryable projection.
requestbudget
Package requestbudget bounds expensive request work across an akari process.
Package requestbudget bounds expensive request work across an akari process.
store
Package store is the akari-server data layer: a Postgres connection pool, the startup migration runner, and the query methods the rest of the server uses.
Package store is the akari-server data layer: a Postgres connection pool, the startup migration runner, and the query methods the rest of the server uses.
storetest
Package storetest provisions throwaway, fully isolated Postgres databases for the akari server's integration tests.
Package storetest provisions throwaway, fully isolated Postgres databases for the akari server's integration tests.
web
Package web holds akari's server-rendered UI: templ templates and the small view-model helpers they use.
Package web holds akari's server-rendered UI: templ templates and the small view-model helpers they use.
Package shutdown turns the first interrupt into a graceful stop and the second into an immediate exit.
Package shutdown turns the first interrupt into a graceful stop and the second into an immediate exit.
Package version reports the build version of the akari binaries.
Package version reports the build version of the akari binaries.

Jump to

Keyboard shortcuts

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