dsh-sensenova-pool 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +78 -78
package/README.md CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  填入任意多把商汤 Key,请求在多把 Key 之间自动轮转,把每把 Key 的额度摊开使用。
24
24
 
25
- ![Key 管理卡片](docs/shots/01-keys.png)
25
+ ![Key 管理卡片](https://raw.githubusercontent.com/Phoeky/dsh-sensenova-pool/main/docs/shots/01-keys.png)
26
26
 
27
27
  - **一次粘贴多把**:换行、逗号、分号、空格分隔都可以
28
28
  - **自动清洗**:识别并去除 `Bearer ` 前缀、首尾引号、重复项、明显无效的短串
@@ -112,7 +112,7 @@ pnpm --dir "$DSH_PROFILE_DIR" add "link:$PWD"
112
112
 
113
113
  改完 `package.json` 后**重启 DeepSeek Harness**。确认安装成功:插件页的「已安装」列表里会出现本插件。
114
114
 
115
- ![插件页](docs/shots/02-installed.png)
115
+ ![插件页](https://raw.githubusercontent.com/Phoeky/dsh-sensenova-pool/main/docs/shots/02-installed.png)
116
116
 
117
117
  ---
118
118
 
package/package.json CHANGED
@@ -1,78 +1,78 @@
1
- {
2
- "name": "dsh-sensenova-pool",
3
- "displayName": "DSH SenseNova Key Pool",
4
- "description": "商汤日日新(SenseNova)多 Key 轮换池 — 填入多把 Key 即可零配置接入 DeepSeek Harness,遇 429 限流自动切换下一把 Key。",
5
- "version": "0.1.0",
6
- "author": "Phoeky",
7
- "keywords": [
8
- "dsh-plugin",
9
- "deepseek-harness",
10
- "deepseek",
11
- "sensenova",
12
- "日日新",
13
- "key-rotation",
14
- "key-pool",
15
- "rate-limit",
16
- "429",
17
- "model-provider"
18
- ],
19
- "type": "module",
20
- "engines": {
21
- "node": "^22.19.0 || >=24.0.0"
22
- },
23
- "main": "lib/index.js",
24
- "types": "lib/index.d.ts",
25
- "exports": {
26
- ".": {
27
- "types": "./lib/index.d.ts",
28
- "default": "./lib/index.js"
29
- },
30
- "./client": "./lib/client.js",
31
- "./cordis.patch.yml": "./cordis.patch.yml",
32
- "./package.json": "./package.json"
33
- },
34
- "files": [
35
- "lib",
36
- "cordis.patch.yml",
37
- "README.md",
38
- "LICENSE"
39
- ],
40
- "license": "MIT",
41
- "repository": {
42
- "type": "git",
43
- "url": "git+https://github.com/Phoeky/dsh-sensenova-pool.git"
44
- },
45
- "homepage": "https://github.com/Phoeky/dsh-sensenova-pool#readme",
46
- "bugs": "https://github.com/Phoeky/dsh-sensenova-pool/issues",
47
- "scripts": {
48
- "prepack": "npm run build",
49
- "prepare": "npm run build",
50
- "build": "tsc -p tsconfig.json && node tools/build-client.mjs",
51
- "typecheck": "tsc -p tsconfig.json --noEmit",
52
- "test": "node tools/test-all.mjs"
53
- },
54
- "dsh": {
55
- "bundle": {
56
- "patch": "./cordis.patch.yml"
57
- },
58
- "client": {
59
- "inject": [
60
- "@deepseek-ai/dsh-client-ui-plugin-manager",
61
- "@deepseek-ai/dsh-client-ui-settings-plugins",
62
- "@deepseek-ai/dsh-client-locale"
63
- ],
64
- "platform": "web"
65
- }
66
- },
67
- "peerDependencies": {
68
- "@deepseek-ai/cordis": "^4.0.4",
69
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
70
- "@deepseek-ai/dsh-llm-pi-ai": "0.2.0-rc.2",
71
- "@deepseek-ai/schemastery": "~3.18.4",
72
- "@earendil-works/pi-ai": "^0.87.1"
73
- },
74
- "devDependencies": {
75
- "@types/node": "22.19.19",
76
- "typescript": "5.9.3"
77
- }
78
- }
1
+ {
2
+ "name": "dsh-sensenova-pool",
3
+ "displayName": "DSH SenseNova Key Pool",
4
+ "description": "商汤日日新(SenseNova)多 Key 轮换池 — 填入多把 Key 即可零配置接入 DeepSeek Harness,遇 429 限流自动切换下一把 Key。",
5
+ "version": "0.1.1",
6
+ "author": "Phoeky",
7
+ "keywords": [
8
+ "dsh-plugin",
9
+ "deepseek-harness",
10
+ "deepseek",
11
+ "sensenova",
12
+ "日日新",
13
+ "key-rotation",
14
+ "key-pool",
15
+ "rate-limit",
16
+ "429",
17
+ "model-provider"
18
+ ],
19
+ "type": "module",
20
+ "engines": {
21
+ "node": "^22.19.0 || >=24.0.0"
22
+ },
23
+ "main": "lib/index.js",
24
+ "types": "lib/index.d.ts",
25
+ "exports": {
26
+ ".": {
27
+ "types": "./lib/index.d.ts",
28
+ "default": "./lib/index.js"
29
+ },
30
+ "./client": "./lib/client.js",
31
+ "./cordis.patch.yml": "./cordis.patch.yml",
32
+ "./package.json": "./package.json"
33
+ },
34
+ "files": [
35
+ "lib",
36
+ "cordis.patch.yml",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "license": "MIT",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/Phoeky/dsh-sensenova-pool.git"
44
+ },
45
+ "homepage": "https://github.com/Phoeky/dsh-sensenova-pool#readme",
46
+ "bugs": "https://github.com/Phoeky/dsh-sensenova-pool/issues",
47
+ "scripts": {
48
+ "prepack": "npm run build",
49
+ "prepare": "npm run build",
50
+ "build": "tsc -p tsconfig.json && node tools/build-client.mjs",
51
+ "typecheck": "tsc -p tsconfig.json --noEmit",
52
+ "test": "node tools/test-all.mjs"
53
+ },
54
+ "dsh": {
55
+ "bundle": {
56
+ "patch": "./cordis.patch.yml"
57
+ },
58
+ "client": {
59
+ "inject": [
60
+ "@deepseek-ai/dsh-client-ui-plugin-manager",
61
+ "@deepseek-ai/dsh-client-ui-settings-plugins",
62
+ "@deepseek-ai/dsh-client-locale"
63
+ ],
64
+ "platform": "web"
65
+ }
66
+ },
67
+ "peerDependencies": {
68
+ "@deepseek-ai/cordis": "^4.0.4",
69
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
70
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.0-rc.2",
71
+ "@deepseek-ai/schemastery": "~3.18.4",
72
+ "@earendil-works/pi-ai": "^0.87.1"
73
+ },
74
+ "devDependencies": {
75
+ "@types/node": "22.19.19",
76
+ "typescript": "5.9.3"
77
+ }
78
+ }