diff --git a/lib/src/flow_editor_page.dart b/lib/src/flow_editor_page.dart index 7a5d264..6e1167f 100644 --- a/lib/src/flow_editor_page.dart +++ b/lib/src/flow_editor_page.dart @@ -49,7 +49,7 @@ String _defaultFlowsDir() { Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'] ?? '.'; - return '$home/.fai/data/flows'; + return '$home/.chain/data/flows'; } class FlowEditorPage extends StatefulWidget { diff --git a/lib/src/model/layout_store.dart b/lib/src/model/layout_store.dart index a9067e5..a80964d 100644 --- a/lib/src/model/layout_store.dart +++ b/lib/src/model/layout_store.dart @@ -18,7 +18,7 @@ // // Storage layout: // -// ~/.fai/data/flows/.layout/.json +// ~/.chain/data/flows/.layout/.json // // One file per flow. JSON shape: // @@ -93,7 +93,7 @@ class NodePosition { /// graph view loads / saves them at well-defined moments /// (open file, drag end), not in the render loop. class LayoutStore { - /// Directory `~/.fai/data/flows/.layout/`, created on first + /// Directory `~/.chain/data/flows/.layout/`, created on first /// write. Hidden so it doesn't show up in `fai admin /// flows list` style enumerations. static String defaultDir() { @@ -101,7 +101,7 @@ class LayoutStore { Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'] ?? '.'; - return '$home/.fai/data/flows/.layout'; + return '$home/.chain/data/flows/.layout'; } /// Load the layout for [flowName]. Returns an empty layout diff --git a/lib/src/widgets/run_tab.dart b/lib/src/widgets/run_tab.dart index 69f65ba..5fa692d 100644 --- a/lib/src/widgets/run_tab.dart +++ b/lib/src/widgets/run_tab.dart @@ -15,7 +15,7 @@ // 4. The flow's outputs once the run resolves. // // The tab requires the file to be saved on disk — the hub's -// runSavedFlow reads from `~/.fai/data/flows/.yaml`, +// runSavedFlow reads from `~/.chain/data/flows/.yaml`, // not from the in-memory buffer. The dirty banner reminds // the operator to save before running so they don't run a // stale version by surprise.