moflo 4.6.12 → 4.7.1
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/workflow-state.json +1 -5
- package/README.md +1 -1
- package/bin/hooks.mjs +7 -3
- package/bin/setup-project.mjs +1 -1
- package/package.json +1 -1
- package/src/@claude-flow/cli/README.md +452 -7536
- 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/swarm.js +2 -2
- package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +316 -294
- package/src/@claude-flow/cli/dist/src/init/executor.js +461 -465
- 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 +146 -1124
- 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 +31 -31
- 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 +14 -0
- 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 +1 -1
package/.claude/settings.json
CHANGED
|
@@ -165,10 +165,10 @@
|
|
|
165
165
|
},
|
|
166
166
|
"attribution": {
|
|
167
167
|
"commit": "Co-Authored-By: moflo <noreply@motailz.com>",
|
|
168
|
-
"pr": "\ud83e\udd16 Generated with [
|
|
168
|
+
"pr": "\ud83e\udd16 Generated with [moflo](https://github.com/eric-cielo/moflo)"
|
|
169
169
|
},
|
|
170
170
|
"claudeFlow": {
|
|
171
|
-
"version": "4.
|
|
171
|
+
"version": "4.7.1",
|
|
172
172
|
"enabled": true,
|
|
173
173
|
"modelPreferences": {
|
|
174
174
|
"default": "claude-opus-4-6",
|
|
@@ -275,9 +275,9 @@
|
|
|
275
275
|
},
|
|
276
276
|
"mcpServers": {
|
|
277
277
|
"claude-flow": {
|
|
278
|
-
"command": "
|
|
278
|
+
"command": "npx",
|
|
279
279
|
"args": [
|
|
280
|
-
"
|
|
280
|
+
"moflo",
|
|
281
281
|
"mcp",
|
|
282
282
|
"start"
|
|
283
283
|
]
|
package/README.md
CHANGED
package/bin/hooks.mjs
CHANGED
|
@@ -328,7 +328,7 @@ async function main() {
|
|
|
328
328
|
const query = getArg('query') || args[1];
|
|
329
329
|
const searchLimit = getArg('limit') || '5';
|
|
330
330
|
const threshold = getArg('threshold') || '0.3';
|
|
331
|
-
const searchScript = resolve(projectRoot, '
|
|
331
|
+
const searchScript = resolve(projectRoot, 'bin/semantic-search.mjs');
|
|
332
332
|
|
|
333
333
|
if (query && existsSync(searchScript)) {
|
|
334
334
|
const searchArgs = [searchScript, query, '--limit', searchLimit, '--threshold', threshold];
|
|
@@ -369,9 +369,13 @@ async function main() {
|
|
|
369
369
|
|
|
370
370
|
// Run the guidance indexer (blocking - used for specific file updates)
|
|
371
371
|
async function runIndexGuidance(specificFile = null) {
|
|
372
|
-
const
|
|
372
|
+
const indexCandidates = [
|
|
373
|
+
resolve(dirname(fileURLToPath(import.meta.url)), 'index-guidance.mjs'),
|
|
374
|
+
resolve(projectRoot, '.claude/scripts/index-guidance.mjs'),
|
|
375
|
+
];
|
|
376
|
+
const indexScript = indexCandidates.find(p => existsSync(p));
|
|
373
377
|
|
|
374
|
-
if (
|
|
378
|
+
if (indexScript) {
|
|
375
379
|
const indexArgs = specificFile ? ['--file', specificFile] : [];
|
|
376
380
|
if (hasArg('force')) indexArgs.push('--force');
|
|
377
381
|
// index-guidance.mjs uses better-sqlite3
|
package/bin/setup-project.mjs
CHANGED
|
@@ -41,7 +41,7 @@ Your first tool call for every new user prompt MUST be a memory search. Do this
|
|
|
41
41
|
WHY: Memory contains curated solutions, patterns, and architectural context from previous work. Without it, you will miss existing solutions, repeat mistakes that were already solved, and waste time re-discovering what is already known. Memory search is faster than file scanning.
|
|
42
42
|
|
|
43
43
|
HOW: Use ToolSearch to load \`mcp__claude-flow__memory_search\`, then call it with a query describing your task. If MCP is unavailable, use:
|
|
44
|
-
\`node
|
|
44
|
+
\`node bin/semantic-search.mjs "[task description]" --namespace guidance\`
|
|
45
45
|
|
|
46
46
|
### Namespaces to search:
|
|
47
47
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moflo",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.1",
|
|
4
4
|
"description": "MoFlo — AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|