Viewport status item: UI-kit element and row (#8544) (#8553)

* claim: #8544

* Add reusable viewport status items and fixture (#8544)
This commit is contained in:
Nathan Dane
2026-10-29 03:02:43 +00:00
committed by GitHub
parent 09bf603588
commit de5cee9bf1
19 changed files with 834 additions and 0 deletions
+7
View File
@@ -1,5 +1,12 @@
# Control protocol
For UI-kit review, `ui.status_fixture {"preset":"mode"}` shows bounded status
specimens in the real viewport. Presets are `off`, `mode`, `result`, `attention`,
`row`, `kinds` and `key`; the reply carries the preset and item count. This
scenario fixture does not change engine state or open a dialog. `off` clears it.
The published `viewport_status:<id>:item`, `:setting`, `:key` and `:close` handles
support the ordinary `ui.at`, `ui.move`, `ui.click` and keyboard controls.
The control channel is **on by default**. SolidCraft listens on `127.0.0.1` only, for JSON lines,
so agents can drive the app without a launch flag. Every connection still needs this launch's
token (below); nothing else on the machine, and nothing off it, can send a command.