@goodandready/dsh-clinebot 0.2.0 → 0.3.0

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.zh.md DELETED
@@ -1,68 +0,0 @@
1
- # 📦 @goodandready/dsh-clinebot
2
-
3
- <div align="center">
4
-
5
- <h3>适用于 DeepSeek Harness 的 ClineBot / ClinePass 原生模型提供商伴侣插件</h3>
6
-
7
- <p align="center">
8
- <a href="https://www.npmjs.com/package/@goodandready/dsh-clinebot"><img src="https://img.shields.io/npm/v/@goodandready/dsh-clinebot.svg?style=for-the-badge&color=6366f1&labelColor=1e1b4b" alt="npm version"></a>
9
- <a href="LICENSE"><img src="https://img.shields.io/github/license/GooDAnDReaDY/dsh-clinebot.svg?style=for-the-badge&color=10b981&labelColor=064e3b" alt="license"></a>
10
- <a href="https://github.com/topics/dsh-plugin"><img src="https://img.shields.io/badge/DSH-Plugin-8b5cf6.svg?style=for-the-badge&labelColor=2e1065" alt="DSH Plugin"></a>
11
- <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-20%2B-f59e0b.svg?style=for-the-badge&labelColor=451a03" alt="Node version"></a>
12
- </p>
13
-
14
- <!-- 作者所有项目展示页面链接 -->
15
- <p align="center">
16
- <a href="https://goodandready.app/"><img src="https://img.shields.io/badge/作者所有开源项目-goodandready.app-ff4500.svg?style=for-the-badge&logo=rocket&logoColor=white&labelColor=1a1a2e" alt="所有项目"></a>
17
- </p>
18
-
19
- <p align="center">
20
- <a href="README.md"><b>🇬🇧 English</b></a> •
21
- <a href="README.ru.md"><b>🇷🇺 Русский</b></a> •
22
- <a href="README.zh.md"><b>🇨🇳 中文说明</b></a>
23
- </p>
24
-
25
- </div>
26
-
27
- ---
28
-
29
- ## ⚡ 概述与解决的问题
30
-
31
- **ClinePass** (`https://cline.bot`) 是一项固定月费(\$9.99/月)的高性价比订阅服务,为开发者提供主流开源代码模型与推理模型 2–5 倍的高并发调用限额,统一通过 OpenAI 兼容接口 (`https://api.cline.bot/api/v1`) 提供服务。
32
-
33
- 在将 ClinePass 接入 DeepSeek Harness (DSH) 时存在以下挑战:
34
- 1. **缺失 `/v1/models` 接口**:`api.cline.bot` 的 `GET /v1/models` 会直接返回 `404 Not Found`,导致动态模型同步失败。
35
- 2. **专属模型前缀**:所有模型 ID 均需前缀 `cline-pass/`(如 `cline-pass/deepseek-v4-flash`, `cline-pass/kimi-k3`)。
36
- 3. **安全凭据隔离**:禁止在明文配置中直接填写密钥。
37
-
38
- **`@goodandready/dsh-clinebot`** 完美解决以上痛点:
39
- * 🎯 内置包含全部 11 款官方 ClinePass 模型的静态精选目录。
40
- * 🔐 深度集成 DSH `credentials` 服务 (`~/.dsh/.credentials.yaml`),凭据隔离无泄漏。
41
- * 🔄 一键写入 DSH `llm-pi-ai` 模型注册表。
42
- * 🩺 设置面板内置毫秒级延迟探测与 Smoke Test 测试生成。
43
-
44
- ---
45
-
46
- ## 📦 快速安装
47
-
48
- 在活动的 DeepSeek Harness 配置中安装:
49
-
50
- ```bash
51
- dsh plugin --profile web add @goodandready/dsh-clinebot
52
- ```
53
-
54
- ---
55
-
56
- ## 🔑 凭据配置
57
-
58
- 在 DSH 凭据文件 (`~/.dsh/.credentials.yaml`) 中添加 ClinePass 密钥:
59
-
60
- ```yaml
61
- CLINEBOT_API_KEY: "your-clinepass-api-key"
62
- ```
63
-
64
- ---
65
-
66
- ## 📄 许可证
67
-
68
- MIT © [GooDAnDReaDY](https://github.com/GooDAnDReaDY)