Preface¶
When conversing with models in DeepSeek Harness (DSH), if business knowledge, declarations, resident agent charters, and memory artifacts are maintained on the Onto side, the common practice is to manually copy-paste or repeatedly ask the model to call MCP tools in the chat to query realms, memory, and objects. This easily mixes context within a single session, and when switching spaces or chats, it becomes unclear exactly which materials are currently attached.
dsh-onto-space-panel, maintained by hope4b, is designed for developers already using Onto and Harness: it provides a compact space selector above the input box and uses a sidebar to centrally view declarations, resident agents, memory artifacts, templates, and objects, explicitly attaching selected items to the current chat; active context is displayed above the composer and is saved separately by chat and by the selected realm.
What is this¶
The full name of the plugin corresponds to the repository hope4b/dsh-onto-space-panel (npm package name dsh-onto-space-panel, current release version 1.2.1, MIT license). It does not modify the Harness core but injects UI into the Web side and reads spaces and entities via Onto MCP; selecting a resident agent assigns a role to the current Harness conversation and loads its charter and constitution, but does not independently launch an external agent process or broker.
The interface text is currently in Russian (e.g., sidebar Обзор [Browse], attach context В контекст [Add to context]); names and descriptions of spaces and entities come from the Onto server.
Core Functions¶
The following capabilities are derived from the project README and depend on MCP exposing the corresponding tools (see “Requirements and MCP Tools” below).
- Connect Onto: For first-time use, fill in the MCP endpoint and API key to validate; if there is already a Harness MCP connection named
ontoin the profile, it will be reused automatically. - Space Selection and Sidebar: Search and select available Onto spaces; use Обзор [Browse] to open the space panel.
- Declarations: Read current/accepted space declarations and attach them to the chat.
- Resident Agents: View agents and their charters; when a valid active resident is selected, load its accepted charter and constitution into the current chat.
- Memory Artifacts: Search and paginated browse accepted memories, read content, and explicitly attach or disconnect.
- Templates and Objects: Browse templates and objects, and include selected objects into the conversation.
- Chat-Isolated Context: Selections and context for different chats and different realms are saved separately.
- Model Tools: When the user requests a space change or context modification, adjustments can be made via
select_onto_spaceandconfigure_onto_chat_context.
Environment and Requirements¶
- DeepSeek Harness Web UI or Desktop application.
- Onto MCP endpoint URL and personal API key, or an authenticated Harness MCP connection
onto. - The first-time use wizard form requires a Harness-writable credential provider; the standard local profile typically uses
@deepseek-ai/dsh-credentials-local. - Integration with the Host was developed and verified on DeepSeek Harness 0.2.0-rc.2; compatibility with other versions is not declared. Harness is in developer preview, and extension interfaces may change.
- The plugin’s
package.jsonrequires Node >= 22 (primarily affects the development and packaging environment; when installing the release package, Harness usually loads the pre-built browser bundle).
The MCP connection must provide at least the following tools for all panel sections to be fully functional: list_available_realms, about_realm, list_realm_agents, get_realm_agent, search_memory_artifacts, get_memory_artifact, get_memory_artifact_by_path, search_templates, search_objects, get_entity.
Installation and Enablement¶
You must restart Harness after installing or replacing the bundle. If you previously used cordis.patch.yml with an absolute path to manually load the same plugin, you should disable the old entry first to avoid two instances registering the same tools and API routes.
Install tgz from release¶
Download the .tgz from Releases and execute the following for profiles supporting Web:
dsh plugin --profile web add ./dsh-onto-space-panel-1.2.1.tgz
Install from GitHub tag¶
The repository includes the built browser entry, so no build is required during installation:
dsh plugin --profile web add github:hope4b/dsh-onto-space-panel#v1.2.1
Desktop can install the downloaded bundle via Plugins (depending on version support); the tgz already contains the browser bundle, so no additional build permissions are required.
Connecting to Onto MCP¶
Recommended: First-time Use Wizard¶
- Install the plugin and restart Harness.
- Click Onto → Подключить [Connect] above the composer.
- Fill in the MCP endpoint URL and personal API key, then click Подключить [Connect]. The key field only needs the value; if you paste a full line
X-Onto-Api-Key: value, the plugin will strip the header name before storing or sending. - The plugin validates using
list_available_realmsand saves upon success; then select a space from the list. An empty list indicates the connection was successful but there are no visible spaces.
Request the endpoint and key from the Onto administrator. The form uses HTTPS and X-Onto-Api-Key; localhost HTTP is allowed for development. The URL must be the direct MCP endpoint, cannot contain credentials or queries, and does not accept authentication redirects.
Keys are stored via the Harness credential provider (not plugin config, not browser storage, not chat history). Under the standard local provider, the managed file is $DSH_HOME/.credentials.yaml; server addresses and credential references are in $DSH_HOME/storages/onto-connections/ (distinguished by profile location). The plugin restores the MCP connection itself upon startup and does not modify profile YAML.
You can update connections created by the plugin by opening Подключение [Connection] in the space picker or via Подключение Onto [Connect Onto] in the sidebar. If the endpoint remains unchanged and the key is left blank, the stored key is reused; after changing the endpoint or account key, you must re-select the space and attach context, as old chat context will not automatically migrate to the new connection.
Alternative: Manual Harness Configuration¶
Applicable to centrally managed MCP or deployments without a writable credential provider. If the profile already has an Onto connection, do not add one repeatedly.
- Request the MCP endpoint URL and personal API key from the administrator (not the regular Onto website URL).
- Edit the current profile’s
cordis.patch.yml(common Web path~/.dsh/profiles/web/cordis.patch.yml; Windows Desktop is%USERPROFILE%\.dsh\profiles\desktop\cordis.patch.yml;DSH_HOMEwill change the.dshlocation). - Append or update the patch;
serverNamemust beonto:
- insert:
- id: mcp-onto
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: onto
transport: streamable-http
url: https://YOUR-ONTO-MCP-HOST/mcp
headers:
X-Onto-Api-Key: !!js process.env.ONTO_API_KEY
- Set the
ONTO_API_KEYin the environment of the process starting Harness. For example, Windows Web:
$env:ONTO_API_KEY = 'YOUR_PERSONAL_API_KEY'
dsh --profile web
Desktop requires a full exit and then restarting the executable from the same PowerShell; shortcuts will not inherit variables set only in that window.
- Open the space selector above the composer; you should see accessible spaces; you can also ask the model in chat to call
mcp__onto__list_available_realms.
If connection fails, check the endpoint and network first; 401/403 are usually authentication or permission issues. If tools are available in chat but not found in the panel, check if serverName is onto.
Typical Usage¶
After installation and connection, you can follow the order below (UI is in Russian, meanings are as follows).
- Select the Onto space above the composer.
- Click Обзор [Browse] to open the sidebar panel for that space.
- View declarations, resident agents, memories, templates, and objects in the panel; to include them in the current conversation, use В контекст [Add to context] to attach declarations or memory artifacts.
- Attached roles or materials will appear next to the context tag; click the
×next to the tag to remove them. - When switching chats or realms, selections are isolated by session; you can ask the model to call
select_onto_spaceorconfigure_onto_chat_contextif needed.
Applicable Scenarios and Notes¶
Who it is for: Teams or individuals who already maintain spaces, declarations, resident agents, memories, and objects in Onto, and want to “see, select, and attach context per chat” in DSH Web/Desktop.
Permissions and Security: The plugin runs with the same permissions as the current DSH process; before installation, read the repository source code and MIT license to ensure the endpoint, API key, and credential storage policies under $DSH_HOME comply with local and organizational requirements. Do not commit real keys to repositories or share terminal history containing keys.
Ecosystem Notes: The DSH community plugin directory (such as the entry on SkillHub) is maintained by the community and has no official affiliation with DeepSeek / High-Flyer; the installation commands and behavior in this article are subject to the GitHub README.
Conclusion¶
dsh-onto-space-panel consolidates Onto’s space navigation, declarations, resident agent charters, memory, and object selection into the Harness input area and sidebar, maintaining context isolation by chat and realm. For details, releases, and issues, see the directory page and repository:
- Directory Page: https://www.skillhub.cn/plugins/hope4b/dsh-onto-space-panel
- GitHub: https://github.com/hope4b/dsh-onto-space-panel