Introduction¶
When building agents, handling specific, high-risk scenarios often requires hardcoded logic or complex toolchains. For scenarios such as drowning, which are emergent and require clear operational steps, maintaining large amounts of text directly in code is error-prone and difficult to update. The DSH ecosystem solves this problem through its plugin mechanism, and dsh-drowning is the solution provided for this scenario.
Plugin Introduction¶
dsh-drowning is a DSH plugin focused on drowning first-aid scenarios. It is maintained by uckkk and aims to provide critical handling steps categorized by scenario. As a pure Node.js implementation, it does not depend on network connections, ensuring stable invocation in offline or restricted environments.
Core Features¶
- Scenario-based first-aid guidance: Provides handling steps categorized by scenario.
- Offline-ready: Based on a pure Node.js implementation, with no network request dependencies.
- Tool registration: Automatically registers tools after installation, allowing direct invocation within a session.
Installation and Activation¶
Run the following command to install the plugin:
dsh plugin add github:uckkk/dsh-drowning
After installation, the plugin is automatically loaded and the relevant tools are registered in the current session.
Typical Usage¶
After successful installation, simply invoke the tool registered by the plugin in a DSH session. The specific tool name is drowning.
Use Cases and Notes¶
- Use cases: Agent development that requires quick retrieval of first-aid steps, or using it as a supplement to a general knowledge base.
- Dependency requirements: This plugin depends on
@deepseek-ai/cordis(^4.0.1) and@deepseek-ai/dsh-tools(>=0.1.0-rc.6) installed in the local environment. - Safety and compliance: First-aid content is for reference only. For specific actions, professional medical training should prevail. As a plugin, it runs with the permissions of the current DSH process. It is recommended to review the source code and license (MIT) before deployment.
Summary¶
With dsh-drowning, developers can quickly add handling capabilities for first-aid scenarios to their agents. Its lightweight and offline characteristics reduce integration costs. For more plugin information, consult the directory page or visit the GitHub repository.