Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 0.47.1 — Unreleased

### Added
- Usage & Spend: add an accessible daily, weekly, and cumulative token-activity heatmap backed by the existing persistent cost scan cache (#2548). Thanks @Yuxin-Qiao!
- z.ai/GLM: route BigModel aliases and relay-file keys only to China endpoints, reject canonical cross-region overrides before bearer auth, and keep Kimi browser import disabled when Cookie Source is Off (#2351). Thanks @Leehow!
- Kimi: enrich Code API and CLI usage with the monthly membership pool from a signed-in Kimi Desktop session, using WAL-safe read-only cookie access (#2351). Thanks @Leehow!
- Sessions: discover live pi and OMP sessions through one Pi-family scanner, with dialect-aware metadata, PID-only startup rows, and mixed-version CLI/remote support (#2529). Thanks @wdmitchelluk!
Expand Down
6 changes: 6 additions & 0 deletions Sources/CodexBar/PreferencesSpendDashboardPane.swift
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@ struct SpendDashboardPane: View {
}
}

if self.settings.costUsageEnabled, !self.controller.model.tokenActivity.isEmpty {
SpendDashboardPanel {
SpendActivityHeatmapView(points: self.controller.model.tokenActivity)
}
}

if self.controller.failedSourceCount > 0 {
Label(
spendDashboardRefreshFailureText(self.controller.failedSourceCount),
Expand Down
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/ar.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,13 @@
"Resets" = "إعادات الضبط";
"Finish now" = "إنهاء الآن";
"Continue in background" = "المتابعة في الخلفية";

"Cumulative" = "تراكمي";
"Token activity" = "نشاط الرموز";
"View" = "عرض";
"in the last year" = "في العام الماضي";
"No activity in the last 12 months" = "لا يوجد نشاط في آخر 12 شهرًا";
"Each column = 1 week" = "كل عمود = أسبوع واحد";
"Running total" = "الإجمالي التراكمي";
"Less" = "أقل";
"More" = "أكثر";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/ca.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1381,3 +1381,13 @@
"Resets" = "Reinicis";
"Finish now" = "Finalitza ara";
"Continue in background" = "Continua en segon pla";

"Cumulative" = "Acumulat";
"Token activity" = "Activitat de tokens";
"View" = "Vista";
"in the last year" = "l'últim any";
"No activity in the last 12 months" = "Sense activitat en els últims 12 mesos";
"Each column = 1 week" = "Cada columna = 1 setmana";
"Running total" = "Total acumulat";
"Less" = "Menys";
"More" = "Més";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1379,3 +1379,13 @@
"Resets" = "Zurücksetzungen";
"Finish now" = "Jetzt abschließen";
"Continue in background" = "Im Hintergrund fortfahren";

"Cumulative" = "Kumulativ";
"Token activity" = "Token-Aktivität";
"View" = "Ansicht";
"in the last year" = "im letzten Jahr";
"No activity in the last 12 months" = "Keine Aktivität in den letzten 12 Monaten";
"Each column = 1 week" = "Jede Spalte = 1 Woche";
"Running total" = "Laufende Summe";
"Less" = "Weniger";
"More" = "Mehr";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1383,3 +1383,13 @@
"%dm ago" = "%dm ago";
"%dh ago" = "%dh ago";
"%dd ago" = "%dd ago";

"Cumulative" = "Cumulative";
"Token activity" = "Token activity";
"View" = "View";
"in the last year" = "in the last year";
"No activity in the last 12 months" = "No activity in the last 12 months";
"Each column = 1 week" = "Each column = 1 week";
"Running total" = "Running total";
"Less" = "Less";
"More" = "More";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1377,3 +1377,13 @@
"Resets" = "Reinicios";
"Finish now" = "Finalizar ahora";
"Continue in background" = "Continuar en segundo plano";

"Cumulative" = "Acumulado";
"Token activity" = "Actividad de tokens";
"View" = "Vista";
"in the last year" = "en el último año";
"No activity in the last 12 months" = "Sin actividad en los últimos 12 meses";
"Each column = 1 week" = "Cada columna = 1 semana";
"Running total" = "Total acumulado";
"Less" = "Menos";
"More" = "Más";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/fa.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,13 @@
"Resets" = "بازنشانی‌ها";
"Finish now" = "اکنون تمام شود";
"Continue in background" = "ادامه در پس‌زمینه";

"Cumulative" = "تجمعی";
"Token activity" = "فعالیت توکن";
"View" = "نمایش";
"in the last year" = "در سال گذشته";
"No activity in the last 12 months" = "هیچ فعالیتی در ۱۲ ماه گذشته وجود ندارد";
"Each column = 1 week" = "هر ستون = ۱ هفته";
"Running total" = "مجموع تجمعی";
"Less" = "کمتر";
"More" = "بیشتر";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1378,3 +1378,13 @@
"Resets" = "Réinitialisations";
"Finish now" = "Terminer maintenant";
"Continue in background" = "Continuer en arrière-plan";

"Cumulative" = "Cumulé";
"Token activity" = "Activité des tokens";
"View" = "Vue";
"in the last year" = "sur l'année écoulée";
"No activity in the last 12 months" = "Aucune activité au cours des 12 derniers mois";
"Each column = 1 week" = "Chaque colonne = 1 semaine";
"Running total" = "Total cumulé";
"Less" = "Moins";
"More" = "Plus";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/gl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1378,3 +1378,13 @@
"Resets" = "Reinicios";
"Finish now" = "Rematar agora";
"Continue in background" = "Continuar en segundo plano";

"Cumulative" = "Acumulado";
"Token activity" = "Actividade de tokens";
"View" = "Vista";
"in the last year" = "no último ano";
"No activity in the last 12 months" = "Sen actividade nos últimos 12 meses";
"Each column = 1 week" = "Cada columna = 1 semana";
"Running total" = "Total acumulado";
"Less" = "Menos";
"More" = "Máis";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/id.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,13 @@
"Resets" = "Reset";
"Finish now" = "Selesaikan sekarang";
"Continue in background" = "Lanjutkan di latar belakang";

"Cumulative" = "Kumulatif";
"Token activity" = "Aktivitas token";
"View" = "Tampilan";
"in the last year" = "dalam setahun terakhir";
"No activity in the last 12 months" = "Tidak ada aktivitas dalam 12 bulan terakhir";
"Each column = 1 week" = "Setiap kolom = 1 minggu";
"Running total" = "Total berjalan";
"Less" = "Sedikit";
"More" = "Banyak";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,13 @@
"Resets" = "Ripristini";
"Finish now" = "Completa ora";
"Continue in background" = "Continua in background";

"Cumulative" = "Cumulativo";
"Token activity" = "Attività token";
"View" = "Vista";
"in the last year" = "nell'ultimo anno";
"No activity in the last 12 months" = "Nessuna attività negli ultimi 12 mesi";
"Each column = 1 week" = "Ogni colonna = 1 settimana";
"Running total" = "Totale progressivo";
"Less" = "Meno";
"More" = "Più";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1379,3 +1379,13 @@
"Resets" = "リセット";
"Finish now" = "今すぐ完了";
"Continue in background" = "バックグラウンドで続行";

"Cumulative" = "累計";
"Token activity" = "トークンアクティビティ";
"View" = "表示";
"in the last year" = "過去1年";
"No activity in the last 12 months" = "過去12か月にアクティビティなし";
"Each column = 1 week" = "各列 = 1週間";
"Running total" = "累計";
"Less" = "少";
"More" = "多";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1346,3 +1346,13 @@
"Resets" = "재설정";
"Finish now" = "지금 완료";
"Continue in background" = "백그라운드에서 계속";

"Cumulative" = "누적";
"Token activity" = "토큰 활동";
"View" = "보기";
"in the last year" = "지난 1년";
"No activity in the last 12 months" = "지난 12개월 동안 활동 없음";
"Each column = 1 week" = "각 열 = 1주";
"Running total" = "누적 합계";
"Less" = "적음";
"More" = "많음";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/nl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1378,3 +1378,13 @@
"Resets" = "Resets";
"Finish now" = "Nu voltooien";
"Continue in background" = "Doorgaan op de achtergrond";

"Cumulative" = "Cumulatief";
"Token activity" = "Token-activiteit";
"View" = "Weergave";
"in the last year" = "in het afgelopen jaar";
"No activity in the last 12 months" = "Geen activiteit in de afgelopen 12 maanden";
"Each column = 1 week" = "Elke kolom = 1 week";
"Running total" = "Lopend totaal";
"Less" = "Minder";
"More" = "Meer";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/pl.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,13 @@
"Resets" = "Resety";
"Finish now" = "Zakończ teraz";
"Continue in background" = "Kontynuuj w tle";

"Cumulative" = "Łącznie";
"Token activity" = "Aktywność tokenów";
"View" = "Widok";
"in the last year" = "w ciągu ostatniego roku";
"No activity in the last 12 months" = "Brak aktywności w ciągu ostatnich 12 miesięcy";
"Each column = 1 week" = "Każda kolumna = 1 tydzień";
"Running total" = "Suma narastająca";
"Less" = "Mniej";
"More" = "Więcej";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/pt-BR.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1379,3 +1379,13 @@
"Resets" = "Redefinições";
"Finish now" = "Concluir agora";
"Continue in background" = "Continuar em segundo plano";

"Cumulative" = "Acumulado";
"Token activity" = "Atividade de tokens";
"View" = "Visualização";
"in the last year" = "no último ano";
"No activity in the last 12 months" = "Sem atividade nos últimos 12 meses";
"Each column = 1 week" = "Cada coluna = 1 semana";
"Running total" = "Total acumulado";
"Less" = "Menos";
"More" = "Mais";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1380,3 +1380,13 @@
"Resets" = "Сбросы";
"Finish now" = "Завершить сейчас";
"Continue in background" = "Продолжить в фоновом режиме";

"Cumulative" = "Накопительно";
"Token activity" = "Активность токенов";
"View" = "Вид";
"in the last year" = "за последний год";
"No activity in the last 12 months" = "Нет активности за последние 12 месяцев";
"Each column = 1 week" = "Каждый столбец = 1 неделя";
"Running total" = "Накопленный итог";
"Less" = "Меньше";
"More" = "Больше";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/sv.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1377,3 +1377,13 @@
"Resets" = "Återställningar";
"Finish now" = "Slutför nu";
"Continue in background" = "Fortsätt i bakgrunden";

"Cumulative" = "Kumulativt";
"Token activity" = "Token-aktivitet";
"View" = "Vy";
"in the last year" = "det senaste året";
"No activity in the last 12 months" = "Ingen aktivitet de senaste 12 månaderna";
"Each column = 1 week" = "Varje kolumn = 1 vecka";
"Running total" = "Löpande summa";
"Less" = "Mindre";
"More" = "Mer";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/th.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1382,3 +1382,13 @@
"Resets" = "การรีเซ็ต";
"Finish now" = "เสร็จสิ้นตอนนี้";
"Continue in background" = "ทำต่อในเบื้องหลัง";

"Cumulative" = "สะสม";
"Token activity" = "กิจกรรมโทเทน";
"View" = "มุมมอง";
"in the last year" = "ในปีที่ผ่านมา";
"No activity in the last 12 months" = "ไม่มีกิจกรรมในช่วง 12 เดือนที่ผ่านมา";
"Each column = 1 week" = "แต่ละคอลัมน์ = 1 สัปดาห์";
"Running total" = "ยอดรวมสะสม";
"Less" = "น้อย";
"More" = "มาก";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/tr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1380,3 +1380,13 @@
"Resets" = "Sıfırlamalar";
"Finish now" = "Şimdi tamamla";
"Continue in background" = "Arka planda devam et";

"Cumulative" = "Kümülatif";
"Token activity" = "Token etkinliği";
"View" = "Görünüm";
"in the last year" = "son yılda";
"No activity in the last 12 months" = "Son 12 ayda etkinlik yok";
"Each column = 1 week" = "Her sütun = 1 hafta";
"Running total" = "Birikimli toplam";
"Less" = "Az";
"More" = "Çok";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/uk.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1378,3 +1378,13 @@
"Resets" = "Скидання";
"Finish now" = "Завершити зараз";
"Continue in background" = "Продовжити у фоновому режимі";

"Cumulative" = "Наростаючим підсумком";
"Token activity" = "Активність токенів";
"View" = "Вигляд";
"in the last year" = "за останній рік";
"No activity in the last 12 months" = "Немає активності за останні 12 місяців";
"Each column = 1 week" = "Кожен стовпець = 1 тиждень";
"Running total" = "Накопичений підсумок";
"Less" = "Менше";
"More" = "Більше";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/vi.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1379,3 +1379,13 @@
"Resets" = "Lần đặt lại";
"Finish now" = "Hoàn tất ngay";
"Continue in background" = "Tiếp tục trong nền";

"Cumulative" = "Tích lũy";
"Token activity" = "Hoạt động token";
"View" = "Chế độ xem";
"in the last year" = "trong năm qua";
"No activity in the last 12 months" = "Không có hoạt động trong 12 tháng qua";
"Each column = 1 week" = "Mỗi cột = 1 tuần";
"Running total" = "Tổng lũy kế";
"Less" = "Ít";
"More" = "Nhiều";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1357,3 +1357,13 @@
"Resets" = "重置";
"Finish now" = "立即完成";
"Continue in background" = "转为后台运行";

"Cumulative" = "累计";
"Token activity" = "Token 活动";
"View" = "视图";
"in the last year" = "近一年";
"No activity in the last 12 months" = "近 12 个月暂无活动";
"Each column = 1 week" = "每列 = 1 周";
"Running total" = "累计总量";
"Less" = "少";
"More" = "多";
10 changes: 10 additions & 0 deletions Sources/CodexBar/Resources/zh-Hant.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1409,3 +1409,13 @@
"Resets" = "重設";
"Finish now" = "立即完成";
"Continue in background" = "在背景繼續";

"Cumulative" = "累計";
"Token activity" = "Token 活動";
"View" = "檢視";
"in the last year" = "近一年";
"No activity in the last 12 months" = "近 12 個月暫無活動";
"Each column = 1 week" = "每列 = 1 週";
"Running total" = "累計總量";
"Less" = "少";
"More" = "多";
Loading