Files
pipelines/app
alan c3458d8a7f Terminals: one active client per terminal; keystrokes skip the request queue
Several clients drawing one terminal (machine terminal or chat terminal
command) no longer interfere. The server tracks, per terminal, the
connections drawing it, most recently active first: the active client
(the opener, then whoever last typed or focused it) owns the PTY size and
is the only one whose emulator's automatic query answers reach the
process; other clients' answers are acknowledged and dropped, and their
sizes recorded but not applied. When the active connection closes the next
most recent client's size is applied.

Protocol (backwards compatible; all new fields optional):
- terminal_input / chat_shell_input: reply (emulator answer), cols/rows
  (the typist's size, applied before the input).
- terminal_resize / chat_shell_resize: activate (the client focused it).

Latency: PipelinesClient sends terminal_input, terminal_resize,
chat_shell_input and chat_shell_resize at once rather than behind the
previous request's reply. The server reads those onto a per-connection
terminal lane handled in order beside the ordinary request loop, and
terminal_open (up to 5 s waiting for su) now runs off the read loop.

Client: ChatShellTerminalSession routes what the emulator emits while
drawing output to onReply and reports focus through activate();
ChatShellInputPipe keeps answers and typing in separate requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:37:16 +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.