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

Function write_reply

src/ui/activity.c:286–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286static char *write_reply(yyjson_mut_doc *doc) {
287 char *reply = yyjson_mut_write_opts(doc, 0, cbm_json_writer_allocator(), NULL, NULL);
288 yyjson_mut_doc_free(doc);
289 return reply;
290}
291
292/* Compatibility endpoint: original JSON lines, now from the authoritative
293 * journal. Bound both rows and bytes; export-file rotation cannot change them. */

Callers 4

cbm_activity_ui_logsFunction · 0.85
cbm_activity_ingestFunction · 0.85
cbm_activity_agentsFunction · 0.85

Calls 1

Tested by

no test coverage detected