@laoyuehanni/dsh-token-usage 0.4.2 → 0.4.3
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 +4 -4
- package/README.zh.md +4 -4
- package/lib/client/TokenUsageCard.d.ts.map +1 -1
- package/lib/client/TokenUsageCard.js +4 -1
- package/lib/client/TokenUsageCard.js.map +1 -1
- package/lib/client/TokenUsageSection.d.ts +5 -4
- package/lib/client/TokenUsageSection.d.ts.map +1 -1
- package/lib/client/TokenUsageSection.js +15 -13
- package/lib/client/TokenUsageSection.js.map +1 -1
- package/lib/client/format.d.ts.map +1 -1
- package/lib/client/format.js +12 -4
- package/lib/client/format.js.map +1 -1
- package/lib/client/locales.d.ts +10 -2
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/locales.js +20 -4
- package/lib/client/locales.js.map +1 -1
- package/lib/client.js +54 -26
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -10
- package/lib/index.js.map +1 -1
- package/lib/pricing.d.ts +36 -0
- package/lib/pricing.d.ts.map +1 -1
- package/lib/pricing.js +45 -4
- package/lib/pricing.js.map +1 -1
- package/lib/stats-route.d.ts.map +1 -1
- package/lib/stats-route.js +9 -7
- package/lib/stats-route.js.map +1 -1
- package/lib/stats.d.ts +22 -8
- package/lib/stats.d.ts.map +1 -1
- package/lib/stats.js +55 -21
- package/lib/stats.js.map +1 -1
- package/lib/sync.d.ts +77 -16
- package/lib/sync.d.ts.map +1 -1
- package/lib/sync.js +88 -11
- package/lib/sync.js.map +1 -1
- package/lib/usage-log.d.ts +35 -0
- package/lib/usage-log.d.ts.map +1 -1
- package/lib/usage-log.js +111 -0
- package/lib/usage-log.js.map +1 -1
- package/lib/wire.d.ts +3 -1
- package/lib/wire.d.ts.map +1 -1
- package/lib/wire.js +1 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -53,7 +53,7 @@ window.__ModuleLoader__.load({
|
|
|
53
53
|
/**
|
|
54
54
|
* The full-sync endpoint path: the card's manual "scan again" affordance.
|
|
55
55
|
* `POST` starts one full scan over every session log (the same scan the
|
|
56
|
-
* one-shot startup sync ran on first install — list +
|
|
56
|
+
* one-shot startup sync ran on first install — list + read + dedupe), and
|
|
57
57
|
* `GET` returns the live progress. The scan is fire-and-forget on the host
|
|
58
58
|
* side, so the card polls while it runs.
|
|
59
59
|
*/
|
|
@@ -1056,14 +1056,22 @@ window.__ModuleLoader__.load({
|
|
|
1056
1056
|
/** Known `LlmFailure.code`s that have a `fail.*` locale label. An unknown
|
|
1057
1057
|
* future code is not in this map and the tooltip renders it verbatim. */
|
|
1058
1058
|
const FAILURE_CODE_LABEL_KEYS = {
|
|
1059
|
+
ABORTED: "fail.ABORTED",
|
|
1060
|
+
AUTH: "fail.AUTH",
|
|
1061
|
+
CONTEXT_WINDOW_EXCEEDED: "fail.CONTEXT_WINDOW_EXCEEDED",
|
|
1062
|
+
EMPTY_RESPONSE: "fail.EMPTY_RESPONSE",
|
|
1063
|
+
FILES_API: "fail.FILES_API",
|
|
1064
|
+
INVALID_CREDENTIAL: "fail.INVALID_CREDENTIAL",
|
|
1065
|
+
INVALID_REQUEST: "fail.INVALID_REQUEST",
|
|
1066
|
+
MALFORMED_RESPONSE: "fail.MALFORMED_RESPONSE",
|
|
1067
|
+
MISSING_CREDENTIAL: "fail.MISSING_CREDENTIAL",
|
|
1068
|
+
QUOTA: "fail.QUOTA",
|
|
1059
1069
|
RATE_LIMIT: "fail.RATE_LIMIT",
|
|
1070
|
+
REQUEST_EXTENSION: "fail.REQUEST_EXTENSION",
|
|
1060
1071
|
SERVER: "fail.SERVER",
|
|
1072
|
+
STREAM_CLOSED: "fail.STREAM_CLOSED",
|
|
1061
1073
|
TIMEOUT: "fail.TIMEOUT",
|
|
1062
1074
|
TRANSPORT: "fail.TRANSPORT",
|
|
1063
|
-
EMPTY_RESPONSE: "fail.EMPTY_RESPONSE",
|
|
1064
|
-
QUOTA: "fail.QUOTA",
|
|
1065
|
-
CONTEXT_WINDOW_EXCEEDED: "fail.CONTEXT_WINDOW_EXCEEDED",
|
|
1066
|
-
INVALID_CREDENTIAL: "fail.INVALID_CREDENTIAL",
|
|
1067
1075
|
UNKNOWN: "fail.UNKNOWN"
|
|
1068
1076
|
};
|
|
1069
1077
|
/** One decimal below 10, integer otherwise, trailing `.0` stripped. */
|
|
@@ -1913,6 +1921,7 @@ window.__ModuleLoader__.load({
|
|
|
1913
1921
|
total: body.total,
|
|
1914
1922
|
added: body.added,
|
|
1915
1923
|
skipped: body.skipped,
|
|
1924
|
+
removed: typeof body.removed === "number" ? body.removed : 0,
|
|
1916
1925
|
failedSessions: typeof body.failedSessions === "number" ? body.failedSessions : 0
|
|
1917
1926
|
};
|
|
1918
1927
|
return null;
|
|
@@ -1959,6 +1968,7 @@ window.__ModuleLoader__.load({
|
|
|
1959
1968
|
total: 0,
|
|
1960
1969
|
added: 0,
|
|
1961
1970
|
skipped: 0,
|
|
1971
|
+
removed: 0,
|
|
1962
1972
|
failedSessions: 0
|
|
1963
1973
|
});
|
|
1964
1974
|
return;
|
|
@@ -2116,7 +2126,8 @@ window.__ModuleLoader__.load({
|
|
|
2116
2126
|
processed: String(fullSync.processed),
|
|
2117
2127
|
total: String(fullSync.total),
|
|
2118
2128
|
added: String(fullSync.added),
|
|
2119
|
-
skipped: String(fullSync.skipped)
|
|
2129
|
+
skipped: String(fullSync.skipped),
|
|
2130
|
+
removed: String(fullSync.removed)
|
|
2120
2131
|
}), fullSync.failedSessions > 0 ? t("card.fullSync.failuresNote", { count: String(fullSync.failedSessions) }) : ""]
|
|
2121
2132
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2122
2133
|
className: TokenUsageCard_module_css_default.fullSyncBar,
|
|
@@ -2131,7 +2142,8 @@ window.__ModuleLoader__.load({
|
|
|
2131
2142
|
role: "status",
|
|
2132
2143
|
children: [t("card.fullSync.done", {
|
|
2133
2144
|
added: String(fullSync.added),
|
|
2134
|
-
skipped: String(fullSync.skipped)
|
|
2145
|
+
skipped: String(fullSync.skipped),
|
|
2146
|
+
removed: String(fullSync.removed)
|
|
2135
2147
|
}), fullSync.failedSessions > 0 ? t("card.fullSync.failuresNote", { count: String(fullSync.failedSessions) }) : ""]
|
|
2136
2148
|
}) : null,
|
|
2137
2149
|
fullSync.status === "failed" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
@@ -4446,7 +4458,7 @@ window.__ModuleLoader__.load({
|
|
|
4446
4458
|
}
|
|
4447
4459
|
//#endregion
|
|
4448
4460
|
//#region \0dsh-css:D:\Code\dsh-token-usage\src\client\TokenUsageSection.module.css.mjs
|
|
4449
|
-
const css$1 = ".RbkiSa_section{flex-direction:column;gap:16px;width:100%;display:flex}.RbkiSa_head{justify-content:space-between;align-items:center;gap:12px;display:flex}.RbkiSa_title{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:600}.RbkiSa_muted{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.RbkiSa_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:13px}.RbkiSa_subtitle{color:var(--dsw-alias-label-secondary);margin:0;font-size:14px;font-weight:600}.RbkiSa_segmented{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-fill-container,transparent);border-radius:8px;align-items:stretch;gap:2px;padding:2px;display:inline-flex}.RbkiSa_segBtn{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-secondary));cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 12px;font-size:12px;font-weight:500}.RbkiSa_segBtn:hover:not(.RbkiSa_segActive){color:var(--dsw-alias-label-secondary);background:color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent)}.RbkiSa_segBtn:focus-visible{outline:2px solid var(--dsw-alias-border-l2);outline-offset:1px}.RbkiSa_segActive{background:color-mix(in srgb, var(--dsw-alias-label-primary) 16%, transparent);color:var(--dsw-alias-label-primary);font-weight:600}.RbkiSa_tableWrap{max-height:420px;overflow:auto}.RbkiSa_table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:500px;font-size:12px}.RbkiSa_table th,.RbkiSa_table td{text-align:right;border-bottom:1px solid var(--dsw-alias-border-l1);white-space:nowrap;padding:4px 6px}.RbkiSa_table th.RbkiSa_modelHead,.RbkiSa_table td.RbkiSa_modelCol{text-align:left;width:150px;max-width:150px}.RbkiSa_table th{color:var(--dsw-alias-label-secondary);z-index:1;background:var(--dsw-alias-bg-layer-2);font-weight:500;position:sticky;top:0}.RbkiSa_table td{color:var(--dsw-alias-label-primary)}.RbkiSa_empty{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.RbkiSa_button{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);cursor:pointer;border-radius:6px;padding:4px 12px;font-size:13px;line-height:20px}.RbkiSa_button:hover{background:var(--dsw-interactive-bg-hover)}.RbkiSa_filters{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.RbkiSa_cards{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;display:grid}.RbkiSa_warning{color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);border-radius:6px;margin:0;padding:6px 10px;font-size:12px}.RbkiSa_modelCell{align-items:center;gap:4px;max-width:138px;display:inline-flex;position:relative}.RbkiSa_modelName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.
|
|
4461
|
+
const css$1 = ".RbkiSa_section{flex-direction:column;gap:16px;width:100%;display:flex}.RbkiSa_head{justify-content:space-between;align-items:center;gap:12px;display:flex}.RbkiSa_title{color:var(--dsw-alias-label-primary);margin:0;font-size:16px;font-weight:600}.RbkiSa_muted{color:var(--dsw-alias-label-secondary);margin:0;font-size:12px}.RbkiSa_error{color:var(--dsw-alias-state-error-primary);margin:0;font-size:13px}.RbkiSa_subtitle{color:var(--dsw-alias-label-secondary);margin:0;font-size:14px;font-weight:600}.RbkiSa_segmented{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-fill-container,transparent);border-radius:8px;align-items:stretch;gap:2px;padding:2px;display:inline-flex}.RbkiSa_segBtn{color:var(--dsw-alias-label-tertiary,var(--dsw-alias-label-secondary));cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 12px;font-size:12px;font-weight:500}.RbkiSa_segBtn:hover:not(.RbkiSa_segActive){color:var(--dsw-alias-label-secondary);background:color-mix(in srgb, var(--dsw-alias-label-primary) 6%, transparent)}.RbkiSa_segBtn:focus-visible{outline:2px solid var(--dsw-alias-border-l2);outline-offset:1px}.RbkiSa_segActive{background:color-mix(in srgb, var(--dsw-alias-label-primary) 16%, transparent);color:var(--dsw-alias-label-primary);font-weight:600}.RbkiSa_tableWrap{max-height:420px;overflow:auto}.RbkiSa_table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;min-width:500px;font-size:12px}.RbkiSa_table th,.RbkiSa_table td{text-align:right;border-bottom:1px solid var(--dsw-alias-border-l1);white-space:nowrap;padding:4px 6px}.RbkiSa_table th.RbkiSa_modelHead,.RbkiSa_table td.RbkiSa_modelCol{text-align:left;width:150px;max-width:150px}.RbkiSa_table th{color:var(--dsw-alias-label-secondary);z-index:1;background:var(--dsw-alias-bg-layer-2);font-weight:500;position:sticky;top:0}.RbkiSa_table td{color:var(--dsw-alias-label-primary)}.RbkiSa_empty{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px}.RbkiSa_button{color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l2);cursor:pointer;border-radius:6px;padding:4px 12px;font-size:13px;line-height:20px}.RbkiSa_button:hover{background:var(--dsw-interactive-bg-hover)}.RbkiSa_filters{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.RbkiSa_cards{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;display:grid}.RbkiSa_warning{color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);border-radius:6px;margin:0;padding:6px 10px;font-size:12px}.RbkiSa_modelCell{align-items:center;gap:4px;max-width:138px;display:inline-flex;position:relative}.RbkiSa_modelName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}button.RbkiSa_modelName{max-width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;margin:0;padding:0}button.RbkiSa_modelName:hover{color:var(--dsw-alias-link-primary,var(--dsw-alias-label-primary))}.RbkiSa_unpricedTag{color:var(--dsw-alias-state-warn-label);background:var(--dsw-alias-state-warn-tertiary);border-radius:8px;flex:none;padding:0 6px;font-size:10px;line-height:16px}.RbkiSa_pricingLink{color:var(--dsw-alias-link-primary,var(--dsw-alias-label-primary));cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:6px;flex:none;margin-left:auto;padding:4px 8px;font-size:13px;line-height:20px}.RbkiSa_pricingLink:hover{background:var(--dsw-interactive-bg-hover)}";
|
|
4450
4462
|
const tagId$1 = "@laoyuehanni/dsh-token-usage/TokenUsageSection.module.css";
|
|
4451
4463
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
4452
4464
|
const tag = document.createElement("style");
|
|
@@ -4467,7 +4479,6 @@ window.__ModuleLoader__.load({
|
|
|
4467
4479
|
"modelHead": "RbkiSa_modelHead",
|
|
4468
4480
|
"modelName": "RbkiSa_modelName",
|
|
4469
4481
|
"muted": "RbkiSa_muted",
|
|
4470
|
-
"pricingButton": "RbkiSa_pricingButton",
|
|
4471
4482
|
"pricingLink": "RbkiSa_pricingLink",
|
|
4472
4483
|
"section": "RbkiSa_section",
|
|
4473
4484
|
"segActive": "RbkiSa_segActive",
|
|
@@ -4487,10 +4498,11 @@ window.__ModuleLoader__.load({
|
|
|
4487
4498
|
* the host route and renders the filter bar (inclusive day range, model
|
|
4488
4499
|
* select, 1d/7d/30d quick ranges where 1d spans today 00:00–23:59), the
|
|
4489
4500
|
* total-usage strip, the daily-token trend chart, and the per-model detail
|
|
4490
|
-
* table with the hit rate last — all following the active filters.
|
|
4491
|
-
* priced model row's
|
|
4492
|
-
*
|
|
4493
|
-
*
|
|
4501
|
+
* table with the hit rate last — all following the active filters. A
|
|
4502
|
+
* priced model name is the row's price affordance (one click opens
|
|
4503
|
+
* PricingDialog.tsx); unpriced rows keep the in-cell tag. The filter
|
|
4504
|
+
* row's tail link opens the filter-free pricing-overview dialog
|
|
4505
|
+
* (PricingOverviewDialog.tsx). There is no refresh
|
|
4494
4506
|
* button: entering the page or changing a filter refetches (the route
|
|
4495
4507
|
* answers no-store); only the error state keeps a retry.
|
|
4496
4508
|
*
|
|
@@ -4832,21 +4844,21 @@ window.__ModuleLoader__.load({
|
|
|
4832
4844
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("tr", { children: [
|
|
4833
4845
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
|
|
4834
4846
|
className: TokenUsageSection_module_css_default["modelCol"],
|
|
4835
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.
|
|
4847
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4836
4848
|
className: TokenUsageSection_module_css_default["modelCell"],
|
|
4837
|
-
children:
|
|
4838
|
-
className: TokenUsageSection_module_css_default["modelName"],
|
|
4839
|
-
children: row.model
|
|
4840
|
-
}), rules !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
4849
|
+
children: rules !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
4841
4850
|
type: "button",
|
|
4842
|
-
className: TokenUsageSection_module_css_default["
|
|
4851
|
+
className: TokenUsageSection_module_css_default["modelName"],
|
|
4843
4852
|
"aria-label": t("pricing.view", { model: row.model }),
|
|
4844
4853
|
onClick: () => setDetailModel(row.model),
|
|
4845
|
-
children:
|
|
4846
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4854
|
+
children: row.model
|
|
4855
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4856
|
+
className: TokenUsageSection_module_css_default["modelName"],
|
|
4857
|
+
children: row.model
|
|
4858
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4847
4859
|
className: TokenUsageSection_module_css_default["unpricedTag"],
|
|
4848
4860
|
children: t("pricing.unpriced")
|
|
4849
|
-
})]
|
|
4861
|
+
})] })
|
|
4850
4862
|
})
|
|
4851
4863
|
}),
|
|
4852
4864
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RequestsCell, {
|
|
@@ -5388,6 +5400,14 @@ window.__ModuleLoader__.load({
|
|
|
5388
5400
|
"fail.QUOTA": "配额耗尽",
|
|
5389
5401
|
"fail.CONTEXT_WINDOW_EXCEEDED": "上下文超限",
|
|
5390
5402
|
"fail.INVALID_CREDENTIAL": "凭证无效",
|
|
5403
|
+
"fail.AUTH": "鉴权失败",
|
|
5404
|
+
"fail.INVALID_REQUEST": "请求无效",
|
|
5405
|
+
"fail.MISSING_CREDENTIAL": "缺少凭证",
|
|
5406
|
+
"fail.ABORTED": "已中止",
|
|
5407
|
+
"fail.REQUEST_EXTENSION": "请求扩展失败",
|
|
5408
|
+
"fail.FILES_API": "文件接口异常",
|
|
5409
|
+
"fail.STREAM_CLOSED": "流中断",
|
|
5410
|
+
"fail.MALFORMED_RESPONSE": "响应异常",
|
|
5391
5411
|
"fail.UNKNOWN": "未知错误",
|
|
5392
5412
|
"stat.totalTokens": "总 token",
|
|
5393
5413
|
"stat.hitRate": "命中率",
|
|
@@ -5468,9 +5488,9 @@ window.__ModuleLoader__.load({
|
|
|
5468
5488
|
"card.fullSync.hint": "手动扫一遍所有 session 日志,把可能漏掉的历史请求补进来(已记录的会跳过)。",
|
|
5469
5489
|
"card.fullSync.button": "开始扫描",
|
|
5470
5490
|
"card.fullSync.running": "扫描中…",
|
|
5471
|
-
"card.fullSync.progress": "已处理 {processed}/{total} 个 session,新增 {added} 条,跳过 {skipped} 条",
|
|
5491
|
+
"card.fullSync.progress": "已处理 {processed}/{total} 个 session,新增 {added} 条,跳过 {skipped} 条,删除 {removed} 条",
|
|
5472
5492
|
"card.fullSync.failuresNote": ",无法读取 {count} 个 session 已跳过",
|
|
5473
|
-
"card.fullSync.done": "扫描完成:新增 {added} 条,跳过 {skipped} 条",
|
|
5493
|
+
"card.fullSync.done": "扫描完成:新增 {added} 条,跳过 {skipped} 条,删除 {removed} 条",
|
|
5474
5494
|
"card.fullSync.failed": "扫描失败:{error}",
|
|
5475
5495
|
"loadFailed": "统计加载失败:{message}",
|
|
5476
5496
|
"empty": "暂无数据。可调整筛选条件;模型请求成功后会自动写入,安装前已发生的历史记录会在首次启动时自动补齐。",
|
|
@@ -5553,6 +5573,14 @@ window.__ModuleLoader__.load({
|
|
|
5553
5573
|
"fail.QUOTA": "Quota exceeded",
|
|
5554
5574
|
"fail.CONTEXT_WINDOW_EXCEEDED": "Context exceeded",
|
|
5555
5575
|
"fail.INVALID_CREDENTIAL": "Invalid credential",
|
|
5576
|
+
"fail.AUTH": "Auth failed",
|
|
5577
|
+
"fail.INVALID_REQUEST": "Invalid request",
|
|
5578
|
+
"fail.MISSING_CREDENTIAL": "Missing credential",
|
|
5579
|
+
"fail.ABORTED": "Aborted",
|
|
5580
|
+
"fail.REQUEST_EXTENSION": "Request extension failed",
|
|
5581
|
+
"fail.FILES_API": "Files API error",
|
|
5582
|
+
"fail.STREAM_CLOSED": "Stream closed",
|
|
5583
|
+
"fail.MALFORMED_RESPONSE": "Malformed response",
|
|
5556
5584
|
"fail.UNKNOWN": "Unknown error",
|
|
5557
5585
|
"stat.totalTokens": "Total",
|
|
5558
5586
|
"stat.hitRate": "Hit %",
|
|
@@ -5633,9 +5661,9 @@ window.__ModuleLoader__.load({
|
|
|
5633
5661
|
"card.fullSync.hint": "Walk every session log once and fold any historical requests the log does not yet hold (rows already recorded are skipped).",
|
|
5634
5662
|
"card.fullSync.button": "Start scan",
|
|
5635
5663
|
"card.fullSync.running": "Scanning…",
|
|
5636
|
-
"card.fullSync.progress": "Processed {processed}/{total} sessions, added {added}, skipped {skipped}",
|
|
5664
|
+
"card.fullSync.progress": "Processed {processed}/{total} sessions, added {added}, skipped {skipped}, removed {removed}",
|
|
5637
5665
|
"card.fullSync.failuresNote": ", {count} unreadable sessions skipped",
|
|
5638
|
-
"card.fullSync.done": "Scan complete: added {added}, skipped {skipped}",
|
|
5666
|
+
"card.fullSync.done": "Scan complete: added {added}, skipped {skipped}, removed {removed}",
|
|
5639
5667
|
"card.fullSync.failed": "Scan failed: {error}",
|
|
5640
5668
|
"loadFailed": "Failed to load stats: {message}",
|
|
5641
5669
|
"empty": "No data yet. Adjust the filters; requests are written automatically after each successful model call, and pre-install history is backfilled automatically on the first startup.",
|