mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
- Replace mock data with real metrics from .claude-flow/metrics/ files - Fix MCP Server detection to properly show running status - Make agent spawn and task creation fully functional with file persistence - Update binary wrapper to prioritize local source over npm packages - Bump version to 2.0.0-alpha.111 Changes: - Created MetricsReader utility to read actual metrics files - Updated status.js to display real system metrics, not hardcoded values - Fixed agent.js to create real agent files in .claude-flow/agents/ - Fixed task.js to maintain actual task queue in .claude-flow/tasks/ - Modified ./claude-flow binary to use local source directly - Broadened MCP detection pattern to catch all MCP variants All status commands now show live, accurate data: - Real memory usage, CPU load, and disk stats - Actual agent counts and statuses from persisted files - Live task queue with real queued tasks - Correct MCP server running status - Accurate session and performance metrics 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
56 lines
1.9 KiB
JavaScript
56 lines
1.9 KiB
JavaScript
// integration.js - System Integrator mode orchestration template
|
|
export function getIntegrationOrchestration(taskDescription, memoryNamespace) {
|
|
return `
|
|
## Task Orchestration Steps
|
|
|
|
1. **Integration Analysis** (10 mins)
|
|
- Review integration requirements: "${taskDescription}"
|
|
- Identify components to connect
|
|
- Map data flows between systems
|
|
- Check compatibility requirements
|
|
- Store analysis: \`npx claude-flow memory store ${memoryNamespace}_integration_analysis "..."\`
|
|
|
|
2. **Interface Development** (20 mins)
|
|
- Create integration adapters
|
|
- Implement data transformers
|
|
- Build connection handlers
|
|
- Add retry mechanisms
|
|
- Store interfaces: \`npx claude-flow memory store ${memoryNamespace}_interfaces "..."\`
|
|
|
|
3. **System Connection** (20 mins)
|
|
- Wire up components
|
|
- Configure communication channels
|
|
- Implement error handling
|
|
- Add monitoring hooks
|
|
- Store configuration: \`npx claude-flow memory store ${memoryNamespace}_connections "..."\`
|
|
|
|
4. **End-to-End Testing** (15 mins)
|
|
- Test data flow scenarios
|
|
- Verify error handling
|
|
- Check performance metrics
|
|
- Validate data integrity
|
|
|
|
5. **Directory Safety**
|
|
- **IMPORTANT**: All integration files should be created in the current working directory
|
|
- **DO NOT** create files in system directories or node_modules
|
|
- For named projects, create a subdirectory: \`mkdir project-name && cd project-name\`
|
|
- Use relative paths from your working directory
|
|
- Suggested structure for integration code:
|
|
\`\`\`
|
|
./ (current directory)
|
|
├── integrations/
|
|
│ ├── adapters/
|
|
│ ├── transformers/
|
|
│ └── handlers/
|
|
├── config/
|
|
└── tests/
|
|
└── integration/
|
|
\`\`\`
|
|
|
|
6. **Deliverables**
|
|
- Integration layer code
|
|
- Configuration templates
|
|
- Integration test suite
|
|
- Deployment guide`;
|
|
}
|