claude-flow-novice 2.18.7 → 2.18.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.
- package/package.json +1 -1
- package/.claude/core/agent-manager.js +0 -80
- package/.claude/core/agent-manager.js.map +0 -1
- package/.claude/core/config.js +0 -1241
- package/.claude/core/config.js.map +0 -1
- package/.claude/core/event-bus.js +0 -136
- package/.claude/core/event-bus.js.map +0 -1
- package/.claude/core/index.js +0 -6
- package/.claude/core/index.js.map +0 -1
- package/.claude/core/json-persistence.js +0 -112
- package/.claude/core/json-persistence.js.map +0 -1
- package/.claude/core/logger.js +0 -245
- package/.claude/core/logger.js.map +0 -1
- package/.claude/core/orchestrator-fixed.js +0 -236
- package/.claude/core/orchestrator-fixed.js.map +0 -1
- package/.claude/core/orchestrator.js +0 -1136
- package/.claude/core/orchestrator.js.map +0 -1
- package/.claude/core/persistence.js +0 -185
- package/.claude/core/persistence.js.map +0 -1
- package/.claude/core/project-manager.js +0 -80
- package/.claude/core/project-manager.js.map +0 -1
- package/.claude/core/slash-command.js +0 -24
- package/.claude/core/version.js +0 -35
- package/.claude/core/version.js.map +0 -1
- package/.claude/helpers/checkpoint-manager.sh +0 -251
- package/.claude/helpers/github-safe.js +0 -106
- package/.claude/helpers/github-setup.sh +0 -28
- package/.claude/helpers/quick-start.sh +0 -19
- package/.claude/helpers/setup-mcp.sh +0 -18
- package/.claude/helpers/standard-checkpoint-hooks.sh +0 -179
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow-novice",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.8",
|
|
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,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