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

Function cli_clients_selects_registry_client

src/cli/cli.c:10768–10771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10766}
10767
10768static bool cli_clients_selects_registry_client(const char *spec, cbm_agent_client_id_t client_id) {
10769 const cbm_agent_client_profile_t *profile = cbm_agent_client_by_id(client_id);
10770 return profile && cli_clients_spec_contains(spec, profile->stable_id);
10771}
10772
10773/* Restrict `detected` to the comma-separated token list. Returns false (after
10774 * printing the vocabulary) when a token is unknown, so a typo can never be

Callers 2

Calls 2

cbm_agent_client_by_idFunction · 0.85

Tested by

no test coverage detected