Commit Graph

2926 Commits

Author SHA1 Message Date
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 32029cf58f Merge main: ntfy removed, first-run messages kept
Resolved docs/install.md, internal/cli/app.go, internal/statusview and
scripts/setup-native.py: no ntfy anywhere (connection, status, installer
constants, troubleshooting ports), keeping the first-run next steps, the
unreachable-server and tool/Docker install hints. README drops the C
compiler (ntfy was its only user). The installer summary's password
wording is now per run (a reinstall in the same process no longer says
"you just chose"), and its test checks the URLs then the next steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:54:57 +00:00
alan 035b411125 Retro CRT: per-frame live switch test to and from every design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:42:27 +00:00
alan 4164e9ae12 Merge branch 'worktree-agent-a6787b14310453b9c' 2026-12-03 23:41:55 +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 3e41d4e68e Merge branch 'worktree-agent-ad186d1dc8a60ff09' into worktree-agent-a0d31733af4251e8d 2026-12-03 23:29:25 +00:00
alan e72bee3faa First run: empty states with a next step, harness setup instead of errors
- One shared EmptyState (icon on a tonal disc, title, one line, primary
  action) that follows the design tokens; used by Runs (Start your first
  run), Pipelines (Browse templates), Schedules and the chat list (Start a
  chat).
- Chat on a server without an agent harness showed "Bad state: No saved
  machine is connected.": the federated list now keeps the server's own
  refusal, treats an omitted empty list as no chats, and the list shows a
  "Set up an agent" state with the harness setup command and Refresh. New
  chat shows the same step instead of a form that can only be refused.
- A run that fails because no harness CLI exists names the setup command
  beside the raw reason; error advice gains a noHarness kind.
- Templates opened before the app connected stayed on "Not connected";
  it now reads again when the connection arrives. The Pipelines empty state
  links to Templates, which had no entry point in the UI.
- The first-launch walkthrough waits briefly for the connection, so a
  connected web app is no longer told to connect; the empty-server check
  treats omitted lists and no chat harness as empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:29:23 +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 8a513ca418 Merge branch 'main' into worktree-agent-a6787b14310453b9c 2026-12-03 23:22:17 +00:00
alan 031b35a0e9 Security review: status of each finding and the operator's decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:22:17 +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 b24fc31761 Scrub Pipelines secret pointers from agent environments (H3, layer 1)
New internal/agentenv drops every PIPELINES_* variable naming a token,
secret, password, auth file or key (except *_PUBLIC_KEY) from the
environment of processes started for agents: Claude stages and chats
(direct and hosted), Pi stages, OpenCode stage CLI calls and serve
processes, check commands, delivery-gate checks, `!` shell lines, the
run's workspace environment and turn-diff git snapshots. MCP servers are
children of the harness and inherit its scrubbed environment. The
interactive terminal is unchanged. An agent's `pipelines` CLI call falls
back to the default server-token location.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:16:57 +00:00
alan e39a9560ba Sandbox home and artifact files served on the app origin (H1)
GET /files and /artifacts/ now send the artifact sandbox CSP and nosniff
through one helper, and /files serves HTML, XHTML, SVG, XML, XSL,
JavaScript and multipart/x-mixed-replace as attachments, including when
the type is sniffed from an extensionless file. The web proxy adds the same
headers to every proxied /files and /artifacts/ response (defence in depth
against an older server), and the peer relay shares the helper.

show_html previews are unchanged by operator decision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 23:16:46 +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 f4ca239afb Compact: snap previews too, pin the composer to the 40px send button
The design switcher's live preview decides the hosts' blend like a choice
does. Compact's field matches the now fixed 40px send button and its
32px attach centres on that line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:54:51 +00:00
alan d8577d7c6c Merge branch 'worktree-agent-a349550966b0e2bad' 2026-12-03 22:50:16 +00:00
alan 806b5eca46 Merge branch 'worktree-agent-a06e0451821d3b243' 2026-12-03 22:42:38 +00:00
alan a37a6e0934 First run: friendly empty lists, actionable unreachable server, clearer installer
- CLI: empty list/runs/drafts/skills say so on stderr with the next command
  (stdout and --json unchanged); empty stats skip the zero table; connection
  shows ntfy not configured.
- CLI: a refused or unresolvable server says where it dialled and how to
  start it (pipelines start/doctor, or pipelines serve), redacting the URL.
- skills list/show/import dial the saved client.json address like every
  other server command instead of always 127.0.0.1:8080.
- Status: an unreachable server says how to start it; unconfigured ntfy reads
  as optional phone notifications rather than a Docker misconfiguration.
- Installer: missing tools name where to get them; Docker missing vs not
  running are told apart; the summary ends with numbered next steps (open
  the URL, sign in with the password just chosen, set up harnesses, start a
  chat or example pipeline).
- README: prerequisites, password and a short First steps; install docs
  updated (password rule was stale).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:41:02 +00:00
alan baf65656d6 Add security review for a default install
Read-only review of network exposure, authentication, agent execution,
prompt injection, supply chain, secrets, filesystem, federation and
resource limits, with a README-ready summary and a secure-by-default
checklist. No code changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:37:31 +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 df1ede2200 Chat stack groups: read the refused write's error frame in the server test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:19:58 +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 048ecc651e Merge branch 'main' into worktree-agent-a1b6c249e2bec6658
# Conflicts:
#	app/lib/ui/theme/app_design_controller.dart
2026-12-03 22:18:46 +00:00
alan efaa0d9fca Chat stack: groups of open chats, synced with the open-chat set
A chat dropped onto the middle of another makes a named group (asked at
once, "Group N" by default); onto a group it joins, a group dropped onto
a chat takes it in, groups merge. The top level shows each group as a
small pile with its name and count; a tap opens it in place under a
header that leads back (also the scrim, Back and Escape). In a group,
dropping a chat on the header leaves the group; a group of one
dissolves. The close button ungroups a dropped group with Undo. Rename,
Ungroup, Close all (with Undo), Move to group and Remove from group are
in the group menu and as semantic actions.

Each open-chat entry carries its group name (protocol field "group",
omitted when ungrouped; older clients ignore it), stored and pushed by
the server like the order; names are trimmed, printable, at most 80
characters. Needs a server restart to keep groups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:18:44 +00:00
alan 550f648746 Merge branch 'main' into worktree-agent-a349550966b0e2bad 2026-12-03 22:18:38 +00:00
alan f4bd8ad44c WIP read aloud keeps playing across chats 2026-12-03 22:18:38 +00:00
alan e86fd3572a Merge branch 'main' into worktree-agent-abd5e670d79e5cb5c 2026-12-03 22:18:36 +00:00
alan 618add34b0 Chat: Alt+] / Alt+[ move the keyboard between the chat panes on screen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:18:36 +00:00
alan dae47600b7 Compact: name Classic in its description and note 2026-12-03 22:18:35 +00:00
alan 9436067bf2 Merge branch 'worktree-agent-ab5b11bc6eab1d077' 2026-12-03 22:14:27 +00:00
alan 4268ce20eb Design switcher: Alt+L lists every design, previews live, Enter keeps it
The chat switcher's popup and keys over the AppDesign registry: filter,
Ctrl+N/P and arrows preview the selected design app-wide without storing
it (AppDesignController.preview), Enter keeps it, Esc or Alt+L again
returns to the design it opened with. The current design is checked.
Listed in Settings -> Keyboard shortcuts and the cheatsheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:10:19 +00:00
alan 3e066622d8 Send button: fixed size in every design and a clear 3px gap to its usage ring
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 22:04:02 +00:00
alan 6e7118fe34 Merge branch 'main' into worktree-agent-a1b6c249e2bec6658 2026-12-03 22:00:26 +00:00