cc-viewer 1.0.2 → 1.0.4
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/README.md +3 -7
- package/cli.js +1 -1
- package/{lib/assets/index-Cc1O-iKV.js → dist/assets/index-DZBQn9fO.js} +125 -125
- package/{lib → dist}/index.html +1 -1
- package/locales/ar.json +2 -3
- package/locales/da.json +2 -3
- package/locales/de.json +2 -3
- package/locales/en.json +2 -3
- package/locales/es.json +2 -3
- package/locales/fr.json +2 -3
- package/locales/it.json +2 -3
- package/locales/ja.json +2 -3
- package/locales/ko.json +2 -3
- package/locales/no.json +2 -3
- package/locales/pl.json +2 -3
- package/locales/pt-BR.json +2 -3
- package/locales/ru.json +2 -3
- package/locales/th.json +2 -3
- package/locales/tr.json +2 -3
- package/locales/uk.json +2 -3
- package/locales/zh-TW.json +2 -3
- package/locales/zh.json +2 -3
- package/package.json +7 -6
- package/{lib/server.js → server.js} +66 -122
- /package/{lib → dist}/assets/index-C7-c9XfU.css +0 -0
package/{lib → dist}/index.html
RENAMED
|
@@ -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-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DZBQn9fO.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-C7-c9XfU.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/locales/ar.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ فشل التثبيت: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ لم يتم العثور على Claude Code cli.js: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " يرجى التأكد من تثبيت @anthropic-ai/claude-code",
|
|
8
|
-
"cli.hook.installed": "تم كتابة hook الإصلاح التلقائي في {path}",
|
|
9
8
|
"cli.hook.exists": "hook الإصلاح التلقائي موجود بالفعل في {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ فشل كتابة shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nلإلغاء التثبيت، قم بتشغيل: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ لا حاجة للتنظيف في {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ فشل تنظيف shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ تم إلغاء تثبيت CC Viewer بالكامل",
|
|
20
|
-
"server.started": "\n
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nتم تشغيل CC Viewer: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer يعمل بالفعل: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ المنافذ {start}-{end} كلها مشغولة، لم يتم تشغيل خدمة المراقبة",
|
|
23
22
|
"ui.requestList": "الطلبات",
|
|
24
23
|
"ui.totalRequests": "الإجمالي: {count}",
|
package/locales/da.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Installation mislykkedes: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js ikke fundet: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Sørg for at @anthropic-ai/claude-code er installeret",
|
|
8
|
-
"cli.hook.installed": "Auto-reparations-hook skrevet til {path}",
|
|
9
8
|
"cli.hook.exists": "Auto-reparations-hook findes allerede i {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Kunne ikke skrive shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nFor at afinstallere, kør: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Ingen oprydning nødvendig i {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Kunne ikke rense shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer fuldstændigt afinstalleret",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer startet: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer kører allerede: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Porte {start}-{end} er alle i brug, overvågningstjeneste ikke startet",
|
|
23
22
|
"ui.requestList": "Forespørgsler",
|
|
24
23
|
"ui.totalRequests": "Total: {count}",
|
package/locales/de.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Installation fehlgeschlagen: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js nicht gefunden: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Bitte stellen Sie sicher, dass @anthropic-ai/claude-code installiert ist",
|
|
8
|
-
"cli.hook.installed": "Auto-Reparatur-Hook in {path} geschrieben",
|
|
9
8
|
"cli.hook.exists": "Auto-Reparatur-Hook existiert bereits in {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Shell-Hook konnte nicht geschrieben werden: {error}",
|
|
11
10
|
"cli.usage.hint": "\nZum Deinstallieren: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Keine Bereinigung in {path} nötig",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Shell-Hook-Bereinigung fehlgeschlagen: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer vollständig deinstalliert",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer gestartet: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer läuft bereits: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Ports {start}-{end} sind alle belegt, Überwachungsdienst nicht gestartet",
|
|
23
22
|
"ui.requestList": "Anfragen",
|
|
24
23
|
"ui.totalRequests": "Gesamt: {count}",
|
package/locales/en.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Installation failed: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js not found: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Please make sure @anthropic-ai/claude-code is installed",
|
|
8
|
-
"cli.hook.installed": "Auto-repair hook written to {path}",
|
|
9
8
|
"cli.hook.exists": "Auto-repair hook already exists in {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Failed to write shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nTo uninstall, run: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ No cleanup needed in {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Failed to clean shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer fully uninstalled",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer started: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer already running: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Ports {start}-{end} are all in use, monitoring service not started",
|
|
23
22
|
"ui.requestList": "Requests",
|
|
24
23
|
"ui.totalRequests": "Total: {count}",
|
package/locales/es.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Instalación fallida: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js no encontrado: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Asegúrese de que @anthropic-ai/claude-code esté instalado",
|
|
8
|
-
"cli.hook.installed": "Hook de auto-reparación escrito en {path}",
|
|
9
8
|
"cli.hook.exists": "Hook de auto-reparación ya existe en {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Error al escribir el shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nPara desinstalar, ejecute: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ No se necesita limpieza en {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Error al limpiar el shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer desinstalado completamente",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer iniciado: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer ya en ejecución: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Puertos {start}-{end} están todos en uso, servicio de monitoreo no iniciado",
|
|
23
22
|
"ui.requestList": "Solicitudes",
|
|
24
23
|
"ui.totalRequests": "Total: {count}",
|
package/locales/fr.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Échec de l'installation : {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js introuvable : {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Veuillez vérifier que @anthropic-ai/claude-code est installé",
|
|
8
|
-
"cli.hook.installed": "Hook de réparation auto écrit dans {path}",
|
|
9
8
|
"cli.hook.exists": "Hook de réparation auto déjà présent dans {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Échec de l'écriture du shell hook : {error}",
|
|
11
10
|
"cli.usage.hint": "\nPour désinstaller, exécutez : ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Aucun nettoyage nécessaire dans {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Échec du nettoyage du shell hook : {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer entièrement désinstallé",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer démarré : http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer déjà en cours d'exécution : http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Ports {start}-{end} tous occupés, service de surveillance non démarré",
|
|
23
22
|
"ui.requestList": "Requêtes",
|
|
24
23
|
"ui.totalRequests": "Total : {count}",
|
package/locales/it.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Installazione fallita: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js non trovato: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Assicurati che @anthropic-ai/claude-code sia installato",
|
|
8
|
-
"cli.hook.installed": "Hook di auto-riparazione scritto in {path}",
|
|
9
8
|
"cli.hook.exists": "Hook di auto-riparazione già presente in {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Impossibile scrivere il shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nPer disinstallare, esegui: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Nessuna pulizia necessaria in {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Pulizia shell hook fallita: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer completamente disinstallato",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer avviato: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer già in esecuzione: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Porte {start}-{end} tutte in uso, servizio di monitoraggio non avviato",
|
|
23
22
|
"ui.requestList": "Richieste",
|
|
24
23
|
"ui.totalRequests": "Totale: {count}",
|
package/locales/ja.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ インストール失敗: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js が見つかりません: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " @anthropic-ai/claude-code がインストールされていることを確認してください",
|
|
8
|
-
"cli.hook.installed": "自動修復 hook を {path} に書き込みました",
|
|
9
8
|
"cli.hook.exists": "自動修復 hook は既に {path} に存在します",
|
|
10
9
|
"cli.hook.fail": "⚠️ shell hook の書き込みに失敗: {error}",
|
|
11
10
|
"cli.usage.hint": "\nアンインストールするには: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ {path} のクリーンアップは不要です",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ shell hook のクリーンアップに失敗: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer を完全にアンインストールしました",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer 起動: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer は既に実行中: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ ポート {start}-{end} はすべて使用中、監視サービスは起動されませんでした",
|
|
23
22
|
"ui.requestList": "リクエスト一覧",
|
|
24
23
|
"ui.totalRequests": "合計: {count}",
|
package/locales/ko.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ 설치 실패: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js를 찾을 수 없음: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " @anthropic-ai/claude-code가 설치되어 있는지 확인하세요",
|
|
8
|
-
"cli.hook.installed": "자동 복구 hook이 {path}에 작성됨",
|
|
9
8
|
"cli.hook.exists": "자동 복구 hook이 이미 {path}에 존재함",
|
|
10
9
|
"cli.hook.fail": "⚠️ shell hook 작성 실패: {error}",
|
|
11
10
|
"cli.usage.hint": "\n제거하려면 실행: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ {path}에서 정리할 항목 없음",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ shell hook 정리 실패: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer 완전히 제거됨",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer 시작됨: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer 이미 실행 중: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ 포트 {start}-{end} 모두 사용 중, 모니터링 서비스 미시작",
|
|
23
22
|
"ui.requestList": "요청 목록",
|
|
24
23
|
"ui.totalRequests": "총 요청 수: {count}",
|
package/locales/no.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Installasjon mislyktes: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js ikke funnet: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Sørg for at @anthropic-ai/claude-code er installert",
|
|
8
|
-
"cli.hook.installed": "Auto-reparasjons-hook skrevet til {path}",
|
|
9
8
|
"cli.hook.exists": "Auto-reparasjons-hook finnes allerede i {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Kunne ikke skrive shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nFor å avinstallere, kjør: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Ingen opprydding nødvendig i {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Kunne ikke rense shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer fullstendig avinstallert",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer startet: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer kjører allerede: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Porter {start}-{end} er alle i bruk, overvåkningstjeneste ikke startet",
|
|
23
22
|
"ui.requestList": "Forespørsler",
|
|
24
23
|
"ui.totalRequests": "Totalt: {count}",
|
package/locales/pl.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Instalacja nie powiodła się: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Nie znaleziono Claude Code cli.js: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Upewnij się, że @anthropic-ai/claude-code jest zainstalowany",
|
|
8
|
-
"cli.hook.installed": "Hook auto-naprawy zapisany w {path}",
|
|
9
8
|
"cli.hook.exists": "Hook auto-naprawy już istnieje w {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Nie udało się zapisać shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nAby odinstalować, uruchom: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Brak potrzeby czyszczenia w {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Nie udało się wyczyścić shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer całkowicie odinstalowany",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer uruchomiony: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer już działa: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Porty {start}-{end} są wszystkie zajęte, usługa monitorowania nie uruchomiona",
|
|
23
22
|
"ui.requestList": "Żądania",
|
|
24
23
|
"ui.totalRequests": "Łącznie: {count}",
|
package/locales/pt-BR.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Falha na instalação: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js não encontrado: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Certifique-se de que @anthropic-ai/claude-code está instalado",
|
|
8
|
-
"cli.hook.installed": "Hook de auto-reparo escrito em {path}",
|
|
9
8
|
"cli.hook.exists": "Hook de auto-reparo já existe em {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Falha ao escrever shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nPara desinstalar, execute: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Nenhuma limpeza necessária em {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Falha ao limpar shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer completamente desinstalado",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer iniciado: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer já em execução: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Portas {start}-{end} estão todas em uso, serviço de monitoramento não iniciado",
|
|
23
22
|
"ui.requestList": "Requisições",
|
|
24
23
|
"ui.totalRequests": "Total: {count}",
|
package/locales/ru.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Ошибка установки: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js не найден: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Убедитесь, что @anthropic-ai/claude-code установлен",
|
|
8
|
-
"cli.hook.installed": "Hook автовосстановления записан в {path}",
|
|
9
8
|
"cli.hook.exists": "Hook автовосстановления уже существует в {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Не удалось записать shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nДля удаления выполните: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Очистка в {path} не требуется",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Не удалось очистить shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer полностью удалён",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer запущен: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer уже запущен: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Порты {start}-{end} все заняты, служба мониторинга не запущена",
|
|
23
22
|
"ui.requestList": "Запросы",
|
|
24
23
|
"ui.totalRequests": "Всего: {count}",
|
package/locales/th.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ ติดตั้งล้มเหลว: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ ไม่พบ Claude Code cli.js: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " กรุณาตรวจสอบว่า @anthropic-ai/claude-code ถูกติดตั้งแล้ว",
|
|
8
|
-
"cli.hook.installed": "เขียน hook ซ่อมอัตโนมัติไปที่ {path}",
|
|
9
8
|
"cli.hook.exists": "hook ซ่อมอัตโนมัติมีอยู่แล้วใน {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ เขียน shell hook ล้มเหลว: {error}",
|
|
11
10
|
"cli.usage.hint": "\nหากต้องการถอนการติดตั้ง ให้เรียกใช้: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ ไม่จำเป็นต้องล้างใน {path}",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ ล้าง shell hook ล้มเหลว: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer ถูกถอนการติดตั้งอย่างสมบูรณ์",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer เริ่มทำงาน: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer กำลังทำงานอยู่แล้ว: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ พอร์ต {start}-{end} ถูกใช้งานทั้งหมด บริการตรวจสอบไม่ได้เริ่มทำงาน",
|
|
23
22
|
"ui.requestList": "รายการคำขอ",
|
|
24
23
|
"ui.totalRequests": "ทั้งหมด: {count}",
|
package/locales/tr.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Kurulum başarısız: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js bulunamadı: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " @anthropic-ai/claude-code'un kurulu olduğundan emin olun",
|
|
8
|
-
"cli.hook.installed": "Otomatik onarım hook'u {path} dosyasına yazıldı",
|
|
9
8
|
"cli.hook.exists": "Otomatik onarım hook'u zaten {path} dosyasında mevcut",
|
|
10
9
|
"cli.hook.fail": "⚠️ Shell hook yazılamadı: {error}",
|
|
11
10
|
"cli.usage.hint": "\nKaldırmak için çalıştırın: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ {path} dosyasında temizlik gerekmiyor",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Shell hook temizlenemedi: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer tamamen kaldırıldı",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer başlatıldı: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer zaten çalışıyor: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ {start}-{end} portları kullanımda, izleme servisi başlatılamadı",
|
|
23
22
|
"ui.requestList": "İstekler",
|
|
24
23
|
"ui.totalRequests": "Toplam: {count}",
|
package/locales/uk.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ Помилка встановлення: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ Claude Code cli.js не знайдено: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " Переконайтеся, що @anthropic-ai/claude-code встановлено",
|
|
8
|
-
"cli.hook.installed": "Hook автовідновлення записано в {path}",
|
|
9
8
|
"cli.hook.exists": "Hook автовідновлення вже існує в {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ Не вдалося записати shell hook: {error}",
|
|
11
10
|
"cli.usage.hint": "\nДля видалення виконайте: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ Очищення в {path} не потрібне",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ Не вдалося очистити shell hook: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer повністю видалено",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nCC Viewer запущено: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer вже працює: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ Порти {start}-{end} всі зайняті, служба моніторингу не запущена",
|
|
23
22
|
"ui.requestList": "Запити",
|
|
24
23
|
"ui.totalRequests": "Всього: {count}",
|
package/locales/zh-TW.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ 安裝失敗: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ 找不到 Claude Code cli.js: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " 請確認 @anthropic-ai/claude-code 已安裝",
|
|
8
|
-
"cli.hook.installed": "自動修復 hook 已寫入 {path}",
|
|
9
8
|
"cli.hook.exists": "自動修復 hook 已存在於 {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ shell hook 寫入失敗: {error}",
|
|
11
10
|
"cli.usage.hint": "\n如需卸載,請執行: ccv --uninstall",
|
|
@@ -17,8 +16,8 @@
|
|
|
17
16
|
"cli.uninstall.hookClean": "✅ {path} 中無需清理",
|
|
18
17
|
"cli.uninstall.hookFail": "❌ shell hook 清理失敗: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer 已完全卸載",
|
|
20
|
-
"server.started": "\
|
|
21
|
-
"server.reuse": "\
|
|
19
|
+
"server.started": "\nClaude 請求監控服務已啟動: http://{host}:{port}\n",
|
|
20
|
+
"server.reuse": "\nCC Viewer 已在運行: http://{host}:{port}\n",
|
|
22
21
|
"server.portsBusy": "⚠️ 端口 {start}-{end} 均被佔用,請求監控服務未啟動",
|
|
23
22
|
"ui.requestList": "請求列表",
|
|
24
23
|
"ui.totalRequests": "總請求數: {count}",
|
package/locales/zh.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"cli.inject.fail": "❌ 安装失败: {error}",
|
|
6
6
|
"cli.inject.notFound": "❌ 找不到 Claude Code cli.js: {path}",
|
|
7
7
|
"cli.inject.notFoundHint": " 请确认 @anthropic-ai/claude-code 已安装",
|
|
8
|
-
"cli.hook.installed": "自动修复 hook 已写入 {path}",
|
|
9
8
|
"cli.hook.exists": "自动修复 hook 已存在于 {path}",
|
|
10
9
|
"cli.hook.fail": "⚠️ shell hook 写入失败: {error}",
|
|
11
10
|
"cli.usage.hint": "\n如需卸载,请运行: ccv --uninstall",
|
|
@@ -18,8 +17,8 @@
|
|
|
18
17
|
"cli.uninstall.hookFail": "❌ shell hook 清理失败: {error}",
|
|
19
18
|
"cli.uninstall.done": "\n🗑️ CC Viewer 已完全卸载",
|
|
20
19
|
|
|
21
|
-
"server.started": "\
|
|
22
|
-
"server.reuse": "\
|
|
20
|
+
"server.started": "\nClaude 请求监控服务已启动: http://{host}:{port}\n",
|
|
21
|
+
"server.reuse": "\nCC Viewer 已在运行: http://{host}:{port}\n",
|
|
23
22
|
"server.portsBusy": "⚠️ 端口 {start}-{end} 均被占用,请求监控服务未启动",
|
|
24
23
|
|
|
25
24
|
"ui.requestList": "请求列表",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-viewer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Claude Code Logger visualization management tool",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"main": "
|
|
6
|
+
"main": "server.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"exports": {
|
|
9
|
-
".": "./
|
|
10
|
-
"./server.js": "./
|
|
9
|
+
".": "./server.js",
|
|
10
|
+
"./server.js": "./server.js",
|
|
11
11
|
"./interceptor.js": "./interceptor.js"
|
|
12
12
|
},
|
|
13
13
|
"author": "weiesky",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"dev": "vite",
|
|
19
19
|
"build": "node build.js",
|
|
20
|
-
"start": "node
|
|
20
|
+
"start": "node server.js",
|
|
21
21
|
"prepublishOnly": "npm run build"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"node": ">=18"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
|
-
"
|
|
44
|
+
"dist/",
|
|
45
|
+
"server.js",
|
|
45
46
|
"cli.js",
|
|
46
47
|
"interceptor.js",
|
|
47
48
|
"i18n.js",
|