Status: v1 implemented (2026-11-08) — flua --tool hubList, the hub tree
in the VS Code extension (vscode/src/hub.ts), the QA actions and the
remembered download folder. Stretch items (devices section, console tail,
freshness badge, webview dashboard) remain.
flua is the engine — for agent-loop development and for programmers who
want their standard toolset (VS Code, git, a debugger, tests). Wizards and
GUI conveniences are apps built on top of flua, and the VS Code
extension is the first such app. The discipline that keeps this true:
nothing exists only in the app — every tree action is a CLI/--tool
command first, so agents and CI get the same surface as the GUI.
This note designs the first app: an HC3 buffer in VS Code. It shows the
hub and its QuickApps; a QA can be selected, downloaded, edited (the
normal editor), tested (F5/--ui), and uploaded back — the whole loop
without leaving VS Code or remembering ids.
The symmetry to state up front: this tree is the human version of what
flua-mcp already gives agents (list, download, check, upload as typed
tools). Both ride the same CLI commands, so they cannot drift apart, and
the agent path stays the reference implementation.
vscode/src/): commands for downloadQA, uploadFile,
uploadFQA, updateQA, pack, unpack, check — all thin wrappers
over execFlua() (flua.ts). No tree views, no data views yet.downloadQA (download + unpack), updateQA (upload an
unpacked project), uploadQA/uploadFQA/uploadFile, pack/unpack.doctor checks hub reachability and reports model/firmware, but
not the QA list.flua --tool hubList --json prints a stable shape:
{
"hub": {"name": "HC3-00000422", "model": "HC3", "firmware": "5.221.22", "url": "http://192.168.1.20", "reachable": true},
"qas": [{"id": 57, "name": "Heating", "type": "com.fibaro.deviceController", "room": "Living room"}]
}
doctor already performs
(reachability, model, firmware) — no new hub surface..env credential chain like every other tool; without
credentials it fails with the same clear message the other tools give.One new file vscode/src/hub.ts, a TreeDataProvider:
model · firmware ·
reachable, refreshed by a refresh button (and on expand). No
background polling: the HC3 does not need flua hammering it, and a
refresh button is predictable.name, description
id · type · room.downloadQA + unpack + open the main file in
the editor.updateQA (upload the local, unpacked project).uploadFQA (fresh package).--tool setup already writes them).pack the unpacked project back to .fqa./devices list, searchable —
overlaps with the completions note's --tool house; reuse it).modified timestamp).downloadQA output: fragile; a dedicated --json tool is
the stable contract (the same reasoning as --tool house in the
completions note).flua --tool hubList --json with a pinning test for the shape and
the missing-credentials error.vscode/src/hub.ts — the tree, refresh, and the five QA actions
wired to the existing execFlua bridge.--tool hubList) and the extension README.docs/notes/notes-vscode-completions.md — the other extension surface
(the --tool house data source overlaps with the stretch)vscode/src/flua.ts — the execFlua bridge the tree ridessrc/flua/tools/download_qa.py / update_qa.py — the actionsdocs/mcp.md — the agent version of the same surface