whiteguo233/dsh-openbiliclaw ↗★ 35
@openbiliclaw/dsh-plugin
OpenBiliClaw DeepSeek Harness plugin: the user-consumption side (recommendations, delight, saved, Socratic chat, profile, probes, activity) as a web-GUI sidebar, plus agent-bridge tools and the openbiliclaw-adapter skill for closed-loop use inside DSH.
AI 분석
该插件用于在 DSH 中集成 OpenBiliClaw 的内容消费与对话功能。适合需要闭环分析与交互的用户,必要条件是需部署并运行 OpenBiliClaw 后端。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:whiteguo233/dsh-openbiliclaw截图(真实使用场景)
| 推荐 · 亮色 | 推荐 · 深色(跟随 DSH 主题) |
|---|---|
![]() | ![]() |
| 内容库 | 对话 | 画像 |
|---|---|---|
![]() | ![]() | ![]() |
| 设置 · 模型 | 设置 · 调度 | 设置 · 通用 |
|---|---|---|
![]() | ![]() | ![]() |
1. 界面槽位(当前 DSH 免配置)
面板渲染在两个加法槽位上,无需改 DSH 源码:
- 左侧按钮:
sidebar.footer.action(侧边栏底部、设置旁的附加动作) - 右侧抽屉:
shell.overlay(帧级浮层,滑出在详情/文件/变更面板之上,不占用任何列)
两个槽位都是官方 DSH 自带的 list 槽(当前官方 DSH 已移除旧的 aside 列),此步直接跳过。
DSH 0.1.0-rc.6+: 新增配置行必须放在 insert 下
- insert:
- id: openbiliclaw name: '@openbiliclaw/dsh-plugin' config: workdir: '/你的/OpenBiliClaw/项目目录' # 后端项目根目录(含 .venv 与 skills/)
`cordis.patch.yml` 的顶层是 patch 列表;不带 `insert` 的 `id` 条目会被当作已有配置行覆盖,找不到 `openbiliclaw` 时会被跳过。
### 3. 重启
```bash
dsh web # 重启 DSH Web 进程,刷新页面
面板内的「设置 → 通用 → 连接」可改后端地址(默认 http://127.0.0.1:8420,面板本地保存、立即生效;地址本身不要再附加 /api)。
配置项(cordis 行 config)
| 键 | 默认 | 说明 |
|---|---|---|
workdir | (必填) | OpenBiliClaw 后端项目根目录;bridge CLI 与 SKILL.md 都从这里解析 |
pythonBin | /.venv/bin/python | 用于调用 bridge CLI 的 Python |
skillPath | /skills/openbiliclaw-adapter/SKILL.md | adapter skill 文件 |
timeoutMs | 300000 | 单次 CLI 调用超时 |
stdoutMaxBytes | 2000000 | CLI 输出上限 |
构建
构建需要 DSH 源码 checkout(类型与打包 preset 都从那里解析;本仓库不是 pnpm workspace 成员):
tsc -p tsconfig.json # 先产出 lib/types
tsdown --env.DSH_BUILD_FACE client # node 半 + 浏览器半(window.__ModuleLoader__ 闭包)
tsdown.config.ts 引用了 DSH checkout 的 packages/client/tsdown.client.ts(clientBundle preset),首次构建前把该路径改成你的 checkout。
Agent 侧工具一览
openbiliclaw_recommend / openbiliclaw_append_recommendations / openbiliclaw_reshuffle / openbiliclaw_get_delight / openbiliclaw_respond_delight / openbiliclaw_submit_feedback / openbiliclaw_get_activity_feed / openbiliclaw_chat / openbiliclaw_get_chat_history / openbiliclaw_next_probe / openbiliclaw_respond_interest_probe / openbiliclaw_next_avoidance_probe / openbiliclaw_respond_avoidance_probe / openbiliclaw_get_profile / openbiliclaw_get_profile_edit_state / openbiliclaw_edit_profile / openbiliclaw_list_saved / openbiliclaw_save_local / openbiliclaw_remove_saved / openbiliclaw_get_runtime_status / openbiliclaw_get_platform_availability / openbiliclaw_get_capabilities
边界(有意不做)
- 平台源 / 爬取配置、源状态、池配比(这些属于主项目的「平台源」设置页)
- 同步到外部平台账号(本地收藏/稍后看始终本地优先,手动同步在主项目)
- 浏览器插件专属的设备配对、断开暂停等
相关链接
- 主项目:OpenBiliClaw · 项目主页
- DSH:DeepSeek Harness
License
友情链接
友情链接
English
A DeepSeek Harness (DSH) client plugin for OpenBiliClaw, the local-first cross-platform content-discovery agent. It adds a left-sidebar OpenBiliClaw button that opens a right-side drawer over the DSH web GUI (the sidebar.footer.action + shell.overlay seats) with the consumer side of OpenBiliClaw — recommendations with a hero delight banner, infinite scroll with prefetch, saved/history library, Socratic dialogue with interest/avoidance probes, the user profile card, and a settings surface aligned with the browser extension — and registers 22 openbiliclaw_* tools plus the openbiliclaw-adapter skill so DSH agents can drive the same backend in a closed loop. Cover images use the same backend image proxy as the browser and PC Web clients, with CDN URL normalization and a local fallback for failed loads. Crawling and source management intentionally stay in the main project. Requires DSH 0.1.0-rc.6 or newer (with the matching dsh-* ABI and @deepseek-ai/cordis ^4.0.1) plus a running OpenBiliClaw backend (Agent Bridge v2, default http://127.0.0.1:8420). When adding the plugin to cordis.patch.yml, wrap the row in a top-level insert entry; a bare id row is treated as an override and skipped when it does not already exist. See the Chinese section above for install, build and configuration details.
配置项(cordis 行 config)
| 键 | 默认 | 说明 |
|---|---|---|
workdir | (必填) | OpenBiliClaw 后端项目根目录;bridge CLI 与 SKILL.md 都从这里解析 |
pythonBin | /.venv/bin/python | 用于调用 bridge CLI 的 Python |
skillPath | /skills/openbiliclaw-adapter/SKILL.md | adapter skill 文件 |
timeoutMs | 300000 | 单次 CLI 调用超时 |
stdoutMaxBytes | 2000000 | CLI 输出上限 |







