Skip to content

Commit 37d03de

Browse files
phurynclaude
andcommitted
docs(extension): fix local-install instructions; finalize v1.3.0 date
- Extension README: add a prebuilt-.vsix install path (downloadable from every GitHub Release, no build step) and give a Windows-correct build-from-source invocation. Running `.\scripts\install.ps1` from Git Bash or by double-clicking opens it in an editor (Windows maps .ps1 to "Edit"); `powershell -ExecutionPolicy Bypass -File scripts\install.ps1` runs it from any shell. Clarified the scripts build the .vsix themselves. - Finalize the CHANGELOG heading: v1.3.0 — 2026-06-15. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 63b36d9 commit 37d03de

2 files changed

Lines changed: 26 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## v1.3.0 — TBD
3+
## v1.3.0 — 2026-06-15
44

55
### Dashboard
66

@@ -12,6 +12,10 @@
1212

1313
- Added a single source-of-truth `VERSION` constant (`scanner.VERSION`) surfaced via `python cli.py --version`. It stays in lockstep with the top CHANGELOG heading and the extension's `package.json` (a parity test enforces all three match).
1414

15+
### Project / docs
16+
17+
- Rewrote the extension's local-install instructions: a prebuilt `.vsix` is now downloadable from every GitHub Release (no build step), and the build-from-source section gives a Windows-correct invocation (`powershell -ExecutionPolicy Bypass -File scripts\install.ps1`) — running `.\scripts\install.ps1` from Git Bash or by double-clicking just opens it in an editor.
18+
1519
## v1.2.6 — 2026-06-15
1620

1721
### Dashboard

vscode-extension/README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,33 @@ Works on **API, Pro, and Max plans**. Captures usage from the Claude Code CLI, t
1818

1919
Search the Extensions sidebar for **"Claude Code Usage"** (publisher: `PawelHuryn`), or open the marketplace link from the Open VSX page.
2020

21-
### From a `.vsix` file (local install)
21+
### From a prebuilt `.vsix` (no build step)
2222

23+
Every [GitHub Release](https://github.com/phuryn/claude-usage/releases/latest) attaches a ready-built `.vsix`. Download it, then either drag it onto the VS Code **Extensions** view, or run:
24+
25+
```
26+
code --install-extension claude-usage-phuryn-<version>.vsix
2327
```
28+
29+
### Build and install from source
30+
31+
Clone the repo and run the install script for your platform. Each script **builds** the `.vsix` (`npm install` + `vsce package`) and then installs it via `code --install-extension` — you don't need an existing `.vsix`, the script produces one.
32+
33+
**macOS / Linux / WSL** (bash):
34+
35+
```bash
2436
git clone https://github.com/phuryn/claude-usage
2537
cd claude-usage/vscode-extension
26-
./scripts/install.sh # macOS / Linux / WSL
27-
.\scripts\install.ps1 # Windows PowerShell
38+
./scripts/install.sh
2839
```
2940

30-
The scripts run `vsce package` then `code --install-extension` against your local VS Code install.
41+
**Windows** — run the script *in PowerShell*. Invoking `.\scripts\install.ps1` from Git Bash (or double-clicking it) just opens the file in an editor, because Windows maps `.ps1` to "Edit", not "Run". The line below runs it regardless of which shell you're in or your execution-policy setting:
42+
43+
```powershell
44+
git clone https://github.com/phuryn/claude-usage
45+
cd claude-usage/vscode-extension
46+
powershell -ExecutionPolicy Bypass -File scripts\install.ps1
47+
```
3148

3249
---
3350

0 commit comments

Comments
 (0)