eb57e833922ec815c9bdf58d6614fb2a3d95930e
Cliente Server-Sent Events C++ reusable (fn_sse::Client) con background thread, exponential backoff, Last-Event-ID y stop() que no bloquea. Implementacion clave: fork+execvp curl directamente (sin /bin/sh wrapper) para tener el PID real del proceso curl en curl_pid_, lo que permite que stop() → kill(SIGTERM) → fgets NULL → join() funcione sin bloqueo. 4 tests (Catch2): connect_and_receive_3_events, parse_event_field, reconnect_on_disconnect, stop_kills_thread. Fixture Python SSE con /health probe via http_request_cpp_core. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fn-registry — Schema de documentación
Registry personal de código con búsqueda FTS. Diseñado para composición funcional y agentes.
Archivos
functions.md— Schema de la tabla functions (incluye pipelines y componentes React)types.md— Schema de la tabla typesintegrity.md— Reglas de integridad y referencias cruzadasarchitecture.md— Visión general del sistemasync_setup.md— Vincular una PC al serverregistry.organic-machine.com(env vars,fn sync, troubleshooting)
Tablas
| Tabla | Descripción |
|---|---|
functions |
Funciones atómicas, pipelines y componentes React |
types |
Tipos algebraicos (product / sum) |
kind: valores posibles
| Valor | Descripción |
|---|---|
function |
Función atómica pura o impura |
pipeline |
Composición de funciones, siempre impura |
component |
Componente React, extiende el schema base |
fn-registry schema v1.0
Description
Languages
Go
27.5%
C++
25.5%
Python
24.1%
Shell
11.6%
C
5.8%
Other
5.3%