kkppshuai-svg/dsh-corner-gauge ↗★ 1
dsh-corner-gauge
A skinnable corner balance badge for DeepSeek Harness — swap the frame template, compose the panel from elements
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kkppshuai-svg/dsh-corner-gauge配置
运行时覆盖,在插件加载前塞一个全局对象:
window.__DSH_BADGE_CONFIG__ = {
skin: 'mclaren',
elements: ['currency', 'amount', 'progress'],
position: { right: 22, bottom: 96 },
size: { width: 322, height: 70 },
currency: 'auto', // 'auto' | 'CNY' | 'USD'
pollMs: 60000,
};
| 键 | 类型 | 默认 | 说明 |
|---|---|---|---|
skin | string | 'mclaren' | 边框模板名 |
elements | string[] | ['currency','amount','progress'] | 面板元素顺序 |
position | {right,bottom} | {22,96} | 默认停靠位置 |
size | {width,height} | {322,70} | 面板尺寸(px) |
currency | string | 'auto' | 币种,auto 跟随账户 |
pollMs | number | 60000 | 轮询间隔(毫秒) |
drive.enabled | boolean | true | 是否启用点击跑车彩蛋 |
drive.sound | boolean | true | 声浪默认开关(用户切过以用户为准) |
drive.durationMs | number | 1500 | 跑车穿过面板的时长 |
drive.fx | boolean | false | 是否叠加速度线与拖尾特效 |
drive.car | string | 'auto' | 'auto' 每次点击换下一辆;也可填固定车辆 id |