This commit is contained in:
Raven Scott
2026-07-31 00:24:47 -04:00
parent fdd66e53d6
commit a927a6dfaa
24 changed files with 986 additions and 85 deletions
+9
View File
@@ -97,6 +97,15 @@ function attachPeerUi(app) {
app.on('migrated', (evt) => {
console.log(`[mesh] tunnel now 127.0.0.1:${evt.localPort} region=${evt.neighbor?.regionId}`)
})
app.on('reconnect-hint', (hint) => {
if (hint && hint.banner) console.log(hint.banner)
else if (hint && hint.address) {
console.log(`[mesh] RECONNECT Java Edition → ${hint.address}`)
}
})
app.on('migrate-failed', (evt) => {
console.log(`[mesh] migrate failed (${evt.kind || 'error'}) restored=${!!evt.restored}`)
})
// Type lines to chat (host/join sessions)
if (process.stdin && process.stdin.isTTY && typeof process.stdin.on === 'function') {