• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lettland / opencode-free-router
99%

Build:
DEFAULT BRANCH: master
Repo Added 25 Sep 2026 05:20PM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • master

18 Oct 2026 03:30PM UTC coverage: 98.965% (+0.3%) from 98.683%
39238791551

push

github

k0d3r1s
Harden the v2 router after review

- opencode-free refuses --service in any form (--service=x, or after a
  flag that takes a value) and gives a bare `session`/`auth` its own
  server.
- Failover: a request still on a model the turn left gets one immediate
  retry, then fails, instead of failing the turn or looping; the same
  bound applies to free/auto. A switch back to a model already left can
  fail over again, a half-done switch still spends the budget and leaves
  the error to surface, and a hung retry no longer blocks the session
  for good.
- A deleted parent or fork session no longer breaks routing for its
  children, and deleted sessions are forgotten.
- The free check counts cache prices, and a malformed price makes the
  cost unknown rather than free.
- router.log is kept at mode 0600, including logs from older installs
  and rotated copies; hook failures log a capped message and a few
  stack frames.
- e2e matches the assistant's reply event; tests cover the cases above
  and a model whose id differs from its modelID.
- Docs: install stop message keeps other plugins, 401/403 wording, the
  rollback steps for both free.jsonc formats, and what router.log holds.

513 of 532 branches covered (96.43%)

Branch coverage included in aggregate %.

85 of 85 new or added lines in 2 files covered. (100.0%)

1303 of 1303 relevant lines covered (100.0%)

41.92 hits per line

Relevant lines Covered
Build:
Build:
1303 RELEVANT LINES 1303 COVERED LINES
41.92 HITS PER LINE
Source Files on master
  • Tree
  • List 3
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39238791551 master Harden the v2 router after review - opencode-free refuses --service in any form (--service=x, or after a flag that takes a value) and gives a bare `session`/`auth` its own server. - Failover: a request still on a model the turn left gets one ... push 19 Oct 2026 10:37AM UTC k0d3r1s github
98.96
36689333232 master Split the plugin's server closure into named factories server had grown to 185 lines, over aislop's 80-line limit. Move the ranking and live-model cache, the model choice, the per-session turn bookkeeping and the failover/resume pair into module-... push 30 Sep 2026 08:23AM UTC k0d3r1s github
98.68
36425963543 master List the bb agent's model without starting opencode bb kept replacing free/auto with "Agent default" a few minutes after re-registering the agent. Its model list ran "opencode models free", and when that failed bb fell back to the default entry u... push 28 Sep 2026 01:04PM UTC k0d3r1s github
98.65
36171294697 master Keep a symlinked free.jsonc a symlink when install.sh migrates it The plugin.js -> plugin.ts rewrite moved a temp file over free.jsonc, which replaced a symlink (a config kept in a dotfiles repo, say) with a regular file. Write the result back th... push 25 Sep 2026 06:06PM UTC k0d3r1s github
98.65
See All Builds (4)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc