Introduction¶
One common issue when building agents in DSH is that while sessions can handle logs, personas, and product profiles, without a unified entry point, this content remains scattered in local text files, requiring retrieval and reuse to go back to external tools.
dsh-plugin-jinji is a DeepSeek Harness (DSH) plugin. It adds a “Memory” entry to the left sidebar of the web interface, allowing logs and personas/product profiles to be browsed directly within DSH. The plugin is positioned as a minimalist text memory system; it requires no other software installation, no compilation, and has no third-party dependencies.
What is it¶
dsh-plugin-jinji provides dual-track memory: one track is stream logs, and the other is entity profiles for personas or products. Organization and maintenance are driven by a Large Language Model (LLM). The repository is located at https://github.com/quan2005/dsh-plugin-jinji, the license is MIT, and the author in package.json is written as dsh-plugin-jinji Contributors.
Core Features¶
The confirmed functions are explained below along the usage path.
Entry and Browsing¶
- A “Memory” button is added to the left sidebar.
- The Logs page is grouped by month, displaying a card waterfall layout.
- The Profiles page is grouped by “Self / Product / Team”.
- The detail view can display formatted body text or raw text, and shows a list of logs for the current month.
Retrieval and Action¶
- Supports instant search and filtering of logs and profiles by title, summary, and tags.
- Supports keyboard operations:
↑/↓for highlighting,Enterto open, andEscto exit hierarchically.
Session and Writing¶
- Recent logs and summaries of all profiles are automatically injected when a new session starts.
- If you need to disable startup injection, you can set:
config.startupContext: false
- Optionally, you can one-click install the “Jinji Secretary” Agent preset to actively write memory.
Configuration and Performance¶
- There is a “Jinji Memory” card in “Settings -> Plugin Configuration” where you can visually adjust the number of logs/profiles and the summary limit.
- Uses index file fingerprint caching and progressive rendering to ensure smooth browsing of large libraries.
- Follows the official dark theme; automatically switches to a single column on narrow screens (≤960px).
- Content is escaped and path-validated; it is read-only and does not modify data.
Installation and Enablement¶
First, ensure your environment meets Node >=20.
Install using the plugin command:
dsh plugin --profile web add github:quan2005/dsh-plugin-jinji
Then restart dsh web.
You can also install using npm:
npm install dsh-plugin-jinji
Then mount this plugin in the cordis.yml of that profile as an npm package.
The plugin’s order for finding the log library is as follows:
rootin the configuration file- Environment variable
DSH_JINJI_ROOT - The directory where
dshis started
Typical Usage¶
After the above installation, you can first click “Memory” in the left sidebar to view logs and profiles.
During daily use, you can first perform a search and then use the keyboard to locate:
- Use the search box to filter by title, summary, or tags.
- Use
↑/↓to highlight entries. - Use
Enterto open details. - Use
Escto exit hierarchically.
When you need to adjust the context injection scope, adjust the number of logs/profiles and the byte limit of summaries in the “Jinji Memory” card under “Settings -> Plugin Configuration -> Jinji Memory”. The configuration is saved in .jinji-memory.json in the memory root directory; no restart is required, and new sessions take effect. Two DSH sessions saving configurations in parallel will not overwrite each other.
If you want a specific session to actively write memory, you can one-click install the “Jinji Secretary” Agent preset in the “Jinji Memory” card, and then select that preset when creating a new session.
For development verification, you can use:
npm run check
to check code syntax.
npm run smoke
to run a self-check in a simulated environment.
npm run pack
to preview which files will be included in the release package.
Applicable Scenarios and Notes¶
Suitable for users who need to browse logs and profiles in DSH and reuse these summaries in new sessions. It places the “Memory” entry directly within the DSH web interface, reducing the need to switch tools repeatedly outside of DSH.
Note before use: The plugin runs with the permissions of the current dsh process. It is recommended to check the source code and the MIT license before installation to ensure they meet your local security requirements. The plugin is declared as read-only and does not modify data; all content is escaped and path-validated. If the log library or profile content originates from sensitive data, you should still handle it in accordance with local data compliance requirements.
References¶
- GitHub:
https://github.com/quan2005/dsh-plugin-jinji - Community Directory Page (Plugin clue, not an official app store; this information has not been independently verified):
https://www.skillhub.cn/plugins/quan2005/dsh-plugin-jinji