Introduction¶
In the development of DeepSeek Harness (DSH), file deletion is usually a command executed silently in the background, with little feedback and a high risk of accidental deletion caused by model misjudgment. Ryoshu’s “Tensatsu Batou-zan” turns deletion into a visual event with a review mechanism. Through forced confirmation and full-screen effects, it ensures permanent file deletion while providing protection against accidental deletion.
Plugin Introduction¶
This plugin belongs to the “Fun Reskin” category of the DSH ecosystem and aims to add fun and safety to file management operations.
- Name: dsh-ryoshu-slash
- Owner: 88514205-oss
- License: MIT
- Core positioning: A file deletion tool with slash effects, replacing the bot’s original deletion method and enforcing review to prevent accidental deletion.
Installation Steps¶
Installing this plugin requires running DSH native commands and ensuring the environment dependencies are met.
Official Installation¶
Install through the bundle layer stack without local build:
dsh plugin --profile web add github:88514205-oss/dsh-ryoshu-slash#main
Prerequisites¶
The plugin command in DSH is essentially a pnpm forwarder. Ensure pnpm is installed and available in PATH before installation:
npm install -g pnpm
Activation¶
After installation, you must restart the web process for it to take effect:
dsh web
Core Features¶
The plugin provides a full effects experience on Windows and core deletion functionality on macOS/Linux.
Deletion Mechanism¶
- Permanent deletion: Bypasses the Recycle Bin. Windows uses PowerShell
Remove-Item, while macOS/Linux uses Node’s nativefs.rm. - Forced review: Enabled by default. Regardless of whether the model passes
autoordelay, it is forced into review confirmation mode. Deletion is executed only after clicking “Confirm Slash” in the interface.
Visual and Interaction Effects¶
- Full-screen slash animation: Files pop in from below the screen, converge into a grid, are slashed one by one, blade light flashes, sound effects are synchronized, and they fade out while turning white.
- Real icon support: Windows platform only. Supports displaying real EXE icons and image thumbnails (longest side 96px), returned as cached PNGs via HTTP routes.
- Voice triggers: Supports four voice triggers: thumb, index, middle, and ring fingers.
- Multi-file layout: Supports grid/matrix arrangement with a configurable number of files per row.
Usage¶
After installing and restarting web, you can use it by invoking the ryoshu_slash tool in the conversation.
Configuration Options¶
The settings page provides the following persistent configuration:
| Configuration | Default | Description |
|---|---|---|
| File arrangement | Stacked (gacha) | Grid stacking / arranged in a row |
| Slash mode | Slash one by one | Slash together / slash one by one |
| Max files per row | 6 | Upper limit for the number of columns when splitting multiple files into rows |
| Audio volume | 1 | Voice/sound effect/BGM volume |
| Forced review | On | When off, auto/delay take effect |
| Take over default deletion method | On | When enabled, bot file deletion always uses Tensatsu |
Platform Differences¶
- Windows: Supports full effects, real system icons, and image thumbnails.
- macOS / Linux: Core features are complete (deletion, review, animation, and sound effects), but the system icon API is unavailable, so it automatically falls back to built-in static icons.
Notes¶
- Files are deleted permanently and do not go through the Recycle Bin.
- pnpm ≥10 is required. The installation process may require allowing builds (if a build error occurs, allow it via allowBuilds in the profile’s
pnpm-workspace.yaml). - The license is MIT. This is a fan work for learning and exchange only.
- You must restart web after installation for it to take effect.