liangl1985/work-personal-secretary

- 运行环境:DSH Desktop 2.0.9 / host 运行时 dsh 0.1.5-rc.1(cordis bundle 体系) - 设计目标:一个包、一个设置入口、一个面板;子项目可独立开发/验收,再由根层整合 - 版本:对外发布版 v1.0.0(集成体自身的语义化版本,与子模块版本解耦);当前开发版 1.1.4(按「不发布」收尾,见 CHANGELOG.md)。子模块当前版本以各自 package.json 为准(下表已同步为 2026-09-17 实测值);变更记录见 CHANGELOG.md,发布前逐项核对 RELEASE-CHECKLIST.md

catalog descriptioncatalog 简介 / catalog description:DSH(DeepSeek Harness)插件集合 · 工作秘书集成体:强记忆 + 强文档处理(Word/Excel/PPT/PDF)+ 20 位专家库 + 桌宠定制层。安装:git clone 后 dsh plugin --profile desktop add <克隆目录>/modules/work-personal-secretary,重启 DSH 后在「设置 → 工作秘书 → 安装与检查」装子模块。MIT。

Project Overview项目介绍

work-personal-secretary is a bundled suite of native plugins for DSH Desktop 2.0.9 (host runtime dsh 0.1.5-rc.1, cordis bundle architecture) targeting technical pre-sales, customer-support, accounting, and legal professionals. It integrates four independently installable sub-modules under one root entry, one settings page, and one panel: dsh-work-memory (v1.0.7) for three-tier long-term memory with TTL cold pre-audit and an Obsidian mirror; dsh-doc-suite (v0.7.12) for Word/Excel/PPT/PDF handling implemented as Python scripts plus DSH-native skills; dsh-experts (v0.5.10) shipping 19 personas across six domains with hard-capped keyword-driven injection (max 4); and workspace-tokenpet (v1.0.1), a self-contained desktop-pet module with three bundled skin sets. Installation is done via dsh plugin --profile desktop add <clone>/modules/work-personal-secretary, and sub-modules share zero runtime dependencies, so no npm install is required.

The runtime model is a strict supervisor-reader split: the main conversation only performs decomposition, dispatch, review, correction, and oversight, while heavy work is delegated to expert sub-agents. Users confirm their role with /expert setup <domain>, inspect scoring with /expert why <task>, and run /doc-doctor to verify Python and WPS COM. The memory store is shipped empty so users seed it themselves, with global-memory.seed.md and AGENTS.zh-CN.md provided as defaults, and sensitive industry content is handled directly by the main context rather than dispatched to sub-agents.

Operational caveats are significant: dsh-doc-suite requires Python ≥ 3.10 (3.12 recommended, py -3 on Windows) and WPS Office, neither auto-installed, and SKILL.md placeholders are resolved via doctor.py --emit-skill-paths. After editing code, you must bump the patch version then dsh plugin --profile <p> install --force, or delete ~/.dsh/profiles/<p>/node_modules/<module> and re-add, since file: dependencies cache aggressively. Host-side changes require restarting DSH, and profile JSON or ~/.dsh/settings.yaml must be rewritten with Node's fs to prevent BOM-related Unexpected token '\uFEFF' JSON.parse failures. License is MIT, with third-party attribution recorded per module in NOTICE.

work-personal-secretary 是一套面向 DSH Desktop 2.0.9(host 运行时 dsh 0.1.5-rc.1、cordis bundle 体系)的"工作秘书集成体"插件集合,采用"一个包、一个设置入口、一个面板"的根层整合架构。它把任务拆为记忆(dsh-work-memory v1.0.7)、文档处理(dsh-doc-suite v0.7.12)、专家库(dsh-experts v0.5.17,含 19 位专家/6 域)与桌面宠物形象(workspace-tokenpet v1.0.1)四个独立可装的子模块,再由根层统一挂载到 DSH。安装命令为 dsh plugin --profile desktop add <克隆目录>/modules/work-personal-secretary,子模块之间零运行时依赖,无需 npm install。

典型用法是主对话只做拆解、派单、核对与对外沟通,重活交给专家子代理执行;目标用户是技术售前/售后、会计、律师等文档密集型岗位。记忆库首装为空,由使用者自行写入人设、偏好与业务记忆;岗位确认需执行 /expert setup <域>,文档环境通过 /doc-doctor 自检 Python 与 WPS COM 通道;默认语言为简体中文,敏感行业由主上下文直接处理而不派子代理。

运行时约束较严:dsh-doc-suite 需 Python ≥ 3.10 与 WPS Office(两者不会自动安装),其余 JS 子项目零运行时依赖;改代码后须升补丁版本并 --force 重装或删 node_modules 目录复装,host 侧改动必须重启 DSH。许可证为 MIT,发布件不含个人化身份、私有路径与记忆数据,无遥测、不联网。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 3 warnings3 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:liangl1985/work-personal-secretary

把 liangl1985/work-personal-secretary 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

work-personal-secretary

工作秘书集成体(DeepSeek Harness 插件集合):面向通用工作者的「工作助手 / 工作秘书」——不是通用聊天插件,而是能替人干活的秘书。 垂直方向:技术售前 / 售后 / 会计 / 律师(四类知识密集、文档密集、流程密集的职业)。 运行架构是总控兼读制:主对话只做拆解·派单·核对·监督·纠正·对外沟通,重活交专家子代理执行。

  • 运行环境:DSH Desktop 2.0.9 / host 运行时 dsh 0.1.5-rc.1(cordis bundle 体系)
  • 设计目标:一个包、一个设置入口、一个面板;子项目可独立开发/验收,再由根层整合
  • 版本:对外发布版 v1.0.0(集成体自身的语义化版本,与子模块版本解耦);当前开发版 1.1.4(按「不发布」收尾,见 CHANGELOG.md)。子模块当前版本以各自 package.json 为准(下表已同步为 2026-09-17 实测值);变更记录见 CHANGELOG.md,发布前逐项核对 RELEASE-CHECKLIST.md

能力总览

# 能力 落点 状态
1 强记忆:三级记忆模型(全局永不遗忘 / 热记忆按 TTL 转冷 / 冷归档被用到即转热)+ 转冷预审 + 会话原生注入 + 右侧边栏面板 + Obsidian 镜像 modules/dsh-work-memory ✅ v1.0.7
2 强文档处理:Word(处理 + 比对/红线修订)/ Excel(处理 + 重算 + 透视)/ PPT(制作 + 排版)/ PDF(只读精确提取) modules/dsh-doc-suite(Python 脚本 + DSH 原生技能;宿主半只提供 /doc-doctor) ✅ v0.7.12
3 专家库:19 位专家 / 6 域(信息安全 4 · 财务 4 · 人力资源 1 · 代码编程 3 · 金融 2 · 通用职能 5);任务命中关键词才注入对口专家(注入上限 写死 4、设置页不提供该项,零命中不注入;身份由记忆承担,默认不常驻);默认注入精简卡(L1,约 0.4–0.7 千字符/位,expertInjectDetail=full 可切回全文),其余派子代理激活 modules/dsh-experts ✅ v0.5.10
4 桌面宠物形象:小秘书两套形象(纯欲乖巧=默认 / 慵懒性感)各 12 动作;插件支持多套装切换 + 「设为默认形象」;动作做到 pingPong 闭环、抠图无紫边/绿边、无背景底色 modules/workspace-tokenpet(独立项目模块,MIT;来源致谢见模块 NOTICE) ✅ v1.0.1
5 强思维链分析(方法 + 在思维过程中以流程图等形式展示) 候选评估中,见 00_项目主页/插件关注列表.md #7–#11(首选 dsh-flowglass) ⏳ 待评估

子项目

子项目 包名 状态 说明
modules/dsh-work-memory dsh-work-memory ✅ 可用(v1.0.7) 执行层长期记忆:三级记忆模型 + 转冷预审(到期前先判:保留 / 自然转冷 / 待判断)+ 会话原生注入 + remember/recall/link 工具 + 右侧边栏面板 + Obsidian 镜像。运行时 id 为 work-memory(包名与 id 均已中性化)
modules/dsh-doc-suite dsh-doc-suite ✅ 可用(v0.7.12) 文档能力:Word 处理+比对(红线修订)/ Excel 处理+重算+透视 / PPT 制作+排版 / PDF 只读精确提取。实现是 Python 脚本 + DSH 原生技能,宿主半只提供 /doc-doctor 自检入口
modules/dsh-experts dsh-experts ✅ 可用(v0.5.10) 专家库:19 位专家 / 6 域。默认一位都不常驻:任务命中关键词才注入对口 persona(expertInjectMax 写死 4、设置页不提供该项,零命中不注入),可调配置层范围,>1 提示占 TOKEN)或派子代理(expert_recall 把 persona 内联进 subagent.prompt);未命中则原生处理。来源为成熟开源件压缩/组合改写(MIT 17 · Apache-2.0+MIT 双许可 2 · Apache-2.0 1 · 自撰 1,合计 20),逐条记于 experts/index.json + NOTICE
modules/workspace-tokenpet workspace-tokenpet ✅ 可用(v1.0.1) 独立项目模块(源码 / 构建产物 / 文档 / 素材全部自持;由三方插件独立化,对上游只保留致谢,上游 MIT 版权与许可文本保留在模块 LICENSE):不依赖上游仓库、无需应用补丁。① 多形象套装运行时化(宿主扫描 ~/.dsh/data/workspace-tokenpet/skins/,manifest 校验 + 路径穿越防护 + 客户端解析 + blob URL 桥 + 设置面板);② 条带切帧修复(宿主透传 rows,否则客户端回退内置模板的 2 行 → 宠物显示"两个细长人影");③ UI 清理(移除 aura 环绕光圈 / meter 脚底横条);④ 默认形象 + 「设为默认形象」按钮。随包提供三套形象素材(default 上游内置 + 两套自有形象),安装时自动部署到运行时目录(只补缺失、不覆盖;新址缺套装时自旧址复制迁移)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-agent-compact 下一个 Next dsh-edit-turn →