Files
pipelines/app
alan e13cb99ade Terminals: keep screen state on the server; snapshot on reload and gaps
A headless xterm-compatible emulator (internal/termstate) follows each
machine terminal's PTY output under the same lock as the 1 MiB tail. A
terminal_output from before the retained tail (new page, reload, gap)
now gets output_snapshot: an escape stream that resets the client and
restores scrollback (1000 lines), main screen, the alternate screen when
in use (via ?1049h so the program's exit brings the shell back), saved
cursors, tabs, scroll region, cursor incl. pending wrap, modes (mouse
tracking/encoding, bracketed paste, DECCKM, keypad, autowrap, origin,
focus, ...), charsets, pen and title, as of output_end; frames continue
there. Reads inside the tail stay raw.

No Go library was adequate: charmbracelet/x/vt and vito/midterm scroll at
0.2-4 MB/s and hide modes/pen/region; vt10x is unmaintained. termstate
runs at 160-200 MB/s.

The app treats a snapshot reply as a replay without the dropped-output
line, and every replay now starts with RIS so stale modes end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:56:49 +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.