(name: string, toolIds: string[])
| 141 | } |
| 142 | |
| 143 | function buildCustomWorkflowEntry(name: string, toolIds: string[]): WorkflowManifestEntry { |
| 144 | return { |
| 145 | id: name, |
| 146 | title: name, |
| 147 | description: `Custom workflow '${name}' from config.yaml.`, |
| 148 | targetPlatforms: [], |
| 149 | availability: { mcp: true, cli: false }, |
| 150 | selection: { mcp: { defaultEnabled: false, autoInclude: false } }, |
| 151 | predicates: [], |
| 152 | tools: toolIds, |
| 153 | }; |
| 154 | } |
| 155 | |
| 156 | export function createCustomWorkflowsFromConfig( |
| 157 | manifest: ResolvedManifest, |
no outgoing calls
no test coverage detected