@lmzhen/dsh-skill-usage 0.32.4 → 0.32.5

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 (2) hide show
  1. package/README.md +9 -18
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,28 +1,19 @@
1
1
  # @lmzhen/dsh-skill-usage
2
2
 
3
- Skill usage telemetry: the `use`/`view`/`patch` counters behind the skill tree's usage records.
4
- `record(name, kind)` is the write API; reads are observed from `session/event`
5
- `tool/call` records of the `skill` tool and bump `view` on EXISTING records only — a read never
6
- mints one.
3
+ > 内部组件,统计技能使用/读取次数。
7
4
 
8
- ## Model surface
5
+ ## 你会看到
9
6
 
10
- - **Model-visible:** nothing of its own: the counter readers own it.
11
- - **Prompt prefix / KV cache:** unchanged by this package: family-level rules single-sourced in `packages/README.md` §"Model-visible prompt prefix and the KV cache".
12
- - **Mount it?** yes — the `skill-usage` row (`sessionScoped: true`), `evolution-host`/`evolution-all`/one-click `evolution-preset`; consumed by `evolution-feedback` and `tool-skill-manage`.
7
+ 没有直接命令/面板;数据供整理/健康判断。
13
8
 
14
- ## Configuration
9
+ ## 什么时候会用到
15
10
 
16
- - `root` (default `''`): skills-tree root.
17
- - `eventsHome`: the event timeline's home; `''` means `DSH_HOME` / `~/.dsh`.
18
- - `sessionScoped` (default `false`): act only on sessions carrying the family's model tools (the bundles set it).
11
+ 只在看报告时。
19
12
 
20
- ## Known limitations
13
+ ## 默认 / 前提
21
14
 
22
- - No known durable consumer gaps; runtime contracts are covered by package and boundary tests.
23
-
24
- **Runtime invariant:** No companion is published. The platform auto-assembles nothing and the family mounts no `<pkg>/invariant` cordis row, so a companion here would never execute (v37 S2.1 / I-3).
25
-
26
- ## Notes and history
15
+ 随家族自动工作。
27
16
 
17
+ ## 边界
28
18
 
19
+ 普通用户不需要操作。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-skill-usage",
3
3
  "description": "Skill usage telemetry service (community build)",
4
- "version": "0.32.4",
4
+ "version": "0.32.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,17 +27,17 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.5",
30
- "@lmzhen/dsh-evolution-core": "^0.32.4"
30
+ "@lmzhen/dsh-evolution-core": "^0.32.5"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@deepseek-ai/cordis": "^4.0.5",
34
34
  "@deepseek-ai/dsh-session": "^0.2.1-rc.2",
35
- "@lmzhen/dsh-evolution-io": "^0.32.4"
35
+ "@lmzhen/dsh-evolution-io": "^0.32.5"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@deepseek-ai/dsh-session": "^0.2.1-rc.2",
39
- "@lmzhen/dsh-evolution-core": "^0.32.4",
40
- "@lmzhen/dsh-evolution-io": "^0.32.4"
39
+ "@lmzhen/dsh-evolution-core": "^0.32.5",
40
+ "@lmzhen/dsh-evolution-io": "^0.32.5"
41
41
  },
42
42
  "engines": {
43
43
  "dsh": ">=0.2.1-rc.2 <0.2.2-0"