@lmzhen/dsh-evolution-all 0.56.0 → 0.58.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.
package/cordis.patch.yml CHANGED
@@ -1,20 +1,20 @@
1
1
  # Full-functionality evolution bundle (DEFAULT install target).
2
2
  #
3
- # This layer = evolution-host's entire infrastructure plane ∪ the four
4
- # agent-preset-class model tool rows (tool-memory / tool-skill-manage /
5
- # tool-session-query / evolution-skill-catalog), all mounted at PROFILE-ROOT
3
+ # This layer = evolution-host's entire infrastructure plane ∪ the three
4
+ # agent-preset-class family model tool rows (tool-memory / tool-skill-manage /
5
+ # evolution-skill-catalog), all mounted at PROFILE-ROOT
6
6
  # level: installing
7
7
  # @lmzhen/dsh-evolution-all is the default "most complete first" path — every
8
8
  # session gets the automation AND the memory/skill tools AND the
9
9
  # SKILLS/MEMORY guidance injection, with no agent-preset step.
10
10
  # (v20 wording: the host plane inside this bundle also carries the read-only
11
11
  # `maintenance_probe` schema via its evolution-maintenance-tools row — a
12
- # fifth model-visible surface beyond the four rows above.)
12
+ # fourth model-visible surface beyond the three rows above.)
13
13
  #
14
14
  # THREE-WAY DRIFT GUARD (evolution-host/tests/bundle-mutual-exclusion.spec.ts):
15
15
  # - every infra row block below must stay byte-identical to
16
16
  # evolution-host/cordis.patch.yml (same id/name/config/disabled);
17
- # - the four model rows must stay byte-identical to
17
+ # - the three model rows must stay byte-identical to
18
18
  # evolution-preset/cordis.patch.yml's model rows;
19
19
  # - the row names must all resolve inside this package's dependency closure.
20
20
  # MUTUAL EXCLUSION: all / host / one-click preset are ALTERNATIVE install
@@ -24,6 +24,8 @@
24
24
  # double-mount the tools). Single install only.
25
25
  - insert:
26
26
  # ── runtime services: one projection owner per composition ───────────────
27
+ - id: evolution-adapter
28
+ name: '@lmzhen/dsh-evolution-adapter'
27
29
  - id: evolution-core-runtime
28
30
  name: '@lmzhen/dsh-evolution-core/runtime'
29
31
 
@@ -71,8 +73,6 @@
71
73
  sessionScoped: true
72
74
  - id: tool-skill-manage
73
75
  name: '@lmzhen/dsh-tool-skill-manage'
74
- - id: tool-session-query
75
- name: '@deepseek-ai/dsh-tool-session-query'
76
76
  # S3-1 (G-3) LAYER SEMANTICS: this row files into the GLOBAL layer (profile
77
77
  # root). It governs sessions WITHOUT the Evolution agent preset; with the
78
78
  # preset active, the preset layer is NEARER and wins a duplicate name
@@ -153,65 +153,3 @@
153
153
  # visible to the client-modules scan; the view registers into evolution.workbench.view.
154
154
  - id: evolution-merge-ui
155
155
  name: '@lmzhen/dsh-evolution-merge-ui'
156
-
157
- # ── cross-session recall: enable the native session-query index ─────────────
158
- # `tool-session-query` (above) exposes `session_search`; this overlay
159
- # enables the backing SQLite full-text index so that search actually works.
160
- # It is a configuration OVERRIDE of the base `session-query-sqlite` row (never
161
- # an insert — base already provides it), so it must sit OUTSIDE the `- insert:`
162
- # block above. Both fields are parameterized via environment variables (dsh
163
- # `!!js` runtime evaluation), and any profile cordis.patch.yml overlay may still
164
- # override them later. `openAt` defaults to `startup` so the index is ready for
165
- # cross-session recall; set `DSH_EVOLUTION_SESSION_QUERY=never` to disable, or
166
- # `first-search` to build it lazily. A durable `path` (not `:memory:`) lets the
167
- # index survive restarts. Note: `config` values replace the base entry's config
168
- # wholesale, so both path and openAt are set here.
169
- # WHOLE-CONFIG REPLACEMENT (v33 G2.3): an override's `config` replaces the base
170
- # entry's config as a whole, so every platform key NOT set below falls back to
171
- # that row's schema default. Platform keys for this row
172
- # (0.2.0-rc.2 `session-query-sqlite` Config): path, openAt, journalMode,
173
- # defaultLimit, maxLimit, snippetChars, readWindowMax, persistedReadConcurrency,
174
- # preparedSessionCacheSize.
175
- # verify-declared-config.mjs --upstream recomputes this list from the platform
176
- # source and fails when the row gains a key this comment does not name.
177
- - id: session-query-sqlite
178
- config:
179
- # P2-12 (V10-15): `??` only catches null/undefined, so a set-but-EMPTY
180
- # variable kept the empty string and `resolve('')` dropped the SQLite
181
- # index into the process CWD. The three-part form trims the value first;
182
- # only a non-empty path overrides the durable default.
183
- path: !!js (process.env.DSH_EVOLUTION_SESSION_QUERY_PATH || '').trim() || dshHomePath('evolution', 'session-query.db')
184
- # P2-13 (V10-15): whitelist normalization — an arbitrary invalid value used
185
- # to reach the platform z.union schema and blow up the whole profile at
186
- # startup with an error far from the root cause. Unknown/empty values fall
187
- # back to 'startup'. (Quoted scalar: the ternary's `: ` would otherwise
188
- # break YAML plain-scalar parsing — see the upstream `!!js "..."` forms.)
189
- openAt: !!js "['startup', 'first-search', 'never'].includes(process.env.DSH_EVOLUTION_SESSION_QUERY) ? process.env.DSH_EVOLUTION_SESSION_QUERY : 'startup'"
190
-
191
- # ── Hermes 60-char catalog rule: platform interface, deployment default ──────
192
- # Upstream tool-skill exposes `catalogDescriptionMaxLength` (the 500 constant is
193
- # only the schema default); the Hermes authoring standard is 60 and the index
194
- # truncates at the configured value.
195
- # REACH (P1-2 / V10-14, corrected): this override is a PROFILE-ROOT row, so it
196
- # covers sessions mounted WITHOUT an agent preset only. Sessions running under
197
- # an agent preset read the preset scope's own `tool-skill` row, which no
198
- # profile patch can touch — for those, the preset composer injects the same cap
199
- # at generation time (V10-14 → 0.3.53), and the one-click preset patch carries
200
- # the identical root-level override.
201
- # Base `tool-skill` row carries no other config today, so the whole-config
202
- # replacement is safe; if upstream adds fields there, copy them.
203
- # WHOLE-CONFIG REPLACEMENT (v33 G2.3): an override's `config` replaces the base
204
- # entry's config as a whole, so every platform key NOT set below falls back to
205
- # that row's schema default. Platform keys for this row (0.2.0-rc.2
206
- # `tool-skill` Config): catalogDescriptionMaxLength.
207
- # verify-declared-config.mjs --upstream recomputes this list from the platform
208
- # source and fails when the row gains a key this comment does not name.
209
- # OPT-29 (2026-09): on the WEB plane the upstream web-app patch disables the
210
- # profile-root tool-skill row entirely (web-app/cordis.patch.yml: tool-skill
211
- # disabled: true) — there this override patches an entry that never starts.
212
- # That is harmless today (root sessions on web have no skill tool at all), and
213
- # preset-scope sessions are covered by the composer injection; the override
214
- # reaches base-plane (headless) root sessions only.
215
- - id: tool-skill
216
- config:
217
- catalogDescriptionMaxLength: 60
@@ -3,8 +3,8 @@
3
3
  * (DEFAULT install target, 0.3.54).
4
4
  *
5
5
  * This package carries its own `dsh.bundle.patch` (`cordis.patch.yml`) whose
6
- * row set is the evolution-host infrastructure plane ∪ the four model-facing
7
- * tool rows (`tool-memory`, `tool-skill-manage`, `tool-session-query`,
6
+ * row set is the evolution-host infrastructure plane ∪ the three model-facing
7
+ * tool rows (`tool-memory`, `tool-skill-manage`,
8
8
  * `evolution-skill-catalog`), all mounted at PROFILE-ROOT level:
9
9
  * `dsh plugin add @lmzhen/dsh-evolution-all` is the "most complete first"
10
10
  * install — every session gets the background automation AND the memory /
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-all",
3
3
  "description": "Full-functionality evolution bundle — DEFAULT install: host automation + model tools, all profile-root (community build)",
4
- "version": "0.56.0",
4
+ "version": "0.58.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,26 +39,26 @@
39
39
  ],
40
40
  "license": "MIT",
41
41
  "dependencies": {
42
- "@deepseek-ai/dsh-tool-session-query": "^0.2.2-rc.5",
43
- "@lmzhen/dsh-evolution-host": "0.56.0",
44
- "@lmzhen/dsh-tool-skill-manage": "0.56.0",
45
- "@lmzhen/dsh-evolution-agent-preset": "0.56.0",
46
- "@lmzhen/dsh-evolution-merge": "0.56.0",
47
- "@lmzhen/dsh-evolution-merge-ui": "0.56.0",
48
- "@lmzhen/dsh-evolution-core": "0.56.0",
49
- "@lmzhen/dsh-evolution-skill-discovery": "0.56.0",
50
- "@lmzhen/dsh-evolution-ui": "0.56.0",
51
- "@lmzhen/dsh-memory": "0.56.0",
52
- "@lmzhen/dsh-evolution-state": "0.56.0",
53
- "@lmzhen/dsh-evolution-approval": "0.56.0",
54
- "@lmzhen/dsh-evolution-activity": "0.56.0",
55
- "@lmzhen/dsh-evolution-review": "0.56.0",
56
- "@lmzhen/dsh-evolution-curator": "0.56.0",
57
- "@lmzhen/dsh-evolution-commands": "0.56.0",
58
- "@lmzhen/dsh-evolution-maintenance": "0.56.0",
59
- "@lmzhen/dsh-evolution-skill-health": "0.56.0"
42
+ "@lmzhen/dsh-evolution-host": "0.58.0",
43
+ "@lmzhen/dsh-tool-skill-manage": "0.58.0",
44
+ "@lmzhen/dsh-evolution-agent-preset": "0.58.0",
45
+ "@lmzhen/dsh-evolution-merge": "0.58.0",
46
+ "@lmzhen/dsh-evolution-merge-ui": "0.58.0",
47
+ "@lmzhen/dsh-evolution-core": "0.58.0",
48
+ "@lmzhen/dsh-evolution-skill-discovery": "0.58.0",
49
+ "@lmzhen/dsh-evolution-ui": "0.58.0",
50
+ "@lmzhen/dsh-memory": "0.58.0",
51
+ "@lmzhen/dsh-evolution-state": "0.58.0",
52
+ "@lmzhen/dsh-evolution-approval": "0.58.0",
53
+ "@lmzhen/dsh-evolution-activity": "0.58.0",
54
+ "@lmzhen/dsh-evolution-review": "0.58.0",
55
+ "@lmzhen/dsh-evolution-curator": "0.58.0",
56
+ "@lmzhen/dsh-evolution-commands": "0.58.0",
57
+ "@lmzhen/dsh-evolution-maintenance": "0.58.0",
58
+ "@lmzhen/dsh-evolution-skill-health": "0.58.0",
59
+ "@lmzhen/dsh-evolution-adapter": "0.58.0"
60
60
  },
61
61
  "engines": {
62
- "dsh": ">=0.2.2-rc.5 <0.2.3-0"
62
+ "dsh": "0.2.2-rc.5"
63
63
  }
64
64
  }