Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
界面增强 #deepseek-harness#dsh-plugin

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
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 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)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。