rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zhyunran/dsh-talk-mode
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English · 中文
One plugin for DeepSeek Harness with two independent halves:
AGENTS.md, no runtime-context block. Pick it on the New Session screen and you get pure conversation; work sessions are untouched.They stay deliberately separate: the importer is a setup tool that work sessions see, and Talk denies every global tool — including that importer — so a chat never carries either.
A DSH profile is a stack of bundles, and every bundle's tool schema is sent with every request. Measured on a real desktop profile with 20 bundles and the shipped cordis preset:
| tools callable by the agent | 86 |
| tool-schema payload per request | ~116 KB (≈30k tokens) |
| conversation tokens | 0, before the first message |
On a limited plan that tax is paid on every single turn. It eats the context window and it eats the output budget, so replies get truncated, you regenerate, and the "please try again later" wall arrives sooner than it should.
A Talk session pays none of it.
prefix in cordis.patch.yml, editable)AGENTS.md / workspace instructionsThe package is a DSH bundle (dsh.bundle.patch), so it installs like any other plugin.
# from this folder (or an extracted tarball)
dsh plugin --profile desktop add C:/path/to/dsh-talk-mode
dsh plugin add installs it into the profile; add dsh-talk-mode to dsh.profile.bundles in that profile's package.json if your profile manager does not do it for you. The GUI's Settings → Plugins page and the plugin_manager tool do both steps.
Then restart DSH.
New Session → the preset control on the hero screen → Talk.
Switch back to your normal preset for engineering work; nothing about Work changes.
Two steps, and the DeepSeek token never leaves your browser.
F12 → Console → paste the snippet deepseek_import returns for action: "guide" → Enter. It prints progress, ends with DONE, and downloads deepseek-chat-export.json.action: "run". It finds the newest export and writes one Markdown file per conversation plus index.md / index.json into exports/deepseek-chat/.Why the two-step dance: DSH cannot read another app's private storage, and DeepSeek's web client authenticates with a 64-character bearer token that lives only in the page's own memory. Running the snippet inside the page is the one place that token is both available and safe.
Then chat about the archive in a Talk session — that is what it is for.
Two halves, no client-side code:
cordis.patch.yml inserts one @deepseek-ai/dsh-agent-preset entry with id: talk. The preset registry feeds the shipped New Session preset control (conversation.hero.agentPreset), so the option appears automatically.
lib/index.js mounts inside that preset's scope and calls
ctx.tools.restrict({ deny: <every globally visible tool name> })
tools.restrict() is scope-local: it intersects with other restrictions and never modifies the global view, so every other preset keeps its full tool set.
That safety is enforced by the harness, not promised by this plugin: restrict() refuses to run on a context-global scope ("a context-global restriction would mask every agent"). A misconfiguration can therefore only fail to shrink Talk — it cannot narrow a Work session.
order: 0 puts Talk first in the picker.
AGENTS.md, no skills, no runtime block.Edit cordis.patch.yml after installing (the copy inside the profile's node_modules/dsh-talk-mode/):
config:
name: Talk # label in the picker
description: ... # subtext in the picker
order: 0 # position
plugins:
- id: persona
config:
prefix: |- # ← your chat persona
...
Restart DSH to reload the bundle.
Remove dsh-talk-mode from dsh.profile.bundles, then restart. Nothing else is written.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。