Track running terminal ports across terminal activity events

- add `runningPorts` to terminal activity contract and validation
- detect/listen ports in server subprocess inspection and emit activity updates on port changes
- persist terminal-to-port state in web store and show active ports in sidebar indicator
- update server/web/contracts tests for port-aware activity behavior
f2ec777443Julius Marminge committed on 2/16/2026, 12:46:51 AMparent748ea2a
12 files changedLine totals unavailable