Repository navigation
Releases
Releases · Dynesshely/dsh-plugin-portara
v0.1.1
dsh-plugin-portara v0.1.1
The route card now lives where it belongs: at the opening of each turn's assistant content — after the
prompt and the completion header, before the first process row — with one card per Turn.
Added
/portara route— prints the session's gateway route once (channel, account, upstream model, failover
attempts) without spending a model call. When the gateway's 15-minute live cache has expired it reports
the session's last recorded route and says so.- Routed model id in the status row —
⚡ <channel> / <account> · <full model id>at the end of a Turn,
hiding whatever the gateway withheld. - Build stamp in the card and status-row tooltips, so a stale page can be told apart from a fresh bundle.
Changed
- One collapsible card per Turn (keyed by gateway session and Turn number) instead of one per session.
- The card is positioned outside the process disclosure, so folding a turn's work never hides it.
- The Host stamps every record with the Turn's prompt sequence; placement no longer depends on which history
window the page has loaded.
Fixed
- The card no longer drifts to the end of a Turn, above the next prompt, or out of view after loading older
history. - A gateway with routing disclosure off no longer causes polling until a settled query sees routing facts.
Verification
- 68
node:testcases,node --checkon every shipped file. - Live: new records carry the prompt anchor; the browser bundle reports build
2026-11-15T04:35Z-user-anchor;
the card renders after the prompt and before the process rows.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
dsh-plugin-portara v0.1.0
First release: see the Portara gateway route behind every reply, in the DeepSeek Harness chat stream.
What you get
- Routing card in the chat — one collapsible row per gateway session at the same level as a tool-call
card: channel, account, upstream model, and every failover attempt (quota cooldown,HTTP 429, …).
A first-hit reply collapses to a single line; a failover expands into its attempts. - Route line in the turn status row —
⚡ <channel> / <account> · <full model id>at the end of each
turn, with the withheld part simply omitted when the gateway redacts it. /portara route— prints the current route once, without spending a model call. When the gateway's
15-minute live cache has expired (an idle conversation), it reports the session's last recorded route and
says so.- One bundle, two halves — the Host half observes calls and writes reload-safe log-only records; the
browser half renders the row and the status line. No DSH kernel file is modified and there is no build step
and no runtime dependency.
Behaviour guarantees
- Silent by contract — unreachable gateway, timeout, non-200 body, malformed JSON, or a missing session
all resolve to "write nothing". No chat error, no failed or slowed model call. - Reload-safe records — written as ignorable
plugin:portara/routerecords through
appendPluginRecord(), so an older reader retains and skips them and a session always reopens. - No duplicate cards — records are deduped by the observed routing facts, and every record of one
gateway session updates the same row. - No secrets — the API key stays in the Host process; records carry only the routing facts the gateway
chose to expose.
Install
git clone https://github.com/Dynesshely/dsh-plugin-portara.git
dsh plugin install ./dsh-plugin-portaraRequires DeepSeek Harness 0.2.x with the llm-pi-ai adapter and a gateway that answers /v1/route-info.
Routing disclosure is a gateway setting and is off by default; enable exposeRoutingInfo (and
exposeRoutingDetail: channel for channel/account names) where you accept that exposure.
Verification
- 59
node:testcases: payload normalization and dedupe, the timeout-bounded gateway client, provider
discovery and credential resolution, the client's row/status rendering (headless React), and a Host
integration test against a real (independent)Sessionplus a local HTTP gateway. - The running profile activates the bundle and registers both halves; the browser bundle is served by the
installed Harness.
Links
- Design notes and rejected alternatives:
docs/DESIGN.md - Gateway project: Portara
Full Changelog: https://github.com/Dynesshely/dsh-plugin-portara/commits/v0.1.0