v0.0.55 - Defer trigger loading until self-skill EOSE and add trigger subscription debug instrumentation

This commit is contained in:
Your Name
2026-03-09 16:17:16 -04:00
parent 4f35fd3888
commit 22b2064fbb
7 changed files with 243 additions and 68 deletions
+3
View File
@@ -5,6 +5,7 @@
#include <time.h>
#include "config.h"
#include "../nostr_core_lib/nostr_core/nostr_core.h"
#define TRIGGER_DEFAULT_MAX_ACTIVE 16
#define TRIGGER_SKILL_SLUG_MAX 65
@@ -24,6 +25,8 @@ typedef struct {
int enabled;
time_t last_fired;
time_t last_seen_created_at;
nostr_pool_subscription_t* subscription;
void* subscription_ctx;
} active_trigger_t;
typedef struct trigger_manager {