插件目录 / Developer / dsh-summary-panel
dsh-summary-panel
未验证 hzthzt
功能简介
Extensible Codex-style pinned summary panel for DeepSeek Harness Web.
未验证 — 尚未实测
Extensible Codex-style pinned summary panel for DeepSeek Harness Web. 尚未验证——请自行安装测试。
「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-summary-panel
English | 简体中文
An extensible Codex-style conversation summary panel for DeepSeek Harness Web.
The list icon in the session header toggles a compact 320px popover. Its height grows with its content until it reaches the available viewport height, then the content scrolls. It stays aligned to the conversation edge and to the left of open Harness tool details. On mobile it becomes a dismissible right drawer. Open state is persisted per session.
Built-in outputs
The Outputs section reads successful file mutations published by ui-deliverables. It aggregates all loaded Turns, keeps each exact path once at its latest successful sequence, and lists the most recent files first. Five files are shown initially, with explicit expand and collapse controls. Clicking a row resolves it against the session workspace and opens it through Harness.
An empty conversation shows No outputs yet. The built-in section has no creation action because the panel does not own a file creation workflow.
Install
Install a reviewed commit into a DSH profile:
dsh plugin --profile <profile> add github:hzthzt/dsh-summary-panel#<commit-sha>
dsh --profile <profile> --dump-config
dsh --profile <profile> web
The repository commits lib/, so Git installation does not need to build the package. A local tarball can be installed instead:
pnpm pack
dsh plugin --profile <profile> add ./dsh-summary-panel-0.1.0.tgz
Extension API
Client plugins can register session-scoped sections through the typed conversation.summary.section list slot. Add dsh-summary-panel to the contributing bundle's Client inject list and peer dependencies, then import its public Client contract:
import type { ClientContext } from '@deepseek-ai/dsh-client-runtime/client'
import {
SummaryEmpty,
SummarySection,
type SummarySectionComponentProps,
} from 'dsh-summary-panel/client'
function ReviewSection({ presentation, closePanel }: SummarySectionComponentProps) {
return (
<SummarySection title="Review" actionLabel="Add review" => {}}>
<SummaryEmpty>Nothing to review</SummaryEmpty>
<small>{presentation}</small>
<button type="button"
</SummarySection>
)
}
export function apply(ctx: ClientContext): void {
ctx.slots.inject('conversation.summary.section', () => ctx.slots.register({
name: 'conversation.summary.section',
id: 'review',
order: 30,
}, ReviewSection))
}
Every section receives the standard session props, including sessionId, useSession, and useSessions, plus presentation: 'pinned' | 'overlay' and closePanel().
The Client module also augments ctx.summaryPanel:
ctx.summaryPanel.open(sessionId)
ctx.summaryPanel.close(sessionId)
ctx.summaryPanel.toggle(sessionId)
Public presentation primitives are SummarySection, SummaryItem, and SummaryEmpty. SummarySection shows its plus action only when both actionLabel and onAction are provided.
Layout compatibility
Version 0.1.0 targets DeepSeek Harness dsh-v0.1.1-rc.2 at commit b150a551b8d465e31e418e1b2eaf5e79bbb7d28e.
Popover placement assumes the baseline AppFrame order: [data-shell-overlay] follows the details column. The plugin uses its width to keep the popover to the left of open tool details, but never replaces conversation, details, or another single slot and never mutates the center column. If the DOM cannot be discovered or measured, it falls back to a right-aligned popover.
When another shell plugin exposes a visible [data-dsh-toggle-cluster], the summary button aligns immediately before that cluster; otherwise it stays in the native session-header utilities slot. Shell buttons and resize handles do not dismiss an open summary, while Escape, the summary toggle, mobile backdrop, and an ordinary click in non-interactive content retain their close behavior.
Development
Use Node.js 24 and [email protected]:
pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm build
git diff --exit-code -- lib
pnpm pack
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-summary-panel」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:hzthzt/dsh-summary-panel Headless(CLI)profile:
dsh plugin --profile headless add github:hzthzt/dsh-summary-panel 实测报告
尚未 L3 验证——若已跑过,见下方失败备注。