Repository navigation
Conversation
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #33373
Closes #16559
Type of change
What does this PR do?
On Windows,
fileURLToPath()returns paths with\separators,but the Status dialog display logic in
packages/tui/src/component/dialog-status.tsxonly splits on
/. The entire path is kept as a single string, and.split(".")[0]truncates at the.configdot, showingC:\Users\licat\instead of the plugin directory name.
This PR adds
.replace(/\\/g, "/")before the split call to normalizeWindows backslashes, so the path component extraction works on all platforms.
How did you verify your code works?
bun typecheckpasses inpackages/tui/opencode.json,opened the Status dialog, confirmed the plugin name displays its directory
basename instead of a truncated path
Screenshots / recordings
Before:

After:

Checklist