← 返回列表
D

dsh-peekedit

v0.1.1 · 1 天前发布

Enhanced file tools for DeepSeek Harness: peek (windowed view), peek_edit (literal replace / insert), peek_write (create / overwrite).

dshdsh-plugindeepseek-harnesscordisfilesystemtools

README

dsh-peekedit

![npm version](https://www.npmjs.com/package/dsh-peekedit)
![License: MIT](LICENSE)

English · 简体中文

DeepSeek Harnessdsh)增强的文件工具和文件浏览器

源码:<https://github.com/lhp343969656/dsh-peekedit> · 问题反馈:<https://github.com/lhp343969656/dsh-peekedit/issues>

功能一览

面向模型的文件工具——对内置的 read / write / edit 工具是补充而非替代,共用同一个 ctx.fs 服务、fs/* 策略事件和沙箱约束:

| 工具 | 用途 |
|---|---|
| peek | 按行窗口(view_range)查看文件,或查看最多 2 层深的目录。输出带行号、总行数,长输出自动截断并提示。 |
| peek_edit | 修改已有文件:唯一字面量的 str_replace 或按行 insert。 |
| peek_write | 新建文件或覆盖已有文件。 |

文件浏览器界面(Web 客户端):会话头部新增"📁 文件"按钮,打开侧边抽屉展示当前会话的工作目录——点进文件夹、点文件预览

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-peekedit
Repo
git+https://github.com/lhp343969656/dsh-peekedit.git
Engines
{"node":">=20"}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"}}