[Feature Request] Add option to suppress "Shell cwd was reset" messages

Resolved 💬 4 comments Opened Dec 2, 2025 by excessivereason Closed Jan 31, 2026

Bug Description
Feature Request: Option to suppress "Shell cwd was reset" messages

Use case: When using --add-dir to create an extended workspace across multiple repositories, the "Shell cwd was reset to /path/to/main/project" message appears after nearly every
bash command that touches the additional directories. This creates significant visual noise and breaks focus.

The problem: I use Claude Code as a personal assistant that frequently accesses files across 4-5 directories (context system, multiple project repos). The red "cwd was reset"
message appears dozens of times per session, making the output harder to scan and creating unnecessary cognitive load.

Current workaround: None. The --add-dir flag correctly grants access permissions, but doesn't suppress the informational message.

Proposed solution: Add a configuration option or flag such as:

  • --quiet-cwd CLI flag
  • "suppressCwdMessages": true in settings.json
  • CLAUDE_SUPPRESS_CWD_MESSAGES=1 environment variable

Why this matters: The --add-dir feature is perfect for multi-repo workflows, but the constant cwd messages undermine the seamless experience it's designed to provide. Users who
explicitly add directories understand they're working across multiple locations - they don't need to be reminded after every command.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.0.56
  • Feedback ID: fd7e69a0-a70e-412c-8eea-2cde206fe409

Errors

[{"error":"Error: Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file /Users/jheath/.claude/plugins/marketplaces/claude-notifications-go/hooks/hooks.json. The standard hooks/hooks.json is loaded automatically, so manifest.hooks should only reference additional hook files.\n    at t0B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:369:4310)\n    at dc8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:369:6955)\n    at mc8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:369:5721)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:369:14056","timestamp":"2025-12-02T02:56:09.842Z"},{"error":"AxiosError: Request failed with status code 404\n    at Sj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9864)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at zVA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Fg2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2561:1057)\n    at async Vg2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2561:2094)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2561:8584)\n    at async Yd5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2292:16383)","timestamp":"2025-12-02T03:03:42.703Z"},{"error":"AxiosError: Request failed with status code 404\n    at Sj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1137)\n    at Unzip.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9864)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at zVA.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Fg2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2561:1057)\n    at async Vg2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2561:2094)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2561:8584)\n    at async Yd5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2292:16383)","timestamp":"2025-12-02T03:03:44.846Z"}]

View original on GitHub ↗

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