jiay98528-dev/dsh-model-sync ↗★ 3
dsh-model-sync
Write live provider model lists into DSH settings. Composer rings show 5h/7d plan windows or metered balance since the last top-up for the current session model.
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-model-sync說明文件
閱讀完整 README ↗Usage
Model Sync
- Settings → Model Sync.
- Refresh if the list is empty.
- Each card lists the provider id,
baseURL, and model chips. A blue outline marks ids not in settings yet. Apply N new models writes them tollm-pi-ai.providers..models. - The collapsed Enable plugins block toggles this plugin and the optional
sub-model-access, writing the disabled flag in cordis.patch.yml. Takes effect live.
MiniMax, Kimi Coding, and OpenAI Codex have no OpenAI /models endpoint. The plugin uses the known catalog ids.
Usage
- Settings → Usage.
- Each provider lists its 5-hour and 7-day windows, one row each, with remaining percent, vendor cumulative counts, a reset countdown, and a colored bar.
- Metered rows show
current / baseline. The first sample becomes the baseline. To count spend from before the plugin was enabled, click Use current balance as baseline. The balance row also records when the baseline was set. - The page auto-refreshes every 60 seconds. Refresh pulls immediately.
Composer rings
- Pick a model as usual.
- The ring is right of the model name and left of the context meter. It follows the session model and switches with it.
- Hover the ring for a detail card titled
provider / modelfor this session. Each window gets a row with remaining percent and reset countdown, for example5 hours left 100% · 2h 15m left. - Other providers stay on the Usage page.
Usage
- Settings → Usage.
- Each provider lists its 5-hour and 7-day windows, one row each, with remaining percent, vendor cumulative counts, a reset countdown, and a colored bar.
- Metered rows show
current / baseline. The first sample becomes the baseline. To count spend from before the plugin was enabled, click Use current balance as baseline. The balance row also records when the baseline was set. - The page auto-refreshes every 60 seconds. Refresh pulls immediately.