DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Rpg Workstation — DSH Plugin for DeepSeek Harness
← Plugins

dsh-rpg-workstation

Rpg Workstation

Game-ify your DeepSeek Harness: earn XP per conversation turn, level up, unlock achievements and keep daily streaks, with a floating RPG dashboard in the web UI.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Jay-R-J/dsh-rpg-workstation#84fc0dec315470f4ede619223a79d2f64e103515
READMECompatibilityVersions

Compatibility and provenance

Rpg Workstation is published as dsh-rpg-workstation and currently resolves to version 0.3.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/20/2026

Versions

0.3.0

README

dsh-rpg-workstation

把 DeepSeek Harness 变成一个 RPG 工作台:每次完成一个对话回合就获得经验值,升级、解锁成就、保持每日连击,右下角浮动的游戏面板实时展示你的“战绩”。

Game-ify your DeepSeek Harness usage — earn XP per completed conversation turn, level up, unlock achievements and keep daily streaks, with a floating RPG dashboard in the web UI.

截图: alt text


环境要求

依赖版本说明
Node.js≥ 18构建与运行
pnpm任意较新版本仅 dsh plugin 命令需要(没有也能手动安装,见下文)
DeepSeek Harnessweb profile插件面向 dsh web 界面

安装

前置:先全局安装 dsh 命令行工具。没有它就没有 dsh plugin / dsh web 这些命令:

npm install -g @deepseek-ai/dsh

之后一条命令安装本插件:

dsh plugin --profile web add dsh-rpg-workstation

dsh plugin add 会自动把包加入 profile 层叠(包声明了 dsh.bundle.patch),无需手写补丁。

安装完成后重启 dsh web,界面右下角就会出现 RPG 面板。

卸载:

dsh plugin --profile web remove dsh-rpg-workstation

原理:dsh 的 profile 由一层层补丁拼装。cordis.patch.yml 里的 - insert: 是标准补丁写法,id 是该行的稳定句柄,name 是 loader 要解析的 npm 包名(必须先装进 profile 的 node_modules)。客户端 bundle 由 dsh 的 dsh.client 扫描自动打包,所以 lib/ 产物 + dsh 两个字段就够用了。


使用方法

面板挂在右下角(shell.overlay 插槽),一切都是自动的——聊着聊着就攒经验:

操作效果
正常对话 / 让 AI 干活每完成一个回合 +10 XP;回合内每调用一次工具额外 +2 XP(上限 +20)
点击面板头部折叠 / 展开
按住头部拖动把面板移到任意位置
点击成就圆点区展开详情:本周柱状图、每日任务、统计、成就列表、存档导入/导出
升级瞬间等级数字轻放大 + 「升级 Lv.N」浮出(里程碑等级 5/10/15 有专属彩蛋)
全成就解锁称号变「圆满」+ 高亮彩蛋

功能一览

  • 经验与等级 — 每回合 (10 + min(20, 工具数×2)) × 连击加乘;level = floor(sqrt(xp/100)) + 1
  • 连击加乘 — 连击 3 / 7 / 30 天 → XP ×1.1 / ×1.25 / ×1.5
  • 14 个成就 — 对话数、等级、工具调用、文件写入、连击、单日回合、深夜/清晨各成一档
  • 每日任务 — 对话达人 / 工具狂人 / 保持连击,每完成一个 +20 XP,次日刷新
  • 称号系统 — 新手 → 学徒 → 冒险者 → 勇者 → 大师 → 传说(全成就时「圆满」)
  • 每周报告 — 最近 7 个自然日柱状图(以 XP 为高度)+ 周汇总
  • 存档导出 / 导入 — 一键下载 rpg-data-YYYY-MM-DD.json,导入自动归一化(旧版/手改存档不留空洞)
  • 持久化 — ~/.dsh/rpg-data.json(尊重 $DSH_HOME),原子写入 + 串行队列,崩溃不损坏
  • 界面克制 — 宿主主题变量、无 emoji 噪音、prefers-reduced-motion 支持

架构

┌─ Host (Node.js) ────────────────────────────────────────────┐
│ apply(ctx)                                                  │
│  ├─ ctx.on('session/event')  → turn/end(completed)          │
│  │     → registerCompletedTurn()  (+XP, 连击, 成就, 任务)     │
│  │     → updateWeekHistory()     (按活跃日累计周历史)          │
│  │     → saveSoon()              (timer.debounce + ctx.effect)│
│  └─ webServer.register × 3                                   │
│       ├─ /rpg-workstation/state.json → computeSnapshot       │
│       ├─ /rpg-workstation/export     → 原始存档 JSON          │
│       └─ /rpg-workstation/import     → normalize + 落盘      │
└──────────────────────────┬──────────────────────────────────┘
                           │ 同源 fetch(纯 JSON)
┌─ Client (Browser) ───────▼──────────────────────────────────┐
│ apply(ctx)                                                  │
│  ├─ styles 注入 style.css(命名空间隔离)                      │
│  └─ slots.inject('shell.overlay')                            │
│        → <Dashboard/> 每 2s 轮询                              │
│             ├─ 等级/称号/经验条/连击/每日任务/周报/成就          │
│             └─ 升级轻提示 + 圆满彩蛋                           │
└─────────────────────────────────────────────────────────────┘
  • Host 面(src/index.ts)负责后端:监听会话事件、算分、落盘、状态/导出/导入路由。
  • Client 面(src/client/)负责界面:插槽注册、样式注入、轮询渲染。
  • 两端类型(src/shared/types.ts)单一定义快照结构,改一处另一侧立刻类型报错,防止漂移。

玩法公式

项目公式
每回合经验(基础 +10 + 工具加成 min(20, 工具数 × 2)) × 连击加乘(turn/end 且 reason.kind === 'completed')
连击加乘连击 3 / 7 / 30 天 → ×1.1 / ×1.25 / ×1.5
等级level = floor(sqrt(xp / 100)) + 1
升下一级阈值level² × 100(xpAtLevel(level+1))
当前级跨度(2·level − 1) × 100(进度条分母)
连击当天首次 → 1;连续每天 → +1;中断一天 → 归零
称号1-2 新手 / 3-4 学徒 / 5-6 冒险者 / 7-9 勇者 / 10-14 大师 / 15+ 传说
行为统计累计工具调用(tool/call)、文件写入(write/edit)、今日回合

License

MIT

stable
8/21/2026
0.1.2stable
8/17/2026
0.1.1stable
8/17/2026
Show 1 more versionCollapse versions
0.1.0stable
8/17/2026

Related plugins

More verified plugins in ui-customization.

Better Sidebardsh-better-sidebarDSH web plugin: a VSCode-like right sidebar (explorer / editor / terminal / git / browser), isolated per conversation session. Exposes a service for other plugins to register sidebar tabs and file viewers.Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH WebDafeiyudsh-dafeiyuA desktop-native BigFish companion driven by DeepSeek Harness session events.Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)
Latest
0.3.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
32
Last push
8/17/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in