Files
pipelines/app
alan f7ef4d1445 Terminal emulator: faster write path (ASCII runs, reused lines, no per-char allocation)
- Parser reads the written strings directly (no rune list per write) and
  handles printable ASCII runs and C0 controls straight from the string;
  a run is written into the line in one call (Buffer.writeAscii,
  BufferLine.setAsciiCells), as writeChar would one by one.
- A line leaving a full scrollback (or a one-line region scroll) is
  cleared and reused instead of allocating a 4 KiB line; lines with
  anchors (selection ends) still leave detached. Lines track the cells
  written since made or cleared, so a clear touches only those.
- Grapheme join rejects characters that cannot join before reading the
  cell (it built a String per character); width table covers plane 1.
- Switch dispatch for C0 controls, direct calls for CSI and SGR (torn-off
  handlers are slow in JavaScript); CSI params emptied without clear();
  circular buffer index without %; insert keeps the start index wrapped.
- Terminal.write(notify: false) lets a host notify once per frame.
- tool/perf/terminal_parse_bench.dart: parse throughput in the VM or V8.

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