rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:JieZhiF/dsh-dumate-provider
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
Native DeepSeek Harness (DSH) plugin: connects a Baidu DuMate account (free, Pro or Max) as a provider. Models appear in the model picker; accounts, balance, daily check-in and per-model switches live on one settings page.
dm-auto-model L0–L2 tiers, …)dumate-svc.baidu.com directly: no local gateway, no extra portStringDecoder so Chinese text never corrupts across chunks@deepseek-ai/* package, so there is no peer-version matrixPick one. Restart DSH afterwards — a new provider is registered into the model catalog at startup.
Plugin market (recommended): DSH sidebar → Plugin market → search “DuMate” or “搭子” → install. If it is not listed yet, use one of the direct paths below.
GitHub:
dsh plugin --profile web add github:JieZhiF/dsh-dumate-provider
npm (after publishing):
dsh plugin --profile web add dsh-dumate-provider
Local directory (development):
dsh plugin --profile web add /home/viola/dumate-provider
www.dumate.cn.)The settings page covers: automatic check-in switch and time (Beijing), balance alert switch and threshold, the 22 per-model switches, and account label / enable / remove / sign in again.
Plugin state lives in $DSH_HOME/dumate-provider/state.json (default ~/.dsh/dumate-provider/state.json, mode 0600, carries cookies). It is not written into the profile's cordis.patch.yml and not the plugin row's config: toggling a model must not restart the plugin.
With an enterprise plan or any OpenAI-compatible endpoint, use the "API endpoint" section at the bottom of the settings page: base URL + key, then "Probe models". Those models appear under "Baidu DuMate · API", independent of the cookie lane.
This is an unofficial integration: it calls DuMate's web endpoints with your cookie, which may conflict with the terms of service and trip risk controls (an account can be restricted). Points are spent per turn and check-in only tops them up. The plugin stores only the cookie, locally with mode 0600 — never your password.
The enterprise tier has an official API (api.dumate.cn, API key + SSE + tool calls); a generic OpenAI-compatible provider is the safer route when you can use it. See DETAIL.
dumate-api lane.product === "dumate" packages, which can differ from the website's totalPoints.[图片] placeholder in this version; text and tool calls are unaffected.npm run check # syntax check every module
npm test # node:test (cookie normalization / message mapping / usage mapping / SSE frames)
Layout: index.js (Host apply), client.js (settings page), src/ (adapter / wire / auth / api / pool / store / checkin / balance / routes / fence), locale/ (plugin page metadata), docs/DETAIL*.md (detail pages).
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、模型。