chain-studio/lib/pages
flemming-it 4c4e2bb1eb feat(studio): "Explain this" + System AI in Settings (v0.11.0)
Two new operator affordances powered by `HubAdmin.AskAi`:

  * **Audit drill-down → "Explain" button.** Tappable on every
    failed event when System AI is configured; greyed out with
    a "Configure in Settings" tooltip otherwise. Shows an
    inline panel under the event fields with the LLM's plain-
    language explanation, a "FIX" suggestion, the privacy-mode
    badge (`redacted` / `full`), and round-trip latency. Errors
    map to actionable fix hints (`env_missing` → "set $VAR in
    your shell, then fai daemon restart"; `network` → "is your
    provider running?"; etc.) — no raw HTTP errors surfaced.

  * **Settings dialog → System AI panel.** Renders the live
    HubAdmin.SystemAiStatus (provider, endpoint, model,
    api_key_env name, privacy mode). When disabled, shows a
    one-line explainer + pointer to docs/architecture/system-ai.md.
    Read-only for now; editing the config still requires
    ~/.fai/config.yaml (Phase-1+ adds in-place editing).

Both surfaces follow the new zero-learning-curve UX rule:
the user never has to look up what the configurable means or
how to fix an error — every state self-explains in place.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-05-07 13:18:22 +02:00
..
approvals.dart feat(studio): operator-mode pass — Store + audit detail + channel switcher (v0.10.0) 2026-05-07 11:54:31 +02:00
audit.dart feat(studio): "Explain this" + System AI in Settings (v0.11.0) 2026-05-07 13:18:22 +02:00
doctor.dart feat(doctor): update banner via HubAdmin.CheckUpdate (v0.9.0) 2026-05-06 15:53:52 +02:00
flows.dart feat(ui): Flows page (5th destination) + keyboard shortcuts 2026-05-05 23:35:48 +02:00
modules.dart feat(ui): module-detail bottom sheet on tap 2026-05-05 22:15:41 +02:00
store.dart feat(studio): operator-mode pass — Store + audit detail + channel switcher (v0.10.0) 2026-05-07 11:54:31 +02:00