Conversation
… web search Co-authored-by: asim <17530+asim@users.noreply.github.com>
Co-authored-by: asim <17530+asim@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix direct message banner visibility and usability issues
Fix DM UX, multi-user @micro behavior, agent news search, and XMPP TLS cert auto-reload
Mar 2, 2026
Copilot stopped work on behalf of
asim due to an error
March 2, 2026 15:49
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.
The direct messaging flow had several broken behaviors: @micro DMs redirected to the main AI chat, new conversations landed on the inbox instead of the thread, the DM banner consumed excessive screen space, and usernames weren't clickable to initiate a DM. Additionally, micro was responding to all messages in multi-user rooms regardless of @mention, the agent couldn't find current news (e.g. breaking news topics), and XMPP TLS required a server restart to pick up Let's Encrypt renewals.
Chat / Direct Messaging
💬 Messageslink aligned top-right/chat; now stores the user's message, checks wallet quota, generates a RAG-backed AI reply, and redirects to the DM threadtofield was sending the account ID instead of the username —auth.GetAccountByNameexpects a username, so the lookup was silently failingupdateUserListin WebSocket chat rooms with DM links; added a ✉ icon next to each user in the home-page presence displayMulti-user room @micro behavior
inActiveConvo(micro continues responding for 2 min after a reply) was not gated on the user being alone, so micro would keep responding in a multi-user room after any prior @mention:Agent — web search tool
Added a
web_searchtool (backed byai.WebSearch/ DuckDuckGo) to the agent tool catalogue and MCP registry. The AI planner now uses it when the local indexed content is thin, enabling responses to current-events queries.XMPP TLS certificate auto-reload
loadTLSConfigpreviously loaded the cert once into a statictls.Config.Certificatesslice. Replaced with atlsCertStorethat implementstls.Config.GetCertificate— called on every STARTTLS handshake — whichstats the cert/key files and reloads under a write-lock only when a mod-time has advanced. On reload failure it logs and falls back to the cached cert so live TLS is never interrupted.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.