@lmzhen/dsh-evolution-commands 0.19.0 → 0.19.1
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 +1 -0
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ The full `/evolution` subcommand table is single-sourced in the family README's
|
|
|
18
18
|
|
|
19
19
|
- No known durable consumer gaps at this time. Runtime contracts are covered by package and boundary tests.
|
|
20
20
|
- **`/evolution maintain` runs in the BACKGROUND (0.19.0).** The command answers with a run id and the scan keeps working: read it with `/evolution maintain report <id>` (a run that produced nothing answers "no result" instead of an empty plan) or `/evolution maintain status [<id>]` (in flight plus the recent terminal states). The run's lifetime belongs to this plugin through `evolution-core`'s run registry, **not** to the request that started it: the desktop shell ends a request at ~305 s (measured four times) while the same scan completes in 949.7 s on the web plane, and `maintainTimeoutMs` (default 600000) bounds the run itself. **Cancelling the request no longer stops the scan** — use `/evolution maintain cancel <id>`, or unmount the row. The plan is written once at settle to `<evolutionHome>/reports/maintain-<runId>.{json,md}`, under the same per-home reports window the curator's reports use.
|
|
21
|
+
- **Cross-plane run state is eventual, and the shared index is the truth for runs this process does not own (0.19.1).** Two hosts sharing one `DSH_HOME` (the desktop app and a `dsh web` plane) read and write `evolution/runs.json` together. `begin()` resolves only after its row is in that index, so a plane reading the answer "started" finds the run; a run another plane owns is re-read at this plane's **next** read, and it stops being live in exactly two ways — its owner settled it (that terminal state is adopted) or its owner died (converged to `failed(orphan)`, with the reason spelled out). Runs this process owns keep memory as the truth. No timer and no heartbeat sits behind this: 0.19.0 skipped ids it already knew, which left an observing plane reporting `running` forever and refusing its own `maintain` until it restarted.
|
|
21
22
|
- **① variant form: the `/evolution …` command face is visible in every session** (accepted, not fixed). Commands are registered in scope layers, and the family registers once on the host plane, so a session on a platform original preset still lists the management-only subcommands even though no automatic family behaviour reaches it. The difference and its reasoning are single-sourced in `INSTALL.md` ("Known difference").
|
|
22
23
|
|
|
23
24
|
**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).
|
package/lib/index.js
CHANGED
|
@@ -1812,7 +1812,7 @@ function apply(ctx, rawConfig = {}) {
|
|
|
1812
1812
|
}
|
|
1813
1813
|
const runHome = evolutionHome();
|
|
1814
1814
|
const runRoot = evolutionRoot();
|
|
1815
|
-
const handle = registry.begin("maintain");
|
|
1815
|
+
const handle = await registry.begin("maintain");
|
|
1816
1816
|
(async () => {
|
|
1817
1817
|
try {
|
|
1818
1818
|
const library = newSkillLibrary({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmzhen/dsh-evolution-commands",
|
|
3
3
|
"description": "Human commands for the evolution family (/evolution pending|curator|maintain|doctor) (community build)",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
30
|
-
"@lmzhen/dsh-evolution-approval": "^0.19.
|
|
31
|
-
"@lmzhen/dsh-evolution-core": "^0.19.
|
|
32
|
-
"@lmzhen/dsh-evolution-maintenance": "^0.19.
|
|
30
|
+
"@lmzhen/dsh-evolution-approval": "^0.19.1",
|
|
31
|
+
"@lmzhen/dsh-evolution-core": "^0.19.1",
|
|
32
|
+
"@lmzhen/dsh-evolution-maintenance": "^0.19.1"
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"@lmzhen/dsh-evolution-agent-preset": "^0.19.
|
|
35
|
+
"@lmzhen/dsh-evolution-agent-preset": "^0.19.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@deepseek-ai/cordis": "^4.0.1",
|