其他
完整应用
deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
DeepSeek Harness 会话头部「目录」tab:把当前会话的用户消息历史整理成可点击的目录,点击任意条目即可跳回聊天视图并定位到对应消息。
user 消息),过滤 Tool / Thinking / Command / 注入上下文等噪音,长 Agent 会话也能保持导航价值。conversation.view 槽位的会话 tab(与官方「轨迹」tab 并列),不占用 details 槽位,官方"点击工具调用看输入/输出详情"面板完全不受影响。# 在 profile 中安装(例如 web)
dsh plugin --profile web add dsh-chat-history
然后在该 profile 的 cordis.patch.yml 中启用:
- insert:
- id: chat-history
name: 'dsh-chat-history'
重启 dsh web 后,打开任一会话,会话头部标签栏出现「对话 / 轨迹 / 目录」,点「目录」即可使用。
若插件已发布到 npm,
dsh plugin --profile web add dsh-chat-history会从 registry 安装;本地开发可直接指向目录:dsh plugin --profile web add "file:./dsh-chat-history"。
window.__ModuleLoader__.load({ id, factory }) 手写 bundle,无需构建工具。lib/client.js 内容后无需重启:profile 自带的 client-hmr 每 500ms stat 轮询 bundle,文件变化自动热更新(约 1 秒生效)。package.json 的 dsh.client 声明、新增插件、改 cordis.patch.yml 启用状态时需要重启 dsh web。s.chat.order + s.chat.nodes.get(key),过滤 kind === "user"。data-chat-anchor-key,直接按 key 查询即可。session.loadOlder() 每页 50 条,hasMore / loadingOlder 驱动自动翻页,连续 3 次无新节点即停止(防 host 异常死循环)。scrollIntoView + 高亮。MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。