rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:loommii/dsh-input-history
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
简体中文 · English
终端式输入历史,用 ↑/↓ 翻查本会话发过的消息。
纯客户端插件,无宿主侧改动,同时适用于 DSH Web 与桌面客户端 — /history 指令提供可搜索的历史面板。
本插件给每个会话注入两条互补的输入历史召回通道:
/history 历史面板 — 可搜索的悬浮列表,支持鼠标点选与键盘操作| 操作 | 效果 |
|---|---|
| ↑ / ↓(空输入框或光标在最前) | 开始翻查,取回最近一条已发送消息 |
| Esc | 还原草稿并退出翻查 |
/history 面板| 方式 | 召回语义 |
|---|---|
斜杠菜单选中 /history |
插入模式:消息插入到 /history 词元位置,前后文保留 |
面板支持搜索过滤、鼠标点选与 ↑/↓ + Enter 操作;Esc 或点击面板外取消。
数据读取自当前会话的完整日志(含分页),按会话严格隔离;相邻重复消息自动折叠。
从 NPM 安装(DSH >=0.2.2-rc.2):
dsh plugin --profile web add @loommii/dsh-input-history@0.4.0
或从 GitHub 安装:
dsh plugin --profile web add github:loommii/dsh-input-history
安装后,插件列表显示为 输入历史 (@loommii/dsh-input-history)。
0.4.0 起只支持 DSH >=0.2.2-rc.2,直接使用当前公开的 conversation.input.for()、remote.session.events、sessions、slots(含 inputActions)和 inputTriggers 接口,不再保留旧版本兼容分支。
| DSH 版本 | 状态 | 说明 |
|---|---|---|
>=0.2.2-rc.2 |
✅ 支持 | 0.4.0 的最低版本;开发与验证基线为 0.2.2-rc.2 |
0.2.2-rc.3 |
✅ 支持 | 最新候选版(npm next 标签);已按发布产物逐包核对,本插件用到的接口与 0.2.2-rc.2 完全一致;GUI 验证基线仍是 0.2.2-rc.2 |
<0.2.2-rc.2 |
❌ 不支持 | 请继续使用 0.3.1(最后一个兼容 0.1.7-rc.1+ 的版本) |
0.4.0 的破坏性变更:
0.1.7-rc.1 提升到 0.2.2-rc.2remote 服务注入、旧服务形状探测、旧主题 token 回退remote.session.events(page 已弃用)以及槽位 inputActions / captureInsertion() / insertText(),移除手写 DOM 光标探测和 RuntimeDraft 镜像/history 词元直到选中历史行,选中后只替换该词元,保留周围内容与撤销历史npm 的
latest当前指向0.2.2-rc.1,next指向0.2.2-rc.3(0.2.2-rc.2已不在任何标签上,只能显式写版本号);安装 DSH 时请显式指定版本。升级 DSH 后请整页刷新 GUI。
如果你的 DSH 早于 0.2.2-rc.2,请继续使用 0.3.1:
dsh plugin --profile web add @loommii/dsh-input-history@0.3.1
安装后重启 profile(dsh web / dsh --profile <name>)。
升级 / 卸载:
dsh plugin --profile web update @loommii/dsh-input-history
dsh plugin --profile web remove @loommii/dsh-input-history
聚焦任意会话的聊天输入框:
/history 并从斜杠菜单选中,或直接回车:打开历史面板。本插件是纯客户端 UI:历史通过 remote.session.events 从宿主完整会话日志分页读取(按会话隔离缓存),回填优先使用槽位 inputActions(setDraft / insertText),源回调兜底使用 conversation.input.for(actx)。
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。