Description
On Windows, OpenCode references work partially:
@alias can correctly attach a configured reference root directory
- but
@alias/ file-level search inside the referenced directory does NOT work
This breaks expected behavior described in the documentation.
According to docs, both should work:
@alias → attach reference root
@alias/ → browse/search files inside reference
However, on Windows, only the first case works.
Steps to Reproduce
- Configure a reference in
opencode.jsonc:
{
"references": {
"docs": {
"path": "D:/docs"
}
}
}
- Start OpenCode on Windows
- In TUI input:
✔ Works: reference is attached
❌ Does NOT work: no file autocomplete / no search results / no file expansion
OpenCode version
1.17.9
Operating System
Windows 10
Terminal
WezTerm+pwsh
Description
On Windows, OpenCode references work partially:
@aliascan correctly attach a configured reference root directory@alias/file-level search inside the referenced directory does NOT workThis breaks expected behavior described in the documentation.
According to docs, both should work:
@alias→ attach reference root@alias/→ browse/search files inside referenceHowever, on Windows, only the first case works.
Steps to Reproduce
opencode.jsonc:{ "references": { "docs": { "path": "D:/docs" } } }✔ Works: reference is attached
❌ Does NOT work: no file autocomplete / no search results / no file expansion
OpenCode version
1.17.9
Operating System
Windows 10
Terminal
WezTerm+pwsh