Pular para o conteúdo principal
X

dsh-hr-workbench

xscanzm/dsh-hr-workbench

Runs a complete HR workbench inside DSH — a 3D office, recruiting pipeline (resume, interview, written test, score), employee roster, files, attendance, performance, training and analytics — with the site’s AI assistant answering through the model DSH already runs.

Instalar

dsh plugin --profile web add github:xscanzm/dsh-hr-workbench

README

dsh-hr-workbench

把整份 HR 工作台搬进 DeepSeek Harness:侧栏一个图标,主区域一整页。

HR 工作台

站点随插件一起发布(app/ 目录),装完即用,不用另外下载,也不用配路径。

安装

dsh plugin --profile web add github:xscanzm/dsh-hr-workbench

装完重载 DSH(或重启 web profile),侧栏出现「HR 工作台」,点开就是整站。

要求:DSH 的 web profile。

里面有什么

3D 办公室、招聘(看板、简历筛选、笔试、面试、综合成绩)、员工(花名册、异动、离职)、文件柜、考勤、绩效、员工活动、培训、人事分析、AI 助手,还有一个独立的智能员工场景(AGENT HQ)。

招聘看板

怎么接进来的

  • Host(index.js):把 app/ 挂到 /hr-workbench/app/...,并提供 /api/health、/api/ai/info、/api/ai——最后这个是 SSE,把请求流式转发给 DSH 当前配置的模型。
  • Client(client.js):侧栏 sidebar.panellist 图标 + 主区域整页 iframe。
  • Bridge(bridge.js):站点加载后注入,站点源码一行不动——把 window.AIC 的 ready / label / isClaude / stream 换成走 DSH 模型的实现,站内 AI 助手不用填 Base URL 和 Key;顺手在设置页的「AI 接口」上标一句「已接入 DSH 模型」,并藏掉几个在 DSH 里没意义的入口(AGENT HQ 链接、年会抽奖、3D/2D 切换条,固定 3D)。

所以视觉、路由、3D 都和浏览器里打开一模一样,只是 AI 助手换成了 DSH 正在跑的模型。

数据

全部在浏览器 localStorage(键前缀 hr-workbench),不上传服务器。清缓存或换浏览器会丢,插件不做云同步。

配置

无。AI 跟随 DSH 当前的模型设置。

开发

  • 改站点:在站点仓库改完,跑 npm run sync-app 把最新站点同步进 app/(默认读 ../workstation-hr,也可以传路径)。
  • 改插件代码后:在 DSH 里把插件关掉再打开,或重启。

许可

Apache-2.0,见 LICENSE。站点原始版本:xscanzm/hr-workbench。


English — An HR workbench inside DSH: a full static app (3D office, recruiting, roster, attendance, performance) served from app/, with the in-page AI assistant wired to the model DSH is already running. Install with dsh plugin --profile web add github:xscanzm/dsh-hr-workbench. Data stays in localStorage. Apache-2.0.

Plugins relacionados