anomalyco / anomalyco/opencode

[Desktop App] Model fails to output in new session for Git projects (works via /new command)

Open
#41,636 1 comment 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 11, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

When using the OpenCode Desktop app, if I open a project under Git management and start a New Session, the model does not output anything (it seems stuck).
However, the Terminal version works fine, and the Desktop app can correctly display chat history from the terminal.
Workaround found:
I found that if I click on a previous chat history in the Desktop app and then type /new to start a conversation, it works normally. The issue only happens when clicking the standard "New Session" button directly.

Plugins

None

OpenCode version

OpenCode Desktop v1.18.16

Steps to reproduce

1.Open the OpenCode Desktop application.
2.Open a project directory that is managed by Git.
3.Click to start a "New Session".
4.Send a prompt to the model.
5.Observe that the model does not generate any output.
6.(Contrast) Try typing /new inside an existing history session -> This works fine.

Screenshot and/or share link

when i open a new session by desktop app,there is no output

Image like this? Image

but when i open the session that i used in the terminal,it's normal ?

Image the only way to use a new session , is in the normal session to type "/new"
Operating System

win11

Terminal

Windows Powershell + opencode deskTop

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.