Introduction¶
When working in the DSH (DeepSeek Harness) Web interface, the conclusions, records, and intermediate outputs generated during conversations remain in the conversation history. If you are also using Tencent IMA as a knowledge base, you have to manually move this content into IMA’s daily notes and knowledge bases. Doing this occasionally is fine, but doing it long-term is repetitive work.
Local Claude Code users have a ready-made solution for this: the ima-upload workflow. The dsh-plugin-ima-sync introduced below accomplishes moving this process to DSH Web, having the plugin automatically complete the upload.
What is this¶
dsh-plugin-ima-sync is a DSH plugin by nan1010082085 with an MIT license. One-sentence positioning: automatically upload DSH conversation progress to Tencent IMA (Daily Notes + Work Knowledge Base).
It comes from packages/ima-sync in the author’s dsh-plugins monorepo. This monorepo also contains two other plugins: chat-sync (syncing local Claude Code / Codex CLI / Cursor Agent conversations into the DSH Web GUI) and mcp-sync (scanning local MCP configurations and registering tools). Each package is published independently, and after publishing, they are synced to the standalone repository nan1010082085/dsh-plugin-ima-sync via scripts.
DSH’s philosophy is “Everything is a plugin”; plugins are installed into a profile via the dsh plugin command. The profile corresponding to this plugin is web.
Core Features¶
Three verified capabilities are confirmed:
- Automatically upload DSH conversation progress to Tencent IMA, targeting Daily Notes and Work Knowledge Base.
- Mirror the local Claude Code
ima-uploadworkflow, i.e., “mirroring the local Claude Code ima-upload workflow” in thepackage.jsondescription. - Targeted at the DSH Web platform: the
dsh.client.platformfield inpackage.jsonisweb.
At the implementation level, a few points can be confirmed:
- Entry point is
lib/index.js,typeis module, and it also exports./lib/client.js. - Provides bundle patch via
cordis.patch.yml(dsh.bundle.patch). - Injects three packages into the client:
@deepseek-ai/dsh-client-runtime,@deepseek-ai/dsh-client-locale,@deepseek-ai/dsh-client-ui-settings. - Runtime dependency is only
@deepseek-ai/schemastery(^3.18.0).
Installation¶
All three installation methods use the dsh plugin command and install into the web profile. The README recommends the GitHub method because the plugin has a standalone repository and versions sync with releases:
# GitHub installation (recommended, standalone repo, version sync)
dsh plugin --profile web add github:nan1010082085/dsh-plugin-ima-sync
If you are used to getting packages from npm, install directly using the package name:
# npm installation
dsh plugin --profile web add dsh-plugin-ima-sync
To modify source code for debugging, use local link installation; changes take effect after restarting dsh web:
# Local link installation (changes take effect after restarting dsh web)
dsh plugin --profile web add link:$(pwd)/packages/ima-sync
The third command comes from the dsh-plugins monorepo’s README, provided you are currently in the repository directory, where $(pwd) expands to point to packages/ima-sync.
Version and Release¶
There is an inconsistency that needs to be explained: in the package table of the README, the ima-sync version is 0.8.2, but in package.json it is 0.8.3; the actual current version cannot be confirmed. The actual version shown on npm or the repository page takes precedence during installation.
For those wishing to participate in development, the flow provided in the README is:
# Syntax check
node --check packages/ima-sync/lib/*.js
# Publish (independent version for each package)
cd packages/ima-sync && npm publish
# Sync to standalone GitHub repo (must be executed after publishing)
./scripts/sync-repos.sh ima-sync
Perform syntax check first, then enter the package directory and run npm publish; after publishing, sync-repos.sh must be executed to sync the code to the standalone GitHub repository.
Applicable Scenarios and Notes¶
Suitable for: people working on DSH Web while using Tencent IMA as a knowledge base; and users who want to extend the local Claude Code ima-upload workflow to DSH.
A few points to note before using:
- The plugin runs with the permissions of the current
dshprocess. Before installing any third-party plugin, it is recommended to read the source code on the GitHub repository to confirm the behavior meets expectations before deciding whether to install. - The license is MIT (consistent across the README badge, README footer, and
package.json). The source code can be freely viewed and modified, but a license does not equal a security audit. - This plugin targets the web platform (
dsh.client.platformisweb); information regarding other platforms is not mentioned in the documentation. - Regarding the version number inconsistency mentioned earlier, pay attention to the actual version during installation.
Summary¶
dsh-plugin-ima-sync solves a very specific problem: it prevents DSH Web conversation progress from staying only in the conversation history and automatically moves it into Tencent IMA’s Daily Notes and Work Knowledge Base. If you use both tools simultaneously, you can install and try it after reading the source code.
- GitHub Repository: https://github.com/nan1010082085/dsh-plugin-ima-sync
- Community Directory Page: https://www.skillhub.cn/plugins/nan1010082085/dsh-plugin-ima-sync (skillhub.cn is a plugin directory maintained by the community and has no official affiliation with DeepSeek or Fanghuang)