egutierrez
|
c8b7adf81d
|
feat(0131): data_table_cpp_viz migration + botones acción + 7 nuevos tests e2e
Issue 0131 (agents v0.2) — frontend agents_dashboard:
* Migra tabla Agents de ImGui::BeginTable a render_grid_stage0 (data_table_cpp_viz).
11 columnas: Status(Badge), ID, Name, Uptime, Msg/24h,
Start/Stop/Restart/Clear Memory/Del Cache/Logs (Button renderers).
* Lee campos reales uptime_seconds + messages_24h del backend (antes leía
'instances' como proxy para msg_24h; ahora lee el campo correcto).
* Confirmation modal (ImGui::BeginPopupModal) para acciones destructivas
clear_memory y delete_cache.
* Link fn_module_data_table en CMakeLists (HAS_DATA_TABLE activado).
* Actualiza app.md: data_table_cpp_viz en uses_functions, version 0.2.0.
* Añade 7 tests pytest nuevos (total 24):
test_uptime_field_present, test_msg_24h_field_present,
test_clear_memory_requires_apikey, test_delete_cache_requires_apikey,
test_control_roundtrip, test_unified_stop_does_not_kill_launcher,
test_clear_memory_response_shape.
SEGURIDAD: solo test-bot se para/arranca en e2e, nunca agentes reales.
Build verificado: Linux + Windows cross-compile (cmake --build cpp/build/windows).
Co-Authored-By: fn-orquestador (issue 0131) <noreply@fn-registry>
|
2026-05-22 23:07:01 +02:00 |
|
fn-orquestador
|
8795f2842b
|
feat: initial implementation of agents_dashboard v0.1.0
Panels: Connection + Agents + Logs + Status Feed.
- HTTP GET /agents + POST /agents/{id}/{start,stop,restart}
- SSE streaming: /sse/agents/{id}/logs + /sse/status
- DPAPI/XOR credential storage in local_files/agents_dashboard.db
- data_table style agents table with filter + status icons
- SQLite migrations via sqlite3_exec at startup
- --self-test mode: db + secret_store round-trip + subsystem checks
- pytest mock server emulating agents_and_robots API
Registry functions: http_request_cpp_core, sse_client_cpp_core,
secret_store_cpp_infra, logger_cpp_core
App icon: robot phosphor violet-500 (#8b5cf6)
Issue: 0129
Co-Authored-By: fn-orquestador <noreply@fn-registry.local>
|
2026-05-22 21:42:54 +02:00 |
|