snow-ai 0.2.7 → 0.2.8

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.
@@ -317,8 +317,18 @@ export class FilesystemMCPService {
317
317
  const errorCount = diagnostics.filter(d => d.severity === 'error').length;
318
318
  const warningCount = diagnostics.filter(d => d.severity === 'warning').length;
319
319
  if (errorCount > 0 || warningCount > 0) {
320
- result.message += `\n\n⚠️ Diagnostics detected: ${errorCount} error(s), ${warningCount} warning(s)\n` +
321
- ` ⚡ TIP: Check the diagnostics and make another small edit to fix issues`;
320
+ result.message += `\n\n⚠️ Diagnostics detected: ${errorCount} error(s), ${warningCount} warning(s)`;
321
+ // Format diagnostics for better readability
322
+ const formattedDiagnostics = diagnostics
323
+ .filter(d => d.severity === 'error' || d.severity === 'warning')
324
+ .map(d => {
325
+ const icon = d.severity === 'error' ? '❌' : '⚠️';
326
+ const location = `${filePath}:${d.line}:${d.character}`;
327
+ return ` ${icon} [${d.source || 'unknown'}] ${location}\n ${d.message}`;
328
+ })
329
+ .join('\n\n');
330
+ result.message += `\n\n📋 Diagnostic Details:\n${formattedDiagnostics}`;
331
+ result.message += `\n\n ⚡ TIP: Review the errors above and make another small edit to fix them`;
322
332
  }
323
333
  }
324
334
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-ai",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Intelligent Command Line Assistant powered by AI",
5
5
  "license": "MIT",
6
6
  "bin": {