chenhaolove89/dsh-ccswitch-import-lite
DeepSeek Harness 动态插件:从 CCSWITCH(/.cc-switch/cc-switch.db)读取已保存的模型供应商,批量导入为 DSH 的模型供应商(写入 llm-pi-ai 设置与凭据),导入后立即可在模型选择器中使用。
catalog 简介 / catalog descriptioncatalog description:DeepSeek Harness 插件(精简版):从 CCSWITCH 批量导入模型供应商,不含视觉描述
项目介绍Project Overview
DSH 动态插件 ccswitch-import-lite,从 CCSWITCH 的 SQLite 数据库(~/.cc-switch/cc-switch.db)读取已保存的 claude、codex、gemini 供应商,批量导入为 DSH 模型供应商并写入凭据。提供 ccswitch_list、ccswitch_import 两个 AI 工具与设置页多选界面,导入后立即可在模型选择器中使用。精简版不含视觉描述工具。Host 端以只读方式访问 cc-switch 数据库,不修改任何 CCSWITCH 原数据。
DSH dynamic plugin ccswitch-import-lite reads saved claude, codex, and gemini providers from the CCSWITCH SQLite database at ~/.cc-switch/cc-switch.db and batch imports them as DSH model providers with credentials. It exposes two AI tools, ccswitch_list and ccswitch_import, plus a multi-select GUI in the settings page; imported providers become available in the model selector immediately. This lite edition excludes the visual_describe tool. The Host accesses the cc-switch database in read-only mode and never modifies any CCSWITCH data.
请帮我了解并安装插件:【dsh-ccswitch-import-lite】【https://github.com/chenhaolove89/dsh-ccswitch-import-lite】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:chenhaolove89/dsh-ccswitch-import-lite
把 chenhaolove89/dsh-ccswitch-import-lite 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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 按以下步骤重建:
- 读
cordis.yml+host.js/client.js,用cordis_inspect_list/cordis_inspect_query核对目标环境的 Service / Builtin / Slot 接口; cordis_define(kind: new,idPrefix 建议ccsw)传入code.host/code.client;cordis_run激活;Client 半首次运行需在 GUI 授权一次;- 失败时用
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
nexu-io/open-design
Devin-AXIS/iPolloWork
liustack/modlens
ysr666/dsh-vision-router
Anionex/dsh-vision-toolkit
fufankeji/deepseek-harness-studio
Lum1104/dsh-browser
ZSeven-W/dsh-ios