compact 이후 복원 메모 계층화와 compact UI 메타 축소

- post_compact_context 메시지에 compact summary 수와 structured tool history 블록 수를 추가해 compact 뒤 첫 query turn의 복원 맥락을 더 명확히 전달함

- compact 메타 카드를 더 짧은 한 줄 요약과 파일 개수 중심으로 줄여 transcript에서 운영 메타 밀도를 낮춤

- 컨텍스트 사용 팝업의 compact 디테일을 짧은 한국어 표현으로 정리해 claw-code 스타일의 얇은 운영 표현에 가깝게 맞춤

- README.md 및 docs/DEVELOPMENT.md를 2026-04-12 23:23 (KST) 기준으로 갱신함

- 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ (경고 0, 오류 0)
This commit is contained in:
2026-04-12 22:22:18 +09:00
parent c7b2bba063
commit 58b798d3e4
5 changed files with 53 additions and 15 deletions

View File

@@ -393,14 +393,21 @@ public partial class ChatWindow
var summary = message.MetaKind switch
{
"session_memory_compaction" => "이전 요약과 실행 경계를 하나의 세션 메모로 정리했습니다.",
"collapsed_boundary" => "이전 compact 경계를 합쳐 transcript를 더 가볍게 유지했습니다.",
_ => "오래된 실행/도구 결과를 줄여 다음 요청 컨텍스트를 가볍게 만들었습니다.",
"session_memory_compaction" => "이전 기록을 세션 메모로 정리했습니다.",
"collapsed_boundary" => "이전 압축 경계를 합쳤습니다.",
_ => "오래된 실행 기록을 줄였습니다.",
};
var detailBits = new List<string>();
if (message.AttachedFiles?.Count > 0)
detailBits.Add($"파일 {message.AttachedFiles.Count}개");
var compactDetail = detailBits.Count > 0
? $"{summary} · {string.Join(", ", detailBits)}"
: summary;
stack.Children.Add(new TextBlock
{
Text = summary,
Text = compactDetail,
FontSize = 10.5,
Foreground = secondaryText,
TextWrapping = TextWrapping.Wrap,