moflo 4.6.12 → 4.7.2
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/settings.json +4 -4
- package/.claude/skills/flo/SKILL.md +80 -58
- package/.claude/workflow-state.json +1 -5
- package/README.md +467 -452
- package/bin/hooks.mjs +7 -3
- package/bin/setup-project.mjs +251 -251
- package/package.json +121 -121
- package/src/@claude-flow/cli/README.md +307 -7391
- package/src/@claude-flow/cli/dist/src/commands/doctor.js +1 -1
- package/src/@claude-flow/cli/dist/src/commands/embeddings.js +4 -4
- package/src/@claude-flow/cli/dist/src/commands/init.js +35 -8
- package/src/@claude-flow/cli/dist/src/commands/orc.d.ts +8 -4
- package/src/@claude-flow/cli/dist/src/commands/orc.js +152 -15
- package/src/@claude-flow/cli/dist/src/commands/swarm.js +2 -2
- package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +55 -33
- package/src/@claude-flow/cli/dist/src/init/executor.js +34 -38
- package/src/@claude-flow/cli/dist/src/init/helpers-generator.d.ts +0 -36
- package/src/@claude-flow/cli/dist/src/init/helpers-generator.js +6 -984
- package/src/@claude-flow/cli/dist/src/init/index.d.ts +1 -1
- package/src/@claude-flow/cli/dist/src/init/index.js +1 -1
- package/src/@claude-flow/cli/dist/src/init/moflo-init.js +78 -5
- package/src/@claude-flow/cli/dist/src/init/settings-generator.js +50 -120
- package/src/@claude-flow/cli/dist/src/mcp-tools/hooks-tools.js +275 -32
- package/src/@claude-flow/cli/dist/src/plugins/store/discovery.js +4 -204
- package/src/@claude-flow/cli/dist/src/plugins/tests/standalone-test.js +4 -4
- package/src/@claude-flow/cli/dist/src/runtime/headless.d.ts +3 -3
- package/src/@claude-flow/cli/dist/src/runtime/headless.js +3 -3
- package/src/@claude-flow/cli/dist/src/services/agentic-flow-bridge.d.ts +3 -3
- package/src/@claude-flow/cli/dist/src/services/agentic-flow-bridge.js +3 -1
- package/src/@claude-flow/cli/dist/src/services/headless-worker-executor.js +98 -84
- package/src/@claude-flow/cli/dist/src/services/workflow-gate.js +21 -1
- package/src/@claude-flow/cli/dist/src/transfer/store/tests/standalone-test.js +4 -4
- package/src/@claude-flow/cli/package.json +110 -110
|
@@ -43,7 +43,9 @@ export function getRouter() {
|
|
|
43
43
|
*/
|
|
44
44
|
export function getOrchestration() {
|
|
45
45
|
if (_orchestrationP === null) {
|
|
46
|
-
|
|
46
|
+
// Use dynamic string to prevent vite from statically resolving the subpath
|
|
47
|
+
const mod = 'agentic-flow' + '/orchestration';
|
|
48
|
+
_orchestrationP = import(/* @vite-ignore */ mod).catch(() => null);
|
|
47
49
|
}
|
|
48
50
|
return _orchestrationP;
|
|
49
51
|
}
|
|
@@ -67,18 +67,18 @@ export const HEADLESS_WORKER_CONFIGS = {
|
|
|
67
67
|
description: 'AI-powered security analysis',
|
|
68
68
|
enabled: true,
|
|
69
69
|
headless: {
|
|
70
|
-
promptTemplate: `Analyze this codebase for security vulnerabilities:
|
|
71
|
-
- Check for hardcoded secrets (API keys, passwords)
|
|
72
|
-
- Identify SQL injection risks
|
|
73
|
-
- Find XSS vulnerabilities
|
|
74
|
-
- Check for insecure dependencies
|
|
75
|
-
- Identify authentication/authorization issues
|
|
76
|
-
|
|
77
|
-
Provide a JSON report with:
|
|
78
|
-
{
|
|
79
|
-
"vulnerabilities": [{ "severity": "high|medium|low", "file": "...", "line": N, "description": "..." }],
|
|
80
|
-
"riskScore": 0-100,
|
|
81
|
-
"recommendations": ["..."]
|
|
70
|
+
promptTemplate: `Analyze this codebase for security vulnerabilities:
|
|
71
|
+
- Check for hardcoded secrets (API keys, passwords)
|
|
72
|
+
- Identify SQL injection risks
|
|
73
|
+
- Find XSS vulnerabilities
|
|
74
|
+
- Check for insecure dependencies
|
|
75
|
+
- Identify authentication/authorization issues
|
|
76
|
+
|
|
77
|
+
Provide a JSON report with:
|
|
78
|
+
{
|
|
79
|
+
"vulnerabilities": [{ "severity": "high|medium|low", "file": "...", "line": N, "description": "..." }],
|
|
80
|
+
"riskScore": 0-100,
|
|
81
|
+
"recommendations": ["..."]
|
|
82
82
|
}`,
|
|
83
83
|
sandbox: 'strict',
|
|
84
84
|
model: 'haiku',
|
|
@@ -95,13 +95,13 @@ Provide a JSON report with:
|
|
|
95
95
|
description: 'AI optimization suggestions',
|
|
96
96
|
enabled: true,
|
|
97
97
|
headless: {
|
|
98
|
-
promptTemplate: `Analyze this codebase for performance optimizations:
|
|
99
|
-
- Identify N+1 query patterns
|
|
100
|
-
- Find unnecessary re-renders in React
|
|
101
|
-
- Suggest caching opportunities
|
|
102
|
-
- Identify memory leaks
|
|
103
|
-
- Find redundant computations
|
|
104
|
-
|
|
98
|
+
promptTemplate: `Analyze this codebase for performance optimizations:
|
|
99
|
+
- Identify N+1 query patterns
|
|
100
|
+
- Find unnecessary re-renders in React
|
|
101
|
+
- Suggest caching opportunities
|
|
102
|
+
- Identify memory leaks
|
|
103
|
+
- Find redundant computations
|
|
104
|
+
|
|
105
105
|
Provide actionable suggestions with code examples.`,
|
|
106
106
|
sandbox: 'permissive',
|
|
107
107
|
model: 'sonnet',
|
|
@@ -118,13 +118,13 @@ Provide actionable suggestions with code examples.`,
|
|
|
118
118
|
description: 'AI test gap analysis',
|
|
119
119
|
enabled: true,
|
|
120
120
|
headless: {
|
|
121
|
-
promptTemplate: `Analyze test coverage and identify gaps:
|
|
122
|
-
- Find untested functions and classes
|
|
123
|
-
- Identify edge cases not covered
|
|
124
|
-
- Suggest new test scenarios
|
|
125
|
-
- Check for missing error handling tests
|
|
126
|
-
- Identify integration test gaps
|
|
127
|
-
|
|
121
|
+
promptTemplate: `Analyze test coverage and identify gaps:
|
|
122
|
+
- Find untested functions and classes
|
|
123
|
+
- Identify edge cases not covered
|
|
124
|
+
- Suggest new test scenarios
|
|
125
|
+
- Check for missing error handling tests
|
|
126
|
+
- Identify integration test gaps
|
|
127
|
+
|
|
128
128
|
For each gap, provide a test skeleton.`,
|
|
129
129
|
sandbox: 'permissive',
|
|
130
130
|
model: 'sonnet',
|
|
@@ -141,13 +141,13 @@ For each gap, provide a test skeleton.`,
|
|
|
141
141
|
description: 'AI documentation generation',
|
|
142
142
|
enabled: false,
|
|
143
143
|
headless: {
|
|
144
|
-
promptTemplate: `Generate documentation for undocumented code:
|
|
145
|
-
- Add JSDoc comments to functions
|
|
146
|
-
- Create README sections for modules
|
|
147
|
-
- Document API endpoints
|
|
148
|
-
- Add inline comments for complex logic
|
|
149
|
-
- Generate usage examples
|
|
150
|
-
|
|
144
|
+
promptTemplate: `Generate documentation for undocumented code:
|
|
145
|
+
- Add JSDoc comments to functions
|
|
146
|
+
- Create README sections for modules
|
|
147
|
+
- Document API endpoints
|
|
148
|
+
- Add inline comments for complex logic
|
|
149
|
+
- Generate usage examples
|
|
150
|
+
|
|
151
151
|
Focus on public APIs and exported functions.`,
|
|
152
152
|
sandbox: 'permissive',
|
|
153
153
|
model: 'haiku',
|
|
@@ -164,19 +164,19 @@ Focus on public APIs and exported functions.`,
|
|
|
164
164
|
description: 'Deep knowledge acquisition',
|
|
165
165
|
enabled: false,
|
|
166
166
|
headless: {
|
|
167
|
-
promptTemplate: `Deeply analyze this codebase to learn:
|
|
168
|
-
- Architectural patterns used
|
|
169
|
-
- Coding conventions
|
|
170
|
-
- Domain-specific terminology
|
|
171
|
-
- Common patterns and idioms
|
|
172
|
-
- Team preferences
|
|
173
|
-
|
|
174
|
-
Provide insights as JSON:
|
|
175
|
-
{
|
|
176
|
-
"architecture": { "patterns": [...], "style": "..." },
|
|
177
|
-
"conventions": { "naming": "...", "formatting": "..." },
|
|
178
|
-
"domains": ["..."],
|
|
179
|
-
"insights": ["..."]
|
|
167
|
+
promptTemplate: `Deeply analyze this codebase to learn:
|
|
168
|
+
- Architectural patterns used
|
|
169
|
+
- Coding conventions
|
|
170
|
+
- Domain-specific terminology
|
|
171
|
+
- Common patterns and idioms
|
|
172
|
+
- Team preferences
|
|
173
|
+
|
|
174
|
+
Provide insights as JSON:
|
|
175
|
+
{
|
|
176
|
+
"architecture": { "patterns": [...], "style": "..." },
|
|
177
|
+
"conventions": { "naming": "...", "formatting": "..." },
|
|
178
|
+
"domains": ["..."],
|
|
179
|
+
"insights": ["..."]
|
|
180
180
|
}`,
|
|
181
181
|
sandbox: 'strict',
|
|
182
182
|
model: 'opus',
|
|
@@ -193,13 +193,13 @@ Provide insights as JSON:
|
|
|
193
193
|
description: 'AI refactoring suggestions',
|
|
194
194
|
enabled: false,
|
|
195
195
|
headless: {
|
|
196
|
-
promptTemplate: `Suggest refactoring opportunities:
|
|
197
|
-
- Identify code duplication
|
|
198
|
-
- Suggest better abstractions
|
|
199
|
-
- Find opportunities for design patterns
|
|
200
|
-
- Identify overly complex functions
|
|
201
|
-
- Suggest module reorganization
|
|
202
|
-
|
|
196
|
+
promptTemplate: `Suggest refactoring opportunities:
|
|
197
|
+
- Identify code duplication
|
|
198
|
+
- Suggest better abstractions
|
|
199
|
+
- Find opportunities for design patterns
|
|
200
|
+
- Identify overly complex functions
|
|
201
|
+
- Suggest module reorganization
|
|
202
|
+
|
|
203
203
|
Provide before/after code examples.`,
|
|
204
204
|
sandbox: 'permissive',
|
|
205
205
|
model: 'sonnet',
|
|
@@ -216,13 +216,13 @@ Provide before/after code examples.`,
|
|
|
216
216
|
description: 'Deep code analysis',
|
|
217
217
|
enabled: false,
|
|
218
218
|
headless: {
|
|
219
|
-
promptTemplate: `Perform deep analysis of this codebase:
|
|
220
|
-
- Understand data flow
|
|
221
|
-
- Map dependencies
|
|
222
|
-
- Identify architectural issues
|
|
223
|
-
- Find potential bugs
|
|
224
|
-
- Analyze error handling
|
|
225
|
-
|
|
219
|
+
promptTemplate: `Perform deep analysis of this codebase:
|
|
220
|
+
- Understand data flow
|
|
221
|
+
- Map dependencies
|
|
222
|
+
- Identify architectural issues
|
|
223
|
+
- Find potential bugs
|
|
224
|
+
- Analyze error handling
|
|
225
|
+
|
|
226
226
|
Provide comprehensive report.`,
|
|
227
227
|
sandbox: 'strict',
|
|
228
228
|
model: 'opus',
|
|
@@ -239,18 +239,18 @@ Provide comprehensive report.`,
|
|
|
239
239
|
description: 'Predictive preloading',
|
|
240
240
|
enabled: false,
|
|
241
241
|
headless: {
|
|
242
|
-
promptTemplate: `Based on recent activity, predict what the developer needs:
|
|
243
|
-
- Files likely to be edited next
|
|
244
|
-
- Tests that should be run
|
|
245
|
-
- Documentation to reference
|
|
246
|
-
- Dependencies to check
|
|
247
|
-
|
|
248
|
-
Provide preload suggestions as JSON:
|
|
249
|
-
{
|
|
250
|
-
"filesToPreload": ["..."],
|
|
251
|
-
"testsToRun": ["..."],
|
|
252
|
-
"docsToReference": ["..."],
|
|
253
|
-
"confidence": 0.0-1.0
|
|
242
|
+
promptTemplate: `Based on recent activity, predict what the developer needs:
|
|
243
|
+
- Files likely to be edited next
|
|
244
|
+
- Tests that should be run
|
|
245
|
+
- Documentation to reference
|
|
246
|
+
- Dependencies to check
|
|
247
|
+
|
|
248
|
+
Provide preload suggestions as JSON:
|
|
249
|
+
{
|
|
250
|
+
"filesToPreload": ["..."],
|
|
251
|
+
"testsToRun": ["..."],
|
|
252
|
+
"docsToReference": ["..."],
|
|
253
|
+
"confidence": 0.0-1.0
|
|
254
254
|
}`,
|
|
255
255
|
sandbox: 'strict',
|
|
256
256
|
model: 'haiku',
|
|
@@ -374,6 +374,20 @@ export class HeadlessWorkerExecutor extends EventEmitter {
|
|
|
374
374
|
};
|
|
375
375
|
// Ensure log directory exists
|
|
376
376
|
this.ensureLogDir();
|
|
377
|
+
// Kill child processes on parent exit to prevent orphaned node processes.
|
|
378
|
+
// Uses 'exit' (not 'beforeExit') so it fires even on explicit process.exit().
|
|
379
|
+
// The handler must be synchronous — no async work allowed in 'exit' handlers.
|
|
380
|
+
process.on('exit', () => {
|
|
381
|
+
for (const [, entry] of this.processPool) {
|
|
382
|
+
try {
|
|
383
|
+
clearTimeout(entry.timeout);
|
|
384
|
+
entry.process.kill('SIGTERM');
|
|
385
|
+
}
|
|
386
|
+
catch {
|
|
387
|
+
// Process already gone — ignore
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
});
|
|
377
391
|
}
|
|
378
392
|
// ============================================
|
|
379
393
|
// Public API
|
|
@@ -778,20 +792,20 @@ export class HeadlessWorkerExecutor extends EventEmitter {
|
|
|
778
792
|
*/
|
|
779
793
|
buildPrompt(template, context) {
|
|
780
794
|
if (!context) {
|
|
781
|
-
return `${template}
|
|
782
|
-
|
|
783
|
-
## Instructions
|
|
784
|
-
|
|
795
|
+
return `${template}
|
|
796
|
+
|
|
797
|
+
## Instructions
|
|
798
|
+
|
|
785
799
|
Analyze the codebase and provide your response following the format specified in the task.`;
|
|
786
800
|
}
|
|
787
|
-
return `${template}
|
|
788
|
-
|
|
789
|
-
## Codebase Context
|
|
790
|
-
|
|
791
|
-
${context}
|
|
792
|
-
|
|
793
|
-
## Instructions
|
|
794
|
-
|
|
801
|
+
return `${template}
|
|
802
|
+
|
|
803
|
+
## Codebase Context
|
|
804
|
+
|
|
805
|
+
${context}
|
|
806
|
+
|
|
807
|
+
## Instructions
|
|
808
|
+
|
|
795
809
|
Analyze the above codebase context and provide your response following the format specified in the task.`;
|
|
796
810
|
}
|
|
797
811
|
/**
|
|
@@ -177,7 +177,7 @@ export class WorkflowGateService {
|
|
|
177
177
|
if (now - lastBlocked > 2000) {
|
|
178
178
|
state.lastBlockedAt = new Date(now).toISOString();
|
|
179
179
|
this.writeState(state);
|
|
180
|
-
message = 'BLOCKED: Search memory before exploring files. Use mcp__claude-flow__memory_search with namespace "code-map", "patterns", or "guidance".';
|
|
180
|
+
message = 'BLOCKED: Search memory before exploring files. Use mcp__claude-flow__memory_search with namespace "code-map", "patterns", "knowledge", or "guidance".';
|
|
181
181
|
}
|
|
182
182
|
return { allowed: false, message };
|
|
183
183
|
}
|
|
@@ -351,6 +351,26 @@ export function processGateCommand(command, env = process.env) {
|
|
|
351
351
|
console.log(bracket);
|
|
352
352
|
process.exit(0);
|
|
353
353
|
}
|
|
354
|
+
case 'compact-guidance': {
|
|
355
|
+
console.log('Pre-Compact Guidance:');
|
|
356
|
+
console.log('IMPORTANT: Before compacting, preserve key context:');
|
|
357
|
+
console.log(' - Check CLAUDE.md for project rules and architecture');
|
|
358
|
+
console.log(' - Memory namespaces: guidance, code-map, patterns, knowledge');
|
|
359
|
+
console.log(' - Use memory search to recover context after compact');
|
|
360
|
+
console.log(' - Batch all operations in single messages (GOLDEN RULE)');
|
|
361
|
+
process.exit(0);
|
|
362
|
+
}
|
|
363
|
+
case 'check-dangerous-command': {
|
|
364
|
+
const cmd = (env.TOOL_INPUT_command || '').toLowerCase();
|
|
365
|
+
const dangerous = ['rm -rf /', 'format c:', 'del /s /q c:\\', ':(){:|:&};:', 'mkfs.', '> /dev/sda'];
|
|
366
|
+
for (const pattern of dangerous) {
|
|
367
|
+
if (cmd.includes(pattern)) {
|
|
368
|
+
console.log(`[BLOCKED] Dangerous command detected: ${pattern}`);
|
|
369
|
+
process.exit(2);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
process.exit(0);
|
|
373
|
+
}
|
|
354
374
|
case 'session-reset':
|
|
355
375
|
gate.sessionReset();
|
|
356
376
|
process.exit(0);
|
|
@@ -175,10 +175,10 @@ async function main() {
|
|
|
175
175
|
console.log(' 🎉 All tests passed! Pattern Store is working correctly.');
|
|
176
176
|
console.log('');
|
|
177
177
|
console.log(' Available CLI Commands:');
|
|
178
|
-
console.log(' npx
|
|
179
|
-
console.log(' npx
|
|
180
|
-
console.log(' npx
|
|
181
|
-
console.log(' npx
|
|
178
|
+
console.log(' npx moflo patterns list');
|
|
179
|
+
console.log(' npx moflo patterns list --featured');
|
|
180
|
+
console.log(' npx moflo patterns search -q "agent"');
|
|
181
|
+
console.log(' npx moflo patterns info -n <pattern-id>');
|
|
182
182
|
console.log('');
|
|
183
183
|
}
|
|
184
184
|
process.exit(failed > 0 ? 1 : 0);
|
|
@@ -1,110 +1,110 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@moflo/cli",
|
|
3
|
-
"version": "4.
|
|
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
|
-
"vitest": "^4.0.16"
|
|
86
|
-
},
|
|
87
|
-
"dependencies": {
|
|
88
|
-
"@claude-flow/mcp": "^3.0.0-alpha.8",
|
|
89
|
-
"@claude-flow/shared": "^3.0.0-alpha.1",
|
|
90
|
-
"@noble/ed25519": "^2.1.0",
|
|
91
|
-
"semver": "^7.6.0"
|
|
92
|
-
},
|
|
93
|
-
"optionalDependencies": {
|
|
94
|
-
"@claude-flow/aidefence": "^3.0.2",
|
|
95
|
-
"@claude-flow/codex": "^3.0.0-alpha.8",
|
|
96
|
-
"@claude-flow/embeddings": "^3.0.0-alpha.12",
|
|
97
|
-
"@claude-flow/guidance": "^3.0.0-alpha.1",
|
|
98
|
-
"@claude-flow/memory": "^3.0.0-alpha.11",
|
|
99
|
-
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
100
|
-
"agentic-flow": "^3.0.0-alpha.1",
|
|
101
|
-
"@ruvector/attention": "^0.1.4",
|
|
102
|
-
"@ruvector/learning-wasm": "^0.1.29",
|
|
103
|
-
"@ruvector/router": "^0.1.27",
|
|
104
|
-
"@ruvector/sona": "^0.1.5"
|
|
105
|
-
},
|
|
106
|
-
"publishConfig": {
|
|
107
|
-
"access": "public",
|
|
108
|
-
"tag": "latest"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@moflo/cli",
|
|
3
|
+
"version": "4.7.2",
|
|
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
|
+
"vitest": "^4.0.16"
|
|
86
|
+
},
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@claude-flow/mcp": "^3.0.0-alpha.8",
|
|
89
|
+
"@claude-flow/shared": "^3.0.0-alpha.1",
|
|
90
|
+
"@noble/ed25519": "^2.1.0",
|
|
91
|
+
"semver": "^7.6.0"
|
|
92
|
+
},
|
|
93
|
+
"optionalDependencies": {
|
|
94
|
+
"@claude-flow/aidefence": "^3.0.2",
|
|
95
|
+
"@claude-flow/codex": "^3.0.0-alpha.8",
|
|
96
|
+
"@claude-flow/embeddings": "^3.0.0-alpha.12",
|
|
97
|
+
"@claude-flow/guidance": "^3.0.0-alpha.1",
|
|
98
|
+
"@claude-flow/memory": "^3.0.0-alpha.11",
|
|
99
|
+
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
100
|
+
"agentic-flow": "^3.0.0-alpha.1",
|
|
101
|
+
"@ruvector/attention": "^0.1.4",
|
|
102
|
+
"@ruvector/learning-wasm": "^0.1.29",
|
|
103
|
+
"@ruvector/router": "^0.1.27",
|
|
104
|
+
"@ruvector/sona": "^0.1.5"
|
|
105
|
+
},
|
|
106
|
+
"publishConfig": {
|
|
107
|
+
"access": "public",
|
|
108
|
+
"tag": "latest"
|
|
109
|
+
}
|
|
110
|
+
}
|