Record Mimir semantic Verse provider routes
This commit is contained in:
parent
db901a2509
commit
20410b5a26
5 changed files with 61 additions and 13 deletions
|
|
@ -31,9 +31,9 @@ own final composition or run remote UI code.
|
|||
require Starfire to render every camera feed for the iPad.
|
||||
- CultMesh line: dashboard manifests and states now have typed
|
||||
`mimir.eve_dashboard_manifest.v1` and `mimir.eve_dashboard_state.v1`
|
||||
document shapes. The live iPad lane remains WebSocket/TCP because it is the
|
||||
proven transport and works over SSH tunnels; CultMesh should mirror compact
|
||||
state where the local mesh substrate is available.
|
||||
document shapes. Semantic provider identities use
|
||||
`asgard.starfire.mimir/...`; the live iPad lane remains a WebSocket bridge
|
||||
until the dashboard broker subscribes over CultNet reliable UDP directly.
|
||||
|
||||
## Runtime
|
||||
|
||||
|
|
@ -43,13 +43,20 @@ Start the dashboard server:
|
|||
dotnet run --project .\src\Mimir.EveDashboard\Mimir.EveDashboard.csproj -- --port 8795
|
||||
```
|
||||
|
||||
EveCanvas connects to:
|
||||
Canonical surface addresses:
|
||||
|
||||
```text
|
||||
asgard.starfire.mimir/eve/tui
|
||||
asgard.starfire.mimir/eve/gui
|
||||
```
|
||||
|
||||
EveCanvas currently connects through this bridge route:
|
||||
|
||||
```text
|
||||
ws://192.168.1.66:8795/eve/deck
|
||||
```
|
||||
|
||||
Periwinkle's Android Eve client uses the binary CultMesh lane:
|
||||
Periwinkle's Android Eve client currently uses this bridge route:
|
||||
|
||||
```text
|
||||
ws://192.168.1.66:8795/eve/deck/cultmesh
|
||||
|
|
@ -76,9 +83,12 @@ Extra providers can be registered at launch:
|
|||
dotnet run --project .\src\Mimir.EveDashboard\Mimir.EveDashboard.csproj -- `
|
||||
--port 8795 `
|
||||
--voidbot-swarm-state "E:\Projects\VoidBot\.voidbot\status\swarm-state.json" `
|
||||
--provider "app.id|App Title|ws://127.0.0.1:14000/eve/deck"
|
||||
--provider "app.id|App Title|asgard.starfire.app/eve/tui"
|
||||
```
|
||||
|
||||
If a provider still needs a WebSocket bridge, list it in the provider
|
||||
advertisement or supervisor manifest as a route, not as the provider address.
|
||||
|
||||
## Current State
|
||||
|
||||
`Mimir.EveDashboard` now runs as a small native dashboard broker. It includes:
|
||||
|
|
|
|||
|
|
@ -73,11 +73,13 @@ powershell -ExecutionPolicy Bypass -File .\scripts\start-fensalir-daemon.ps1
|
|||
```
|
||||
|
||||
The launcher writes a supervisor manifest under
|
||||
`artifacts/runtime/fensalir-daemon-*` with provider specs:
|
||||
`artifacts/runtime/fensalir-daemon-*` with a semantic provider spec and bridge
|
||||
routes:
|
||||
|
||||
```text
|
||||
mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:8799/eve/deck
|
||||
mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:8799/eve/deck/cultmesh
|
||||
mimir-fensalir-daemon|Mimir Fensalir Daemon|asgard.starfire.mimir-fensalir/eve/tui
|
||||
bridge: ws://127.0.0.1:8799/eve/deck
|
||||
bridge: ws://127.0.0.1:8799/eve/deck/cultmesh
|
||||
```
|
||||
|
||||
The current worker mode is `surface-owner-installed`: kernel scheduling,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@ $stdout = Join-Path $runDir "fensalir-daemon.out.log"
|
|||
$stderr = Join-Path $runDir "fensalir-daemon.err.log"
|
||||
$manifest = Join-Path $runDir "supervisor.json"
|
||||
$dll = Join-Path $repo "src\Mimir.FensalirDaemon\bin\Debug\net10.0\Mimir.FensalirDaemon.dll"
|
||||
$rootVerse = "asgard"
|
||||
$locatedService = "$rootVerse.starfire.mimir-fensalir"
|
||||
$tuiAddress = "$locatedService/eve/tui"
|
||||
$guiAddress = "$locatedService/eve/gui"
|
||||
$bridgeRoute = "ws://127.0.0.1:$Port/eve/deck"
|
||||
|
||||
$arguments = @(
|
||||
$dll,
|
||||
|
|
@ -76,8 +81,16 @@ $process = Start-Process -FilePath "dotnet" -ArgumentList $arguments -WorkingDir
|
|||
maxReservoirQueue = $MaxReservoirQueue
|
||||
wellLog = $WellLog
|
||||
cultCache = $CultCache
|
||||
providerSpec = "mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$Port/eve/deck"
|
||||
cultMeshProviderSpec = "mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$Port/eve/deck/cultmesh"
|
||||
rootVerse = $rootVerse
|
||||
canonicalService = "$rootVerse.mimir-fensalir"
|
||||
locatedService = $locatedService
|
||||
cultMeshAddress = $tuiAddress
|
||||
providerSpec = "mimir-fensalir-daemon|Mimir Fensalir Daemon|$tuiAddress"
|
||||
endpoints = @($tuiAddress, $guiAddress)
|
||||
routes = @(
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $bridgeRoute; carries = $tuiAddress; note = "Fensalir Eve deck bridge route; not service identity." },
|
||||
[ordered]@{ kind = "websocket-bridge"; address = "$bridgeRoute/cultmesh"; carries = $tuiAddress; note = "Legacy CultMesh bridge route; not service identity." }
|
||||
)
|
||||
stdout = $stdout
|
||||
stderr = $stderr
|
||||
started = (Get-Date).ToString("o")
|
||||
|
|
@ -85,5 +98,6 @@ $process = Start-Process -FilePath "dotnet" -ArgumentList $arguments -WorkingDir
|
|||
|
||||
Write-Host "Started Mimir.FensalirDaemon PID $($process.Id)"
|
||||
Write-Host "Health: http://127.0.0.1:$Port/health"
|
||||
Write-Host "Eve provider: mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$Port/eve/deck"
|
||||
Write-Host "Eve provider: mimir-fensalir-daemon|Mimir Fensalir Daemon|$tuiAddress"
|
||||
Write-Host "Bridge route: $bridgeRoute"
|
||||
Write-Host "Manifest: $manifest"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,9 @@ param(
|
|||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$repo = Split-Path -Parent $PSScriptRoot
|
||||
$rootVerse = "asgard"
|
||||
$locatedService = "$rootVerse.starfire.mimir"
|
||||
$cultMeshAddress = "$locatedService/periwinkle/eve/tui"
|
||||
$logDir = Join-Path $repo "artifacts\runtime\mvp-leap-eyes-kiyo"
|
||||
New-Item -ItemType Directory -Force -Path $logDir | Out-Null
|
||||
|
||||
|
|
@ -94,5 +97,7 @@ if ($Headless) {
|
|||
}
|
||||
|
||||
Write-Host "MIMIR_RUNTIME_CONFIG=$ConfigPath"
|
||||
Write-Host "CultMesh address: $cultMeshAddress"
|
||||
Write-Host "Bridge route: $WitnessUrl"
|
||||
Write-Host "Starting MVP: Starfire Leap + Kiyo Pro, Nightwing Eye/Move witness claims"
|
||||
dotnet @args
|
||||
|
|
|
|||
|
|
@ -24,6 +24,11 @@ param(
|
|||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$repo = Split-Path -Parent $PSScriptRoot
|
||||
$rootVerse = "asgard"
|
||||
$locatedMimir = "$rootVerse.starfire.mimir"
|
||||
$locatedFensalir = "$rootVerse.starfire.mimir-fensalir"
|
||||
$periwinkleTui = "$locatedMimir/periwinkle/eve/tui"
|
||||
$periwinkleGui = "$locatedMimir/periwinkle/eve/gui"
|
||||
$runId = Get-Date -Format "yyyyMMdd-HHmmss"
|
||||
$runDir = Join-Path $repo "artifacts\runtime\online-verse-daemons-$runId"
|
||||
New-Item -ItemType Directory -Force -Path $runDir | Out-Null
|
||||
|
|
@ -99,6 +104,16 @@ $manifest = [ordered]@{
|
|||
kind = "mimir.online_verse_daemon_supervisor.v1"
|
||||
runId = $runId
|
||||
runDir = $runDir
|
||||
rootVerse = $rootVerse
|
||||
canonicalService = "$rootVerse.mimir"
|
||||
locatedService = $locatedMimir
|
||||
cultMeshAddress = $periwinkleTui
|
||||
endpoints = @($periwinkleTui, $periwinkleGui)
|
||||
routes = @(
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $WitnessUrl; carries = $periwinkleTui; note = "Nightwing witness bridge route; not service identity." },
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $SubscribeUrl; carries = $periwinkleTui; note = "Recorder subscription bridge route; not service identity." },
|
||||
[ordered]@{ kind = "websocket-bridge"; address = $WellPublishUrl; carries = $periwinkleTui; note = "Well publication bridge route; not service identity." }
|
||||
)
|
||||
witnessUrl = $WitnessUrl
|
||||
subscribeUrl = $SubscribeUrl
|
||||
wellPublishUrl = $WellPublishUrl
|
||||
|
|
@ -186,7 +201,9 @@ if (-not $SkipFensalir) {
|
|||
$manifest.processes["fensalirDaemonPid"] = $fensalir.Id
|
||||
$manifest.processes["fensalirWellLog"] = $fensalirWellLog
|
||||
$manifest.processes["fensalirCultCache"] = $fensalirCache
|
||||
$manifest.processes["fensalirProviderSpec"] = "mimir-fensalir-daemon|Mimir Fensalir Daemon|ws://127.0.0.1:$FensalirPort/eve/deck"
|
||||
$manifest.processes["fensalirProviderSpec"] = "mimir-fensalir-daemon|Mimir Fensalir Daemon|$locatedFensalir/eve/tui"
|
||||
$manifest.processes["fensalirGui"] = "$locatedFensalir/eve/gui"
|
||||
$manifest.processes["fensalirBridgeRoute"] = "ws://127.0.0.1:$FensalirPort/eve/deck"
|
||||
Wait-HttpHealth -Url "http://127.0.0.1:$FensalirPort/health"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue