dsh-billing-badge 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +19 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project are documented in this file.
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this
6
6
  project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.1] - 2026-09-13
9
+
10
+ ### Changed
11
+
12
+ - The install section now leads with the npm package,
13
+ `dsh plugin --profile web add dsh-billing-badge`, with the repository install kept
14
+ as the alternative. The package page renders this file, so the published copy and
15
+ the repository now say the same thing.
16
+ - Added the npm version badge to the README.
17
+
8
18
  ## [0.1.0] - 2026-09-13
9
19
 
10
20
  First public release.
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # dsh-billing-badge
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/dsh-billing-badge)](https://www.npmjs.com/package/dsh-billing-badge)
4
+ [![license](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
5
+
3
6
  Billing season and account balance for the DeepSeek Harness web GUI. A pill in the
4
7
  composer's statistics row, immediately after the native **Cache hit** reading, that
5
8
  opens a small panel with the full picture.
@@ -59,6 +62,14 @@ This plugin deliberately does **not** do cost or token accounting.
59
62
 
60
63
  ## Install
61
64
 
65
+ From npm:
66
+
67
+ ```sh
68
+ dsh plugin --profile web add dsh-billing-badge
69
+ ```
70
+
71
+ or straight from the repository:
72
+
62
73
  ```sh
63
74
  dsh plugin --profile web add github:devacc8/dsh-billing-badge
64
75
  ```
@@ -145,6 +156,14 @@ total_balance = granted_balance + topped_up_balance
145
156
 
146
157
  ### 安装
147
158
 
159
+ 从 npm 安装:
160
+
161
+ ```sh
162
+ dsh plugin --profile web add dsh-billing-badge
163
+ ```
164
+
165
+ 或直接从仓库安装:
166
+
148
167
  ```sh
149
168
  dsh plugin --profile web add github:devacc8/dsh-billing-badge
150
169
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-billing-badge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Billing season and account balance chip for the DeepSeek Harness web GUI composer: a native-looking pill after the cache-hit stat, with a panel on click. DeepSeek Harness 计费时段与余额插件",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",