(nextAction)
| 24 | } |
| 25 | |
| 26 | function renderNextAction(nextAction) { |
| 27 | if (!nextAction) { |
| 28 | return ["- No recommended next step."]; |
| 29 | } |
| 30 | |
| 31 | return [ |
| 32 | `- ${nextAction.label}`, |
| 33 | `- Why: ${nextAction.why}`, |
| 34 | ...(nextAction.chatPrompt ? [`- Chat request: "${nextAction.chatPrompt}"`] : []), |
| 35 | ...(nextAction.command ? [`- Local command: \`${nextAction.command}\``] : []), |
| 36 | ]; |
| 37 | } |
| 38 | |
| 39 | function renderBudgets(budgets) { |
| 40 | const lines = [ |
no outgoing calls
no test coverage detected