rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lijajiu9205-collab/dsh-history
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness(dsh)加一个「文言文」开关:打开后模型改用文言行文,并在下段附白话译注;同时化身一只蓝色古风、惯吃白饭的大肥鱼。开关按对话独立,每个对话各自记住自己的状态。
开关打开时,回答固定两段(示例就是用户只说 hi 的真实体量):
本鱼安好。君欲何言?
——
(译注)我很好。你想说什么?
hi、hello)或任何语言,都照文言体例作答。开关关闭时,一律现代汉语正常作答,人格随之隐去,不残留「本鱼」口吻与「——译注」格式。
Web / headless 版:
dsh plugin --profile web add github:lijajiu9205-collab/dsh-history
或用 Release 里的预构建包(.tgz,免构建授权,也可直接下载):
dsh plugin --profile web add "https://github.com/lijajiu9205-collab/dsh-history/releases/download/v0.1.2/dsh-wenyan-0.1.2.tgz"
桌面版(desktop profile 由 Electron 应用专管,dsh plugin --profile desktop add 会被拒绝):
推荐:装 dshmarket 插件市场,在「发现」里搜索本插件一键安装;
或用本仓库自带的安装器(把插件暂存到 $DSH_HOME/plugins/dsh-wenyan,在 profile 的 package.json 里写 link: 依赖并在 node_modules 建链):
node scripts/install.mjs # 默认装进 desktop profile
node scripts/install.mjs --profile tui # 装进别的 profile
装完重启 DSH 生效。
/wenyan(查状态)、/wenyan on、/wenyan off。开关状态存在 $DSH_HOME/dsh-wenyan/state.json:
{
"default": false,
"sessions": {
"<会话 id>": true
}
}
default 是未显式设置过的对话的默认值,sessions 记录每个对话自己的开关。删掉该文件即恢复全部关闭。
lib/index.js 宿主半身:系统提示词段落 + 开关桥(HTTP)+ /wenyan 命令
lib/client.js 浏览器半身:输入框上方的开关(按会话注入 sessionId)
cordis.patch.yml 插件装载声明(dsh.bundle.patch)
icon.svg 图标
scripts/install.mjs 本地安装脚本(把本包装进某个 profile)
test/ 静态检查、宿主行为自检、浏览器行为自检
npm test # 三套自检:static / host / client
systemPrompt.section({ text: (context) => … }) 每轮求值,用 context.agent.session.id 查该对话的开关,因此每轮都会「看一眼当前对话的开关」。ctx.slots.register({ inject: (sessionId) => ({ sessionId }) }, …) 拿到会话 id,查询与写入都带这个 id。0.2.1-rc.2(已在 0.2.1-rc.2 上实测)。MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、模型。