feat: make context compaction visible in channels (#5656)

* feat: surface context compaction lifecycle

* fix: complete and simplify context compaction notifications
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-05 20:21:54 +08:00
1 parent 455533169d
commit 5229989f28
52 files changed
+1849 -140

No files matched your search

+11
View File
@@ -1083,6 +1083,13 @@
"error": "Connection error"
},
"thread": {
"compaction": {
"cancelled": "Context compaction cancelled",
"empty": "Nothing to compact.",
"started": "Compressing context…",
"failed": "Context compaction failed",
"succeeded": "Context compacted"
},
"loadingConversation": "Loading conversation…",
"empty": {
"greetings": {
@@ -1277,6 +1284,10 @@
"title": "New chat",
"description": "Reset this chat and start a fresh conversation."
},
"compact": {
"title": "Compact context",
"description": "Compact this chat's context and continue the conversation."
},
"stop": {
"title": "Stop current task",
"description": "Cancel the active agent turn for this chat."
+11
View File
@@ -1070,6 +1070,13 @@
"error": "Error de conexión"
},
"thread": {
"compaction": {
"cancelled": "Compresión de contexto cancelada",
"empty": "No hay contexto que comprimir.",
"started": "Comprimiendo el contexto…",
"failed": "La compresión del contexto falló",
"succeeded": "Contexto comprimido"
},
"loadingConversation": "Cargando conversación…",
"empty": {
"greetings": {
@@ -1254,6 +1261,10 @@
"title": "Nuevo chat",
"description": "Restablece este chat e inicia una conversación nueva."
},
"compact": {
"title": "Compactar contexto",
"description": "Compacta el contexto de este chat y continúa la conversación."
},
"stop": {
"title": "Detener tarea actual",
"description": "Cancela el turno activo del agente en este chat."
+11
View File
@@ -1069,6 +1069,13 @@
"error": "Erreur de connexion"
},
"thread": {
"compaction": {
"cancelled": "Compression du contexte annulée",
"empty": "Aucun contexte à compresser.",
"started": "Compression du contexte…",
"failed": "Échec de la compression du contexte",
"succeeded": "Contexte compressé"
},
"loadingConversation": "Chargement de la conversation…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "Nouvelle discussion",
"description": "Réinitialiser cette discussion et démarrer une nouvelle conversation."
},
"compact": {
"title": "Compacter le contexte",
"description": "Compacter le contexte de cette discussion et poursuivre la conversation."
},
"stop": {
"title": "Arrêter la tâche en cours",
"description": "Annuler le tour actif de l’agent pour cette discussion."
+11
View File
@@ -1069,6 +1069,13 @@
"error": "Kesalahan koneksi"
},
"thread": {
"compaction": {
"cancelled": "Pemadatan konteks dibatalkan",
"empty": "Tidak ada konteks yang perlu dipadatkan.",
"started": "Memadatkan konteks…",
"failed": "Pemadatan konteks gagal",
"succeeded": "Konteks dipadatkan"
},
"loadingConversation": "Memuat percakapan…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "Obrolan baru",
"description": "Reset chat ini dan mulai percakapan baru."
},
"compact": {
"title": "Ringkas konteks",
"description": "Ringkas konteks chat ini, lalu lanjutkan percakapan."
},
"stop": {
"title": "Hentikan tugas saat ini",
"description": "Batalkan giliran agen yang sedang aktif di chat ini."
+11
View File
@@ -1069,6 +1069,13 @@
"error": "接続エラー"
},
"thread": {
"compaction": {
"cancelled": "コンテキストの圧縮をキャンセルしました",
"empty": "圧縮するコンテキストはありません。",
"started": "コンテキストを圧縮中…",
"failed": "コンテキストの圧縮に失敗しました",
"succeeded": "コンテキストを圧縮しました"
},
"loadingConversation": "会話を読み込み中…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "新しいチャット",
"description": "このチャットをリセットして、新しい会話を開始します。"
},
"compact": {
"title": "コンテキストを圧縮",
"description": "このチャットのコンテキストを圧縮して、会話を続けます。"
},
"stop": {
"title": "現在のタスクを停止",
"description": "このチャットで実行中のエージェントのターンをキャンセルします。"
+11
View File
@@ -1069,6 +1069,13 @@
"error": "연결 오류"
},
"thread": {
"compaction": {
"cancelled": "컨텍스트 압축이 취소되었습니다",
"empty": "압축할 컨텍스트가 없습니다.",
"started": "컨텍스트 압축 중…",
"failed": "컨텍스트 압축 실패",
"succeeded": "컨텍스트를 압축했습니다"
},
"loadingConversation": "대화 불러오는 중…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "새 채팅",
"description": "이 채팅을 초기화하고 새 대화를 시작합니다."
},
"compact": {
"title": "컨텍스트 압축",
"description": "이 채팅의 컨텍스트를 압축하고 대화를 계속합니다."
},
"stop": {
"title": "현재 작업 중지",
"description": "이 채팅에서 실행 중인 에이전트 턴을 취소합니다."
+11
View File
@@ -1083,6 +1083,13 @@
"error": "Erro de conexão"
},
"thread": {
"compaction": {
"cancelled": "Compactação do contexto cancelada",
"empty": "Não há contexto para compactar.",
"started": "Compactando contexto…",
"failed": "Falha ao compactar o contexto",
"succeeded": "Contexto compactado"
},
"loadingConversation": "Carregando conversa…",
"empty": {
"greetings": {
@@ -1277,6 +1284,10 @@
"title": "Nova conversa",
"description": "Reinicia esta conversa e inicia uma conversa nova."
},
"compact": {
"title": "Compactar contexto",
"description": "Compacte o contexto desta conversa e continue conversando."
},
"stop": {
"title": "Parar tarefa atual",
"description": "Cancela o turno ativo do agente nesta conversa."
+11
View File
@@ -1069,6 +1069,13 @@
"error": "Lỗi kết nối"
},
"thread": {
"compaction": {
"cancelled": "Đã hủy nén ngữ cảnh",
"empty": "Không có ngữ cảnh cần nén.",
"started": "Đang nén ngữ cảnh…",
"failed": "Nén ngữ cảnh không thành công",
"succeeded": "Đã nén ngữ cảnh"
},
"loadingConversation": "Đang tải cuộc trò chuyện…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "Cuộc trò chuyện mới",
"description": "Đặt lại cuộc trò chuyện này và bắt đầu một cuộc trò chuyện mới."
},
"compact": {
"title": "Nén ngữ cảnh",
"description": "Nén ngữ cảnh của cuộc trò chuyện này và tiếp tục hội thoại."
},
"stop": {
"title": "Dừng tác vụ hiện tại",
"description": "Hủy lượt của tác nhân đang chạy trong cuộc trò chuyện này."
+11
View File
@@ -1083,6 +1083,13 @@
"error": "连接出错"
},
"thread": {
"compaction": {
"cancelled": "上下文压缩已取消",
"empty": "无需压缩上下文",
"started": "正在压缩上下文…",
"failed": "上下文压缩失败",
"succeeded": "上下文已压缩"
},
"loadingConversation": "正在加载话题…",
"empty": {
"greetings": {
@@ -1276,6 +1283,10 @@
"title": "新建话题",
"description": "重置当前话题,并开始一个新的话题。"
},
"compact": {
"title": "压缩上下文",
"description": "压缩当前对话的上下文并继续对话。"
},
"stop": {
"title": "停止当前任务",
"description": "取消这个对话中正在运行的智能体回合。"
+11
View File
@@ -1069,6 +1069,13 @@
"error": "連線錯誤"
},
"thread": {
"compaction": {
"cancelled": "上下文壓縮已取消",
"empty": "無需壓縮上下文",
"started": "正在壓縮上下文…",
"failed": "上下文壓縮失敗",
"succeeded": "上下文已壓縮"
},
"loadingConversation": "正在載入話題…",
"empty": {
"greetings": {
@@ -1253,6 +1260,10 @@
"title": "新增話題",
"description": "重置目前話題,並開始新的話題。"
},
"compact": {
"title": "壓縮上下文",
"description": "壓縮目前對話的上下文並繼續對話。"
},
"stop": {
"title": "停止目前任務",
"description": "取消這個對話中正在執行的智能體回合。"