isAttachmentProjectionText function
Implementation
bool isAttachmentProjectionText(String text) {
final normalized = text.trim();
if (!normalized.startsWith('[') || !normalized.endsWith(')')) return false;
return normalized.contains('](file://') ||
normalized.startsWith('[@image](') ||
normalized.startsWith('[@codex-clipboard-');
}