@lmzhen/dsh-evolution-host 0.3.74 → 0.3.77

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 CHANGED
@@ -48,3 +48,5 @@ Independent of request-prefix construction. This package does not alter the asse
48
48
 
49
49
  - Host-only by design. It provides no memory/skill write tools — the read-only `maintenance_probe` diagnostic is the one exception; pair it with the Evolution agent preset to expose `memory`/`skill_manage`.
50
50
 
51
+ **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).
52
+
package/cordis.patch.yml CHANGED
@@ -48,8 +48,14 @@
48
48
  name: '@lmzhen/dsh-memory-files'
49
49
 
50
50
  # ── skill telemetry (skill catalog/writer live in agent presets) ────────
51
+ # `sessionScoped: true`: the family observes only the sessions that carry
52
+ # its model tools. The shipped bundles all set it — mounted at profile root
53
+ # that is every session, inside a variant preset only the ones that selected
54
+ # it. See evolution-core/src/opt-in.ts.
51
55
  - id: skill-usage
52
56
  name: '@lmzhen/dsh-skill-usage'
57
+ config:
58
+ sessionScoped: true
53
59
 
54
60
  # ── write admission: staged approval (off by default) + threat guard ────
55
61
  - id: evolution-approval
@@ -72,6 +78,9 @@
72
78
  # listing it would be dead configuration. Allow `skill` so review
73
79
  # subagents can load skills under the Anchored Standard preset family.
74
80
  reviewToolAllow: [skill]
81
+ # See the skill-usage row above: an original-preset session under a
82
+ # variant install carries no family tools and must not be injected.
83
+ sessionScoped: true
75
84
  - id: evolution-curator
76
85
  name: '@lmzhen/dsh-evolution-curator'
77
86
  - id: evolution-commands
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-host",
3
3
  "description": "Self-evolution automation bundle — infrastructure only, plus the read-only maintenance_probe diagnostic; the shrink-path install (community build)",
4
- "version": "0.3.74",
4
+ "version": "0.3.77",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -24,41 +24,36 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@lmzhen/dsh-evolution-policy": "^0.3.74",
28
- "@lmzhen/dsh-evolution-io": "^0.3.74",
29
- "@lmzhen/dsh-evolution-io-node": "^0.3.74",
30
- "@lmzhen/dsh-evolution-state-storage": "^0.3.74",
31
- "@lmzhen/dsh-evolution-state-domain": "^0.3.74",
32
- "@lmzhen/dsh-evolution-state-json": "^0.3.74",
33
- "@lmzhen/dsh-evolution-state": "^0.3.74",
34
- "@lmzhen/dsh-memory": "^0.3.74",
35
- "@lmzhen/dsh-memory-files": "^0.3.74",
36
- "@lmzhen/dsh-skill-usage": "^0.3.74",
37
- "@lmzhen/dsh-evolution-approval": "^0.3.74",
38
- "@lmzhen/dsh-evolution-threat": "^0.3.74",
39
- "@lmzhen/dsh-evolution-review": "^0.3.74",
40
- "@lmzhen/dsh-evolution-curator": "^0.3.74",
41
- "@lmzhen/dsh-evolution-commands": "^0.3.74",
42
- "@lmzhen/dsh-evolution-maintenance": "^0.3.74",
43
- "@lmzhen/dsh-evolution-activity": "^0.3.74",
44
- "@lmzhen/dsh-evolution-feedback": "^0.3.74",
45
- "@lmzhen/dsh-evolution-learning-graph": "^0.3.74",
46
- "@lmzhen/dsh-evolution-replay": "^0.3.74"
27
+ "@lmzhen/dsh-evolution-policy": "^0.3.77",
28
+ "@lmzhen/dsh-evolution-io": "^0.3.77",
29
+ "@lmzhen/dsh-evolution-io-node": "^0.3.77",
30
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.77",
31
+ "@lmzhen/dsh-evolution-state-domain": "^0.3.77",
32
+ "@lmzhen/dsh-evolution-state-json": "^0.3.77",
33
+ "@lmzhen/dsh-evolution-state": "^0.3.77",
34
+ "@lmzhen/dsh-memory": "^0.3.77",
35
+ "@lmzhen/dsh-memory-files": "^0.3.77",
36
+ "@lmzhen/dsh-skill-usage": "^0.3.77",
37
+ "@lmzhen/dsh-evolution-approval": "^0.3.77",
38
+ "@lmzhen/dsh-evolution-threat": "^0.3.77",
39
+ "@lmzhen/dsh-evolution-review": "^0.3.77",
40
+ "@lmzhen/dsh-evolution-curator": "^0.3.77",
41
+ "@lmzhen/dsh-evolution-commands": "^0.3.77",
42
+ "@lmzhen/dsh-evolution-maintenance": "^0.3.77",
43
+ "@lmzhen/dsh-evolution-activity": "^0.3.77",
44
+ "@lmzhen/dsh-evolution-feedback": "^0.3.77",
45
+ "@lmzhen/dsh-evolution-learning-graph": "^0.3.77",
46
+ "@lmzhen/dsh-evolution-replay": "^0.3.77"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.5-rc.2",
50
50
  "@deepseek-ai/dsh-skill": "^0.1.5-rc.2",
51
- "@deepseek-ai/dsh-invariants": "^0.1.5-rc.2",
52
51
  "@deepseek-ai/cordis": "^4.0.1",
53
- "@lmzhen/dsh-tool-memory": "^0.3.74",
54
- "@lmzhen/dsh-tool-skill-manage": "^0.3.74",
55
- "@lmzhen/dsh-evolution-skill-catalog": "^0.3.74"
52
+ "@lmzhen/dsh-tool-memory": "^0.3.77",
53
+ "@lmzhen/dsh-tool-skill-manage": "^0.3.77",
54
+ "@lmzhen/dsh-evolution-skill-catalog": "^0.3.77"
56
55
  },
57
56
  "exports": {
58
- "./invariant": {
59
- "types": "./lib/types/invariant.d.ts",
60
- "default": "./lib/invariant.js"
61
- },
62
57
  ".": {
63
58
  "types": "./lib/types/index.d.ts",
64
59
  "default": "./lib/index.js"
@@ -67,7 +62,6 @@
67
62
  "./package.json": "./package.json"
68
63
  },
69
64
  "peerDependencies": {
70
- "@deepseek-ai/dsh-invariants": "^0.1.5-rc.2",
71
65
  "@deepseek-ai/cordis": "^4.0.1"
72
66
  },
73
67
  "main": "lib/index.js",
package/lib/invariant.js DELETED
@@ -1,8 +0,0 @@
1
- //#region lib/types/invariant.js
2
- const PACKAGE_NAME = "@lmzhen/dsh-evolution-host";
3
- const name = "evolution-host-invariant";
4
- const inject = ["invariants"];
5
- const install = () => {};
6
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
7
- //#endregion
8
- export { apply, inject, name };
@@ -1,5 +0,0 @@
1
- import type { Context } from '@deepseek-ai/cordis';
2
- export declare const name = "evolution-host-invariant";
3
- export declare const inject: string[];
4
- export declare const apply: (ctx: Context) => Promise<() => void>;
5
- //# sourceMappingURL=invariant.d.ts.map