chain-studio/lib/pages
flemming-it d69277d29d feat(flows): sealed-aware flow list — hub sample flag, own dir, sample import
Three connection-truth fixes on the flow surface:

* The editor now lists the CONNECTED hub's flows: inside a sealed
  area Studio passes the instance's own flows dir
  (~/.chain/sealed/<slug>/data/flows) — previously the editor kept
  showing the shared hub's files whatever the connection, so a
  sealed area's list was simply wrong (and runSavedFlow hit the
  other hub's namespace).
* A connection switch replaces the editor state entirely (keyed by
  the sealed slug): an open buffer from one context never survives
  into the other — same privacy class as the switch race.
* Sample truth comes from the hub: listFlows' FlowSummary.sample
  (regenerated Dart SDK stubs) feeds the editor's sampleFlowNames;
  unknown (old hub / fetch failed) means no chips. Inside a sealed
  area the empty list offers the deliberate 'import example flows'
  action via chain flows import-samples against the instance's own
  dirs; the shared hub gets no such offer (it seeds samples itself,
  and a deliberate deletion is respected).

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-08-28 00:11:55 +02:00
..
approvals.dart feat(workspace): one global switcher anchor in the shell sidebar 2026-08-28 00:00:06 +02:00
audit.dart feat(workspace): one global switcher anchor in the shell sidebar 2026-08-28 00:00:06 +02:00
doctor.dart feat(doctor,shell): ollama host-service suggestion + hub-update hint (0.80.0) 2026-07-23 00:03:42 +02:00
federation.dart feat(docs): in-place help pattern — explain a surface where it happens 2026-07-20 02:00:56 +02:00
flows.dart feat(flows): sealed-aware flow list — hub sample flag, own dir, sample import 2026-08-28 00:11:55 +02:00
runs.dart feat(workspace): one global switcher anchor in the shell sidebar 2026-08-28 00:00:06 +02:00
setup_gate.dart feat(setup): first-run gate, hub-first preview, honest wording — setup before the app 2026-07-17 00:59:22 +02:00
store.dart feat(store): show module maintainers (0.79.0) 2026-07-22 22:06:18 +02:00
welcome.dart fix(docs): page help buttons open the right topic + wiring guard 2026-07-20 02:00:56 +02:00