Skip to content

Add live fallback sidebar and resilient routing - #4

Open
kingychiu wants to merge 11 commits into
renjfk:mainfrom
kingychiu:feat/live-fallback-sidebar
Open

kingychiu wants to merge 11 commits into
renjfk:mainfrom
kingychiu:feat/live-fallback-sidebar

Conversation

@kingychiu

@kingychiu kingychiu commented Nov 20, 2026 •

Copy link
Copy Markdown

Summary

  • Add a live TUI sidebar with compact priority cards for the activated fallback route.
  • Track recent model usage and provider errors through a plugin RPC status feed.
  • Preserve supported reasoning variants when switching providers or models.
  • Support chained and circular fallback routes with a bounded per-turn retry budget.
  • Add /fallback-config to open the global JSONC configuration in an external editor and validate it after saving.
  • Keep unrelated routes hidden and show errors only when present.

Validation

  • npm run check
  • npm run test:e2e
  • npm pack --dry-run

The E2E suite runs against a real OpenCode server and verifies cross-model retry, cooldown routing, RPC activity state, and recorded provider errors.

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