Repository navigation
Releases
Releases · ashuio/livewall
Livewall 0.0.2 — composite sources for pushers
Pusher sources gain composite and multi-field support, and every source path is
checked before it is pushed, so a bad sample can no longer produce a board the
backend refuses.
Added
- Composite sources. A source now writes its block's own field by default,
and the list-valued fields (items,data,rows,values,series,
lines,xLabels) take a whole JSON list — so one endpoint fills astats
tile set, abarand akvin a single call. sources— several fields from one block. A field → source map drives more
than one field at once (a callout'stextand itstone), each keeping its
own last good value.- A live tab indicator.
tab.indicatoraccepts asourceof its own, so a
tab's mini-bar tracks a real ratio instead of a hardcoded number. - A portable composite example:
examples/composite_sources.json
with its single-JSON-object probeexamples/composite_probe.py.
Fixed
- A pusher source can no longer emit a board the backend refuses. A rejected
board is lost whole, so a field name the block type does not allow, a
config-only key leaking into the block, a malformed entry inside a composite
list (a null, a nested list, a boolean, a wrong shape, an overlong string), a
boolean or non-finite value where a number is required, an integer beyond
2**53, and a composite list over 256 KiB serialised are each a named source
error instead of a lost board. - A source-driven
logblock keeps its lines. The guard meant to leave such
a block alone tested the wrong value, so the poller's own lines silently
replaced the ones the source supplied. - Tab-indicator errors are visible in the same tick, and an indicator whose
source dies without a numeric fallback is dropped rather than pushed in an
invalid shape.
Changed
examples/pusher.py's resolution path is pinned by an expanded suite
(backend/tests/pusher_test.py), which now runs every board it builds through
the backend's own validator.
Full changelog: CHANGELOG.md
v0.0.1
First release.
Livewall is a live status board your agent writes while it works. The agent
sends a small JSON board spec, and a browser renders it live. That spec might be
a progress bar for a migration, a table of test results, a log tail, a fleet
status wall. None of it needs per-use-case UI code.
What is in it
- FastAPI backend owning boards, TTL and pruning, config persistence, and
the SSE snapshot broadcast. Boards live in memory by design, so there is no
database. - React client with a hand-rolled fetch-based SSE transport: a retry loop, a
stall watchdog, visibility resume, and an epoch guard so a self-initiated
abort cannot tear down the fresh connection. - One shared contract module, imported by both the HTTP API and the MCP
server, so the two cannot disagree about what is legal. - MCP server exposing 11 board tools, plus a stdlib-only CLI that drives the
same API from a shell script, a cron job or a CI step. - 17 block types across 15 components, including a multi-series line chart
drawn as hand-rolled SVG with no chart library. Acodeblock carries a copy
button that copies the text verbatim and reports the result in words. - Optional bearer-token auth. Binds loopback by default; exposing a board to
the network is a deliberate act. - Docker image that runs unprivileged.
- A test suite that boots its own throwaway backend: backend, CLI, MCP and
web suites, plus browser checks for rendering, the SSE transport and
accessibility. The browser suites assert on rendered text rather than
screenshots.
Known limitations
- Young. Version 0.0.1, and it shows.
- Never load-tested. Built for a few boards and a few viewers.
- No user model and no per-board permissions. Auth is a single shared token, or
nothing. - Boards are lost on restart. That is the design, but it will surprise you once.
Getting started
git clone https://github.com/ashuio/livewall livewall && cd livewall
cp .env.example .env # optional; every value has a working default
docker compose up --build # http://127.0.0.1:8470Then program a board. The CLI does it in one command:
pipx install ./cli
livewall demo
livewall watch livewall-demoSee the README for the full path,
including wiring the MCP server into an agent.
Apache-2.0.