cc-viewer 0.2.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>Claude Code Viewer</title>
7
7
 
8
- <script type="module" crossorigin src="/assets/index-BX8W4MxH.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-DHxuhfJE.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-C7-c9XfU.css">
10
10
  </head>
11
11
  <body>
package/lib/server.js CHANGED
@@ -264,7 +264,7 @@ function handleRequest(req, res) {
264
264
  // 去掉 query string
265
265
  filePath = filePath.split('?')[0];
266
266
 
267
- const fullPath = join(__dirname, filePath);
267
+ const fullPath = join(__dirname, 'dist', filePath);
268
268
 
269
269
  try {
270
270
  if (existsSync(fullPath) && statSync(fullPath).isFile()) {
@@ -281,7 +281,7 @@ function handleRequest(req, res) {
281
281
 
282
282
  // SPA fallback: 非 API/非静态文件请求返回 index.html
283
283
  try {
284
- const indexPath = join(__dirname, 'index.html');
284
+ const indexPath = join(__dirname, 'dist', 'index.html');
285
285
  const html = readFileSync(indexPath, 'utf-8');
286
286
  res.writeHead(200, { 'Content-Type': 'text/html; charset=utf-8' });
287
287
  res.end(html);
package/locales/ar.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "الإجمالي: {count}",
26
26
  "ui.waitingRequests": "في انتظار الطلبات...",
27
27
  "ui.importLocalLogs": "استيراد السجلات المحلية",
28
- "ui.saveLog": "حفظ السجل الحالي",
28
+ "ui.loadLocalJsonl": "اختيار ملف JSONL محلي",
29
+ "ui.fileTooLarge": "حجم الملف لا يمكن أن يتجاوز 200 ميجابايت",
30
+ "ui.saveLog": "تحميل السجل الحالي",
29
31
  "ui.exportPrompts": "تصدير Prompt المستخدم",
32
+ "ui.exportPromptsTxt": "تصدير إلى ملف .txt محلي",
30
33
  "ui.tokenStats": "إحصائيات Token",
31
34
  "ui.liveMonitoring": "مباشر",
32
35
  "ui.historyLog": "السجل: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ توسيع",
60
63
  "ui.collapse": "▼ طي",
61
- "ui.noChat": "لا توجد بيانات محادثة MainAgent"
64
+ "ui.noChat": "لا توجد بيانات محادثة MainAgent",
65
+ "ui.diffWithPrev": "الفرق مع الطلب السابق",
66
+ "ui.diffSessionChanged": "حجم نص الطلب انخفض، ربما بسبب /clear أو /compact أو تغيير الجلسة"
62
67
  }
package/locales/da.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Total: {count}",
26
26
  "ui.waitingRequests": "Venter på forespørgsler...",
27
27
  "ui.importLocalLogs": "Importér lokale logs",
28
- "ui.saveLog": "Gem nuværende log",
28
+ "ui.loadLocalJsonl": "Vælg lokal JSONL-fil",
29
+ "ui.fileTooLarge": "Filstørrelsen må ikke overstige 200MB",
30
+ "ui.saveLog": "Download nuværende log",
29
31
  "ui.exportPrompts": "Eksportér bruger-prompts",
32
+ "ui.exportPromptsTxt": "Eksportér til lokal .txt",
30
33
  "ui.tokenStats": "Token-statistik",
31
34
  "ui.liveMonitoring": "Live",
32
35
  "ui.historyLog": "Historik: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Udvid",
60
63
  "ui.collapse": "▼ Fold sammen",
61
- "ui.noChat": "Ingen MainAgent samtaledata"
64
+ "ui.noChat": "Ingen MainAgent samtaledata",
65
+ "ui.diffWithPrev": "Diff med forrige anmodning",
66
+ "ui.diffSessionChanged": "Anmodningens størrelse er reduceret, muligvis på grund af /clear, /compact eller sessionsændring"
62
67
  }
package/locales/de.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Gesamt: {count}",
26
26
  "ui.waitingRequests": "Warte auf Anfragen...",
27
27
  "ui.importLocalLogs": "Lokale Logs importieren",
28
- "ui.saveLog": "Aktuelles Log speichern",
28
+ "ui.loadLocalJsonl": "Lokale JSONL-Datei auswählen",
29
+ "ui.fileTooLarge": "Dateigröße darf 200MB nicht überschreiten",
30
+ "ui.saveLog": "Aktuelles Log herunterladen",
29
31
  "ui.exportPrompts": "Benutzer-Prompts exportieren",
32
+ "ui.exportPromptsTxt": "Als lokale .txt exportieren",
30
33
  "ui.tokenStats": "Token-Statistik",
31
34
  "ui.liveMonitoring": "Live",
32
35
  "ui.historyLog": "Verlauf: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Aufklappen",
60
63
  "ui.collapse": "▼ Zuklappen",
61
- "ui.noChat": "Keine MainAgent-Gesprächsdaten"
64
+ "ui.noChat": "Keine MainAgent-Gesprächsdaten",
65
+ "ui.diffWithPrev": "Diff zur vorherigen Anfrage",
66
+ "ui.diffSessionChanged": "Anfragekörper wurde kleiner, möglicherweise durch /clear, /compact oder Sitzungswechsel"
62
67
  }
package/locales/en.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Total: {count}",
26
26
  "ui.waitingRequests": "Waiting for requests...",
27
27
  "ui.importLocalLogs": "Import local logs",
28
- "ui.saveLog": "Save current log",
28
+ "ui.loadLocalJsonl": "Load local JSONL file",
29
+ "ui.fileTooLarge": "File size cannot exceed 200MB",
30
+ "ui.saveLog": "Download current log",
29
31
  "ui.exportPrompts": "Export user prompts",
32
+ "ui.exportPromptsTxt": "Export to local .txt",
30
33
  "ui.tokenStats": "Token Stats",
31
34
  "ui.liveMonitoring": "Live",
32
35
  "ui.historyLog": "History: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Expand",
60
63
  "ui.collapse": "▼ Collapse",
61
- "ui.noChat": "No MainAgent conversation data"
64
+ "ui.noChat": "No MainAgent conversation data",
65
+ "ui.diffWithPrev": "Diff with previous request",
66
+ "ui.diffSessionChanged": "Request body size decreased, possibly due to /clear, /compact, or session change"
62
67
  }
package/locales/es.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Total: {count}",
26
26
  "ui.waitingRequests": "Esperando solicitudes...",
27
27
  "ui.importLocalLogs": "Importar logs locales",
28
- "ui.saveLog": "Guardar log actual",
28
+ "ui.loadLocalJsonl": "Seleccionar archivo JSONL local",
29
+ "ui.fileTooLarge": "El tamaño del archivo no puede superar 200MB",
30
+ "ui.saveLog": "Descargar log actual",
29
31
  "ui.exportPrompts": "Exportar prompts de usuario",
32
+ "ui.exportPromptsTxt": "Exportar a .txt local",
30
33
  "ui.tokenStats": "Estadísticas de Token",
31
34
  "ui.liveMonitoring": "En vivo",
32
35
  "ui.historyLog": "Historial: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Expandir",
60
63
  "ui.collapse": "▼ Contraer",
61
- "ui.noChat": "Sin datos de conversación de MainAgent"
64
+ "ui.noChat": "Sin datos de conversación de MainAgent",
65
+ "ui.diffWithPrev": "Diferencia con la solicitud anterior",
66
+ "ui.diffSessionChanged": "El tamaño del cuerpo de la solicitud disminuyó, posiblemente debido a /clear, /compact o cambio de sesión"
62
67
  }
package/locales/fr.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Total : {count}",
26
26
  "ui.waitingRequests": "En attente de requêtes...",
27
27
  "ui.importLocalLogs": "Importer les logs locaux",
28
- "ui.saveLog": "Enregistrer le log actuel",
28
+ "ui.loadLocalJsonl": "Sélectionner un fichier JSONL local",
29
+ "ui.fileTooLarge": "La taille du fichier ne peut pas dépasser 200 Mo",
30
+ "ui.saveLog": "Télécharger le log actuel",
29
31
  "ui.exportPrompts": "Exporter les prompts utilisateur",
32
+ "ui.exportPromptsTxt": "Exporter en .txt local",
30
33
  "ui.tokenStats": "Statistiques Token",
31
34
  "ui.liveMonitoring": "En direct",
32
35
  "ui.historyLog": "Historique : {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Déplier",
60
63
  "ui.collapse": "▼ Replier",
61
- "ui.noChat": "Aucune donnée de conversation MainAgent"
64
+ "ui.noChat": "Aucune donnée de conversation MainAgent",
65
+ "ui.diffWithPrev": "Diff avec la requête précédente",
66
+ "ui.diffSessionChanged": "La taille du corps de la requête a diminué, possiblement dû à /clear, /compact ou un changement de session"
62
67
  }
package/locales/it.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Totale: {count}",
26
26
  "ui.waitingRequests": "In attesa di richieste...",
27
27
  "ui.importLocalLogs": "Importa log locali",
28
- "ui.saveLog": "Salva log corrente",
28
+ "ui.loadLocalJsonl": "Seleziona file JSONL locale",
29
+ "ui.fileTooLarge": "La dimensione del file non può superare 200MB",
30
+ "ui.saveLog": "Scarica log corrente",
29
31
  "ui.exportPrompts": "Esporta prompt utente",
32
+ "ui.exportPromptsTxt": "Esporta in .txt locale",
30
33
  "ui.tokenStats": "Statistiche Token",
31
34
  "ui.liveMonitoring": "Live",
32
35
  "ui.historyLog": "Cronologia: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Espandi",
60
63
  "ui.collapse": "▼ Comprimi",
61
- "ui.noChat": "Nessun dato di conversazione MainAgent"
64
+ "ui.noChat": "Nessun dato di conversazione MainAgent",
65
+ "ui.diffWithPrev": "Diff con la richiesta precedente",
66
+ "ui.diffSessionChanged": "La dimensione del corpo della richiesta è diminuita, probabilmente a causa di /clear, /compact o cambio di sessione"
62
67
  }
package/locales/ja.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "合計: {count}",
26
26
  "ui.waitingRequests": "リクエスト待機中...",
27
27
  "ui.importLocalLogs": "ローカルログをインポート",
28
- "ui.saveLog": "現在のログを保存",
28
+ "ui.loadLocalJsonl": "ローカルJSONLファイルを選択",
29
+ "ui.fileTooLarge": "ファイルサイズは200MBを超えることはできません",
30
+ "ui.saveLog": "現在のログをダウンロード",
29
31
  "ui.exportPrompts": "ユーザー Prompt をエクスポート",
32
+ "ui.exportPromptsTxt": "ローカル .txt にエクスポート",
30
33
  "ui.tokenStats": "Token 消費統計",
31
34
  "ui.liveMonitoring": "リアルタイム監視中",
32
35
  "ui.historyLog": "履歴: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ 展開",
60
63
  "ui.collapse": "▼ 折りたたむ",
61
- "ui.noChat": "MainAgent の会話データがありません"
64
+ "ui.noChat": "MainAgent の会話データがありません",
65
+ "ui.diffWithPrev": "前回リクエストとの差分",
66
+ "ui.diffSessionChanged": "リクエストボディのサイズが減少しました。/clear、/compact、またはセッション変更の可能性があります"
62
67
  }
package/locales/ko.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "총 요청 수: {count}",
26
26
  "ui.waitingRequests": "요청 대기 중...",
27
27
  "ui.importLocalLogs": "로컬 로그 가져오기",
28
- "ui.saveLog": "현재 로그 저장",
28
+ "ui.loadLocalJsonl": "로컬 JSONL 파일 선택",
29
+ "ui.fileTooLarge": "파일 크기는 200MB를 초과할 수 없습니다",
30
+ "ui.saveLog": "현재 로그 다운로드",
29
31
  "ui.exportPrompts": "사용자 Prompt 내보내기",
32
+ "ui.exportPromptsTxt": "로컬 .txt로 내보내기",
30
33
  "ui.tokenStats": "Token 소비 통계",
31
34
  "ui.liveMonitoring": "실시간 모니터링",
32
35
  "ui.historyLog": "기록: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ 펼치기",
60
63
  "ui.collapse": "▼ 접기",
61
- "ui.noChat": "MainAgent 대화 데이터 없음"
64
+ "ui.noChat": "MainAgent 대화 데이터 없음",
65
+ "ui.diffWithPrev": "이전 요청과의 차이",
66
+ "ui.diffSessionChanged": "요청 본문 크기가 줄었습니다. /clear, /compact 또는 세션 변경이 있었을 수 있습니다"
62
67
  }
package/locales/no.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Totalt: {count}",
26
26
  "ui.waitingRequests": "Venter på forespørsler...",
27
27
  "ui.importLocalLogs": "Importer lokale logger",
28
- "ui.saveLog": "Lagre gjeldende logg",
28
+ "ui.loadLocalJsonl": "Velg lokal JSONL-fil",
29
+ "ui.fileTooLarge": "Filstørrelsen kan ikke overstige 200MB",
30
+ "ui.saveLog": "Last ned gjeldende logg",
29
31
  "ui.exportPrompts": "Eksporter bruker-prompts",
32
+ "ui.exportPromptsTxt": "Eksporter til lokal .txt",
30
33
  "ui.tokenStats": "Token-statistikk",
31
34
  "ui.liveMonitoring": "Live",
32
35
  "ui.historyLog": "Historikk: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Utvid",
60
63
  "ui.collapse": "▼ Skjul",
61
- "ui.noChat": "Ingen MainAgent samtaledata"
64
+ "ui.noChat": "Ingen MainAgent samtaledata",
65
+ "ui.diffWithPrev": "Diff med forrige forespørsel",
66
+ "ui.diffSessionChanged": "Forespørselens størrelse ble redusert, muligens på grunn av /clear, /compact eller sesjonsendring"
62
67
  }
package/locales/pl.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Łącznie: {count}",
26
26
  "ui.waitingRequests": "Oczekiwanie na żądania...",
27
27
  "ui.importLocalLogs": "Importuj lokalne logi",
28
- "ui.saveLog": "Zapisz bieżący log",
28
+ "ui.loadLocalJsonl": "Wybierz lokalny plik JSONL",
29
+ "ui.fileTooLarge": "Rozmiar pliku nie może przekraczać 200MB",
30
+ "ui.saveLog": "Pobierz bieżący log",
29
31
  "ui.exportPrompts": "Eksportuj prompty użytkownika",
32
+ "ui.exportPromptsTxt": "Eksportuj do lokalnego .txt",
30
33
  "ui.tokenStats": "Statystyki Token",
31
34
  "ui.liveMonitoring": "Na żywo",
32
35
  "ui.historyLog": "Historia: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Rozwiń",
60
63
  "ui.collapse": "▼ Zwiń",
61
- "ui.noChat": "Brak danych rozmowy MainAgent"
64
+ "ui.noChat": "Brak danych rozmowy MainAgent",
65
+ "ui.diffWithPrev": "Różnica z poprzednim żądaniem",
66
+ "ui.diffSessionChanged": "Rozmiar treści żądania zmniejszył się, prawdopodobnie z powodu /clear, /compact lub zmiany sesji"
62
67
  }
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Total: {count}",
26
26
  "ui.waitingRequests": "Aguardando requisições...",
27
27
  "ui.importLocalLogs": "Importar logs locais",
28
- "ui.saveLog": "Salvar log atual",
28
+ "ui.loadLocalJsonl": "Selecionar arquivo JSONL local",
29
+ "ui.fileTooLarge": "O tamanho do arquivo não pode exceder 200MB",
30
+ "ui.saveLog": "Baixar log atual",
29
31
  "ui.exportPrompts": "Exportar prompts do usuário",
32
+ "ui.exportPromptsTxt": "Exportar para .txt local",
30
33
  "ui.tokenStats": "Estatísticas de Token",
31
34
  "ui.liveMonitoring": "Ao vivo",
32
35
  "ui.historyLog": "Histórico: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Expandir",
60
63
  "ui.collapse": "▼ Recolher",
61
- "ui.noChat": "Sem dados de conversa do MainAgent"
64
+ "ui.noChat": "Sem dados de conversa do MainAgent",
65
+ "ui.diffWithPrev": "Diff com a requisição anterior",
66
+ "ui.diffSessionChanged": "O tamanho do corpo da requisição diminuiu, possivelmente devido a /clear, /compact ou mudança de sessão"
62
67
  }
package/locales/ru.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Всего: {count}",
26
26
  "ui.waitingRequests": "Ожидание запросов...",
27
27
  "ui.importLocalLogs": "Импорт локальных логов",
28
- "ui.saveLog": "Сохранить текущий лог",
28
+ "ui.loadLocalJsonl": "Выбрать локальный JSONL файл",
29
+ "ui.fileTooLarge": "Размер файла не может превышать 200МБ",
30
+ "ui.saveLog": "Скачать текущий лог",
29
31
  "ui.exportPrompts": "Экспорт пользовательских Prompt",
32
+ "ui.exportPromptsTxt": "Экспорт в локальный .txt",
30
33
  "ui.tokenStats": "Статистика Token",
31
34
  "ui.liveMonitoring": "Мониторинг",
32
35
  "ui.historyLog": "История: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Развернуть",
60
63
  "ui.collapse": "▼ Свернуть",
61
- "ui.noChat": "Нет данных диалога MainAgent"
64
+ "ui.noChat": "Нет данных диалога MainAgent",
65
+ "ui.diffWithPrev": "Отличия от предыдущего запроса",
66
+ "ui.diffSessionChanged": "Размер тела запроса уменьшился, возможно из-за /clear, /compact или смены сессии"
62
67
  }
package/locales/th.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "ทั้งหมด: {count}",
26
26
  "ui.waitingRequests": "รอคำขอ...",
27
27
  "ui.importLocalLogs": "นำเข้าบันทึกในเครื่อง",
28
- "ui.saveLog": "บันทึกล็อกปัจจุบัน",
28
+ "ui.loadLocalJsonl": "เลือกไฟล์ JSONL ในเครื่อง",
29
+ "ui.fileTooLarge": "ขนาดไฟล์ต้องไม่เกิน 200MB",
30
+ "ui.saveLog": "ดาวน์โหลดล็อกปัจจุบัน",
29
31
  "ui.exportPrompts": "ส่งออก Prompt ผู้ใช้",
32
+ "ui.exportPromptsTxt": "ส่งออกเป็นไฟล์ .txt ในเครื่อง",
30
33
  "ui.tokenStats": "สถิติ Token",
31
34
  "ui.liveMonitoring": "สด",
32
35
  "ui.historyLog": "ประวัติ: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ ขยาย",
60
63
  "ui.collapse": "▼ ย่อ",
61
- "ui.noChat": "ไม่มีข้อมูลการสนทนา MainAgent"
64
+ "ui.noChat": "ไม่มีข้อมูลการสนทนา MainAgent",
65
+ "ui.diffWithPrev": "ความแตกต่างกับคำขอก่อนหน้า",
66
+ "ui.diffSessionChanged": "ขนาดเนื้อหาคำขอลดลง อาจเกิดจาก /clear, /compact หรือการเปลี่ยนเซสชัน"
62
67
  }
package/locales/tr.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Toplam: {count}",
26
26
  "ui.waitingRequests": "İstekler bekleniyor...",
27
27
  "ui.importLocalLogs": "Yerel logları içe aktar",
28
- "ui.saveLog": "Mevcut logu kaydet",
28
+ "ui.loadLocalJsonl": "Yerel JSONL dosyası seç",
29
+ "ui.fileTooLarge": "Dosya boyutu 200MB'ı aşamaz",
30
+ "ui.saveLog": "Mevcut günlüğü indir",
29
31
  "ui.exportPrompts": "Kullanıcı Prompt'larını dışa aktar",
32
+ "ui.exportPromptsTxt": "Yerel .txt olarak dışa aktar",
30
33
  "ui.tokenStats": "Token İstatistikleri",
31
34
  "ui.liveMonitoring": "Canlı",
32
35
  "ui.historyLog": "Geçmiş: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Genişlet",
60
63
  "ui.collapse": "▼ Daralt",
61
- "ui.noChat": "MainAgent konuşma verisi yok"
64
+ "ui.noChat": "MainAgent konuşma verisi yok",
65
+ "ui.diffWithPrev": "Önceki istekle fark",
66
+ "ui.diffSessionChanged": "İstek gövdesi boyutu küçüldü, muhtemelen /clear, /compact veya oturum değişikliği nedeniyle"
62
67
  }
package/locales/uk.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "Всього: {count}",
26
26
  "ui.waitingRequests": "Очікування запитів...",
27
27
  "ui.importLocalLogs": "Імпорт локальних логів",
28
- "ui.saveLog": "Зберегти поточний лог",
28
+ "ui.loadLocalJsonl": "Вибрати локальний JSONL файл",
29
+ "ui.fileTooLarge": "Розмір файлу не може перевищувати 200МБ",
30
+ "ui.saveLog": "Завантажити поточний лог",
29
31
  "ui.exportPrompts": "Експорт Prompt користувача",
32
+ "ui.exportPromptsTxt": "Експорт у локальний .txt",
30
33
  "ui.tokenStats": "Статистика Token",
31
34
  "ui.liveMonitoring": "Моніторинг",
32
35
  "ui.historyLog": "Історія: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ Розгорнути",
60
63
  "ui.collapse": "▼ Згорнути",
61
- "ui.noChat": "Немає даних діалогу MainAgent"
64
+ "ui.noChat": "Немає даних діалогу MainAgent",
65
+ "ui.diffWithPrev": "Відмінності від попереднього запиту",
66
+ "ui.diffSessionChanged": "Розмір тіла запиту зменшився, можливо через /clear, /compact або зміну сесії"
62
67
  }
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "總請求數: {count}",
26
26
  "ui.waitingRequests": "等待請求...",
27
27
  "ui.importLocalLogs": "匯入本地日誌",
28
- "ui.saveLog": "當前日誌另存為",
28
+ "ui.loadLocalJsonl": "直接選擇載入本地jsonl檔案",
29
+ "ui.fileTooLarge": "檔案大小不能超過 200MB",
30
+ "ui.saveLog": "下載當前日誌",
29
31
  "ui.exportPrompts": "匯出用戶 Prompt",
32
+ "ui.exportPromptsTxt": "匯出到本地 .txt",
30
33
  "ui.tokenStats": "Token 消耗統計",
31
34
  "ui.liveMonitoring": "即時監控中",
32
35
  "ui.historyLog": "歷史日誌: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ 展開",
60
63
  "ui.collapse": "▼ 收起",
61
- "ui.noChat": "暫無 MainAgent 對話資料"
64
+ "ui.noChat": "暫無 MainAgent 對話資料",
65
+ "ui.diffWithPrev": "與上次請求的差異",
66
+ "ui.diffSessionChanged": "請求體大小減小,可能使用了 /clear、/compact 或 session 發生了變化"
62
67
  }
package/locales/zh.json CHANGED
@@ -25,8 +25,11 @@
25
25
  "ui.totalRequests": "总请求数: {count}",
26
26
  "ui.waitingRequests": "等待请求...",
27
27
  "ui.importLocalLogs": "导入本地日志",
28
- "ui.saveLog": "当前日志另存为",
28
+ "ui.loadLocalJsonl": "直接选择加载本地jsonl文件",
29
+ "ui.fileTooLarge": "文件大小不能超过 200MB",
30
+ "ui.saveLog": "下载当前日志",
29
31
  "ui.exportPrompts": "导出用户 Prompt",
32
+ "ui.exportPromptsTxt": "导出到本地 .txt",
30
33
  "ui.tokenStats": "Token 消耗统计",
31
34
  "ui.liveMonitoring": "实时监控中",
32
35
  "ui.historyLog": "历史日志: {file}",
@@ -58,5 +61,7 @@
58
61
 
59
62
  "ui.expand": "▶ 展开",
60
63
  "ui.collapse": "▼ 收起",
61
- "ui.noChat": "暂无 MainAgent 对话数据"
64
+ "ui.noChat": "暂无 MainAgent 对话数据",
65
+ "ui.diffWithPrev": "与上次请求的差异",
66
+ "ui.diffSessionChanged": "请求体大小减小,可能使用了 /clear、/compact 或 session 发生了变化"
62
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-viewer",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "Claude Code Logger visualization management tool",
5
5
  "license": "MIT",
6
6
  "main": "lib/server.js",