claude-flow 3.0.0-alpha.2 → 3.0.0-alpha.20
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/bin/cli.js +0 -0
- package/dist/index.d.ts +25 -15
- package/dist/index.js +25 -12
- package/package.json +3 -2
package/bin/cli.js
CHANGED
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* claude-flow - Multi-agent AI orchestration for Claude Code
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import { createUnifiedSwarmCoordinator } from 'claude-flow';
|
|
9
|
+
*
|
|
10
|
+
* const coordinator = createUnifiedSwarmCoordinator({
|
|
11
|
+
* topology: { type: 'hierarchical', maxAgents: 15 },
|
|
12
|
+
* consensus: { algorithm: 'raft' },
|
|
13
|
+
* });
|
|
14
|
+
*
|
|
15
|
+
* await coordinator.initialize();
|
|
16
|
+
* await coordinator.spawnFullHierarchy();
|
|
17
|
+
* ```
|
|
3
18
|
*/
|
|
4
|
-
|
|
5
|
-
// Re-export all modules for convenient access
|
|
6
19
|
export * from '@claude-flow/swarm';
|
|
7
20
|
export * from '@claude-flow/memory';
|
|
8
21
|
export * from '@claude-flow/hooks';
|
|
@@ -12,19 +25,16 @@ export * from '@claude-flow/plugins';
|
|
|
12
25
|
export * from '@claude-flow/providers';
|
|
13
26
|
export * from '@claude-flow/embeddings';
|
|
14
27
|
export * from '@claude-flow/shared';
|
|
15
|
-
|
|
16
|
-
// Re-export CLI for programmatic use
|
|
17
28
|
export { CLI } from '@claude-flow/cli';
|
|
18
|
-
|
|
19
|
-
// Version info
|
|
20
|
-
export declare const VERSION = "3.0.0-alpha.2";
|
|
29
|
+
export declare const VERSION = "3.0.0-alpha.1";
|
|
21
30
|
export declare const V3_FEATURES: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
readonly swarmCoordination: true;
|
|
32
|
+
readonly selfLearning: true;
|
|
33
|
+
readonly hnswMemory: true;
|
|
34
|
+
readonly multiProviderLLM: true;
|
|
35
|
+
readonly backgroundWorkers: true;
|
|
36
|
+
readonly securityHardened: true;
|
|
37
|
+
readonly consensusAlgorithms: readonly ["raft", "byzantine", "gossip", "crdt", "quorum"];
|
|
38
|
+
readonly supportedTopologies: readonly ["hierarchical", "mesh", "ring", "star", "adaptive"];
|
|
30
39
|
};
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* claude-flow - Multi-agent AI orchestration for Claude Code
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import { createUnifiedSwarmCoordinator } from 'claude-flow';
|
|
9
|
+
*
|
|
10
|
+
* const coordinator = createUnifiedSwarmCoordinator({
|
|
11
|
+
* topology: { type: 'hierarchical', maxAgents: 15 },
|
|
12
|
+
* consensus: { algorithm: 'raft' },
|
|
13
|
+
* });
|
|
14
|
+
*
|
|
15
|
+
* await coordinator.initialize();
|
|
16
|
+
* await coordinator.spawnFullHierarchy();
|
|
17
|
+
* ```
|
|
3
18
|
*/
|
|
4
|
-
|
|
5
19
|
// Re-export all modules for convenient access
|
|
6
20
|
export * from '@claude-flow/swarm';
|
|
7
21
|
export * from '@claude-flow/memory';
|
|
@@ -12,19 +26,18 @@ export * from '@claude-flow/plugins';
|
|
|
12
26
|
export * from '@claude-flow/providers';
|
|
13
27
|
export * from '@claude-flow/embeddings';
|
|
14
28
|
export * from '@claude-flow/shared';
|
|
15
|
-
|
|
16
29
|
// Re-export CLI for programmatic use
|
|
17
30
|
export { CLI } from '@claude-flow/cli';
|
|
18
|
-
|
|
19
31
|
// Version info
|
|
20
|
-
export const VERSION = '3.0.0-alpha.
|
|
32
|
+
export const VERSION = '3.0.0-alpha.1';
|
|
21
33
|
export const V3_FEATURES = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
34
|
+
swarmCoordination: true,
|
|
35
|
+
selfLearning: true,
|
|
36
|
+
hnswMemory: true,
|
|
37
|
+
multiProviderLLM: true,
|
|
38
|
+
backgroundWorkers: true,
|
|
39
|
+
securityHardened: true,
|
|
40
|
+
consensusAlgorithms: ['raft', 'byzantine', 'gossip', 'crdt', 'quorum'],
|
|
41
|
+
supportedTopologies: ['hierarchical', 'mesh', 'ring', 'star', 'adaptive'],
|
|
30
42
|
};
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-flow",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.20",
|
|
4
4
|
"description": "Multi-agent AI orchestration for Claude Code - swarm coordination, self-learning, enterprise security",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
8
9
|
"bin": {
|
|
9
10
|
"claude-flow": "./bin/cli.js"
|
|
10
11
|
},
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"node": ">=18.0.0"
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
|
-
"@claude-flow/cli": "^3.0.0-alpha.
|
|
55
|
+
"@claude-flow/cli": "^3.0.0-alpha.32",
|
|
55
56
|
"@claude-flow/swarm": "^3.0.0-alpha.1",
|
|
56
57
|
"@claude-flow/memory": "^3.0.0-alpha.2",
|
|
57
58
|
"@claude-flow/hooks": "^3.0.0-alpha.2",
|