This commit is contained in:
2026-09-11 14:32:35 -04:00
parent b2269d58da
commit aba185d80a
8 changed files with 112 additions and 14 deletions
+5
View File
@@ -0,0 +1,5 @@
/** Optional post-local-mode transport boundary. It is disabled unless the
* user explicitly enables it; no inference or memory leaves the machine by
* default. The actual Holepunch transport is intentionally isolated here. */
export function p2pStatus() { return { enabled: process.env.JARVIS_P2P_ENABLE === '1', inference: false, memorySync: false, reason: process.env.JARVIS_P2P_ENABLE === '1' ? 'transport adapter not configured' : 'disabled by default' }; }
export async function syncMemory() { throw new Error('optional P2P memory sync is disabled until explicitly configured'); }