|
Some checks failed
Security / Security check (push) Failing after 1s
Three Stefan-found bugs in one pass: 1. Documentation rendered in English even when Studio was set to German. _loadDocs now passes Localizations.localeOf(...) to fetchModuleDocs(); the hub tries README.de.md before README.md when locale='de'. 2. 'Keine Treffer' flickered on every keystroke. _onAskTyping used to call _runSearch synchronously per character — a short 2-3-letter substring matched nothing, so the empty- state showed for a frame, then the next character revealed results. Add a 250ms typing debounce (Timer + cancel on dispose) so the search only re-runs once typing pauses. 3. Submit button did substring search even when System-AI was enabled — the _looksLikeQuestion heuristic only routed 4+-word / question-mark queries through the LLM. The user reasonably expected an explicit submit (with the AI-icon showing on the button) to actually use AI. New behaviour: when system-AI is enabled, the submit button always calls _runAiQuery; live-typing keeps substring filtering. The heuristic helper was removed (now unused). Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| .githooks | ||
| assets/docs | ||
| docs | ||
| lib | ||
| linux | ||
| macos | ||
| test | ||
| tools | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| .security-allow | ||
| analysis_options.yaml | ||
| l10n.yaml | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
F∆I Studio
Desktop GUI client for the F∆I Platform hub. Tier-2 generic
platform client per docs/architecture/client.md. Connects to a
local or remote fai serve over gRPC.
Status (2026-05-05): MVP scaffold. Three pages with mock data, no live gRPC connection yet. Validates the visual direction before the Dart SDK is wired in.
Pages (MVP scope)
- Modules — installed modules, capabilities, declared permissions. Click → manifest detail.
- Audit — live stream of hub events (when wired). Filter by event type and flow.
- Approvals — pending
system.approval@^0reviews with approve / reject buttons.
These three cover the platform's central properties: composition (modules), audit (events), human-in-the-loop (approvals).
Stack
- Flutter 3.40+ (Desktop: macOS, Linux, Windows)
- gRPC client via
fai_dart_sdk(sibling repo; pinned by relative path during development) - No external runtime dependencies; bundles its own Dart VM
Run locally
flutter run -d macos
Repo placement
Will be published as fai/studio on Forgejo (git.flemming.ws).
The local directory fai_studio/ follows the established
fai_platform/ layout convention.
Why "Studio" and not "Stage"
"Stage" collided too easily with "staging environment" in
developer English. "Studio" is the established industry pattern
for creator-tools (Visual Studio, Android Studio, RStudio) and
matches the GUI's audience of module developers, operators, and
power users. The rename was applied across all docs/ in the
platform repo on 2026-05-05.