( tools: ToolManifestEntry[], ctx: PredicateContext, )
| 90 | * Filter tools based on exposure rules. |
| 91 | */ |
| 92 | export function filterExposedTools( |
| 93 | tools: ToolManifestEntry[], |
| 94 | ctx: PredicateContext, |
| 95 | ): ToolManifestEntry[] { |
| 96 | return tools.filter((tool) => isToolExposedForRuntime(tool, ctx)); |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Filter workflows based on exposure rules. |
no test coverage detected