deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
DSH (DeepSeek Harness) Web 客户端插件:在聊天界面左侧添加一条消息指针导轨,每条用户消息对应一个短横条标记,点击可快速跳转到对应消息位置,鼠标悬停显示消息预览气泡。
A DSH Web client plugin that adds a vertical message pointer rail to the left of the chat area. Each user message gets a clickable dash marker that scrolls to that message; hover shows a preview bubble.
在市场里搜索 dsh-nav-pointer 一键安装。与其他插件一致,多数情况刷新页面即生效。
dsh plugin --profile web add dsh-nav-pointer
该命令会安装到 ~/.dsh/profiles/web,并因为本包声明了
dsh.bundle.patch,自动把 dsh-nav-pointer 追加进
dsh.profile.bundles。重启 dsh web 生效。
若 pnpm ≥11 报
minimumReleaseAge(安全等待期),是新发布的包触发的策略,可一次性放行:dsh plugin --profile web add dsh-nav-pointer --config.minimumReleaseAge=0
git clone https://github.com/kongdexu/dsh-nav-pointer
cd ~/.dsh/profiles/web
dsh plugin --profile web add link:/path/to/dsh-nav-pointer
用 --config.minimumReleaseAge=0 同理。
lib/
index.js # Host 端入口(client-only 插件,host 为空实现)
client.js # Client 端入口,挂载 shell.overlay 槽位,渲染指针导轨
types/
index.d.ts # Host 类型
client/index.d.ts # Client 类型
cordis.patch.yml # Cordis profile patch,把插件插入 bundle 树
package.json # 包元信息,含 dsh.bundle / dsh.client 字段
shell.overlay(frame-wide 浮层,list 槽位,不替换任何内置 UI)[data-conversation-scroll](DSH 对话区域公开约定的稳定属性)[data-chat-flow-kind="user"]requestAnimationFrame 循环每帧读取 getBoundingClientRect(),签名变化时重算位置MutationObserver 监听消息列表变化,scroll 事件(capture 阶段)更新气泡位置无浏览器即可跑加载契约冒烟测试:
npm test
它会用 mock 的 window.__ModuleLoader__ + React + document 加载
lib/client.js,断言插件导出 { name, inject: ["slots"], apply }、
apply() 正确注册 shell.overlay 槽位,且注入的 CSS 符合当前规格。
ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION:本包(或 profile 里其他新发布包)在 pnpm 24h 安全等待期内,用上文一次性放行参数重试一次即可。dsh.profile.bundles 里含 dsh-nav-pointer,且当前会话存在用户消息(无用户消息时不渲染);清空聊天后重新发送一条再看。position: fixed 且 width:240px,不受导轨 36px 窄列影响。更多实现细节见 docs/DEVELOPMENT.md,变更记录见 CHANGELOG.md。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。