Skip to content

Windows backslash paths break tool titles and glob patterns #22189

@tobias-weiss-ai-xr

Description

@tobias-weiss-ai-xr

Problem

On Windows, file paths contain backslashes (C:\Users...). Several tool titles and glob patterns use these raw paths, which breaks:

  1. Tool titles — backslashes are interpreted as escape characters
  2. Glob patterns — backslash-prefixed paths don't match on POSIX-based pattern matching
  3. Display — inconsistent path representation across the UI

Expected Behavior

All internal path handling should normalize backslashes to forward slashes, consistent with how Node.js and most tooling handle cross-platform paths.

Environment

  • OS: Windows 10/11
  • Shell: PowerShell / WSL

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions