deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:JunguangJiang/ds-whale-ui
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
一只会在 DeepSeek Harness Web UI 里游动的鲸鱼运行指示器:会话思考/执行工具时,DeepSeek 同款品牌鲸鱼(官方 logo 矢量形状,品牌蓝 #4D6BFE)出现在输入框上方(取代内置的 "Deep diving..." 状态行),沿一条细水线左右巡游;任务结束时它跃出水面再潜入水下。
A swimming whale running indicator for the DeepSeek Harness Web UI: 🐳 appears above the composer (replacing the built-in "Deep diving..." status line) while the agent is thinking or running tools.
conversation.input.dock 插槽——输入框正上方的整宽行,随会话存在/消失;内置 "Deep diving..." 状态行被插件隐藏,位置与无障碍语义(role="status" + aria-live="polite")由鲸鱼接管todos projection,即 todo_write 的计划面板数据)时,鲸鱼的巡游区间随完成度向右扩展(18% 起步 → 100%),水线同步点亮为进度条——鲸鱼游多远 = Agent 干到哪了;hover chip 里也会显示 已完成/总数。没有清单时巡游全宽,不受影响pointer-events: none(仅 🐳 本体可悬停/点击),绝不遮挡阅读或输入# 1. 构建客户端 bundle
npm run build
# 2. 安装进 web profile(本地 link 安装)
dsh plugin --profile web add /absolute/path/to/ds-whale-ui
# 3. 重启 dsh web 生效
修改 src/ 后重新 npm run build,浏览器刷新即可看到效果(bundle 以 no-cache 服务,HMR 自动 rehash)。
DSH 插件使用 pnpm / npm 包 的方式分发,用户通过 dsh plugin CLI 安装。
# 确保 package.json 里的 name / version / files 正确
npm publish # 公开包
# 或
npm publish --access public # scope 包首次发布需要 --access public
用户安装:
dsh plugin --profile web add ds-whale-ui
# 重启 dsh web
# 推送到 GitHub 仓库(确保有 build 产物或配置了 prepare script)
git init && git add -A && git commit -m "initial"
git remote add origin git@github.com:yourname/ds-whale-ui.git
git push -u origin main
用户安装:
dsh plugin --profile web add github:yourname/ds-whale-ui
# 重启 dsh web
注意:GitHub 方式安装时 pnpm 不自动运行
prepare/build脚本(安全限制)。需要在 profile 目录的pnpm-workspace.yaml里加allowBuilds: ["ds-whale-ui"],或直接把构建产物 (client/目录)提交到仓库。
dsh plugin --profile web add /absolute/path/to/ds-whale-ui
# 或使用相对路径
dsh plugin --profile web add ./ds-whale-ui
dsh plugin --profile web remove ds-whale-ui
# 重启 dsh web
package.json 的 name 字段是你想要的包名"dsh": { "bundle": { "patch": "./cordis.patch.yml" } } — 声明自己是 DSH bundle"files" 字段包含 index.js、client/、cordis.patch.yml、README.md"exports" 映射了 .(host)、./client(browser)、./cordis.patch.yml(patch layer)npm run build 能成功生成 client/client.js@deepseek-ai/dsh-settings、@deepseek-ai/schemastery)声明在 dependenciesindex.js):注册持久化设置命名空间 ds-whale-ui(Schemastery schema:enabled / intensity / showElapsed / color / customLogo)client/client.js):注册进官方 conversation.input.dock 与 settings.section 插槽;运行状态全部取自标准 useSession selector(running / partial / runningCalls / turnTimings / nodes)+ useProjection('todos')(进度联动),不直接绑定任何内部 storesettings.yaml,渲染时替换 SVG 品牌鲸鱼MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。