(s: string | undefined | null)
| 17 | export type RecipeKind = (typeof RECIPES)[number]; |
| 18 | |
| 19 | export function isRecipe(s: string | undefined | null): s is RecipeKind { |
| 20 | return !!s && (RECIPES as readonly string[]).includes(s); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Wrap a user goal in the chosen recipe's protocol. Returns the full prompt to feed the |
no outgoing calls
no test coverage detected