[Bug]: Relative Windows file links in agent replies do not open the file
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
packages/contracts or packages/shared
Steps to reproduce
-
Open a project on a Windows host containing
src\Example.cs. A one-line file is enough:public class Example {} -
In a thread for that project, have an agent reply with these two Markdown links:
[Windows path](src\Example.cs) [Slash path](src/Example.cs) -
Click the backslash link, then the forward-slash link.
No line number or minimum file length is required.
Expected behavior
Both links open the same file in T3's file viewer, resolved against the thread's workspace on the host environment.
Actual behavior
- Backslash: renders as an ordinary link, not a file chip. Clicking it does not open the intended file in the file viewer.
- Forward slash: renders as an
Example.csfile chip and opens the file viewer withpublic class Example {}.
Impact
Minor bug or occasional failure
Version or commit
Reproduced in 0.1.8-nightly.20261109.42683306061.
Also confirmed against the shared parser at
ad9e87111fd9b2f10ec320b4de0a6ad3a092278a.
Environment
Windows host, bundled web client in T3's Browser panel (Chromium 152.0.7977.169 / Electron 44.10.1).
Logs or stack traces
Direct parser checks against the unmodified code, with an example workspace
C:\repo:
src\Example.cs -> null
src%5CExample.cs -> null
src/Example.cs -> C:\repo\src\Example.cs
Screenshots, recordings, or supporting files
The backslash link does not open the file; the slash link does.
Playback is accelerated.
Workaround
Use forward slashes in Markdown link destinations:
[Slash path](src/Example.cs)