Commit Graph
1311 Commits
Author SHA1 Message Date
klopez4212andClaude Fable 5 527330a093 Keep the PR monitor live: gh token fallback, honest errors, poll gating
The monitor went stale-empty overnight because every failure path
compounded: the app usually launches without GITHUB_TOKEN in its env,
so all GitHub calls ran anonymous (60 req/h) while the panel polls
~180 req/h — rate-limited within minutes — and non-success responses
returned Ok(None), which the UI rendered as a confident "No checks /
0 open comments" instead of an error.

Three fixes: ambient_github_token falls back to `gh auth token`
(resolved once per process) so the desktop uses the CLI credential
that's actually on the machine; GitHub commands now return Err on
non-404 failures so React Query keeps the last good snapshot and
retries instead of overwriting it with nothing; and polling pauses
entirely while the drawer is closed — unless automation is armed,
which keeps watching in the background.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:58 +01:00
klopez4212andClaude Fable 5 d2d26bc07c Reject placeholder tokens when parsing branches
A message quoting a template command — `git checkout -b <branch>` —
parsed the literal "<branch>" as the chat's branch and the work panel
chip displayed it. Every command-parsed candidate now has to look like
a real git ref (alphanumeric start, ref charset, not a sha); the prose
patterns were already restricted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:58 +01:00
klopez4212andClaude Fable 5 f682796d43 Name chats the way branches are named
The chat-title side prompt asked for a "short title", which drifts
toward wordy summaries; the agent's git branch names for the same work
are consistently terser. The prompt now asks the model to name the
conversation exactly as it would name a branch for the task — the same
few concrete words — written with spaces instead of dashes. When a
model answers with the literal slug anyway, the sanitizer converts a
single dashed/underscored/slashed token into spaced words with a
leading capital.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:58 +01:00
klopez4212andClaude Fable 5 21faa17229 Match transcript message weight to conversation text
The agent's in-transcript messages (the self-talk that renders between
markers) and mid-turn user prompts step up to font-medium, matching the
persisted conversation rows. Marker rows and their expanded details
keep their lighter treatment.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:58 +01:00
klopez4212andClaude Fable 5 5cf7a86e5e Hold agent activation in its loading state until the agent responds
Clicking Activate reverted to idle (with a success toast) as soon as
the start API returned — but a launched process is not a responding
agent, so the card lingered and read as a failed activation. The card's
button now stays in its loading state from click until the chat's turn
actually starts (the card unmounts then), with a 60s give-up window,
and the copy switches to "Starting {agent}… It will pick up your
message as soon as it connects." The premature success toast is gone —
the agent visibly starting work is the confirmation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:57 +01:00
klopez4212andClaude Fable 5 47b67066c1 Hide automation prompts from the chat timeline
The auto-fix-CI and address-comments nudges are sent as user messages
so the agent hears them through the normal pipeline — but rendering
them as the user's own bubbles broke the illusion. They now carry an
["automation", "work-panel"] tag (riding the outgoing tag path the
composer already uses) and the timeline renders only their anchored
activity: the agent's turn markers and reply appear with no visible
prompt, so armed automation reads as ambient.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:57 +01:00
klopez4212andClaude Fable 5 e63099c093 Weight chat conversation text at medium
Message content in chats — bubbles and agent replies — steps up to
font-medium so the conversation reads a notch heavier than the
muted marker plumbing around it. Markers keep their current weight.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:57 +01:00
klopez4212andClaude Fable 5 38c9ab7ab5 Offer Side conversation on thread messages
The action reached the main timeline's rows but was never threaded
into MessageThreadPanel, so messages inside a thread had no handler
and the menu item silently didn't render. The panel now accepts
onStartSideConversation and passes it to both the thread head and
reply rows; ChannelPane forwards the same archived-gated handler the
main timeline uses.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:56 +01:00
klopez4212andClaude Fable 5 67bdfcfc0b Tint link chips inside own message bubbles
The standalone link-chip treatment (opaque muted fill, provider-colored
icon tile) read as a gray slab inside the user's primary-colored bubble
— most visible on the automation prompts carrying a PR link. Chips in
own bubbles now derive everything from currentColor: translucent fill,
border, and icon tile, so they read as part of the bubble in both
themes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:56 +01:00
klopez4212andClaude Fable 5 141adb7892 Preset card polish and PR discovery from the branch
Preset cards: taller cards with breathing room between the icon and the
text block; the agent picker no longer lists the welcome guide's
managed instance next to the Default agent row (the duplicate Fizz);
the invite search now goes through useUserSearchQuery — the same
normalized, cached path the channel invite uses — instead of a raw
searchUsers call whose un-lowercased query could miss on relay search.

Work panel: when no PR link was ever posted in the chat, the panel now
discovers the pull request from the branch itself — a new
find_github_pr_for_branch command reads the project's origin remote
(ssh or https GitHub URLs), asks the pulls API for the branch head, and
falls back to scanning open PRs for fork-headed branches. The panel
runs this only while it has a branch + project directory and no posted
link, polling slowly so a PR opened mid-conversation surfaces on its
own.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:56 +01:00
klopez4212andClaude Fable 5 b74f5e42a8 New-chat preset cards and activity from every agent in a chat
New chat screen: the "Start a chat" center gains channel-intro-style
preset cards. Default agent shows who will handle the chat with a
picker to swap in another managed agent or a whole team (team personas
are created in the chat like template agents, first one becomes the
default). Directory shows the selected project's path (or free-chat
empty state) and opens the project picker. Invite searches the user
directory and pre-adds people as members on create, merged with the
@mention flow.

Multi-agent activity: the chat transcript and working indicators only
read the default agent, so a second agent's turns rendered nothing.
The transcript now merges every active managed agent's items by
timestamp, live turn ids come from the by-channel store (which now
carries turnIds), and the composer stop button cancels every agent
working in the chat.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:55 +01:00
klopez4212andClaude Fable 5 b6af79309f Render @mentions as chips in chat messages
Chat messages rendered markdown but never passed the mention props, so
@mentions stayed plain text. ChatMessageRow now resolves the message's
p/mention tags into name→pubkey maps (people vs agent chips, same
treatment as channel messages) for every author — own bubbles, other
humans, and agents. Mentioned users' pubkeys join the chat's profile
batch so a chip resolves even when that user never posted in the chat.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:26 +01:00
klopez4212andClaude Fable 5 48a9ff9742 Track the chat's PR link from any participant, not just agents
Author-scoping the work panel's PR scan proved brittle twice over:
first it matched only the default agent, then only the viewer's
managed agents — an agent someone else added to the chat still slipped
through, leaving the panel on the bare branch chip. Any PR link posted
in the chat is the chat's work; the scan now simply takes the latest
one regardless of author.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:26 +01:00
klopez4212andClaude Fable 5 cf1f4b5dbc Work panel: accept PRs from any agent, pop the GitHub stack in
The panel's PR link scan matched only the chat's default agent, so a
pull request posted by a second agent added to the chat never surfaced
— the drawer stayed on "No current branch". The scan now matches any
managed agent (plus the configured default).

When the PR info arrives, the card + CI monitor stack enters with a
slight scale + opacity pop (keyed by PR href, so a newer PR re-runs
it; disabled under prefers-reduced-motion).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:26 +01:00
klopez4212andClaude Fable 5 f9576ddaa5 Skip 👀/💬 seen and working reactions in chat channels
Chats have live working indicators (sidebar shimmer, working row), so
the harness's acknowledgment reactions on the user's message read as
the agent spamming emoji — noticeable the moment a second agent joins
and both react. The queue-time 👀 gates on the existing chat check;
the turn-start 💬 resolves chat-ness inside its fire-and-forget task
(startup cache first, REST fallback for chats created after the
harness booted) so the prompt still fires immediately. The
ReactionGuard cleanup stays unconditional — removing reactions that
were never added is a no-op.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:25 +01:00
klopez4212andClaude Fable 5 4c4faacdc2 Soften chat marker rows to muted-foreground/70
At full muted-foreground strength the marker labels, icons, and the
completed-work expander still competed with the conversation text;
drop them to 70% opacity so they clearly read as plumbing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:25 +01:00
klopez4212andClaude Fable 5 b93d168ccf Place unanchored turn activity by time instead of pinning it last
Turn blocks attach to their prompt message by id; when the id can't be
matched (replayed backlog outside the fetched window, a prompt that
didn't carry the id) the block fell into the trailing bucket rendered
after ALL messages — so old "Thought for Xs" summaries sat stuck at the
bottom while newer messages and turns rendered above them.

Unmatched blocks now attach to the latest message at or before the
block's start time (5s skew tolerance for the agent-host clock), so
they render at their chronological spot and move up naturally as the
conversation continues. The trailing bucket remains only for blocks
with no usable timestamp or an empty message list.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:25 +01:00
klopez4212andClaude Fable 5 83d577dc34 Ellipsize the shimmer overlay and center the stop icon
The shimmer ::before repeats the full data-shimmer-text, so on
truncating labels it painted the clipped characters over the base
text's ellipsis. The overlay now truncates identically (same font and
box, so the ellipsis lands in the same spot).

The stop square sized its svg directly, which competed with the
button's [&_svg]:size-4 rule and sat the glyph off-center — the size
override now lives on the button so class merge resolves it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:24 +01:00
klopez4212andClaude Fable 5 e369ad801e Composer stop button, message-derived branch, muted markers, shimmer punch
Stop button: while the chat's agent has an active turn, the composer's
send button becomes a stop button that sends the cancel-turn control
frame to the agent; a user message in flight keeps the sending spinner.
(MessageComposerProps moves to a sibling file to stay under the
1000-line ceiling.)

Branch chip: tool activity only exists from observer-subscription time,
so a worktree created before the app attached left "No current branch"
even though the agent had announced it. The agent's persisted messages
are now a fallback source — "…on branch kennylopez-dictation",
backticked branch names, and quoted git commands all parse.

Markers: the completed-work expander label and tool preview text drop
to muted-foreground so every marker row reads as secondary to the
conversation.

Shimmer: per-theme band colors — light keeps primary washed toward
white; dark mixes primary toward black in oklch, which keeps the hue
saturated instead of graying into the background, for a clearly
stronger sweep against near-white text.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:51:24 +01:00
klopez4212andClaude Fable 5 ba8ac20fec Make the accent shimmer contrasty and robust to mid-turn attach
Contrast: the accent shimmer band swept raw primary, which sits too
close to the text's lightness in both themes (58%-L purple vs
near-black text in light; 80%-L purple vs near-white text in dark) and
barely read. The band now mixes primary toward the background — lighter
in light mode, darker in dark mode, both directions pulling away from
the text — and narrows so the highlight covers more visible text per
pass.

Robustness: observer frames are ephemeral, so an app subscribing
mid-turn missed turn_started and the turns store stayed empty (dark
sidebar shimmer, no working badges) until a liveness ping happened to
land. Any frame carrying a turn context — tool calls included, which
stream constantly during work — now establishes the turn, still gated
by the terminal tombstone so completed turns stay dead.

Adds an e2e spec covering the sidebar title shimmer end to end via
seeded active turns.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:18 +01:00
klopez4212andClaude Fable 5 463c74d5a2 Show the agent's live branch in the work panel, animated on change
The branch chip previously only knew head.ref from the GitHub PR, so it
sat on "No current branch" until a PR existed and snapped when it did.
The chat's channel-scoped transcript already carries the agent's shell
commands, so the panel now derives the current branch from the latest
`git worktree add` / `checkout -b` / `switch` the agent ran (live
activity wins over the PR's head ref) and swaps the chip text with the
same character animation the chat title uses.

File checkouts, `--` restores, and bare shas are ignored so only real
branch moves update the chip.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:17 +01:00
klopez4212andClaude Fable 5 e787698a76 Expandable CI monitor with per-check runs and open-comment count
The CI chip in the chat work panel is now a dropdown: the summary row
keeps the aggregate state plus a chevron, and expanding it lists each
check run with its own pass/fail/pending icon, followed by the two
automation checkboxes (moved out of their standalone chip).

The comment count now shows review threads still awaiting the PR
author's reply instead of the raw total — REST can't see GitHub's
resolved bit, so replying is what clears a thread. New
fetch_github_pr_comment_state command groups review comments into
threads and counts the ones whose last word isn't the author's; the
address-comments automation nudges on rises in that count and re-arms
once it returns to zero.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:17 +01:00
klopez4212andClaude Fable 5 1ee49bce2f CI monitor and automation toggles in the chat work panel
The work drawer becomes a PR monitor: a CI chip shows running (with
progress), failing (red, count), or passing (green) from the head
commit's check runs, alongside the PR's comment count — both polled
while the panel is mounted.

Two persisted per-chat checkboxes arm automation: "Auto-fix CI
failures" prompts the chat's agent to investigate and fix once a head
sha's checks settle red (one nudge per sha), and "Address comments &
resolve" prompts it to work through comments and replies, reply, and
resolve addressed threads whenever the comment count rises (watermarked
so it never repeats).

Adds fetch_github_check_summary and head sha/comment counts to the PR
fetch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:17 +01:00
klopez4212andClaude Fable 5 e24f4a8c8a Defer opening the rename dialog past the context menu's close
Opening the dialog synchronously from the menu item's onSelect races
Radix's menu close/focus-restore against the dialog's focus lock and
can freeze the webview (observed as an app crash on rename). Deferring
one tick lets the menu fully close first.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:16 +01:00
klopez4212andClaude Fable 5 8aa9839884 Always offer the work drawer; lighten the Share button
The header's PR toggle now shows for every chat: the drawer auto-opens
once the agent produces a pull request and shows a "No current branch"
empty state before that (explicit toggles override per chat). The
Share button trades its filled pill for a light border stroke with a
hover fill.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:16 +01:00
klopez4212andClaude Fable 5 f8a84deb63 Widen the work drawer and match generic card styling
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>
2026-07-07 07:46:16 +01:00
klopez4212andClaude Fable 5 090d5f6d9c Reserve the rich PR card for the chat work drawer
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>
2026-07-07 07:46:16 +01:00
klopez4212andClaude Fable 5 0640bd31b2 Soften the work panel container to a muted wash
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>
2026-07-07 07:46:15 +01:00
klopez4212andClaude Fable 5 8f8c4a70e6 Drop the Work label from the chat work panel
The branch chip and PR card speak for themselves.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 07:46:15 +01:00
klopez4212andClaude Fable 5 c3d49f111c Give the work panel's PR card its own surface
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>
2026-07-07 07:46:15 +01:00
klopez4212andClaude Fable 5 c201f0431a Style the work drawer as a secondary-surface container
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>
2026-07-07 07:46:14 +01:00
klopez4212andClaude Fable 5 4224f9d511 Drop the leading icon from the chat header
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>
2026-07-07 07:46:14 +01:00
klopez4212andClaude Fable 5 8c7f49d1fb Toggle the chat work panel from the header
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>
2026-07-07 07:46:14 +01:00
klopez4212andClaude Fable 5 3c23b8e62c Stop Vite from watching test artifacts
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>
2026-07-07 07:46:14 +01:00
klopez4212andClaude Fable 5 f19c35e025 Chat stream polish, PR work panel, and branch e2e fixes
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>
2026-07-07 07:46:13 +01:00
klopez4212andClaude Fable 5 ecaa8573d5 Fade chat content under the header like the sidebar's pinned edge
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>
2026-07-07 07:46:13 +01:00
klopez4212andClaude Fable 5 faed867294 Phase-shift the shimmer keyframes instead of a negative delay
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>
2026-07-07 07:46:13 +01:00
klopez4212andClaude Fable 5 2c4b5b0f7b Steady the Working shimmer; instant archive slot
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>
2026-07-07 07:46:12 +01:00
klopez4212andClaude Fable 5 60a67a9f3b Keep sidebar shimmer titles readable and truncating
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>
2026-07-07 07:46:12 +01:00
klopez4212andClaude Fable 5 7d7babbc2f Chat sidebar and stream polish
- 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>
2026-07-07 07:46:12 +01:00
klopez4212andClaude Fable 5 1fe8695c69 Track live turns per turn id; distinct agent-authored PR cards
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>
2026-07-07 07:46:12 +01:00
klopez4212andClaude Fable 5 7d5f97d742 Render rich GitHub PR cards in messages
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>
2026-07-07 07:46:11 +01:00
klopez4212andClaude Fable 5 d24d56f809 Restore the last-viewed chat when returning to the Chats tab
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>
2026-07-07 07:45:34 +01:00
klopez4212andClaude Fable 5 17e18343f1 Hide turn-setup lifecycle markers in chats
"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>
2026-07-07 07:45:34 +01:00
klopez4212andClaude Fable 5 9d67921af6 Anchor multi-message turns to the user's latest message
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>
2026-07-07 07:45:33 +01:00
klopez4212andClaude Fable 5 8f38eddcad Polish chats mode: live feedback, auto-titles, and turn readability
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>
2026-07-07 07:45:33 +01:00
klopez4212andClaude Fable 5 4a19f5ae25 Teach buzz-acp to title chats and replay unanswered chat backlog
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>
2026-07-07 07:44:38 +01:00
klopez4212andClaude Fable 5 1eacdea1d8 Add request deadlines to the desktop relay HTTP bridge
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>
2026-07-07 07:43:31 +01:00
klopez4212 fb548c6373 Add Chats mode 2026-07-07 07:43:31 +01:00
1f5ba5bb27 fix(desktop): sync derived active-turn liveness in channel activity path (#1492)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
2026-07-07 03:59:23 +00:00