@volter/world 3.0.111 → 3.0.113

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/sdk.test.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/world",
3
- "version": "3.0.111",
3
+ "version": "3.0.113",
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.111",
34
- "@volter/world-runtime": "3.0.111",
33
+ "@volter/world-core": "3.0.113",
34
+ "@volter/world-runtime": "3.0.113",
35
35
  "zod": "^4.6.5"
36
36
  },
37
37
  "peerDependencies": {
38
- "@volter/world-console": "3.0.106"
38
+ "@volter/world-console": "3.0.108"
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.106"
46
+ "@volter/world-console": "3.0.108"
47
47
  },
48
48
  "bin": {
49
49
  "volter": "dist/src/cli.js"
package/src/sdk.test.ts CHANGED
@@ -68,10 +68,14 @@ describe('World — the twins an app needs, running together', () => {
68
68
  await expect(back.checkout('nonesuch')).rejects.toThrow(/No branch "nonesuch"/);
69
69
 
70
70
  // down stops compute; up resumes the branch WITH its state (reset is the way back to the defaults)
71
+ back.setClock(AT);
72
+ back.advanceClock('1h');
73
+ const retainedClock = back.clock();
71
74
  await back.down();
72
75
  expect(back.status().running).toBe(false);
73
76
  await back.up();
74
77
  expect(back.status().running).toBe(true);
78
+ expect(back.clock()).toEqual(retainedClock);
75
79
  expect(back.unpushed()).toHaveLength(1);
76
80
  await back.down();
77
81
  }, 30_000); // two Worlds booted and one resumed: its one-service skeleton alone took 2.4 s (load ~13, 2026-09-30, a scratch probe of up/branch/checkout/down/up/down)