moflo 4.6.6 → 4.6.7

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.
@@ -31,6 +31,7 @@ function loadStatusLineConfig() {
31
31
  const defaults = {
32
32
  enabled: true,
33
33
  branding: 'Moflo V4',
34
+ show_dir: true,
34
35
  show_git: true,
35
36
  show_model: true,
36
37
  show_session: true,
@@ -663,8 +664,9 @@ function generateDashboard() {
663
664
  const session = getSessionStats();
664
665
  const lines = [];
665
666
 
666
- // Header: branding + git
667
+ // Header: branding + dir + git
667
668
  let header = `${c.bold}${c.brightPurple}\u258A ${SL_CONFIG.branding}${c.reset}`;
669
+ if (SL_CONFIG.show_dir) header += ` ${c.brightWhite}${path.basename(CWD)}${c.reset}`;
668
670
  if (SL_CONFIG.show_git && git.gitBranch) {
669
671
  header += ` ${c.brightBlue}\u23C7 ${git.gitBranch}${c.reset}`;
670
672
  const changes = git.modified + git.staged + git.untracked;
@@ -733,8 +735,9 @@ function generateCompactDashboard() {
733
735
  const session = getSessionStats();
734
736
  const lines = [];
735
737
 
736
- // Header: branding + git + session
738
+ // Header: branding + dir + git + session
737
739
  let header = `${c.bold}${c.brightPurple}\u258A ${SL_CONFIG.branding}${c.reset}`;
740
+ if (SL_CONFIG.show_dir) header += ` ${c.brightWhite}${path.basename(CWD)}${c.reset}`;
738
741
  if (SL_CONFIG.show_git && git.gitBranch) {
739
742
  header += ` ${c.brightBlue}\u23C7 ${git.gitBranch}${c.reset}`;
740
743
  const changes = git.modified + git.staged + git.untracked;
@@ -806,15 +809,23 @@ function generateJSON() {
806
809
  }
807
810
 
808
811
  // ─── Main ───────────────────────────────────────────────────────
809
- if (process.argv.includes('--json')) {
812
+ // CLI flags take precedence over moflo.yaml mode
813
+ const cliMode = process.argv.includes('--json') ? 'json'
814
+ : process.argv.includes('--json-compact') ? 'json-compact'
815
+ : process.argv.includes('--dashboard') ? 'dashboard'
816
+ : process.argv.includes('--compact') ? 'compact'
817
+ : process.argv.includes('--single-line') ? 'single-line'
818
+ : null;
819
+ const mode = cliMode || SL_CONFIG.mode || 'compact';
820
+
821
+ if (mode === 'json') {
810
822
  console.log(JSON.stringify(generateJSON(), null, 2));
811
- } else if (process.argv.includes('--json-compact')) {
823
+ } else if (mode === 'json-compact') {
812
824
  console.log(JSON.stringify(generateJSON()));
813
- } else if (process.argv.includes('--compact') || SL_CONFIG.mode === 'compact') {
814
- console.log(generateCompactDashboard());
815
- } else if (process.argv.includes('--dashboard') || SL_CONFIG.mode === 'dashboard') {
825
+ } else if (mode === 'dashboard') {
816
826
  console.log(generateDashboard());
827
+ } else if (mode === 'compact') {
828
+ console.log(generateCompactDashboard());
817
829
  } else {
818
- // Default: single-line statusline
819
830
  console.log(generateStatusline());
820
831
  }
package/README.md CHANGED
@@ -227,6 +227,7 @@ status_line:
227
227
  enabled: true
228
228
  branding: "MoFlo V4"
229
229
  mode: compact # single-line, compact, or dashboard
230
+ show_dir: true # current directory name (compact/dashboard only)
230
231
  show_git: true
231
232
  show_session: true
232
233
  show_swarm: true
@@ -355,6 +356,10 @@ When `flo init` runs, it appends a workflow section to your CLAUDE.md that teach
355
356
  - **Project config system**: `moflo.yaml` for per-project settings
356
357
  - **One-stop init**: `flo init` generates everything needed for OOTB operation
357
358
 
359
+ ## Ruflo / Claude Flow
360
+
361
+ MoFlo builds on top of the full [Ruflo/Claude Flow](https://github.com/ruvnet/ruflo) engine. For detailed documentation on the underlying capabilities — swarm topologies, hive-mind consensus, HNSW vector search, neural routing, MCP server internals, and more — check out the [Ruflo repository](https://github.com/ruvnet/ruflo).
362
+
358
363
  ## License
359
364
 
360
- MIT (inherited from [upstream](https://github.com/ruvnet/ruflo))
365
+ MIT (inherited from [Ruflo/Claude Flow](https://github.com/ruvnet/ruflo))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moflo",
3
- "version": "4.6.6",
3
+ "version": "4.6.7",
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",