Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Merge branch 'feat/console-hive' into feat/console-now

ruva379b91c4599
diff --cc plugins/ruflo-console/hooks/state.ts
index ab57bc8bd5,ccb6cfd053..0ae7a11ed4
--- a/plugins/ruflo-console/hooks/state.ts
+++ b/plugins/ruflo-console/hooks/state.ts
@@@ -10,7 -9,7 +10,7 @@@ import type { RufloRoute, RufloSnapsho
export const PLUGIN_NAME = 'ruflo-console'
export const PANE_ID = 'ruflo-console'
- export type ViewId = 'menu' | 'overview' | 'swarm' | 'claims' | 'federation' | 'plugins' | 'learning' | 'metaharness' | 'memory' | 'cost' | 'timeline' | 'approvals' | 'events' | 'missions' | 'xruv' | 'terminal' | 'skills' | 'agent'
-export type ViewId = 'menu' | 'overview' | 'swarm' | 'hive' | 'claims' | 'federation' | 'plugins' | 'learning' | 'metaharness' | 'memory' | 'cost' | 'timeline' | 'approvals' | 'events' | 'missions' | 'xruv' | 'terminal' | 'agent'
++export type ViewId = 'menu' | 'overview' | 'swarm' | 'hive' | 'claims' | 'federation' | 'plugins' | 'learning' | 'metaharness' | 'memory' | 'cost' | 'timeline' | 'approvals' | 'events' | 'missions' | 'xruv' | 'terminal' | 'skills' | 'agent'
/**
* The views in tab order, each with its hotkey and the inline height it asks for. Digits are the first nine; the three
diff --cc plugins/ruflo-console/tests/behaviour.test.ts
index fdfa517f4c,8939dd7de6..c942f81718
--- a/plugins/ruflo-console/tests/behaviour.test.ts
+++ b/plugins/ruflo-console/tests/behaviour.test.ts
@@@ -149,8 -149,7 +149,8 @@@ describe('behaviour', () =>
expect(elementsOf(tree, 'Raster').length === 0).toBe(isNarrow)
expect(elementsOf(tree, 'Button').map(keyOf).includes('claim')).toBe(!isNarrow)
- if (isNarrow) expect(textOf(tree)).toContain('5/17 Claims')
+ // The count is VIEWS.length, which grows with each view: hold the position and the name, not the total.
- if (isNarrow) expect(textOf(tree)).toMatch(/4\/\d+ Claims/)
++ if (isNarrow) expect(textOf(tree)).toMatch(/5\/\d+ Claims/)
await pane.unmount()
}
})
diff --cc plugins/ruflo-console/tests/views.test.ts
index bb5ce18fa1,07e36af81f..6bb9f7f04f
--- a/plugins/ruflo-console/tests/views.test.ts
+++ b/plugins/ruflo-console/tests/views.test.ts
@@@ -1,10 -1,10 +1,11 @@@
import type { TestBody } from 'claude-code/testing'
import { describe, expect, mock, test } from 'claude-code/testing'
+ import { HIVE_FILES, RAFT_ID, WORKERS } from './fixtures/hive'
import { MISSION_OBSERVATION } from './fixtures/missions'
import { HIVE_TOKEN, RUFLO_FILES } from './fixtures/ruflo-run'
-import { command, elementsOf, fakeRuflo, keyOf, paneAt, PLUGIN, SESSION, textOf, worldOf } from './fixtures/world'
+import { FIND_OUT, LS_GLOBAL } from './fixtures/skills'
+import { cliAnswer, command, elementsOf, fakeRuflo, keyOf, paneAt, PLUGIN, SESSION, textOf, worldOf } from './fixtures/world'
const HOME_FILES = {
'.claude/plugins/installed_plugins.json': JSON.stringify({