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

382 B
Raw Blame
// Keep the transport above the handler caps even on Engine.IO polling, which
// base64-encodes binary attachments. Reserve 64 KiB for packet framing and
// metadata, including a small over-cap payload reaching its handler refusal.
export const SOCKET_MEDIA_MAX_BYTES = 8 * 1024 * 1024;
export const SOCKET_MAX_PAYLOAD_BYTES = 4 * Math.ceil(SOCKET_MEDIA_MAX_BYTES / 3) + 64 * 1024;