Skip to content

feat(bots): show which agent thread sent each message - #2531

Merged
TheAnimatrix merged 1 commit into
masterfrom
bot-chat-thread-identity
Dec 1, 2026
Merged

TheAnimatrix merged 1 commit into
masterfrom
bot-chat-thread-identity

Conversation

@TheAnimatrix

@TheAnimatrix TheAnimatrix commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

In a personal bot chat, it was hard to tell which agent thread sent a report or question. Direct agent messages were kept out of the visible chat.

Change

Direct messages, work reports and relayed questions show the sending agent’s icon and the thread name above the message. The name opens the thread using the existing thread link. The bot processes direct messages quietly.

Verification

  • Tier 3. All 514 tests passed in npx vitest run tests/bots/botJobs.test.ts tests/bots/botDeviceHeld.test.ts tests/bots/botWorkQuestions.test.ts tests/run/ownerAnswerRelay.test.ts tests/renderer/botChatView.test.ts tests/renderer/botMessageFold.test.ts tests/renderer/relayedAnswerRow.test.ts tests/renderer/threadLinks.test.ts.
  • tsc --noEmit -p tsconfig.node.json and tsc --noEmit -p tsconfig.web.json passed.
  • Checked the chat in Chromium with the app’s styles and sample messages. Dark, light, and a 360 px pane with wallpaper show the agent icons and titles in the app’s sans-serif font with no sideways scroll.

Notes

#2515 also changes the thread-to-bot send path and may need to rebase.

No issue.

Dark before

Dark after

Light after

Narrow pane with wallpaper after

@TheAnimatrix
TheAnimatrix marked this pull request as ready for review December 1, 2026 07:58
@TheAnimatrix
TheAnimatrix merged commit fcd78b6 into master Dec 1, 2026
12 of 13 checks passed
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