返回目录

omdsh-dev/dsh-at-file

编辑精选

omdsh-dev/dsh-at-file

为 DeepSeek Harness 带来 Codex 风格 @文件 提及,可在输入框搜索工作区文件并把路径附到提示词中。

前往 GitHub
$ dsh plugin --profile web add https://github.com/omdsh-dev/dsh-at-file/archive/refs/tags/v0.6.7.tar.gz

MIT 许可的 DeepSeek Harness 网页界面插件,为输入框添加 @ 引用工作区文件与目录路径的能力;通过 `dsh plugin --profile web add` 安装到 `web` profile。

DSH 适配

兼容

作者声明

安全审计

未审计

最后核验

2026-08-21

许可证

MIT

01它能帮你完成什么?

  • Reference workspace files and directories directly in DeepSeek Harness prompts

    Codex-style @ picker results inserted into the draft, verified against the active workspace and attached as `<workspace-reference path=... kind=... />` markers before each agent step

    Developers running `dsh web` who want @file mentions instead of typing or pasting paths by hand

  • Keep the @ picker relevant in large repositories

    Filename and path-segment search with directory drill-down, plus global and per-workspace Exact/Regex file filters saved in the DSH web profile

    Teams working in large or monorepo workspaces who need to exclude version-control folders, dependency trees and build output from file mentions

02如何接入 DeepSeek Harness?

前置条件

  • DeepSeek Harness with the `dsh` CLI and the `web` profile — the plugin runs inside `dsh web`

安装步骤

  1. 01

    Run `dsh plugin --profile web add https://github.com/omdsh-dev/dsh-at-file/archive/refs/tags/v0.6.7.tar.gz`

    $ dsh plugin --profile web add https://github.com/omdsh-dev/dsh-at-file/archive/refs/tags/v0.6.7.tar.gz

  2. 02

    Restart `dsh web` so the Host and browser client load version 0.6.7 (the same command also updates an existing installation)

    $ dsh web

验证接入成功

作者未说明

03DSH 适配与能力边界

DSH 适配兼容

Plugin for the DSH web interface (`dsh web`), installed with the official `dsh plugin` CLI; adds @-mention workspace path references to the composer

  • @ path picker in the composer

    typing `@` followed by a query in the dsh web composerranked file/directory candidates — exact names, prefixes and compact matches first; `/` queries match path segments in order; ArrowRight drills into directories

  • Workspace-reference injection

    selected or typed @path tokenspath existence check inside the active workspace plus a `<workspace-reference>` marker carrying the workspace-relative path and its kind

  • File-name filters (Settings -> File mentions)

    Exact or Regex rules per basename, with optional case sensitivityglobal rules shared by every workspace plus per-workspace rule lists applied to the picker index

    Settings are saved in the DSH web profile through the plugin's own Host connection; changing rules clears the affected index cache
  • Picker index configuration

    the profile's `cordis.patch.yml``maxIndexedFiles` cap and a custom `ignoreDirs` exclusion list for the picker index

    Configuration is written to the selected profile's `cordis.patch.yml` (usually `~/.dsh/profiles/web/cordis.patch.yml`)

04适合谁?何时不该用?

适合

  • Developers running `dsh web` who want @file mentions instead of typing or pasting paths by hand
  • Teams working in large or monorepo workspaces who need to exclude version-control folders, dependency trees and build output from file mentions

不适合

  • The plugin only attaches paths — reading content is up to the agent's session tools (DSH provides `read` for UTF-8 text and `read_image` for supported images; PDF support depends on the tools available in the session).

05兼容性、维护与安全提示

  • The plugin only attaches paths — reading content is up to the agent's session tools (DSH provides `read` for UTF-8 text and `read_image` for supported images; PDF support depends on the tools available in the session).
  • Since v0.3.0, pasted @ tokens are ignored by default — an @path copied from another application does not open the picker or create reference markers unless 'Ignore @ mentions in pasted text' is turned off; earlier releases read file content during submission and enforced file-size limits.
  • Picker results are capped by `maxIndexedFiles`, and the index is cached per session for 30 seconds, so newly created files can take up to half a minute to appear.
2026-08-132026-08-19v0.6.7

MIT · actively maintained (latest release v0.6.7, 2026-08-20)

06常见问题

dsh-at-file 如何接入 DeepSeek Harness?

它是 DSH 网页界面的插件:运行 `dsh plugin --profile web add <发布包地址>` 安装,然后重启 `dsh web`。它不是 MCP 服务,@ 选择器和引用栏直接集成在输入框中。

@ 引用文件后会发生什么?

插件先确认路径存在于当前工作区,然后在 agent 开始步骤前追加一条 `<workspace-reference path="..." kind="file" />` 标记。它不会打开或读取文件内容,agent 会在需要时用自己的会话工具查看该路径。

为什么粘贴的 @path 不会触发选择器?

从 0.3.0 版本起,粘贴的文本默认按普通文本处理。如需旧行为,请在 Settings -> File mentions 中关闭 **Ignore @ mentions in pasted text**。

如何过滤 @ 选择器里显示的文件?

在 Settings -> File mentions 中按基本文件名添加 Exact 或 Regex 规则(可单独开启大小写敏感),支持全局与每个工作区两套列表;索引上限 `maxIndexedFiles` 和 `ignoreDirs` 则写在 profile 的 `cordis.patch.yml`(通常是 `~/.dsh/profiles/web/cordis.patch.yml`)。

08数据与来源

  • 作者声明github.comc57849b27e37…

    Workspace path references for the DeepSeek Harness web interface. Type `@` in the composer to search the current workspa…

  • 作者声明github.comc57849b27e37…

    Use the same command to update an existing installation. Restart `dsh web` after installation so the Host and browser cl…

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。