@volter/world 3.0.146 → 3.0.147
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/examples/customer-onboarding/README.md +1 -1
- package/dist/examples/customer-onboarding/package.json +4 -4
- package/dist/examples/integration-branches/README.md +4 -4
- package/dist/examples/integration-branches/package.json +4 -4
- package/dist/examples/workplace-agent/README.md +1 -1
- package/dist/examples/workplace-agent/package.json +4 -4
- package/dist/src/world.js +2 -5
- package/examples/customer-onboarding/README.md +1 -1
- package/examples/customer-onboarding/package.json +4 -4
- package/examples/integration-branches/README.md +4 -4
- package/examples/integration-branches/package.json +4 -4
- package/examples/workplace-agent/README.md +1 -1
- package/examples/workplace-agent/package.json +4 -4
- package/package.json +5 -5
- package/src/world.ts +2 -1
|
@@ -13,7 +13,7 @@ You need Node 22.6+, npm and registry access during installation. The browser pa
|
|
|
13
13
|
Copy this starter into a new folder:
|
|
14
14
|
|
|
15
15
|
```console
|
|
16
|
-
$ npx @volter/world@3.0.
|
|
16
|
+
$ npx @volter/world@3.0.147 example customer-onboarding --dir onboarding
|
|
17
17
|
$ cd onboarding
|
|
18
18
|
$ npm install
|
|
19
19
|
```
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"pg": "8.16.3"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@volter/world": "3.0.
|
|
15
|
-
"@volter/world-core": "3.0.
|
|
16
|
-
"@volter/world-runtime": "3.0.
|
|
17
|
-
"@volter/world-console": "3.0.
|
|
14
|
+
"@volter/world": "3.0.147",
|
|
15
|
+
"@volter/world-core": "3.0.147",
|
|
16
|
+
"@volter/world-runtime": "3.0.147",
|
|
17
|
+
"@volter/world-console": "3.0.142",
|
|
18
18
|
"@volter/twin-stripe": "3.0.2",
|
|
19
19
|
"@volter/twin-resend": "1.0.1"
|
|
20
20
|
}
|
|
@@ -13,7 +13,7 @@ Give two workers the same Stripe baseline, let them change different existing cu
|
|
|
13
13
|
Use an empty parent folder. Create the baseline starter there:
|
|
14
14
|
|
|
15
15
|
```console
|
|
16
|
-
$ npx @volter/world@3.0.
|
|
16
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir baseline
|
|
17
17
|
$ cd baseline
|
|
18
18
|
$ npm install
|
|
19
19
|
$ ./node_modules/.bin/volter world init --name baseline --twins stripe
|
|
@@ -38,9 +38,9 @@ The stopped baseline retains its history and can supply local path remotes. Defa
|
|
|
38
38
|
Create three more copies in the same parent folder:
|
|
39
39
|
|
|
40
40
|
```console
|
|
41
|
-
$ npx @volter/world@3.0.
|
|
42
|
-
$ npx @volter/world@3.0.
|
|
43
|
-
$ npx @volter/world@3.0.
|
|
41
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir integration
|
|
42
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir worker-a
|
|
43
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir worker-b
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
In `integration`, then `worker-a`, then `worker-b`, install dependencies and initialize with the folder's name. Before a first boot or app write, link and pull the baseline:
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"stripe": "17.7.0"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@volter/world": "3.0.
|
|
13
|
-
"@volter/world-core": "3.0.
|
|
14
|
-
"@volter/world-runtime": "3.0.
|
|
15
|
-
"@volter/world-console": "3.0.
|
|
12
|
+
"@volter/world": "3.0.147",
|
|
13
|
+
"@volter/world-core": "3.0.147",
|
|
14
|
+
"@volter/world-runtime": "3.0.147",
|
|
15
|
+
"@volter/world-console": "3.0.142",
|
|
16
16
|
"@volter/twin-stripe": "3.0.2"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -13,7 +13,7 @@ You need Node 22.6+, npm and registry access during installation. No platform ac
|
|
|
13
13
|
## Prepare an ordinary workplace
|
|
14
14
|
|
|
15
15
|
```console
|
|
16
|
-
$ npx @volter/world@3.0.
|
|
16
|
+
$ npx @volter/world@3.0.147 example workplace-agent --dir workplace
|
|
17
17
|
$ cd workplace
|
|
18
18
|
$ npm install
|
|
19
19
|
$ ./node_modules/.bin/volter world init --name workplace --twins github,linear,slack
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"@slack/web-api": "7.19.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@volter/world": "3.0.
|
|
15
|
-
"@volter/world-core": "3.0.
|
|
16
|
-
"@volter/world-runtime": "3.0.
|
|
17
|
-
"@volter/world-console": "3.0.
|
|
14
|
+
"@volter/world": "3.0.147",
|
|
15
|
+
"@volter/world-core": "3.0.147",
|
|
16
|
+
"@volter/world-runtime": "3.0.147",
|
|
17
|
+
"@volter/world-console": "3.0.142",
|
|
18
18
|
"@volter/twin-github": "3.0.6",
|
|
19
19
|
"@volter/twin-linear": "3.0.4",
|
|
20
20
|
"@volter/twin-slack": "3.0.5"
|
package/dist/src/world.js
CHANGED
|
@@ -150,12 +150,9 @@ export class World {
|
|
|
150
150
|
shell() { return shellWorld(this.name, this.root); }
|
|
151
151
|
/** The kernel's instance record, or null before the first `up`. */
|
|
152
152
|
instance() {
|
|
153
|
-
|
|
154
|
-
return statusWorld(this.name, this.root);
|
|
155
|
-
}
|
|
156
|
-
catch {
|
|
153
|
+
if (!existsSync(join(instanceDir(this.root, this.name), 'instance.json')))
|
|
157
154
|
return null;
|
|
158
|
-
|
|
155
|
+
return statusWorld(this.name, this.root);
|
|
159
156
|
}
|
|
160
157
|
/** The world, the branch, the origin, what is unpushed, what is running. */
|
|
161
158
|
status() {
|
|
@@ -13,7 +13,7 @@ You need Node 22.6+, npm and registry access during installation. The browser pa
|
|
|
13
13
|
Copy this starter into a new folder:
|
|
14
14
|
|
|
15
15
|
```console
|
|
16
|
-
$ npx @volter/world@3.0.
|
|
16
|
+
$ npx @volter/world@3.0.147 example customer-onboarding --dir onboarding
|
|
17
17
|
$ cd onboarding
|
|
18
18
|
$ npm install
|
|
19
19
|
```
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"pg": "8.16.3"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@volter/world": "3.0.
|
|
15
|
-
"@volter/world-core": "3.0.
|
|
16
|
-
"@volter/world-runtime": "3.0.
|
|
17
|
-
"@volter/world-console": "3.0.
|
|
14
|
+
"@volter/world": "3.0.147",
|
|
15
|
+
"@volter/world-core": "3.0.147",
|
|
16
|
+
"@volter/world-runtime": "3.0.147",
|
|
17
|
+
"@volter/world-console": "3.0.142",
|
|
18
18
|
"@volter/twin-stripe": "3.0.2",
|
|
19
19
|
"@volter/twin-resend": "1.0.1"
|
|
20
20
|
}
|
|
@@ -13,7 +13,7 @@ Give two workers the same Stripe baseline, let them change different existing cu
|
|
|
13
13
|
Use an empty parent folder. Create the baseline starter there:
|
|
14
14
|
|
|
15
15
|
```console
|
|
16
|
-
$ npx @volter/world@3.0.
|
|
16
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir baseline
|
|
17
17
|
$ cd baseline
|
|
18
18
|
$ npm install
|
|
19
19
|
$ ./node_modules/.bin/volter world init --name baseline --twins stripe
|
|
@@ -38,9 +38,9 @@ The stopped baseline retains its history and can supply local path remotes. Defa
|
|
|
38
38
|
Create three more copies in the same parent folder:
|
|
39
39
|
|
|
40
40
|
```console
|
|
41
|
-
$ npx @volter/world@3.0.
|
|
42
|
-
$ npx @volter/world@3.0.
|
|
43
|
-
$ npx @volter/world@3.0.
|
|
41
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir integration
|
|
42
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir worker-a
|
|
43
|
+
$ npx @volter/world@3.0.147 example integration-branches --dir worker-b
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
In `integration`, then `worker-a`, then `worker-b`, install dependencies and initialize with the folder's name. Before a first boot or app write, link and pull the baseline:
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"stripe": "17.7.0"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@volter/world": "3.0.
|
|
13
|
-
"@volter/world-core": "3.0.
|
|
14
|
-
"@volter/world-runtime": "3.0.
|
|
15
|
-
"@volter/world-console": "3.0.
|
|
12
|
+
"@volter/world": "3.0.147",
|
|
13
|
+
"@volter/world-core": "3.0.147",
|
|
14
|
+
"@volter/world-runtime": "3.0.147",
|
|
15
|
+
"@volter/world-console": "3.0.142",
|
|
16
16
|
"@volter/twin-stripe": "3.0.2"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -13,7 +13,7 @@ You need Node 22.6+, npm and registry access during installation. No platform ac
|
|
|
13
13
|
## Prepare an ordinary workplace
|
|
14
14
|
|
|
15
15
|
```console
|
|
16
|
-
$ npx @volter/world@3.0.
|
|
16
|
+
$ npx @volter/world@3.0.147 example workplace-agent --dir workplace
|
|
17
17
|
$ cd workplace
|
|
18
18
|
$ npm install
|
|
19
19
|
$ ./node_modules/.bin/volter world init --name workplace --twins github,linear,slack
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"@slack/web-api": "7.19.0"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@volter/world": "3.0.
|
|
15
|
-
"@volter/world-core": "3.0.
|
|
16
|
-
"@volter/world-runtime": "3.0.
|
|
17
|
-
"@volter/world-console": "3.0.
|
|
14
|
+
"@volter/world": "3.0.147",
|
|
15
|
+
"@volter/world-core": "3.0.147",
|
|
16
|
+
"@volter/world-runtime": "3.0.147",
|
|
17
|
+
"@volter/world-console": "3.0.142",
|
|
18
18
|
"@volter/twin-github": "3.0.6",
|
|
19
19
|
"@volter/twin-linear": "3.0.4",
|
|
20
20
|
"@volter/twin-slack": "3.0.5"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volter/world",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.147",
|
|
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",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.30.1",
|
|
34
|
-
"@volter/world-core": "3.0.
|
|
35
|
-
"@volter/world-runtime": "3.0.
|
|
34
|
+
"@volter/world-core": "3.0.147",
|
|
35
|
+
"@volter/world-runtime": "3.0.147",
|
|
36
36
|
"zod": "^4.6.5"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@volter/world-console": "3.0.
|
|
39
|
+
"@volter/world-console": "3.0.142"
|
|
40
40
|
},
|
|
41
41
|
"peerDependenciesMeta": {
|
|
42
42
|
"@volter/world-console": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@volter/world-console": "3.0.
|
|
47
|
+
"@volter/world-console": "3.0.142"
|
|
48
48
|
},
|
|
49
49
|
"bin": {
|
|
50
50
|
"volter": "dist/src/cli.js"
|
package/src/world.ts
CHANGED
|
@@ -162,7 +162,8 @@ export class World {
|
|
|
162
162
|
|
|
163
163
|
/** The kernel's instance record, or null before the first `up`. */
|
|
164
164
|
instance(): ReturnType<typeof statusWorld> | null {
|
|
165
|
-
|
|
165
|
+
if (!existsSync(join(instanceDir(this.root, this.name), 'instance.json'))) return null;
|
|
166
|
+
return statusWorld(this.name, this.root);
|
|
166
167
|
}
|
|
167
168
|
/** The world, the branch, the origin, what is unpushed, what is running. */
|
|
168
169
|
status(): WorldStatus {
|