Preface¶
The core philosophy of DeepSeek Harness (DSH) is “Everything is a Plugin.” During agent development and operation, file management within the workspace is often scattered across directories such as memory, records, and diary, and the status of FILE-MAP requires manual inspection. Directly obtaining an overview of the workspace status within the WebUI reduces the frequency of window switching and improves debugging efficiency.
Plugin Introduction¶
dsh-liya-workspace-plugin is a client-side plugin maintained by feverZHONG. It enables real-time reading and display of workspace files by adding a “Liya Workspace” sub-settings page to the DeepSeek Harness WebUI settings.
Core Capabilities¶
This plugin primarily solves the issue of workspace file invisibility by providing the following features:
1. New Settings Page: Adds a “Liya Workspace” sub-settings page to the WebUI settings.
2. Real-time Overview: Displays a summary of FILE-MAP, statistical counts for memory/records/diary directories, and a list of recent diaries.
3. Root Directory Configuration: Supports configuration in the workspace root directory, taking effect immediately after modification.
4. API Route: Provides the /dsh-liya-workspace/summary route for the Client to read summary data.
Installation and Activation¶
Installing this plugin must be done via a local directory method. A WebUI restart is required for the changes to take effect after installation.
# Install plugin
dsh plugin --profile web add <this-directory>
# Uninstall plugin
dsh plugin --profile web remove dsh-liya-workspace-plugin
Configuration and Usage¶
Plugin operation depends on the workspace root directory containing specific subdirectories (such as workspace/, diary/). Configuration priority follows this order: Settings Page > cordis.yml > Process Working Directory.
Usage steps:
- Open the WebUI settings page and navigate to the “Liya Workspace” sub-settings page.
- Enter the absolute path of the workspace root directory in the
workspaceRootfield. - Save the configuration (takes effect immediately).
- Restart the WebUI process.
- You can now see the file overview content in the settings page. To verify the API, you can execute the following in the terminal:
Invoke-WebRequest http://127.0.0.1:<port>/dsh-liya-workspace/summary
Notes¶
- Directory Structure: The plugin requires the workspace root directory to contain directories such as
workspace/anddiary/for accurate statistics. - License: The code portion is licensed under MIT, and the documentation portion is licensed under CC BY 4.0.
- Permission Requirements: The plugin runs with the permissions of the current DSH host process. Please ensure the configured paths are visible to the process.
Summary¶
This plugin provides DSH users with a lightweight tool to quickly grasp workspace status within the WebUI interface. Through visual overviews, file management and debugging become more convenient. For more details and source code, please refer to its GitHub repository.