dsh-sidebar-usage 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/custom.js +2 -1
- package/package.json +1 -1
package/lib/custom.js
CHANGED
|
@@ -266,7 +266,8 @@ export function normalizeCustomProviders(raw) {
|
|
|
266
266
|
totalPath: pickedTotal,
|
|
267
267
|
usedPath: pickedUsed,
|
|
268
268
|
expiresPath: pickedExpires,
|
|
269
|
-
availablePath
|
|
269
|
+
// 预设给的 availablePath 也要能生效(否则 newapi-account 的 data.status 检查会丢)
|
|
270
|
+
availablePath: text(item.availablePath) || (defaults.availablePath ?? ''),
|
|
270
271
|
// 两组原始值,编辑表单切换类型时用
|
|
271
272
|
accountType,
|
|
272
273
|
rawPath: path,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sidebar-usage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Sidebar usage HUD for DeepSeek Harness: provider balance / subscription quota, cumulative tokens & calls, drag-to-resize card, hover-out drawer that collects bottom-bar entries.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|