dshbase

Plugin directory / Developer / dsh-ccswitch-import-lite

dsh-ccswitch-import-lite

Verified · install-tested on dsh chenhaolove89

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

2Stars
0Forks
0Open issues
JavaScriptLanguage
2026-08-15Last push
Cross-platformPlatform

What it does

DeepSeek Harness plugin (lite version): batch import model providers from CCSWITCH, without visual descriptions

✅
Our take
Works — verified, early-stage project

DeepSeek Harness plugin (lite version): batch import model providers from CCSWITCH, without visual descriptions It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

ccswitch-import-lite —— CCSwitch 导入(精简版)

DeepSeek Harness 动态插件:从 CCSWITCH(~/.cc-switch/cc-switch.db)读取已保存的模型供应商,批量导入为 DSH 的模型供应商(写入 llm-pi-ai 设置与凭据),导入后立即可在模型选择器中使用。

本插件为精简版:只包含导入功能,不含 visual_describe 视觉描述工具。完整版见 dsh-ccswitch-import。

功能

能力 说明
ccswitch_list(AI 工具) 列出 CCSWITCH 供应商:id、名称、类型、地址、模型数、是否可导入
ccswitch_import(AI 工具) 按 id 批量导入供应商(claude / codex / gemini 三种类型)
设置页「CCSwitch 导入」 GUI 多选导入界面(settings.section 插槽)

移植到另一个 DSH 实例

把本仓库地址发给目标环境的 AI,AI 按以下步骤重建:

  1. 读 cordis.yml + host.js / client.js,用 cordis_inspect_list / cordis_inspect_query 核对目标环境的 Service / Builtin / Slot 接口;
  2. cordis_define(kind: new,idPrefix 建议 ccsw)传入 code.host / code.client;
  3. cordis_run 激活;Client 半首次运行需在 GUI 授权一次;
  4. 失败时用 cordis_inspect_self 读诊断后修包重试。

说明

  • Host 半通过 subprocess 以只读方式打开 cc-switch 的 SQLite 数据库(node:sqlite),不改写任何 CCSWITCH 数据;
  • 导入写入 DSH 的 settings(llm-pi-ai providers)与 credentials(CCSWITCH_*_KEY);
  • 依赖的 Host 服务仅 subprocess / settings / credentials / tools,无视觉模型依赖。

License

MIT © 2026 chenhaolove89

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-ccswitch-import-lite for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:chenhaolove89/dsh-ccswitch-import-lite

Headless (CLI) profile:

dsh plugin --profile headless add github:chenhaolove89/dsh-ccswitch-import-lite

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

When to use it

Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.

Who it's for

Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.

For developers — extending it

The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7797 plugins →