@machinen/runtime 0.4.0 → 0.4.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/README.md CHANGED
@@ -8,8 +8,9 @@ drive microVMs from your own Node.js code instead of through the CLI.
8
8
  - **Run a Linux workload in a VM** with first-class control: stream
9
9
  stdout/stderr, exec commands inside, write files in, await exit.
10
10
  - **Snapshot a running process to disk and resume it later** —
11
- possibly on a different machine. Heap, sockets, and open file
12
- descriptors come back intact.
11
+ possibly on a different machine with the same guest architecture.
12
+ Memory and VM device state come back; host-local pieces such as port
13
+ forwards are declared again on restore.
13
14
  - **Clone a running VM into a sibling.** Both copies run independently
14
15
  from the same instant, diverging from a shared heap. Useful for
15
16
  branching warmed-up state into N parallel runs.
@@ -98,7 +99,7 @@ namespace patterns.
98
99
  | `machinen:boot` | `boot()` lifecycle — VMM spawn, vsock bridge, registry |
99
100
  | `machinen:provision` | `provision()` steps — install hook, tar-to-disk, repack |
100
101
  | `machinen:exec` | vsock exec — connect retries, frames, exit codes |
101
- | `machinen:snapshot` | CRIU dump trigger, wait, console-log inspection |
102
+ | `machinen:snapshot` | snapshot trigger, vmstate/CRIU wait, console-log inspection |
102
103
  | `machinen:attach` | attach lookup, VM resolution |
103
104
  | `machinen:registry` | `~/.machinen/vms/` reads, writes, stale-entry pruning |
104
105
  | `machinen:gvproxy` | sidecar spawn, port-forward setup |