# Emit terminal activity events from subprocess polling · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/ddc4a93c36e0cdd263d91d01e11e900c8d9ee0ef)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: ddc4a93c36e0cdd263d91d01e11e900c8d9ee0ef

Requested commit: ddc4a93c36e0cdd263d91d01e11e900c8d9ee0ef

Commit: ddc4a93c36e0cdd263d91d01e11e900c8d9ee0ef

Tree: 852a401425f6c019316050d00e9dcb3b6494749c

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Emit terminal activity events from subprocess polling

- Add cross-platform subprocess polling in `TerminalManager` and emit `activity` events when child-process state changes
- Update web store to derive `runningTerminalIds` from `activity.hasRunningSubprocess` instead of start/restart events
- Extend terminal contracts and tests to include the new `activity` event type

Co-authored-by: codex <codex@users.noreply.github.com>

```

## Parents

- [901579233cf0c846abcd9622f1443db6d3bb5834](https://git.cafe/screen/t3code-personal/commit/901579233cf0c846abcd9622f1443db6d3bb5834?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/ddc4a93c36e0cdd263d91d01e11e900c8d9ee0ef?format=markdown)
