@happyvertical/smrt-education 0.60.18 → 0.61.0

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.
@@ -59,6 +59,16 @@ writable cgroup mount, and no permission to escape/migrate cgroups. A configurat
59
59
  string alone is insufficient. Container termination/OOM remains a retry/recovery
60
60
  condition in ingestion, never a successful extraction.
61
61
 
62
+ Single-user desktop hosts (macOS, Windows) have no cgroups. A desktop app may pass
63
+ `requireIngestionMemoryLimit(maximumBytes, { desktopBudget: { budgetBytes? } })`.
64
+ The option is explicit opt-in, applies only on `darwin`/`win32`, and is ignored on
65
+ Linux, where the cgroup check still runs. The budget defaults to the smaller of
66
+ `maximumBytes` and a quarter of total system memory, must not exceed `maximumBytes` or total system memory (an explicit budget may be set up to those bounds), and
67
+ fails closed otherwise. The result carries `enforcement: 'advisory-host-budget'`:
68
+ this is a sizing bound, not an operating-system ceiling. Child processes keep
69
+ their deadlines and Node heap cap; size concurrency from the budget. Never use it
70
+ for a shared server.
71
+
62
72
  The web server may run on macOS or another platform while jobs run in that Linux
63
73
  worker. Local mock extraction tests establish sequencing and authorization,
64
74
  not live OCR quality or production container enforcement. An actual memory-limited