feat(01.1-01): define domain events with typed payloads and tests

- Add ProcessSpawnedEvent, ProcessStoppedEvent, ProcessCrashedEvent
- Add ServerStartedEvent, ServerStoppedEvent
- Add LogEntryEvent for stdout/stderr capture
- Create DomainEventMap union type for type-safe handling
- Add comprehensive tests for emit/on, once, off, multiple handlers
- Verify typed event payloads work correctly
This commit is contained in:
Lukas May
2026-01-30 13:54:40 +01:00
parent 83e6adb0f8
commit 437e76ed78
7 changed files with 1398 additions and 3 deletions

995
package-lock.json generated

File diff suppressed because it is too large Load Diff