(slug: string)
| 178 | /** Unknown slugs pass through as a bare `{ id }` so planners can reach |
| 179 | * server-side models that aren't in our prescriptive catalog. */ |
| 180 | export function resolveModelSelection(slug: string): ModelSelection { |
| 181 | const profile = MODEL_CATALOG.find(m => m.slug === slug); |
| 182 | return profile ? profile.selection : { id: slug }; |
| 183 | } |
| 184 | |
| 185 | export function renderModelCatalog(): string { |
| 186 | const lines: string[] = []; |
no outgoing calls
no test coverage detected