+8
-1
@@ -658,6 +658,8 @@ #!/usr/bin/env node | ||
| try { | ||
| // Include locally-detected issues so server can match them to known fixes | ||
| const payload = { ...diagnostic, _localIssues: issues.map(i => ({ severity: i.severity, text: i.text })) }; | ||
| const resp = await fetch(`${API_URL}/api/diagnose`, { | ||
| method: 'POST', | ||
| headers: { 'Content-Type': 'application/json' }, | ||
| body: JSON.stringify(diagnostic), | ||
| body: JSON.stringify(payload), | ||
| }); | ||
@@ -778,2 +780,7 @@ if (resp.ok) { | ||
| console.log(` Run ${c.cyan(`apply ${idx + 1}`)} to apply this fix.`); | ||
| } else { | ||
| // No fix script available — suggest asking AI | ||
| console.log(''); | ||
| console.log(c.yellow(' No automatic fix script available for this issue.')); | ||
| console.log(` Try asking: ${c.cyan(`"how do I fix ${issue.title || issue.text}?"`)}`); | ||
| } | ||
@@ -780,0 +787,0 @@ console.log(''); |
+1
-1
| { | ||
| "name": "clawfix", | ||
| "version": "0.6.0", | ||
| "version": "0.6.1", | ||
| "description": "AI-powered diagnostic and repair for OpenClaw installations", | ||
@@ -5,0 +5,0 @@ "bin": { |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
42524
1.13%1002
0.7%4
-20%5
25%