dshbase

插件目录 / Developer / dsh-summary-panel

dsh-summary-panel

已验证 · 实测可装 hzthzt

✓ 持续维护 基于 8 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-23最近推送
跨平台平台

功能简介

Extensible Codex-style pinned summary panel for DeepSeek Harness Web.

✅
我们的评价
可用 — 实测通过,早期项目

Extensible Codex-style pinned summary panel for DeepSeek Harness Web. 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

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 pnpm@11.7.0:

pnpm install --frozen-lockfile
pnpm typecheck
pnpm test
pnpm build
git diff --exit-code -- lib
pnpm pack

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 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

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →