claude-flow 3.0.0-alpha.1 → 3.0.0-alpha.11
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 +11 -64
- package/README.md +0 -76
- package/bin/cli.js +0 -36
- package/dist/index.d.ts +0 -30
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -30
- package/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,71 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"bin": {
|
|
9
|
-
"claude-flow": "./bin/cli.js"
|
|
10
|
-
},
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"import": "./dist/index.js"
|
|
15
|
-
},
|
|
16
|
-
"./cli": {
|
|
17
|
-
"types": "./dist/cli.d.ts",
|
|
18
|
-
"import": "./dist/cli.js"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"files": [
|
|
22
|
-
"dist",
|
|
23
|
-
"bin",
|
|
24
|
-
"README.md"
|
|
25
|
-
],
|
|
3
|
+
"version": "3.0.0-alpha.11",
|
|
4
|
+
"description": "Claude Flow V3 - AI Agent Orchestration Platform",
|
|
5
|
+
"main": "index.js",
|
|
26
6
|
"scripts": {
|
|
27
|
-
"
|
|
28
|
-
},
|
|
29
|
-
"keywords": [
|
|
30
|
-
"claude",
|
|
31
|
-
"claude-code",
|
|
32
|
-
"ai-agents",
|
|
33
|
-
"multi-agent",
|
|
34
|
-
"swarm",
|
|
35
|
-
"orchestration",
|
|
36
|
-
"mcp",
|
|
37
|
-
"llm",
|
|
38
|
-
"anthropic"
|
|
39
|
-
],
|
|
40
|
-
"author": "RuvNet",
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"repository": {
|
|
43
|
-
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/ruvnet/claude-flow.git"
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
45
8
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
"node": ">=18.0.0"
|
|
9
|
+
"keywords": [],
|
|
10
|
+
"author": "",
|
|
11
|
+
"license": "ISC",
|
|
12
|
+
"bin": {
|
|
13
|
+
"claude-flow": "./node_modules/@claude-flow/cli/bin/cli.js"
|
|
52
14
|
},
|
|
53
15
|
"dependencies": {
|
|
54
|
-
"@claude-flow/cli": "
|
|
55
|
-
|
|
56
|
-
"@claude-flow/memory": "^3.0.0-alpha.1",
|
|
57
|
-
"@claude-flow/hooks": "^3.0.0-alpha.1",
|
|
58
|
-
"@claude-flow/neural": "^3.0.0-alpha.1",
|
|
59
|
-
"@claude-flow/security": "^3.0.0-alpha.1",
|
|
60
|
-
"@claude-flow/plugins": "^3.0.0-alpha.1",
|
|
61
|
-
"@claude-flow/providers": "^3.0.0-alpha.1",
|
|
62
|
-
"@claude-flow/embeddings": "^3.0.0-alpha.1",
|
|
63
|
-
"@claude-flow/mcp": "^3.0.0-alpha.1",
|
|
64
|
-
"@claude-flow/shared": "^3.0.0-alpha.1"
|
|
65
|
-
},
|
|
66
|
-
"publishConfig": {
|
|
67
|
-
"access": "public",
|
|
68
|
-
"tag": "v3alpha"
|
|
69
|
-
},
|
|
70
|
-
"private": false
|
|
16
|
+
"@claude-flow/cli": "3.0.0-alpha.11"
|
|
17
|
+
}
|
|
71
18
|
}
|
package/README.md
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# claude-flow
|
|
2
|
-
|
|
3
|
-
**Multi-agent AI orchestration for Claude Code**
|
|
4
|
-
|
|
5
|
-
Deploy 54+ specialized agents in coordinated swarms with self-learning capabilities, fault-tolerant consensus, and enterprise-grade security.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Works with both **Node.js** and **Bun** runtimes.
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
# With npm/npx (Node.js)
|
|
13
|
-
npm install claude-flow@v3alpha
|
|
14
|
-
npx claude-flow@v3alpha init
|
|
15
|
-
|
|
16
|
-
# With Bun (faster)
|
|
17
|
-
bun add claude-flow@v3alpha
|
|
18
|
-
bunx claude-flow@v3alpha init
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Quick Start
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# Initialize in your project
|
|
25
|
-
npx claude-flow@v3alpha init
|
|
26
|
-
|
|
27
|
-
# Start MCP server for Claude Code integration
|
|
28
|
-
npx claude-flow@v3alpha mcp start
|
|
29
|
-
|
|
30
|
-
# Run a task with agents
|
|
31
|
-
npx claude-flow@v3alpha --agent coder --task "Implement user authentication"
|
|
32
|
-
|
|
33
|
-
# Initialize a swarm
|
|
34
|
-
npx claude-flow@v3alpha swarm init --topology hierarchical
|
|
35
|
-
|
|
36
|
-
# Route tasks intelligently
|
|
37
|
-
npx claude-flow@v3alpha hooks route "Optimize database queries"
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Features
|
|
41
|
-
|
|
42
|
-
- **54+ Specialized Agents** - Coder, tester, reviewer, security, DevOps, and more
|
|
43
|
-
- **Swarm Coordination** - Queen-led hierarchy with 5 consensus algorithms
|
|
44
|
-
- **Self-Learning** - SONA neural architecture with <0.05ms adaptation
|
|
45
|
-
- **HNSW Memory** - 150x-12,500x faster vector search
|
|
46
|
-
- **Multi-Provider LLM** - Claude, GPT, Gemini, Cohere, Ollama with failover
|
|
47
|
-
- **Background Workers** - 12 auto-triggered workers for continuous optimization
|
|
48
|
-
- **Enterprise Security** - CVE-hardened with input validation and sandboxing
|
|
49
|
-
|
|
50
|
-
## Programmatic Usage
|
|
51
|
-
|
|
52
|
-
```typescript
|
|
53
|
-
import { createUnifiedSwarmCoordinator } from 'claude-flow';
|
|
54
|
-
|
|
55
|
-
const coordinator = createUnifiedSwarmCoordinator({
|
|
56
|
-
topology: { type: 'hierarchical', maxAgents: 15 },
|
|
57
|
-
consensus: { algorithm: 'raft' },
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
await coordinator.initialize();
|
|
61
|
-
await coordinator.spawnFullHierarchy();
|
|
62
|
-
|
|
63
|
-
const result = await coordinator.submitTask({
|
|
64
|
-
type: 'coding',
|
|
65
|
-
name: 'Implement feature',
|
|
66
|
-
priority: 'high',
|
|
67
|
-
});
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
## Documentation
|
|
71
|
-
|
|
72
|
-
See the [main repository](https://github.com/ruvnet/claude-flow) for full documentation.
|
|
73
|
-
|
|
74
|
-
## License
|
|
75
|
-
|
|
76
|
-
MIT
|
package/bin/cli.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* claude-flow - CLI Entry Point
|
|
4
|
-
*
|
|
5
|
-
* Multi-agent AI orchestration for Claude Code
|
|
6
|
-
* Works with both Node.js and Bun runtimes
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* npx claude-flow@v3alpha init
|
|
10
|
-
* npx claude-flow@v3alpha --agent coder --task "Implement feature"
|
|
11
|
-
* npx claude-flow@v3alpha swarm init --topology hierarchical
|
|
12
|
-
* npx claude-flow@v3alpha hooks route "task description"
|
|
13
|
-
*
|
|
14
|
-
* Or with Bun:
|
|
15
|
-
* bunx claude-flow@v3alpha init
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
// Detect runtime
|
|
19
|
-
const isBun = typeof Bun !== 'undefined';
|
|
20
|
-
const runtime = isBun ? 'bun' : 'node';
|
|
21
|
-
|
|
22
|
-
async function main() {
|
|
23
|
-
try {
|
|
24
|
-
const { CLI } = await import('@claude-flow/cli');
|
|
25
|
-
const cli = new CLI({ runtime });
|
|
26
|
-
await cli.run();
|
|
27
|
-
} catch (error) {
|
|
28
|
-
console.error('Fatal error:', error.message);
|
|
29
|
-
if (process.env.DEBUG) {
|
|
30
|
-
console.error(error.stack);
|
|
31
|
-
}
|
|
32
|
-
process.exit(1);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
main();
|
package/dist/index.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* claude-flow - Multi-agent AI orchestration for Claude Code
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Re-export all modules for convenient access
|
|
6
|
-
export * from '@claude-flow/swarm';
|
|
7
|
-
export * from '@claude-flow/memory';
|
|
8
|
-
export * from '@claude-flow/hooks';
|
|
9
|
-
export * from '@claude-flow/neural';
|
|
10
|
-
export * from '@claude-flow/security';
|
|
11
|
-
export * from '@claude-flow/plugins';
|
|
12
|
-
export * from '@claude-flow/providers';
|
|
13
|
-
export * from '@claude-flow/embeddings';
|
|
14
|
-
export * from '@claude-flow/shared';
|
|
15
|
-
|
|
16
|
-
// Re-export CLI for programmatic use
|
|
17
|
-
export { CLI } from '@claude-flow/cli';
|
|
18
|
-
|
|
19
|
-
// Version info
|
|
20
|
-
export declare const VERSION = "3.0.0-alpha.1";
|
|
21
|
-
export declare const V3_FEATURES: {
|
|
22
|
-
readonly swarmCoordination: true;
|
|
23
|
-
readonly selfLearning: true;
|
|
24
|
-
readonly hnswMemory: true;
|
|
25
|
-
readonly multiProviderLLM: true;
|
|
26
|
-
readonly backgroundWorkers: true;
|
|
27
|
-
readonly securityHardened: true;
|
|
28
|
-
readonly consensusAlgorithms: readonly ["raft", "byzantine", "gossip", "crdt", "quorum"];
|
|
29
|
-
readonly supportedTopologies: readonly ["hierarchical", "mesh", "ring", "star", "adaptive"];
|
|
30
|
-
};
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAGvC,eAAO,MAAM,OAAO,kBAAkB,CAAC;AACvC,eAAO,MAAM,WAAW;;;;;;;;;CASd,CAAC"}
|
package/dist/index.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* claude-flow - Multi-agent AI orchestration for Claude Code
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
// Re-export all modules for convenient access
|
|
6
|
-
export * from '@claude-flow/swarm';
|
|
7
|
-
export * from '@claude-flow/memory';
|
|
8
|
-
export * from '@claude-flow/hooks';
|
|
9
|
-
export * from '@claude-flow/neural';
|
|
10
|
-
export * from '@claude-flow/security';
|
|
11
|
-
export * from '@claude-flow/plugins';
|
|
12
|
-
export * from '@claude-flow/providers';
|
|
13
|
-
export * from '@claude-flow/embeddings';
|
|
14
|
-
export * from '@claude-flow/shared';
|
|
15
|
-
|
|
16
|
-
// Re-export CLI for programmatic use
|
|
17
|
-
export { CLI } from '@claude-flow/cli';
|
|
18
|
-
|
|
19
|
-
// Version info
|
|
20
|
-
export const VERSION = '3.0.0-alpha.1';
|
|
21
|
-
export const V3_FEATURES = {
|
|
22
|
-
swarmCoordination: true,
|
|
23
|
-
selfLearning: true,
|
|
24
|
-
hnswMemory: true,
|
|
25
|
-
multiProviderLLM: true,
|
|
26
|
-
backgroundWorkers: true,
|
|
27
|
-
securityHardened: true,
|
|
28
|
-
consensusAlgorithms: ['raft', 'byzantine', 'gossip', 'crdt', 'quorum'],
|
|
29
|
-
supportedTopologies: ['hierarchical', 'mesh', 'ring', 'star', 'adaptive'],
|
|
30
|
-
};
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,8CAA8C;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AAEpC,qCAAqC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAEvC,eAAe;AACf,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;AACvC,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,IAAI;IACvB,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,IAAI;IACvB,gBAAgB,EAAE,IAAI;IACtB,mBAAmB,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC;IACtE,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC;CACjE,CAAC"}
|