export function composeUserInput(description, attachments) {
    if (!attachments || attachments.length === 0) {
        return description;
    }
    const refs = attachments
        .map((a) => (a.notes?.trim() ? `@${a.path} [Note: ${a.notes.trim()}]` : `@${a.path}`))
        .join(' ');
    return `${description}\n\n${refs}`;
}
