dsh-cockpit
Verified@hg3992260/dsh-cockpit · v0.1.1 · MIT · Web UI
科研驾驶舱:dsh 会话实时数据总览(会话/工具/Skill/知识拓扑/布洛赫球)。安装即用——host 自动启动本地数据服务,侧边栏出现「科研驾驶舱」入口。
Install
dsh plugin add @hg3992260/dsh-cockpit Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
Creators
Readme
@deepseek-ai/dsh-cockpit
科研驾驶舱 —— DeepSeek Harness 插件,开箱即用。
安装后,dsh 启动时自动拉起本地数据服务(默认 http://127.0.0.1:3091/),侧边栏底部出现「科研驾驶舱」按钮。
功能
- 会话总览:Sessions / Agent / Skill / Tool 统计卡片与条形图、会话时间轴
- 对话详情:按文件夹分组的会话树、步骤记录表(时间/执行者/动作/技能/工具)
- 拓扑网络:Agent / Skill / 知识节点自动合并统计,3 种布局(类型分组 / 时间轴 / 布洛赫球),连线脉冲动画,文件路径节点呈闪烁恒星
- 自动更新:轮询
~/.dsh/sessions,新会话或内容变化自动触发节点出生 / 连线生长动画
安装
# 在 dsh web profile 下安装
dsh plugin --profile web add @deepseek-ai/dsh-cockpit
# 或在 profile 的 cordis.patch.yml 中注册
重启 dsh web 即生效。
配置(环境变量)
| 变量 | 默认 | 说明 |
|---|---|---|
DSH_HOME |
~/.dsh |
dsh 数据根目录,sessions 子目录为数据源 |
COCKPIT_PORT |
3091 |
服务端口 |
COCKPIT_SESSIONS |
$DSH_HOME/sessions |
会话数据目录 |
COCKPIT_ZSTD |
zstd |
zstd 可执行文件路径 |
COCKPIT_URL |
http://127.0.0.1:3091/ |
侧边栏按钮打开的地址 |
手动运行(不装插件)
node server/server.js
开发
npm pack # 本地打包验证
npm publish # 发布(需登录 npm)