Introduction¶
In a DSH session, to-dos, subagents, background tasks, input materials, and deliverable files are often scattered across different parts of the conversation flow. Frequent context switching and manual progress tracking can slow down the development and debugging rhythm. dsh-overview aims to consolidate all of this information into a single overview container and provide unified interaction and extensibility.
What It Is¶
dsh-overview is a DSH plugin maintained by vlln, positioned as a “general-purpose session overview container.” It displays the current session’s to-dos, subagents, background tasks, input materials, and key outputs, and exposes extension slots to other plugins so that it can be referenced as a sub-component or action entry point.
Core Capabilities¶
The plugin ships with five built-in modules, each corresponding to a category of session content and providing clear interaction patterns:
- To-dos: Automatically syncs the session’s
todosprojection and completion progress, reusing DSH’sStateDotto display todo / in-progress / completed states. - Subagents: Automatically fetches and subscribes to
subagentCatalog. On hover, a detail card (summary, tokens, duration) floats out on the left; clicking opens the full details in the right sidebar. - Background Tasks: Presented as a compact single-line list. On hover, stop or remove buttons appear, and a syntax-highlighted, line-wrapped terminal preview floats out on the left; clicking opens the full output in the right sidebar.
- Inputs: Aggregates files uploaded in the session and caches them across refreshes. Pairs with the official
FileTypeIcon; clicking locates the message attachment. - Deliverables: Aggregates
present-type deliverable files (collapses when there are more than 4 entries), automatically deduplicates, and caches across refreshes. Also usesFileTypeIcon; clicking opens a preview directly in the right sidebar.
In addition, the plugin provides delta change indicators (+x / -x), pin-to-dock with adaptive avoidance, a fixed title bar, and module toggles as interaction details. When the session has no content, the overview automatically hides itself to avoid occupying header space.
Installation & Activation¶
Prerequisites: Node.js >=22.19.0, and DSH >=0.1.0-rc.5 installed.
Install via DSH plugin management (recommended):
dsh plugin --profile web add @vlln/dsh-overview
Install as an npm dependency (for other plugins to import types/utilities):
npm install @vlln/dsh-overview
Install from local source for verification:
dsh plugin --profile web add /path/to/dsh-overview
After installation, you can enable or disable individual built-in modules and delta indicators on the sidebar under Plugins → @vlln/dsh-overview detail page.
Plugin Extension¶
External plugins can integrate with the overview container in a loosely coupled manner via slots.inject. No error is raised if @vlln/dsh-overview is not installed. Available extension points include overview.action, overview.section, and overview.trigger.badge.
Example: Register an overview.action slot:
slots.inject('overview.action', () =>
slots.register(
{
name: 'overview.action',
id: 'my-plugin.open',
order: 10,
label: 'Open Result',
visible: (sessionId) => hasResult(sessionId),
onClick: (sessionId) => openResult(sessionId),
},
() => null,
),
);
Example: Register an overview.section slot:
slots.inject('overview.section', () =>
slots.register(
{
name: 'overview.section',
id: 'my-plugin.stages',
order: 20,
title: 'Execution Stages',
badge: (sessionId) => getCount(sessionId),
trackDelta: true,
visible: (sessionId) => hasStages(sessionId),
render: (sessionId) => <MyStages sessionId={sessionId} />,
},
MyStages,
),
);
For the full field reference and the OverviewItem API, see the Extension Guide.
Use Cases & Caveats¶
Well-suited for scenarios where you need to frequently check the overall session state, track multi-agent collaboration, and monitor background task progress. The plugin runs with the current DSH process’s permissions; it is recommended to review the source code and license before installation (this project is licensed under the MIT License).
Summary¶
dsh-overview consolidates to-dos, subagents, background tasks, input materials, and deliverable files into a single overview container, and provides unified interaction and extensibility. For agent developers who need a clear grasp of session state, it is a practical “overview container.”
- Catalog page: https://www.skillhub.cn/plugins/vlln/dsh-overview
- GitHub: https://github.com/vlln/dsh-overview