( skillCommandMap: ReadonlyMap<string, string>, commandName: string, )
| 126 | } |
| 127 | |
| 128 | export function resolveSkillCommand( |
| 129 | skillCommandMap: ReadonlyMap<string, string>, |
| 130 | commandName: string, |
| 131 | ): string | undefined { |
| 132 | return skillCommandMap.get(commandName) ?? skillCommandMap.get(`skill:${commandName}`); |
| 133 | } |
| 134 | |
| 135 | export function slashCommandBusyReason( |
| 136 | options: Pick<ResolveSlashCommandInput, 'isStreaming' | 'isCompacting'>, |
no test coverage detected