dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
在每轮对话末尾添加产出文件按钮(用系统默认程序打开),并提供可在轮次间快速跳转的悬浮圆点导航栏。
A DeepSeek Harness (dsh) web plugin that adds two tools to the chat interface:
host.openPath API).@deepseek-ai/dsh) with the web profile.Via dsh plugin add (npm package or git URL), or install manually:
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/.cordis.patch.yml to $DSH_HOME/profiles/web/cordis.patch.yml.lib/client.js registers two slots via the slots service:
conversation.chat.turnTail — reads turn.data.get('deliverables') and renders one button per deliverable.shell.overlay — a MutationObserver scans [data-dsh-turn-anchor] elements to build the dot rail.exports.inject = ['slots'] (cordis service names); connection is fetched lazily via ctx.get('connection') at click time.Buttons / dots don't appear after installing.
window.__DSH_BOOT__.entries in the browser console: the dsh-turn-tools entry should be active, with no waiting for services note.How do I uninstall?
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/, remove the turn-tools insert entry from $DSH_HOME/profiles/web/cordis.patch.yml, and restart dsh.一个 DeepSeek Harness(dsh)web 插件,为聊天界面增加两个工具:
host.openPath API)。@deepseek-ai/dsh),使用 web profile。可通过 dsh plugin add 安装(npm 包或 git URL),或手动安装:
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/。cordis.patch.yml 的内容追加到 $DSH_HOME/profiles/web/cordis.patch.yml。lib/client.js 通过 slots 服务注册两个 slot:
conversation.chat.turnTail — 读取 turn.data.get('deliverables'),为每个产出渲染一个按钮。shell.overlay — 用 MutationObserver 扫描 [data-dsh-turn-anchor] 元素构建圆点栏。exports.inject = ['slots'](cordis 服务名);connection 在点击时通过 ctx.get('connection') 延迟获取。安装后按钮 / 圆点没有出现?
window.__DSH_BOOT__.entries:dsh-turn-tools 条目应为 active,且没有 waiting for services 提示。如何卸载?
$DSH_HOME/profiles/web/node_modules/dsh-turn-tools/,从 $DSH_HOME/profiles/web/cordis.patch.yml 中移除 turn-tools 的 insert 条目,然后重启 dsh。MIT