sandbox-exec, so it works on macOS only.
On Linux or Windows, disconnect the machine from the network instead; the app needs no other change.
Before you start, download both models.
The offline commands stop with QVAC cache is incomplete if any model file is missing.
Run one cached analysis
run with "status": "ready".
Expect about 30 seconds.
If osNetworkDenied is false, the command throws Process sandbox did not block remote networking and proves nothing.
Run the full app offline
-
Build and start the app:
-
In a second terminal, start the service inside the sandbox:
-
Use the app at
http://localhost:3101as usual. Localhost traffic is allowed; everything else is denied for the service process.