Meta-Tool: Enabling AI to Operate DSH's Own Workspace and Session

Preface

Ordinary tools operate on project files or the command line. Meta tools operate on the DSH instance where the AI resides: they can organize workspaces, launch new sessions, direct other sessions, and review session history. This addresses the boundary issue of “AI can only manipulate project files but cannot manage its own runtime environment.”

Plugin Overview

Meta Tools is a meta-tools plugin for DSH, developed by maintainer FanetheDivine. It enables the AI to view, create, and manage sessions and workspaces within DSH itself, rather than relying solely on external scripts or command-line operations.

Core Features

Workspace Management

  • View registered workspaces, their paths, and session counts
  • Register an existing directory as a workspace
  • Rename a workspace
  • Remove a workspace from the list

Session Viewing

  • Find sessions by workspace, directory, or title
  • Read session logs, including logs of subagents within the session

Session Management

  • Create a new session in a specified workspace, optionally with an initial message
  • Configure default preset, provider, model, and reasoning level for new sessions via the plugin settings page; individual calls can override these
  • Send messages to other sessions; messages are delivered on the recipient’s next turn
  • Stop a session’s current work
  • Pin or unpin a session
  • Archive a session, or restore an archived session

Control & Security Boundaries

Open the “Meta Tools” settings page under the “Plugins” tab. Each capability has an independent toggle. Disabled capabilities are invisible to the AI. Changes take effect immediately upon saving—no restart required.

Security boundary notes:

  • Removing a workspace only deletes it from the list; the directory and session records are preserved
  • The AI can only archive sessions; archived sessions can be restored at any time
  • When reading session logs, the log is copied to the system temporary directory; the original record remains unchanged
  • The AI can only operate on the current DSH instance

Limitations:

  • Read logs do not include images or attachments
  • Log copies remain in the system temporary directory and are periodically cleaned up by the operating system
  • A running session must be stopped before it can be archived
  • Archived sessions cannot be pinned
  • Messages can only be sent to regular sessions
  • When stopping a subagent session, the AI’s session must be its parent
  • When searching by title, at most the 200 most recent sessions are searched

Installation & Activation

Enter the plugin name on the DSH Plugins page to install. After installation, go to the “Meta Tools” settings page and enable the desired capabilities. See the GitHub repository for details: https://github.com/FanetheDivine/dsh-plugin-meta-tools

Use Cases

  • Register a workspace for a new project and open a session within it to continue work
  • Split a large task across multiple sessions, then send follow-up requirements or stop them
  • Find and read previous sessions to summarize what was done or recover conclusions
  • Tidy up the sidebar: rename workspaces, pin frequently used sessions, and archive completed sessions

Notes

  • The plugin runs with the current DSH process privileges. Review the source code and license before installing
  • Log copies are stored in the system temporary directory and are periodically cleaned up by the operating system
  • A running session must be stopped before it can be archived
  • Archived sessions cannot be pinned
  • Messages can only be sent to regular sessions
  • When stopping a subagent session, the AI’s session must be its parent

Conclusion

Meta Tools transforms the AI from “a tool that operates on project files” into “an agent that manages its own runtime environment.” By controlling permissions and boundaries through the plugin settings page, you can strike a balance between reviewing sessions and performing deep operations.

  • Directory page: https://www.skillhub.cn/plugins/FanetheDivine/dsh-plugin-meta-tools
  • GitHub: https://github.com/FanetheDivine/dsh-plugin-meta-tools
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye