Some checks failed
Security / Security check (push) Failing after 1s
Studio's Flows destination is now the swappable fai_studio_flow_editor's full surface: a drag-and-drop graph view, the raw YAML text editor, and the run tab with inputs form + live step progress + outputs. What's gone: - The old saved-flows list + per-row run dialog. - The separate "flow-editor" navigation destination (one icon, not two — operators reach the editor by clicking Flows, period). - _FlowEditorAdapter (no longer needed; FlowsPage hands the runDriver to the editor directly). What's new: - lib/data/flow_run_driver.dart — StudioFlowRunDriver: adapter implementing the editor's FlowRunDriver. Maps runFlow() to HubService.runSavedFlow and events() to HubService.streamEvents filtered to step.* event types. Converts proto-shaped FlowOutput variants to the editor's host-agnostic FlowOutputValue family. - lib/pages/flows.dart — replaced with a 50-line wrapper that loads capabilities into the editor's picker dropdown and forwards the active locale. Editor pinned to fai_studio_flow_editor 0.2.0 (commit 870cbc2). All editor state — file list, dirty tracking, tab selection, graph layout sidecar, properties panel — lives in the editor package now; Studio just supplies the hub bridge. Version 0.51.10 -> 0.52.0 (minor bump — Flows-page contract changed, separate flow-editor destination removed). flutter analyze: 0 issues. flutter test: 12/12 green. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
59 lines
1.8 KiB
YAML
59 lines
1.8 KiB
YAML
name: fai_studio
|
|
description: "F∆I Studio — desktop GUI for the F∆I hub"
|
|
publish_to: 'none'
|
|
version: 0.52.0
|
|
|
|
environment:
|
|
sdk: ^3.11.0-200.1.beta
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.8
|
|
intl: any
|
|
|
|
# Sibling package; will move to Forgejo path once published.
|
|
fai_client_sdk:
|
|
path: ../fai_client_sdk_dart
|
|
google_fonts: ^8.1.0
|
|
shared_preferences: ^2.5.5
|
|
# Inline README rendering inside the Store detail sheet.
|
|
# `flutter_markdown` is discontinued; `flutter_markdown_plus`
|
|
# is the actively-maintained drop-in fork (same
|
|
# `MarkdownStyleSheet` / `Markdown` / `MarkdownBody` API).
|
|
flutter_markdown_plus: ^1.0.3
|
|
# Today-Hero pipeline reads accepted stories from
|
|
# ~/.fai/today/active.yaml — see docs/today-pipeline.md.
|
|
yaml: ^3.1.2
|
|
path: ^1.9.0
|
|
# System-native file picker — used by the Flows run-flow
|
|
# form for `bytes`-shaped inputs (extract takes a PDF, the
|
|
# operator clicks "Choose file" and macOS / Linux / Windows
|
|
# routes through the OS dialog so sandboxed Studio still
|
|
# gets read access to the chosen file).
|
|
file_picker: ^11.0.0
|
|
# Swappable flow editor — lives in its own repo so it can
|
|
# be replaced without touching the rest of Studio. Pin to a
|
|
# commit (or branch) here; rebuild Studio to pick up
|
|
# editor-side changes.
|
|
fai_studio_flow_editor:
|
|
git:
|
|
url: https://git.flemming.ai/fai/studio-flow-editor
|
|
ref: main
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
generate: true
|
|
# Bundled operator-facing documentation rendered inline by
|
|
# the Welcome page. Each doc has a `_de.md` sibling for the
|
|
# German locale; the loader picks the right pair at runtime.
|
|
# Air-gap-friendly — no network calls to read these.
|
|
assets:
|
|
- assets/docs/
|