🌊 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(console): add optional orbital telemetry theme
rUv75f3043a1146
diff --git a/plugins/ruflo-console/.claude-plugin/plugin.json b/plugins/ruflo-console/.claude-plugin/plugin.jsonindex b11ff5353c..ccfbbd1b62 100644--- a/plugins/ruflo-console/.claude-plugin/plugin.json+++ b/plugins/ruflo-console/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "ruflo-console",- "description": "ruflo's cockpit inside Claude Code and the one /ruflo command for every ruflo mod (function hooks, early access). Views: overview with health alerts, swarm topology graph, claims flow with TTL rings, federation map, plugin health matrix, learning curve and pipeline, MetaHarness radar and audit trend, memory, cost gauge, agent timeline, approvals queue, event stream, a main menu, an x.ruv.io federation board, an AI terminal (codex, claude or both in remembered sessions, streamed), Skills (npx skills), a Hive-Mind view, a MetaHarness lab, agent drill-down; a command palette for confirm-gated actions through the ruflo CLI; a band above the prompt. Reads ruflo's files and the CLI's local JSON; anything not measured reads n/a. The one network call it makes by itself is a daily read of the published plugin.json at github.com/ruvnet/ruflo to offer an update (Settings → Updates: ask, auto, or off); it installs only through Claude Code's own claude plugin update, and never a new major version without asking.",+ "description": "ruflo's cockpit inside Claude Code and the one /ruflo command for every ruflo mod (function hooks, early access). Views: overview with health alerts, swarm topology graph, claims flow with TTL rings, federation map, plugin health matrix, learning curve and pipeline, MetaHarness radar and audit trend, memory, cost gauge, agent timeline, approvals queue, event stream, a main menu, an x.ruv.io federation board, an AI terminal (codex, claude or both in remembered sessions, streamed), Skills (npx skills), a Hive-Mind view, a MetaHarness lab, agent drill-down; a command palette for confirm-gated actions through the ruflo CLI; a band above the prompt. Reads ruflo's files and the CLI's local JSON; anything not measured reads n/a. The one network call it makes by itself is a daily read of the published plugin.json at github.com/ruvnet/ruflo to offer an update (Settings \u2192 Updates: ask, auto, or off); it installs only through Claude Code's own claude plugin update, and never a new major version without asking.","version": "0.42.7","author": {"name": "ruvnet",@@ -85,11 +85,12 @@"look": {"type": "string","title": "Look",- "description": "bbs is the neon BBS look: an ASCII-art banner, ▓▒░ section headers and a cyberpunk palette. plain uses your terminal theme colours and plain rules (better on light backgrounds).",+ "description": "bbs is the neon BBS look: an ASCII-art banner, \u2593\u2592\u2591 section headers and a cyberpunk palette. plain uses your terminal theme colours and plain rules (better on light backgrounds). orbital uses black telemetry panels, square red borders, muted values and green health indicators; best with a dark terminal.","default": "bbs","options": ["bbs",- "plain"+ "plain",+ "orbital"]},"boot": {diff --git a/plugins/ruflo-console/README.md b/plugins/ruflo-console/README.mdindex 2f25972579..02f057196b 100644--- a/plugins/ruflo-console/README.md+++ b/plugins/ruflo-console/README.md@@ -83,3 +83,15 @@ An optional **Project Anatole** section on the Security & Doctor page (key `u`)- **Shows** the mode, the baseline's maturity ("learning 62%"), open alerts by severity, blocked and `degraded`; one row per rule (OWASP refs, severity, an off · notify · block chip, hits and acked share over the last 200 alerts, "changed from default"); the open alerts with `ack` and `allow`. The Findings meter counts open alerts, labelled as Anatole's.- **Runs** `/protector run` and `/protector replay` into the page's Result panel.- **Edits** the mode (off, learn, notify, enforce) and per-rule modes through `/protector`; every change asks first and its confirm row starts with `Effect:`. `enforce` is declared an install-class action and `reset-baseline` a delete-class one, so Claude's console tools always wait for you on both (palette ids `anatole-mode`, `anatole-rule`, `anatole-ack`, `anatole-allow`, `anatole-reset`, `anatole-run`, `anatole-replay`).++## Orbital theme++An optional dark telemetry look inspired by compact system monitors: black panel background, square red borders, warm red headings, muted readable values and green health indicators. It uses the existing live views and command palette; no extra polling, simulated metrics or model calls. BBS remains the default.++Choose Settings → ruflo-console → Look → orbital, or run in your shell:++```sh+printf '%s\n' '{"look":"orbital"}' | claude plugin configure ruflo-console@ruflo --values-stdin+```++Reload plugins after changing the option. Select `bbs` or `plain` to restore those looks. A dark terminal background gives the closest match; terminal graphics and host controls keep their existing renderer. Narrow panes retain the existing responsive layout.diff --git a/plugins/ruflo-console/hooks/help-topics-more.ts b/plugins/ruflo-console/hooks/help-topics-more.tsindex 73577670b3..50e144bc11 100644--- a/plugins/ruflo-console/hooks/help-topics-more.ts+++ b/plugins/ruflo-console/hooks/help-topics-more.ts@@ -208,7 +208,7 @@ export const MORE_TOPICS: readonly HelpTopic[] = [summary: 'change how the console looks and behaves, in place',steps: [{ text: 'Open Settings (key s). Each row is edited right there.', go: { view: 'settings' } },- { text: 'look: bbs is the neon look, plain uses your terminal’s own colours. boot turns the intro on or off.' },+ { text: 'look: bbs is neon, plain uses terminal colours, orbital is dark telemetry with square red panels. boot turns the intro on or off.' },{ text: 'fps sets how fast things move: 0 turns motion off, 12 is the most.' },{ text: 'panel decides whether the cockpit opens by itself: auto, only on /ruflo, or never.' },{ text: 'More options (how often the disk is re-read, the band above the prompt) are listed under the plugin’s options.' },diff --git a/plugins/ruflo-console/hooks/state.ts b/plugins/ruflo-console/hooks/state.tsindex 15a341cd04..845b2d41ff 100644--- a/plugins/ruflo-console/hooks/state.ts+++ b/plugins/ruflo-console/hooks/state.ts@@ -115,8 +115,8 @@ export type Options = GuardOptions & ConvoOptions & SessionOptions & {panel: 'auto' | 'command' | 'off'/** Lets the federation view ask the public relay for the roster. Off by default: no network without consent. */federationNetwork: boolean- /** `bbs`: the neon ASCII-art look (default); `plain`: the terminal theme's own colours and plain rules. */- look: 'bbs' | 'plain'+ /** `bbs`: neon (default); `plain`: terminal colours; `orbital`: dark telemetry panels with red accents. */+ look: 'bbs' | 'plain' | 'orbital'/** With the bbs look, a short dial-up boot screen when the cockpit opens. */boot: boolean/** ADR-474: keep the Events and Timeline history in `.claude-flow/console/` (events.jsonl, lanes.jsonl). On by default; masked text only. */@@ -140,7 +140,7 @@ export function optionsOf(raw: PluginOptions | undefined): Options {bar: value.bar === 'on' || value.bar === 'off' ? value.bar : 'auto',panel: value.panel === 'command' || value.panel === 'off' ? value.panel : 'auto',federationNetwork: value.federationNetwork === true,- look: value.look === 'plain' ? 'plain' : 'bbs',+ look: value.look === 'plain' || value.look === 'orbital' ? value.look : 'bbs',boot: value.boot !== false,eventsPersist: value.eventsPersist !== false && value.eventsPersist !== 'false',...guardOptionsOf(raw),diff --git a/plugins/ruflo-console/hooks/views/card.ts b/plugins/ruflo-console/hooks/views/card.tsindex 735f42f616..20956d5281 100644--- a/plugins/ruflo-console/hooks/views/card.ts+++ b/plugins/ruflo-console/hooks/views/card.ts@@ -8,7 +8,7 @@* nothing a view clips to its width overflows the frame.*/import type { Ctx } from './common'-import { THEME } from './common'+import { isOrbital, THEME } from './common'import { HEADS, SPACERS } from './marks'/** Columns a card takes from the page width: border and padding, both sides. */@@ -42,7 +42,7 @@ export function withCards(kit: Ctx['kit'], accent?: string): Ctx['kit'] {const out: unknown[] = []let card: unknown[] | null = nullconst close = () => {- if (card !== null) out.push(kit.Box({ key: `card-${made++}`, flexDirection: 'column', borderStyle: 'round', borderColor: accent ?? THEME.info, paddingX: 1, children: card as never }))+ if (card !== null) out.push(kit.Box({ key: `card-${made++}`, flexDirection: 'column', borderStyle: isOrbital() ? 'single' : 'round', borderColor: isOrbital() ? THEME.head : accent ?? THEME.info, paddingX: 1, children: card as never }))card = null}diff --git a/plugins/ruflo-console/hooks/views/common.ts b/plugins/ruflo-console/hooks/views/common.tsindex 4e49c8ae09..84587bf4fc 100644--- a/plugins/ruflo-console/hooks/views/common.ts+++ b/plugins/ruflo-console/hooks/views/common.ts@@ -162,12 +162,13 @@ export type Ctx = {text?: boolean}-export type Look = 'bbs' | 'plain'+export type Look = 'bbs' | 'plain' | 'orbital'/** The terminal theme's own colours: readable on light and dark backgrounds alike. */const PLAIN = { head: 'claude', ok: 'success', bad: 'error', warn: 'warning', info: 'suggestion' }/** The BBS look: neon magenta headings, cyan values, matrix-green labels; amber stays for attention. */const NEON = { head: '#ff2a6d', ok: '#39ff14', bad: '#ff3355', warn: '#ffd319', info: '#05d9e8' }+const ORBITAL = { head: '#f06449', ok: '#72c79b', bad: '#ff6868', warn: '#e3ba74', info: '#c6cbc8' }const NEON_LABEL = '#2fbf71'/** The palette every view reads; `setLook` swaps it in place before a render, so callers keep using THEME.x. */@@ -177,9 +178,11 @@ let look: Look = 'plain'export function setLook(next: Look): void {if (next === look) returnlook = next- Object.assign(THEME, next === 'bbs' ? NEON : PLAIN)+ Object.assign(THEME, next === 'bbs' ? NEON : next === 'orbital' ? ORBITAL : PLAIN)}+export const isOrbital = (): boolean => look === 'orbital'+export const isBbs = (): boolean => look === 'bbs'/**diff --git a/plugins/ruflo-console/hooks/views/menu.ts b/plugins/ruflo-console/hooks/views/menu.tsindex 17131f348f..da05916df2 100644--- a/plugins/ruflo-console/hooks/views/menu.ts+++ b/plugins/ruflo-console/hooks/views/menu.ts@@ -6,7 +6,7 @@ import type { RenderElement } from 'claude-code'import { ACCENT, badgesOf, chip, LOUD, MUTED, PALETTE } from '../menu-style'import { VIEWS, type ViewId } from '../state'import { barParts } from './bar'-import { button, clip, col, isBbs, picture, row, text, THEME, type Ctx } from './common'+import { button, clip, col, isBbs, isOrbital, picture, row, text, THEME, type Ctx } from './common'import { missionStrip } from './mission-control'type Item = { label: string; go: string }@@ -101,7 +101,7 @@ export function menuView(ctx: Ctx): RenderElement {const started = entry === null || entry >= groupStart(gi)let seen = 0const accent = ACCENT[group.title] ?? '#d0d0d0'- const title = clip(`▓▒░ ${group.title} ░▒▓`, width - 8)+ const title = clip(isOrbital() ? group.title : `▓▒░ ${group.title} ░▒▓`, width - 8)const isOpen = isGroupOpen(group, gi)const count = group.sections.reduce((n, section) => n + section.items.filter(isShown).length, 0)@@ -109,7 +109,7 @@ export function menuView(ctx: Ctx): RenderElement {flexDirection: 'column',width,borderStyle: 'single',- borderColor: bbs && started ? accent : 'inactive',+ borderColor: isOrbital() ? THEME.head : bbs && started ? accent : 'inactive',paddingX: 1,key: `menu-${group.title}`,children: [diff --git a/plugins/ruflo-console/hooks/views/nav.ts b/plugins/ruflo-console/hooks/views/nav.tsindex 9443501601..ad7724a576 100644--- a/plugins/ruflo-console/hooks/views/nav.ts+++ b/plugins/ruflo-console/hooks/views/nav.ts@@ -13,7 +13,7 @@ import { badgesOf } from '../menu-style'import { accentOfView, findPages, groupOf, NAV_GROUPS, shownGroup } from '../nav-state'import { VIEWS, type ViewId } from '../state'import { CARD_COLUMNS } from './card'-import { isBbs, THEME, type Ctx } from './common'+import { isBbs, isOrbital, THEME, type Ctx } from './common'type View = (typeof VIEWS)[number]@@ -109,5 +109,5 @@ export function groupedTabs(ctx: Ctx, hasHotkey: (view: View) => boolean): Rendeconst hidden = VIEWS.filter(view => view.id !== 'menu' && view.id !== open && !visible.has(view.id) && hasHotkey(view) && view.key !== '')const keys = hidden.length === 0 ? [] : [ctx.kit.Box({ key: 'tabs-keys', display: 'none', children: hidden.map(view => ctx.kit.Button({ key: `tab-${view.id}`, label: view.short, hotkey: view.key, plain: true, onPress: () => ctx.act.view(view.id) })) } as never)]- return ctx.kit.Box({ key: 'tabs', flexDirection: 'column', borderStyle: 'round', borderColor: THEME.info, paddingX: 1, children: [head, ...findRow, ...lines, ...note, ...keys] })+ return ctx.kit.Box({ key: 'tabs', flexDirection: 'column', borderStyle: isOrbital() ? 'single' : 'round', borderColor: isOrbital() ? THEME.head : THEME.info, paddingX: 1, children: [head, ...findRow, ...lines, ...note, ...keys] })}diff --git a/plugins/ruflo-console/hooks/views/pane.ts b/plugins/ruflo-console/hooks/views/pane.tsindex 1eab9b168e..6ce582ab4c 100644--- a/plugins/ruflo-console/hooks/views/pane.ts+++ b/plugins/ruflo-console/hooks/views/pane.ts@@ -21,7 +21,7 @@ import { isBooting, isCompactPane, NAV_STYLES, VIEWS, type ViewId } from '../staimport { agentView } from './agent'import { automateResult, automateView } from './automate'import { claimsView } from './claims'-import { ago, button, clip, col, confirmRow, isBbs, row, setLook, text, THEME, type Ctx } from './common'+import { ago, button, clip, col, confirmRow, isBbs, isOrbital, row, setLook, text, THEME, type Ctx } from './common'import { costView } from './cost'import { evolveResult, evolveView } from './evolve'import { catalogView } from './plugin-catalog'@@ -444,7 +444,7 @@ export function paneView(base: Ctx): RenderElement {? bbs.art.length + (about !== null ? 1 : 0): title.length + (isMenu && isBbs() ? 1 : 0)- return ctx.kit.Box({ flexDirection: 'column', children: withIcons(ctx, parts, lead) })+ return ctx.kit.Box({ flexDirection: 'column', ...(isOrbital() ? { backgroundColor: '#000000' } : {}), children: withIcons(ctx, parts, lead) })}type Plain = { type: string; props: { children?: unknown; label?: string } }diff --git a/plugins/ruflo-console/tests/diagrams.spec.ts b/plugins/ruflo-console/tests/diagrams.spec.tsindex 7dd5ae5488..d5815a6065 100644--- a/plugins/ruflo-console/tests/diagrams.spec.ts+++ b/plugins/ruflo-console/tests/diagrams.spec.ts@@ -139,9 +139,10 @@ describe('BBS look', () => {expect(on.encode()).not.toBe(off.encode())})- it('bbs is the default look; plain is the only other value', () => {+ it('bbs stays the default; plain and orbital are opt-in', () => {expect(optionsOf(undefined).look).toBe('bbs')expect(optionsOf({ look: 'plain' } as never).look).toBe('plain')+ expect(optionsOf({ look: 'orbital' } as never).look).toBe('orbital')expect(optionsOf({ look: 'neon' } as never).look).toBe('bbs')})})diff --git a/plugins/ruflo-console/tests/fixtures/settings.ts b/plugins/ruflo-console/tests/fixtures/settings.tsindex 95030c3a56..5ce8a4c1b3 100644--- a/plugins/ruflo-console/tests/fixtures/settings.ts+++ b/plugins/ruflo-console/tests/fixtures/settings.ts@@ -9,11 +9,11 @@ export const CONSOLE_CONFIG = JSON.stringify({refreshSeconds: { type: 'number', title: 'Disk refresh (seconds)', description: 'How often ruflo’s files are re-read (2 to 60).', default: 3 },fps: { type: 'number', title: 'Animation frames per second', description: 'Frame cap while the pane is shown (0 to 12).', default: 8 },panel: { type: 'string', title: 'Cockpit pane', description: 'auto opens the cockpit at session start.', default: 'auto', options: ['auto', 'command', 'off'] },- look: { type: 'string', title: 'Look', description: 'bbs draws ANSI-BBS art; plain is text only.', default: 'bbs', options: ['bbs', 'plain'] },+ look: { type: 'string', title: 'Look', description: 'bbs draws ANSI-BBS art; plain is text only.', default: 'bbs', options: ['bbs', 'plain', 'orbital'] },boot: { type: 'boolean', title: 'Boot screen', description: 'Play the dial-up boot screen when the cockpit opens.', default: true },},inputs: { cli: 'npx-offline', refreshSeconds: '', fps: '', panel: 'auto', look: 'bbs', boot: 'true' },- choices: { cli: ['npx-offline', 'npx', 'ruflo', 'claude-flow'], panel: ['auto', 'command', 'off'], look: ['bbs', 'plain'], boot: ['true', 'false'] },+ choices: { cli: ['npx-offline', 'npx', 'ruflo', 'claude-flow'], panel: ['auto', 'command', 'off'], look: ['bbs', 'plain', 'orbital'], boot: ['true', 'false'] },configured: [],unconfigured: ['cli', 'refreshSeconds', 'fps', 'panel', 'look', 'boot'],})diff --git a/plugins/ruflo-console/tests/orbital.spec.ts b/plugins/ruflo-console/tests/orbital.spec.tsnew file mode 100644index 0000000000..4b7bcfd033--- /dev/null+++ b/plugins/ruflo-console/tests/orbital.spec.ts@@ -0,0 +1,33 @@+import { afterEach, describe, expect, it } from 'vitest'+import { optionsOf } from '../hooks/state'+import { isOrbital, setLook, THEME } from '../hooks/views/common'+import { withCards } from '../hooks/views/card'+import { HEADS, mark } from '../hooks/views/marks'+import { parseConfig, setOption, settingsOf } from '../hooks/settings'+import { newState } from '../hooks/state'+import { CONSOLE_CONFIG } from './fixtures/settings'++afterEach(() => setLook('plain'))+describe('orbital theme', () => {+ it('uses square red cards and restores the original theme on switch', () => {+ setLook('orbital')+ expect(isOrbital()).toBe(true)+ expect(THEME.head).toBe('#f06449')+ const kit = { Box: (props: object) => ({ props }), Text: (props: object) => ({ props }) } as never+ const head = mark(HEADS, { props: { children: 'metrics' } })+ const tree = withCards(kit).Box({ flexDirection: 'column', children: [head] } as never) as unknown as { props: { children: { props: object }[] } }+ expect(tree.props.children[0]?.props).toMatchObject({ borderStyle: 'single', borderColor: '#f06449' })+ setLook('bbs')+ expect(isOrbital()).toBe(false)+ expect(THEME.head).toBe('#ff2a6d')+ expect(optionsOf(undefined).look).toBe('bbs')+ })+ it('accepts the option through the existing settings path', () => {+ const state = newState({})+ const config = parseConfig('ruflo-console', CONSOLE_CONFIG)+ expect(config).not.toBeNull()+ settingsOf(state).configs.set('ruflo-console', config!)+ expect(setOption(state, 'ruflo-console', 'look', 'orbital', () => undefined)?.stdin).toBe('{"look":"orbital"}')+ expect(setOption(state, 'ruflo-console', 'look', 'unknown', () => undefined)).toBeNull()+ })+})diff --git a/plugins/ruflo-console/tests/render-smoke.spec.ts b/plugins/ruflo-console/tests/render-smoke.spec.tsindex e9d2ce3c2a..525d1c8c66 100644--- a/plugins/ruflo-console/tests/render-smoke.spec.ts+++ b/plugins/ruflo-console/tests/render-smoke.spec.ts@@ -54,7 +54,7 @@ const NOISE = /\[object Object\]|\bundefined\b|\bNaN\b/afterAll(() => setLook('plain'))describe('every page draws', () => {- for (const look of ['bbs', 'plain'] as const) {+ for (const look of ['bbs', 'plain', 'orbital'] as const) {for (const columns of [44, 60, 100, 160]) {it(`in the ${look} look at ${columns} columns, empty and busy`, async () => {setLook(look)