Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(harness): bound long run detail titles (#1105)
Call Whiteff0bc6551354
diff --git a/ui/src/components/workbench/HarnessPage.test.tsx b/ui/src/components/workbench/HarnessPage.test.tsxindex bd046355c..f5f23c236 100644--- a/ui/src/components/workbench/HarnessPage.test.tsx+++ b/ui/src/components/workbench/HarnessPage.test.tsx@@ -7,7 +7,14 @@ import { describe, expect, it } from 'vitest';import en from '../../i18n/en.json';import type { HarnessRun, HarnessSessionSummary, HarnessWatch } from '../../context/ApiContext';-import { DetailSession, RunTriggerChip, WatchDetail, harnessEmptyStateKey, harnessTabFromParam } from './HarnessPage';+import {+ DetailSession,+ RunDetail,+ RunTriggerChip,+ WatchDetail,+ harnessEmptyStateKey,+ harnessTabFromParam,+} from './HarnessPage';import { RUN_TYPES, harnessSessionState, runRowTitle, runStatusLabel, runTypeLabel, runTypeOptions } from './harnessRuns';const i18n = createInstance();@@ -150,6 +157,18 @@ describe('runRowTitle', () => {});});+describe('RunDetail title', () => {+ it('bounds a pathological title while preserving the complete message', () => {+ const message = `Fix the parser regression.\\n\\n${'Preserve every trailing constraint. '.repeat(40)}`;+ const html = render(<RunDetail run={run({ message })} />);++ expect(html).toContain('line-clamp-2');+ expect(html).toContain('break-words');+ expect(html).toContain(`title="${message.trim()}"`);+ expect(html).toContain(message);+ });+});+describe('runTypeLabel / runStatusLabel', () => {it('maps known internal values to translation keys', () => {expect(runTypeLabel('hook_send', key)).toBe('harness.runType.hook_send');diff --git a/ui/src/components/workbench/HarnessPage.tsx b/ui/src/components/workbench/HarnessPage.tsxindex cb8c4519d..e0104bae6 100644--- a/ui/src/components/workbench/HarnessPage.tsx+++ b/ui/src/components/workbench/HarnessPage.tsx@@ -1507,17 +1507,21 @@ interface RunDetailProps {run: HarnessRun;}-const RunDetail: React.FC<RunDetailProps> = ({ run }) => {+export const RunDetail: React.FC<RunDetailProps> = ({ run }) => {const { t } = useTranslation();const typeLabel = runTypeLabel(run.run_type || run.request_type, t);+ const title = runRowTitle(run, typeLabel);return (<div className="flex flex-col gap-4"><div className="flex items-start gap-2"><span className="mt-0.5"><RunStatusIcon status={run.status} /></span>- <span className="min-w-0 flex-1 text-[13px] font-semibold text-foreground">- {runRowTitle(run, typeLabel)}+ <span+ className="line-clamp-2 min-w-0 flex-1 break-words text-[13px] font-semibold text-foreground"+ title={title}+ >+ {title}</span><spanclassName={clsx(