Construct the tmux runtime and a terminal.Manager fed by the CDC broadcaster, and hand it to httpd.New so the /mux WebSocket surface goes live. httpd.New now runs after the CDC substrate so the broadcaster exists when the manager subscribes; the listener still binds before running.json is written, preserving fail-fast on port conflict. The manager is closed on shutdown alongside the CDC pipeline and lifecycle stack. |
||
|---|---|---|
| .. | ||
| adapters | ||
| cdc | ||
| config | ||
| domain | ||
| httpd | ||
| lifecycle | ||
| observe/reaper | ||
| ports | ||
| runfile | ||
| session | ||
| storage/sqlite | ||
| terminal | ||