chore: rename repository to NODEDC MISSION CORE

This commit is contained in:
DCCONSTRUCTIONS
2026-07-16 12:10:05 +03:00
parent 8459bb03fb
commit 9225227421
50 changed files with 220 additions and 61 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
"""NDC XGRIDS K1 connector research tooling."""
"""Mission Core runtime with the transitional XGRIDS K1 compatibility adapter."""
__version__ = "0.1.0"
+4 -4
View File
@@ -208,15 +208,15 @@ def serve_console(
typer.Option(min=1024, max=65535, help="Loopback HTTP port for the local console."),
] = 8000,
) -> None:
"""Serve the built K1 console and local-only control API on loopback."""
frontend = Path(__file__).resolve().parents[2] / "apps" / "k1-viewer" / "dist"
"""Serve the built Mission Core Control Station and loopback control API."""
frontend = Path(__file__).resolve().parents[2] / "apps" / "control-station" / "dist"
if not frontend.is_dir():
console.print(
"[red]Frontend build is missing.[/red] Run npm install && npm run build "
"inside apps/k1-viewer."
"inside apps/control-station."
)
raise typer.Exit(code=2)
console.print(f"K1 Live Console: http://127.0.0.1:{port}")
console.print(f"NODEDC MISSION CORE: http://127.0.0.1:{port}")
console.print("The credential endpoint is bound to this Mac only.")
uvicorn.run(
"k1link.web.app:app",
+1 -1
View File
@@ -171,7 +171,7 @@ class FoxgloveBridge:
) -> None:
self.metrics = metrics or BridgeMetrics()
self._server = foxglove.start_server(
name="NODE.DC K1 live bridge",
name="Mission Core K1 legacy bridge",
host=host,
port=port,
message_backlog_size=32,
+1 -1
View File
@@ -74,7 +74,7 @@ class RerunBridge:
self._settings_provider = settings_provider or RerunSceneSettings
self._settings = self._settings_provider()
self._recording = (recording_factory or rr.RecordingStream)(
"nodedc_device_spatial"
"nodedc_mission_core_spatial"
)
blueprint = _blueprint(self._settings)
self._url = self._recording.serve_grpc(
+1 -1
View File
@@ -1 +1 @@
"""Local-only control API for the K1 live console."""
"""Local Mission Core control plane with the transitional XGRIDS adapter."""
+3 -3
View File
@@ -261,7 +261,7 @@ async def app_lifespan(_: FastAPI) -> AsyncIterator[None]:
app = FastAPI(
title="NODE.DC Device Control API",
title="NODEDC Mission Core API",
version=__version__,
docs_url="/api/docs",
redoc_url=None,
@@ -275,7 +275,7 @@ def health() -> dict[str, Any]:
return {
"ok": True,
"status": "ok",
"service": "k1-live-console",
"service": "mission-core-control-plane",
"version": __version__,
}
@@ -341,7 +341,7 @@ async def events(websocket: WebSocket) -> None:
return
frontend_dist = REPOSITORY_ROOT / "apps" / "k1-viewer" / "dist"
frontend_dist = REPOSITORY_ROOT / "apps" / "control-station" / "dist"
if frontend_dist.is_dir():
app.mount("/", StaticFiles(directory=frontend_dist, html=True), name="frontend")