( agentName: string | undefined, options: NormalizedWorkflowOptions, )
| 137 | } |
| 138 | |
| 139 | export function shouldRejectSubmitPlanForAgent( |
| 140 | agentName: string | undefined, |
| 141 | options: NormalizedWorkflowOptions, |
| 142 | ): boolean { |
| 143 | return options.workflow === "plan-agent" && !isPlanningAgent(agentName, options); |
| 144 | } |
| 145 | |
| 146 | export function applyWorkflowConfig( |
| 147 | opencodeConfig: OpenCodeConfig, |
no test coverage detected