mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-07-12 06:56:37 +02:00
Ship Meshtastic Chat UX, embedded Infonet/SHELL panels, and Docker dev polish.
Rename Mesh Chat to Meshtastic Chat, embed the Infonet terminal with Arti/Tor warmup, improve the agent shell PTY (git in the backend image, operator PATH), and add docker-compose.override for local image builds. Gitignore Hermes Agent runtime installs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { controlPlaneJson } from '@/lib/controlPlane';
|
||||
import { generateNodeKeys, getNodeIdentity } from '@/mesh/meshIdentity';
|
||||
|
||||
export interface PrivacyProfileSnapshot {
|
||||
profile?: string;
|
||||
@@ -236,3 +237,13 @@ export async function startTorHiddenService(): Promise<TorHiddenServiceSnapshot>
|
||||
requireAdminSession: false,
|
||||
});
|
||||
}
|
||||
|
||||
/** Warm Tor/Arti and (re)enable the participant node so Infonet seed sync can run. */
|
||||
export async function ensureInfonetParticipantNodeReady(): Promise<void> {
|
||||
if (!getNodeIdentity()) {
|
||||
await generateNodeKeys().catch(() => null);
|
||||
}
|
||||
await startTorHiddenService().catch(() => null);
|
||||
await setInfonetNodeEnabled(true);
|
||||
await fetchInfonetNodeStatusSnapshot(true).catch(() => null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user