DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@goodandready/dsh-clinebot

Clinebot

ClineBot / ClinePass 的 DeepSeek Harness 配套工具:动态同步订阅模型、配额耗尽警告、会话指标、专用设置页面、实时使用限制,以及 /cline 斜杠命令。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:GooDAnDReaDY/dsh-clinebot#d2ce84570df818cb3e6a01ee10ffe38c6266850d
README兼容性版本

兼容性与来源证明

Clinebot 以 @goodandready/dsh-clinebot 发布,当前版本为 0.6.24。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/11/4

版本

0.6.24stable
2026/11/2
0.6.23stable
2026/10/30
0.6.22stable
2026/10/30
查看其余 92 个版本收起版本
0.6.21stable
2026/10/29
0.6.20stable
2026/10/29
0.6.19stable
2026/10/29
0.6.18stable
2026/10/29
0.6.17stable
2026/10/28
0.6.16stable
2026/10/26
0.6.15stable
2026/10/22
0.6.14stable
2026/10/21
0.6.13stable
2026/10/21
0.6.12stable
2026/10/21
0.6.11stable
2026/10/21
0.6.10stable
2026/10/21
0.6.9stable
2026/10/21
0.6.8stable
2026/10/21
0.6.7stable
2026/10/21
0.6.6stable
2026/10/21
0.6.5stable
2026/10/21
0.6.4stable
2026/10/21

相关插件

正在加载相关插件…

最新版
0.6.24
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 8
周下载
2,026
最近提交
2026/11/2
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
0.6.3stable
2026/10/21
0.6.2stable
2026/10/21
0.6.1stable
2026/10/21
0.6.0stable
2026/10/20
0.5.33stable
2026/10/19
0.5.32stable
2026/10/19
0.5.31stable
2026/10/18
0.5.30stable
2026/10/18
0.5.29stable
2026/10/17
0.5.28stable
2026/10/17
0.5.27stable
2026/10/17
0.5.26stable
2026/10/17
0.5.25stable
2026/10/16
0.5.24stable
2026/10/13
0.5.23stable
2026/10/13
0.5.22stable
2026/10/13
0.5.21stable
2026/10/12
0.5.20stable
2026/10/11
0.5.19stable
2026/10/6
0.5.18stable
2026/10/6
0.5.17stable
2026/10/4
0.5.16stable
2026/10/4
0.5.15stable
2026/10/2
0.5.13stable
2026/10/2
0.5.12stable
2026/10/2
0.5.11stable
2026/10/1
0.5.10stable
2026/10/1
0.5.9stable
2026/9/30
0.5.8stable
2026/9/30
0.5.7stable
2026/9/30
0.5.6stable
2026/9/30
0.5.5stable
2026/9/29
0.5.4stable
2026/9/28
0.5.3stable
2026/9/28
0.5.2stable
2026/9/28
0.5.1stable
2026/9/28
0.5.0stable
2026/9/27
0.4.8stable
2026/9/27
0.4.7stable
2026/9/27
0.4.6stable
2026/9/25
0.4.5stable
2026/9/25
0.4.4stable
2026/9/25
0.4.3stable
2026/9/24
0.4.2stable
2026/9/24
0.4.1stable
2026/9/24
0.4.0stable
2026/9/24
0.3.25stable
2026/9/24
0.3.24stable
2026/9/24
0.3.23stable
2026/9/24
0.3.22stable
2026/9/24
0.3.21stable
2026/9/23
0.3.20stable
2026/9/23
0.3.19stable
2026/9/22
0.3.18stable
2026/9/22
0.3.17stable
2026/9/21
0.3.16stable
2026/9/20
0.3.15stable
2026/9/19
0.3.14stable
2026/9/19
0.3.13stable
2026/9/19
0.3.12stable
2026/9/16
0.3.11stable
2026/9/16
0.3.10stable
2026/9/16
0.3.9stable
2026/9/15
0.3.8stable
2026/9/12
0.3.7stable
2026/9/10
0.3.6stable
2026/9/9
0.3.5stable
2026/9/9
0.3.4stable
2026/9/8
0.3.3stable
2026/9/8
0.3.2stable
2026/9/8
0.3.1stable
2026/9/7
0.3.0stable
2026/9/5
0.2.1stable
2026/9/5
0.2.0stable
2026/9/5

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Experimental Cot Translation Bundle@deepseek-ai/dsh-experimental-cot-translation-bundle扩展推理的实验性机器翻译Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Our Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — 在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型,桌面端另有 EAC 协付渠道;2.0 起接入 LobsterAI、Qoder、TRAE、Cline、Loomy、Raccoon、MiniMax、ZCode、Gemini 十个账号渠道(原有匿名免费通道保留)(登录、账号池、积分领取、本地 OpenAI 网关与局域网转发、数据看板与运行日志),六页毛玻璃界面统一呈现。Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片

README

📦 @goodandready/dsh-clinebot

Native ClineBot / ClinePass Provider Companion for DeepSeek Harness

0.6.24 hardens the source gate, updater environment, symlink-safe data paths and prototype-safe telemetry. It keeps automatic model/free/dated catalog backfill, DSH 0.2.1-rc.4, model-scoped credit cooldowns and 402/413 errors. Chat runs on the native ctx.llm adapter; the legacy llm-pi-ai, loopback proxy and llm/stream path are removed.

🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明

⭐ If you like this plugin, please star it on GitHub — it shows me that the plugin is useful to you and motivates me to keep developing it.

🐛 If you find a bug or would like to request a feature, open a GitHub issue in any language — I will review your proposal and implement useful suggestions in a future plugin version.

⚡ Overview & The Problem

ClinePass (https://cline.bot) is a subscription service providing developers with 2–5x higher rate limits across premier open-weights coding and reasoning models through a single OpenAI-compatible endpoint (https://api.cline.bot/api/v1).

Integrating ClinePass into DeepSeek Harness (DSH) natively poses key challenges:

  1. No /v1/models Discovery: GET /v1/models on api.cline.bot returns 404 Not Found. Dynamic discovery fails silently or leaves the provider with 0 models.
  2. Model Identifier Formats: Models require the specific prefix cline-pass/ (e.g. cline-pass/deepseek-v4.1-flash, cline-pass/kimi-k3).
  3. Quota Tracking: Rolling 5-hour and weekly limits need clear in-browser visualization.
  4. Credential Security: Storing API keys directly in plain settings is insecure.

@goodandready/dsh-clinebot provides a complete solution:

  • 🚀 One-Click In-App Updater: Upgrade @goodandready/dsh-clinebot directly from the DSH UI or trigger secure loopback updates via /dsh-clinebot/update.
  • ⚡ SWR Quota & Health Caching: Instantaneous response time (<2ms) on status queries with background revalidation.
  • 🔀 Smart Quota-Aware Failover: Automatic multi-account rotation on stream HTTP 429 and exhausted quota (with 30s storm protection; current request is not retried, subsequent chat requests use the next available account).
  • 🖥️ Plugin configuration page: Open the installed ClineBot plugin and choose configure. The page shows the credential name, models, quota, and accounts. It is not a separate sidebar section.
  • 🔄 Dynamic Subscription Model Sync: Automatically pulls real models included in your ClinePass plan directly from GET /api/v1/users/me/plan with one-click DSH provider sync. Only actual plan models are registered in DSH, while the built-in catalog serves as a rich properties reference and fallback when unsynced.
  • ⚠️ Quota Exhaustion Alerts: Real-time visual warning banners when 5-hour rolling limit reaches 80% (warning) and 95% (exhausted), complete with countdown to reset.
  • 📈 Session Metrics Telemetry: Live dashboard tracking real in-flight DSH chat requests through the ClineBot provider, prompt and completion tokens, stream latency, and error counts since process startup.
  • 📊 Live Quota Dashboard: Visual progress bars for 5-hour rolling limits and weekly windows from the official GET /users/me/plan/usage-limits API.
  • 🔑 In-UI Key Storage: Paste your API key directly in the UI; it is saved securely via ctx.credentials.set() into ~/.dsh/.credentials.yaml.
  • 🎯 Model Picker Management: Granular checkboxes to choose which models appear in the chat picker.
  • 💬 Slash-Command /cline: Check quota, limits, warnings, session metrics, latency, and active model directly from the DSH chat console.

🏛️ Architecture

graph LR
    subgraph UI [DSH Web Interface]
        Settings["Settings -> ClineBot"]
        Dashboard["Quota / Analytics panel"]
        Composer["Composer cost read-out"]
        Picker["Model picker"]
    end

    subgraph PluginHost [dsh-clinebot Runtime]
        Routes["HTTP: /dsh-clinebot/*"]
        Adapter["lib/adapter.js (ctx.llm LlmAdapter)"]
        Transport["lib/transport/cline-transport.js"]
        Pool["account-pool + session-router"]
        Stats["stats-storage v2 + model-prices"]
        TUI["dsh-TUI settings section"]
    end

    subgraph DSHCore [DeepSeek Harness 0.2.1-rc.2+]
        Llm["ctx.llm"]
        Credentials["ctx.credentials"]
        Web["ctx.web / settings / commands"]
    end

    subgraph Upstream [ClinePass]
        Chat["api.cline.bot/api/v1/chat/completions"]
        Quota["users/me/plan/usage-limits"]
        Plan["users/me/plan"]
    end

    Settings --> Routes
    Dashboard --> Routes
    Composer --> Routes
    Picker --> Llm
    Llm --> Adapter
    Adapter --> Pool
    Adapter --> Transport
    Transport --> Chat
    Adapter --> Stats
    Routes --> Stats
    Routes --> Credentials
    TUI --> Routes
    Adapter --> Quota
    Adapter --> Plan

✨ Features & Module Breakdown

  • lib/adapter.js: Registers the ClineBotAdapter directly on ctx.llm: streaming, model catalogue, reasoning effort, pre-first-token account failover, retry policy, usage accounting and provider metadata.
  • lib/transport/cline-transport.js: OpenAI-compatible SSE transport with connect/idle timeouts, abort handling and upstream error classification.
  • lib/models.js: Dynamic subscription catalogue, curated fallback properties, reasoning efforts, custom models and plan parsing (parsePlanIncludedModels, getAllModels, getDynamicModels).
  • lib/model-prices.js: Explicit local cost estimates with per-model overrides. Unknown models stay unpriced instead of being reported as $0. When a newly discovered model has no price, the optional priceAutoSync setting fetches the public models.dev catalog (at most once per missing set every 6 hours); turn it off in the price card or set priceAutoSync: false while keeping the manual Sync button.
  • lib/multimodal-budget.js: Offloads images from earlier turns into stable text placeholders and enforces maxPayloadMb, reducing prompt-cache churn and oversized ClinePass requests. offloadedImages is included in session telemetry.
  • Model tools in Settings → ClineBot → Models: The per-model Ping button calls POST /models/probe and shows TTFT; Apply visibility calls POST /models/visible after choosing the visible models and plan-only filter.
  • lib/stats-storage.js: Persistent JSON telemetry v2: cache buckets, estimated cost, TTFT/latency, sessions and day/month/model/account aggregates. v1 files upgrade on read.
  • lib/account-pool.js / lib/session-router.js: Credential discovery, usage-aware least-used and round-robin rotation, sticky sessions and cooldown recovery.
  • lib/cline-client.js: fetchUsageLimits, credential save, smoke test and the model catalogue cache.
  • lib/index.js: Cordis lifecycle: adapter registration, optional HTTP routes, quota warnings, /cline command, one-time cleanup of the old provider entry and TUI section registration.
  • lib/tui-settings.js: dsh-TUI section for key, base URL, model filters, active account, context window and output cap.

📦 Installation

dsh plugin --profile web add @goodandready/dsh-clinebot

Requires DSH 0.2.1-rc.2 or newer in the 0.2.1 line and Node 22+. ClineBot registers directly with ctx.llm; there is no transport switch or loopback proxy.

Restart your DeepSeek Harness instance and refresh the browser.

0.6.0 endpoints

EndpointPurpose
GET /dsh-clinebot/analytics?groupBy=model|day|session&from=&to=Aggregated requests, tokens, estimated cost, success rate and TTFT
GET /dsh-clinebot/pricesLocal price table used by the composer read-out
GET /dsh-clinebot/accounts/usagePer-account quota snapshot
GET /dsh-clinebot/stats/export?detailed=1CSV with cache, cost, TTFT and latency columns

💬 Slash-Command /cline

From any DSH chat session, type /cline to inspect quota, warning alerts, and session telemetry:

### 🤖 ClinePass Status (ClinePass)
* Latency: ✅ 210 ms
* Active Key: CLINEBOT_API_KEY (credentials)
* Default Model: `cline-pass/deepseek-v4.1-flash`

⏱ 5-Hour Window: [████░░░░░░] 42% (resets: 18:00)
📅 Weekly Window: [██████░░░░] 60% (resets: Sep 8)
* Account: `developer@example.com`

📈 Session Metrics:
* Requests: 14 calls
* Tokens: ~8,450 (Prompt: 6,100 | Completion: 2,350)
* Last Latency: 210 ms

⚙️ Configuration Reference (DSH Settings & Web UI)

In modern DeepSeek Harness (0.1.7+), settings are managed natively via the DSH Web UI Settings card or PUT /dsh-clinebot/config, with API keys persisted securely in DSH Credentials storage (~/.dsh/.credentials.yaml).

dsh-clinebot:
  enabled: true
  baseUrl: https://api.cline.bot/api/v1
  apiKeyEnv: CLINEBOT_API_KEY
  defaultModel: your-default-model
  disabledModels: []
  customModels: []
  modelReasoningDefaults:
    your-reasoning-model: high
  modelContextOverrides: []
  statsPath: ~/.dsh/clinebot-stats.json
  priceCatalogUrl: https://models.dev/api.json
  priceCatalogPath: ~/.dsh/clinebot-prices.json
  priceAutoSync: true
  eventLogPath: ~/.dsh/clinebot-events.json
  statsRetentionDays: 95
  dailyBudgetUsd: 0
  monthlyBudgetUsd: 0
  timeoutMs: 30000
  smokeTimeoutMs: 60000
  streamIdleTimeoutMs: 60000
  accounts:
    - label: Team Key
      apiKeyEnv: CLINEBOT_API_KEY_2

Configuration Parameters

ParameterTypeDefaultDescription
enabledbooleantrueEnable or disable the ClineBot provider bridge in DSH
baseUrlstring"https://api.cline.bot/api/v1"ClinePass OpenAI-compatible base URL
apiKeyEnvstring"CLINEBOT_API_KEY"Environment variable / credentials key name
defaultModelstring"cline-pass/deepseek-v4.1-flash"Default selected model ID for chat and smoke tests
disabledModelsarray[]List of model IDs hidden from the DSH chat picker (new subscription models are auto-enabled)
customModelsarray[]User-defined gateway models ([{ id, name, contextLength, maxTokens, category, isReasoning }])
modelReasoningDefaultsobject{}Configured default reasoning effort per model (low, medium, high, max)
modelContextOverridesarray[]User-defined model context length and max token overrides
statsPathstring"~/.dsh/clinebot-stats.json"

🌐 HTTP API Endpoints

All endpoints are registered under /dsh-clinebot/* and protected against untrusted cross-site origins (same-origin and loopback allowed). Control endpoints enforce a 256 KiB request payload limit:

Management & Control Endpoints (Max 256 KiB)

  • GET /dsh-clinebot/status — Live status report including provider health, active credential, quota, and session metrics.
  • GET /dsh-clinebot/config — Diagnostic endpoint returning public configuration without secret keys.
  • PUT /dsh-clinebot/config — Update configuration fields. Accepts only known schema properties (unknown fields or deprecated enabledModels return 400 Bad Request).
  • POST /dsh-clinebot/key/verify — Validates a candidate API key against api.cline.bot and returns account email and plan name.
  • POST /dsh-clinebot/save-key — Saves a key into DSH credentials service under a valid CLINEBOT_API_KEY* name.
  • POST /dsh-clinebot/models/sync — Synchronizes models with your active subscription plan.
  • POST /dsh-clinebot/models/toggle — Toggles models via disabledModels (atomic Volatile preservation).
  • POST /dsh-clinebot/models/custom / DELETE /dsh-clinebot/models/custom — Manage custom user-defined models.
  • POST /dsh-clinebot/models/context / DELETE /dsh-clinebot/models/context — Manage model context length overrides.
  • POST /dsh-clinebot/accounts — Add account to the multi-account pool.
  • POST /dsh-clinebot/accounts/delete — Delete account from the pool with atomic credential preservation.
  • POST /dsh-clinebot/accounts/active — Switch or pin active account (or empty for auto least-used routing).
  • POST /dsh-clinebot/stats/reset — Reset session request and token statistics.
  • POST /dsh-clinebot/smoke — Runs a live latency test ping.
  • GET /dsh-clinebot/update/status — Query available GitHub releases and plugin updates.
  • POST /dsh-clinebot/update/apply — Apply version upgrade with process-group cleanup and lockfile sync.

Visual verification

Settings card in DeepSeek Harness, Dark and Light themes side by side:

dsh-clinebot visual verification


🧪 Testing

Run the automated test suite:

npm test

📄 License

MIT © GooDAnDReaDY

  • lib/client.js: Native settings.section plus provider card, sidebar meter, center-column quota/analytics panel (modal fallback) and composer cost read-out. No emojis, no full-page panel swap.
  • Persistent on-disk path for token usage analytics
    priceCatalogUrlstring"https://models.dev/api.json"Public price catalog used by the optional sync
    priceCatalogPathstring"~/.dsh/clinebot-prices.json"Local cache for the public price catalog
    priceAutoSyncbooleantrueFetch models.dev for newly discovered models without a price; the manual Sync button remains available when off
    eventLogPathstring"~/.dsh/clinebot-events.json"Ring buffer for account cooldown/recovery/routing history
    statsRetentionDaysnumber95Retention for day/hour/session telemetry; 0 keeps everything
    dailyBudgetUsdnumber0Optional estimated daily spend guard; 0 disables it
    monthlyBudgetUsdnumber0Optional estimated monthly spend guard; 0 disables it
    accountsarray[]Additional accounts for multi-account failover and quota rotation ([{ label, apiKeyEnv }])
    activeAccountstring""Manually pinned active account env name (empty for least-used auto routing)
    timeoutMsnumber15000HTTP probe timeout in milliseconds
    smokeTimeoutMsnumber25000Timeout for smoke test chat completions in milliseconds
    streamIdleTimeoutMsnumber30000Idle timeout between SSE stream chunks in milliseconds
    enabledModelsarray(deprecated)Read-only in public config; rejected on PUT /config in favor of disabledModels
    dynamicModelsarray[]Dynamic models automatically synced from the official plan