Files
pipelines/app
alan 4f8e99f316 Serialize open-chat sync writes by server revision and fan out prunes
Server: chat_open_workspace is a compare-and-swap on base_revision; a stale
write is refused and answered with the current snapshot (rejected: true).
Each stored change increments the revision; identical writes store nothing.
A request with no body reads the set. Seeds apply only to a never-stored set.
Validation uses the operator registry (recorded, not closed). chat_close and
connection-time pruning store a new revision and push it to every
connection; otherwise a new connection gets the current set to catch up.

App: ChatOpenWorkspaceController keeps one write in flight, coalesces later
changes, sends from the last replied revision and ignores lower revisions;
pushes and rejected replies win over unsent changes. It starts after the
local layout restores (seed or read), keeps a deep-linked chat, and is
disposed on server/gateway rebind. Remote membership is applied by
reconcileChatWorkspaceTree, keeping pane ids and split sizes. Federated
lists keep their local layout.

Tests: Go store/handler fan-out tests; app controller, reconcile and screen
sync tests. Notes record a live two-client scratch check.
2026-11-12 03:23:22 +00:00
..

Pipelines app

The Flutter client for Android, web and macOS.

macOS desktop

From app/, run:

FLUTTER=/Users/alan/development/flutter/bin/flutter python3 tool/publish_macos.py

This builds a release, installs it at ~/Applications/Pipelines.app, and opens it. Run the same command to update and reopen it. The previous bundle is kept at ~/Applications/Pipelines.app.previous; connections and settings stay in the app's own storage. This does not restart the Pipelines server.

The default server comes from PIPELINES_SERVER_URL or the local installation manifest. Override it with --server-url wss://host/connect. Existing saved connections still take precedence over the build default.

Use --destination /path/to/Pipelines.app for another installation location, or --no-open to install without launching (quit the app first). A ZIP is also created at build/desktop/Pipelines-macos.zip. Use --offline when all dependencies are already cached and network access is unavailable.

By default, the release and ZIP target this Mac's architecture (Apple Silicon or Intel). --universal requests both; Xcode 27's lipo currently fails Flutter's combined architecture check on this machine, so use the default here.

On macOS, Command+1…9 and Ctrl+1…9 open the corresponding conversation in the list and focus its composer.

Requires macOS, Xcode, CocoaPods and the Flutter SDK pinned in .flutter-version. The local build is ad-hoc signed, without Apple notarization; the ZIP is a local distribution artifact. Updates are applied by rerunning the command; there is no background updater. Android's in-app update feed remains Android-specific.