refactor(brand): rename F∆I -> Ch∆In + hub binary fai -> chain
Some checks failed
Security / Security check (push) Failing after 2s

Studio follows the platform rename: product branding F∆I -> Ch∆In in UI
strings, command examples fai -> chain, and — critically — the spawned
hub binary path ~/.fai/bin/fai -> ~/.fai/bin/chain so Studio launches
the renamed binary. The fai_* Dart identifiers (FaiLog, widget files,
the generated SDK) stay = vendor/internal namespace. flutter analyze:
no issues.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-06-15 16:22:22 +02:00
parent a0007b9178
commit 7ff4fda2a3
36 changed files with 141 additions and 141 deletions

View file

@ -9,13 +9,13 @@ class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);
@override
String get appTitle => 'F∆I Studio';
String get appTitle => 'Ch∆In Studio';
@override
String get navWelcome => 'Welcome';
@override
String get welcomeHeroTitle => 'F∆I Platform';
String get welcomeHeroTitle => 'Ch∆In Platform';
@override
String get welcomeHeroSubtitle =>
@ -195,7 +195,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get welcomeChecklistModuleHint =>
'Install a module from the Store — pick whichever category fits your work. Modules are sandboxed F∆I components.';
'Install a module from the Store — pick whichever category fits your work. Modules are sandboxed Ch∆In components.';
@override
String get welcomeChecklistFlow => 'Run a saved flow';
@ -793,7 +793,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get storeTodayBadge => 'TODAY';
@override
String get storeTodayDeck => 'From the F∆I editor';
String get storeTodayDeck => 'From the Ch∆In editor';
@override
String get storeTodayDismissTooltip => 'Hide for this session';
@ -1140,7 +1140,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get modulesNoneHint =>
'Run `fai install <capability-name>` or check ~/.fai/modules/.';
'Run `chain install <capability-name>` or check ~/.fai/modules/.';
@override
String get modulesReloadTooltip => 'Reload';
@ -1208,7 +1208,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get flowsNoneHint =>
'Save a flow with `fai admin flows save <name> <flow.yaml>` and it shows up here.';
'Save a flow with `chain admin flows save <name> <flow.yaml>` and it shows up here.';
@override
String flowsRunDialogTitle(String name) {
@ -1508,7 +1508,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get welcomeChecklistNextModuleBody =>
'Generate a Rust+WASM scaffold with `fai new module <name>`. The module-sdk handles the WIT plumbing; you write a typed invoke.';
'Generate a Rust+WASM scaffold with `chain new module <name>`. The module-sdk handles the WIT plumbing; you write a typed invoke.';
@override
String get welcomeChecklistNextModuleButton => 'Read the docs';
@ -1645,7 +1645,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get errUnavailableHint =>
'Make sure `fai serve` (or `fai daemon start`) is running and the daemon endpoint matches Studio\'s settings.';
'Make sure `chain serve` (or `chain daemon start`) is running and the daemon endpoint matches Studio\'s settings.';
@override
String get errUnauthenticated => 'Authentication required.';
@ -1927,7 +1927,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get doctorDaemonControlHint =>
'Studio shells out to the platform binary — mirrors `fai daemon …` exactly so the CLI and UI stay in lockstep.';
'Studio shells out to the platform binary — mirrors `chain daemon …` exactly so the CLI and UI stay in lockstep.';
@override
String get doctorDaemonControlWorking => 'Working…';
@ -1952,7 +1952,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get doctorPathsEmpty =>
'Daemon did not report file paths. Update the running hub via `fai daemon restart`.';
'Daemon did not report file paths. Update the running hub via `chain daemon restart`.';
@override
String doctorOpenError(String detail) {
@ -1966,7 +1966,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String doctorUpdateBody(String channel, String version) {
return 'Channel $channel now offers $version. Apply via the button — Studio shells out to `fai update apply --channel $channel`.';
return 'Channel $channel now offers $version. Apply via the button — Studio shells out to `chain update apply --channel $channel`.';
}
@override
@ -2022,7 +2022,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get hubUnreachable => 'Hub unreachable';
@override
String get hubUnreachableHint => 'Start the hub with `fai serve`.';
String get hubUnreachableHint => 'Start the hub with `chain serve`.';
@override
String get languageEnglish => 'English';
@ -2491,10 +2491,10 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get addSourceHowItWorksBody =>
'A module is a directory with a module.yaml + the WASM artifact. To share it: pack it (`fai pack <dir>`) and host the resulting `.fai` bundle anywhere (your own Forgejo / GitHub / S3). The hub installs by URL and verifies the signature against its trust store.\n\nDeveloping locally? Use the CLI — Studio cannot install from an unpacked directory (yet):';
'A module is a directory with a module.yaml + the WASM artifact. To share it: pack it (`chain pack <dir>`) and host the resulting `.fai` bundle anywhere (your own Forgejo / GitHub / S3). The hub installs by URL and verifies the signature against its trust store.\n\nDeveloping locally? Use the CLI — Studio cannot install from an unpacked directory (yet):';
@override
String get addSourceCliExample => 'fai install --link /path/to/module';
String get addSourceCliExample => 'chain install --link /path/to/module';
@override
String get addSourceInstallButton => 'Install';
@ -2543,7 +2543,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get faiBinaryNotFoundHint =>
'Install the F∆I platform, or point Studio at an existing `fai` binary.';
'Install the Ch∆In platform, or point Studio at an existing `fai` binary.';
@override
String get faiBinaryLocateButton => 'Locate `fai` binary…';