MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / liveServerName

Function liveServerName

src/artifacts/preview.ts:217–219  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

215
216/** A stable process/registry name for an artifact's LIVE server. */
217export 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. */

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected