anthropics / anthropics/claude-code

Desktop app: /compact shows no progress indicator (terminal CLI has one)

オープン
#93,983 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:desktop area:tui enhancement platform:macos
主要言語
Python
スター
145k
フォーク
23.1k
PR マージ指標
PR 指標を取得中

説明

## Summary

In the Claude Code desktop app (Code tab), `/compact` gives no progress indication. The terminal CLI shows a live progress bar (`Compacting conversation… ▰▰▰▰▱▱▱▱ 21%`, as quoted in #60320); the desktop app renders a single static line and then, some time later, the compacted result.

## Current behavior (desktop app, Code tab)

Invoking `/compact` prints:

```
Compacted
```

That's it — no percentage, no bar, no elapsed indication. On a long session the compaction takes a meaningful amount of time, and during that window there is nothing distinguishing "working" from "wedged". The natural reaction is to wonder whether the command registered at all.

## Expected behavior

The same progress affordance the terminal already has. It exists, it's implemented, and it's the one piece of feedback that makes a slow blocking operation tolerable — it just doesn't surface in the desktop client.

## Why it matters

Compaction is unusual among Claude Code operations: it's blocking, it's slow in proportion to how much context you've accumulated, and it happens precisely at the moment you're deepest into a long session and least willing to lose your place. That's the worst possible time to remove the progress signal.

There's also a secondary parity gap in the same flow, which I'll file separately if it's preferred as its own issue: the terminal lets you export the conversation before compacting and read it back afterwards. The desktop app has no surfaced equivalent. The transcript is on disk as JSONL and can be recovered by hand, so no data is lost — but "shell out and parse JSONL" isn't a feature, and the pre-compaction state is exactly what a user wants to consult after a lossy summarization.

## Environment

- Claude Code 2.1.268
- macOS 26.6.2, arm64
- Desktop app, Code tab (terminal CLI on the same machine shows the progress bar normally)

## Related

- #60320 — closed as duplicate; requested the compaction-style progress bar be extended to tool execution. It documents the terminal compaction UI that this issue is asking the desktop app to match.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。