精选
为什么选中它
待人工精选——以下事实来自源码仓库。
它能做什么
Codex-style @file mentions for DeepSeek Harness: search workspace files in the composer and attach their path to prompts.
适合谁
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
风险提示
- 未发现明显风险信号;安装前仍建议查看源码。
Codex-style @file mentions for DeepSeek Harness: search workspace files in the composer and attach their path to prompts.
待人工精选——以下事实来自源码仓库。
Codex-style @file mentions for DeepSeek Harness: search workspace files in the composer and attach their path to prompts.
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
dsh plugin --profile web add github:omdsh-dev/dsh-at-file 类型判定: It is a real DSH plugin that integrates into the web interface composer to add @file mention functionality, installable via dsh plugin add. · 模型判定 · 2026年8月18日
作者没有声明支持的平台。
@ in the composer to search the current workspace and insert a file or directory path.
## Usage Choose a result from the @ menu. The selected path remains visible in the draft and can be opened or removed from the reference bar. text Review @docs/spec.pdf Before the agent starts a step, the plugin confirms that the path exists inside the active workspace. It then adds a short reference message: xml <workspace-reference path="docs/spec.pdf" kind="file" /> The reference contains the workspace-relative path and its kind. The plugin does not open the referenced file or list the contents of a referenced directory. The agent can inspect the path with the tools available in the current session when the task requires it. Pasted text is treated as ordinary text by default. An @path copied from another application does not open the picker, appear in the reference bar, or create a workspace-reference marker. Turn off Ignore @ mentions in pasted text in Settings -> File mentions if you need the older behavior. File format and file size do not change this behavior. A PDF follows the same path-reference flow as any other workspace file. This mechanism applies to version 0.3.0 and later. Earlier releases read file content during submission and enforced file-size limits. ## Path Picker Plain queries match filenames. Exact names, prefixes, and compact matches rank ahead of looser results, without matching letters scattered across a long directory path. A query containing / matches path segments in order. For example, src/view can find src/client/view.ts. A trailing slash such as src/ searches within that path. When a directory is highlighted, press ArrowRight to enter it. The draft advances to @path/ without a trailing space, and the candidate menu stays open for the next selection. Enter and pointer selection keep the existing behavior and finish the directory reference. Each result shows the filename first and its parent directory underneath. Duplicate filenames include the parent directory in the main label. Built-in SVG icons distinguish folders, source files, text, PDFs, images, data and configuration files, archives, and other files. The default index skips common version-control directories, IDE metadata, dependency trees, caches, and build output. The list covers VS Code, Visual Studio, JetBrains IDEs, Fleet, Eclipse, Android and Gradle, Xcode, CMake, Flutter, .NET, Unity, Unreal, and common JavaScript and Python output directories. OS metadata files named desktop.ini, Thumbs.db, and .DS_Store are excluded by default. ## Install or Update sh dsh plugin --profile web add https://github.com/omdsh-dev/dsh-at-file/archive/refs/tags/v0.6.3.tar.gz Use the same command to update an existing installation. Restart dsh web after installation so the Host and browser client load version 0.6.3. ## File Filters Open Settings -> File mentions to manage file-name filters.
- Global contains rules shared by every workspace. - Workspace contains additional rules for the selected workspace path. Each workspace keeps its own list, and the panel shows the global rules it inherits. Each rule has its own matching mode and case setting: - Exact matches one complete basename. Path separators are not accepted. - Regex runs a JavaScript regular expression against the complete basename. It does not receive the parent directory or workspace path. - Case-sensitive can be enabled independently for any Exact or Regex rule. It is off by default. Rules are added and removed individually. An invalid regular expression is shown before saving and is also rejected by the Host. Restore defaults resets the global list to the built-in file names. Clear workspace rules removes only the selected workspace's additions. Settings are saved in the DSH web profile through the plugin's own Host connection. Existing string values in ignoreFiles and workspace lists continue to work as case-insensitive Exact rules. A change clears the affected index cache, so the next @ search uses the saved rules. ## Configuration The available options apply to the path picker index: - maxIndexedFiles sets the maximum number of indexed workspace entries. - ignoreDirs replaces the built-in list of directory names excluded from the picker. Set it to [] to index every directory. Add the complete configuration to the selected profile's cordis.patch.yml. The usual path is ~/.dsh/profiles/web/cordis.patch.yml. yaml - id: dsh-at-file config: maxIndexedFiles: 10000 Omitting ignoreDirs keeps the built-in list. When you provide it, include every directory name you want excluded. ## Path Handling - The picker indexes regular files and directories in the active workspace. Configured directory names and symbolic links are skipped. - Global and workspace file-name filters are combined during the Host index walk, before entries count toward maxIndexedFiles or reach the browser. - The Host accepts workspace-relative paths. Absolute paths and paths that escape the workspace are ignored. - Reference markers are created from typed text and picker selections. Pasted @ tokens are ignored when the default setting is enabled. - Clicking a referenced path uses the Harness host.openPath endpoint. - The picker index is cached per session for 30 seconds. - An @path token cannot contain whitespace or another @ character. - maxIndexedFiles limits picker results. A manually entered path can still be referenced when it exists inside the workspace. The active agent may lack a tool for a particular file format. DSH provides read for UTF-8 text and read_image for supported images. PDF support depends on the tools available in the session. ## Development sh pnpm install pnpm run check pnpm run test pnpm run build The development setup expects the official deepseek-ai/deepseek-harness repository at ../deepseek-harness, its default clone directory. Built files under lib/ are committed so profile installation does not require package build scripts. ## License MIT不看 Star,人工一条条挑的。
把 DSH 的 settings.yaml 做成可视化看板:所有已注册的 settings namespace——包括官方界面从未覆盖的第三方插件配置——都渲染成可编辑表单。项目还早,但方向很对:告别手改 YAML。
给 DSH 的 DIY 轨迹可视化:把 agent 的计划与执行画成图,不用翻原始日志也能看清它在干嘛。项目还早,但补上了「一眼看懂 agent 在做什么」这个真实缺口。
从 Claude Code / Codex 把活派给 DSH:在宿主内拉起带分级预设的 DSH agent 会话,看原生子代理进度,还能借它的多模态桥给纯文本的 DSH 补上视觉和生图。编排型插件,把 DSH 变成其他编码 agent 的后端。