@lmzhen/dsh-skill-usage 0.3.81 → 0.3.83
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 +2 -2
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @lmzhen/dsh-skill-usage
|
|
2
2
|
|
|
3
3
|
Skill usage telemetry service
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ creation, patching, or curator seeding).
|
|
|
16
16
|
|
|
17
17
|
#### What the model sees
|
|
18
18
|
|
|
19
|
-
`@
|
|
19
|
+
`@lmzhen/dsh-skill-usage` registers no direct prompt or tool schema itself. Model-visible effects are owned by the packages that consume this service.
|
|
20
20
|
|
|
21
21
|
#### Token effect
|
|
22
22
|
|
package/lib/index.js
CHANGED
|
@@ -58,8 +58,8 @@ var SkillUsageRegistry = class extends Service {
|
|
|
58
58
|
const reads = new ToolDispatchNormalizer({ maxTracked: LIVE_DISPATCH_LEDGER_CAP });
|
|
59
59
|
return ctx.on("session/event", (session, event) => {
|
|
60
60
|
if (!sessionAudited(ctx, session.id, config.sessionScoped)) return;
|
|
61
|
-
reads.advance(event);
|
|
62
|
-
const settled = reads.settledSignalOf(event);
|
|
61
|
+
reads.advance(event, session.id);
|
|
62
|
+
const settled = reads.settledSignalOf(event, session.id);
|
|
63
63
|
if (settled === null || settled.ok === false) return;
|
|
64
64
|
const settledName = skillReadNameOf(settled);
|
|
65
65
|
if (settledName === void 0) return;
|
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.3.
|
|
4
|
+
"version": "0.3.83",
|
|
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.3.
|
|
30
|
+
"@lmzhen/dsh-evolution-core": "^0.3.83"
|
|
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.3.
|
|
35
|
+
"@lmzhen/dsh-evolution-io": "^0.3.83"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@deepseek-ai/dsh-session": "^0.1.5-rc.2",
|
|
39
|
-
"@lmzhen/dsh-evolution-core": "^0.3.
|
|
40
|
-
"@lmzhen/dsh-evolution-io": "^0.3.
|
|
39
|
+
"@lmzhen/dsh-evolution-core": "^0.3.83",
|
|
40
|
+
"@lmzhen/dsh-evolution-io": "^0.3.83"
|
|
41
41
|
}
|
|
42
42
|
}
|