@volter/world 3.0.125 → 3.0.126
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/world",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.126",
|
|
4
4
|
"description": "Run your app against a world of twins. `World` and `Repo` — one method per verb: init, up, run, log, diff, reset, branch, checkout, clone, fetch, changeset, push — and the `volter` command, one client of them.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"volter",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
33
|
-
"@volter/world-core": "3.0.
|
|
34
|
-
"@volter/world-runtime": "3.0.
|
|
33
|
+
"@volter/world-core": "3.0.126",
|
|
34
|
+
"@volter/world-runtime": "3.0.126",
|
|
35
35
|
"zod": "^4.6.5"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@volter/world-console": "3.0.
|
|
38
|
+
"@volter/world-console": "3.0.121"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"@volter/world-console": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@volter/world-console": "3.0.
|
|
46
|
+
"@volter/world-console": "3.0.121"
|
|
47
47
|
},
|
|
48
48
|
"bin": {
|
|
49
49
|
"volter": "dist/src/cli.js"
|
|
@@ -36,6 +36,7 @@ for (const file of pages) {
|
|
|
36
36
|
let issuer: Awaited<ReturnType<typeof startIssuer>> | null = null;
|
|
37
37
|
let results;
|
|
38
38
|
let completed = false;
|
|
39
|
+
const cleanupFailures: unknown[] = [];
|
|
39
40
|
// TUTORIAL_TRACE=1 prints each step as it finishes: what a failed shell cleanup would otherwise take with it
|
|
40
41
|
const trace = process.env.TUTORIAL_TRACE ? (r: { step: { kind: string; line: number; command?: string; path?: string }; output: string; missing: string[]; exit: number | null }) => console.error(`── line ${r.step.line} ${r.step.command ?? r.step.path} → exit ${r.exit}${r.missing.length ? `, missing: ${r.missing.join(' | ')}` : ''}\n${r.output.trim().slice(-1500)}`) : undefined;
|
|
41
42
|
try {
|
|
@@ -48,9 +49,10 @@ for (const file of pages) {
|
|
|
48
49
|
} finally {
|
|
49
50
|
// each stack is stopped whatever the other or the page did; a stop's failure is said, never in place of the page's own
|
|
50
51
|
const stopped = await Promise.allSettled([hosted?.stop(), issuer?.stop()]);
|
|
51
|
-
for (const s of stopped) if (s.status === 'rejected') { completed = false; console.error(`a stack did not stop: ${String(s.reason)}`); }
|
|
52
|
+
for (const s of stopped) if (s.status === 'rejected') { completed = false; cleanupFailures.push(s.reason); console.error(`a stack did not stop: ${String(s.reason)}`); }
|
|
52
53
|
if (process.env.TUTORIAL_KEEP || !completed) console.error(`kept ${app.parent}`); else await removeTutorialApp(app.parent); // failed shell/World cleanup retains its evidence; TUTORIAL_KEEP=1 also keeps a successful page
|
|
53
54
|
}
|
|
55
|
+
if (cleanupFailures.length) throw new AggregateError(cleanupFailures, 'tutorial stack cleanup failed');
|
|
54
56
|
const wrong = failures(results);
|
|
55
57
|
expect(wrong, wrong.join('\n\n')).toEqual([]);
|
|
56
58
|
}, 900_000);
|