EnkiduGilgamesh/dsh-codex-side-outline ↗★ 0
dsh-codex-side-outline
DeepSeek Harness plugin: a hoverable/clickable outline rail on the left of the chat column (one marker per turn, summary card on hover, click to jump).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:EnkiduGilgamesh/dsh-codex-side-outline说明文档
阅读完整 README ↗dsh-codex-side-outline
一个 Codex 风格的侧边大纲插件,用于 DeepSeek Harness 的聊天栏。它提取当前对话的大纲,以一条细轨的形式显示在中间栏(会话区)的左边缘、紧贴左侧边栏。
- 灰色短线 —— 每次对话一条短线,从上到下排列。悬停的那条最长,向上下两个方向逐级递减(共 5 档),整体像一个迷你地图。
- 悬停查看摘要 —— 弹出摘要卡片:
- 第一行 = 用户提问(加粗 + 品牌色左边线);
- 后续行 = 仅 agent 的最终回复(排除思维链/思考内容,以及工具调用前的中间叙述)。
- 点击跳转 —— 点击某条短线,会话区滚动到该轮次的用户提问。
- 翻页 —— 对话过多时出现 ▲/▼ 按钮,可上下滚动轨道。
- 轨迹视图自动隐藏,且实时跟随侧栏(拖拽/折叠侧栏时轨道同帧移动)。
包结构
这是一个可安装的 bundle(dsh.bundle),同时带有浏览器(client)半(dsh.client),遵循
官方插件指南。
| 文件 | 作用 |
|---|---|
package.json | bundle + client 清单(dsh.bundle.patch、dsh.client)。 |
cordis.patch.yml | 当某个 profile 引用此 bundle 时应用的补丁层。 |
index.js | host 半 —— 空入口(纯浏览器插件)。 |
client.js | 浏览器半 —— 大纲轨道 UI。 |
src/conversation-outline.client.js 是最初「进程内动态插件」的保留参考副本,仅供溯源,不随 npm 包发布。
安装
从 GitHub 安装到默认的 web profile:
dsh plugin --profile web add github:EnkiduGilgamesh/dsh-codex-side-outline
dsh web
或者先 clone 到本地目录,再从本地目录安装:
git clone git@github.com:EnkiduGilgamesh/dsh-codex-side-outline.git
cd dsh-codex-side-outline
dsh plugin --profile web add .
(可选)启动前验证补丁层:
dsh --profile web --dump-config # 应显示 "# == dsh-codex-side-outline" 层
⚠️ 必须重启才能生效。 Web 应用在启动时才会组装 client bundle 列表。执行
dsh plugin add(或修改本插件代码)后,请停掉正在运行的dsh web进程并重新 启动。仅刷新页面无法让新增或更新过的 bundle 加载。