ystyle/dsh-tool-terminal-search

ystyle★ 0TypeScript最后同步: 2026-08-14

在 GitHub 打开

README 摘要

dsh-tool-terminal-search A terminal search tool plugin for DeepSeek Harness (dsh): locate lines in large retained terminal scrollback by literal substring or regular expression, without paging backward blindly through tens of thousands of log lines. The tool is composed only over the public ctx.terminals.read seam — no upstream package changes, so it runs on published dsh releases today. Why terminal read pages retained scrollback by newest-relative offset / count . With backend log output running to tens of thousands of lines, a model cannot tell where the interesting lines are: it has to page backward from the newest output one page at a time, and totalLines alone does not locate a needle in the retained buffer. terminal search closes that gap by finding lines by content. Install In your dsh profile directory (e.g. /.dsh/profiles/web ), add the dependency and the patch entry: Restart your dsh profile. The model gains terminal search next to the official terminal open / terminal send / terminal read tools. Behavior terminal search(sessionId, pattern, regex?, offset?, limit?) : - Pages the whole retained scrollback (newest → oldest) through terminal read and matches each line. - pa…

在 GitHub 查看完整 README →
Terminal / TUIdsh-pluginterminalsearch

分类