( args: ToolArgs, placeholder: string, labels: Record<string, string> )
| 42 | } |
| 43 | |
| 44 | function operationTitle( |
| 45 | args: ToolArgs, |
| 46 | placeholder: string, |
| 47 | labels: Record<string, string> |
| 48 | ): string { |
| 49 | const operation = stringArg(args, 'operation') |
| 50 | return labels[operation] ?? placeholder |
| 51 | } |
| 52 | |
| 53 | function isWorkflowArtifactPath(path: string, filename: string): boolean { |
| 54 | const trimmed = path.trim() |
no test coverage detected