@volter/world 2.0.14 → 2.0.16

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/dist/src/world.js CHANGED
@@ -297,7 +297,7 @@ export class World {
297
297
  refuseWhileServed(verb) {
298
298
  const served = readServeRecord(this.root);
299
299
  if (served)
300
- throw new Error(`this World is served at ${served.base} (pid ${served.pid}); stop that serve before \`volter world ${verb}\`, then serve again`);
300
+ throw new Error(`this World is served at ${served.base} (pid ${served.pid}); switch branches there (a local \`volter world serve\` offers “Serve here” on its console's Branches page), or stop that serve before \`volter world ${verb}\``);
301
301
  }
302
302
  /** Is this the main branch? */
303
303
  isMain() { return this.name === mainBranch(this.root); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/world",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
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": "2.0.8",
34
- "@volter/world-runtime": "2.0.13",
33
+ "@volter/world-core": "2.0.9",
34
+ "@volter/world-runtime": "2.0.15",
35
35
  "zod": "^4.6.5"
36
36
  },
37
37
  "peerDependencies": {
38
- "@volter/world-console": "2.0.7"
38
+ "@volter/world-console": "2.0.9"
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": "2.0.7"
46
+ "@volter/world-console": "2.0.9"
47
47
  },
48
48
  "bin": {
49
49
  "volter": "dist/src/cli.js"
package/src/world.ts CHANGED
@@ -273,7 +273,7 @@ export class World {
273
273
  * the stopped branch's twins. So a switch waits for the serve to stop. */
274
274
  private refuseWhileServed(verb: 'branch' | 'checkout'): void {
275
275
  const served = readServeRecord(this.root);
276
- if (served) throw new Error(`this World is served at ${served.base} (pid ${served.pid}); stop that serve before \`volter world ${verb}\`, then serve again`);
276
+ if (served) throw new Error(`this World is served at ${served.base} (pid ${served.pid}); switch branches there (a local \`volter world serve\` offers “Serve here” on its console's Branches page), or stop that serve before \`volter world ${verb}\``);
277
277
  }
278
278
  /** Is this the main branch? */
279
279
  isMain(): boolean { return this.name === mainBranch(this.root); }