DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-fs-search-plus

R

dsh-fs-search-plus

Discovered

Extend the built-in glob/grep tools: symlink following by default, extra grep flags, and a parallel glob that still returns newest first · Enhance DSH's built-in glob / grep: follow symlinks by default, add case-insensitive matching, context, and file type detection to grep, and parallelize glob

Machine translated

dsh-fs-search-plus

增强 DSH 内置的 glob / grep。不替换工具,不改变结果的格式和上限。

DSH 自带的两个搜索工具用内置 ripgrep,参数是固定的。这个插件在参数表里加字段,并在发起搜索时把字段翻译成 ripgrep 参数。

安装

dsh plugin --profile desktop add github:RicardoYan/dsh-fs-search-plus#v0.1.1

Web 端把 desktop 换成你的 profile 名(一般是 web)。装完重启 DSH。

卸载:dsh plugin --profile desktop remove dsh-fs-search-plus

装完不用配置,所有行为通过工具参数控制。

glob

  • 返回最新的在前。原来按修改时间升序排,而结果只保留前 100 条,所以拿到的是最旧的 100 条。现在改为降序,和工具自己的描述一致。
  • 扫描快得多。原来的排序参数会让 ripgrep 退化成单线程;去掉后正常并行,排序在插件里做。不管命中多少条都照常排序。
  • 默认跟随符号链接和 Windows junction(新增 follow 参数)。

grep

新增这些参数,都不传就等于原来的行为:

参数类型说明
followboolean跟随符号链接,默认 true
ignoreCaseboolean忽略大小写
afternumber每个匹配后附几行
beforenumber每个匹配前附几行
contextnumber前后各附几行
typestring只搜某一种文件类型,如 ts、py

after / before / context 没有上限:ripgrep 会按文件长度自然截断,超出工具单次输出上限时会明确报错。

要注意的三点

上下文行看起来和匹配行一样。 打开 after / before / context 后,附带的行也显示成 Line N: <文本>,并且计入 "Found N matches"。这是为了让它们真的能被看到——工具原本会丢弃这类行,只加参数不显示任何东西。

follow 会把链接里的文件也搜进来。 如果仓库用 pnpm,node_modules 里的依赖包本身是链接,跟着走会让结果大很多;对 glob **/* 这种全量查询,可能超出工具单次输出的上限而报错。遇到就收窄 pattern,或传 follow: false。

树里有断链时也能正常返回结果。 跟随链接后,任何一个断链都会让底层工具把整次搜索判为失败;插件只在这种情况把结果救回来。搜索目录不存在、正则写错仍然照常报错。

适用版本

@deepseek-ai/dsh >=0.2.1-rc.1 <0.3.0-0。依赖 DSH 的内部接口,改用其他版本前先确认。

许可证

MIT

Comments

Loading…

Similar plugins

dsh-tool-plus

by xiaoso456

DeepSeek Harness 基础工具增强:持久 bash、结构化 read、多模式 edit、原子 write、双引擎 grep/glob、图像直读,一个插件全覆盖

Tools & CapabilitiesManifest valid

★ 15

↓ 718/wk

MIT

TypeScript

Oct 26, 2026

dsh plugin --profile web add @xiaoso/dsh-tool-plus

by Wilyte

面向 DeepSeek Harness(dsh)Web GUI 的搜索插件,挂在内置右侧栏,不依赖 dsh-better-sidebar。 关键词模式搜文件名与文件内容,支持包含/排除 glob、大小写、正则与类型筛选,命中结果边搜边返回; 代码图模式通过 codegraph CLI 查符号并展开调用方/被调方。命中处高亮,点击即在编辑器中跳到该行。

Manifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-codegraph-search

by ZK-Andy

Resident-index grep for DeepSeek Harness that shadows the built-in grep/glob tools under the same names: repeated content searches hit an in-memory index ranked by access/modification frecency, and gl

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

↓ 74/wk

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-frecency

by umineko987

提供 Grok-compatible 网页搜索、保留来源分页、Context7 与 Exa 文档检索、有界网页提取、站点映射、离线研究计划和只读诊断。

Tools & CapabilitiesManifest valid

★ 4

↓ 82/wk

NOASSERTION

TypeScript

Oct 25, 2026

dsh plugin --profile web add @kkkneko/dsh-search-enhance

by Tinnikx

DeepSeek Harness 客户端增强插件:侧边栏多选与右键菜单、对话起点导航列、逐行开始时间戳、活跃标记配色、选区右键菜单、思考区限高、设置页 Harness 高级配置面板。仅占一个 slot,不发布。

Manifest valid

★ 0

JavaScript

Oct 18, 2026

dsh plugin --profile web add github:Tinnikx/dsh-operation-improve

by JoukoPuro

一个 DeepSeek Harness(DSH)插件: 在 Web 输入框的工具行中添加一个 ✨ 图标按钮。点击后选择打磨风格,已接入的大模型 会把你草稿中的提示词改写得更专业、更易被 AI 理解 。A DeepSeek Harness plugin: icon-only composer button that rewrites your prompt via the connected LLM

Sessions & MessagesManifest valid

★ 8

↓ 62/wk

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-prompt-polish