Skip to content

fix(tui): legacy toast fallback for task list feedback (0.6.1) - #14

Merged
jkrandom-sudo merged 1 commit into
mainfrom
fix/tui-feedback-compat
Jul 24, 2026
Merged

fix(tui): legacy toast fallback for task list feedback (0.6.1)#14
jkrandom-sudo merged 1 commit into
mainfrom
fix/tui-feedback-compat

Conversation

@jkrandom-sudo

Copy link
Copy Markdown
Owner

Summary

  • 修复「/loop list 有时无输出」:根因是 server/TUI 插件版本错位(长驻 server 进程运行旧代码 + TUI 热重载新代码)。0.6.0 TUI 只监听文件通道,而 <0.6.0 server 只发 toast,两端协议不匹配导致列表完全无输出
  • TUI 恢复 toast 事件监听作为旧 server 回退,与文件通道并存;新 server 不发 toast,不会重复弹窗
  • 已用真实 opencode serve 端到端验证同版本通道 5/5 正常
  • Release 0.6.1

Test plan

  • npm test — 196/196 通过(新增 legacy toast 回退用例)
  • 重启 opencode 后验证 /loop list 稳定弹窗

🤖 Generated with Claude Code

A 0.6.x TUI paired with a pre-0.6.0 server (long-running process or
hot-reload skew) never saw task lists: old servers only send toasts,
new TUIs only watched the feedback file. The TUI now listens to both
channels; newer servers never send the toast, so there is no
double-open.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jkrandom-sudo
jkrandom-sudo merged commit 1ef642b into main Jul 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant