跳过主要内容
返回插件列表
T

dsh-plugin-audit

tttwh/dsh-plugin-audit

将DeepSeek Harness插件列表按来源分组展示——官方插件与自行安装插件,一目了然。

安装

dsh plugin --profile web add github:tttwh/dsh-plugin-audit

README

dsh-plugin-audit

A DeepSeek Harness (DSH) plugin-management enhancement: group the plugin list by source so you can tell official plugins apart from the ones you installed yourself at a glance.

Features

  • /plugin-audit command: lists the currently loaded plugins grouped by official / self-installed, with user / official / keyword filtering;
  • Source tab in Settings → Plugins: grouped cards with a source badge and a search box (next to the built-in "Plugin list" tab);
  • Zero-dependency, unit-tested classification: package-scope + explicit install-set rules (@deepseek-ai/ → official, everything else → self-installed);
  • Fully reversible: read-only, touches no official bundle, one command to uninstall.

Quick start

Prerequisites: pnpm, the dsh CLI.

# Install
dsh plugin --profile web add https://github.com/tttwh/dsh-plugin-audit/archive/refs/heads/main.tar.gz

Restart dsh web, then:

  • Type /plugin-audit in the composer, or
  • Open Settings → Plugins → the Source tab.

Commands

CommandPurpose
/plugin-auditOverview: self-installed one-by-one + official count
/plugin-audit userSelf-installed only
/plugin-audit officialOfficial only (full list)
/plugin-audit <keyword>Filter by package / entry keyword
dsh plugin --profile web remove dsh-plugin-auditUninstall

Configuration

Origin is derived from the package scope by default; edge cases (e.g. a third-party package published under @deepseek-ai/) are overridden via extraUserPackages. Override this plugin's row in the profile's cordis.patch.yml:

- id: plugin-audit
  config:
    extraUserPackages:
      - '@deepseek-ai/dsh-my-fork'   # force-classify as self-installed

Repository layout

dsh-plugin-audit/
  src/classify.ts        origin-classification pure function (single source of truth)
  src/index.ts           host: /plugin-audit command
  src/client/            Source tab (React)
  build.mjs              esbuild build (host ESM + client bundle)
  cordis.patch.yml       profile bundle patch (inserts this plugin)
  demo/                  demo & verification scripts (real-profile output)

Docs

  • DESIGN.md — design rationale and source evidence (why a new tab instead of modifying the official one; classification rules and edge cases)

License

MIT · Copyright (c) 2025 tttwh

相关插件