Skip to content

feat(tui): fold compaction summaries to one line - #192

Merged
its-janghoon merged 1 commit into
developfrom
feat/fold-compaction-summary
Oct 28, 2026
Merged

its-janghoon merged 1 commit into
developfrom
feat/fold-compaction-summary

Conversation

@its-janghoon

Copy link
Copy Markdown
Member

What's done

  • In the TUI session view, an assistant message with summary: true (a compaction summary) is folded to one muted line, ▸ 대화 요약 (눌러서 보기) / ▸ Conversation summary (click to show). Clicking opens and closes it.
  • New i18n key session.compaction.summary in en and ko.

What's not done

  • No change to when compaction runs. Compaction for redrob/free is addressed on the Console side (65,536-token window).

What to review

  • AssistantMessage in packages/tui/src/routes/session/index.tsx: parts are rendered only when the message is not a summary or the user opened it.

Intentions

The summary is bookkeeping, not an answer, and on small-window models it filled the screen several times per task.

Checked: bun run typecheck passes. packages/tui tests: 253 pass, 12 fail; the same 12 fail on develop without this change (i18n prompt/which-key tests).

A compaction summary is bookkeeping, not an answer. Show it as one
muted line (click to open) instead of the whole Objective / Important
Details markdown.
@its-janghoon
its-janghoon merged commit 35469b5 into develop Oct 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant