diff --git a/Aetheria.Rts.Web/Client/app.ts b/Aetheria.Rts.Web/Client/app.ts index 844c7fe68..55a7f6bd8 100644 --- a/Aetheria.Rts.Web/Client/app.ts +++ b/Aetheria.Rts.Web/Client/app.ts @@ -27,7 +27,7 @@ let eveSurfacePoll: number | null = null; function requiredElement(selector: string): TElement { const element = document.querySelector(selector); if (!element) { - throw new Error(`Aetheria RTS is missing ${selector}.`); + throw new Error(`Aetheria Starbridge is missing ${selector}.`); } return element; @@ -55,7 +55,7 @@ async function showDaemonEveSurface(): Promise { renderEveSurface(surface, host, { body: document.body, assetUrlResolver: resolveAetheriaAssetUrl, - clientId: "aetheria.rts.electron", + clientId: "aetheria-electron-client", commandSink: intent => submitEveCommand(intent), documentResolver: resolveEveDocument, source: "Aetheria Daemon", diff --git a/Aetheria.Rts.Web/Electron/main.ts b/Aetheria.Rts.Web/Electron/main.ts index a31ee658c..b9c8174c9 100644 --- a/Aetheria.Rts.Web/Electron/main.ts +++ b/Aetheria.Rts.Web/Electron/main.ts @@ -36,12 +36,12 @@ let isQuitting = false; app.whenReady().then(async () => { mainWindow = createWindow(); registerIpc(); - showStartup("Preparing Aetheria RTS", "Building daemon if needed."); + showStartup("Preparing Aetheria Starbridge", "Building daemon if needed."); try { if (launchLocalDaemon) { await ensureDotnetBuild(); - showStartup("Launching Aetheria RTS", "Starting the Aetheria daemon."); + showStartup("Launching Aetheria Starbridge", "Starting the Aetheria daemon."); mkdirSync(runtimeRoot, { recursive: true }); daemonProcess = startDotnet("aetheria-daemon", daemonDll, [ "--state", @@ -63,7 +63,7 @@ app.whenReady().then(async () => { "--no-odin-announcements", ]); } else { - showStartup("Connecting Aetheria RTS", `Using daemon ${daemonCultMeshUri}.`); + showStartup("Connecting Aetheria Starbridge", `Using daemon ${daemonCultMeshUri}.`); mkdirSync(runtimeRoot, { recursive: true }); } @@ -79,7 +79,7 @@ app.whenReady().then(async () => { "aetheria-electron-client", { publicationMode: launchLocalDaemon ? "local" : "remote" }); - showStartup("Launching Aetheria RTS", "Waiting for the daemon CultMesh frame."); + showStartup("Launching Aetheria Starbridge", "Waiting for the daemon CultMesh frame."); await aetheriaClient.waitForFrame(30000); await mainWindow.loadFile(rendererIndex); if (electronSmoke) { @@ -119,7 +119,7 @@ function createWindow(): BrowserWindow { minHeight: 640, show: !electronSmoke, backgroundColor: "#0b1016", - title: "Aetheria RTS", + title: "Aetheria Starbridge", frame: false, autoHideMenuBar: true, webPreferences: { @@ -216,7 +216,7 @@ async function runElectronSmoke(window: BrowserWindow): Promise): boolean { @@ -445,7 +445,7 @@ function showStartup(title: string, detail: string): void { async function showFailure(error: unknown): Promise { const message = error instanceof Error ? error.message : String(error); - await mainWindow?.loadURL(`data:text/html;charset=utf-8,${encodeURIComponent(startupHtml("Aetheria RTS failed to start", message))}`); + await mainWindow?.loadURL(`data:text/html;charset=utf-8,${encodeURIComponent(startupHtml("Aetheria Starbridge failed to start", message))}`); } function startupHtml(title: string, detail: string): string { diff --git a/Aetheria.Rts.Web/scripts/verify-stage7c-electron-rts.ps1 b/Aetheria.Rts.Web/scripts/verify-stage7c-electron-rts.ps1 index cd73022e1..19682cbbd 100644 --- a/Aetheria.Rts.Web/scripts/verify-stage7c-electron-rts.ps1 +++ b/Aetheria.Rts.Web/scripts/verify-stage7c-electron-rts.ps1 @@ -19,6 +19,10 @@ if (-not $appText.Contains('window.aetheriaRts.eveSurface') -or $appText.Contains('main-menu-mode')) { Write-Error "Stage 7C Electron RTS verifier failed: renderer is not daemon-Eve-only." } +if ($appText.Contains('aetheria.rts.electron') -or + $appText.Contains('Aetheria RTS')) { + Write-Error "Stage 7C Electron RTS verifier failed: renderer still advertises an RTS-branded client identity." +} $mainText = Get-Content Electron\main.ts -Raw if (-not $mainText.Contains('await api.surfaceCatalog()') -or -not $mainText.Contains('await api.surfaceCatalogIndex()')) { @@ -46,8 +50,10 @@ if (-not $mainText.Contains('AETHERIA_VERSE_ID') -or Write-Error "Stage 7C Electron RTS verifier failed: Electron launcher does not configure daemon Verse identity." } if ($mainText.Contains('AETHERIA_RTS_') -or + $mainText.Contains('Aetheria RTS') -or $mainText.Contains('starfire-rts') -or $mainText.Contains('aetheria-rts-daemon') -or + $mainText.Contains('aetheria.rts.electron') -or $mainText.Contains('aetheria-rts-electron') -or $mainText.Contains('rtsCultMesh') -or $mainText.Contains('rtsDaemonId') -or diff --git a/Aetheria.Rts.Web/wwwroot/index.html b/Aetheria.Rts.Web/wwwroot/index.html index 284e94870..e0fefe2df 100644 --- a/Aetheria.Rts.Web/wwwroot/index.html +++ b/Aetheria.Rts.Web/wwwroot/index.html @@ -3,7 +3,7 @@ - Aetheria RTS + Aetheria Starbridge