dsh-tokenbank 0.1.1 → 0.1.3
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 +34 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# TokenBank 免费模型 (dsh-tokenbank)
|
|
2
|
+
|
|
3
|
+
DeepSeek Harness(DSH)插件:一键用上 [TokenBank](https://bank.skillpie.cn) 的**免费 GLM 模型**——输入框模型选择器旁的橙色硬币按钮,点开即完成注册/登录/充值/托管全部操作,免费模型直接进你的模型列表,**无需自建中转、无需任何配置**。致敬 dsh-our-free-model。
|
|
4
|
+
|
|
5
|
+
## 功能
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
模型选择器旁 [🪙] 按钮 ──▶ 账户弹窗(锚定抽屉)
|
|
9
|
+
├─ 未登录:注册(邮箱验证码,送 $5 体验金 + 免费API Key)/ 登录
|
|
10
|
+
├─ 余额与账户:昵称、$余额、每日签到(领词元)
|
|
11
|
+
├─ 获取免费模型:GLM 系列直进模型列表(协议/上下文窗口/图片/推理档位自动配置)
|
|
12
|
+
└─ 充值:人民币套餐(¥10/50/100/300),支付宝收银台在系统默认浏览器打开,
|
|
13
|
+
支付后自动轮询到账并刷新余额
|
|
14
|
+
模型设置页(设置 → 模型)├─ 每张自定义 provider 卡片上「一键托管」:
|
|
15
|
+
把你的 API Key 托管到 TokenBank,闲置临时额度自动转永久余额(带上游探活校验)
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
- **免费模型接入**:注册响应里的明文 Key 自动写入 DSH 凭据(`TOKENBANK_API_KEY`)与模型列表(`llm-pi-ai` 命名空间),协议(anthropic-messages / openai-completions)、能力(1M 上下文、图片输入、推理档位)从门户元数据自动带出,模型编辑器里所见即所得。
|
|
19
|
+
- **密钥托管**:一键托管会先经 TokenBank 上游真打一次探活(不落库、不计费),无效 Key 直接拒绝;已托管的 Key 可一键取消。
|
|
20
|
+
- **低余额提醒**:会话里模型因余额不足报错时,弹窗引导去充值。
|
|
21
|
+
- **安全**:门户会话与身份持久化在 DSH 凭据记录 `dsh-tokenbank/identity`;可选记住密码用于静默重登;插件 HTTP API 仅限宿主同源访问。
|
|
22
|
+
|
|
23
|
+
## 安装
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
# DSH 插件市场 / 发现页搜索 TokenBank,或
|
|
27
|
+
dsh plugin --profile web add dsh-tokenbank
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
装完刷新 GUI,点模型选择器旁的橙色硬币按钮即可开始。
|
|
31
|
+
|
|
32
|
+
## 官网
|
|
33
|
+
|
|
34
|
+
<https://bank.skillpie.cn>
|
package/locale/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "TokenBank Free Models",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Free models for DSH: register with TokenBank to get a free API key with a $5 credit; free GLM models go straight into your model list. Balance, key deposits (temporary quota to permanent balance), daily check-in and CNY recharge (Alipay) included — no self-hosted relay needed. Tribute to dsh-our-free-model. https://bank.skillpie.cn"
|
|
5
5
|
},
|
|
6
6
|
"probeFailed": "This API key does not work upstream",
|
|
7
7
|
"probeInconclusive": "Upstream probe inconclusive; deposited anyway",
|
package/locale/zh.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "TokenBank免费模型",
|
|
4
|
-
"description": "TokenBank
|
|
4
|
+
"description": "DSH 免费模型:一键注册 TokenBank 领免费 APIKey 送 $5 体验金,免费 GLM 模型直接进模型列表;自带余额查询、API Key 密钥托管(临时额度转永久)、每日签到、充值入口(支付宝),获取免费模型无需自建中转。致敬 dsh-our-free-model。官网 https://bank.skillpie.cn"
|
|
5
5
|
},
|
|
6
6
|
"probeFailed": "该 API Key 无法在上游正常使用",
|
|
7
7
|
"probeInconclusive": "上游探活未出结论,已放行托管",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tokenbank",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "DSH 免费模型:一键注册 TokenBank 领免费 APIKey 送 $5 体验金,免费 GLM 模型直接进模型列表;自带余额查询、API Key 密钥托管(临时额度转永久)、每日签到、充值入口(支付宝),获取免费模型无需自建中转。致敬 dsh-our-free-model。官网 https://bank.skillpie.cn",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|