Skip to content

Releases: apolenkov/dsh-provider-proxy

v0.2.6 — card-based rule editor, readable dark-theme buttons, English walkthrough

Choose a tag to compare

@apolenkov apolenkov released this 23 Oct 22:02

Highlights

  • Rule editor rebuilt as cards. Each provider/model rule is a card with a header (rule name + Remove action) and a responsive field grid: one full-width column in the Settings panel, three columns on the wide Plugins page. No table layout leftovers, no clipped fields.
  • Readable primary button in dark themes. Save uses the harness contrast token pair (--dsw-alias-button-contrast-fill + --dsw-alias-label-primary-inverted) instead of a hard-coded white label on the near-white brand accent.
  • Cleaner field copy. The proxy URL has a real label above the input (no duplicate caption), the http(s):// hint only shows in custom mode, and the status pill pluralises (1 provider rule · 1 model rule).
  • Rhythm aligned with DSH Settings: 16 px card padding, 8 px label→input, 20 px between fields, 44 px controls, 12 px hints.

Proxy routes in Settings

Install

dsh plugin --profile <profile> add @apolenkov/dsh-provider-proxy   # npm, latest = 0.2.6
# or pin the tag:
dsh plugin --profile <profile> add git+https://github.com/apolenkov/dsh-provider-proxy.git#v0.2.6

Verification

44 tests, pnpm check and pnpm check:release green; layout measured in the live DSH Settings panel (530 px → single column, field 496 px, no horizontal scroll) and on the wide page (872 px → three columns); English walkthrough GIF and screenshots re-recorded.

v0.2.0 — Proxy routes in Settings, Chinese UI

Choose a tag to compare

@apolenkov apolenkov released this 22 Oct 14:40

Highlights

  • Settings page: the route editor is now also a first-class Settings → Proxy routes section beside Models (the settings.section slot). Same component, same revision-fenced saves as the Plugins page.
  • Chinese localisation: full zh dictionary, locale/zh.json, README.zh.md. The UI follows the harness locale (Settings → General → Language) for en / zh / ru.
  • Docs: Mermaid flow, precedence and failure-state diagrams, repository banner, ROADMAP.md, area labels for issues and PRs.

Proxy routes in Settings

Install

dsh plugin --profile <profile> add @apolenkov/dsh-provider-proxy   # npm, latest = 0.2.0
# or pin the tag:
dsh plugin --profile <profile> add git+https://github.com/apolenkov/dsh-provider-proxy.git#v0.2.0

Verification

44 tests, pnpm check and pnpm check:release green on Node 22/24/26; Settings page, Chinese UI and live saves verified in scratch DSH profiles; package published as @apolenkov/dsh-provider-proxy@0.2.0.

v0.1.0 — per-provider and per-model proxy routing

Choose a tag to compare

@apolenkov apolenkov released this 22 Oct 13:30

First public release.

Highlights

  • Per-provider and per-model routing for outbound model traffic, layered over the harness process proxy policy (exact id, prefix *, optional provider pin, host rules).
  • Proxy routes settings page in Plugins: staged drafts, revision-fenced saves, inline validation, en/ru copy, accessible markup.
  • Fail-closed configuration — an invalid rule refuses the whole route set; startup is never blocked.
  • Diagnostics in $DSH_HOME/provider-proxy/state.json.

Proxy routes

Install

dsh plugin --profile <profile> add @apolenkov/dsh-provider-proxy

npm: https://www.npmjs.com/package/@apolenkov/dsh-provider-proxy
Docs: https://github.com/apolenkov/dsh-provider-proxy/tree/main/docs

Verification

  • 41 tests (pnpm check) on Node 22/24/26; CI green.
  • Installed from npm and from the git tag into scratch DSH profiles; UI and state.json verified live.
  • DSH market index (market/dsh-market.json) validated and installed through Plugins → Discover.