FSMargoo/dsh-at-file453

dsh-at-file

Codex-style @path references for the DeepSeek Harness web GUI: search workspace paths without injecting file content

AI 分析

核心用途是提供轻量化的工作区文件路径引用。适合需要向智能体提及特定文件或目录路径,但又不希望直接将大文件内容读入上下文的用户。

パッケージ
dsh-at-file
バージョン
0.6.8
ライセンス
MIT
最終更新
2026/08/22

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FSMargoo/dsh-at-file

ドキュメント

README 全文を読む ↗

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.

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:

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.

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.

- 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.