(opts?: {
excludeWorkflows?: string[];
})
| 218 | * Daemon visibility is determined by manifest availability and predicates. |
| 219 | */ |
| 220 | export 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 | |
| 239 | async function buildCliPredicateContext(): Promise<PredicateContext> { |
| 240 | // Skip bridge availability check in CLI mode — xcode-ide workflow has |
no test coverage detected