DeepSeek Harness Timeline Plugin

Introduction

When developing multi-turn conversations with DeepSeek Harness, you often need to trace back what file modifications and artifacts each turn produced. The traditional approach—checking logs or manually diffing files—is inefficient and prone to oversight. The Timeline plugin projects conversations into a per-turn timeline, making file changes and deliverables clear at a glance.

Plugin Overview

This is a DeepSeek Harness client plugin developed by maintainer wei200425. It displays a conversation as a timeline: listing changed files (with added/removed line counts) and delivered artifacts per turn.

How to Open

  • Right sidebar: Click the plus icon at the end of the tab bar, then select “Timeline” from the onboarding page. It opens as a tab.
  • Below the input box: Once the conversation has produced file changes or artifacts, a summary line appears below the input box (e.g., “12 changes · 3 artifacts”). Click it to open the timeline.

Timeline Content

Turns are listed in reverse chronological order (the most recent turn on top). Each turn includes:

  • A summary of the opening request and its start time.
  • Changed files: Each file successfully modified by file tools (write, edit, apply_patch, str_replace_editor), tagged as “Created / Modified / Deleted.” When a tool writes diffs into its result, added and removed line counts are displayed.
  • Artifacts: Files delivered via present in that turn, marked as “Artifact” with their description. If the same file is both modified and delivered, it is merged into a single entry.

Clicking any entry previews the file in the right sidebar. Turns with more than 6 items are collapsed by default and can be expanded.

Marking Criteria

The interface only displays facts that the logs can substantiate:

  • Created: The tool explicitly reported a creation (write with operation: create, *** Add File: in a patch, or create in str_replace_editor). A diff that simply shows “no old text” does not qualify as a creation—that may just indicate lines were inserted.
  • Deleted: Only an explicit *** Delete File: in a patch is recognized.
  • Modified: All other recorded diffs.
  • Line counts are only available when the tool recorded a diff. For write creating a new file, if the call parameters are small, the line count of the written content is used as the number of added lines.
  • view and undo_edit operations in str_replace_editor do not count as modifications.

Data Sources and Limitations

  • The timeline is entirely derived from session logs (a timeline session projection). Historical turns remain visible after reopening a conversation, and it does not depend on records that exist only in the Host process’s memory.
  • Files modified via shell commands do not appear in the timeline, as their paths are not recorded in the logs.
  • Changes from sub-agent sessions do not appear in the parent session’s timeline: each session only collapses its own logs.
  • Artifacts only come from explicit present deliveries; files merely mentioned in the message body do not count.
  • Each turn retains at most 200 changed files and 100 artifacts; entries beyond these limits are no longer recorded, and the UI does not provide a separate warning.
  • The timeline records what happened at the time of each turn. It is not a “current workspace diff” view and will not include edits made afterward.

Installation and Enablement

Enable @local/dsh-timeline in Settings → Plugins, or move it into the bundle. Host projections, styles, tab types, and the summary bar load together. Existing session logs are unaffected.

Use Cases and Notes

Suitable for agent development scenarios that require per-turn review of file changes and deliverables. The plugin runs with the current DSH process’s permissions; review the source code and license before installing. Files modified via shell commands are not recorded, and changes from sub-agent sessions do not appear in the parent session’s timeline.

In Brief

The Timeline plugin provides the ability to view file changes and artifacts on a per-turn basis for multi-turn conversation development, and historical turns remain accessible after reopening a conversation. Plugin directory page and GitHub repository: https://www.skillhub.cn/plugins/wei200425/dsh-timeline and https://github.com/wei200425/dsh-timeline.

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

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

Xiaoye