c8b7adf81d
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>
3.1 KiB
3.1 KiB
name, lang, domain, description, icon, tags, version, uses_functions, uses_types, framework, entry_point, dir_path, repo_url, e2e_checks
| name | lang | domain | description | icon | tags | version | uses_functions | uses_types | framework | entry_point | dir_path | repo_url | e2e_checks | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| agents_dashboard | cpp | tools | Frontend C++ ImGui para gestionar agentes Matrix (agents_and_robots) via HTTPS+apikey, SSE para logs/status en vivo |
|
|
0.2.0 |
|
imgui | main.cpp | projects/element_agents/apps/agents_dashboard | https://gitea.organic-machine.com/dataforge/agents_dashboard |
|
agents_dashboard
Frontend C++ ImGui para gestionar agentes Matrix de agents_and_robots via HTTPS + apikey. SSE para logs y status feed en vivo.
Panels
- Connection — base_url + apikey input (masked), Test button, LED status SSE. Save credentials cifradas en
local_files/agents_dashboard.db. - Agents — tabla data_table_cpp_viz (render_grid_stage0) con 11 columnas: Status(Badge), ID, Name, Uptime, Msg/24h, Start/Stop/Restart/Clear Memory/Del Cache/Logs (Buttons). Modals de confirmacion para acciones destructivas.
- Logs — selector agente + tail buffer SSE (5000 lineas), autoscroll, pause.
- Status Feed — panel colapsable con eventos del
/sse/statusen tiempo real.
Persistencia
local_files/agents_dashboard.db(SQLite) — tablaconnections(apikey cifrada DPAPI/XOR),app_state.- Migraciones en
migrations/001_init.sqlaplicadas via sqlite3_exec al arrancar.
Build
cmake --build cpp/build/windows --target agents_dashboard -j
Deploy local (Windows)
./fn run redeploy_cpp_app_windows agents_dashboard projects/element_agents/apps/agents_dashboard --build
Self-test
./cpp/build/windows/apps/agents_dashboard/agents_dashboard.exe --self-test
# exit 0: db OK, secret_store round-trip OK, subsystems OK
Registry functions used
http_request_cpp_core— GET/POST /agents + /agents/{id}/{action}http_get_json_cpp_core— /health checksse_client_cpp_core— /sse/agents/{id}/logs + /sse/statussecret_store_cpp_infra— DPAPI Windows / XOR Linux para apikey en SQLitelogger_cpp_core— logging en memoria + archivodata_table_cpp_viz— render_grid_stage0 para tabla Agents con Badge/Button renderers
Capability growth log
v0.1.0 (2026-05-22) — Paneles Connection + Agents + Logs + Status Feed. HTTPS+apikey, SSE reconnect, DPAPI credentials. v0.2.0 (2026-05-22) — Migrado tabla Agents a data_table_cpp_viz (issue 0131). Botones Start/Stop/Restart/Clear Memory/Del Cache/Logs por fila. Endpoints clear_memory + delete_cache. Campos uptime_seconds + messages_24h reales.