feat: updateSystemAi + testSystemAi RPCs (v0.5.0)

`HubClient.updateSystemAi(...)` persists a new System-AI config
to ~/.fai/config.yaml AND hot-reloads the live hub state in one
round-trip; returns the resulting SystemAiStatus so the UI
refreshes without a second call.

`HubClient.testSystemAi()` probes the configured provider with
a tiny ping and returns the same error-kind taxonomy as askAi.
Studio's "Test connection" button uses this.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-05-07 13:41:10 +02:00
parent f0db42264f
commit 8798119903
5 changed files with 203 additions and 1 deletions

View file

@ -1,6 +1,6 @@
name: fai_dart_sdk
description: gRPC client SDK for the F∆I Platform hub. Used by F∆I Studio and Tier-3 domain apps.
version: 0.4.0
version: 0.5.0
publish_to: 'none'
repository: https://git.flemming.ws/fai/dart-sdk