rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zbc0315/dsh-jargon-list
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness Web 用的持久化插件:把 agent 在任务里临时起的短名(黑话)和一个项目内的详细含义记在一张表里,人和 agent 共用同一份数据。
jargon_list / jargon_save / jargon_delete。<工作区>/.dsh/jargon.json,可读、可 diff、可随仓库提交。Agent 做研究或执行任务时,常给一段复杂流程起个短名(“三件套”“跑一轮”)。这类名字只在当前项目里有意义:
黑话单让「起名」这个动作顺手落成一条可查的记录。
dsh plugin --profile web add @tom2012/dsh-jargon-list
或者让 agent 用 plugin_manager(action: install_bundle,target 传 @tom2012/dsh-jargon-list)。
装完刷新 Web 页面即可。
兼容性:engines.dsh 声明为 >=0.2.1-rc.5 <0.3.0-0,已在 0.2.1-rc.5 与 0.2.2-rc.1 上实测
(路由、三个工具、右侧栏页签注册、boot graph 下发全部通过)。0.3.x 未验证,会被有意挡在外面。
git clone https://github.com/zbc0315/dsh-jargon-list.git && cd dsh-jargon-list
npm install # 只为构建 client/bundle.js(esbuild + react)
npm run verify # build + check + node --test + 清单自检
dsh plugin --profile web add "$PWD"
改完 src/client/** 后要重跑 npm run build(产物 client/bundle.js 进仓库,安装时不构建)。
+ → 指南卡片 → 「黑话单」。只给工具是不够的:jargon_save 是"元行为",没有任务驱动,模型不会主动想起它(实测装了 5 天、18 个项目全空)。所以 0.1.3 补了两段提示词:
A. 固定指令(systemPrompt.section,约 690 字符 / ≈170 token,常驻)——告诉模型:本项目有黑话单,给多步流程起简称时立刻 jargon_save(写具体步骤/范围/产出,不写词典释义),遇到陌生简称先 jargon_list,别记人人皆知的术语。
B. 已有条目(systemPrompt.context,动态)——把条目按「简称 — 一句话」注入运行时上下文,每条最多 160 字符、最多 40 条、整段上限 2400 字符,超出提示用 jargon_list 查全部。
renderContextSections 只保留非空文本),所以没用过的项目零开销。system-prompt/assemble 装配瀑布里先 await 读一次(同一工作区去重、2 秒上限)再放行;另外 agent 创建时预热一次。写操作落地后由 store 订阅即时更新,手改 JSON 超过 30 秒会自动重读。''、瀑布继续 next()),最坏情况是这一轮少一段黑话,不会让对话失败。对话正文里出现已记录的黑话词时,那个词显示成蓝色(带细虚线下划线),鼠标移上去浮出解释卡片。
[data-text-interaction-source]),工具卡、侧栏、输入框都不碰;pre/code/链接/公式,代码块里的词不会被染色;<span>,选中与复制不受影响;为什么是 DOM 层:客户端没有"改消息正文渲染"的扩展点(Service/Event 里都没有 markdown 或消息装饰服务),
conversation.chat.text-interaction是选中交互面、conversation.chat.node要整体接管节点渲染, 所以选择在已渲染正文上做后处理。
{
"version": 1,
"terms": [
{
"id": "9f2c1d7a4b6e8c05",
"term": "三件套",
"definition": "研究前置三步:先查既有实现,再读相关文档,最后跑一次现状测试。",
"createdAt": "2026-11-08T08:12:00.000Z",
"updatedAt": "2026-11-08T08:12:00.000Z",
"updatedBy": "agent"
}
]
}
term:trim 后 1–80 字;同一文件内大小写/全半角不敏感唯一。definition:trim 后 1–4000 字,内部换行保留。updatedBy:user | agent,只用于展示与追溯。cwd),不跟随 agent 的 cd。
在会话里 cd 到别的目录不会把黑话单“搬走”。revision,外部改动最多 2 秒后可见。src/host/ store(纯逻辑)/ routes(同源 HTTP)/ tools(agent 工具)/ index(装配)
src/client/ index(页签与入口)/ panel / api / workspace / i18n / icons / styles
client/ bundle.js(构建产物,提交进仓库)
tools/ build.mjs(esbuild 打包)/ check-package.mjs(清单自检)
test/ node --test
docs/ 设计稿、实施计划、接口契约、验证记录
npm run build:src/client/index.js → client/bundle.js(ModuleLoader 协议)。npm test:node --test test/*.test.js。npm run check:node --check 全部 Host 文件与 bundle。npm run verify:以上全部 + 清单自检。设计与决策见 docs/superpowers/specs/2026-11-08-jargon-list-design.md,
接口契约见 docs/contracts/api.md。
# 1. 改版本、跑验证
npm version patch --no-git-tag-version # 或 minor / major
npm run verify
# 2. 提交并打 tag
git commit -am "chore: release $(node -p "require('./package.json').version")"
git tag "v$(node -p "require('./package.json').version")"
# 3. 发布
npm publish --access public
# 4. 推 GitHub(网络正常时)
git push origin main --tags
本机到 github.com:443 的 git 通道被挡时,用 tools/push-via-api.mjs 走 Git Data API 落历史:
node tools/push-via-api.mjs zbc0315/dsh-jargon-list "$(gh auth token)"
注意:npm 已 GA staged publishing。部分账号第一次发布会先在 registry 里出现一个
0.0.0-stage 占位版本(“Temporary package placeholder for staged publishing”);如果账号被要求审核,
发布会进入 stage 队列,需要维护者用 2FA 在 npmjs.com 或 npm stage approve <stage-id>
(npm CLI ≥ 11.15)批准后才会对外可安装。
MIT。验证记录、设计稿、接口契约都在 docs/ 里(不随 npm 包发布,仓库里可读)。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。