Releases: andregoncalves/dsh-balance
Releases · andregoncalves/dsh-balance
Release list
v0.4.1 — provider detection fix
Fixed
- Provider detection in the browser half. The chip read the active session's provider through a
connection.api.sessions.models(...)call that does not exist in DSH (ctx.connectionis a
ConnectionHandlewithrpc, not a session API), so the lookup always threw and the chip silently
fell back to the DeepSeek balance in every session — including OpenRouter, Moonshot, Zhipu, and
MiniMax sessions. It now readsctx.modelDirectories.directoryFor(sessionId).store(the shared
state the composer's model seat writes) and keeps the model-directory subscription that re-polls
on a model switch. scripts/verify-client.mjsnow drives the real refresh path and asserts the resolvedkindfor
each provider route, the OpenRouter regression included.
Full Changelog: v0.4.0...v0.4.1
v0.4.0 — provider-aware balance chip
Full Changelog: https://github.com/andregoncalves/dsh-balance/commits/v0.4.0