dsh-ima
接入腾讯ima知识库,支持侧边栏浏览与Agent自动检索 适合需要让AI直接检索和利用腾讯ima知识库中文件的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ikevss/dsh-ima說明文件
閱讀完整 README ↗方式二:手动安装(改 profile 配置)
适合想改代码、或者网络环境装不了包的情况。
1. clone 到插件目录
git clone https://github.com/ikevss/dsh-ima.git ~/.dsh/plugins/dsh-ima
2. ~/.dsh/profiles/web/package.json —— 加依赖和 bundle:
{
"dependencies": {
"dsh-ima": "file:../../plugins/dsh-ima" // ← 新增
},
"dsh": {
"profile": {
"bundles": [
// ...原有内容...
"dsh-ima" // ← 新增
]
}
}
}
3. ~/.dsh/profiles/web/cordis.patch.yml —— 文件末尾加一段:
- insert:
- id: dsh-ima
name: dsh-ima
4. 把插件文件拷进 profile 的 node_modules(不要用 pnpm add,容易搞坏 profile 的依赖解析):
mkdir -p ~/.dsh/profiles/web/node_modules/dsh-ima
cp ~/.dsh/plugins/dsh-ima/{package.json,cordis.patch.yml} ~/.dsh/profiles/web/node_modules/dsh-ima/
cp ~/.dsh/plugins/dsh-ima/lib/*.js ~/.dsh/profiles/web/node_modules/dsh-ima/lib/
5. 重启 DSH。