bimmo-cli 4.1.4 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/interface.js +3 -1
package/package.json
CHANGED
package/src/interface.js
CHANGED
|
@@ -76,10 +76,12 @@ const Message = ({ role, content, displayContent }) => {
|
|
|
76
76
|
|
|
77
77
|
const renderUserContent = (text) => {
|
|
78
78
|
if (typeof text !== 'string') return text;
|
|
79
|
+
// Regex melhorado para capturar @arquivo.ext ou @caminho/arquivo.ext
|
|
79
80
|
const parts = text.split(/(@[\w\.\-\/]+)/g);
|
|
80
81
|
return parts.map((part, i) => {
|
|
81
82
|
if (part.startsWith('@')) {
|
|
82
|
-
|
|
83
|
+
// Usando Amarelo para destacar do texto branco/cinza
|
|
84
|
+
return h(Text, { key: i, color: THEME.yellow, bold: true }, part);
|
|
83
85
|
}
|
|
84
86
|
return h(Text, { key: i }, part);
|
|
85
87
|
});
|