(id: string)
| 215 | |
| 216 | /** A stable process/registry name for an artifact's LIVE server. */ |
| 217 | export function liveServerName(id: string): string { |
| 218 | return `artifact-live:${id}`; |
| 219 | } |
| 220 | |
| 221 | /** Deterministic-ish port in the 5000–5499 range — DISJOINT from previewPort's 4500–4999 |
| 222 | * so a live server and a static preview for the same id don't collide. */ |