The drawer grows to w-96 so the PR card's stats fit, and the container
wash is gone: the branch chip and card use the same attachment styling
as the generic link chips, directly on the chat background.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Plain dropped GitHub PR links go back to the compact static chip they
had before; the live rich card (status, diff stats) now appears only in
the chat work drawer — at the same compact-attachment scale as the
generic chips — and agent-authored messages keep their banner variant.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bg-secondary read too heavy next to the conversation; bg-muted/40
keeps the grouping while blending with the chat background.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The card's default muted background matched the panel's secondary
container exactly; it now uses the same background inset as the branch
chip so both read as distinct items on the surface.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The work module's contents (label, branch chip, PR card) sit in a
rounded secondary-background container, the divider against the
conversation is gone, and the drawer eases open/closed on its width
(300ms ease-out) instead of popping — the panel stays mounted so the
close animates too.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The chat title stands alone in the header — the MessageCircle glyph
added no information. Other modes keep their icons.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A pull-request button sits left of the chat settings menu whenever the
agent has posted a PR, toggling the top-right work module (tinted
primary while open; each chat starts with it visible). The panel's
card now uses the standard rich PR card style, matching PR link cards
elsewhere.
Splits ChatList out of ChatsScreen (file size ceiling) with the
shared-chat metadata check moved to lib/chatShared.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A Playwright or build run in the same checkout wrote playwright-report/
test-results/dist, and the dev server's watcher force-reloaded any live
app window on every write — killing in-flight Tauri IPC ("Couldn't find
callback id") and making interactions appear to crash mid-flow.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Chat stream:
- Activity markers span the full conversation column (matching the
"Thought for Xs" row) instead of capping at 42rem.
- Own bubbles drop the redundant "You" header.
PR work panel: when the chat's agent posts a pull request, a module
docks top-right inside the chat area (conversation and composer shrink
to make room) showing the PR's source branch and the live PR card.
fetch_github_pull_request now returns head.ref for the branch chip.
Branch e2e repairs (both regressions pre-dated today):
- "Jump to latest" now re-asserts the bottom until row re-measurement
settles — a smooth jump aimed at a stale scrollHeight landed short
once grouped rows changed height estimates.
- Sidebar dnd gains a keyboard sensor with keyboard-aware collision
detection, and channel-assignment drop zones are disabled while a
section drag is active. The dnd e2e uses a viewport tall enough that
auto-scroll can't move the drop target mid-drag.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds an opt-in top fade overlay to the message scroller (mirroring its
bottom fade) and enables it for chats, so messages dissolve as they
scroll under the chat header — the same treatment the sidebar's pinned
header applies to channels scrolling beneath it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
WKWebView renders the negative calc() animation-delay unreliably, which
killed the sweep in the real app while Playwright engines showed it
fine. Encode the same mid-sweep start directly in the keyframes (the
50%→50.01% wrap lands while the band is outside the text, so the jump
is invisible) and drop the delay.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Working marker mounts and unmounts with every gap between tool
executions; replaying its entrance fade on each reappearance read as
blinking instead of a shimmer. Drop the entrance animation on that row
and start the shimmer band mid-sweep (negative animation-delay) so even
short-lived mounts show the moving band rather than the transparent
lead-in.
The sidebar archive slot now appears instantly on hover instead of
animating its width.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Two fixes to the working-chat shimmer in the sidebar:
- New buzz-shimmer-accent variant: the title keeps its normal text
color and a primary-colored band sweeps across it, instead of the
default treatment that dims the base text to make the highlight
read.
- The shimmer class now lives on the truncating span itself (the
MarkerLabel pattern), so long names ellipsize normally. The archive
slot is zero-width until hover/focus, giving the title the full row
and only shrinking to make room for the button on demand.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Sidebar chat titles shimmer while the agent works, replacing the
spinner (the archive affordance keeps its hover slot).
- Chat projects use the Notebook icon family instead of folders
(sidebar groups, project picker, new/none rows).
- Right-click on any chat offers Rename (dialog writing owner
metadata — hidden on shared chats), Pin/Unpin (persisted per
workspace; pinned chats sort to the top of their section), and
Archive.
- Solo chats (you plus one agent) hide the agent's avatar and name so
replies read as a plain stream; identities return automatically the
moment another agent or person participates.
The switching e2e now covers the context menu, pinning order, and
rename round-trip.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Three chat fixes:
- "Working" no longer renders once per turn block: the active-turn store
now exposes the live turn ids per channel, so only the actually-live
turn shows the marker and completed turns collapse even while a new
turn runs (previously a channel-wide boolean re-expanded every old
turn and gave each its own Working row).
- Agent-authored PR links render a distinct, prominent card (banner
layout with repo, status pill, title, and diff stats) instead of the
compact chip a pasted link gets. Threaded through a Markdown
agentAuthored flag set on agent message rows.
- New chats resolve their default agent immediately: quick-start
refreshes the managed-agents cache after ensuring Fizz, so the first
chat's agent replies render as agent rows instead of member bubbles.
The chats e2e now covers the agent card and pins mock message ordering
with explicit timestamps (same-second events sorted unstably).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PR links in messages now show a live card instead of the static
preview: repo and PR number, PR title, current status (open / draft /
merged / closed with a matching state icon), additions in green,
deletions in red, and the files-changed count. The whole card links to
the PR.
Details come from the GitHub REST API via a new Tauri command —
anonymous for public repos, with GITHUB_TOKEN/GH_TOKEN attached when
the shell that launched the app has one. Any fetch failure (rate
limit, private repo without a token, offline) falls back to the
existing compact card.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Chats tab always landed on the new-chat screen. Remember the
last-viewed chat per workspace (localStorage) and redirect plain
/chats navigations back to it when it still exists. Explicit new-chat
navigations carry a projectId in the route search and are never
redirected.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
"Turn started" / "Session ready" rows repeat on every turn without
telling the user anything actionable — the Working marker (and its
raw-event dropdown) already covers turn liveness. Drop them from the
chat timeline and the completed-turn dropdown; their timestamps still
feed the "Thought for Xs" duration.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A turn can span several user messages — a mid-turn steer, or a batch
that merged a replayed backlog message with a fresh one. Chat activity
placement anchored the turn to the FIRST of them, so the turn's output
(including the reply to the newest message) rendered above the user's
latest message, pinning it to the bottom of the conversation.
Attach the block to the latest prompt/steer message id instead, and
make merged prompts resolve their prompt item to the newest embedded
Buzz event section rather than the oldest.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A batch of chat-mode UX improvements:
- Per-element shimmer on loading markers (label and elapsed time each
get an aligned overlay instead of one misaligned combined pass).
- Slide-up entrance animation for newly arrived rows (messages and
activity markers), recency-gated so opening a chat never cascades.
- Consecutive completed shell commands fold into "Ran N commands"; the
in-flight command stays visible as its own live row until it lands.
- Chats auto-title once the conversation takes shape: agent-generated
chat_title frames are preferred, with a lead-in-stripping heuristic
as fallback. Titles swap in with the search-placeholder character
animation, never override a manual rename, and the sidebar list now
follows the metadata title.
- The "Working" row gets a dropdown showing the turn's recent raw
observer events (reusing RawEventRail).
- The agent activation card holds a 20s grace window after activation
so it doesn't flash back while the agent boots.
- Message scroller: bottom fade as an overlay (masks repaint per frame
in WKWebView), removed content-visibility sizing that broke
stick-to-bottom, simplified the scroll anchor.
- Fix duplicate sibling key that leaked a stacked header per chat
switch, and circular sizing that collapsed the animated title.
Adds e2e coverage for the first-message flow (send, entrance
animation, retitle) and a header-stacking regression test.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Two chat-mode harness features:
- chat_title observer frames: after the first successful turn in a chat
channel, run a tool-less side session (no MCP servers, no system
prompt, observer muted so its wire traffic never pollutes the turn's
transcript) that titles the conversation, and emit the sanitized
result as a chat_title frame for the desktop to apply.
- chat backlog replay: chats now subscribe from just after the agent's
own last reply (capped at 6h) instead of the startup watermark, so a
message sent while the agent was stopped is delivered once the owner
activates it, instead of being silently skipped forever.
Adds streamed assistant-text capture to AcpClient for side prompts.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The shared reqwest client had no timeout, so a stalled connection (e.g.
an expired VPN tunnel that blackholes packets) left relay bridge calls
pending forever — chat creation and message sends spun indefinitely with
no error surfaced. Relay requests now carry a 30s per-request deadline
and the shared client gets a 10s connect timeout (connect-phase only, so
media streaming stays unbounded).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>