[Bug] /add-dir command does not display already-added working directories

Resolved 💬 2 comments Opened Jan 23, 2026 by styrbjornh Closed Feb 27, 2026

Bug Description
The /add-dir command doesn't show the working directories that are already added including the one where Claude Code was initialized.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.17
  • Feedback ID: 925afd70-b4cc-45d7-823b-c6afb8425ba9

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:1903)\n    at vW (/$bunfs/root/claude:11:35097)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at y2R (/$bunfs/root/claude:1479:380)\n    at y2R (/$bunfs/root/claude:1479:1350)\n    at <anonymous> (/$bunfs/root/claude:1479:4440)\n    at <anonymous> (/$bunfs/root/claude:1479:5171)\n    at A (/$bunfs/root/claude:11:7244)\n    at pX8 (/$bunfs/root/claude:4784:4342)","timestamp":"2026-01-23T09:31:26.309Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/styrbjornholmberg/.local/share/claude/versions/2.1.17 (expected in multi-process scenarios)\n    at RYR (/$bunfs/root/claude:3902:2091)\n    at GbA (/$bunfs/root/claude:3902:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-23T09:31:26.424Z"},{"error":"Error: LSP server plugin:gopls-lsp:gopls failed to start: Executable not found in $PATH: \"gopls\"\n    at start (/$bunfs/root/claude:1549:22300)\n    at async $ (/$bunfs/root/claude:1549:24752)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-23T09:31:35.004Z"},{"error":"Error: Executable not found in $PATH: \"gopls\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:1549:20845)\n    at start (/$bunfs/root/claude:1549:22354)\n    at $ (/$bunfs/root/claude:1549:24752)\n    at $ (/$bunfs/root/claude:1549:25727)\n    at _ (/$bunfs/root/claude:1549:32514)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-23T09:31:35.005Z"},{"error":"Error: Failed to start LSP server plugin:gopls-lsp:gopls: Executable not found in $PATH: \"gopls\"\n    at <anonymous> (/$bunfs/root/claude:1549:32536)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-23T09:31:35.005Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗