DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-file-links

h

dsh-file-links

Manifest valid

DSH (DeepSeek Harness) plugin: Codex-style clickable file-reference chips in the conversation. Workspace files referenced by tools or mentioned in a reply render as icon chips under each assistant turn; click to open in the built-in preview.

UI (client)hasBundlePatch

dsh-file-links

DSH(DeepSeek Harness)对话文件引用插件:把每条 assistant 回复里被工具引用或正文提及的工作区文件,渲染为 Codex 风格的可点击 chips(类型图标 + 文件名),点击即用 DSH 内置预览打开。

English: README.en.md

功能

  • 自动提取:从三类来源确定性累积每轮引用的文件路径——① 工具结果的 locations(diff/edit 卡片)② 工具调用参数里的路径 ③ 回复正文的行内 code 提及
  • Codex 风格 chips:文件引用 标签 + 一行圆角小胶囊(按扩展名着色图标:TS/JS/MD/表格/图片…),hover 高亮,超出 8 个折叠为 +N
  • 点击即预览:复用 DSH 聊天视图自带 openFile(workspaces.openPath),零自建预览
  • 安全:渲染前经 Host 端 fs.stat 校验,只保留真实存在的普通文件(目录、噪声、不存在的路径自动过滤);绝对路径直开、相对路径按会话 cwd 解析,杜绝路径二次拼接
  • 主题适配:样式走 DSH 主题变量(--dsw-alias-*),浅色/深色主题均可读

安装

dsh plugin --profile web add github:<你的账号>/dsh-file-links

或本地源码:

git clone https://github.com/<你的账号>/dsh-file-links.git
# 将目录链接进 profile 的 node_modules,并在 profile 的 package.json 中:
# 1) dependencies 添加 "dsh-file-links": "file:<路径>"
# 2) dsh.profile.bundles 数组追加 "dsh-file-links"
# 然后重启 DSH

工作原理

  • Client 半:注册 conversation.chat.turnTail 链,通过 turn 级 ConversationNodeDefinition(kind file-links)累积路径,渲染 chips
  • Host 半:注册 /file-links/verify HTTP 路由,用 fs.stat 校验绝对路径存在性并只保留普通文件
  • 无业务写入、无敏感信息:插件只读取路径元数据,不读取文件内容、不上传任何数据

许可

MIT

Comments

Loading…

From the same category

dsh-purge

by kingcharleslzy-ai

Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 9.3k

MIT

JavaScript

Nov 16, 2026

dsh plugin --profile web add dsh-purge-community

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 7.8k

↓ 19.2k/wk

MIT

TypeScript

Nov 17, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by mmparko

DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。

Terminal & ClientsManifest valid

★ 5.2k

↓ 19.5k/wk

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-purge

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 5.2k

↓ 127.5k/wk

Apache-2.0

TypeScript

Nov 16, 2026

dsh plugin --profile web add dsh-context

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.8k

↓ 519/wk

Apache-2.0

TypeScript

Nov 17, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by c1overzz

DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你

Tools & CapabilitiesNotifications & IntegrationsTerminal & ClientsManifest valid

★ 1.4k

↓ 10.5k/wk

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-bili-scroll