dsh-git-activity: Project Activity Dashboard for DeepSeek Harness

Introduction

DeepSeek Harness (DSH) displays “sessions” rather than “projects.” If you commit code in another agent or editor, there’s no unified view showing “which projects have changed today.” The dsh-git-activity plugin provides exactly that view: it reads Git locally, in read-only mode, and aggregates recent commits, uncommitted changes, and session activity across all projects (including those committed by DSH agents) into a single dashboard.

Plugin Overview

dsh-git-activity is a client-side plugin for DeepSeek Harness (DSH), maintained by CookieJobs. By reading local Git repositories, it generates an activity dashboard for each workspace project: an overview bar, per-project branch and commit statistics, uncommitted file lists, and a daily commit histogram.

Core Features

The plugin provides views in multiple locations:

  • Sidebar → Dashboard Icon: Full dashboard with an overview bar, rows for each workspace project (branch, ahead/behind, uncommitted count, daily commit histogram, last commit), and a merged commit timeline across all repositories. Supports switching between 7/14/30-day windows.
  • Within a Session (below the editor): A one-line summary for the current project: branch, uncommitted file count, commits within the window, and the latest commit. Click to open the detail panel.
  • New Session Page: A compact branch/uncommitted chip displayed next to the session preset controls, letting users gauge project status before starting a conversation.
  • Right Sidebar: A detail tab for the current project, showing branch and upstream, changed files, daily histogram, and the full commit list. The “Open Full Dashboard” button navigates to the sidebar dashboard.
  • Agent Tool: git_activity(days) returns the same data as the dashboard, so you can directly ask the agent “what changed in the last few days.”

Projects can be hidden: projects you don’t want to track can be hidden from the dashboard. Once hidden, they are also removed from overview numbers, the timeline, and session summaries. A “N hidden” control allows restoring them individually or all at once.

Installation & Activation

The plugin is a local DSH Bundle, existing as a directory, with the Profile storing a link to it.

git clone https://github.com/CookieJobs/dsh-git-activity.git

In DSH:

  1. Go to Plugins → Add plugin, and select the cloned dsh-git-activity directory.
  2. Enable the Bundle if it is not already enabled.
  3. Refresh the page (⌘R / Ctrl-R). The dashboard icon will appear in the sidebar icon list, next to Plugins and Schedules.

Do not delete the cloned directory—the Profile only stores a link, not a copy.

To uninstall, simply remove the Bundle in Plugins. The plugin does not store any data inside repositories.

Configuration

The default configuration lives in cordis.patch.yml, and you can override the config object with the same line id in ~/.dsh/profiles/<profile>/cordis.patch.yml:

- insert:
    - id: git-activity
      name: 'dsh-git-activity'
      config:
        days: 30
        scanChildren: false
        cacheMs: 15000
        extraRepos:
          - /Users/me/work/another-repo

Common configuration options:

  • days: Default commit window in days; defaults to 14.
  • maxCommits: Maximum number of commits returned per repository; defaults to 30.
  • historyLimit: Upper limit on commits read when building the histogram; defaults to 400.
  • scanChildren: Whether to scan direct subdirectories for repositories when the workspace itself is not a repo; defaults to true.
  • cacheMs: Cache duration for a single scan to avoid redundant Git runs; defaults to 8000.
  • gitTimeoutMs: Timeout for a single Git command; defaults to 6000.
  • maxReposPerWorkspace: Maximum number of repositories detected per workspace; defaults to 16.
  • extraRepos: List of absolute-path repositories outside the workspace to include; defaults to an empty array.

Usage Notes & Limitations

  • Read-only: Only executes rev-parse, status, log, and rev-list. Always uses --no-optional-locks. Does not write to repositories, does not compete for index.lock with other agents, and does not send any data over the network.
  • Requires git in PATH: If git is missing or a command times out, the corresponding card will display an error rather than pretending there are no commits.
  • Workspace inside a large repo is not counted: Only repositories located at or under the workspace path are attributed to that project. A workspace simply nested inside a large repo will not borrow that repo’s history; instead, a notice is shown.
  • No network: Ahead/behind counts are based on the local @{upstream} ref; no remote fetching is performed.
  • Author info comes from Git: The plugin displays commit authors but cannot distinguish which agent made the commit; uncommitted work is only visible as changed files.
  • Hidden list storage: Stored by default at ~/.dsh/git-activity/hidden.json, indexed by workspace id. Deleting this file clears the hidden list.
  • Right sidebar detail page is persisted per Session: DSH saves the right sidebar layout for each Session, so the detail page is independent across sessions.

Use Cases

Suitable for DSH users who need a unified view of commit status across multiple projects, want to track uncommitted changes, or want the agent to reason over recent commit context. The plugin is designed for local development environments and has no dependency on the network or GitHub/GitLab accounts.

Closing

dsh-git-activity performs Git scanning locally and provides a structured activity view for each project, helping you quickly grasp project status even outside of Sessions. See the directory page and the GitHub repository for the project link.

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

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

Xiaoye