acryl-dsh-editor-plugin-cli
DSH TUI plugin: a native /files command - browse, view, and edit files from acryl-cli's own terminal UI.
acryldev
@acryldev
⬇ 2
★ 1
main
安装
dsh plugin --profile web add github:acryldev/acryl-dsh-editor-plugin-cli
需要可复现安装时,可在仓库后追加 #commit 固定提交。
DSH TUI plugin: a native /files command - browse, view, and edit files from acryl-cli's own terminal UI.
该插件未提供要点说明,请参考仓库 README。
deepseek-harnessdsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/acryldev/acryl-dsh-editor-plugin-cli |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 2 |
| GitHub 星标 | 1 |
| 最近推送 | 2026-09-16 |
| 收录日期 | 2026-09-19 |
| 分类 | 界面增强 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# DSH Editor (CLI)
A native `/files` command for [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness)'s
terminal surface (`acryl-cli`) - browse, view, and edit files without
leaving the TUI.
This is the TUI-native sibling of
[`acryl-dsh-editor-plugin-web`](https://github.com/acryldev/acryl-dsh-editor-plugin-web),
built for `acryl-cli`'s own presentation-slot extension point
(`tuiCommands`, spec 034 T009) rather than a browser client bundle. There is
no Host/Client split here: the CLI and its Cordis Loader tree share one
process, so this plugin's own `apply(ctx)` both registers the `/files`
command and reads/writes files directly - no wire protocol to design.
## Features (v2)
- **File tree** - browse from your home directory, directories-first
sorting, `..` to go up. Vim-style `h`/`j`/`k`/`l` work alongside arrows.
- **Filter** - `/` starts an incremental, case-insensitive name filter over
the current directory's listing.
- **File viewer** - scrollable, line-numbered.
- **Editor** - press `e` while viewing a file to edit it in place: cursor
movement, character insert/delete, newline splitting, and `ctrl+s` to
save. Saves go through a same-directory temp-file-then-rename, so a
mid-write failure never leaves a half-written file on disk.
- **Back navigation** - `Escape` (or `←`/`h`) steps back one directory level
at a time, restoring your selection to wherever you drilled in from,
before finally closing the overlay once you're back at the start.
`Escape` also steps back out of search, view, and edit modes the same way.
Deliberately still not built: cross-file/recursive search, git diff,
Markdown rendering, syntax highlighting. Syntax highlighting in particular
was evaluated and skipped deliberately - see the top-of-file comment in
`lib/index.js` for why (it needs a different rendering model than this
plugin's plain pi-tui `Component` contract provides).
## Install
```bash
dsh plugin --profile add acryl-dsh-editor-plugin-cli
```
(Each profile is its own single-package pnpm workspace, which currently
needs `-w` to satisfy pnpm's own workspace-root safety check:
`dsh plugin --profile add acryl-dsh-editor-plugin-cli -w`.)
After installing, restart `acryl tui`. Type `/files` at the prompt.
## Requirements
- Node.js `>= 20`
- `acryl-cli` with `tuiCommands` (spec 034 T009 or later) - the extension
point this plugin registers against. Installing this on a surface without
it (Web, Desktop) leaves the plugin's row simply inactive, not crashed:
`tuiCommands` is a hard `inject` requirement, so the Fiber just never
activates there.
## Architecture
A DSH TUI plugin declares itself via the npm package's `dsh` field
(`dsh.bundle.patch` -> `cordis.patch.yml`, which inserts the row) - the same
convention every DSH plugin uses. Unlike a Web plugin, there is no
`dsh.client` field: `lib/index.js` is a standard Cordis Host plugin whose
`apply(ctx)` calls `ctx.tuiCommands.register({command, description, open})`,
where `open({tui, close})` returns a real `pi-tui` `Component` built and
owned entirely by this package.
## License
[MIT](LICENSE)
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。