| 1 | /** Exact built-in aliases shared by live events, history and renderers. */ |
| 2 | export function isShellToolName(name: string): boolean { |
| 3 | return /^(bash|pwsh|powershell|shell)$/i.test(name.trim()); |
| 4 | } |
| 5 | |
| 6 | export function isPowerShellToolName(name: string): boolean { |
| 7 | return /^(pwsh|powershell)$/i.test(name.trim()); |
| 8 | } |
| 9 |