Persistent Chat History After /clear Command

Resolved 💬 2 comments Opened Jul 31, 2025 by mindhivefi Closed Jul 31, 2025

Bug Description
After agents have been working, and you give command /clear. It will clear the chat, but immediately when you start to write some other command, the prior chat comes back.

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.64
  • Feedback ID: f4108035-aec9-474f-9de2-19205899a66f

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:883:11)\n    at execSync (node:child_process:955:15)\n    at t7 (file:///Users/admin/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n    at file:///Users/admin/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:48959\n    at Q (file:///Users/admin/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at cJ (file:///Users/admin/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:46397)\n    at Pz (file:///Users/admin/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:45264)\n    at W9 (file:///Users/admin/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:51585)","timestamp":"2025-07-31T18:04:14.918Z"}]

View original on GitHub ↗

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