Before submitting#
Area#
apps/desktop
Steps to reproduce#
- Link an Android phone via Phone Link so that
C:\Users\<user>\CrossDevice\<phone>\storage\ exists.
- Start T3 Code with the session location set to
C:\Users\<user>.
- Windows shows an "automatic file downloads" notification naming T3 Code; the phone shows an active transfer.
%USERPROFILE%\.local\share\opencode\log\opencode.log shows watcher entries with ignores=0 (see Logs below).
Expected behavior#
Starting or restarting T3 Code should not trigger downloads from a linked phone. The watcher should skip Cloud Files/FOD reparse-point subtrees, and/or the default session location should be a project folder rather than the profile root, and/or the settings should offer path exclusions.
Suggested fixes#
- Detect and skip Cloud Files/FOD reparse-point subtrees (OneDrive, CrossDevice) in the watcher.
- Expose watcher ignore paths in the settings UI (mapped to
watcher.ignore).
- Warn when the workspace contains known on-demand mounts.
Actual behavior#
The full profile is enumerated, including ~4,256 placeholder entries under CrossDevice\<phone>\storage. fsutil reparsepoint query shows these are FOD reparse points (tag "FeRp"), not local files. Each restart repeats the transfer, which costs phone battery and mobile data.
Impact#
Minor bug or occasional failure
Version or commit#
T3 Code 0.1.9 (Beta)
Environment#
Windows 11 Home 10.0.26300, ARM64, opencode 2.3.0, Plugins: none (MCP: t3-code)
Logs or stack traces#
level=INFO message="cli starting" version=2.3.0 channel=latest args=["serve","--hostname=127.0.0.1","--port=54597"]
level=INFO message="watcher subscribe" path="C:\Users\<user>" type=entries ignores=0
level=INFO message="watcher started" path="C:\Users\<user>" type=entries backend=node ignores=0
Screenshots, recordings, or supporting files#
No response
Workaround#
Add the following to %USERPROFILE%\.config\opencode\opencode.json (reloads automatically):
{ "watcher": { "ignore": ["CrossDevice/**"] } }
T3 Code's settings currently have no equivalent option.