Skip to content

@subrouter/opencode@0.5.1

Latest

Choose a tag to compare

@remorses remorses released this 23 Sep 08:32
· 8 commits to main since this release
  1. Show the cooldown fallback route as a TUI toast instead of injecting a session message. When a preferred subscription is rate limited and the request continues on a lower-ranked model, the plugin now uses client.tui.showToast. Before, it wrote the notice with session.prompt, which persisted a role: user message that could enter model context. The toast is display-only and never reaches the model.

    tui.toast.show is a global event with no session field, so the plugin appends the OpenCode session id to the toast text. Kimaki routes the toast to the matching Discord thread by that marker and strips it before display. Plain OpenCode TUI shows the toast for the active session. Notices are still deduplicated per session for the preferred model's cooldown window.

  2. Includes @subrouter/cli 0.6.1: fixed Claude Pro/Max login and token refresh, Claude Code 2.1.280 user-agent, and retries for OpenAI WebSocket 1006 drops.