The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: exercise dock fills with terminal color enabled
Tekniumb3e5c437fc30
diff --git a/ui-tui/src/__tests__/agentsDock.test.tsx b/ui-tui/src/__tests__/agentsDock.test.tsxindex 378c2885515..c210bce63cc 100644--- a/ui-tui/src/__tests__/agentsDock.test.tsx+++ b/ui-tui/src/__tests__/agentsDock.test.tsx@@ -1,9 +1,10 @@import { PassThrough } from 'node:stream'import { renderSync } from '@hermes/ink'+import chalk from 'chalk'import React from 'react'import stripAnsi from 'strip-ansi'-import { expect, it } from 'vitest'+import { afterEach, beforeEach, expect, it } from 'vitest'import { renderToScreen } from '../../packages/hermes-ink/src/ink/render-to-screen.js'import { cellAtIndex } from '../../packages/hermes-ink/src/ink/screen.js'@@ -12,6 +13,11 @@ import { buildAgentRows, dockRowLimit } from '../lib/agentRows.js'import { DARK_THEME, DEFAULT_THEME, LIGHT_THEME } from '../theme.js'import type { SubagentProgress } from '../types.js'+const colorLevel = chalk.level++beforeEach(() => { chalk.level = 3 })+afterEach(() => { chalk.level = colorLevel })+const agent = (id: string): SubagentProgress => ({id,goal: 'Investigate authentication handshake '.repeat(8),