DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-ofm-credit-dock

d

dsh-ofm-credit-dock

Manifest valid

Lists every Our Free Model (EAC router) channel you are signed in to, with its remaining credit, at the bottom of the DSH sidebar; the channel behind your current model is highlighted and balances ref

UI (client)hasBundlePatch
OFM credit dock icon

OFM credit dock

Requires Our Free Model (dsh-our-free-model). This plugin is a read-only companion to Our Free Model's "EAC router" channels. It has no channels of its own and ships no credentials. With Our Free Model absent or disabled it shows nothing but an explanation.

Shows every EAC router channel you have signed in to — and its remaining credit — at the bottom of the DSH sidebar, with the channel behind your current model highlighted.

The dock at the bottom of the sidebar: three connected providers with their remaining credit, the provider in use highlighted

What it shows

One row per connected provider, in Our Free Model's own channel order:

  • Provider name and its remaining credit

  • Highlighted row + 「使用中」/「In use」 badge — the provider your current session's model belongs to

  • Units as the provider reports them, never converted or summed together:

    ChannelUnit
    LobsterAI, Qoder, Qoder CN, TRAE, Loomy, Raccoon, MiniMax Codecredits / points
    ClineUSD
    ZCodetokens
    Geminiquota window percentage
  • A provider whose balance query fails shows why, not 0 — 0 would read as "spent up", which is a different claim.

  • With several accounts on one provider, credits are summed; quota percentages are averaged and labelled as such, because a percentage of a window is not an additive quantity.

Collapsed sidebar → the dock becomes a 36px rail button; its tooltip names the in-use provider and its balance.

Requirements

RequirementNotes
dsh-our-free-modelRequired. Provides the channels and the RPC this reads.
At least one channel signed inSign in on Our Free Model's EAC router page.
DSH Web GUIdsh.client.platform is web.

The ten channels are the ones Our Free Model mounts. If it adds an eleventh, this plugin will not list it until it is updated here (CHANNELS in client.js); unknown providers are ignored rather than guessed at.

Install

dsh plugin --profile web add github:zhang-astronaut/dsh-ofm-credit-dock

Then install Our Free Model if you have not already:

dsh plugin --profile web add github:Ebony-Vinyl/dsh-our-free-model

How it works

The dock is browser-side only; index.js exists to give the bundle a plugin row.

  1. It asks Our Free Model's channel RPC over the shell's connection service — the same transport Our Free Model's own settings page uses, so the Host's admission and origin policy apply:
    • provider.status → which of the ten channels have at least one account
    • credits.balances → one balance reading per connected channel
  2. The highlight comes from the session list row's modelSelection projection (next ?? lastUsed) — the same value the composer's model seat displays. Each account channel is registered as its own LLM provider (trae, qodercn, zcode, …), so the selection's provider id names the channel outright. A selection on our-free-model is the free lane, spends no channel credit, and highlights nothing.
  3. It re-reads every 90 s, on window focus, and when Our Free Model announces a channel change (ofm:channels). Hint-driven re-reads are floored at 15 s so tab switching cannot stack overlapping sweeps; the refresh button re-reads immediately.

Nothing is read from or written to the credential store. No balance is cached to disk, and no request goes anywhere Our Free Model itself would not have made.

Privacy

The plugin reads credit sums that Our Free Model already fetched. It sends nothing to any third party, has no analytics, no telemetry, no network endpoint of its own, and writes no files. Turning it off removes the dock and changes nothing else.

Known limitations

  • Requires Our Free Model. This is a companion, not a standalone channel plugin.
  • The channel list is a fixed table of ten. A provider Our Free Model adds later appears only after this plugin is updated.
  • Balances are as fresh as the last read (up to 90 s old); the footer shows the reading time.
  • A provider whose credential expired shows "Query failed" with the reason in the tooltip until it is re-authenticated on Our Free Model's page.
  • Free-lane (our-free-model) sessions highlight nothing, because no channel credit is spent.

License

MIT.

Comments

Loading…

Similar plugins

dsh-ofm-balance

by Shen-18

OFM 额度 — 在 DSH 侧栏显示 Our Free Model 网关各渠道的剩余额度。列出网关支持的全部渠道,已配置的默认显示,可在插件详情页按渠道开关。 / Show per-channel credit balances of the Our Free Model gateway in the DSH sidebar.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 21, 2026

dsh plugin --profile web add dsh-ofm-balance

Reads the API balance or subscription quota behind the current DSH route — including OpenDesign (AMR) wallet and Design Plan windows via the control plane — and never guesses a figure: a miss reports

Tools & CapabilitiesManifest valid

★ 1

MIT

JavaScript

dsh plugin --profile web add @zhujiuyi/dsh-balance

by Utmotc

Shows the API balance of the provider behind the current model as a dsh Web sidebar card, with per-package progress bars, currency/credit-aware units, a settings tab, and subscription and credit quota

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add @utmotc/dsh-balance-card

DSH Usage Monitor: auto-query provider credit balances and time-window limits from configured API keys, with input capsule and custom provider support.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

↓ 53/wk

dsh plugin --profile web add @lcthe/dsh-usage-monitor

by tasuma-qwq

Adds OFM lane and effort selection on top of the Our Free Model plugin (Ebony-Vinyl/dsh-our-free-model, installed separately with its free public pool enabled), plus public-pool setup, cooldown tracki

Models & ProvidersManifest valid

★ 17

↓ 597/wk

MIT

JavaScript

Nov 9, 2026

dsh plugin --profile web add baifanyu-ofm

by eghrhegpe

ModelScope (modelscope.cn) connect bundle for the DeepSeek Harness: a local-usage quota panel for the free API-Inference tier plus optional provider registration.

Tools & CapabilitiesTerminal & ClientsModels & ProvidersManifest valid

★ 3

↓ 1.1k/wk

MIT

JavaScript

Nov 18, 2026

dsh plugin --profile web add dsh-connect-modelscope-token-plan