dsh-sub2api 0.6.1 → 0.6.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2
4
+
5
+ - The measurement itself is in the repository now (`scripts/measure-context.mjs`),
6
+ so the table can be refreshed with one command whenever upstream accounts
7
+ come back — seven models were unreachable during this run and still fall back
8
+ to the default.
9
+
3
10
  ## 0.6.1
4
11
 
5
12
  - Adds `gpt-6.2-sol` (950,272) and `qwen3.8-max` (1,015,808) to the measured
package/README.md CHANGED
@@ -310,6 +310,17 @@ Cannot switch to sub2api/...: no context capacity; configure contextWindow on th
310
310
 
311
311
  面板里标「默认」的模型就是**没测到**的(上游当时不可用),会有一行提示列出来,点右侧数字可以手填。
312
312
 
313
+ 账号恢复后想补齐,仓库里带了两条命令:
314
+
315
+ ```sh
316
+ # 1) 重新测一遍(--only 可选,只测指定模型)
317
+ node scripts/measure-context.mjs --key sk-... --out /tmp/ctx.json
318
+
319
+ # 2) 生成插件用的表
320
+ node scripts/build-context-table.mjs /tmp/ctx.json
321
+ npm test && npm publish
322
+ ```
323
+
313
324
  ## 自动重试
314
325
 
315
326
  回答还没吐出第一个字之前,插件会自动重试这几类失败:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sub2api",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Psapi (sub.pscly.cc) provider for DeepSeek Harness: zero-friction signup, auto-provisioned API key, upstream model sync, balance and recharge",
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",