rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:XYZ0901/dsh-composer-markdown
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Renders the message you are writing as Markdown, attached to the DSH Web composer, and keeps the editor itself untouched: what you send is still the exact Markdown source.
⤢ button opens the same preview as a right-sidebar
tab, for a larger reading pane; the tab is a page type registered through
ctx.sidebarRightTabs and opened with ctx.sidebarRight.openTab.inputActions.setDraft on a 400 ms debounce. The composer keeps
owning the caret and undo history, so the write is a whole-draft replacement,
not an incremental edit.M↓ toggle in the composer tool row turns it on and off. The choice is
kept in localStorage under dsh.composer-markdown.preview.InputState.draft, so submissions stay byte-identical.Headings, paragraphs, bold / italic / strikethrough, inline code, fenced code blocks (language label kept), ordered, unordered, nested and task lists, blockquotes, tables with column alignment, links, autolinks, bare URLs, images (shown as a labelled link chip), horizontal rules and hard line breaks.
Only http:, https:, mailto: and # targets become links; anything else,
such as javascript:, is rendered as plain text. Raw HTML in the draft is
escaped, never injected.
Install the bundle through the Web GUI — Settings → Plugins → Install — or by package name:
dsh plugin --profile <profile> add @xyz2zyx/composer-markdown
The GUI path also selects the bundle. The CLI only adds the dependency, so enable the bundle afterwards on the Plugins page.
Requires DSH >=0.2.2-rc.1 (declared as dsh.engines.dsh).
index.js) is inert: the bundle only needs a Loader row.client.js) registers two entries: the rendering in
conversation.input.dock and the toggle in conversation.input.left.react from the shell's
module table, and the Markdown parser is part of the bundle.--dsw-*, --dsh-*) and the shell's composer width
variables, so the panel follows light/dark themes and the composer column.The composer is a shell-owned Lexical contenteditable. Plugins receive the
draft text and the input actions (insertText, insertQuote, setDraft,
submit) but no editor handle, so formatting cannot be applied inside it. Even
with a handle it would corrupt submissions: the draft is serialized through the
editor's plain text projection, which drops inline formatting — turning **x**
into bold would silently send x.
在 DSH Web 输入框上方实时渲染你正在输入的 Markdown,并且不改动编辑器本身: 发送出去的仍然是你写的原始 Markdown 文本。
M↓ 开关控制显隐,状态存在
localStorage 的 dsh.composer-markdown.preview。⤢ 按钮可把同一份预览开到右侧栏(标签页形式),阅读面积更大;
该标签页通过 ctx.sidebarRightTabs 注册类型、ctx.sidebarRight.openTab 打开。inputActions.setDraft 整篇写回输入框;光标与撤销历史仍归 composer,
所以这是整篇替换而不是增量编辑。http:、https:、mailto:、# 会变成链接,javascript: 等一律按
普通文本显示;草稿里的 HTML 会被转义,不会注入。MIT. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。