dsh-delivery-library: DSH Session Delivery and Output Files Library

Preface

The DeepSeek Harness (DSH) conversation panel provides two views by default: “Conversation” and “Trajectory”. When a session involves extensive file output or explicit deliveries, searching for specific files in the chat log can easily lead to omissions or distractions. A method is needed to view a consolidated list of all files generated in the current session without having to scroll through long conversations.

What It Is

This is a plugin for the DSH client (Category: Client, Maintainer: BlankTasftu, License: MIT). Its core function is to add a “Delivered Files” view alongside the existing “Conversation / Trajectory” views in the DSH conversation panel. This view aggregates all explicit deliveries (present) and file outputs (write / edit) in the current session, generating a searchable file library, with an independent list for each session.

Core Features

This plugin implements file list management in the following ways:

  1. Added View Tab
    After installation, a “Delivered Files” tab is added to the top of the conversation panel. The view is divided into two columns:

    • Delivered: Aggregates only the final files explicitly declared by the model (results from successful execution of the present tool).
    • Output: Aggregates files actually written via write / edit / str_replace_editor.
  2. Data Source and Scope

    • Pure plugin: Does not modify the DSH core; only appends a new cell with a new id to the conversation.view slot.
    • No disk reads: The list is entirely derived from the loaded event window of the current session, without scanning the workspace or reading log files.
    • Session scope: The view follows the current session; switching sessions switches the list. Empty sessions do not render the view area.
  3. Interaction and Search

    • Preview: Clicking a row in the list previews the file in the right pane (protocol address: dsh-resource://file/session/...).
    • Copy path: A “Copy Path” button appears when hovering over a list row; clicking it only copies the path without opening the preview.
    • Search: Supports searching by filename, directory path, and description text.

Installation and Activation

In the DSH “Settings → Plugins” installation entry, fill in the following specifier:

github:BlankTasftu/dsh-delivery-library

The plugin manager writes it to the profile’s dependency and bundles manifest and installs it via pnpm. After installation, refresh the page; the tab will become “Conversation | Trajectory | Delivered Files”.

To verify installation integrity, you can run the following command in the installation directory (zero dependencies):

node --test "test/*.test.mjs"

Typical Usage

  1. Install: Fill in the plugin install specifier in settings and complete the installation.
  2. View: Enter the “Delivered Files” tab; it displays two sub-tabs by default: “Delivered” and “Output”.
  3. Search: Enter a filename or path in the search box; the list filters in real time.
  4. Inspect: Click a row to preview the file content on the right; hovering over a row shows the “Copy Path” button.

Use Cases and Notes

This plugin is suitable for scenarios where you need to quickly locate and manage files generated by the model in long sessions.

Note the following boundaries and limitations:

  • Load scope: The list only covers the loaded session event window. For very long sessions, the window may contain only tail data; a “Load earlier” button appears at the bottom, clicking it loads historical data.
  • File state: The delivery card opens the current file content, not a snapshot at the moment of delivery. If the file has been deleted, the preview will error.
  • No file explorer: The plugin does not provide a “Show in file explorer” function, as this exceeds the plugin’s scope of permissions.
  • Path normalization: The same path (e.g., backslashes, ./ prefix, trailing slashes) is merged for display, but case is not folded.
  • Performance and crashes: For extremely long sessions (hundreds of output files), the list renders all at once without virtual scrolling. Any uncaught exception in the client plugin’s apply method will cause the desktop client to exit directly, so the plugin code must ensure it is entirely non-throwing.

Summary

dsh-delivery-library adds a third view card to the DSH conversation panel, providing developers with a structured, searchable way to manage file deliveries and outputs. It does not rely on disk scanning and is entirely based on the session event window, making it suitable for development scenarios that prioritize list clarity and operational efficiency.

Project URL: dsh-delivery-library

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye