From c23caa76af188c04d34473eb91121e7377a0cfcb Mon Sep 17 00:00:00 2001 From: oiupoyt Date: Sun, 11 Oct 2026 09:32:47 +0530 Subject: [PATCH] docs: update install instructions to single dsh plugin command --- README.md | 46 ++++++++++++++-------------------------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 6c7e4bc..3b9cdac 100644 --- a/README.md +++ b/README.md @@ -23,43 +23,25 @@ Visualizes your daily token consumption, prompt intensity, cache hit efficiency, ## Installation -### Method 1: Using pnpm in your DSH Web profile +## Installation -Inside your DSH profile directory: +Install with a single command via the official DSH CLI (automatically downloads, registers, and activates the bundle in your web profile): + +```bash +dsh plugin --profile web add dsh-token-heatmap +``` + +*(To remove later: `dsh plugin --profile web remove dsh-token-heatmap`)* + +--- + +### Manual Alternative (pnpm) ```bash cd ~/.dsh/profiles/web -pnpm add dsh-plugin-token-heatmap -``` - -Then add `"dsh-plugin-token-heatmap"` to `~/.dsh/profiles/web/package.json` under `dsh.profile.bundles`: - -```json -{ - "dsh": { - "profile": { - "bundles": [ - "@deepseek-ai/dsh-base", - "@deepseek-ai/dsh-web-app", - "dsh-plugin-token-heatmap" - ] - } - } -} -``` - -### Method 2: Local Development Link - -Clone the repository locally: - -```bash -git clone https://github.com/oiupoyt/dsh-plugin-token-heatmap.git ~/projects/dsh-plugin-token-heatmap -cd ~/projects/dsh-plugin-token-heatmap -npm run build - -cd ~/.dsh/profiles/web -pnpm add --link ~/projects/dsh-plugin-token-heatmap +pnpm add dsh-token-heatmap ``` +Then add `"dsh-token-heatmap"` to `bundles` in `~/.dsh/profiles/web/package.json`. ---