Commit Graph

784 Commits

Author SHA1 Message Date
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
529965ebd8 chore(relay-reconnect): update Rust doc comment to hook-agnostic wording
Replace stale sign-in wording in relay_reconnect_hook_configured() doc
comment with the same hook-agnostic copy used in the UI.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-07-02 12:31:15 -04:00
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
04524e17ab fix(relay-reconnect): dismiss reconnect card on auto-reconnect without user click
connected state is now authoritative for recovery UI — a stale query
error no longer pins the reconnect card while the relay is healthy.

- useSidebarRelayConnectionCard: gate hasActiveRelayUnreachableError on
  !isRelayConnectionConnected so connected state clears the card even
  when channelsQuery.error has not yet been cleared
- ConnectionBanner: add state !== connected guard to
  hasCollapsedRelayError for the same reason
- RelayAutoHealScheduler: expand constructor parameter properties to
  explicit field declarations so node --experimental-strip-types can
  load the class in tests; initialize lastHealAt to -Infinity so the
  first recovery is never rate-limited
- Add useRelayAutoHeal.test.mjs covering all scheduler state transitions

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-07-02 12:23:56 -04:00
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
f42a301af1 fix(relay-reconnect): resilient reconnect with fast-path, escalation, and polling
The reconnect button had three compounding failure modes:

1. Instant false-fail during sign-in: the transport-recovery hook ran and
   exited in ~0.1s, but the tunnel liveness check passed while the Access
   layer was still blocked, so preconnect() hit the unreachable network and
   failed immediately — the user saw a 'failed' toast mid-login.

2. False-fail after actual reconnect: a single promise race with a 15s cap
   determined the verdict. preconnect() set keepAliveRequested=true so the
   background retry loop kept going and often succeeded right after the
   toast fired, leaving the user confused.

3. Spurious browser tab on transient blips: the hook ran unconditionally
   even when the transport was healthy and the disconnect was a network flap.

New strategy — try-fast-first → escalate → poll-until-connected:

- Phase 1 (fast path): attempt preconnect() with a 4s cap. Succeeds
  immediately for transient blips — no hook fires, no browser tab opens.

- Phase 2 (escalation, hook-configured builds only): only if the fast path
  fails and relay_reconnect_hook_configured() returns true, run the
  transport-recovery hook. The hook returns quickly; any browser-based
  network sign-in it triggers runs asynchronously.

- Phase 3 (poll-until-connected): retry preconnect() every 3s and watch the
  connection-state emitter. The moment the relay is reachable the next poll
  or emitter event declares success — no waiting for a timer. A 120s backstop
  fires a soft toast only; keepAliveRequested keeps the background loop alive.

Extracts a RelayReconnectController singleton (plain TS, injected deps) so
all three consumers — ConnectionBanner, useSidebarRelayConnectionCard, and
ProfileStep — share one in-flight state via useSyncExternalStore-style
subscribe. No double browser tabs; consistent 'Waiting for sign-in' state
across surfaces. Cancellation token (generation counter) is checked after
every await and inside every async continuation, closing the gap where a
cancelled poll's .then() could still mutate state.

Adds relay_reconnect_hook_configured Rust command (OSS-clean, bool) so the
frontend skips escalation and 'Waiting for sign-in...' copy in OSS builds.
e2eBridge returns false for this command in test environments.

Tests rewritten to exercise the real RelayReconnectController class with
injected fakes — no simulation helpers.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-07-02 11:26:49 -04:00
Tyler
7da936fff8 fix(read-path): reach complete threads, dense-second timelines, and all people in the GUI (#1418)
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
Co-authored-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co>
2026-07-02 10:36:11 -04:00
Wes
15ad7ae87e fix(desktop): stop search shortcut from hijacking the sidebar (#1447)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
2026-07-01 15:53:25 -07:00
Will Pfleger
fec7684366 feat(desktop): restore observer-feed regressions from #1381 and classify 4 new session/update types (#1412)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-07-01 16:33:26 -04:00
Will Pfleger
bdeab23b59 fix(desktop): disable spellcheck/autocorrect/autocapitalize on emoji picker search (#1438)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-07-01 16:23:55 -04:00
Wes
b32db5e0fd chore(release): release Buzz Desktop version 0.3.41 (#1435) 2026-07-01 12:46:57 -06:00
Will Pfleger
323a86ade8 fix(desktop): sort reaction pills by earliest created_at ascending (#1434)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-07-01 14:28:58 -04:00
klopez4212
3d08c3b02b Group consecutive desktop messages (#1429) 2026-07-01 18:13:22 +00:00
klopez4212
db2a970115 Update Buzz app icon (#1430) 2026-07-01 10:58:43 -07:00
Wes
ce1f13e8f7 feat(desktop): add workspace rail unread observer (#1428)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-07-01 10:55:30 -07:00
Wes
8fb33bdbca Prioritize channel members in mention autocomplete (#1431)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-07-01 10:54:32 -07:00
klopez4212
6a08a3f4c8 Tighten message density (#1426) 2026-07-01 16:50:50 +01:00
klopez4212
c0e10d67e0 Tighten sidebar section actions (#1424) 2026-07-01 15:22:09 +00:00
Wes
6c0e6f0bb7 Add memory copy actions (#1427)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-07-01 08:05:40 -07:00
klopez4212
177fe5a3bf Limit agent profile quick actions (#1425) 2026-07-01 07:54:30 -07:00
klopez4212
3e4e9dda94 Fade sidebar pinned chrome edges (#1423) 2026-07-01 07:51:05 -07:00
klopez4212
2fc8b9cf5f Apply smooth corners to inline media (#1422) 2026-07-01 07:50:26 -07:00
klopez4212
4ae5a0d5e3 Align thread summary rows (#1421) 2026-07-01 07:48:58 -07:00
klopez4212
8c38847913 Keep channel day dividers sticky (#1420) 2026-07-01 07:46:12 -07:00
Wes
461c24ab3f chore(release): release Buzz Desktop version 0.3.40 (#1414) 2026-06-30 17:16:32 -07:00
Wes
4fdc68f156 fix(desktop): stabilize channel-timeline scrollback with per-row height reserves (#1413)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-30 16:53:18 -07:00
Taylor Ho
697f63ddcc fix(sidebar): trim working badge label and name working agents in tooltip (#1408)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
2026-06-30 16:27:34 -07:00
Tyler
f86f97bbde feat(desktop): let thread pane expand on ultrawide monitors (#1407)
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
2026-06-30 18:55:08 -04:00
Will Pfleger
5784ff0f1a chore(release): release Buzz Desktop version 0.3.39 (#1410) 2026-06-30 18:52:02 -04:00
Will Pfleger
e8adc3383f fix: close cross-process keychain race and namespace dev-build nest (#1409)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 18:40:02 -04:00
Will Pfleger
0042c8e106 feat(relay): allow agent owners to edit/manage agent-owned content (#1403)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 18:31:47 -04:00
Will Pfleger
f061ae9c87 fix(desktop): fold baked build env into in-process model discovery (#1376)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 17:43:28 -04:00
Will Pfleger
36f32291e7 test(desktop): gate keychain-write test behind --ignored (#1404)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 15:29:00 -04:00
Wes
34d61acc95 perf(desktop): stop beachballs on agents menu and thread open (#1402)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-30 12:26:46 -07:00
Taylor Ho
5cc09e6989 feat(desktop): rebuild agent activity feed around a classifier registry and twelve render classes (#1381)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub14vtk7pvazqrq9639qu7e560wnqtl0d53ca4gjuvq6jzf3k2el23qqlwa7f <ab176f059d100602ea25073d9a69ee9817f7b691c76a897180d48498d959faa2@sprout-oss.stage.blox.sqprod.co>
2026-06-30 12:19:06 -07:00
Wes
42ec17f137 fix(thread): stop mid-scroll content jump in live threads (#1397)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
2026-06-30 10:04:34 -07:00
Wes
67c47de69c fix(ci): restore main to green — tauri fmt, personas.rs file-size split, Windows path test (#1399)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
2026-06-30 09:47:49 -07:00
Will Pfleger
b74ed858ff fix(desktop): enable buzz-dev-mcp MCP server for Codex agents (#1394)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 12:08:56 -04:00
Will Pfleger
fdf29c457d fix(ci): restore E2E flakiness fixes for pgschema, docker-pull, and spec timing (#1396)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 15:46:06 +00:00
Will Pfleger
a7e1202cc5 fix(personas): persist pack-backed persona UI edits across reboot (#1392)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 11:44:41 -04:00
klopez4212
0827171d5e Restore channel date divider rule (#1395) 2026-06-30 15:33:03 +00:00
klopez4212
2fc5dd35b1 Speed up profile wave action (#1379) 2026-06-30 08:27:12 -07:00
klopez4212
8d8fc6331f Restore visible links for rich previews (#1378) 2026-06-30 08:26:45 -07:00
klopez4212
2f496debce style(desktop): unify corner radii to rounded-2xl (16px) (#1393)
Signed-off-by: Kenny Lopez <kennylopez@block.xyz>
Co-authored-by: npub1qmhy2ax8zfuwa935x3g9sczmqsnykvrj88gy5e9v7qw8ez6atpqssdvu6y <06ee4574c71278ee9634345058605b04264b307239d04a64acf01c7c8b5d5841@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Kenny Lopez <kennylopez@block.xyz>
2026-06-30 08:11:34 -07:00
Will Pfleger
5a64ee4a69 fix(desktop): skip keychain write when blob contents are unchanged (#1377)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-30 11:09:14 -04:00
Wes
2044ad76f3 fix(desktop): stop clipping the agent-activity row under the composer (#1371)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
2026-06-30 08:03:37 -07:00
thomaspblock
9b711f47a7 Constrain macOS overscroll to conversations (#1317)
Signed-off-by: Thomas Petersen <thomasp@squareup.com>
2026-06-30 10:58:57 -04:00
Will Pfleger
325b3fdb0d chore(release): release Buzz Desktop version 0.3.38 (#1375) 2026-06-29 22:50:46 -04:00
Will Pfleger
eacbbe880a feat(desktop): provider-agnostic model selection + databricks discovery (#1307)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1fgdl5qqnh3k3f2xkqrvt7cujalhm623x4s7fdjdj5yrtp5fzjl9qrjpucw <4a1bfa0013bc6d14a8d600d8bf6392efefbd2a26ac3c96c9b2a106b0d12297ca@sprout-oss.stage.blox.sqprod.co>
2026-06-29 22:41:07 -04:00
Taylor Ho
e6738c5015 refactor(desktop): centralize auxiliary panel shell (#1343)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
Co-authored-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
2026-06-29 16:19:48 -06:00
Wes
db1b617ab1 perf(desktop): stop typing from re-rendering the channel pane + timeline (#1364)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
2026-06-29 21:30:10 +00:00
Will Pfleger
59be27ff3f fix(desktop): check PGID in orphan sweep and signal correct process groups (#1359)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-29 17:13:59 -04:00
Will Pfleger
c65989a61b feat(desktop): harness-agnostic config bridge (#887)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <wpfleger@block.xyz>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
2026-06-29 16:51:32 -04:00