chore(studio): switch to fai_client_sdk (renamed from fai_dart_sdk)
Some checks failed
Security / Security check (push) Failing after 1s

The Dart SDK package was renamed package: fai_dart_sdk →
fai_client_sdk and the dir + Forgejo repo got a -dart language
suffix per the three SDK families convention in
fai/platform/docs/architecture/sdks.md. Updates the path
dep, dep name, every `package:fai_dart_sdk/...` import, and
the one comment that named the SDK.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-05-26 13:46:32 +02:00
parent 4a9bc93d15
commit a5bd51de33
9 changed files with 11 additions and 11 deletions

View file

@ -6,7 +6,7 @@
import 'dart:convert';
import 'dart:typed_data';
import 'package:fai_dart_sdk/fai_dart_sdk.dart' show Payload;
import 'package:fai_client_sdk/fai_client_sdk.dart' show Payload;
/// One named output of a flow run. Sealed via factory constructors
/// callers pattern-match with `switch` on the runtime type to

View file

@ -34,7 +34,7 @@ class FriendlyError {
FriendlyError friendlyError(Object error, AppLocalizations l) {
// We deliberately don't import package:grpc here so Studio
// doesn't have to add it to its own pubspec — the dependency
// lives one layer down in fai_dart_sdk. `GrpcError` has a
// lives one layer down in fai_client_sdk. `GrpcError` has a
// stable `.code` (int) and `.message` (String?) shape; we
// duck-type on those instead of an `is` check.
final code = _intField(error, 'code');

View file

@ -7,7 +7,7 @@
import 'dart:typed_data';
import 'package:fai_dart_sdk/fai_dart_sdk.dart';
import 'package:fai_client_sdk/fai_client_sdk.dart';
import 'package:flutter/widgets.dart';
import 'package:shared_preferences/shared_preferences.dart';