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

test(ruflo-console): tool.list fixture uses the ruflo-core plugin MCP prefix (audit-plugin-mcp-prefix)

ruvcc56d6470f17
diff --git a/plugins/ruflo-console/tests/fixtures/world.ts b/plugins/ruflo-console/tests/fixtures/world.ts
index 6212cca3c7..9d27f55133 100644
--- a/plugins/ruflo-console/tests/fixtures/world.ts
+++ b/plugins/ruflo-console/tests/fixtures/world.ts
@@ -111,7 +111,7 @@ export function worldOf(on: On, files: Readonly<Record<string, string>>, options
on('env.get', ($, e) => (refuse ? { deny: 'env withheld' } : { value: e.name === 'HOME' ? HOME : undefined }))
on('settings.read', () => (refuse ? { deny: 'settings withheld' } : { value: { enabledPlugins: { 'ruflo-core@ruflo': true } } as never }))
on('session.usage', () => (refuse ? { deny: 'usage withheld' } : { value: { context: { tokens: 50_000, window: 200_000, percent: 25 }, rateLimits: [], cost: { usd: 0.4213 } } as never }))
- on('tool.list', () => (refuse ? { deny: 'tools withheld' } : { value: [{ name: 'mcp__claude-flow__swarm_init' }, { name: 'mcp__claude-flow__claims_board' }, { name: 'Read' }] as never }))
+ on('tool.list', () => (refuse ? { deny: 'tools withheld' } : { value: [{ name: 'mcp__plugin_ruflo-core_ruflo__swarm_init' }, { name: 'mcp__plugin_ruflo-core_ruflo__claims_board' }, { name: 'Read' }] as never }))
on('store.get', ($, e) => (refuse ? { deny: 'store withheld' } : { value: world.stored.get(e.key) }))
on('store.set', ($, e) => {
if (refuse) return { deny: 'store withheld' }
diff --git a/plugins/ruflo-console/tests/views.test.ts b/plugins/ruflo-console/tests/views.test.ts
index 8d29670808..609ca17ef0 100644
--- a/plugins/ruflo-console/tests/views.test.ts
+++ b/plugins/ruflo-console/tests/views.test.ts
@@ -44,7 +44,7 @@ describe('views', () => {
expect(rasters).toEqual(['header', 'activity'])
expect(text).toContain('v3.50.0 (npx-offline)')
expect(text).toContain('running per daemon-state.json')
- expect(text).toContain('1 ruflo server connected (claude-flow) · 2 tools callable now')
+ expect(text).toContain('1 ruflo server connected (plugin_ruflo-core_ruflo) · 2 tools callable now')
expect(text).toContain('manifest v3.32.24')
expect(text).toContain('seated · policy observe · routed 4')
expect(text).toContain('swarm-1790903031804-y9rnjr · hierarchical · running · 2 agents')