claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Windows Terminal: Incorrect Agent Display with @ Symbol Replacement

Open RaRdq opened this issue 1 year ago • 4 comments

Bug Description instead of files with @ - agents are displayed on win terminal

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.62
  • Feedback ID: 616c1971-46e4-4417-bb68-8be855fc44ce

Errors

[{"error":"Error: spawn /c/Users/rardq/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T07:35:44.531Z"},{"error":"Error: spawn /c/Users/rardq/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T07:35:44.536Z"},{"error":"Error: spawn /c/Users/rardq/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T08:21:14.281Z"},{"error":"Error: spawn /c/Users/rardq/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T08:21:14.282Z"},{"error":"Error: spawn /c/Users/rardq/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T08:21:14.544Z"}]

RaRdq avatar Jul 29 '25 08:07 RaRdq

function La1() {
    let A = gU() ? process.execPath : BK1();
    return {
        rgPath: F9() === "windows" ? B91(A) : A,
         // rgPath: needsPosixPath ? B91(A) : A      // No
        rgArgs: gU() ? ["--ripgrep"] : []
    }
}

rg.exe in Windows Only convert paths to /c/... in Git-Bash shell; retain C:... in a regular Windows shell.

rg.exe lanuch boom~

@ant-kurt

Haleclipse avatar Jul 29 '25 12:07 Haleclipse

@Haleclipse FYI we're issuing a patch for regular Windows shell ASAP, Git-Bash shell support has a few other things we're addressing which will take a few days.

ant-kurt avatar Jul 29 '25 20:07 ant-kurt

Issues with custom agents, file search, and custom slash commands on Windows should be resolved for CMD and Powershell in 1.0.63, which released today but is not yet tagged as latest.

Downgrading to 1.0.61 will also mitigate.

ant-kurt avatar Jul 29 '25 22:07 ant-kurt

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 06 '25 14:08 github-actions[bot]