Vai al contenuto principale
A

dsh-better-display

aa2246740/dsh-better-display

Una vista di lettura più calma per DeepSeek Harness: dettagli nativi del processo, ragionamento in tempo reale e risposte finali pulite.

Installazione

dsh plugin --profile web add github:aa2246740/dsh-better-display

README

dsh-better-display

English

推荐用 npm(可钉版本):

dsh plugin --profile web add dsh-better-display@0.2.1

也可以装 latest:

dsh plugin --profile web add dsh-better-display

备选:从 GitHub 直装(跟默认分支最新提交):

dsh plugin --profile web add github:aa2246740/dsh-better-display

PATH 上要有官方 dsh(没有就用 npx @deepseek-ai/dsh)和 pnpmdsh plugin add 会在 $DSH_HOME/profiles/web 里跑 pnpm。仓库已提交编译好的 lib/,git / npm 安装都不用 prepare,也不用改 profile 的 allowBuilds

然后重启这个 Host,再刷新页面。dsh plugin add 只写 profile,不会热挂正在跑的进程。

给 DeepSeek Harness 加一个 阅读 页签:执行时能看到步骤、思考和进度;整轮成功结束后把过程收起来,留下最终回答。原版「对话 / 轨迹」、输入框、模型选择、工具和审批都还在。阅读列保留宿主 ChatView 的 data-chat-flow 钩子,依赖该标记显示输入框的第三方皮肤不会把阅读页当成仅检视视图。

最终回答里的 ````mcp-app代码块会在阅读视图里挂成交互卡片,跑在里,没有allow-same-origin。卡片可以通过 JSON-RPC 把下一轮 prompt 填进输入框。技能包在 [skills/generative-mcpapps/`](skills/generative-mcpapps/)。设置里的 Better Display 可把产物改为右侧栏预览(默认仍用系统应用),打开半透明毛玻璃(默认关),设置过程自动折叠开关(默认开),并检测该技能是否已装进宿主技能目录。

面向 DeepSeek Harness 0.1.5-rc.2。只改展示,不改 Agent 执行、SDK 或模型凭据。Node.js ^22.19.0 || >=24。新会话默认进阅读。

本地目录或 tarball:

dsh plugin --profile web add ./dsh-better-display
dsh plugin --profile web add ./dsh-better-display-0.2.1.tgz

dsh.bundle 是开机捕获的。不要再往 profile 的 cordis.patch.yml 手写同一条 insert,会重复挂载。

dsh plugin --profile web remove dsh-better-display

开发

npm test
npm run typecheck

许可

展示与 Markdown 部分来自 DeepSeek Harness(MIT)。动效参考 Transitions.dev。本仓库代码 MIT

Plugin correlati