t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: OpenCode not syncing/working

Open zikk opened this issue 6 months ago • 15 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. start the app
  2. Create a new thread with opencode
  3. Prompt
  4. Starts working
  5. Stuck on "Working for {time}"

Expected behavior

The model response from the agent/harness should work and sync

Actual behavior

The main model response is not syncing. When checking opencode, i can see two sessions created, one for the main thread and one for the title. The title one does update the thread title on the app (web and mobile), however the main thread is not updating. checked in opencode, the model did respond and the prompt worked correctly

been happening for me since yesterday with multiple version of t3chat and opencode.

Impact

Blocks work completely

Version or commit

0.0.24-nightly.20260510.249

Environment

macOS 26.3

Logs or stack traces

tried with `bun t3` and there is no error log of any sort

Screenshots, recordings, or supporting files

No response

Workaround

downgrading opencode to 1.14.40 fixes the issue

zikk avatar May 10 '26 20:05 zikk

Having the same issue

AmoonPod avatar May 11 '26 06:05 AmoonPod

There might be an update to the opencode. Last week it working fine. Today there's an update notification on t3 that opencode has new update, I update both t3 and opencode. Now it's not working. I forgot which version I use before both the t3 and opencode.

uzuki-P avatar May 11 '26 07:05 uzuki-P

@uzuki-P

There might be an update to the opencode. Last week it working fine. Today there's an update notification on t3 that opencode has new update, I update both t3 and opencode. Now it's not working. I forgot which version I use before both the t3 and opencode.

idk, it worked in the morning and stopped in the evening and i keep both up to date (nightly for t3code), then i tried downgrading opencode and it didn't fix it. weird

zikk avatar May 11 '26 07:05 zikk

Same problem on version 0.0.23 (3c32bc8fd1f5)

Also it shows as running (Workingn for ...) but when I try to stop it, nothing happens either.

pboos avatar May 11 '26 08:05 pboos

t3code version 0.0.23: downgrading opencode to version 1.14.40 fixed the issue for me, can be done by command

opencode upgrade 1.14.40

daanqq avatar May 11 '26 12:05 daanqq

I tried downgrading with

opencode upgrade 1.14.40

but it unfortunately didn’t work. Still working for XYZ minutes endlessly.

pkyanam avatar May 11 '26 13:05 pkyanam

same for me unfortunately

Sir-Goose avatar May 11 '26 15:05 Sir-Goose

downgrading opencode to 1.14.40 did work for me though, but that's just a workaround

zikk avatar May 11 '26 15:05 zikk

Having the same issue. t3code version 0.0.23 macOS 26.3

magofdl avatar May 11 '26 16:05 magofdl

downgrading opencode to 1.14.40 work for me 🥰

fadilsflow avatar May 12 '26 11:05 fadilsflow

Same issue here. OpenCode 1.14.48 T3 Code 0.0.23 (3c32bc8fd1f5)

But it did the job.

Image

tsukinoko-kun avatar May 12 '26 13:05 tsukinoko-kun

Same issue in here

Image

0bkevin avatar May 12 '26 18:05 0bkevin

i think i've fixed this for myself? let me know if its still doing it and ill improve my PR #2666

justsomelegs avatar May 12 '26 19:05 justsomelegs

Just tried with the new v1.14.49 version of OpenCode, and it's still broken in the same way. Rolling back to v1.14.40 works, but it's a painful workaround 😅

yaroslav-gwit avatar May 13 '26 23:05 yaroslav-gwit

using opencode 1.15.4 with t3code 0.0.25-nightly.20260515.295 finally working for me

uzuki-P avatar May 18 '26 04:05 uzuki-P