@volter/world-machine 2.0.0 → 2.0.2

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/host.js CHANGED
@@ -23,7 +23,7 @@ export const GUEST_INJECT_DIR = '/opt/volter-world';
23
23
  const core = (spec) => readFileSync(fileURLToPath(import.meta.resolve(`@volter/world-core/${spec}`)), 'utf8');
24
24
  export const GUEST_INJECT = {
25
25
  'inject.cjs': core('inject'), 'network-policy.cjs': core('network-policy'), 'app-route.cjs': core('app-route'),
26
- 'vendor-hosts.cjs': core('vendor-hosts'),
26
+ 'vendor-hosts.cjs': core('vendor-hosts'), 'world-clock.cjs': core('world-clock'),
27
27
  'generated/pack-facts.json': core('generated/pack-facts.json'),
28
28
  };
29
29
  /** Every login shell in the guest exports the World's env file (KEY=value lines, written at each start and restore). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/world-machine",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "The machine as a World service: a Firecracker microVM whose memory and disk snapshots are entries in the World's ledger, so `mark` and `branch --at` take the machine back exactly as they take a twin back.",
5
5
  "keywords": [
6
6
  "twin",
@@ -11,6 +11,11 @@
11
11
  ],
12
12
  "author": "Volter (https://github.com/volter-ai)",
13
13
  "license": "Apache-2.0",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/volter-ai/twin.git",
17
+ "directory": "packages/world-machine"
18
+ },
14
19
  "publishConfig": {
15
20
  "access": "public"
16
21
  },
@@ -23,7 +28,7 @@
23
28
  "dist"
24
29
  ],
25
30
  "dependencies": {
26
- "@volter/world-core": "2.0.0"
31
+ "@volter/world-core": "2.0.2"
27
32
  },
28
33
  "scripts": {
29
34
  "build": "node ../../scripts/publish/build.mjs",
package/src/host.ts CHANGED
@@ -26,7 +26,7 @@ export const GUEST_INJECT_DIR = '/opt/volter-world';
26
26
  const core = (spec: string): string => readFileSync(fileURLToPath(import.meta.resolve(`@volter/world-core/${spec}`)), 'utf8');
27
27
  export const GUEST_INJECT: Record<string, string> = {
28
28
  'inject.cjs': core('inject'), 'network-policy.cjs': core('network-policy'), 'app-route.cjs': core('app-route'),
29
- 'vendor-hosts.cjs': core('vendor-hosts'),
29
+ 'vendor-hosts.cjs': core('vendor-hosts'), 'world-clock.cjs': core('world-clock'),
30
30
  'generated/pack-facts.json': core('generated/pack-facts.json'),
31
31
  };
32
32
  /** Every login shell in the guest exports the World's env file (KEY=value lines, written at each start and restore). */