@lmzhen/dsh-evolution-learning-graph 0.1.0-rc.63 → 0.1.0-rc.65

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 +3 -2
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -124,7 +124,8 @@ async function resolveGraphNode(parsed, repository) {
124
124
  const name = "evolution-learning-graph";
125
125
  function apply(ctx) {
126
126
  ctx.inject(["commands"], (commandCtx) => {
127
- commandCtx.commands.register({
127
+ const commands = commandCtx.commands;
128
+ commandCtx.effect(() => commands.register({
128
129
  name: "graph",
129
130
  description: "Show the learning graph, or act on a node: graph [detail|edit|delete] <nodeId>",
130
131
  recordInput: false,
@@ -221,7 +222,7 @@ function apply(ctx) {
221
222
  return result.ok ? ok(result.message) : err(result.message);
222
223
  }
223
224
  }
224
- });
225
+ }), "evolution-learning-graph.command");
225
226
  });
226
227
  }
227
228
  //#endregion
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.1.0-rc.63",
4
+ "version": "0.1.0-rc.65",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -33,7 +33,7 @@
33
33
  "license": "MIT",
34
34
  "dependencies": {
35
35
  "@deepseek-ai/schemastery": "^3.18.1",
36
- "@lmzhen/dsh-evolution-core": "^0.1.0-rc.63"
36
+ "@lmzhen/dsh-evolution-core": "^0.1.0-rc.65"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",