Major WHOOSH system refactoring and feature enhancements
- Migrated from HIVE branding to WHOOSH across all components - Enhanced backend API with new services: AI models, BZZZ integration, templates, members - Added comprehensive testing suite with security, performance, and integration tests - Improved frontend with new components for project setup, AI models, and team management - Updated MCP server implementation with WHOOSH-specific tools and resources - Enhanced deployment configurations with production-ready Docker setups - Added comprehensive documentation and setup guides - Implemented age encryption service and UCXL integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
/**
|
||||
* Simple MCP Server Test Suite
|
||||
* Tests the core functionality of the Hive MCP server
|
||||
* Tests the core functionality of the WHOOSH MCP server
|
||||
*/
|
||||
|
||||
const { spawn } = require('child_process');
|
||||
const https = require('https');
|
||||
|
||||
// Test configuration
|
||||
const API_BASE = 'https://hive.home.deepblack.cloud/api';
|
||||
const API_BASE = 'https://whoosh.home.deepblack.cloud/api';
|
||||
const TEST_TIMEOUT = 30000;
|
||||
|
||||
// Colors for output
|
||||
@@ -90,7 +90,7 @@ async function testAgentList() {
|
||||
async function testMcpServer() {
|
||||
return new Promise((resolve, reject) => {
|
||||
const mcpProcess = spawn('node', ['dist/index.js'], {
|
||||
cwd: '/home/tony/AI/projects/hive/mcp-server',
|
||||
cwd: '/home/tony/AI/projects/whoosh/mcp-server',
|
||||
stdio: 'pipe'
|
||||
});
|
||||
|
||||
@@ -99,7 +99,7 @@ async function testMcpServer() {
|
||||
|
||||
mcpProcess.stdout.on('data', (data) => {
|
||||
output += data.toString();
|
||||
if (output.includes('Connected to Hive backend successfully') && !resolved) {
|
||||
if (output.includes('Connected to WHOOSH backend successfully') && !resolved) {
|
||||
resolved = true;
|
||||
mcpProcess.kill();
|
||||
resolve('✅ MCP server connects successfully');
|
||||
@@ -126,7 +126,7 @@ async function testMcpServer() {
|
||||
|
||||
async function testSocketIO() {
|
||||
return new Promise((resolve, reject) => {
|
||||
const url = 'https://hive.home.deepblack.cloud/socket.io/?EIO=4&transport=polling';
|
||||
const url = 'https://whoosh.home.deepblack.cloud/socket.io/?EIO=4&transport=polling';
|
||||
https.get(url, (res) => {
|
||||
let data = '';
|
||||
res.on('data', (chunk) => data += chunk);
|
||||
@@ -143,7 +143,7 @@ async function testSocketIO() {
|
||||
|
||||
// Main test runner
|
||||
async function runTests() {
|
||||
log('\n🐝 Hive MCP Server Test Suite\n', colors.blue);
|
||||
log('\n🐝 WHOOSH MCP Server Test Suite\n', colors.blue);
|
||||
|
||||
let passed = 0;
|
||||
let failed = 0;
|
||||
@@ -166,7 +166,7 @@ async function runTests() {
|
||||
log(` Total: ${passed + failed}`, colors.blue);
|
||||
|
||||
if (failed === 0) {
|
||||
log('\n🎉 All tests passed! Hive MCP system is operational.', colors.green);
|
||||
log('\n🎉 All tests passed! WHOOSH MCP system is operational.', colors.green);
|
||||
} else {
|
||||
log('\n⚠️ Some tests failed. Check the errors above.', colors.yellow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user