dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
A DSH (DeepSeek Harness) web plugin that moves session archiving out of the kebab (⋮) menu and onto the workspace sidebar row itself, as a two-step inline button:
The archive item is removed from the ⋮ menu — archiving lives only on the row, never buried in a submenu.
ctx.workspaces.archiveSession), so behavior and permissions are identical.From the DSH plugin market (recommended):
dsh plugin --profile web add github:bainianlaoyao/easy-archive # GitHub distribution
dsh plugin --profile web add dsh-easy-archive # npm distribution (prebuilt; skips allowBuilds)
…or add it manually to the web profile's package.json:
{
"dependencies": { "dsh-easy-archive": "github:bainianlaoyao/easy-archive" },
"dsh": { "profile": { "bundles": [ "...", "dsh-easy-archive" ] } }
}
then pnpm install in the profile directory and restart dsh web
(new plugins enter the window.__DSH_BOOT__ graph at boot; later edits to
lib/client.js hot-apply on refresh).
The host half (lib/index.js) is an inert plugin row that carries the
dsh.client declaration into the profile's loader graph; the browser half
(lib/client.js) observes the sidebar DOM and, for every rendered session
row:
ctx.sessions.list snapshot by
display title (disambiguated by the rendered relative-time bucket when
titles repeat),Clicking the button never bubbles to the row's "open session" handler.
node scripts/smoke.mjs # validate the browser bundle shape
node scripts/check.mjs # (alias) syntax + smoke
pnpm install,
restart dsh web.Other dsh plugins by the same author, all listed in the dsh plugin market:
dsh-codex-mode — a Codex-shaped
coding mode for GPT-family models: exec_command / write_stdin / apply_patch /
view_image, both OpenAI routes (Chat Completions and Responses), and graphical
subagent types.dsh-llm-api-pool — pool several
OpenAI-compatible API keys and hot-switch by remaining balance.dsh-session-robustness —
keep long sessions recoverable.dsh-bash-on-windows — make Git
Bash the only, honestly named terminal tool on Windows.MIT