dsh-credit-meter 1.0.0 → 1.0.2

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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 dsh-credit-meter contributors
3
+ Copyright (c) 2026 distractedlab
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  English | [Chinese](README.zh.md)
4
4
 
5
- ![Credit meter icon](icon.svg)
5
+ ![Credit meter icon](https://raw.githubusercontent.com/distractedlab/dsh-credit-meter/main/icon.svg)
6
6
 
7
7
  A DeepSeek Harness plugin that shows the remaining DeepSeek account credit as
8
8
  one more reading in the composer dock — the row under the message input that
9
9
  already carries activity, token usage, and the context meter.
10
10
 
11
- ![Recording of the credit reading in the composer dock](docs/preview.gif)
11
+ ![Recording of the credit reading in the composer dock](https://raw.githubusercontent.com/distractedlab/dsh-credit-meter/main/docs/preview.gif)
12
12
 
13
13
  ## What it shows
14
14
 
@@ -64,17 +64,17 @@ The tooltip lists funded wallets only, so a bonus-only account reads
64
64
 
65
65
  ## Install
66
66
 
67
- From a local directory (the current state of this package):
67
+ From npm:
68
+
69
+ 1. **Plugins → Add plugin**, then enter `dsh-credit-meter@1.0.1`.
70
+
71
+ From a local checkout (when developing the plugin):
68
72
 
69
73
  1. Keep this directory where it is; DSH links it instead of copying it.
70
74
  2. In DSH, open **Plugins → Add plugin** and choose this directory. The agent
71
75
  equivalent is `plugin_manager` with `install_bundle` and the absolute path.
72
76
  3. Refresh the page once if it was already open, then send a message.
73
77
 
74
- From npm (only after this package is published; see [PUBLISHING.md](PUBLISHING.md)):
75
-
76
- 1. **Plugins → Add plugin**, then enter `dsh-credit-meter@1.0.0`.
77
-
78
78
  ## Privacy
79
79
 
80
80
  The reading comes from the same account query Settings → Account uses
package/README.zh.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- ![Credit meter 图标](icon.svg)
5
+ ![Credit meter 图标](https://raw.githubusercontent.com/distractedlab/dsh-credit-meter/main/icon.svg)
6
6
 
7
7
  一个 DeepSeek Harness 插件:把 DeepSeek 账户剩余额度显示在输入框下方那行读数里。
8
8
  那一行原本就有活动统计、token 用量和上下文占用。
9
9
 
10
- ![额度读数录屏](docs/preview.gif)
10
+ ![额度读数录屏](https://raw.githubusercontent.com/distractedlab/dsh-credit-meter/main/docs/preview.gif)
11
11
 
12
12
  ## 显示什么
13
13
 
@@ -55,17 +55,17 @@ DeepSeek 平台把一次请求记进余额需要时间,所以刚结束的一
55
55
 
56
56
  ## 安装
57
57
 
58
- 从本地目录安装(当前这个包的状态):
58
+ 从 npm 安装:
59
+
60
+ 1. **Plugins → Add plugin**,输入 `dsh-credit-meter@1.0.1`。
61
+
62
+ 从本地目录安装(开发插件时用):
59
63
 
60
64
  1. 把这个目录留在原处;DSH 是链接它,而不是复制。
61
65
  2. 在 DSH 里打开 **Plugins(插件)→ Add plugin(添加插件)**,选择这个目录。
62
66
  用 Agent 的等价做法是 `plugin_manager` 的 `install_bundle`,参数为绝对路径。
63
67
  3. 如果页面本来开着,先刷新一次,然后发一条消息。
64
68
 
65
- 从 npm 安装(需要这个包已经发布,见 [PUBLISHING.md](PUBLISHING.md)):
66
-
67
- 1. **Plugins → Add plugin**,输入 `dsh-credit-meter@1.0.0`。
68
-
69
69
  ## 隐私
70
70
 
71
71
  读数和设置页的账户余额来自同一个查询(`ctx.remote.account.getBalance`)。本插件:
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "dsh-credit-meter",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Remaining DeepSeek account credit as a composer-dock reading",
5
5
  "license": "MIT",
6
- "author": "dsh-credit-meter contributors",
6
+ "author": "distractedlab (https://github.com/distractedlab)",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/distractedlab/dsh-credit-meter.git"
10
+ },
11
+ "homepage": "https://github.com/distractedlab/dsh-credit-meter#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/distractedlab/dsh-credit-meter/issues"
14
+ },
7
15
  "keywords": [
8
16
  "dsh",
9
17
  "dsh-plugin",