Commit Graph

793 Commits

Author SHA1 Message Date
alan 6234532c59 Retro CRT: snap live switches (a blended text glow hung skwasm)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 01:03:17 +00:00
alan 09bafca21c Merge branch 'main' into worktree-agent-abb9404cc062f4b30
# Conflicts:
#	app/lib/application/app.dart
#	app/lib/application/detached/detached_app.dart
#	app/lib/application/pipelines_root.dart
#	app/lib/features/chat/ui/sessions/chat_color_palette.dart
#	app/lib/ui/theme/app_design.dart
#	app/lib/ui/theme/app_design_tokens.dart
2026-12-04 00:41:42 +00:00
alan 81e132e547 High contrast notes: snap token, perf and tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:39:57 +00:00
alan 9d8e224995 Merge main (Notebook) into High contrast; snap theme switches into and out of it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:16:46 +00:00
alan beb6c90ebb Merge branch 'main' into worktree-agent-abb9404cc062f4b30
# Conflicts:
#	app/lib/ui/theme/app_design.dart
2026-12-04 00:15:07 +00:00
alan 7c42713be3 Retro CRT: scanlines as one solid path, no vignette
The full-screen repeating gradient and radial vignette doubled CPU raster
time per frame in the browser bench; solid non-AA bands cost about nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:12:44 +00:00
alan 51abc90a3f Merge branch 'main' into worktree-agent-aba7c2afc84cf3d5d 2026-12-04 00:01:47 +00:00
alan e9e6b4472e Merge main (Compact) into Notebook; keep Notebook within the per-row rebuild budget
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 00:01:40 +00:00
alan 30d2d8c4f4 Merge main (Compact) into the High contrast design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:56:39 +00:00
alan 2c936fb29c Merge branch 'worktree-agent-a027d4a4581416c93' 2026-12-03 23:41:55 +00:00
alan ac07801588 Merge branch 'worktree-agent-abec427641b9e4fa8' 2026-12-03 23:41:55 +00:00
alan 44f0f2a4a8 Merge branch 'graph-stage-popover' 2026-12-03 23:41:55 +00:00
alan 4b781378b5 High contrast design: black/white, 2px borders, 48px targets, focus ring, boxed chat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:36:06 +00:00
alan fc7dbb0ac0 Remove ntfy: notifications go only through the app notification stream
Server: drop ntfy publishing (stage hooks, run outbox, chat attention, chat
tool notify, auto-switch and schedule notices), the chat push outbox (its
table is dropped at startup), ntfy status/endpoints and PIPELINES_NTFY_*.
The app_notifications stream, subscribe/clear and kinds are unchanged.
Notification settings keep run_finished/chat_needs_you/chat_reply_finished;
ntfy_enabled is accepted and ignored and its stored row is never read.

Stage type=ntfy is rejected: "ntfy stages were removed; notifications go to
the Pipelines apps — use the stage notify hook". The notify hook remains.

Installer: no ntfy build, accounts, config or supervisor child; manifest
gets top-level "mode" (legacy ntfy.mode still read). Reinstall retires an
old ntfy (safe PID-file stop, deletes binary, config, data dir, token, log,
with a note in logs/install.log); uninstall cleans leftovers.

App: ntfy settings section replaced by "Notification events"; texts updated.
Docs: docs/ntfy.md folded into docs/notifications.md; install, docker, cli,
author skill references updated; security review M1 marked resolved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:24:24 +00:00
alan 113063b040 Notebook design: numbered In/Out cells, tool sub-cells and an input-cell composer
Adds the Notebook design (TranscriptStyle.cells, ComposerStyle.cell), a
white/charcoal IDE theme with light grey cells, hairlines and 5px corners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:24:03 +00:00
alan 6fc6f1c001 Merge branch 'main' into worktree-agent-abb9404cc062f4b30
# Conflicts:
#	app/lib/ui/theme/app_design.dart
#	app/lib/ui/theme/app_design_tokens.dart
2026-12-03 23:21:54 +00:00
alan fe7bf055a1 Merge branch 'worktree-agent-a1b6c249e2bec6658' 2026-12-03 23:19:40 +00:00
alan ce05ef3e69 Merge main 2026-12-03 23:19:18 +00:00
alan 413c923e77 Graph: stage popover with the prompt, tools, configs and run facts
Tapping or pressing Enter on a stage in the pipeline or run graph (inline
and full screen) opens a card anchored to the node: type, config chips,
tools, collapsed permissions, the prompt clamped with Show all (commands,
gate or operator instructions by type), limits and routes, and for runs
the status, visits, time, verdict, handoff and failure. Open definition
keeps the old tap target; Open visit the old run tap. It follows pan and
zoom, closes on outside tap, Escape or the same node, and opens as a
bottom sheet on a narrow viewport.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:19:18 +00:00
alan 36045373cb Merge branch 'main' into worktree-agent-a027d4a4581416c93 2026-12-03 23:14:40 +00:00
alan 9eaa8d18c0 Retro CRT design: Terminal on a green or amber phosphor tube
One hue per variant (brightness steps for roles, statuses and chat
colours, with cross/ring glyphs where hue alone told status), square
corners, 1px phosphor frames, a faint text glow and a static scanline and
vignette pattern painted once in its own repaint boundary. Light mode is a
paper-white phosphor. Terminal's theme builder is shared, not forked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:10:57 +00:00
alan 3089bcd437 Chat stack groups: the dragged chat shrinks onto a drop target; notes
Over another item's middle the lifted item shrinks (as over the close
button), so the target's grown ring stays visible; a group's pile is
0.88 of a chat's disc. Notes for groups and the open-chat group field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:07:16 +00:00
alan 43a1c65177 Merge branch 'main' into worktree-agent-a349550966b0e2bad 2026-12-03 22:34:49 +00:00
alan 14b7687d4e Notes: chat pane cycling keys, capture script and evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:23:04 +00:00
alan 73cdce4498 Merge branch 'main' into worktree-agent-a027d4a4581416c93
# Conflicts:
#	app/lib/features/chat/screen.dart
2026-12-03 22:18:58 +00:00
alan f4bd8ad44c WIP read aloud keeps playing across chats 2026-12-03 22:18:38 +00:00
alan dae47600b7 Compact: name Classic in its description and note 2026-12-03 22:18:35 +00:00
alan 6e7118fe34 Merge branch 'main' into worktree-agent-a1b6c249e2bec6658 2026-12-03 22:00:26 +00:00
alan c584ecfa60 Merge main into the Compact design branch 2026-12-03 22:00:25 +00:00
alan 130c1e6708 Chat stack: the default, also on a wide phone or tablet; a close button where the pile was
Chat stack is now the default phone chat navigation (a stored choice is
kept), and on Android or iOS it stays on a wide layout (an unfolded
foldable) above the active pane, where floating is ignored too. When
expanded, the pile turns into a close button at its own spot and the
column rises above it; while a chat is dragged that button is the remove
target, replacing the separate x at the bottom. Chat widget tests start
on Quick switch (they run as Android); the stack's tests choose it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:47:57 +00:00
alan 81c73275c0 Notes: foldable menu offset, hidden chat list, Terminal default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:38:30 +00:00
alan fba3b924f1 Chat stack: hold and drag to reorder the open chats, or onto x to remove
A 300 ms hold lifts a chat in the open column; dragging opens a gap and
dropping commits through ChatWorkspaceController.movePane, the pane order
the server syncs. An x comes in at the bottom while dragging; dropping on
it removes the chat with Undo, which restores its place. Escape, a
cancelled pointer or a drop away from the column put it back. Move up,
Move down and Remove are semantic actions. Repaint-only motion; reduced
motion swaps at once. Also keep floating-layout tracking out of
initState, and let the capture kit hold a press before a drag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 21:17:51 +00:00
alan 8e19459d6f Chat stack: notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 20:22:55 +00:00
alan d13dee4852 Paper: task card in the panel fill; design notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 19:21:14 +00:00
alan 0dbb40e100 Merge branch 'worktree-agent-ae3af4174afca7f4d'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 12:59:07 +00:00
alan 8138cdc3d9 Linux desktop: optimized release build, installer, Linux gaps
Build: split Dart debug info out of libapp.so (13.96 -> 11.27 MB, symbols
kept in the cache) and fix icon tree shaking, which Flutter 3.44's Linux
CMake backend silently disables by quoting the define; the build image
patches its SDK copy (MaterialIcons 1.6 MB -> 25 KB). Impeller cannot be
enabled in a Linux release build and was slower in a profile-build bench.

Install: `./install --linux --install` installs the bundle into
<prefix>/lib/app-linux with com.pipelines.app.desktop (the GTK/Wayland
app id), its icon and a ~/.local/bin/pipelines-app link, through
scripts/install-linux-app.sh.

Linux gaps: notifications through the freedesktop daemon; HTML artifacts
explain the missing web view instead of throwing; no Share for files;
a GTK clipboard reader for pasting files and screenshots (Ctrl+V and
Omarchy's Super+V); GTK header bar only on GNOME; window icon.

Bench: native fixture frame log, wheel/mark steps and
tool/perf/linux_desktop_bench.py (private Xvfb); results in
app/notes/linux-desktop-optimized.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 12:54:18 +00:00
alan 61c7eee2b0 App: open a chat, the terminal or a diff in a new window
"Open in new window" sits beside Float: the chat pane and chat list row
menus, a floating chat window's title bar, the terminal options menu and
the diff bar, plus Alt+Shift+Y for the chat with the keyboard (listed in
the shortcut help). Once the window opens the item leaves the main window
as Float takes a pane out of the tiling.

The window is its own app instance at /window/chat/<id>,
/window/terminal?tab=<key> or /window/diff/<token>: only that item, named
after it, with "Bring back to main window". It has its own connection and
writes no shared layout (no open-chat workspace, window store or terminal
layout) and posts no notifications, so they stay the main window's.

Web opens a popup window (a blocked popup offers a tab); Linux and macOS
start a second process with --detached (Flutter's multi-window API is still
experimental); Android and iOS hide the action. The capture kit gains a
follow step for windows a page opens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 12:47:42 +00:00
alan f5ce4e5d8e Merge branch 'worktree-agent-aa9ed772f90c7c7b3' 2026-12-02 20:20:08 +00:00
alan 545291e04a App: run failure reasons, Run again, labelled tabs, actionable errors, nav fixes
- Run rows show a failed run's reason (else its diagnostic's first line,
  full text in a tooltip) or a short result preview; the Summary leads
  with "Why it failed".
- Run again for succeeded/canceled/interrupted runs opens the New run form
  pre-filled (prompt, workspace, report format) at the latest version with
  the original offered.
- Run detail and stage tabs show their names; touch shows captions on the
  Runs header and artifact viewer actions (desktop keeps tooltips).
- ErrorNotice maps not connected / server too old / permission / timeout
  to what to do, raw detail behind Details (Schedules, create chat, Runs,
  Pipelines banners).
- Settings has no Back arrow; Schedules keeps the rail on wide windows;
  phone Settings leads with Connection and Notifications and has a
  Jump to topic menu.
- Walkthrough: Open Connection (skipped when connected), labelled Copy.
- Pluralised counts; no duplicate status/rail names for screen readers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 20:16:22 +00:00
alan 876336f6fd Merge branch 'worktree-agent-abc9e7b0a4e0a0f54'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 20:05:02 +00:00
alan f02ff56dfe App: dark-aware HTML views, run cards, changed/missing file notes, one card width, dense diff rows
show_html documents that declare dark support follow the app theme; others
stay light. Tool description and skill docs say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 19:54:58 +00:00
alan b91ef04ab0 Notifications: agent notify reaches every device and clears everywhere
- Server: chat ntfy messages carry a sequence id derived from their app id;
  clearing a chat app notification also clears it in ntfy (PUT
  /<topic>/<seq>/clear, verified on ntfy v2.38.1).
- Server: a turn that sent an agent notify does not also send chat_reply.
- notify tool and MCP instructions: Pipelines already notifies at reply end
  and for questions/approvals; notify is for mid-turn or background news.
- Shown notify items carry channels (apps/phone); the transcript row says
  where it went.
- App: NotificationBridge.close(tag); web closes tracked Notifications and
  tells other tabs over a BroadcastChannel; native bridge cancels by tag and
  now supports macOS. AgentNotices closes on notifications_cleared and on
  resubscribe cleared ids, and a tap sends clear_notifications.
- Docs: skill, chat reference, ntfy/notifications docs, app note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 19:49:31 +00:00
alan d204ce3187 Chat tools: argument validation, replace, file snapshots, server-fetched images, show_run, show_diff head/paths, schedule_followup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 19:44:47 +00:00
alan 150481b57b App: agent notifications on the web (system notification, toast, tab title count)
The app subscribes to the notification stream on every connection and
delivers chat_notify notices: a toast when the page is focused (none if
that chat is in view), a browser notification titled '<chat>: <title>'
plus a '(n)' tab title count when it is not, and on insecure http pages a
toast, the title count and a short chime. Low priority posts only when
hidden. Replays within an hour show once; ids persist in the ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 16:02:47 +00:00
alan 141661e355 Chat: Ctrl+K / Alt+K on Chat opens a quick switcher for the open chats
On Chat the chord now toggles a centred dialog (bottom sheet on a phone)
with an autofocused filter over the open chats in list order; Ctrl+N/Down
and Ctrl+P/Up move the wrapping selection, Enter opens the chat as Ctrl+Tab
does (pane reused, composer focused), Esc or the chord closes it. From other
destinations the chord still jumps to Chat. Ctrl+N/Ctrl+P are handled so the
web page prevents their defaults (Ctrl+P no longer prints); a browser tab
keeps Ctrl+N reserved, documented in the help and notes/chat-quick-switch.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 12:27:39 +00:00
alan 26b1c00094 Chat perf: notes and numbers; the 4K bench runs on a wasm build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 01:34:53 +00:00
alan 6de1fa588f Merge branch 'worktree-agent-a69b1e8a6164ea62e' 2026-12-01 21:05:51 +00:00
alan 3b1760fe8e Web: WebAssembly build served cross-origin isolated, immutable and precompressed
The web app is built with --wasm (skwasm, JS/CanvasKit fallback beside it).
The proxy serves it with COOP same-origin + COEP credentialless so skwasm
renders on a worker; an installed build loads from /_v/<buildId>/ cached as
immutable, other files revalidate by ETag, and the installer precompresses
.br/.gz variants the proxy sends by Accept-Encoding. The bootstrap no
longer registers Flutter's deprecated service worker (a reload per install).
Read aloud on the web uses the Web Speech API through package:web: the
flutter_tts web plugin's interop casts fail under wasm. Bench kit: isolation
and headed modes, renderer and memory reporting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 21:05:17 +00:00
alan 2889d59119 App: replace a silent socket instead of hanging; blink the terminal cursor on a timer; keep one markdown cache entry per streamed reply
A socket that outlived a sleep or network change looked open, so every
queued request waited its own 30 s timeout behind the last until the page
was reopened. The client now replaces a socket whose request times out
unheard (or after two timeouts in a row), and probes it with a ping after
a quiet spell or on returning to the foreground.

The terminal's blinking cursor ran a Ticker (a frame every vsync); a 530 ms
timer now flips it. Streamed deltas no longer flood the markdown cache and
evict finished answers.

Adds tool/perf/idle_session_bench.mjs (idle frames, long-session heap,
snapshot census) and notes/perf-hangs-idle.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 20:47:22 +00:00
alan 0dc805ae0e Chat: show the active Claude account in the send tooltip, menu and limit banner
usage.account now carries the email and organization of the account
Claude Code is signed in to (from its initialize account, or the saved
account just switched to), sent at process start and after a switch.
The app shows it as the send tooltip's usage prefix, the Claude account
menu subtitle, the usage-limit banner's status line and the info sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:33:46 +00:00