rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Mark54s/dsh-regen
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A ChatGPT-style 重新生成 (regenerate) arrow for DeepSeek Harness. One click forks the turn and re-runs the same user prompt in the new session, so you get a fresh answer for the same question. The source session is never modified.
Existing regenerate plugins do not load on current DSH builds: one requires a client package that no longer exists, another is refused by the host's peer-dependency gate. dsh-regen is a tiny, self-contained bundle that only uses public seams, and it additionally covers the case the others miss:
It works on turns whose generation failed. A failed turn (rate limit, model rejected the reasoning effort, network error…) has no
assistant/messagein the log, so the official assistant icon row is never rendered for it — there is simply nowhere to click.dsh-regenrenders its arrow in the turn tail for those turns, and keeps exactly one arrow visible per turn.
↻ arrow in the icon row next to copy / branch — icon-only, no label, native tooltip.parentSession, the old session stays intact and is never touched.cwd, workspace membership and model route.# from GitHub
dsh plugin --profile desktop add github:Mark54s/dsh-regen
# from a local checkout
dsh plugin --profile desktop add /path/to/dsh-regen
# from npm (as soon as the first npm release is out)
dsh plugin --profile desktop add dsh-regen
Restart DSH afterwards (Desktop: menu 应用 → 重启 DeepSeek Harness). The plugin is a bundle: it declares dsh.bundle.patch, so installation registers it in dsh.profile.bundles automatically.
POST /regen (same-origin, served by the host half)
{ "sessionId": "session-…", "turn": 6 } // target one turn
{ "sessionId": "session-…", "messageId": "…" } // target the turn that produced a message
{ "sessionId": "session-…" } // default: last turn with a user prompt
{ "sessionId": "session-…", "parentSessionId": "session-…", "turn": 6, "hadAssistantReply": true, "cwd": "…", "notes": [] }
0.2.0-rc.2: boots without missing dependencies, and an end-to-end run (normal turn and failed turn) produced the branch with the prompt delivered exactly once.给 DSH 对话加一个 ChatGPT 式的「重新生成」箭头。 点一下,就从这一轮之前分叉出一个新会话,用同一个提问重跑一遍——原来的会话一字不动。
↻ 就在左下角那一排功能键里(复制、分支旁边),只有图标、没有文字,悬停有提示。:has() 规则保证同一回合只显示一个箭头。parentSession 保留谱系。sessionQuery / agents / sessions / workspaceRegistry / webServer,客户端只注册两个插槽条目。dsh plugin --profile desktop add dsh-regen # npm
dsh plugin --profile desktop add github:Mark54s/dsh-regen # GitHub
装完重启 DSH(桌面版:应用 → 重启 DeepSeek Harness)。
鼠标移到任意回合(包括失败的那一轮)下方的功能键区域,点 ↻ 即可;生成完成后会自动切到新会话。
conversation.chat.assistant-actions / conversation.chat.turnTail, ctx.sessions, ctx.uiWorkspace, and the host services sessionQuery / agents / sessions / workspaceRegistry / webServer. No source patches, no engine internals.dsh.compatibility.dshReleases so the plugin list can flag it for other builds.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。