Skip to content

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.

style(cli): format OMP agent directory changes

DavidHLPfa3a3ea3ac27
diff --git a/src/cli/agent_clients.c b/src/cli/agent_clients.c
index 6f19b0593..4c07a583d 100644
--- a/src/cli/agent_clients.c
+++ b/src/cli/agent_clients.c
@@ -74,8 +74,8 @@ static const cbm_agent_client_profile_t agent_profiles[CBM_AGENT_CLIENT_COUNT] =
{CBM_AGENT_CLIENT_SOURCEGRAPH_CODY, "sourcegraph-cody", "Sourcegraph Cody", CBM_AGENT_OPT_IN,
CBM_AGENT_CAP_MCP, NULL, agent_install_callback, agent_remove_callback},
{CBM_AGENT_CLIENT_OMP, "omp", "Oh My Pi (omp)", CBM_AGENT_STABLE,
- CBM_AGENT_CAP_MCP | CBM_AGENT_CAP_SKILL | CBM_AGENT_CAP_AGENT, "omp",
- agent_install_callback, agent_remove_callback},
+ CBM_AGENT_CAP_MCP | CBM_AGENT_CAP_SKILL | CBM_AGENT_CAP_AGENT, "omp", agent_install_callback,
+ agent_remove_callback},
};
size_t cbm_agent_client_count(void) {
diff --git a/src/cli/cli.c b/src/cli/cli.c
index 2c8807125..aebcbc296 100644
--- a/src/cli/cli.c
+++ b/src/cli/cli.c
@@ -8562,12 +8562,11 @@ static void install_pochi_durable_context(const char *home, bool force, bool dry
dry_run);
}
-static void install_omp_durable_context(const cbm_agent_registry_context_t *registry,
- bool force, bool dry_run) {
- const char *agent_dir = registry->options.omp_agent_dir
- && registry->options.omp_agent_dir[0]
- ? registry->options.omp_agent_dir
- : NULL;
+static void install_omp_durable_context(const cbm_agent_registry_context_t *registry, bool force,
+ bool dry_run) {
+ const char *agent_dir = registry->options.omp_agent_dir && registry->options.omp_agent_dir[0]
+ ? registry->options.omp_agent_dir
+ : NULL;
char resolved_dir[CLI_BUF_1K];
if (!agent_dir) {
int written = snprintf(resolved_dir, sizeof(resolved_dir), "%s/.omp/agent",
@@ -10879,10 +10878,9 @@ static void uninstall_pochi_durable_context(const char *home, bool dry_run) {
static void uninstall_omp_durable_context(const cbm_agent_registry_context_t *registry,
bool dry_run) {
- const char *agent_dir = registry->options.omp_agent_dir
- && registry->options.omp_agent_dir[0]
- ? registry->options.omp_agent_dir
- : NULL;
+ const char *agent_dir = registry->options.omp_agent_dir && registry->options.omp_agent_dir[0]
+ ? registry->options.omp_agent_dir
+ : NULL;
char resolved_dir[CLI_BUF_1K];
if (!agent_dir) {
int written = snprintf(resolved_dir, sizeof(resolved_dir), "%s/.omp/agent",