Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
console-host
command
Command console-host serves the cloud console's static bundle.
|
Command console-host serves the cloud console's static bundle. |
|
relay
command
Command relay is the installer and the setup CLI.
|
Command relay is the installer and the setup CLI. |
|
relay-rendezvous
command
Command relay-rendezvous is the relay from SYSTEM.md §7.
|
Command relay-rendezvous is the relay from SYSTEM.md §7. |
|
relayd
command
Command relayd is the orchestrator: one static binary, no runtime to install.
|
Command relayd is the orchestrator: one static binary, no runtime to install. |
|
internal
|
|
|
adapter
Package adapter is the one interface all three runtime adapters implement.
|
Package adapter is the one interface all three runtime adapters implement. |
|
adapter/acp
Package acp drives OpenClaw, Hermes and OpenCode over the Agent Client Protocol — one adapter, three of the five runtimes (ADAPTERS.md §4).
|
Package acp drives OpenClaw, Hermes and OpenCode over the Agent Client Protocol — one adapter, three of the five runtimes (ADAPTERS.md §4). |
|
adapter/claudecode
Package claudecode drives Claude Code over its stream-json protocol.
|
Package claudecode drives Claude Code over its stream-json protocol. |
|
adapter/codex
Package codex drives `codex app-server`, the richest of the three protocols Relay speaks (ADAPTERS.md §3).
|
Package codex drives `codex app-server`, the richest of the three protocols Relay speaks (ADAPTERS.md §3). |
|
adapter/fake
Package fake is an in-memory adapter for testing the registry, the router and anything else that consumes normalized events, without a runtime installed.
|
Package fake is an in-memory adapter for testing the registry, the router and anything else that consumes normalized events, without a runtime installed. |
|
api
Package api is relayd's one HTTP surface: the phone's WebSocket, the console's REST and SSE, and nothing else.
|
Package api is relayd's one HTTP surface: the phone's WebSocket, the console's REST and SSE, and nothing else. |
|
appruntime
Package appruntime joins the app store to the app runtime.
|
Package appruntime joins the app store to the app runtime. |
|
apps
Package apps is the app runtime on the box — APP-PLATFORM.md §8 step 2.
|
Package apps is the app runtime on the box — APP-PLATFORM.md §8 step 2. |
|
apps/mcpbridge
Package mcpbridge is APP-PLATFORM.md §8 steps 4 and 5 — the two the same section says are what "make the platform feel different".
|
Package mcpbridge is APP-PLATFORM.md §8 steps 4 and 5 — the two the same section says are what "make the platform feel different". |
|
appstore
Package appstore is APP-PLATFORM.md §6: resolving an app from the registry, showing the permission sheet consent is given against, and keeping the record of what is installed on this box.
|
Package appstore is APP-PLATFORM.md §6: resolving an app from the registry, showing the permission sheet consent is given against, and keeping the record of what is installed on this box. |
|
audit
Package audit is the append-only record of every credential and connector mutation: who, what, when, from where.
|
Package audit is the append-only record of every credential and connector mutation: who, what, when, from where. |
|
backfill
Package backfill reads the history that already exists on the machine.
|
Package backfill reads the history that already exists on the machine. |
|
bus
Package bus is relayd's event bus: fan-in from every adapter's normalized event stream, fan-out to everything that needs to watch it.
|
Package bus is relayd's event bus: fan-in from every adapter's normalized event stream, fan-out to everything that needs to watch it. |
|
capture
Package capture is the front door for audio: SYSTEM.md §10 step 5, the "capture" half of capture → transcript → episodes.
|
Package capture is the front door for audio: SYSTEM.md §10 step 5, the "capture" half of capture → transcript → episodes. |
|
compaction
Package compaction is MEMORY.md §9: when a session is compacted, when it is abandoned for a fresh one, and when it is handed off with a brief.
|
Package compaction is MEMORY.md §9: when a session is compacted, when it is abandoned for a fresh one, and when it is handed off with a brief. |
|
config
Package config is relayd's configuration file, its defaults, and where both live on disk.
|
Package config is relayd's configuration file, its defaults, and where both live on disk. |
|
connector
Package connector is the connector half of SYSTEM.md §10 step 6: grants, evidence-grounded proposals, the normalized envelope, and the first real connector.
|
Package connector is the connector half of SYSTEM.md §10 step 6: grants, evidence-grounded proposals, the normalized envelope, and the first real connector. |
|
deps
Package deps pins the modules the rest of this milestone needs but that no Foundation code imports yet.
|
Package deps pins the modules the rest of this milestone needs but that no Foundation code imports yet. |
|
detect
Package detect answers the installer's first question: what is already on this machine?
|
Package detect answers the installer's first question: what is already on this machine? |
|
episode
Package episode is the third stage of SYSTEM.md §10 step 5: a day of transcript becomes the entity §5 actually names.
|
Package episode is the third stage of SYSTEM.md §10 step 5: a day of transcript becomes the entity §5 actually names. |
|
event
Package event is the normalized event model that every adapter emits.
|
Package event is the normalized event model that every adapter emits. |
|
facts
Package facts is MEMORY.md §11 step 5b: the distilled tier.
|
Package facts is MEMORY.md §11 step 5b: the distilled tier. |
|
gateway
Package gateway speaks OpenClaw's Gateway WebSocket protocol.
|
Package gateway speaks OpenClaw's Gateway WebSocket protocol. |
|
index
Package index is MEMORY.md §11 step 2b: one row per session, for every session that has ever existed, across all five runtimes.
|
Package index is MEMORY.md §11 step 2b: one row per session, for every session that has ever existed, across all five runtimes. |
|
install
Package install is the installer — SYSTEM.md §10 step 1 and ORCHESTRATOR.md §2.
|
Package install is the installer — SYSTEM.md §10 step 1 and ORCHESTRATOR.md §2. |
|
llm
Package llm is the provider-abstracted model client for the orchestrator's two models.
|
Package llm is the provider-abstracted model client for the orchestrator's two models. |
|
logx
Package logx is relayd's structured logger.
|
Package logx is relayd's structured logger. |
|
mcp
Package mcp is Relay's MCP gateway: one registry, every runtime pointed at it.
|
Package mcp is Relay's MCP gateway: one registry, every runtime pointed at it. |
|
orchestrator
Package orchestrator is ORCHESTRATOR.md §3b wired end to end: the small model hears every utterance and speaks, the big model holds the tools and does the work.
|
Package orchestrator is ORCHESTRATOR.md §3b wired end to end: the small model hears every utterance and speaks, the big model holds the tools and does the work. |
|
pairing
Package pairing is the three facts a phone needs to reach this machine, and the one string that carries them.
|
Package pairing is the three facts a phone needs to reach this machine, and the one string that carries them. |
|
registry
Package registry is the session registry: every agent session across every runtime in one table.
|
Package registry is the session registry: every agent session across every runtime in one table. |
|
relaylink
Package relaylink is the daemon's side of the rendezvous relay.
|
Package relaylink is the daemon's side of the rendezvous relay. |
|
rendezvous
Package rendezvous is the relay that solves SYSTEM.md §7's NAT problem.
|
Package rendezvous is the relay that solves SYSTEM.md §7's NAT problem. |
|
routing
Package routing answers two different questions and refuses to conflate them.
|
Package routing answers two different questions and refuses to conflate them. |
|
search
Package search is MEMORY.md §3's retrieval: reciprocal-rank fusion over BM25 (FTS5) and cosine (sqlite-vec), never pure vector.
|
Package search is MEMORY.md §3's retrieval: reciprocal-rank fusion over BM25 (FTS5) and cosine (sqlite-vec), never pure vector. |
|
store
Package store is the SQLite layer: one file, no server, vector search without Postgres, and backup is a file copy.
|
Package store is the SQLite layer: one file, no server, vector search without Postgres, and backup is a file copy. |
|
summarize
Package summarize turns sessions and turns into the short text that gets indexed, and turns a turn's events into the two sentences someone hears.
|
Package summarize turns sessions and turns into the short text that gets indexed, and turns a turn's events into the two sentences someone hears. |
|
transcript
Package transcript turns spooled audio into text, and is the second stage of SYSTEM.md §10 step 5.
|
Package transcript turns spooled audio into text, and is the second stage of SYSTEM.md §10 step 5. |
|
vault
Package vault holds credentials.
|
Package vault holds credentials. |
|
voice
Package voice is ORCHESTRATOR.md §2a: choosing a voice.
|
Package voice is ORCHESTRATOR.md §2a: choosing a voice. |
|
web
Package web serves the console out of the relayd binary.
|
Package web serves the console out of the relayd binary. |
|
web/typegen
Package typegen turns relayd's wire structs into the console's TypeScript types, so a field rename breaks a build rather than a screen.
|
Package typegen turns relayd's wire structs into the console's TypeScript types, so a field rename breaks a build rather than a screen. |
|
web/typegen/gen
command
Command gen writes console/src/api/types.ts from relayd's Go wire structs.
|
Command gen writes console/src/api/types.ts from relayd's Go wire structs. |
Click to show internal directories.
Click to hide internal directories.