🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
feat(ruflo-console): show the version on the header, so the running build is visible
ruvf34370c391a2
diff --git a/plugins/ruflo-console/hooks/gfx/pictures.ts b/plugins/ruflo-console/hooks/gfx/pictures.tsindex b9b4bf4499..0700473949 100644--- a/plugins/ruflo-console/hooks/gfx/pictures.ts+++ b/plugins/ruflo-console/hooks/gfx/pictures.ts@@ -6,6 +6,7 @@*/import { Braille, COLOR, Grid, mix, ramp, sparkline } from './raster'import { bigText } from './font'+import { CONSOLE_VERSION } from '../version'export { bootPicture, BOOT_ROWS } from './boot'@@ -262,7 +263,7 @@ export function bannerPicture(project: string, columns: number, t: number): Gridconst x0 = width + 2if (columns > x0 + 4) {- grid.text(x0, 0, '░▒▓ AGENT SWARM CONSOLE'.slice(0, columns - x0), NEON_MAGENTA)+ grid.text(x0, 0, `░▒▓ AGENT SWARM CONSOLE v${CONSOLE_VERSION}`.slice(0, columns - x0), NEON_MAGENTA)const node = `▸ npx ruflo · ${project}`.slice(0, columns - x0 - 2)grid.text(x0, 1, node, NEON_CYAN)diff --git a/plugins/ruflo-console/hooks/version.ts b/plugins/ruflo-console/hooks/version.tsnew file mode 100644index 0000000000..486292f558--- /dev/null+++ b/plugins/ruflo-console/hooks/version.ts@@ -0,0 +1,5 @@+/**+ * The console's version, shown on the header so a person can tell which build is running. Kept equal to the plugin's manifest+ * (`.claude-plugin/plugin.json`); tests/version.spec.ts fails if the two drift.+ */+export const CONSOLE_VERSION = '0.26.0'diff --git a/plugins/ruflo-console/tests/version.spec.ts b/plugins/ruflo-console/tests/version.spec.tsnew file mode 100644index 0000000000..a644633ee9--- /dev/null+++ b/plugins/ruflo-console/tests/version.spec.ts@@ -0,0 +1,18 @@+/**+ * The version the console shows is the plugin's manifest version. Run with+ * npx vitest run plugins/ruflo-console/tests/version.spec.ts+ */+import { readFileSync } from 'node:fs'+import { fileURLToPath } from 'node:url'++import { describe, expect, it } from 'vitest'++import { CONSOLE_VERSION } from '../hooks/version'++describe('console version', () => {+ it('matches the plugin manifest, so the header shows the build that is running', () => {+ const manifest = JSON.parse(readFileSync(fileURLToPath(new URL('../.claude-plugin/plugin.json', import.meta.url)), 'utf8')) as { version: string }++ expect(CONSOLE_VERSION).toBe(manifest.version)+ })+})