nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:LucienLL/dsh-session-memo
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH(DeepSeek Harness)Web UI 插件 —— 对话侧边备忘录:把当前会话工作区的 GitHub 同步状态 / npm 发布状态 / 项目版本 / 手动备忘标签 汇总到一个可随时呼出的浮动面板。
behind>0 || dirty>0 时状态为琥珀色(文案如「落后 2 · 3 个未提交」),有冲突显示红色,完全同步显示绿色「已同步」。# 在你的 DSH profile 下(以 web 为例)
dsh plugin --profile web add dsh-session-memo
# 或本地开发(在仓库目录内执行):
dsh plugin --profile web add .
重启 dsh web 后生效。
| 侧 | 文件 | 职责 |
|---|---|---|
| host | lib/index.js |
注册 settings namespace dsh-session-memo + GET /dsh-session-memo/probe 路由 |
| host | lib/memo.js |
纯逻辑(git porcelain 解析 / semver 对比 / package.json 解析)+ MemoService 编排(git 只读探测、fs 读 package.json、fetch npm registry) |
| browser | lib/client.js |
conversation.session.header.actions 入口按钮 + shell.overlay 浮动面板 + settingsScope 读写 |
status --porcelain=v1 -b / log -1 / remote -v / rev-parse --show-toplevel),绝不写仓库;npm 只 GET registry;fs 只读 package.json。{ overrides: {<sessionId>: {version,note,publishedAt}}, tags: {<sessionId>: string[]} })。node --check lib\index.js lib\memo.js lib\client.js
node test\memo.test.mjs # 纯逻辑单测(git 解析/semver/package.json)
node test\probe.test.mjs # MemoService 编排单测(假 subprocess/fs)
node test\client-shape.test.mjs # client inject 契约(服务名,非包名)
node test\client-apply.test.mjs # 槽位注入 + namespace 绑定契约(锁住面板实际能否出现)
node test\probe-smoke.mjs # 真实 npm registry 冒烟(可选,需网络)
组合验证:dsh --profile web --patch <repo>\cordis.patch.yml --dump-config 应输出 - id: dsh-session-memo 行。
pwsh -File scripts\publish-interactive.ps1 # 交互式终端:npm WebAuthn 设备流(需先配置 npm token)
发布清单见 RELEASE.md。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session。