Repository navigation
Conversation
Read and write the shared thread titles Buzz 0.x, agents and the `buzz` CLI already set (NIP-AR kind 45010, type `buzz.thread-title`): a titled thread shows its title under its first message in the channel and on its thread tab, and renaming a thread tab sets the title for everyone in the channel. A rename that can't be saved stays on that tab on this device. One title store per relay session reads joined channels' current titles and re-reads only channels a live title revision touched. Writes compare against the revision last seen and report a conflict rather than overwriting. Provided by a new optional Named threads plugin (`buzz.threads`), on by default. While it is off, nothing reads titles and renaming a thread tab stays device-local, as on main. Channels can't see another plugin's state, so the plugin turns titles on through a counted switch in the title store (`enableThreadTitles`, from a `ctx.effect`); counting keeps titles on when a reloaded plugin's old instance is disposed after the new one starts. Part of block#3455. Co-authored-by: Engineer <f79d52bb0d4ab12c7affaf2235c113a7fc797a9da8f9707757123b67cfafa6c6@buzz.matrixsoftwareinc.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jeff Hedlund <jhedlund@gmail.com>
A Threads page (below Activity in the Messages sidebar, Cmd/Ctrl+Shift+H) lists titled threads across joined channels, newest reply or title change first. Rows open the thread, can be filtered by channel, and rename or clear a title in place; a stale revision reports a conflict instead of overwriting. Rows also show unread replies in threads you follow (Mark read clears them) and how long agents have been working in a thread, from the session's existing thread-activity and agent-activity state; the sidebar entry shows a dot or a working count. Reply times come from one `#e` read per titled thread when it first appears, then live replies (including reconnect replay), so reopening the page reads nothing. It stops, and forgets what it read, when the plugin is switched off. A read that fills its page reads again the roots it left out. Part of block#3455. Co-authored-by: Engineer <f79d52bb0d4ab12c7affaf2235c113a7fc797a9da8f9707757123b67cfafa6c6@buzz.matrixsoftwareinc.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Jeff Hedlund <jhedlund@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft. This builds on #3772; only the second commit is new (
feat(threads): add a Threads page listing titled threads). A fork can't stack a PR on another PR, so the diff below includes #3772's commit as well. Once #3772 merges, I'll rebase and this becomes one commit.Part of #3455.
Behaviour
Scope checkpoint
ThreadsPage.tsx,Threads.module.css,ThreadsBadge.tsx,thread-signals.tsandicon.pngthread-activity-store.tsthread-titles.tssrc/app/shell/presentation.ts#eread per titled channel's roots (in batches of 100, four at a time) when the page first opens.thread-signals.tsandThreadsBadge.tsx(the unread and working indicators) can come out without affecting the rest.[threads/3-marks](https://github.com/jhedlund/buzz-app/tree/threads/3-marks)), agent naming, search across titles, and changes to the relay or to FOUNDATION files.Verification
unread.test.ts. That run was on the previous head, which differs only in one test file. No file fails here that passes on main. Files that failed in the parallel run pass when re-run alone, twice.🤖 Generated with [Claude Code](https://claude.com/claude-code)