dsh-dscost-tide 1.0.1 → 1.0.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 +7 -0
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
本文件记录 `dsh-dscost-tide` 的发布变更。版本号遵循 [SemVer](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## 1.0.2 — 2026-10-31
|
|
6
|
+
|
|
7
|
+
**变更**
|
|
8
|
+
|
|
9
|
+
- GitHub 用户名由 `yanzi-251147` 改为 `yuchilling`(与 npm 账号统一),仓库地址随之变为 <https://github.com/yuchilling/dsh-dscost-tide>。
|
|
10
|
+
- 包元数据里 `author`、`homepage`、`repository`、`bugs` 与 `publish.yml`、中英 README 里的仓库地址全部更新为 `yuchilling`;npm 包名不变(仍是 `dsh-dscost-tide`),安装命令不变。
|
|
11
|
+
|
|
5
12
|
## 1.0.1 — 2026-10-31
|
|
6
13
|
|
|
7
14
|
**修复**
|
package/README.en.md
CHANGED
|
@@ -94,7 +94,7 @@ node scripts/prepare-publish.mjs # build the publishable copy and pack it
|
|
|
94
94
|
The working tree keeps `"name": "dsh-dscost-tide"` (it is the install key in the profile's `dependencies` / `dsh.profile.bundles`), and that same unscoped name is used on npm, so publishing starts with:
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
|
-
node scripts/prepare-publish.mjs --repo
|
|
97
|
+
node scripts/prepare-publish.mjs --repo yuchilling/dsh-dscost-tide
|
|
98
98
|
cd _intermediate/publish && npm publish --access public
|
|
99
99
|
```
|
|
100
100
|
|
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ node scripts/prepare-publish.mjs # 生成可发布副本并打包,打印 tar
|
|
|
121
121
|
`prepare-publish` 会把可发布的文件复制到 `_intermediate/publish/`,并改写仓库地址。本地工作树里的 `name` 保持 `dsh-dscost-tide` 不动(它是 profile `dependencies` / `dsh.profile.bundles` 里的安装键),npm 上的包名也沿用同一个,发布前跑一次:
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
|
-
node scripts/prepare-publish.mjs --repo
|
|
124
|
+
node scripts/prepare-publish.mjs --repo yuchilling/dsh-dscost-tide
|
|
125
125
|
cd _intermediate/publish && npm publish --access public
|
|
126
126
|
```
|
|
127
127
|
|
package/lib/index.js
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
/** Route prefix owned by this plugin — deliberately outside the built-in /api gateway. */
|
|
36
36
|
const ROUTE_PREFIX = "/dsh-dscost-tide/api";
|
|
37
37
|
/** Identity reported to Platform with every balance query. */
|
|
38
|
-
const CLIENT_VERSION = "1.0.
|
|
38
|
+
const CLIENT_VERSION = "1.0.2";
|
|
39
39
|
const CLIENT_LOCALE = "zh-CN";
|
|
40
40
|
/** Fallback source, used only when the stored account grant cannot answer. */
|
|
41
41
|
const API_KEY_REF = "DEEPSEEK_API_KEY";
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-dscost-tide",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "DeepSeek peak/valley indicator in the DSH sidebar footer: phase at a glance, account balance, and a click-through dashboard with balance plus time-dimensioned token, cache-hit, cost and request statistics",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author": "
|
|
6
|
+
"author": "yuchilling",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"exports": {
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"tokens",
|
|
32
32
|
"sidebar"
|
|
33
33
|
],
|
|
34
|
-
"homepage": "https://github.com/
|
|
34
|
+
"homepage": "https://github.com/yuchilling/dsh-dscost-tide#readme",
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/
|
|
37
|
+
"url": "git+https://github.com/yuchilling/dsh-dscost-tide.git"
|
|
38
38
|
},
|
|
39
39
|
"bugs": {
|
|
40
|
-
"url": "https://github.com/
|
|
40
|
+
"url": "https://github.com/yuchilling/dsh-dscost-tide/issues"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|