Skip to content

Desktop: sending a prompt does nothing after the project folder is renamed #52108

Closed as not planned

Description

@craigmoliver

Description

After renaming a project folder on disk, every prompt in the desktop app silently does nothing, for every model. No error, no toast, no response.

The server log shows prompt_async failing after it already returned 204, so the client never finds out:

level=ERROR message="prompt_async failed" cause="Cause([Die(PlatformError: NotFound: FileSystem.realPath (/home/me/_proj/pc-backup) (cause: Error: ENOENT: no such file or directory, lstat '/home/me/_proj/pc-backup'))])"

The session still points at the old path. It should fail with a visible error instead.

Plugins

No response

OpenCode version

1.18.33 (desktop, rpm)

Steps to reproduce

  1. Open a project folder in the desktop app and start a session
  2. Rename the folder on disk
  3. Send a message in that session: nothing happens

Screenshot and/or share link

No response

Operating System

Fedora (KDE Plasma)

Terminal

No response

Activity

  1. github-actions commented on Sep 29, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions