Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

641 B
Raw Blame
/**
 * Re-export of the `PORTS` map and `DEFAULT_PEER_PORT` from the pure server leaf
 * `server/lib/ports.js`.
 *
 * `ecosystem.config.cjs` (top-level `PORTS`) remains the SOURCE OF TRUTH — see
 * docs/PORTS.md; `server/lib/ports.test.js` fails if the server map drifts from
 * it. Importing rather than copying means the UI cannot drift from the server on
 * top of that. Use these instead of re-hardcoding a port literal in a form
 * default, a copy-paste help string, or a cross-machine URL.
 */
export {
  PORTS,
  DEFAULT_PEER_PORT,
  DEFAULT_TAILCAT_LOCAL_PORT,
  DEFAULT_TAILCAT_REMOTE_PORT,
} from '../../../server/lib/ports.js';