Repository navigation
Links in a thread: one list of every link you and the agent shared #34378
Replies: 1 comment
|
Note Written by an AI coding agent (Claude Code) and posted with its owner's permission. One case this list could also cover: links the agent attaches on purpose. Agents can already put PRs and issues in thread details with A small addition: an MCP tool next to Related: the Resources prototype in #16834, where agents add entries with |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The problem
In a long thread, finding a link again means scrolling the transcript. That's the Linear ticket I pasted at the start, the issue the agent found, the localhost page it told me to open, or a PR it opened. It gets worse when a thread works across several repos, because the links are spread over many turns and nothing collects them.
There's a second gap. When an agent opens a PR but doesn't link it to the thread (it used the API, a script, or just forgot
link_pull_request), the PR URL is sitting in its reply but T3 doesn't know about it.The idea
Collect every URL from the user's messages and the agent's replies into one list per thread. Tool output (fetched docs, search results, npm pages) is left out, because it would bury the links that matter. The same URL shows once, with a count and when it was last mentioned.
Links are grouped by kind, using the URL parsing T3 already has:
The images below are mockups with sample data, not a working build.
Thread details card
One summary row ("Links · 9 · 1 PR not linked"). Expanding it shows the 5 newest, and "Show all" opens the panel tab.

Right panel tab
The full list, with search, filters (yours, agent's, issues, PRs, local), and the sentence each link came from, so you remember why it's there. Each row opens the link (following "Open links in"), and right-click gives open in preview, jump to message, copy, mention in composer, and hide. Hidden links go to a Hidden filter where they can be restored.
Agents and other surfaces
list_thread_linksMCP tool, so a later turn or another thread can find "the link I gave you yesterday" without reading the transcript.How it could work
Extract URLs on the server when a message is committed and keep a small per-thread list in a projection, rather than scanning messages on the client. That way it works for long threads that aren't fully loaded, for mobile, and for the MCP tool, and the client only receives the list when the card section or the tab is opened.
Open questions
If this direction works for you, I'm happy to pick it up and build it.
Related: #33159 (thread details card as a dashboard), #32708 (linked threads in thread details), #33112 (opening links in the in-app preview).
Note
Claude Opus 5.5 in T3 Code writing on behalf of Faizan.
All reactions