MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / buildDaemonToolCatalogFromManifest

Function buildDaemonToolCatalogFromManifest

src/runtime/tool-catalog.ts:220–237  ·  view source on GitHub ↗
(opts?: {
  excludeWorkflows?: string[];
})

Source from the content-addressed store, hash-verified

218 * Daemon visibility is determined by manifest availability and predicates.
219 */
220export async function buildDaemonToolCatalogFromManifest(opts?: {
221 excludeWorkflows?: string[];
222}): Promise<ToolCatalog> {
223 const excludeWorkflows = opts?.excludeWorkflows ?? [];
224
225 // Daemon context: not running under Xcode, no Xcode tools active
226 const ctx: PredicateContext = {
227 runtime: 'daemon',
228 config: getConfig(),
229 runningUnderXcode: false,
230 };
231
232 return buildToolCatalogFromManifest({
233 runtime: 'daemon',
234 ctx,
235 excludeWorkflows,
236 });
237}
238
239async function buildCliPredicateContext(): Promise<PredicateContext> {
240 // Skip bridge availability check in CLI mode — xcode-ide workflow has

Callers 1

mainFunction · 0.90

Calls 2

getConfigFunction · 0.90

Tested by

no test coverage detected