DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Plugin Ima Sync — DSH Plugin for DeepSeek Harness
← Plugins

dsh-plugin-ima-sync

Plugin Ima Sync

DSH plugin: auto-upload conversation progress to Tencent IMA (daily note + Work knowledge base), mirroring the local Claude Code ima-upload workflow

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-ima-sync@0.8.3
READMECompatibilityVersions

Compatibility and provenance

Plugin Ima Sync is published as dsh-plugin-ima-sync and currently resolves to version 0.8.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/20/2026

Versions

0.8.3stable
8/27/2026
0.8.2stable
8/20/2026
0.8.1stable
8/20/2026
Show 38 more versionsCollapse versions
0.8.0stable
8/20/2026
0.7.9stable
8/20/2026
0.7.8stable
8/20/2026
0.7.7stable
8/20/2026
0.7.6stable
8/20/2026
0.7.5stable
8/20/2026
0.7.4stable
8/20/2026
0.7.3stable
8/20/2026
0.7.2stable
8/19/2026
0.7.1stable
8/19/2026
0.7.0stable
8/19/2026
0.6.7stable
8/19/2026
0.6.6stable
8/19/2026
0.6.5stable
8/19/2026
0.6.4stable
8/19/2026
0.6.3stable
8/19/2026
0.6.2stable
8/19/2026
0.6.1stable
8/19/2026
0.6.0stable
8/19/2026
0.5.1stable
8/19/2026
0.5.0stable
8/19/2026
0.4.9stable
8/19/2026
0.4.8stable
8/19/2026
0.4.7stable
8/18/2026
0.4.6stable
8/18/2026
0.4.5stable
8/18/2026
0.4.4stable
8/18/2026
0.4.3stable
8/18/2026
0.4.2stable
8/18/2026
0.4.1stable
8/18/2026
0.4.0stable
8/18/2026
0.3.7stable
8/18/2026
0.3.6stable
8/18/2026
0.3.5stable
8/18/2026
0.3.4stable
8/18/2026
0.3.3stable
8/18/2026
0.3.2stable
8/18/2026
0.3.1stable
8/18/2026

Related plugins

Loading related plugins…

Latest
0.8.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
63.2 kB
Files
7
Surface
web
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
122
Security scan
✓ v0.8.3 scan passed
Last push
8/27/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness: multi-agent team collaboration (captain, members, tasks with dependencies, messaging) driven by natural language, with a tree monitor in the web GUI

README

dsh-plugin-ima-sync

DSH(DeepSeek Harness)插件:把 DSH 的对话进度自动上传到腾讯 IMA(ima 笔记 + Work 知识库)。

灵感与行为对齐 Claude Code 的 ima 工作流:每轮对话结束自动生成一条进度记录,按天聚合到 [项目名] YYYY-MM-DD 笔记,可关联 IMA Work 知识库。

功能

触发时机行为
每轮对话结束(turn/end)生成该轮进度记录并上传:用户输入、工具调用统计、todo 任务进度、回复摘要
会话销毁(agent/disposed)生成整场会话总结并上传(轮次列表 + 每轮摘要)
手动 /ima-upload在 Web 输入框发送 /ima-upload 立即上传当前会话进度

只处理顶层会话(子代理会话不重复上报);上传全部 fire-and-forget、按会话串行排队,失败仅记日志,绝不影响对话。

工作原理

  • 监听 session/event(turn/start / user/message / tool/call / assistant/message / todo/write / turn/end)逐轮累积会话状态
  • 监听 agent/disposed 生成会话总结
  • 上传内容按天聚合到 IMA 每日笔记:# [项目名] YYYY-MM-DD,每轮一条 ### 轮次 #N
  • 上传通道:优先调用本机 ~/.local/bin/ima-upload 脚本(复用项目映射 ~/.config/ima/projects.json 与每日笔记缓存 ~/.cache/ima/daily-notes);脚本不存在时自动退化为直接调用 IMA OpenAPI(list_note → import_doc/append_doc → add_knowledge),行为一致

安装

# 从 GitHub 安装(独立仓库,已发布 npm)
dsh plugin --profile web add github:nan1010082085/dsh-plugin-ima-sync

# 或从 npm 安装
dsh plugin --profile web add dsh-plugin-ima-sync

dsh plugin 会自动把声明了 dsh.bundle 的包追加到 profile 的 dsh.profile.bundles,无需手动改清单。

配置你自己的 IMA 凭证

⚠️ 本插件不内置任何密钥。clientId / apiKey / workKbId 均为配置项,请填入你自己的腾讯 IMA OpenAPI 凭证(获取方式见 IMA 开放接口)。

凭证按以下优先级解析(四者任一即可):

  1. 手动配置覆盖(最高优先级):在配置中使用 manualOverride 字段,设置后将忽略环境变量和本地文件

  2. profile 补丁配置(~/.dsh/profiles/web/cordis.patch.yml):

# 方式1:直接配置(推荐简单使用)
- id: ima-sync
  config:
    enabled: true
    clientId: <your-ima-openapi-client-id>
    apiKey: <your-ima-openapi-api-key>
    workKbName: "我的知识库"   # 推荐:使用知识库名称(用户可见)
    # workKbId: <your-ima-work-knowledge-base-id>   # 或者使用知识库 ID
    # 项目级别的知识库映射(可选,支持名称或 ID)
    # projectKnowledgeBases:
    #   my-project: "项目知识库"   # 按名称
    #   another-project: <project-specific-kb-id>   # 按 ID
    # triggerOnTurnEnd: true
    # triggerOnSessionEnd: true
    # imaUploadBin: ''        # 默认 ~/.local/bin/ima-upload;留空且脚本不存在时走直接 API
    # projectsFile: ''        # 默认 ~/.config/ima/projects.json
    # cacheDir: ''            # 默认 ~/.cache/ima/daily-notes
    # defaultProject: ''      # cwd 未命中映射时的兜底项目名
    # maxPromptLength: 300
    # maxDetailLength: 20000
    # timeoutMs: 120000

# 方式2:使用手动配置覆盖(可覆盖环境变量和本地文件)
- id: ima-sync
  config:
    enabled: true
    manualOverride:
      clientId: <your-ima-openapi-client-id>
      apiKey: <your-ima-openapi-api-key>
      workKbName: "我的知识库"
  1. 环境变量:IMA_OPENAPI_CLIENTID / IMA_OPENAPI_APIKEY

  2. 本地文件(本机默认,与 Claude Code 的 ima MCP 共用):~/.config/ima/client_id 与 ~/.config/ima/api_key

也支持把 clientId / apiKey 用 !!js process.env.XXX 表达式注入(见 dsh loader 的 !!js 约定)。

可配置项

配置默认说明
enabledtrue总开关
triggerOnTurnEndtrue每轮结束上传进度
triggerOnSessionEndtrue会话销毁时上传总结
modeproject+date笔记模式:project+date(按项目+日期分笔记)或 daily(每日日报,所有项目合并)
clientId / apiKey空(读环境变量/本地文件)IMA OpenAPI 凭证
workKbName空IMA Work 知识库名称(推荐),自动查询对应 ID
workKbId空IMA Work 知识库 ID(备选),留空不关联知识库
projectKnowledgeBases空对象项目级别的知识库映射,key 为项目名,value 为知识库名称或 ID
manualOverride空对象手动配置覆盖,设置后优先使用,忽略环境变量和本地文件
imaUploadBin~/.local/bin/ima-upload本机上传脚本路径
projectsFile~/.config/ima/projects.json项目名映射文件
cacheDir~/.cache/ima/daily-notes每日笔记缓存目录
defaultProject目录名cwd 未命中映射时的兜底项目名
maxPromptLength300用户输入截断长度
maxDetailLength20000详情截断长度
timeoutMs120000脚本调用超时

开发

node --check lib/index.js   # 语法检查

License

MIT