mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
✨ **5-Agent Swarm Implementation** - Agent 1: Fixed typos and syntax errors - Agent 2: Fixed UI rendering and CSV export - Agent 3: Replaced mock data with real system metrics - Agent 4: Enhanced portability and integration - Agent 5: Improved CLI parsing and Node.js standardization 🔧 **Key Fixes** - Fixed misspelling: processCommuncation → processCommunication - Fixed terminal UI newline rendering in SwarmUI (\\n → \n) - Replaced mock Math.random() with real system metrics - Fixed CSV generation logic with proper header-value alignment - Enhanced error handling with structured error codes - Replaced non-portable shell commands (pkill, which) with cross-platform solutions - Improved CLI argument parsing with Commander.js support - Standardized Node.js APIs (removed Deno usage) - Updated API placeholder from 'project2' to 'Claude-Flow' 🧪 **Comprehensive Testing** - Added 30+ tests covering all fixes - Integration tests for portability - Unit tests for UI components - Functional tests for CLI parsing - Security tests for error handling ⚡ **Alpha 56 Version Updates** - Updated package.json to 2.0.0-alpha.56 - Updated CLI help text with alpha 56 notes - Updated MCP server version strings 🐛 **Addresses Issues** - Resolves #272 code quality review items - Resolves #282 misspelling issue - Resolves #283 mock data in monitor - Resolves #284 terminal UI newlines 🚀 Generated with Claude Code and 5-agent swarm coordination
17 lines
330 B
JavaScript
17 lines
330 B
JavaScript
import express from 'express';
|
|
import cors from 'cors';
|
|
|
|
const app = express();
|
|
const PORT = process.env.PORT || 3000;
|
|
|
|
app.use(cors());
|
|
app.use(express.json());
|
|
|
|
app.get('/', (req, res) => {
|
|
res.json({ message: 'Welcome to Claude-Flow API' });
|
|
});
|
|
|
|
app.listen(PORT, () => {
|
|
console.log(`Server running on port ${PORT}`);
|
|
});
|