Move the duplicated basenameOfPath function from ChatView.tsx and vscode-icons.ts into the shared lib/utils.ts module, and update both files to import from there.
Move the duplicated basenameOfPath function from ChatView.tsx and vscode-icons.ts into the shared lib/utils.ts module, and update both files to import from there.