claude-flow-novice 2.18.7 → 2.18.9

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.
Files changed (33) hide show
  1. package/.claude/cfn-extras/skills/advanced-features/cfn-event-bus/README.md +2 -2
  2. package/.claude/cfn-extras/skills/advanced-features/cfn-event-bus/SKILL.md +2 -2
  3. package/.claude/cfn-extras/skills/advanced-features/cfn-event-bus/config.json +1 -1
  4. package/package.json +1 -1
  5. package/.claude/core/agent-manager.js +0 -80
  6. package/.claude/core/agent-manager.js.map +0 -1
  7. package/.claude/core/config.js +0 -1241
  8. package/.claude/core/config.js.map +0 -1
  9. package/.claude/core/event-bus.js +0 -136
  10. package/.claude/core/event-bus.js.map +0 -1
  11. package/.claude/core/index.js +0 -6
  12. package/.claude/core/index.js.map +0 -1
  13. package/.claude/core/json-persistence.js +0 -112
  14. package/.claude/core/json-persistence.js.map +0 -1
  15. package/.claude/core/logger.js +0 -245
  16. package/.claude/core/logger.js.map +0 -1
  17. package/.claude/core/orchestrator-fixed.js +0 -236
  18. package/.claude/core/orchestrator-fixed.js.map +0 -1
  19. package/.claude/core/orchestrator.js +0 -1136
  20. package/.claude/core/orchestrator.js.map +0 -1
  21. package/.claude/core/persistence.js +0 -185
  22. package/.claude/core/persistence.js.map +0 -1
  23. package/.claude/core/project-manager.js +0 -80
  24. package/.claude/core/project-manager.js.map +0 -1
  25. package/.claude/core/slash-command.js +0 -24
  26. package/.claude/core/version.js +0 -35
  27. package/.claude/core/version.js.map +0 -1
  28. package/.claude/helpers/checkpoint-manager.sh +0 -251
  29. package/.claude/helpers/github-safe.js +0 -106
  30. package/.claude/helpers/github-setup.sh +0 -28
  31. package/.claude/helpers/quick-start.sh +0 -19
  32. package/.claude/helpers/setup-mcp.sh +0 -18
  33. package/.claude/helpers/standard-checkpoint-hooks.sh +0 -179
@@ -34,7 +34,7 @@ Event Bus provides a centralized pub/sub system for:
34
34
  - System-wide notifications
35
35
  - Event filtering and statistics
36
36
 
37
- Built on the QEEventBus architecture from `.claude/core/event-bus.js`.
37
+ Built on the QEEventBus architecture from `.claude/core/cfn-event-bus.js`.
38
38
 
39
39
  ## Available Scripts
40
40
 
@@ -238,7 +238,7 @@ Notify all agents when consensus is reached:
238
238
  Reset event statistics:
239
239
  ```bash
240
240
  node -e "
241
- const { eventBus } = require('./.claude/core/event-bus.js');
241
+ const { eventBus } = require('./.claude/core/cfn-event-bus.js');
242
242
  eventBus.resetStats();
243
243
  "
244
244
  ```
@@ -19,7 +19,7 @@ Event Bus provides a centralized event-driven communication system for agent coo
19
19
  ### 1. Event Router and Dispatcher
20
20
  The Event Bus uses a pub/sub architecture with the following key components:
21
21
 
22
- **Event Emitter**: Core EventBus class from `.claude/core/event-bus.js`
22
+ **Event Emitter**: Core EventBus class from `.claude/core/cfn-event-bus.js`
23
23
  - `emit(event, data)` - Publish an event
24
24
  - `on(event, handler)` - Subscribe to an event
25
25
  - `once(event, handler)` - Subscribe to one-time event
@@ -383,7 +383,7 @@ Event Bus behavior can be configured via:
383
383
  ```bash
384
384
  # Reset event statistics to free memory
385
385
  node -e "
386
- const { eventBus } = require('./.claude/core/event-bus.js');
386
+ const { eventBus } = require('./.claude/core/cfn-event-bus.js');
387
387
  eventBus.resetStats();
388
388
  console.log('Stats reset');
389
389
  "
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "core": [
20
- ".claude/core/event-bus.js"
20
+ ".claude/core/cfn-event-bus.js"
21
21
  ],
22
22
  "external": [
23
23
  "node",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow-novice",
3
- "version": "2.18.7",
3
+ "version": "2.18.9",
4
4
  "description": "Claude Flow Novice - Advanced orchestration platform for multi-agent AI workflows with CFN Loop architecture\n\nIncludes Local RuVector Accelerator and all CFN skills for complete functionality.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1,80 +0,0 @@
1
- /**
2
- * Simple Agent Manager for novice users
3
- */ import { SimpleAgent } from '../agents/simple-agent.js';
4
- export class AgentManager {
5
- agents = new Map();
6
- /**
7
- * Create a new agent
8
- */ createAgent(type, task) {
9
- const id = this.generateId();
10
- const agent = {
11
- id,
12
- type,
13
- task,
14
- status: 'pending',
15
- created: new Date()
16
- };
17
- this.agents.set(id, agent);
18
- console.log(`✅ Created ${type} agent: ${id}`);
19
- return id;
20
- }
21
- /**
22
- * List all agents
23
- */ listAgents() {
24
- return Array.from(this.agents.values());
25
- }
26
- /**
27
- * Get agent by ID
28
- */ getAgent(id) {
29
- return this.agents.get(id);
30
- }
31
- /**
32
- * Remove agent
33
- */ removeAgent(id) {
34
- const success = this.agents.delete(id);
35
- if (success) {
36
- console.log(`🗑️ Removed agent: ${id}`);
37
- }
38
- return success;
39
- }
40
- /**
41
- * Run a specific agent
42
- */ async runAgent(id) {
43
- const config = this.agents.get(id);
44
- if (!config) {
45
- throw new Error(`Agent ${id} not found`);
46
- }
47
- console.log(`🚀 Running ${config.type} agent: ${config.task}`);
48
- config.status = 'running';
49
- try {
50
- const agent = new SimpleAgent(config);
51
- const result = await agent.execute();
52
- config.result = result;
53
- config.status = 'completed';
54
- console.log(`✅ Agent ${id} completed successfully`);
55
- } catch (error) {
56
- config.status = 'failed';
57
- console.error(`❌ Agent ${id} failed:`, error);
58
- throw error;
59
- }
60
- }
61
- /**
62
- * Run all pending agents
63
- */ async runAll() {
64
- const pendingAgents = Array.from(this.agents.values()).filter((agent)=>agent.status === 'pending');
65
- if (pendingAgents.length === 0) {
66
- console.log('No pending agents to run');
67
- return;
68
- }
69
- console.log(`🚀 Running ${pendingAgents.length} agents...`);
70
- for (const agentConfig of pendingAgents){
71
- await this.runAgent(agentConfig.id);
72
- }
73
- console.log('🎉 All agents completed!');
74
- }
75
- generateId() {
76
- return Math.random().toString(36).substr(2, 9);
77
- }
78
- }
79
-
80
- //# sourceMappingURL=agent-manager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/core/agent-manager.ts"],"names":["SimpleAgent","AgentManager","agents","Map","createAgent","type","task","id","generateId","agent","status","created","Date","set","console","log","listAgents","Array","from","values","getAgent","get","removeAgent","success","delete","runAgent","config","Error","result","execute","error","runAll","pendingAgents","filter","length","agentConfig","Math","random","toString","substr"],"mappings":"AAAA;;CAEC,GAGD,SAASA,WAAW,QAAQ,4BAA4B;AAExD,OAAO,MAAMC;IACHC,SAAmC,IAAIC,MAAM;IAErD;;GAEC,GACDC,YAAYC,IAAe,EAAEC,IAAY,EAAU;QACjD,MAAMC,KAAK,IAAI,CAACC,UAAU;QAC1B,MAAMC,QAAqB;YACzBF;YACAF;YACAC;YACAI,QAAQ;YACRC,SAAS,IAAIC;QACf;QAEA,IAAI,CAACV,MAAM,CAACW,GAAG,CAACN,IAAIE;QACpBK,QAAQC,GAAG,CAAC,CAAC,UAAU,EAAEV,KAAK,QAAQ,EAAEE,IAAI;QAC5C,OAAOA;IACT;IAEA;;GAEC,GACDS,aAA4B;QAC1B,OAAOC,MAAMC,IAAI,CAAC,IAAI,CAAChB,MAAM,CAACiB,MAAM;IACtC;IAEA;;GAEC,GACDC,SAASb,EAAU,EAA2B;QAC5C,OAAO,IAAI,CAACL,MAAM,CAACmB,GAAG,CAACd;IACzB;IAEA;;GAEC,GACDe,YAAYf,EAAU,EAAW;QAC/B,MAAMgB,UAAU,IAAI,CAACrB,MAAM,CAACsB,MAAM,CAACjB;QACnC,IAAIgB,SAAS;YACXT,QAAQC,GAAG,CAAC,CAAC,mBAAmB,EAAER,IAAI;QACxC;QACA,OAAOgB;IACT;IAEA;;GAEC,GACD,MAAME,SAASlB,EAAU,EAAiB;QACxC,MAAMmB,SAAS,IAAI,CAACxB,MAAM,CAACmB,GAAG,CAACd;QAC/B,IAAI,CAACmB,QAAQ;YACX,MAAM,IAAIC,MAAM,CAAC,MAAM,EAAEpB,GAAG,UAAU,CAAC;QACzC;QAEAO,QAAQC,GAAG,CAAC,CAAC,WAAW,EAAEW,OAAOrB,IAAI,CA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