Update `package.json`.
Implement live and replay termination.