(options: { readonly artifacts: boolean })
| 631 | * does not have; a session that opted in gets the full {@link SKILLS} list. |
| 632 | */ |
| 633 | export const skillCatalogFor = (options: { readonly artifacts: boolean }): readonly Skill[] => |
| 634 | options.artifacts ? SKILLS : SKILLS.filter((skill) => !ARTIFACT_SKILLS.has(skill)); |
| 635 | |
| 636 | /** Look up a skill by its exact name within a session's catalog. */ |
| 637 | export const findSkill = (name: string, catalog: readonly Skill[] = SKILLS): Skill | undefined => |
no outgoing calls
no test coverage detected