avatar vian's notes

Learning in public, one post at a time

  • HOME
  • TAGS
  • ARCHIVES
  • ABOUT
Home Checking Upstream: What v0.5.50 Gained for 9router
Post

Checking Upstream: What v0.5.50 Gained for 9router

Posted Aug 9, 2026 Updated Aug 7, 2026
By Alvian
2 min read
Checking Upstream: What v0.5.50 Gained for 9router
Checking Upstream: What v0.5.50 Gained for 9router

I hadn’t checked upstream in a while. My fork had accumulated enough custom code — combos, middleware, the memory layer — that pulling updates felt like asking for trouble. Easier to stay isolated.

That’s fine for a while. Then a Headroom upgrade forced the issue. Headroom is the token-compression proxy layer that sits between the router and providers, cutting 20-40% off every request.

Upstream had shipped proper integration and an embedded dashboard proxy — everything I spent an afternoon patching in my fork. The merge would’ve avoided conflicts I eventually hit if I’d started from current upstream.

So I checked. After validating the branch in a separate workspace, I merged upstream/v0.5.50 into my main development worktree.

What Upstream Has Now

Branch upstream/v0.5.50. Three things jumped out.

Combos now support capability-based routing. My combos file — named groups of models the router falls back through — was text-only. Upstream now floats models that support the request’s required modalities (vision, audio, PDF) to the front of the retry queue, so a request with images lands on a provider that can actually read them. My folder prompts were a workaround for this; now it’s first-class.

Token saver got its own panel. In my fork, token compression was managed under /dashboard/endpoint. Upstream moved this into a dedicated panel under Settings, simplifying the configuration path and making the compression state visible earlier in the workflow.

Headroom setup guide is better now. The setup workarounds I’d been keeping — symlink tricks, path detection failures — are documented upstream now. The new dashboard panel provides a clear checklist for compression extras, letting you toggle between proxy, code-specific AST compression, and ML-model-based prose compression with one click.

Evaluation

I checked out upstream/v0.5.50 and spent a few hours kicking the tires. The modality routing worked on first try — the PATH issues I hit before, the CLI binary not being on $PATH after install, are now handled upstream. The evaluation took longer than expected. Not because of bugs. Because every new feature had sub-features, and I kept going one level deeper: “Which models qualify? What does the fallback look like?”

What Got Set Aside

Two experiments are on hold.

Server split. This summer I was exploring separating the Hono API server from the Next.js dashboard into independent processes. Goal was leaner deployments, cleaner boundaries. Monorepo split PR #7 — the split itself — merged in July, but the follow-on work stalled; the monorepo approach was working fine, and splitting further would introduce complexity for no immediate gain.

Memory system removal. I removed the structured memory work from the fork entirely. Knowledge ingestion and context injection in 9router are different problems — 9router doesn’t need its own ingestion pipelines.

Why Bother

Fork maintenance feels like tax. But it’s also how I know what’s actually stable versus what I’ve been patching on top of older versions. Checking upstream taught me:

  • My local fixes are already upstream
  • Features I built workarounds for are now first-class
  • I can delete code

The fork still has custom combos and MCP integration that upstream doesn’t have yet. That’s where the value is — not catching up, but extending.


Sources

  • 9router upstream v0.5.50 — decolua/9router
  • My 9router fork
9router technical workflow
This post is licensed under CC BY-NC 4.0 by the author.
Share

Recently Updated

  • One Trailing Comma, One Wiped Config: A Data-Loss Bug in 9router's OpenCode Writer
  • OpenCode V2: Deciding to Upgrade and the Journey There
  • What Changed in OpenCode V2
  • OpenCode V2 + 9router: 9 Traps in a Custom Provider Setup
  • Your MCP Server Isn't Timing Out. Your Laptop Is Asleep.

Trending Tags

9router technical tooling opencode postmortem ade ai personal warp agents

Contents

Further Reading

Oct 29, 2026

One Trailing Comma, One Wiped Config: A Data-Loss Bug in 9router's OpenCode Writer

I found a bug a few days ago that would have deleted my OpenCode configuration — MCP servers, plugins, custom models, all of it — after a single click on a button whose entire job is to write that ...

Oct 23, 2026

OpenCode V2 + 9router: 9 Traps in a Custom Provider Setup

If you’re pointing OpenCode V2 at a provider you run yourself — your own router, a proxy, a local model server — this is the list of things that will quietly waste your time. I hit all nine. Trap ...

Oct 19, 2026

When the Dashboard Became Optional

The VPS was at 65% disk. Two weeks after I moved the 9router stack to Tencent, I ran df -h almost as a reflex and stared at the number. Nothing on this box should be growing. No user uploads. No pr...

Older
Debugging 9router Headroom: The Silent 404 That Masked a Version Mismatch
Newer
Headroom, Round Two: Four Walls Between Me and a Working Token Saver

© 2026 Alvian. Some rights reserved.

This blog is open source — view on GitHub

Using the Chirpy theme for Jekyll.

Trending Tags

9router technical tooling opencode postmortem ade ai personal warp agents