feat: main.cpp intenta HTTP API primero, fallback a SQLite

Nuevo flujo: por defecto conecta a sqlite_api en localhost:8484.
Si la API no responde, cae a SQLite directo. Flag --api para URL
custom. Launcher PowerShell actualizado con --api. app.md refleja
la nueva arquitectura dual HTTP/SQLite y dir_path del proyecto.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 01:37:09 +02:00
parent 0ef3da3bf5
commit 3de6b05357
3 changed files with 101 additions and 38 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
$exe = Join-Path $PSScriptRoot "registry_dashboard.exe"
# Try API first (default), with SQLite fallback via WSL mount
& $exe `
"\\wsl.localhost\Ubuntu-22.04\home\lucas\fn_registry\registry.db" `
--api "http://127.0.0.1:8484" `
"\\wsl.localhost\Ubuntu-22.04\home\lucas\fn_registry\registry.db"