moflo 4.8.43 → 4.8.45

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.
@@ -66,7 +66,7 @@ const commandLoaders = {
66
66
  // MoFlo Workflow Gates
67
67
  gate: () => import('./gate.js'),
68
68
  // Feature Orchestrator
69
- orc: () => import('./orc.js'),
69
+ epic: () => import('./epic.js'),
70
70
  // GitHub Repository Setup
71
71
  github: () => import('./github.js'),
72
72
  };
@@ -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
 
@@ -35,7 +35,7 @@ When the user asks you to remember something: \`mcp__moflo__memory_store\` with
35
35
  - **Memory-first**: Must search memory before Glob/Grep/Read
36
36
  - **TaskCreate-first**: Must call TaskCreate before spawning Agent tool
37
37
 
38
- - **Task Icons**: \`TaskCreate\` MUST use ICON+[Role] format — see \`.claude/guidance/task-icons.md\`
38
+ - **Task Icons**: \`TaskCreate\` MUST use ICON+[Role] format — see \`.claude/guidance/moflo-task-icons.md\`
39
39
 
40
40
  ### MCP Tools (preferred over CLI)
41
41
 
@@ -56,35 +56,35 @@ npx flo doctor --fix # Health check
56
56
 
57
57
  ### Full Reference
58
58
 
59
- - **Agent bootstrap protocol:** \`.claude/guidance/shipped/agent-bootstrap.md\`
60
- - **Task + swarm coordination:** \`.claude/guidance/shipped/task-swarm-integration.md\`
59
+ - **Subagents protocol:** \`.claude/guidance/shipped/moflo-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
- ${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