🌊 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
fix(console): the rest of Mission Control's prose wraps at 80 columns (#3899) 0.44.3 (#4225)
Korjavin Ivan584bad756b3c
diff --git a/plugins/ruflo-console/.claude-plugin/plugin.json b/plugins/ruflo-console/.claude-plugin/plugin.jsonindex 34cd24fd31..1628f7da22 100644--- a/plugins/ruflo-console/.claude-plugin/plugin.json+++ b/plugins/ruflo-console/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"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.",- "version": "0.44.2",+ "version": "0.44.3","author": {"name": "ruvnet","url": "https://github.com/ruvnet"diff --git a/plugins/ruflo-console/CHANGELOG.md b/plugins/ruflo-console/CHANGELOG.mdindex f9d56f3074..a6b3aa80be 100644--- a/plugins/ruflo-console/CHANGELOG.md+++ b/plugins/ruflo-console/CHANGELOG.md@@ -2,6 +2,9 @@Newest first. One `## <version> — <date>` heading per version, then `feat:`, `fix:`, `breaking:` and `chore:` bullets (ADR-478). Built from git history; older versions: `git log -- plugins/ruflo-console`.+## 0.44.3 — 2026-10-15+- fix: the rest of Mission Control's prose wraps at 80 columns (tmux) instead of ending in "…" (#3899): a launch step's detail (Claude's guidance note, the screen verdict, the next task's title) moves onto wrapped rows under its step when it does not fit beside it, and the "Create the mission and its tasks" label no longer runs into its detail; on the record, the expanded mission's state, plan, evidence, executor and blocked-reason lines, the stale and attention notes, the legend and the observation note wrap; the Mission options "not offered by this session" hint wraps.+## 0.44.2 — 2026-10-14- fix: the console reads the project on Windows (#4175, thanks @GangOn0215). Every path under the working directory came out as `C:\dev\app/C:\dev\app/.claude-flow/...` (the working directory prefixed twice, because the host wrapper counted only a leading `/` as absolute), so every read failed with ENOENT, the project showed as "Unregistered" and the pane never opened on its own. A drive path (`C:\x` or `C:/x`) and a UNC share (`\\server\share`) now count as absolute (`hooks/data/abs-path.ts`). Tested on win32-style paths only: no Windows machine was available to run the pane. The same leading-`/` test still guards a few other spots (ADR folder, event export, workflow file, mission cost, plugin catalog); those refuse Windows paths rather than misplace them, and are left to the Windows work in #4036.diff --git a/plugins/ruflo-console/hooks/version.ts b/plugins/ruflo-console/hooks/version.tsindex 6d28ba32ad..7e00208bc0 100644--- a/plugins/ruflo-console/hooks/version.ts+++ b/plugins/ruflo-console/hooks/version.ts@@ -2,4 +2,4 @@* 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.44.2'+export const CONSOLE_VERSION = '0.44.3'diff --git a/plugins/ruflo-console/hooks/views/mission-control.ts b/plugins/ruflo-console/hooks/views/mission-control.tsindex 50b3191d78..f61109b121 100644--- a/plugins/ruflo-console/hooks/views/mission-control.ts+++ b/plugins/ruflo-console/hooks/views/mission-control.ts@@ -56,7 +56,7 @@ function skillRows(ctx: Ctx): RenderElement[] {})const missing = MISSION_SKILLS.filter(skill => !isAvailable(ctx.state, skill)).length- return section(ctx, 'skills', 'Mission options', `${GOALS_PLUGIN} skills, run in the main Claude UI · ★ suits ${mc.profile}`, [...rows, text(ctx, missing > 0 ? ` ${missing} not offered by this session: install ${GOALS_PLUGIN} (Plugin Catalog), then /reload-plugins` : ` each runs /${GOALS_PLUGIN}:<skill> on the goal now, or prepares it in the prompt box while a turn runs`, { dimColor: true })])+ return section(ctx, 'skills', 'Mission options', `${GOALS_PLUGIN} skills, run in the main Claude UI · ★ suits ${mc.profile}`, [...rows, ...paragraph(ctx, missing > 0 ? ` ${missing} not offered by this session: install ${GOALS_PLUGIN} (Plugin Catalog), then /reload-plugins` : ` each runs /${GOALS_PLUGIN}:<skill> on the goal now, or prepares it in the prompt box while a turn runs`, { dimColor: true }, ' ')])}function planRows(ctx: Ctx): RenderElement[] {diff --git a/plugins/ruflo-console/hooks/views/mission-launch.ts b/plugins/ruflo-console/hooks/views/mission-launch.tsindex 1660f9a6d7..9d5176ac22 100644--- a/plugins/ruflo-console/hooks/views/mission-launch.ts+++ b/plugins/ruflo-console/hooks/views/mission-launch.ts@@ -3,7 +3,7 @@ import type { RenderElement } from 'claude-code'import { activeMission, derive, mcOf, nextTask, progressOf } from '../mission-control'import { blocksCreate, blocksGuidance, capabilitiesOf, PLUGIN_NOTES } from '../mission-options'import { settingsOf } from '../settings'-import { clip, col, confirmHere, row, section, text, THEME, type Ctx } from './common'+import { clip, col, confirmHere, paragraph, row, section, text, THEME, type Ctx } from './common'type StepState = 'done' | 'next' | 'todo' | 'running' | 'blocked' | 'skip'type Step = { id: string; label: string; state: StepState; detail: string; action?: { key: string; label: string; run: () => void } }@@ -60,7 +60,7 @@ export function launchSteps(ctx: Ctx): Step[] {id: 'run',label: 'Hand tasks to Claude',state: mission === null ? 'todo' : total > 0 && done >= total ? 'done' : isRunning ? 'running' : 'todo',- detail: mission === null ? 'after the mission exists' : `${done}/${total} done${mission.paused ? ' · paused' : ''}${next !== null ? ` · next ${next.id} ${clip(next.title, 40)}` : ''}`,+ detail: mission === null ? 'after the mission exists' : `${done}/${total} done${mission.paused ? ' · paused' : ''}${next !== null ? ` · next ${next.id} ${next.title}` : ''}`,...(next !== null ? { action: { key: 'mc-todo-run', label: ' ▶ run next ', run: () => m.next() } } : {}),})@@ -82,17 +82,26 @@ export function launchRows(ctx: Ctx): RenderElement[] {const steps = launchSteps(ctx)const next = steps.find(step => step.state === 'next')- const lines = steps.map(step =>- row(- ctx,- [- ctx.kit.Text({ bold: step.state === 'next', color: COLOR[step.state], children: ` ${GLYPH[step.state]} ${step.label.padEnd(32)}` }),- ctx.kit.Text({ dimColor: step.state !== 'next', wrap: 'truncate-end', children: clip(step.detail, Math.max(16, ctx.columns - 50)) }),- ...(step.action === undefined ? [] : [ctx.kit.Button({ key: step.action.key, label: step.action.label, ...(step.state === 'next' && { variant: 'primary' as const }), onPress: step.action.run })]),- ],- `todo-${step.id}`,- ),- )+ // A detail that does not fit beside its label (80 columns in tmux: Claude's guidance note, a screen verdict) wraps on the rows under it+ // instead of ending in "…" (#3899). The box's border and padding take 4 columns.+ const inner: Ctx = { ...ctx, columns: ctx.columns - 4 }+ const lines = steps.flatMap(step => {+ const button = step.action === undefined ? [] : [ctx.kit.Button({ key: step.action.key, label: step.action.label, ...(step.state === 'next' && { variant: 'primary' as const }), onPress: step.action.run })]+ const fits = step.detail.length <= inner.columns - 36 - (step.action?.label.length ?? 0)++ return [+ row(+ ctx,+ [+ ctx.kit.Text({ bold: step.state === 'next', color: COLOR[step.state], children: ` ${GLYPH[step.state]} ${step.label.padEnd(32)} ` }),+ ...(fits ? [ctx.kit.Text({ dimColor: step.state !== 'next', children: step.detail })] : []),+ ...button,+ ],+ `todo-${step.id}`,+ ),+ ...(fits ? [] : paragraph(inner, ` ${step.detail}`, { dimColor: step.state !== 'next' }, ' ')),+ ]+ })return [ctx.kit.Box({diff --git a/plugins/ruflo-console/hooks/views/missions.ts b/plugins/ruflo-console/hooks/views/missions.tsindex 1644308359..841ca8b216 100644--- a/plugins/ruflo-console/hooks/views/missions.ts+++ b/plugins/ruflo-console/hooks/views/missions.ts@@ -2,7 +2,7 @@ import type { RenderElement } from 'claude-code'import { money, type Mission } from '../data/missions'import { attentionCount, clampCursor, freshnessOf, isLive, listLayout, spinAt } from '../mission-list'-import { ago, kv, paragraph, rule, text, THEME, type Ctx } from './common'+import { ago, paragraph, rule, text, THEME, type Ctx } from './common'import { researchRows } from './research-section'import { own } from '../data/safe'@@ -15,24 +15,28 @@ function missionRows(ctx: Ctx, mission: Mission, isFirst: boolean): RenderElemenconst budget = mission.budgetconst rows: RenderElement[] = [...paragraph(ctx, `${isFirst ? '▸' : ' '} ${mission.objective || '(no objective)'}`, { bold: true, ...(own(STATE_COLOR, mission.state) !== undefined && { color: own(STATE_COLOR, mission.state) }) }, ' '),- text(+ ...paragraph(ctx,` ${isLive(mission.state) ? `${spinAt(ctx.nowMs)} ` : ''}${mission.state} · rev ${mission.revision} · ${mission.executionMode === 'session-bound' ? 'session-bound (runs only while a session drives it)' : mission.executionMode} · ${mission.id}`,{ dimColor: true },+ ' ',),- text(+ ...paragraph(ctx,` plan rev ${mission.plan.revision}: ${mission.plan.taskCount === 0 ? 'no tasks yet' : mission.plan.tasks.map(task => `${task.status === 'running' ? spinAt(ctx.nowMs) : (own(TASK_GLYPH, task.status) ?? '?')} ${task.id}`).join(' → ')}${mission.plan.taskCount > mission.plan.tasks.length ? ` (+${mission.plan.taskCount - mission.plan.tasks.length})` : ''}`,+ {},+ ' ',),- text(+ ...paragraph(ctx,` evidence ${mission.evidence.verified}/${mission.evidence.count} verified · budget ${budget === null ? 'none' : `${money(budget.settledMinor, budget.currency)} settled, ${money(budget.reservedMinor, budget.currency)} reserved of ${money(budget.ceilingMinor, budget.currency)} (estimate ${money(budget.estimatedMinor, budget.currency)})`}`,{ dimColor: true },+ ' ',),]- if (mission.executor !== null) rows.push(text(ctx, ` executor ${mission.executor.connection} (seen ${ago(mission.executor.observedAtMs, ctx.nowMs)}; not connected is not failed)`, { dimColor: true }))- if (mission.blockedReason !== undefined) rows.push(text(ctx, ` blocked: ${mission.blockedReason}`, { color: THEME.bad }))+ if (mission.executor !== null) rows.push(...paragraph(ctx, ` executor ${mission.executor.connection} (seen ${ago(mission.executor.observedAtMs, ctx.nowMs)}; not connected is not failed)`, { dimColor: true }, ' '))+ if (mission.blockedReason !== undefined) rows.push(...paragraph(ctx, ` blocked: ${mission.blockedReason}`, { color: THEME.bad }, ' '))if (mission.unresolvedOperations > 0) rows.push(text(ctx, ` ${mission.unresolvedOperations} operation(s) unresolved`, { color: THEME.warn }))return rows@@ -54,11 +58,11 @@ export function observationRows(ctx: Ctx): RenderElement[] {}if (observation.missions.length === 0) rows.push(text(ctx, 'No missions yet.', { dimColor: true }))- if (freshnessOf(observation.observedAtMs, ctx.nowMs) === 'stale') rows.push(text(ctx, ` observation is stale (last written ${ago(observation.observedAtMs, ctx.nowMs)}): the daemon may have stopped`, { color: THEME.warn }))+ if (freshnessOf(observation.observedAtMs, ctx.nowMs) === 'stale') rows.push(...paragraph(ctx, ` observation is stale (last written ${ago(observation.observedAtMs, ctx.nowMs)}): the daemon may have stopped`, { color: THEME.warn }, ' '))const attention = attentionCount(observation.missions)- if (attention > 0) rows.push(text(ctx, ` ${attention} need attention (blocked or failed): listed first`, { color: THEME.bad }))+ if (attention > 0) rows.push(...paragraph(ctx, ` ${attention} need attention (blocked or failed): listed first`, { color: THEME.bad }, ' '))// One line a mission; the cursor's mission (j and k move it) is expanded below the list.const cursor = clampCursor(ctx.state.select.item, observation.missions.length)@@ -68,8 +72,8 @@ export function observationRows(ctx: Ctx): RenderElement[] {if (layout.hidden > 0) rows.push(text(ctx, ` ${layout.hidden} more not shown · j and k scroll`, { dimColor: true }))if (layout.expanded !== null) rows.push(...missionRows(ctx, layout.expanded, true))- rows.push(kv(ctx, 'legend', '○ pending · ◐ running · ● recorded done (recorded, not verified) · ✖ failed'))- rows.push(text(ctx, 'observation only: actions go through `npx ruflo mission action` with a request id and the expected revision', { dimColor: true }))+ rows.push(...paragraph(ctx, 'legend: ○ pending · ◐ running · ● recorded done (recorded, not verified) · ✖ failed', { dimColor: true }, ' '))+ rows.push(...paragraph(ctx, 'observation only: actions go through `npx ruflo mission action` with a request id and the expected revision', { dimColor: true }, ' '))return rows}diff --git a/plugins/ruflo-console/scripts/smoke.sh b/plugins/ruflo-console/scripts/smoke.shindex 5155b54e45..c3ee11384a 100755--- a/plugins/ruflo-console/scripts/smoke.sh+++ b/plugins/ruflo-console/scripts/smoke.sh@@ -11,9 +11,9 @@ step() { printf "→ %s ... " "$1"; }ok() { printf "PASS\n"; PASS=$((PASS+1)); }bad() { printf "FAIL: %s\n" "$1"; FAIL=$((FAIL+1)); }-step "1. plugin.json declares ruflo-console 0.44.2"+step "1. plugin.json declares ruflo-console 0.44.3"grep -q '"name": "ruflo-console"' "$ROOT/.claude-plugin/plugin.json" \- && grep -q '"version": "0.44.2"' "$ROOT/.claude-plugin/plugin.json" && ok || bad "name/version"+ && grep -q '"version": "0.44.3"' "$ROOT/.claude-plugin/plugin.json" && ok || bad "name/version"step "2. hooks.json names exactly one module and no classic hook commands"grep -q '"modules": \["./register.ts"\]' "$HOOKS/hooks.json" && ! grep -q '"command"' "$HOOKS/hooks.json" \diff --git a/plugins/ruflo-console/tests/narrow-width.spec.ts b/plugins/ruflo-console/tests/narrow-width.spec.tsindex a430f25de1..074123bc47 100644--- a/plugins/ruflo-console/tests/narrow-width.spec.ts+++ b/plugins/ruflo-console/tests/narrow-width.spec.ts@@ -98,3 +98,34 @@ describe('Mission Control at narrow widths (#3899)', () => {})}})++describe('Mission Control prose that still ended in "…" at 80 columns (#3899)', () => {+ it('a launch step whose detail does not fit beside its label wraps it underneath', () => {+ const note = 'Claude suggests starting with the failing test for an empty password, then guarding the handler and the form'+ const state = newState({})++ state.view = 'missions'+ mcOf(state).tab = 'plan'+ setGoal(state, 'fix the crash when the password is empty')+ mcOf(state).guidance = { goal: 'fix the crash when the password is empty', status: 'done', lines: [], note, stop: null, startedAtMs: 0 }+ const screen = viewText({ state, nowMs: Date.now(), columns: 80, act }, 'missions')++ expect(screen.replace(/\s+/g, ' ')).toContain(note)+ expect(screen.replace(/\s+/g, ' ')).toContain('writes the mission record and one ruflo task per plan node; runs no agent')+ })++ it('the record keeps a blocked reason, the legend and the observation note whole', () => {+ const blockedReason = 'the budget ceiling was reached before the second task could reserve its estimate'+ const state = newState({})++ state.view = 'missions'+ state.snapshot = { plugins: { installed: [] }, missions: parseMissions(JSON.stringify({ schemaVersion: 1, contract: 'ruflo.mission-observation/1', observedAt: new Date().toISOString(), missions: [{ missionId: 'msn_blocked', objective: 'ship it', state: 'blocked', blockedReason, revision: 1, plan: { revision: 1, taskCount: 0, tasks: [] }, evidence: { count: 0, verified: 0 } }] })) } as never+ mcOf(state).tab = 'record'+ const screen = viewText({ state, nowMs: Date.now(), columns: 80, act }, 'missions')+ const flat = screen.replace(/\s+/g, ' ')++ expect(flat).toContain(`blocked: ${blockedReason}`)+ expect(flat).toContain('● recorded done (recorded, not verified) · ✖ failed')+ expect(flat).toContain('with a request id and the expected revision')+ })+})