Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Merge branch 'main' into fix/1762-paired-free-functions
Martin Vogel4563748955e1
diff --cc src/ui/layout3d.hindex 758f0be74,0a3d65770..29b13712a--- a/src/ui/layout3d.h+++ b/src/ui/layout3d.h@@@ -71,7 -72,22 +72,25 @@@ void cbm_layout_free(cbm_layout_result_/* Serialize layout result to JSON string. Caller must free(). */char *cbm_layout_to_json(const cbm_layout_result_t *result);+/* Free the JSON string returned by cbm_layout_to_json. */+void cbm_layout_free_json(char *json);++ /* ── CBM Atlas region level ───────────────────────────────────── */++ /* level=regions payload: one body per region (Leiden communities voted per+ * file, folder groups as fallback), aggregated region→region edge weights,+ * deterministic positions. Cached per (project, indexed_at). Returns a+ * OTHER-owned JSON document; release with cbm_free(CBM_MEM_CLASS_OTHER, result).+ * NULL on error. */+ char *cbm_layout_regions_json(cbm_store_t *store, const char *project);++ /* scope=region:<id> — full-detail layout restricted to one region's files.+ * total_nodes in the result is the REGION's node count. NULL on error or an+ * unknown region id. */+ cbm_layout_result_t *cbm_layout_compute_region(cbm_store_t *store, const char *project,+ int region_id, int max_nodes);++ /* Drop the region cache (tests; safe at any time). */+ void cbm_layout_regions_cache_clear(void);+#endif /* CBM_UI_LAYOUT3D_H */