Preface¶
DeepSeek Harness (DSH) adopts a design philosophy of “everything is a plugin.” When using a local OpenViking server for agent memory management, developers often need to switch windows to operate the Studio or check submission statuses. The dsh-openviking-enhance plugin aims to resolve this fragmentation. It integrates OpenViking’s Studio panel, session submission status monitoring, and memory retrieval capabilities directly into the DSH Web GUI, thereby reducing context switching costs.
Introduction¶
This plugin is maintained by A2chitect. It is a client-side plugin primarily providing a read-only view of OpenViking. The plugin itself does not submit data, write, or delete anything on the OpenViking server; it is strictly for displaying server status and retrieval results.
Core Features¶
OpenViking Studio Panel¶
A new OpenViking Studio panel entry is added at the bottom of the DSH left sidebar. Clicking this entry opens the OpenViking server’s Studio interface within the main DSH area. Developers can directly browse memories, sessions, and retrieval results without switching browser tabs.
Session Submission Status Pill¶
A pill displaying the current session’s submission status appears below the message box. Statuses include:
* OV · not committed: Not committed
* OV · 12.3k/20k: Accumulating
* OV · extracting…: Extracting
* OV · 3 commits: Committed
* OV · extraction failed: Extraction failed
* OV · unavailable: Unavailable (cannot connect to server)
Clicking the pill reveals a timeline of the last 3 submissions, along with the specific changes made to memories (added, updated, or deleted) during each submission. It also allows viewing full memory paths or failure reasons.
Memory recall Right Sidebar¶
A new “Memory recall” tab is added to the DSH right sidebar. This tab displays retrieval results for the current session, including:
* Retrieval query (latest message of the current session or manual input)
* Retrieval source (memories, resources, skills)
* Match score (color-coded: red, orange, green)
* Filename, type (entity, event, etc.), and summary
* viking:// path (shown on hover)
Installation and Configuration¶
Installation¶
You can install it via the command line or through the DSH Plugins page.
dsh plugin --profile desktop add dsh-openviking-enhance
Configuration¶
The plugin provides reasonable default values, so no additional configuration is usually required for standard local deployments. If modifications are needed, select the plugin on the DSH Plugins page and click Configure, or edit the configuration file directly.
Key configuration items include:
* endpoint: The OpenViking server address. Defaults to reading from ~/.openviking/ovcli.conf, otherwise http://127.0.0.1:1933.
* apiKey: The server authentication key. Fill this in if required by the server.
* studioPath: The path to the Studio page. Defaults to /studio/.
Notes¶
Version Dependencies¶
- DSH Version: Requires DSH version >= 0.2.0-rc.2.
- OpenViking Version: A local OpenViking server (e.g., 0.4.22 beta) must be running.
- Memory Plugin:
@openviking/dsh-memory-pluginmust be installed to display accurate submission progress. If not installed, the pill will display token counts instead of commit counts.
Loading Mechanism¶
- Host Part: The plugin’s host logic is loaded when the DSH application starts. Restart the application after installation.
- Client Part: The plugin’s client logic is loaded via files. A browser refresh (⌘R or F5) is required for changes to take effect after installation.
Feature Limitations¶
- The plugin’s internal routing only responds to loopback requests originating from the DSH window itself.
- If the plugin displays an extraction failure, it is usually due to an issue with OpenViking’s extraction model configuration. Check
~/.openviking/ov.conf.