Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
flats
command
Command flats hosts agent-built websites on this machine.
|
Command flats hosts agent-built websites on this machine. |
|
Package runtimeref contains the agent documentation shipped with the host: guide topics and refusal pages under agent/, and the two versioned references assembled from them.
|
Package runtimeref contains the agent documentation shipped with the host: guide topics and refusal pages under agent/, and the two versioned references assembled from them. |
|
internal
|
|
|
api
Package api is the HTTP API shared by agents, the CLI and the web console.
|
Package api is the HTTP API shared by agents, the CLI and the web console. |
|
app
Package app wires every Flats module into the `flats serve` process.
|
Package app wires every Flats module into the `flats serve` process. |
|
apps/docs
Package docs embeds the built-in collaborative document editor that runs "docs" content-type flats on the Flats JavaScript runtime.
|
Package docs embeds the built-in collaborative document editor that runs "docs" content-type flats on the Flats JavaScript runtime. |
|
board
Package board runs one board flat (docs/spec/board-technical-design.md): its board.db, the single apply loop that changes it, the live WebSocket protocol, the HTTP routes of the board's origin, uploads, data files and the disk quota check.
|
Package board runs one board flat (docs/spec/board-technical-design.md): its board.db, the single apply loop that changes it, the live WebSocket protocol, the HTTP routes of the board's origin, uploads, data files and the disk quota check. |
|
board/benchdata
Package benchdata generates the reference board data of the board success criteria (docs/spec/board.md, "Success criteria"): "mixed 5k" and "mixed 10k".
|
Package benchdata generates the reference board data of the board success criteria (docs/spec/board.md, "Success criteria"): "mixed 5k" and "mixed 10k". |
|
board/benchdata/cmd/benchdata
command
Command benchdata writes a reference board data file of the board success criteria ("mixed 5k" or "mixed 10k"):
|
Command benchdata writes a reference board data file of the board success criteria ("mixed 5k" or "mixed 10k"): |
|
board/engine
Package engine is the board's in-memory editing engine: it applies people's batches, agent calls, rollbacks and replacements to the current state and reports the canonical delta and every changed row, so a store can persist them in board.db.
|
Package engine is the board's in-memory editing engine: it applies people's batches, agent calls, rollbacks and replacements to the current state and reports the canonical delta and every changed row, so a store can persist them in board.db. |
|
board/model
Package model holds the board's element model: content fields, property bundles, validation, canonical JSON, the public projection, connector geometry and fractional stacking keys.
|
Package model holds the board's element model: content fields, property bundles, validation, canonical JSON, the public projection, connector geometry and fractional stacking keys. |
|
buildinfo
Package buildinfo reports which build of Flats is running: the release version for a release, otherwise the commit it was built from.
|
Package buildinfo reports which build of Flats is running: the release version for a release, otherwise the commit it was built from. |
|
bundle
Package bundle validates uploaded builds and writes them as immutable version directories.
|
Package bundle validates uploaded builds and writes them as immutable version directories. |
|
cli
Package cli implements the `flats` command line.
|
Package cli implements the `flats` command line. |
|
clientstate
Package clientstate describes compatibility between a Flats host and its clients.
|
Package clientstate describes compatibility between a Flats host and its clients. |
|
config
Package config reads, validates and writes the host configuration file (config.json).
|
Package config reads, validates and writes the host configuration file (config.json). |
|
console
Package console serves the operator's web console: a single-page app with no build step whose assets are embedded in the binary.
|
Package console serves the operator's web console: a single-page app with no build step whose assets are embedded in the binary. |
|
contenttype
Package contenttype names the content adapters supported by the host.
|
Package contenttype names the content adapters supported by the host. |
|
core
Package core implements Flats: flats, versions, deployments, exposure, previews and approvals.
|
Package core implements Flats: flats, versions, deployments, exposure, previews and approvals. |
|
design
Package design implements the design content type: the source model of artboards (editable text, tweaks), the canvas index, the serving rewrite and the HTTP handler of a design flat.
|
Package design implements the design content type: the source model of artboards (editable text, tweaks), the canvas index, the serving rewrite and the HTTP handler of a design flat. |
|
devreview
Package devreview records and checks the review evidence that the development protocol (docs/development-protocol.md, "Snapshot and evidence") requires: a manifest binding a review to an exact candidate, drift checks, a read-only materialized copy, invocation records for a user-configured reviewer command, and a task report skeleton.
|
Package devreview records and checks the review evidence that the development protocol (docs/development-protocol.md, "Snapshot and evidence") requires: a manifest binding a review to an exact candidate, drift checks, a read-only materialized copy, invocation records for a user-configured reviewer command, and a task report skeleton. |
|
devreview/cmd/devreview
command
Command devreview records and checks review evidence for the development protocol (docs/development-protocol.md, "Snapshot and evidence").
|
Command devreview records and checks review evidence for the development protocol (docs/development-protocol.md, "Snapshot and evidence"). |
|
doccheck
Package doccheck audits the repository's Markdown documentation: relative links and #anchors must resolve to files Git ships, with exact case, and docs/agent/ topics must not use relative links because MCP and llms.txt serve them outside the repository.
|
Package doccheck audits the repository's Markdown documentation: relative links and #anchors must resolve to files Git ships, with exact case, and docs/agent/ topics must not use relative links because MCP and llms.txt serve them outside the repository. |
|
doccheck/cmd/doccheck
command
Command doccheck audits the repository's Markdown links and anchors.
|
Command doccheck audits the repository's Markdown links and anchors. |
|
egress
Package egress provides a deny-by-default, bounded HTTP client for guest code.
|
Package egress provides a deny-by-default, bounded HTTP client for guest code. |
|
expose/cfquick
Package cfquick serves public flats through Cloudflare quick tunnels: an anonymous tunnel on a random *.trycloudflare.com hostname, with no Cloudflare account and no domain.
|
Package cfquick serves public flats through Cloudflare quick tunnels: an anonymous tunnel on a random *.trycloudflare.com hostname, with no Cloudflare account and no domain. |
|
expose/local
Package local serves flats on one loopback port, routing by Host header (<host>.localhost:<port>).
|
Package local serves flats on one loopback port, routing by Host header (<host>.localhost:<port>). |
|
expose/portal
Package portal exposes public flats through Portal relays (github.com/gosuda/portal-tunnel).
|
Package portal exposes public flats through Portal relays (github.com/gosuda/portal-tunnel). |
|
expose/provider
Package provider serves flats on explicitly permitted networks.
|
Package provider serves flats on explicitly permitted networks. |
|
expose/proxy
Package proxy serves flats to an operator's reverse proxy on a listener of its own.
|
Package proxy serves flats to an operator's reverse proxy on a listener of its own. |
|
expose/tsnet
Package tsnet serves flats on the operator's tailnet.
|
Package tsnet serves flats on the operator's tailnet. |
|
expose/zrok
Package zrok exposes public flats through zrok public shares (github.com/openziti/zrok).
|
Package zrok exposes public flats through zrok public shares (github.com/openziti/zrok). |
|
forkwatch
Package forkwatch unwedges child processes stuck between fork and exec; it is only needed on macOS.
|
Package forkwatch unwedges child processes stuck between fork and exec; it is only needed on macOS. |
|
launchd
Package launchd installs `flats serve` as a per-user launchd agent on macOS.
|
Package launchd installs `flats serve` as a per-user launchd agent on macOS. |
|
lifecyclecheck/adapter
command
Command lifecyclecheck is a test-only HTTP host for deterministic provider faults.
|
Command lifecyclecheck is a test-only HTTP host for deterministic provider faults. |
|
lifecyclecheck/legacyadapter
command
Command legacyadapter seeds historical exposure and approval references.
|
Command legacyadapter seeds historical exposure and approval references. |
|
mcpx
Package mcpx exposes Flats to coding agents as an MCP server over Streamable HTTP (stateless, JSON responses).
|
Package mcpx exposes Flats to coding agents as an MCP server over Streamable HTTP (stateless, JSON responses). |
|
metrics
Package metrics serves the host metrics of Flats at GET /metrics on the management server, in the Prometheus exposition format, and counts the management server's own requests.
|
Package metrics serves the host metrics of Flats at GET /metrics on the management server, in the Prometheus exposition format, and counts the management server's own requests. |
|
runtime
Package runtime runs server flats.
|
Package runtime runs server flats. |
|
safedir
Package safedir provides checked reads from an anchored directory tree.
|
Package safedir provides checked reads from an anchored directory tree. |
|
selfupdate
Package selfupdate performs explicit local client resource updates.
|
Package selfupdate performs explicit local client resource updates. |
|
site
Package site serves the files of one flat version.
|
Package site serves the files of one flat version. |
|
slug
Package slug validates flat names and builds preview host names.
|
Package slug validates flat names and builds preview host names. |
|
store
Package store keeps Flats metadata in a single SQLite database.
|
Package store keeps Flats metadata in a single SQLite database. |
|
systemd
Package systemd installs `flats serve` as a systemd user service on Linux (the counterpart of package launchd on macOS).
|
Package systemd installs `flats serve` as a systemd user service on Linux (the counterpart of package launchd on macOS). |
|
wsconn
Package wsconn is a minimal RFC 6455 WebSocket implementation: text and binary messages (read as text), fragmentation, ping/pong and close.
|
Package wsconn is a minimal RFC 6455 WebSocket implementation: text and binary messages (read as text), fragmentation, ping/pong and close. |
|
Package plugins embeds the bootstrap shipped by the Flats plugin.
|
Package plugins embeds the bootstrap shipped by the Flats plugin. |
|
scripts
|
|
|
tsnet-logout
command
Command tsnet-logout logs a stopped tsnet node out of its tailnet, given the node's state directory (for example <data>/tsnet/<host>).
|
Command tsnet-logout logs a stopped tsnet node out of its tailnet, given the node's state directory (for example <data>/tsnet/<host>). |
Click to show internal directories.
Click to hide internal directories.
