@lmzhen/dsh-evolution-host 0.3.51 → 0.3.52

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
@@ -6,8 +6,10 @@ Host-plane self-evolution infrastructure bundle for DeepSeek Harness
6
6
  > infrastructure-only bundle: no model-facing tools, and it must be paired with
7
7
  > the Evolution agent preset to expose `memory`/`skill_manage`. It shares its
8
8
  > infrastructure rows with `@deepseek-ai/dsh-evolution-preset`; do **not** add
9
- > both bundles to the same profile — pick host+preset (layered) or the one-click
10
- > preset bundle.
9
+ > both bundles to the same profile — pick host + the Evolution agent preset
10
+ > (layered), or the one-click preset bundle. (V10-14 / H-02: the previous
11
+ > wording "pick host+preset" described the forbidden combination itself —
12
+ > "host + preset" IS the layered install, not an alternative to it.)
11
13
 
12
14
 
13
15
  ## Model Experience
package/cordis.patch.yml CHANGED
@@ -92,16 +92,30 @@
92
92
  # wholesale, so both path and openAt are set here.
93
93
  - id: session-query-sqlite
94
94
  config:
95
- path: !!js (process.env.DSH_EVOLUTION_SESSION_QUERY_PATH ?? dshHomePath('evolution', 'session-query.db'))
96
- openAt: !!js process.env.DSH_EVOLUTION_SESSION_QUERY || 'startup'
95
+ # P2-12 (V10-15): `??` only catches null/undefined, so a set-but-EMPTY
96
+ # variable kept the empty string and `resolve('')` dropped the SQLite
97
+ # index into the process CWD. The three-part form trims the value first;
98
+ # only a non-empty path overrides the durable default.
99
+ path: !!js (process.env.DSH_EVOLUTION_SESSION_QUERY_PATH || '').trim() || dshHomePath('evolution', 'session-query.db')
100
+ # P2-13 (V10-15): whitelist normalization — an arbitrary invalid value used
101
+ # to reach the platform z.union schema and blow up the whole profile at
102
+ # startup with an error far from the root cause. Unknown/empty values fall
103
+ # back to 'startup'. (Quoted scalar: the ternary's `: ` would otherwise
104
+ # break YAML plain-scalar parsing — see the upstream `!!js "..."` forms.)
105
+ openAt: !!js "['startup', 'first-search', 'never'].includes(process.env.DSH_EVOLUTION_SESSION_QUERY) ? process.env.DSH_EVOLUTION_SESSION_QUERY : 'startup'"
97
106
 
98
107
  # ── Hermes 60-char catalog rule: platform interface, deployment default ──────
99
108
  # Upstream tool-skill exposes `catalogDescriptionMaxLength` (the 500 constant is
100
109
  # only the schema default); the Hermes authoring standard is 60 and the index
101
- # truncates at the configured value. Override here so INSTALLING the evolution
102
- # host bundle carries the 60-char behavior automatically — no manual profile
103
- # edit needed. Base `tool-skill` row carries no other config today, so the
104
- # whole-config replacement is safe; if upstream adds fields there, copy them.
110
+ # truncates at the configured value.
111
+ # REACH (P1-2 / V10-14, corrected): this override is a PROFILE-ROOT row, so it
112
+ # covers sessions mounted WITHOUT an agent preset only. Sessions running under
113
+ # an agent preset read the preset scope's own `tool-skill` row, which no
114
+ # profile patch can touch — for those, install-layered injects the same cap
115
+ # onto the standard-sourced preset row at generation time (V10-14), and the
116
+ # one-click preset patch carries the identical root-level override.
117
+ # Base `tool-skill` row carries no other config today, so the whole-config
118
+ # replacement is safe; if upstream adds fields there, copy them.
105
119
  - id: tool-skill
106
120
  config:
107
121
  catalogDescriptionMaxLength: 60
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-host",
3
3
  "description": "Host-plane self-evolution infrastructure bundle for DeepSeek Harness (community build)",
4
- "version": "0.3.51",
4
+ "version": "0.3.52",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/lmzhen/dsh-evolution.git",
11
- "directory": "packages/dsh-evolution-host"
11
+ "directory": "packages/evolution-host"
12
12
  },
13
13
  "type": "module",
14
14
  "files": [
@@ -24,35 +24,35 @@
24
24
  }
25
25
  },
26
26
  "dependencies": {
27
- "@lmzhen/dsh-evolution-policy": "^0.3.51",
28
- "@lmzhen/dsh-evolution-io": "^0.3.51",
29
- "@lmzhen/dsh-evolution-io-node": "^0.3.51",
30
- "@lmzhen/dsh-evolution-state-storage": "^0.3.51",
31
- "@lmzhen/dsh-evolution-state-domain": "^0.3.51",
32
- "@lmzhen/dsh-evolution-state-json": "^0.3.51",
33
- "@lmzhen/dsh-evolution-state": "^0.3.51",
34
- "@lmzhen/dsh-memory": "^0.3.51",
35
- "@lmzhen/dsh-memory-files": "^0.3.51",
36
- "@lmzhen/dsh-skill-usage": "^0.3.51",
37
- "@lmzhen/dsh-evolution-approval": "^0.3.51",
38
- "@lmzhen/dsh-evolution-threat": "^0.3.51",
39
- "@lmzhen/dsh-evolution-review": "^0.3.51",
40
- "@lmzhen/dsh-evolution-curator": "^0.3.51",
41
- "@lmzhen/dsh-evolution-commands": "^0.3.51",
42
- "@lmzhen/dsh-evolution-maintenance": "^0.3.51",
43
- "@lmzhen/dsh-evolution-activity": "^0.3.51",
44
- "@lmzhen/dsh-evolution-feedback": "^0.3.51",
45
- "@lmzhen/dsh-evolution-learning-graph": "^0.3.51",
46
- "@lmzhen/dsh-evolution-replay": "^0.3.51"
27
+ "@lmzhen/dsh-evolution-policy": "^0.3.52",
28
+ "@lmzhen/dsh-evolution-io": "^0.3.52",
29
+ "@lmzhen/dsh-evolution-io-node": "^0.3.52",
30
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.52",
31
+ "@lmzhen/dsh-evolution-state-domain": "^0.3.52",
32
+ "@lmzhen/dsh-evolution-state-json": "^0.3.52",
33
+ "@lmzhen/dsh-evolution-state": "^0.3.52",
34
+ "@lmzhen/dsh-memory": "^0.3.52",
35
+ "@lmzhen/dsh-memory-files": "^0.3.52",
36
+ "@lmzhen/dsh-skill-usage": "^0.3.52",
37
+ "@lmzhen/dsh-evolution-approval": "^0.3.52",
38
+ "@lmzhen/dsh-evolution-threat": "^0.3.52",
39
+ "@lmzhen/dsh-evolution-review": "^0.3.52",
40
+ "@lmzhen/dsh-evolution-curator": "^0.3.52",
41
+ "@lmzhen/dsh-evolution-commands": "^0.3.52",
42
+ "@lmzhen/dsh-evolution-maintenance": "^0.3.52",
43
+ "@lmzhen/dsh-evolution-activity": "^0.3.52",
44
+ "@lmzhen/dsh-evolution-feedback": "^0.3.52",
45
+ "@lmzhen/dsh-evolution-learning-graph": "^0.3.52",
46
+ "@lmzhen/dsh-evolution-replay": "^0.3.52"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.1-rc.2",
50
50
  "@deepseek-ai/dsh-skill": "^0.1.1-rc.2",
51
51
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
52
52
  "@deepseek-ai/cordis": "^4.0.1",
53
- "@lmzhen/dsh-tool-memory": "^0.3.51",
54
- "@lmzhen/dsh-tool-skill-manage": "^0.3.51",
55
- "@lmzhen/dsh-evolution-skill-catalog": "^0.3.51"
53
+ "@lmzhen/dsh-tool-memory": "^0.3.52",
54
+ "@lmzhen/dsh-tool-skill-manage": "^0.3.52",
55
+ "@lmzhen/dsh-evolution-skill-catalog": "^0.3.52"
56
56
  },
57
57
  "exports": {
58
58
  "./invariant": {