[BUG] Newly generated files not available in Files panel

Resolved 💬 3 comments Opened May 16, 2026 by eivindhagen Closed May 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When a new file is created during a session (e.g. via the Write tool), the Claude Code app does not correctly resolve relative markdown links to that file in the assistant's response. The link appears in the chat but clicking it does nothing or fails to open the file.

Workaround observed: only a full absolute path link works. The file is visible in VS Code immediately after creation, so the file itself is written correctly — it's specifically the link resolution in the Claude Code UI that fails to pick up newly created files.

Also noted: in-app file search does not find newly created files either until some kind of refresh occurs.

What Should Happen?

Claude Code should check the filesystem and be sure to accurately reflect which files exist at any time.

Error Messages/Logs

Steps to Reproduce

  • Ask Claude to create a new file (e.g. some/nested/newfile.md)
  • Claude responds with a relative markdown link to that file
  • Click the link — it does not open
  • Replace with absolute path — that works

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude 1.7196.0 (2dbd78) 2026-05-12T05:34:40.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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