MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / generation

Function generation

src/ui/activity.c:481–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481static bool generation(sqlite3 *db, yyjson_mut_doc *doc, yyjson_mut_val *obj) {
482 sqlite3_stmt *st = NULL;
483 bool ok = sqlite3_prepare_v2(db, "SELECT value FROM activity_meta WHERE key='generation'", -1,
484 &st, NULL) == SQLITE_OK &&
485 sqlite3_step(st) == SQLITE_ROW;
486 if (ok)
487 yyjson_mut_obj_add_strcpy(doc, obj, "generation", (const char *)sqlite3_column_text(st, 0));
488 sqlite3_finalize(st);
489 return ok;
490}
491
492char *cbm_activity_agents(sqlite3 *db, const char *project, int64_t after, int limit) {
493 if (!db)

Callers 2

cbm_activity_agentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected