@lmzhen/dsh-evolution-learning-graph 0.7.0 → 0.8.0

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 +3 -3
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { effectiveSessionPolicy } from "@lmzhen/dsh-evolution-approval";
2
2
  import z from "@deepseek-ai/schemastery";
3
- import { SKILL_NAME_RE, contentHash, evolutionIoAdapter, newSkillLibrary, relatedSkillNames, resolveExecOrigins } from "@lmzhen/dsh-evolution-core";
3
+ import { SKILL_NAME_RE, contentHash, errorText, evolutionIoAdapter, newSkillLibrary, relatedSkillNames, resolveExecOrigins } from "@lmzhen/dsh-evolution-core";
4
4
  //#region lib/types/index.js
5
5
  /**
6
6
  * Learning graph over skills and memory, plus node-level commands
@@ -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(`E-305: this invocation carries no agent \`${need}\` needs a session-backed call (run it from a session in the GUI or the CLI).`) : void 0;
248
+ const sessionMissing = (need) => session === void 0 ? err(errorText("e-305-this-invocation-carries-no-2", { 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]);
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.7.0",
4
+ "version": "0.8.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,8 +27,8 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
29
  "@deepseek-ai/schemastery": "^3.18.1",
30
- "@lmzhen/dsh-evolution-approval": "^0.7.0",
31
- "@lmzhen/dsh-evolution-core": "^0.7.0"
30
+ "@lmzhen/dsh-evolution-approval": "^0.8.0",
31
+ "@lmzhen/dsh-evolution-core": "^0.8.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@deepseek-ai/dsh-commands": "^0.1.5-rc.2",