@lmzhen/dsh-evolution-learning-graph 0.17.1 → 0.18.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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -245,7 +245,7 @@ function apply(ctx, rawConfig = {}) {
245
245
  const io = ioService;
246
246
  const invocationAgent = invocation.agent;
247
247
  const session = invocationAgent?.session;
248
- const sessionMissing = (need) => session === void 0 ? err(errorText("e-305-this-invocation-carries-no-2", { a1: need })) : void 0;
248
+ const sessionMissing = (need) => session === void 0 ? err(errorText("e-305-this-invocation-carries-no", { a1: need })) : void 0;
249
249
  const input = invocation.rawInput.trim();
250
250
  const detail = /^detail\s+(\S+)$/.exec(input);
251
251
  if (detail && detail[1]) return await nodeDetail(detail[1]);
@@ -284,7 +284,7 @@ function apply(ctx, rawConfig = {}) {
284
284
  }
285
285
  async function renderGraph() {
286
286
  const usageReport = await usage.report();
287
- const usageMap = new Map([...usageReport].filter(([, record]) => record.state !== "archived"));
287
+ const usageMap = new Map((await withSkills().treeNames()).map((name) => [name, usageReport.get(name)]));
288
288
  const memoryEntries = await memory.read("memory");
289
289
  const userEntries = await memory.read("user");
290
290
  const skills = withSkills();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-learning-graph",
3
3
  "description": "Learning graph over skills and memory (community build)",
4
- "version": "0.17.1",
4
+ "version": "0.18.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -26,9 +26,9 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@deepseek-ai/schemastery": "^3.18.1",
30
- "@lmzhen/dsh-evolution-approval": "^0.17.1",
31
- "@lmzhen/dsh-evolution-core": "^0.17.1"
29
+ "@deepseek-ai/schemastery": "^3.18.4",
30
+ "@lmzhen/dsh-evolution-approval": "^0.18.1",
31
+ "@lmzhen/dsh-evolution-core": "^0.18.1"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@deepseek-ai/dsh-commands": "^0.2.0-rc.1",