- 导出 toNum/round2/isDeepSeekModel/isDeepSeekProvider/codexWindowName 供测试 - 覆盖字符串数字兼容、双路由判断、Codex 窗口秒数映射
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"name": "dsh-balance",
|
|
"version": "1.2.0",
|
|
"description": "DeepSeek Harness web 插件:输入框下方状态栏展示当前供应商的余额/用量 —— DeepSeek 官方余额 + 本会话花费、Kimi Coding 订阅用量(5小时/7天)、OpenCode Go 订阅用量(5小时/7天/30天)。按 provider 判断、2 秒轮询实时切换、5 分钟缓存。",
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./client": "./lib/client.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"dsh": {
|
|
"bundle": {
|
|
"patch": "./cordis.patch.yml"
|
|
},
|
|
"client": {
|
|
"platform": "web",
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-runtime",
|
|
"@deepseek-ai/dsh-client-ui-slots"
|
|
]
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/client.js",
|
|
"cordis.patch.yml",
|
|
"dsh.plugin.json",
|
|
"README.md",
|
|
"LICENSE",
|
|
"install.sh"
|
|
],
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/GeekRicardo/dsh-balance"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "node --test test/"
|
|
}
|
|
}
|