ikevss/dsh-ima ↗★ 0

dsh-ima

腾讯 ima 知识库接入 DeepSeek Harness:侧边栏浏览知识库与文件,并让 agent 自动检索、调用库内文件 适合需要让AI直接检索和利用腾讯ima知识库中文件的用户。

패키지
dsh-ima
호환성
미검증
버전
1.7.2
라이선스
MIT
최근 업데이트
2026. 10. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ikevss/dsh-ima

方式二:手动安装(改 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。