rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:flashyiyi/dsh-envelope-highlight
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Restore syntax highlighting of read-tool results inside run_code (PTC / Code Mode).
In native mode, the read tool's result renders as a line-numbered,
syntax-highlighted code view (ReadBlock + shiki). In PTC / Code Mode,
the model calls tools through run_code programs, and read results arrive in
two shapes — both rendered as plain text by the official UI:
{ path, lines, totalLines } — returned from the
program, it lands in the run_code card's OUT area as raw JSON;<path>…</path>\n<type>file</type>\n<content>…\n</content>,
tool-fs's formatReadOutput) — the read sub-call (code-dispatch) content.The syntax highlighting is lost in both cases.
This plugin registers two keyed tool.call.toolview views:
run_code (not registered by the shipped UI — zero replacement risk):
read envelopes and read-result JSON in the OUT area are parsed and rendered
as ReadBlock — file line numbers in the gutter, shiki syntax
highlighting, the same visual language as the native read card.read (priority: -1, shadowing the official row): code-dispatch
sub-calls (whose resultView is always null) get their envelope content
rendered as ReadBlock; native read calls are reproduced exactly like the
official ReadRow.Non-read output stays exactly as before.
dsh plugin --profile <profile> add dsh-ptc-render
# requires a dsh source checkout (DSH_CHECKOUT) with tsc/tsdown
npm run build # host (tsc) + client (tsdown) → lib/
npm pack
run_code chat-row result card: read envelopes + read-result JSON →
highlighted ReadBlockread sub-call rows under the run_code tree (code-dispatch) →
highlighted ReadBlock; native read rows unchangedconversation.details.tool) — not covered yetMIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。