Repository navigation
feat(web): chat links open the thread's Dashboard - #238
Merged
Merged
Conversation
Agents had no way to point the user at the thread's Dashboard from a message. The Dashboard rules now teach agents the link [Dashboard](t3-dashboard:), and in chat it renders as a chip that opens the Dashboard tab, or explains why it cannot when the Dashboard is off or the chat is a hosted side chat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
1 task
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.
This pull request lets an agent link to its thread's Dashboard in a chat message, and a click opens it.
改了什么行为
Behaviour change: yes, users of a thread with the Dashboard on see agent links that open it.
The agent writes
[Dashboard](t3-dashboard:), and chat shows it as a small chip. A click opens the Dashboard tab in the right panel, in Normal mode, Chat mode and the Replies tab. The page address does not change. If the Dashboard is off, or the thread shows in the panel of another thread, a toast tells why. In a Dashboard slot, the link is plain text.Why
Agents could not point the user to the Dashboard they write. The Dashboard rules that agents get now teach the link in one sentence. The told key, which records the rules a thread's agent has heard, changes to
+dashboard@2, so each thread with the Dashboard on gets the new rules once.Checks
How to undo
Revert the commit. Each thread with the Dashboard on then gets its rules once more. No other stored data changes.
Details
Accepted tradeoffs:
t3-prefix makes a chance match unlikely, and a click only opens a tab.Surfaces not changed:
The told key:
+dashboardto+dashboard@2. A thread with the old key gets the full display state note once, with the Dashboard on or off.Upstream hooks:
ChatMarkdown.tsx: +5 lines. They add an import, let the scheme through the URL transform, and return the chip early in the link renderer.markdownPipeline.ts: +1 line. It adds the scheme to the sanitizer list.