dsh-ustc-quota 1.3.36 → 1.3.37
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/README.md +2 -2
- package/client.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ github:Awenforever/dsh-ustc-quota
|
|
|
40
40
|
github:Awenforever/dsh-ustc-quota#vX.Y.Z
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
npm 上的 `dsh-ustc-quota`
|
|
43
|
+
npm 上的 `dsh-ustc-quota` 自 **1.3.36** 起与本仓库同步(此前的 1.1.59 不含 1.3.x 的任何修复)。从 npm 安装还能走 DSH 官方更新通道:
|
|
44
44
|
|
|
45
45
|
```text
|
|
46
46
|
dsh-ustc-quota
|
|
@@ -62,7 +62,7 @@ target = github:Awenforever/dsh-ustc-quota
|
|
|
62
62
|
TokenWorks 是 USTC 基于 DSH 的发行版,自带 **插件** 页面和 `@deepseek-ai/dsh-plugin-manager`:
|
|
63
63
|
|
|
64
64
|
1. 在左侧栏打开 **插件** → 点右上角 **+ 添加插件**;
|
|
65
|
-
2. 填入 `github:Awenforever/dsh-ustc-quota#vX.Y.Z
|
|
65
|
+
2. 填入 `dsh-ustc-quota`(走 npm,可自动更新)或 `github:Awenforever/dsh-ustc-quota#vX.Y.Z`(锁定某个 Release 标签);
|
|
66
66
|
3. **全新安装**后只需让插件页加载/刷新一次;**从旧版本升级**则必须完全退出并重新打开词元工坊。TokenWorks 的插件页「更新」只应用 Host bundle,页面刷新不能清掉 DSH client-module 缓存;若刷新后插件仍未恢复,请完全退出并重开词元工坊;
|
|
67
67
|
4. 用学校统一身份登录后,卡片会自动出现。
|
|
68
68
|
|
package/client.js
CHANGED
|
@@ -55,7 +55,7 @@ window.__ModuleLoader__.load({
|
|
|
55
55
|
return 0;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
const CLIENT_VERSION = '1.3.
|
|
58
|
+
const CLIENT_VERSION = '1.3.37';
|
|
59
59
|
const UPDATE_INTERVAL_MS = 24 * 60 * 60 * 1000;
|
|
60
60
|
const CLIENT_VERSION_KEY = `${NS}:client-version`;
|
|
61
61
|
const CLIENT_RELOAD_KEY = `${NS}:client-reload`;
|
package/index.js
CHANGED
|
@@ -68,7 +68,7 @@ function rejectGuard(response, reason) {
|
|
|
68
68
|
const UPDATE_PATH = '/plugins/dsh-ustc-quota/update';
|
|
69
69
|
const UPDATE_APPLY_PATH = '/plugins/dsh-ustc-quota/update/apply';
|
|
70
70
|
const UPDATE_TOKEN_TTL_MS = 30 * 60 * 1000;
|
|
71
|
-
const PLUGIN_VERSION = '1.3.
|
|
71
|
+
const PLUGIN_VERSION = '1.3.37';
|
|
72
72
|
const KEY_INFO_PATH = 'key/info';
|
|
73
73
|
const USER_INFO_PATH = 'user/info';
|
|
74
74
|
const DISCOVERY_TTL_MS = 10_000;
|
package/package.json
CHANGED