mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
chore(tui): remove dead branch cleanup code
- drop unused TUI helpers, test-only layout scaffolding, and stale public debug exports - remove an unused profiler import and trim test-only coverage for deleted helpers
This commit is contained in:
parent
635948d0e0
commit
ffa33e53f6
16 changed files with 9 additions and 57 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import { beforeEach, describe, expect, it } from 'vitest'
|
||||
|
||||
import {
|
||||
appendTurnSegment,
|
||||
archiveDoneTodos,
|
||||
archiveTodosAtTurnEnd,
|
||||
getTurnState,
|
||||
|
|
@ -64,13 +63,4 @@ describe('turnStore live progress helpers', () => {
|
|||
toggleTodoCollapsed()
|
||||
expect(getTurnState().todoCollapsed).toBe(false)
|
||||
})
|
||||
|
||||
it('merges adjacent live tool shelves before rendering', () => {
|
||||
appendTurnSegment({ kind: 'trail', role: 'system', text: '', tools: ['one ✓'] })
|
||||
appendTurnSegment({ kind: 'trail', role: 'system', text: '', tools: ['two ✓'] })
|
||||
|
||||
expect(getTurnState().streamSegments).toEqual([
|
||||
{ kind: 'trail', role: 'system', text: '', tools: ['one ✓', 'two ✓'] }
|
||||
])
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue