Skip to content

[Bug] Resume fails after directory rename in session #43202

@samgdf

Description

@samgdf

Bug Description
when claude code changes the directory name, eg. dir1 to dir2, and then you attempt to --resume the session with the session ID, it does not work

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.91
  • Feedback ID: e3dfaf09-1f56-4204-9649-66fc0e727eb6

Errors

[{"error":"Error: Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.\n    at Yj (/$bunfs/root/src/entrypoints/cli.js:1971:8707)\n    at IV1 (/$bunfs/root/src/entrypoints/cli.js:1971:13127)\n    at EU9 (/$bunfs/root/src/entrypoints/cli.js:1971:13763)\n    at qH5 (/$bunfs/root/src/entrypoints/cli.js:5167:13338)\n    at KH5 (/$bunfs/root/src/entrypoints/cli.js:5167:13415)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:480:26048)\n    at useState (/$bunfs/root/src/entrypoints/cli.js:480:104832)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:471:8222)\n    at vl_ (/$bunfs/root/src/entrypoints/cli.js:5167:13375)\n    at TW7 (/$bunfs/root/src/entrypoints/cli.js:5958:23188)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:16707:1324)","timestamp":"2026-04-03T17:24:18.252Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clibugSomething isn't workingplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions