The dashboard — `serve`
ctx-optimize serve # http://127.0.0.1:4747/ — alias: dashboard--port, --host. Same cmd functions as the CLI.
Screens: Overview · Repos · Onboard · Query · Viewer (Flow / House / Graph) · Settings · Changes (ctx-optimize log).
- Binds
127.0.0.1:4747. - Writes need
X-Ctx-Tokenfrom loopbackGET /api/token.--hostdoes not lift theRemoteAddrcheck. - Mutations →
<store-root>/audit.ndjson. - UI is
go:embed. No CDN.
/api/graph is budgeted (truncated: true). Flow/House send a 4.4 KB scene. Complete blast: CLI.
| GET (loopback) | |
|---|---|
/api/stores /api/modules /api/graph /api/scene /api/query /api/usage /api/setup /api/audit /api/token |
reads |
POST /api/repo/add /api/onboard /api/store /api/config /api/remote/… |
writes + token |
Reads never create store dirs.