dsh-flash-ctx-mon 0.1.5 → 0.1.6

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/README.md CHANGED
@@ -185,9 +185,13 @@ included.
185
185
  ## Install
186
186
 
187
187
  ```sh
188
- dsh plugin --profile <profile> add <path-to-this-checkout>
188
+ dsh plugin --profile <profile> add dsh-flash-ctx-mon
189
189
  ```
190
190
 
191
+ Requires **dock-flash ≥ 1.5** — it supplies the `quickControl` and
192
+ `dockFlashAlerts` services and the `dock-flash:ready` event, and any 2.x satisfies it.
193
+ Restart DSH after installing.
194
+
191
195
  `cordis.patch.yml` inserts the host row. Its `name` is a **package name**, resolved
192
196
  through the profile's `node_modules` — **never a relative path**.
193
197
 
package/README.zh-CN.md CHANGED
@@ -162,9 +162,11 @@ Apache-2.0
162
162
  ## 安装
163
163
 
164
164
  ```sh
165
- dsh plugin --profile <profile> add <path-to-this-checkout>
165
+ dsh plugin --profile <profile> add dsh-flash-ctx-mon
166
166
  ```
167
167
 
168
+ 需要 **dock-flash ≥ 1.5**:它提供 `quickControl`、`dockFlashAlerts` 服务与 `dock-flash:ready` 事件,任何 2.x 都满足。安装后请重启 DSH。
169
+
168
170
  `cordis.patch.yml` 负责插入宿主行。它的 `name` 是**包名**,经 profile 的 `node_modules`
169
171
  解析 —— **绝不是相对路径**。
170
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-flash-ctx-mon",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Context monitor provider for dock-flash — registers a context-alert provider (session token usage estimation) via ctx.get('dockFlashAlerts') and tracks context window pressure through DSH session events.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -11,6 +11,11 @@
11
11
  "./package.json": "./package.json"
12
12
  },
13
13
  "files": ["dist", "lib", "cordis.patch.yml", "README.md", "README.zh-CN.md"],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/tcgbp/dsh-flash-ctx-mon.git"
17
+ },
18
+ "homepage": "https://github.com/tcgbp/dsh-flash-ctx-mon#readme",
14
19
  "dsh": {
15
20
  "bundle": { "patch": "./cordis.patch.yml" },
16
21
  "client": {