Directories
¶
| Path | Synopsis |
|---|---|
|
Package auth owns multi-tenant identity: user records, passkey credentials, sessions, invites, and role-based authorization.
|
Package auth owns multi-tenant identity: user records, passkey credentials, sessions, invites, and role-based authorization. |
|
blob
Package blob is the storage contract the auth domain is written against, and nothing else.
|
Package blob is the storage contract the auth domain is written against, and nothing else. |
|
blob/blobtest
Package blobtest is the conformance suite for blob.Blobs implementations.
|
Package blobtest is the conformance suite for blob.Blobs implementations. |
|
blob/s3blob
Package s3blob implements blob.Blobs over an S3-compatible object store: AWS S3, Cloudflare R2, MinIO, Tigris, anything speaking the same API.
|
Package s3blob implements blob.Blobs over an S3-compatible object store: AWS S3, Cloudflare R2, MinIO, Tigris, anything speaking the same API. |
|
internal/ratelimit
Package ratelimit is a per-key token-bucket limiter.
|
Package ratelimit is a per-key token-bucket limiter. |
|
oauth
Package oauth is a minimal OAuth 2.1 authorization server for fronting an MCP endpoint.
|
Package oauth is a minimal OAuth 2.1 authorization server for fronting an MCP endpoint. |
|
cmd
|
|
|
topbanana
command
|
|
|
internal
|
|
|
agent
Package agent wires the ADK runner, tools, and system prompt for a single build.
|
Package agent wires the ADK runner, tools, and system prompt for a single build. |
|
archive
Package archive is the tar+zstd codec shared by internal/snapshot (per-site version history) and internal/portable (cross-instance export/import).
|
Package archive is the tar+zstd codec shared by internal/snapshot (per-site version history) and internal/portable (cross-instance export/import). |
|
assets
Package assets embeds the self-contained CSS substrate that replaces the former CDN-loaded Tailwind + daisyUI design system.
|
Package assets embeds the self-contained CSS substrate that replaces the former CDN-loaded Tailwind + daisyUI design system. |
|
build
Package build orchestrates the per-slug build lifecycle: seed the template skeleton, run the agent, lint and retry on failures, and persist the per-site metadata sidecar.
|
Package build orchestrates the per-slug build lifecycle: seed the template skeleton, run the agent, lint and retry on failures, and persist the per-site metadata sidecar. |
|
compressutil
Package compressutil wraps klauspost/compress/zstd with two helpers used by every package that compresses bytes at rest in S3 (editrec transcripts, site files via the store layer, future callers).
|
Package compressutil wraps klauspost/compress/zstd with two helpers used by every package that compresses bytes at rest in S3 (editrec transcripts, site files via the store layer, future callers). |
|
docs
Package docs embeds a keyword-searchable copy of the daisyUI component reference (daisyUI's official, self-contained llms.txt) so the build agent can look up class names and modifiers on demand instead of guessing or reaching for a web search.
|
Package docs embeds a keyword-searchable copy of the daisyUI component reference (daisyUI's official, self-contained llms.txt) so the build agent can look up class names and modifiers on demand instead of guessing or reaching for a web search. |
|
domaddr
Package domaddr gives every element in a stored HTML document a stable address: its index in tokenizer document order.
|
Package domaddr gives every element in a stored HTML document a stable address: its index in tokenizer document order. |
|
editrec
Package editrec captures per-edit transcripts: every agent tool call plus before/after snapshots of any file the agent mutated.
|
Package editrec captures per-edit transcripts: every agent tool call plus before/after snapshots of any file the agent mutated. |
|
events
Package events provides an in-process pub/sub tracker for build lifecycle events.
|
Package events provides an in-process pub/sub tracker for build lifecycle events. |
|
guide
Package guide implements the owner-facing, fully deterministic "is my site complete?" checklist.
|
Package guide implements the owner-facing, fully deterministic "is my site complete?" checklist. |
|
lint
Package lint validates generated HTML — parse errors, broken relative links, broken anchor fragments, and per-template invariants.
|
Package lint validates generated HTML — parse errors, broken relative links, broken anchor fragments, and per-template invariants. |
|
model
Package model resolves a provider/model string to an ADK LLM.
|
Package model resolves a provider/model string to an ADK LLM. |
|
photowall
Package photowall is the domain model for the event-photo-wall feature: visitor-uploaded photos held for owner approval, then shown on a rotating full-screen display.
|
Package photowall is the domain model for the event-photo-wall feature: visitor-uploaded photos held for owner approval, then shown on a rotating full-screen display. |
|
portable
Package portable encodes and decodes the cross-instance site archive used by the workspace Export tool and the landing-page Import flow.
|
Package portable encodes and decodes the cross-instance site archive used by the workspace Export tool and the landing-page Import flow. |
|
quotas
Package quotas is topbanana's per-user policy: how many sites someone may own and which LLM model each agent tier uses for them.
|
Package quotas is topbanana's per-user policy: how many sites someone may own and which LLM model each agent tier uses for them. |
|
sandbox
Package sandbox runs user-authored JavaScript handlers (the bodies of /api/* requests) inside a goja Runtime with no host I/O. The agent writes these handlers; this package is what makes them safe to execute.
|
Package sandbox runs user-authored JavaScript handlers (the bodies of /api/* requests) inside a goja Runtime with no host I/O. The agent writes these handlers; this package is what makes them safe to execute. |
|
server
Package server is the HTTP layer — Echo routes, handlers, template rendering, the subdomain proxy, request validation, and upload handling.
|
Package server is the HTTP layer — Echo routes, handlers, template rendering, the subdomain proxy, request validation, and upload handling. |
|
snapshot
Package snapshot captures and restores the full S3 state of a site as a single tar+zstd archive.
|
Package snapshot captures and restores the full S3 state of a site as a single tar+zstd archive. |
|
state
Package state is the per-site key-value store backing the sandbox's `kv.*` API.
|
Package state is the per-site key-value store backing the sandbox's `kv.*` API. |
|
storetest
Package storetest provides the shared test helpers for constructing a store.Store and unique per-test slugs.
|
Package storetest provides the shared test helpers for constructing a store.Store and unique per-test slugs. |
|
textedit
Package textedit holds the pure string transforms and path/name validation shared by the in-process build agent (internal/agent) and the external MCP editing surface (internal/server).
|
Package textedit holds the pure string transforms and path/name validation shared by the in-process build agent (internal/agent) and the external MCP editing surface (internal/server). |
Click to show internal directories.
Click to hide internal directories.



