@lmzhen/dsh-skill-usage 0.3.83 → 0.4.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.
- package/README.md +16 -22
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,34 +1,28 @@
|
|
|
1
1
|
# @lmzhen/dsh-skill-usage
|
|
2
2
|
|
|
3
|
-
Skill usage telemetry
|
|
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.
|
|
4
7
|
|
|
5
|
-
##
|
|
8
|
+
## Model surface
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
an arbitrary read never mints a usage record (records are authored by skill
|
|
11
|
-
creation, patching, or curator seeding).
|
|
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`.
|
|
12
13
|
|
|
13
|
-
##
|
|
14
|
+
## Configuration
|
|
14
15
|
|
|
15
|
-
|
|
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).
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
## Known limitations
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
- No known durable consumer gaps; runtime contracts are covered by package and boundary tests.
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Zero direct token effect from this package; consumers add any model-visible tokens.
|
|
24
|
-
|
|
25
|
-
#### KV Cache effect
|
|
26
|
-
|
|
27
|
-
Independent of request-prefix construction. This package does not alter the assembled prompt or tool list.
|
|
28
|
-
|
|
29
|
-
## Known Limitations and Deferred Work
|
|
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).
|
|
30
25
|
|
|
26
|
+
## Notes and history
|
|
31
27
|
|
|
32
|
-
- No known durable consumer gaps at this time. Runtime contracts are covered by package and boundary tests.
|
|
33
28
|
|
|
34
|
-
**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).
|
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.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
30
|
-
"@lmzhen/dsh-evolution-core": "^0.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.4.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
34
34
|
"@deepseek-ai/dsh-session": "^0.1.5-rc.2",
|
|
35
|
-
"@lmzhen/dsh-evolution-io": "^0.
|
|
35
|
+
"@lmzhen/dsh-evolution-io": "^0.4.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@deepseek-ai/dsh-session": "^0.1.5-rc.2",
|
|
39
|
-
"@lmzhen/dsh-evolution-core": "^0.
|
|
40
|
-
"@lmzhen/dsh-evolution-io": "^0.
|
|
39
|
+
"@lmzhen/dsh-evolution-core": "^0.4.1",
|
|
40
|
+
"@lmzhen/dsh-evolution-io": "^0.4.1"
|
|
41
41
|
}
|
|
42
42
|
}
|