* Displays a note about extra workflows installed that aren't in the current profile.
(
projectPath: string,
configuredTools: string[],
profileWorkflows: readonly string[]
)
| 359 | * Displays a note about extra workflows installed that aren't in the current profile. |
| 360 | */ |
| 361 | private displayExtraWorkflowsNote( |
| 362 | projectPath: string, |
| 363 | configuredTools: string[], |
| 364 | profileWorkflows: readonly string[] |
| 365 | ): void { |
| 366 | const installedWorkflows = scanInstalledWorkflows(projectPath, configuredTools); |
| 367 | const profileSet = new Set(profileWorkflows); |
| 368 | const extraWorkflows = installedWorkflows.filter((w) => !profileSet.has(w)); |
| 369 | |
| 370 | if (extraWorkflows.length > 0) { |
| 371 | console.log(chalk.dim(`Note: ${extraWorkflows.length} extra workflows not in profile (use \`openspec config profile\` to manage)`)); |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | /** |
| 376 | * Suggest opting back into core when a custom profile still matches the old |
no test coverage detected