npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yiln-dsh/dsh-plugin-git-graph

v0.2.1

Published

DSH Web bundle plugin that contributes a Git Graph page tab to the DSH Web right Sidebar.

Downloads

439

Readme

@yiln-dsh/dsh-plugin-git-graph

A DSH dsh.bundle that contributes the Git Graph page tab to the DSH Web right Sidebar (@deepseek-ai/dsh-client-ui-sidebar-right, shipped with DSH 0.1.5+). The product ships its own Files page, so this plugin deliberately registers only the Git page kind.

  • Registers the page kind in ctx.sidebarRightTabs and its body in the sidebar.right.pane.tab seat, keyed by the type id, with a guide capsule so it can be opened from an empty pane.
  • Self-contained assets: the diff dialog's editor and the markdown preview load from this plugin's own routes — the monaco tree at /_dsh/git-graph/monaco/vs and markdown-it at /_dsh/git-graph/vendor/markdown-it.mjs — served verbatim from the monaco-editor and markdown-it dependencies, with no CDN and no bundler step. Installing this plugin installs everything its pages need; it never requires @yiln-dsh/dsh-plugin-file-explorer to be present.
  • Git Graph: a vscode/le-git-graph style commit graph rendered from the repository containing the current directory —
    • colored lane graph with commit dots and merge curves (all branches or the current branch, refreshable),
    • pill decorations for branches / remotes / tags / HEAD,
    • an "Uncommitted changes" row from git status (count + changed files vs HEAD), listing each file inside an untracked directory individually,
    • click a commit to expand its full message and changed-file list with A/M/D/R status badges,
    • click a file to open its diff patch (commit shows git show, working tree shows git diff HEAD) in a dialog.

Layout

| File | Content | | --- | --- | | index.js | Host half: read-only git routes under /_dsh/git-graph (git-log, git-commit, git-diff, git-status) that run git with machine-readable separators and return JSON only, plus the bundled-asset routes for the monaco tree and markdown-it. | | client.js | Client half: registers the Git page kind in ctx.sidebarRightTabs and its body in the sidebar.right.pane.tab seat. | | cordis.patch.yml | Composition patch that mounts the host row — declared with inject: [webServer, subprocess, fs, sandboxPolicy], so it activates only after the stock webserver service is up and receives the capabilities used by the Git routes. |

Install

The published package is @yiln-dsh/[email protected].

dsh plugin --profile web add file:/path/to/dsh-plugin-git-graph

The official right Sidebar (@deepseek-ai/dsh-client-ui-sidebar-right, mounted by the dsh-web-app bundle as the ui-sidebar-right row) must be present; it ships with DSH 0.1.5 and later. Restart dsh web after installing or changing the bundle composition.

Runtime dependencies: monaco-editor (served as the AMD tree for the diff dialog) and markdown-it (its standalone ESM build for the markdown preview). Both are declared in package.json, so a file:/registry install brings them along; the host half resolves them lazily and degrades to a 404 on that one asset route if they are missing, rather than failing the plugin row.

This plugin was split out of @yiln-dsh/dsh-plugin-file-explorer so that the Git view survives independently: the product's own Files page replaced that plugin's Files page, while the Git Graph has no official counterpart.