dsh-ima-kb-panel
ima 知识库侧边栏面板与对话读取工具(DeepSeek Harness 插件)
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:how8088/dsh-ima-kb-panelドキュメント
README 全文を読む ↗5.3 在 DSH 里改配置(不用碰代码)
设置 → 插件 → ima 知识库面板,或直接改 profile 的 cordis.patch.yml:
- id: ima-kb-panel
name: 'dsh-ima-kb-panel'
config:
credentialsDir: 'D:/ima-creds' # 凭证目录换地方
titleFilter: '雪球,宏观' # 只纳入标题含这些词的笔记
maxNotes: 200
contentTtlMinutes: 360
| 配置项 | 默认 | 作用 |
|---|---|---|
credentialsDir | 空(= ~/.config/ima) | 凭证目录 |
baseUrl | https://ima.qq.com | 接口根地址,一般不用改 |
clientIdEnv | IMA_CLIENT_ID | client_id 读哪个环境变量 |
apiKeyEnv | IMA_API_KEY | api_key 读哪个环境变量 |
maxNotes | 500 | 最多收录多少篇(1–500,插件自动翻页) |
contentTtlMinutes | 10080 | 磁盘正文最长保留期(分钟);是否重取看 modify_time |
cacheDir | 空(= ~/.dsh/cache/ima-kb-panel) | 正文缓存目录,填 - 表示不落盘 |
titleFilter | 空 | 只看标题含这些词的笔记,逗号分隔 |
skillsDir | 空(= ~/.dsh/skills) | 随包技能安装到哪 |
autoInstallSkills | on | 启动时自动装随包技能(已存在跳过);填 off 关闭 |
autoWarm | off | 是否自动把全部笔记正文拉到本地。默认 off:只有你手动点「⋯ → 缓存全部正文」才取;填 on 恢复启动/检索时后台自动预热 |