[Feature Request] Add /switch-dir command to quickly toggle between added directories

Resolved 💬 3 comments Opened Feb 5, 2026 by saitheodore Closed Feb 8, 2026

Bug Description
Add a /switch-dir command or shortcut to quickly switch the
primary working directory between directories added with
/add-dir

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.31
  • Feedback ID: 6a40e0b1-bcaa-48b1-818f-2763cd4c9633

Errors

[{"error":"Error\n    at <anonymous> (B:/~BUN/root/claude.exe:47:10677)\n    at emit (node:events:92:22)\n    at <anonymous> (B:/~BUN/root/claude.exe:46:3321)\n    at request (B:/~BUN/root/claude.exe:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-04T04:33:54.080Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at QXE (B:/~BUN/root/claude.exe:3637:4064)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:31:33.254Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at QXE (B:/~BUN/root/claude.exe:3637:4064)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:31:33.338Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNREFUSED, ECONNREFUSED)\n    at queueFailedEvents (B:/~BUN/root/claude.exe:222:2350)\n    at async doExport (B:/~BUN/root/claude.exe:222:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:31:36.657Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=ECONNREFUSED, ECONNREFUSED)\",\"originalLine\":\"222\",\"originalColumn\":\"1409\",\"line\":\"222\",\"column\":\"1409\",\"sourceURL\":\"B:/~BUN/root/claude.exe\",\"stack\":\"Error: Failed to export 1 events (code=ECONNREFUSED, ECONNREFUSED)\\n    at doExport (B:/~BUN/root/claude.exe:222:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (B:/~BUN/root/claude.exe:1758:25028)\n    at <anonymous> (B:/~BUN/root/claude.exe:186:59049)\n    at Fw0 (B:/~BUN/root/claude.exe:186:59593)\n    at <anonymous> (B:/~BUN/root/claude.exe:187:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:31:36.679Z"},{"error":"Error: 1P event logging: 2 events failed to export (code=FailedToOpenSocket, Was there a typo in the url or port?)\n    at queueFailedEvents (B:/~BUN/root/claude.exe:222:2350)\n    at async doExport (B:/~BUN/root/claude.exe:222:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:31:42.163Z"},{"error":"Error: {\"message\":\"Failed to export 2 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\",\"originalLine\":\"222\",\"originalColumn\":\"1409\",\"line\":\"222\",\"column\":\"1409\",\"sourceURL\":\"B:/~BUN/root/claude.exe\",\"stack\":\"Error: Failed to export 2 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\\n    at doExport (B:/~BUN/root/claude.exe:222:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (B:/~BUN/root/claude.exe:1758:25028)\n    at <anonymous> (B:/~BUN/root/claude.exe:186:59049)\n    at Fw0 (B:/~BUN/root/claude.exe:186:59593)\n    at <anonymous> (B:/~BUN/root/claude.exe:187:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:31:42.163Z"},{"error":"Error: EPERM: operation not permitted, rename 'C:\\Users\\stheodore\\.claude\\stats-cache.json.64344de4d0332967.tmp' -> 'C:\\Users\\stheodore\\.claude\\stats-cache.json'\n    at renameSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:1540)\n    at dX (B:/~BUN/root/claude.exe:11:40731)\n    at renameSync (B:/~BUN/root/claude.exe:12:1491)\n    at iEH (B:/~BUN/root/claude.exe:4510:1292)\n    at <anonymous> (B:/~BUN/root/claude.exe:4510:11597)\n    at async FyA (B:/~BUN/root/claude.exe:4510:141)\n    at async GiI (B:/~BUN/root/claude.exe:4510:10995)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:33:59.545Z"},{"error":"Error\n    at uh (B:/~BUN/root/claude.exe:42:1144)\n    at <anonymous> (B:/~BUN/root/claude.exe:47:10089)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/claude.exe:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-05T02:36:01.901Z"},{"error":"Error: Request was aborted.\n    at NG$ (B:/~BUN/root/claude.exe:1569:23586)\n    at XnI (B:/~BUN/root/claude.exe:5737:7546)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-…

Note: Content was truncated.

View original on GitHub ↗

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