Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T15:09:41Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 15:09:41 +00:00
1 parent 1291f309ff
commit a3abd94253
1 file changed
+3 -5
+3 -5
View File
@@ -201,16 +201,14 @@ async function checkMcpServers(): Promise<HealthCheck> {
return { name: 'MCP Servers', status: 'warn', message: 'No MCP config found', fix: 'claude mcp add claude-flow npx @claude-flow/cli@v3alpha mcp start' };
}
// Check disk space (async)
// Check disk space (async with proper env inheritance)
async function checkDiskSpace(): Promise<HealthCheck> {
try {
if (process.platform === 'win32') {
return { name: 'Disk Space', status: 'pass', message: 'Check skipped on Windows' };
}
const { promisify } = require('util');
const execAsync = promisify(require('child_process').exec);
const { stdout } = await execAsync('df -h . | tail -1', { encoding: 'utf8', timeout: 5000 });
const parts = stdout.split(/\s+/);
const output_str = await runCommand('df -h . | tail -1');
const parts = output_str.split(/\s+/);
const available = parts[3];
const usePercent = parseInt(parts[4]?.replace('%', '') || '0', 10);