moflo 4.8.46 → 4.8.48

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.
@@ -438,4 +438,4 @@ npx flo swarm init --topology hierarchical-mesh --max-agents 15 --strategy speci
438
438
 
439
439
  - `.claude/guidance/moflo-subagents.md` - Subagents guide
440
440
  - `.claude/guidance/moflo-memory-strategy.md` - Memory architecture and search
441
- - `.claude/guidance/moflo.md` - Full CLI/MCP reference
441
+ - `.claude/guidance/moflo-core-guidance.md` - Full CLI/MCP reference
@@ -274,4 +274,4 @@ npx flo memory search --query "your domain query" --namespace guidance # Verify
274
274
  - `moflo-memorydb-maintenance.md` — Database location, schema, purge/reindex procedures
275
275
  - `moflo-subagents.md` — Subagents guide
276
276
  - `moflo-claude-swarm-cohesion.md` — Task & swarm coordination
277
- - `moflo.md` — Full CLI/MCP reference
277
+ - `moflo-core-guidance.md` — Full CLI/MCP reference
@@ -249,7 +249,7 @@ try {
249
249
  const guidanceDir = resolve(projectRoot, '.claude/guidance');
250
250
  if (existsSync(guidanceDir)) {
251
251
  for (const file of readdirSync(guidanceDir)) {
252
- if (file.startsWith('moflo-moflo-') && file.endsWith('.md')) {
252
+ if ((file.startsWith('moflo-moflo-') || file === 'moflo-moflo.md' || file === 'moflo.md') && file.endsWith('.md')) {
253
253
  try { unlinkSync(resolve(guidanceDir, file)); } catch { /* non-fatal */ }
254
254
  }
255
255
  }
@@ -249,7 +249,7 @@ try {
249
249
  const guidanceDir = resolve(projectRoot, '.claude/guidance');
250
250
  if (existsSync(guidanceDir)) {
251
251
  for (const file of readdirSync(guidanceDir)) {
252
- if (file.startsWith('moflo-moflo-') && file.endsWith('.md')) {
252
+ if ((file.startsWith('moflo-moflo-') || file === 'moflo-moflo.md' || file === 'moflo.md') && file.endsWith('.md')) {
253
253
  try { unlinkSync(resolve(guidanceDir, file)); } catch { /* non-fatal */ }
254
254
  }
255
255
  }
@@ -37,7 +37,7 @@ const LEGACY_STARTS = ['<!-- MOFLO:SUBAGENT-PROTOCOL:START -->', '<!-- MOFLO:STA
37
37
  const LEGACY_ENDS = ['<!-- MOFLO:SUBAGENT-PROTOCOL:END -->', '<!-- MOFLO:END -->'];
38
38
 
39
39
  // Minimal injection — just enough for Claude to work with moflo.
40
- // All detailed docs live in .claude/guidance/shipped/moflo.md.
40
+ // All detailed docs live in .claude/guidance/shipped/moflo-core-guidance.md.
41
41
  const CLAUDE_MD_SECTION = `${MARKER_START}
42
42
  ## MoFlo — AI Agent Orchestration
43
43
 
@@ -81,7 +81,7 @@ npx flo doctor --fix # Health check
81
81
  ### Full Reference
82
82
 
83
83
  For CLI commands, hooks, agents, swarm config, memory commands, and moflo.yaml options, see:
84
- \`.claude/guidance/shipped/moflo.md\`
84
+ \`.claude/guidance/shipped/moflo-core-guidance.md\`
85
85
  ${MARKER_END}`;
86
86
 
87
87
  function log(msg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moflo",
3
- "version": "4.8.46",
3
+ "version": "4.8.48",
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",
@@ -86,10 +86,9 @@
86
86
  "hono": ">=4.11.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@types/bcrypt": "^5.0.2",
90
89
  "@types/node": "^20.19.37",
91
90
  "eslint": "^8.0.0",
92
- "moflo": "^4.8.45",
91
+ "moflo": "^4.8.47",
93
92
  "tsx": "^4.21.0",
94
93
  "typescript": "^5.9.3",
95
94
  "vitest": "^4.0.0"
@@ -807,7 +807,6 @@ export const pluginsCommand = {
807
807
  '@claude-flow/security - Security scanning and CVE detection',
808
808
  '@claude-flow/embeddings - Vector embeddings with hyperbolic support',
809
809
  '@claude-flow/claims - Claims-based authorization',
810
- '@claude-flow/performance - Performance profiling and benchmarks',
811
810
  '@claude-flow/plugin-gastown-bridge - Gas Town orchestrator integration (WASM-accelerated)',
812
811
  ]);
813
812
  output.writeln();
@@ -1,19 +1,19 @@
1
- /**
2
- * CLAUDE.md Generator
3
- *
4
- * Generates ONLY the MoFlo section to inject into a project's CLAUDE.md.
5
- * This must be minimal — just enough for Claude to work with moflo.
6
- * All detailed docs live in .claude/guidance/shipped/moflo.md (copied at install).
7
- *
8
- * Principle: we are guests in the user's CLAUDE.md. Keep it small.
9
- */
10
- const MARKER_START = '<!-- MOFLO:INJECTED:START -->';
11
- const MARKER_END = '<!-- MOFLO:INJECTED:END -->';
12
- /**
13
- * The single moflo section injected into CLAUDE.md.
14
- * ~40 lines. Points to moflo.md for everything else.
15
- */
16
- function mofloSection() {
1
+ /**
2
+ * CLAUDE.md Generator
3
+ *
4
+ * Generates ONLY the MoFlo section to inject into a project's CLAUDE.md.
5
+ * This must be minimal — just enough for Claude to work with moflo.
6
+ * All detailed docs live in .claude/guidance/shipped/moflo.md (copied at install).
7
+ *
8
+ * Principle: we are guests in the user's CLAUDE.md. Keep it small.
9
+ */
10
+ const MARKER_START = '<!-- MOFLO:INJECTED:START -->';
11
+ const MARKER_END = '<!-- MOFLO:INJECTED:END -->';
12
+ /**
13
+ * The single moflo section injected into CLAUDE.md.
14
+ * ~40 lines. Points to moflo.md for everything else.
15
+ */
16
+ function mofloSection() {
17
17
  return `${MARKER_START}
18
18
  ## MoFlo — AI Agent Orchestration
19
19
 
@@ -59,32 +59,32 @@ npx flo doctor --fix # Health check
59
59
  - **Subagents protocol:** \`.claude/guidance/shipped/moflo-subagents.md\`
60
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
- ${MARKER_END}`;
63
- }
64
- // --- Public API ---
65
- export { MARKER_START, MARKER_END };
66
- /**
67
- * Generate the MoFlo section to inject into CLAUDE.md.
68
- * Template parameter is accepted for backward compatibility but ignored —
69
- * all templates now produce the same minimal injection.
70
- */
71
- export function generateClaudeMd(_options, _template) {
72
- return mofloSection() + '\n';
73
- }
74
- /**
75
- * Generate minimal CLAUDE.md content (backward-compatible alias).
76
- */
77
- export function generateMinimalClaudeMd(options) {
78
- return generateClaudeMd(options, 'minimal');
79
- }
80
- /** Available template names for CLI wizard (kept for backward compat, all produce same output) */
81
- export const CLAUDE_MD_TEMPLATES = [
82
- { name: 'minimal', description: 'Recommended — memory search, workflow gates, MCP tools (~40 lines injected)' },
83
- { name: 'standard', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
84
- { name: 'full', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
85
- { name: 'security', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
86
- { name: 'performance', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
87
- { name: 'solo', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
88
- ];
89
- export default generateClaudeMd;
62
+ ${MARKER_END}`;
63
+ }
64
+ // --- Public API ---
65
+ export { MARKER_START, MARKER_END };
66
+ /**
67
+ * Generate the MoFlo section to inject into CLAUDE.md.
68
+ * Template parameter is accepted for backward compatibility but ignored —
69
+ * all templates now produce the same minimal injection.
70
+ */
71
+ export function generateClaudeMd(_options, _template) {
72
+ return mofloSection() + '\n';
73
+ }
74
+ /**
75
+ * Generate minimal CLAUDE.md content (backward-compatible alias).
76
+ */
77
+ export function generateMinimalClaudeMd(options) {
78
+ return generateClaudeMd(options, 'minimal');
79
+ }
80
+ /** Available template names for CLI wizard (kept for backward compat, all produce same output) */
81
+ export const CLAUDE_MD_TEMPLATES = [
82
+ { name: 'minimal', description: 'Recommended — memory search, workflow gates, MCP tools (~40 lines injected)' },
83
+ { name: 'standard', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
84
+ { name: 'full', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
85
+ { name: 'security', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
86
+ { name: 'performance', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
87
+ { name: 'solo', description: 'Same as minimal (detailed docs in .claude/guidance/shipped/moflo.md)' },
88
+ ];
89
+ export default generateClaudeMd;
90
90
  //# sourceMappingURL=claudemd-generator.js.map