fix: persistent Tor channel messages, bulletproof Tor after deploys
- Messages persisted to disk (messages.json) — survive restarts - Sent messages stored on backend via node-store-sent RPC - Message deduplication (same pubkey + message within 30s) - Max 200 messages in circular buffer - Direction field (sent/received) for proper UI display - Container doctor: prefer system Tor, remove archy-tor container - Deploy torrc generator: read from tor-config/services.json, web apps map port 80→local port for clean .onion URLs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
fc1120338d
commit
f0a403b224
@@ -48,6 +48,9 @@ impl Server {
|
||||
}
|
||||
state_manager.update_data(data.clone()).await;
|
||||
|
||||
// Load persisted messages (Archipelago channel)
|
||||
node_message::init(&config.data_dir).await;
|
||||
|
||||
// Auto-create default identity if none exist (fresh boot or factory reset)
|
||||
{
|
||||
let im = crate::identity_manager::IdentityManager::new(&config.data_dir).await;
|
||||
|
||||
Reference in New Issue
Block a user