moflo 4.8.42 → 4.8.44
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/.claude/guidance/shipped/memory-strategy.md +277 -276
- package/.claude/guidance/shipped/{task-swarm-integration.md → moflo-claude-swarm-cohesion.md} +4 -4
- package/.claude/guidance/shipped/moflo.md +2 -2
- package/.claude/guidance/shipped/{agent-bootstrap.md → subagents.md} +5 -19
- package/.claude/helpers/hook-handler.cjs +8 -1
- package/.claude/scripts/build-embeddings.mjs +549 -549
- package/.claude/scripts/generate-code-map.mjs +956 -776
- package/.claude/scripts/hooks.mjs +28 -79
- package/.claude/scripts/index-all.mjs +193 -127
- package/.claude/scripts/index-guidance.mjs +27 -3
- package/.claude/scripts/index-tests.mjs +729 -710
- package/.claude/scripts/lib/moflo-resolve.mjs +14 -0
- package/.claude/scripts/lib/process-manager.mjs +256 -0
- package/.claude/scripts/lib/registry-cleanup.cjs +41 -0
- package/.claude/scripts/semantic-search.mjs +1 -1
- package/.claude/scripts/session-start-launcher.mjs +16 -1
- package/README.md +15 -15
- package/bin/index-guidance.mjs +916 -905
- package/bin/setup-project.mjs +252 -252
- package/package.json +1 -1
- package/src/@claude-flow/cli/README.md +6 -6
- package/src/@claude-flow/cli/dist/src/commands/epic.js +767 -0
- package/src/@claude-flow/cli/dist/src/commands/index.js +1 -1
- package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +2 -2
- package/src/@claude-flow/cli/dist/src/init/moflo-init.js +7 -7
- package/src/@claude-flow/cli/dist/src/version.js +1 -1
- package/src/@claude-flow/cli/package.json +106 -106
|
@@ -66,7 +66,7 @@ const commandLoaders = {
|
|
|
66
66
|
// MoFlo Workflow Gates
|
|
67
67
|
gate: () => import('./gate.js'),
|
|
68
68
|
// Feature Orchestrator
|
|
69
|
-
|
|
69
|
+
epic: () => import('./epic.js'),
|
|
70
70
|
// GitHub Repository Setup
|
|
71
71
|
github: () => import('./github.js'),
|
|
72
72
|
};
|
|
@@ -56,8 +56,8 @@ npx flo doctor --fix # Health check
|
|
|
56
56
|
|
|
57
57
|
### Full Reference
|
|
58
58
|
|
|
59
|
-
- **
|
|
60
|
-
- **Task + swarm coordination:** \`.claude/guidance/shipped/
|
|
59
|
+
- **Subagents protocol:** \`.claude/guidance/shipped/subagents.md\`
|
|
60
|
+
- **Task + swarm coordination:** \`.claude/guidance/shipped/moflo-claude-swarm-cohesion.md\`
|
|
61
61
|
- **CLI, hooks, swarm, memory, moflo.yaml:** \`.claude/guidance/shipped/moflo.md\`
|
|
62
62
|
${MARKER_END}`;
|
|
63
63
|
}
|
|
@@ -784,7 +784,7 @@ function isStale(srcPath, destPath) {
|
|
|
784
784
|
// ============================================================================
|
|
785
785
|
function updateGitignore(root) {
|
|
786
786
|
const gitignorePath = path.join(root, '.gitignore');
|
|
787
|
-
const entries = ['.claude-
|
|
787
|
+
const entries = ['.claude-epic/', '.swarm/', '.moflo/'];
|
|
788
788
|
if (!fs.existsSync(gitignorePath)) {
|
|
789
789
|
// Create .gitignore with common defaults + MoFlo entries
|
|
790
790
|
const defaultEntries = ['node_modules/', 'dist/', '.env', '.env.*', ''];
|
|
@@ -817,9 +817,9 @@ function syncBootstrapGuidance(root, force) {
|
|
|
817
817
|
sourceDir = typeof __dirname !== 'undefined' ? __dirname : '';
|
|
818
818
|
}
|
|
819
819
|
const candidates = [
|
|
820
|
-
path.join(root, 'node_modules', 'moflo', '.claude', 'guidance', '
|
|
820
|
+
path.join(root, 'node_modules', 'moflo', '.claude', 'guidance', 'subagents.md'),
|
|
821
821
|
// When running from moflo repo itself
|
|
822
|
-
...(sourceDir ? [path.join(sourceDir, '..', '..', '..', '..', '.claude', 'guidance', '
|
|
822
|
+
...(sourceDir ? [path.join(sourceDir, '..', '..', '..', '..', '.claude', 'guidance', 'subagents.md')] : []),
|
|
823
823
|
];
|
|
824
824
|
const sourceFile = candidates.find(f => { try {
|
|
825
825
|
return fs.existsSync(f);
|
|
@@ -838,7 +838,7 @@ function syncBootstrapGuidance(root, force) {
|
|
|
838
838
|
}
|
|
839
839
|
// Read source and prepend header
|
|
840
840
|
const content = fs.readFileSync(sourceFile, 'utf-8');
|
|
841
|
-
const header = `<!-- AUTO-GENERATED by moflo init. Do not edit — changes will be overwritten on next init. -->\n<!-- Source: moflo/.claude/guidance/
|
|
841
|
+
const header = `<!-- AUTO-GENERATED by moflo init. Do not edit — changes will be overwritten on next init. -->\n<!-- Source: moflo/.claude/guidance/subagents.md -->\n<!-- To customize, create your own project-specific guidance in .claude/guidance/. -->\n\n`;
|
|
842
842
|
fs.mkdirSync(guidanceDir, { recursive: true });
|
|
843
843
|
fs.writeFileSync(targetFile, header + content, 'utf-8');
|
|
844
844
|
return {
|
|
@@ -850,7 +850,7 @@ function syncBootstrapGuidance(root, force) {
|
|
|
850
850
|
// ============================================================================
|
|
851
851
|
// Step 8: Sync ALL shipped guidance docs
|
|
852
852
|
// Discovers all .md files in moflo/.claude/guidance/shipped/ and copies them
|
|
853
|
-
// to project .claude/guidance/. Skips
|
|
853
|
+
// to project .claude/guidance/. Skips subagents.md (handled by Step 7).
|
|
854
854
|
// ============================================================================
|
|
855
855
|
function syncAllShippedGuidance(root, force) {
|
|
856
856
|
const guidanceDir = path.join(root, '.claude', 'guidance');
|
|
@@ -875,8 +875,8 @@ function syncAllShippedGuidance(root, force) {
|
|
|
875
875
|
if (!shippedDir) {
|
|
876
876
|
return [{ name: 'guidance/shipped/*', status: 'skipped', detail: 'Shipped guidance directory not found' }];
|
|
877
877
|
}
|
|
878
|
-
// Discover all .md files, skip
|
|
879
|
-
const files = fs.readdirSync(shippedDir).filter(f => f.endsWith('.md') && f !== '
|
|
878
|
+
// Discover all .md files, skip subagents.md (synced separately as moflo-bootstrap.md)
|
|
879
|
+
const files = fs.readdirSync(shippedDir).filter(f => f.endsWith('.md') && f !== 'subagents.md');
|
|
880
880
|
if (files.length === 0) {
|
|
881
881
|
return [{ name: 'guidance/shipped/*', status: 'skipped', detail: 'No shipped guidance files found' }];
|
|
882
882
|
}
|
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@moflo/cli",
|
|
3
|
-
"version": "4.8.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "MoFlo CLI — AI agent orchestration with specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
|
-
"main": "dist/src/index.js",
|
|
7
|
-
"types": "dist/src/index.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"bin": {
|
|
10
|
-
"cli": "./bin/cli.js",
|
|
11
|
-
"claude-flow": "./bin/cli.js",
|
|
12
|
-
"claude-flow-mcp": "./bin/mcp-server.js"
|
|
13
|
-
},
|
|
14
|
-
"homepage": "https://github.com/eric-cielo/moflo#readme",
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/eric-cielo/moflo/issues"
|
|
17
|
-
},
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "https://github.com/eric-cielo/moflo.git",
|
|
21
|
-
"directory": "v3/@claude-flow/cli"
|
|
22
|
-
},
|
|
23
|
-
"keywords": [
|
|
24
|
-
"claude",
|
|
25
|
-
"claude-code",
|
|
26
|
-
"anthropic",
|
|
27
|
-
"ai-agents",
|
|
28
|
-
"multi-agent",
|
|
29
|
-
"swarm",
|
|
30
|
-
"mcp",
|
|
31
|
-
"model-context-protocol",
|
|
32
|
-
"llm",
|
|
33
|
-
"cli",
|
|
34
|
-
"orchestration",
|
|
35
|
-
"automation",
|
|
36
|
-
"developer-tools",
|
|
37
|
-
"coding-assistant",
|
|
38
|
-
"vector-database",
|
|
39
|
-
"embeddings",
|
|
40
|
-
"self-learning",
|
|
41
|
-
"enterprise"
|
|
42
|
-
],
|
|
43
|
-
"author": {
|
|
44
|
-
"name": "Eric Cielo",
|
|
45
|
-
"email": "eric@motailz.com",
|
|
46
|
-
"url": "https://github.com/eric-cielo"
|
|
47
|
-
},
|
|
48
|
-
"license": "MIT",
|
|
49
|
-
"exports": {
|
|
50
|
-
".": {
|
|
51
|
-
"types": "./dist/src/index.d.ts",
|
|
52
|
-
"import": "./dist/src/index.js"
|
|
53
|
-
},
|
|
54
|
-
"./ruvector": {
|
|
55
|
-
"types": "./dist/src/ruvector/index.d.ts",
|
|
56
|
-
"import": "./dist/src/ruvector/index.js"
|
|
57
|
-
},
|
|
58
|
-
"./ruvector/*": {
|
|
59
|
-
"types": "./dist/src/ruvector/*.d.ts",
|
|
60
|
-
"import": "./dist/src/ruvector/*.js"
|
|
61
|
-
},
|
|
62
|
-
"./mcp-tools": {
|
|
63
|
-
"types": "./dist/src/mcp-tools/index.d.ts",
|
|
64
|
-
"import": "./dist/src/mcp-tools/index.js"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"files": [
|
|
68
|
-
"dist",
|
|
69
|
-
"bin",
|
|
70
|
-
".claude",
|
|
71
|
-
"README.md"
|
|
72
|
-
],
|
|
73
|
-
"scripts": {
|
|
74
|
-
"build": "tsc",
|
|
75
|
-
"test": "vitest run",
|
|
76
|
-
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
|
|
77
|
-
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
|
|
78
|
-
"preinstall": "node bin/preinstall.cjs || true",
|
|
79
|
-
"prepublishOnly": "cp ../../../README.md ./README.md",
|
|
80
|
-
"release": "npm version prerelease --preid=alpha && npm run publish:all",
|
|
81
|
-
"publish:all": "./scripts/publish.sh"
|
|
82
|
-
},
|
|
83
|
-
"devDependencies": {
|
|
84
|
-
"typescript": "^5.3.0"
|
|
85
|
-
},
|
|
86
|
-
"dependencies": {
|
|
87
|
-
"@noble/ed25519": "^2.1.0",
|
|
88
|
-
"semver": "^7.6.0"
|
|
89
|
-
},
|
|
90
|
-
"optionalDependencies": {
|
|
91
|
-
"@claude-flow/aidefence": "file:../aidefence",
|
|
92
|
-
"@claude-flow/embeddings": "file:../embeddings",
|
|
93
|
-
"@claude-flow/guidance": "file:../guidance",
|
|
94
|
-
"@claude-flow/memory": "file:../memory",
|
|
95
|
-
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
96
|
-
"agentic-flow": "^2.0.7",
|
|
97
|
-
"@ruvector/attention": "^0.1.4",
|
|
98
|
-
"@ruvector/learning-wasm": "^0.1.29",
|
|
99
|
-
"@ruvector/router": "^0.1.27",
|
|
100
|
-
"@ruvector/sona": "^0.1.5"
|
|
101
|
-
},
|
|
102
|
-
"publishConfig": {
|
|
103
|
-
"access": "public",
|
|
104
|
-
"tag": "latest"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@moflo/cli",
|
|
3
|
+
"version": "4.8.44",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "MoFlo CLI — AI agent orchestration with specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
|
+
"main": "dist/src/index.js",
|
|
7
|
+
"types": "dist/src/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"bin": {
|
|
10
|
+
"cli": "./bin/cli.js",
|
|
11
|
+
"claude-flow": "./bin/cli.js",
|
|
12
|
+
"claude-flow-mcp": "./bin/mcp-server.js"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/eric-cielo/moflo#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/eric-cielo/moflo/issues"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/eric-cielo/moflo.git",
|
|
21
|
+
"directory": "v3/@claude-flow/cli"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"claude",
|
|
25
|
+
"claude-code",
|
|
26
|
+
"anthropic",
|
|
27
|
+
"ai-agents",
|
|
28
|
+
"multi-agent",
|
|
29
|
+
"swarm",
|
|
30
|
+
"mcp",
|
|
31
|
+
"model-context-protocol",
|
|
32
|
+
"llm",
|
|
33
|
+
"cli",
|
|
34
|
+
"orchestration",
|
|
35
|
+
"automation",
|
|
36
|
+
"developer-tools",
|
|
37
|
+
"coding-assistant",
|
|
38
|
+
"vector-database",
|
|
39
|
+
"embeddings",
|
|
40
|
+
"self-learning",
|
|
41
|
+
"enterprise"
|
|
42
|
+
],
|
|
43
|
+
"author": {
|
|
44
|
+
"name": "Eric Cielo",
|
|
45
|
+
"email": "eric@motailz.com",
|
|
46
|
+
"url": "https://github.com/eric-cielo"
|
|
47
|
+
},
|
|
48
|
+
"license": "MIT",
|
|
49
|
+
"exports": {
|
|
50
|
+
".": {
|
|
51
|
+
"types": "./dist/src/index.d.ts",
|
|
52
|
+
"import": "./dist/src/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./ruvector": {
|
|
55
|
+
"types": "./dist/src/ruvector/index.d.ts",
|
|
56
|
+
"import": "./dist/src/ruvector/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./ruvector/*": {
|
|
59
|
+
"types": "./dist/src/ruvector/*.d.ts",
|
|
60
|
+
"import": "./dist/src/ruvector/*.js"
|
|
61
|
+
},
|
|
62
|
+
"./mcp-tools": {
|
|
63
|
+
"types": "./dist/src/mcp-tools/index.d.ts",
|
|
64
|
+
"import": "./dist/src/mcp-tools/index.js"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"files": [
|
|
68
|
+
"dist",
|
|
69
|
+
"bin",
|
|
70
|
+
".claude",
|
|
71
|
+
"README.md"
|
|
72
|
+
],
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "tsc",
|
|
75
|
+
"test": "vitest run",
|
|
76
|
+
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
|
|
77
|
+
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
|
|
78
|
+
"preinstall": "node bin/preinstall.cjs || true",
|
|
79
|
+
"prepublishOnly": "cp ../../../README.md ./README.md",
|
|
80
|
+
"release": "npm version prerelease --preid=alpha && npm run publish:all",
|
|
81
|
+
"publish:all": "./scripts/publish.sh"
|
|
82
|
+
},
|
|
83
|
+
"devDependencies": {
|
|
84
|
+
"typescript": "^5.3.0"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@noble/ed25519": "^2.1.0",
|
|
88
|
+
"semver": "^7.6.0"
|
|
89
|
+
},
|
|
90
|
+
"optionalDependencies": {
|
|
91
|
+
"@claude-flow/aidefence": "file:../aidefence",
|
|
92
|
+
"@claude-flow/embeddings": "file:../embeddings",
|
|
93
|
+
"@claude-flow/guidance": "file:../guidance",
|
|
94
|
+
"@claude-flow/memory": "file:../memory",
|
|
95
|
+
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
96
|
+
"agentic-flow": "^2.0.7",
|
|
97
|
+
"@ruvector/attention": "^0.1.4",
|
|
98
|
+
"@ruvector/learning-wasm": "^0.1.29",
|
|
99
|
+
"@ruvector/router": "^0.1.27",
|
|
100
|
+
"@ruvector/sona": "^0.1.5"
|
|
101
|
+
},
|
|
102
|
+
"publishConfig": {
|
|
103
|
+
"access": "public",
|
|
104
|
+
"tag": "latest"
|
|
105
|
+
}
|
|
106
|
+
}
|