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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/interface.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimmo-cli",
3
- "version": "4.1.4",
3
+ "version": "4.1.5",
4
4
  "description": "🌿 Plataforma de IA universal profissional com interface React (Ink) pura.",
5
5
  "bin": {
6
6
  "bimmo": "bin/bimmo"
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
- return h(Text, { key: i, color: THEME.cyan, bold: true }, part);
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
  });