claude-flow-novice 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  /**
3
- * Claude-Flow Novice MCP Server - SIMPLIFIED VERSION
3
+ * Claude-Flow Novice MCP Server - SIMPLIFIED STANDALONE VERSION
4
4
  * Only 36 essential tools for beginners
5
- * 80% complexity reduction while preserving core capabilities
5
+ * No external dependencies, completely self-contained
6
6
  */
7
7
 
8
- import { promises as fs } from 'fs';
9
- import path from 'path';
10
- import { fileURLToPath } from 'url';
11
-
12
- const __filename = fileURLToPath(import.meta.url);
13
- const __dirname = path.dirname(__filename);
14
-
15
8
  class ClaudeFlowNoviceMCPServer {
16
9
  constructor() {
17
10
  this.version = '2.0.0-novice-simplified';
@@ -396,7 +389,6 @@ class ClaudeFlowNoviceMCPServer {
396
389
 
397
390
  initializeResources() {
398
391
  return {
399
- // Simple resource definitions for novice users
400
392
  'memory://sessions': {
401
393
  uri: 'memory://sessions',
402
394
  name: 'Memory Sessions',
@@ -443,7 +435,8 @@ class ClaudeFlowNoviceMCPServer {
443
435
  }
444
436
 
445
437
  handleInitialize(params) {
446
- console.error(`[${new Date().toISOString()}] INFO [claude-flow-novice-mcp] (${this.sessionId}) Initialized with ${Object.keys(this.tools).length} tools`);
438
+ const toolCount = Object.keys(this.tools).length;
439
+ console.error(`[${new Date().toISOString()}] INFO [claude-flow-novice-mcp] (${this.sessionId}) Initialized with ${toolCount} tools`);
447
440
  return {
448
441
  protocolVersion: '2024-11-05',
449
442
  capabilities: this.capabilities,
@@ -469,8 +462,6 @@ class ClaudeFlowNoviceMCPServer {
469
462
 
470
463
  console.error(`[${new Date().toISOString()}] INFO [claude-flow-novice-mcp] (${this.sessionId}) Executing tool: ${name}`);
471
464
 
472
- // Simple mock implementations for demonstration
473
- // In a real implementation, these would call actual functionality
474
465
  const result = {
475
466
  success: true,
476
467
  tool: name,
@@ -570,14 +561,15 @@ async function main() {
570
561
  process.exit(0);
571
562
  });
572
563
 
573
- console.error(`[${new Date().toISOString()}] INFO [claude-flow-novice-mcp] Server starting with 36 essential tools`);
564
+ const toolCount = Object.keys(server.tools).length;
565
+ console.error(`[${new Date().toISOString()}] INFO [claude-flow-novice-mcp] Server starting with ${toolCount} essential tools`);
574
566
  }
575
567
 
576
- if (import.meta.url === `file://${process.argv[1]}`) {
568
+ if (require.main === module) {
577
569
  main().catch((error) => {
578
570
  console.error(`[${new Date().toISOString()}] FATAL [claude-flow-novice-mcp] ${error.message}`);
579
571
  process.exit(1);
580
572
  });
581
573
  }
582
574
 
583
- export { ClaudeFlowNoviceMCPServer };
575
+ module.exports = { ClaudeFlowNoviceMCPServer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow-novice",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "Simplified Claude Flow for beginners - AI agent orchestration made easy. Enhanced init command creates complete agent system (8 core agents), MCP configuration with 36 essential tools, and automated hooks. All memory leaks eliminated, zero deprecated dependencies, full project setup in one command.",
5
5
  "mcpName": "io.github.ruvnet/claude-flow",
6
6
  "main": "dist/index.js",