Skip to content

Rename shared chat code and copy away from "session" - #1592

Closed
baxen wants to merge 1 commit into
mainfrom
mbot/chat-names-off-session
Closed

baxen wants to merge 1 commit into
mainfrom
mbot/chat-names-off-session

Conversation

@baxen

@baxen baxen commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Client-only names for shared chat links still said "session". This renames them to chat terms. It is a rename only, with no behavior change.

Renamed

  • Card helpers:
    • separateSessionCards → separateChatCards
    • stageSessionCards → stageChatCards
    • ComposerSessionCards → ComposerChatCards
    • sharedSessionTags / sharedSessionIds → sharedChatTags / sharedChatIds
  • Shared chats panel and catalog:
    • SharedSessions.tsx → SharedChats.tsx
    • src/features/sessions/ → src/features/shared-chats/
    • listSharedSessions / readSharedSession → listSharedChats / readSharedChat
  • Visible copy: "Shared sessions" → "Shared chats", plus "Chat ID" and "Chat attachment".
  • Docs: docs/sessions/ → docs/shared-chats/, and tests/browser/shared-sessions.spec.mjs → shared-chats.spec.mjs.

Kept on purpose

These are contracts or persisted state:

  • The buzz.shared-session.v1 topic tag. It is in signed events and read by every client version.
  • The agents' shared_sessions tool, including its name, description and prompt.md. Agent prompts and tool allowlists name it.
  • The "shared-sessions" panel id and its buzz:shared-sessions: navigation target prefix. Saved tabs and navigation use them.
  • Draft field sessionCards. It is still read as a fallback, so drafts saved before this change keep their cards. New drafts write chatCards.
  • Old card labels like [Session: …] still parse.

#1591 (stacked on #1529) handles the "session" names #1529 itself adds.

Validation

  • tsc is clean.
  • Full vitest run at e0b782883: 735 files passed, 0 failed.
  • Not yet exercised in the app.

🤖 Generated with Claude Code

Client-only names for shared chat links still said "session": the
card helpers (separateSessionCards, stageSessionCards, sharedSessionTags),
the Shared sessions panel, src/features/sessions and docs/sessions.
Rename them to chat terms, along with the visible copy (Shared chats,
Chat ID, Chat attachment).

Contracts keep their names: the buzz.shared-session.v1 topic tag, the
agents' shared_sessions tool, the "shared-sessions" panel id and its
navigation target prefix. Drafts saved with the old sessionCards field
still load, and old "Session:" card labels still parse.

Co-authored-by: mbot <3754f8729004d95654c46dbab3129e4ab9ef05cc2534e2a3fbfc155983bd637b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Bradley Axen <baxen@squareup.com>
@baxen baxen closed this Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant