Skip to content

Releases: dongfangxy/dsh-agents-md-settings

v1.0.0 — AGENTS.md settings row

Choose a tag to compare

@dongfangxy dongfangxy released this 24 Oct 18:46

First public release: a DeepSeek Harness bundle that adds one row to Settings → General and opens ~/.dsh/AGENTS.md in the system editor.

What it does

  • Adds 用记事本打开 / Open in editor to Settings → General.
  • Opens ~/.dsh/AGENTS.md — the instruction file DeepSeek Harness reads on every new session — without hunting through the filesystem.
  • On Windows it launches Notepad, waits for the window, restores it, sizes it to 900x640 and raises it, because a stale saved window placement otherwise makes the file look like it never opened.
  • No telemetry, no network calls, no modification of the file itself.

How it works

A cordis bundle with a host half and a client half:

File Role
cordis.patch.yml inserts the agents-md-settings row into the profile
index.js host: registers POST /agents-md/open, resolves the path, launches the editor
client.js client: registers the row into the settings.general.item slot
package.json dsh.bundle.patch and dsh.client declarations

The route takes no body and no caller-supplied path, so the only file it can open is the current user's own AGENTS.md.

Install

  1. Copy this folder to <profile>/node_modules/@local/agents-md-settings.
  2. Add the row to <profile>/cordis.patch.yml:
    - insert:
        - id: agents-md-settings
          name: "@local/agents-md-settings"
  3. Restart DeepSeek Harness.

Windows desktop profiles default to %ProgramData%\dsh-data\profiles\desktop; the exact path is in DSH_PROFILE_DIR.

中文

第一个公开版本。给 DeepSeek Harness 的「设置 → 通用」加一行,用系统编辑器打开 ~/.dsh/AGENTS.md(Windows 上直接拉起记事本并把窗口提到前台)。无遥测、不联网、不改文件本身。安装方式见上:拷到 profile 的 node_modules/@local/agents-md-settings,在 cordis.patch.yml 里加一行 insert,重启即可。