Preface¶
DeepSeek Harness (DSH) retains session records locally. After a conversation is closed, resuming or verifying historical operations requires searching through local files. Without a unified entry point, this approach is inefficient.
DSH Session Finder (xcapeaxis/dsh-agent-ops) is a client-side plugin that provides four commands to directly query local session and workspace information within the current DSH process context, without requiring any additional services.
Plugin Overview¶
- Name: DSH Session Finder
- Maintainer: XcapeAxis
- Category: Client-side
- Core Value: Retrieve local sessions by workspace and verify titles, ownership, and connection status.
Core Features¶
The plugin provides four query tools:
workspace_list: Lists registered workspaces and their session counts.session_list: Views sessions by workspace, skipping archived and sub-agent sessions by default.now: Finds recent sessions, optionally scoped by workspace. By default, it skips archived sessions, sub-agent sessions, and cold sessions confirmed to have no content.session_info: Verifies the title, ownership, and connection status of a specific session.
Unnamed sessions that already have input may still appear in now. Query results may contain local file paths and fragments of the first user message, making it suitable for use within a trusted local profile.
Installation & Enablement¶
-
Download the installer for the corresponding version (using v0.1.0 as an example):
https://github.com/XcapeAxis/dsh-agent-ops/releases/download/v0.1.0/dsh-agent-ops-0.1.0.tgz -
Open a terminal in the download directory and set up a dedicated DSH_HOME (example):
$env:DSH_HOME = Join-Path $PWD 'agent-ops-demo-home'
- Add the plugin to the current profile:
dsh plugin --profile sdk add ./dsh-agent-ops-0.1.0.tgz
After installation, the four tools become available in the current DSH process.
Typical Usage¶
Using the SDK profile as an example, after installing the plugin, you can invoke it from the DSH client in the same environment:
- List workspaces:
dsh plugin run dsh-agent-ops workspace_list
- View sessions by workspace:
dsh plugin run dsh-agent-ops session_list --workspace "Template QA"
- Find recent sessions (filtered by workspace):
dsh plugin run dsh-agent-ops now --workspace "Template QA"
- Verify session info (using a session ID):
dsh plugin run dsh-agent-ops session_info <session-id>
Use Cases & Notes¶
Suitable for developers who need to quickly locate historical sessions from local records, especially in scenarios requiring workspace-based retrieval and verification of session titles and connection status.
Notes:
- The plugin runs with the permissions of the current DSH process. Ensure the installation source is trusted, and review the source code and license before installing.
- This plugin has been primarily validated for: installation from release packages, retrieving disconnected sessions in two synthetic workspaces, data file consistency before and after queries, and tool removal after uninstallation.
- Desktop clients, other DSH versions, and automatic model invocation are not covered in this validation scope.
Summary¶
DSH Session Finder makes session lookup and verification programmable through local queries. It is well-suited for developers who need to retrieve sessions by workspace within the DSH ecosystem.
Directory page: https://www.skillhub.cn/plugins/XcapeAxis/dsh-agent-ops
GitHub: https://github.com/XcapeAxis/dsh-agent-ops