small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
README.md

Albedo CLI #

The Go client provides the terminal client, command-line workflows, ACP adapter, and local web server for the daemon.

Build or install all five executables with go build -o bin/ ./cmd/albedo... or go install ./cmd/albedo... from this directory. Keep them together. The dispatcher finds the other executables beside its own file when it needs them. A missing executable exits with code 127. An executable that cannot start exits with code 126. Help text uses the command you ran, such as albedo web or albedo-web.

  • cmd/albedo builds the albedo executable. internal/cli parses commands and dispatches application workflows.
  • albedo-tui owns interactive open, new, resume and login.
  • albedo-web serves the browser client and albedo-acp serves editor stdio.
  • albedo-server replaces itself with the selected foreground Gleam runtime. albedo daemon manages the lifecycle.
  • internal/tui owns the interactive terminal application. internal/daemon adapts the daemon HTTP and event protocols.
  • internal/acp runs the line-delimited JSON-RPC editor adapter through albedo acp.
  • internal/webui serves the browser client through albedo web and forwards authenticated API requests.
  • tools/apigen generates wire code. cmd/tuifixture captures transcript fixtures for TUI benchmarks.

See the tui reference.