@lengduan/dsh-usage-stats 0.1.1 → 0.1.2
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/client.js +3 -0
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -27,6 +27,7 @@ window.__ModuleLoader__.load({
|
|
|
27
27
|
"总 Token": "Total tokens",
|
|
28
28
|
"内部调用自插件安装之日起统计,无法回溯历史": "Internal calls are counted from install time; history cannot be backfilled",
|
|
29
29
|
"账本": "Ledger", "条记录": "records", "会话": "sessions",
|
|
30
|
+
"仅统计当前 DSH 实例(本 home);同一账号在其他实例(独立 DSH_HOME)的消耗不在此列。": "Counts this DSH instance (current home) only; usage under the same account in other instances (separate DSH_HOME) is not included.",
|
|
30
31
|
};
|
|
31
32
|
let LANG = (() => {
|
|
32
33
|
try { return String(navigator.language || "en").toLowerCase().startsWith("zh") ? "zh" : "en"; } catch (e) { return "zh"; }
|
|
@@ -225,6 +226,8 @@ window.__ModuleLoader__.load({
|
|
|
225
226
|
? el("div", { style: st.hint }, t("内部调用自插件安装之日起统计,无法回溯历史"))
|
|
226
227
|
: null,
|
|
227
228
|
|
|
229
|
+
el("div", { style: st.hint }, t("仅统计当前 DSH 实例(本 home);同一账号在其他实例(独立 DSH_HOME)的消耗不在此列。")),
|
|
230
|
+
|
|
228
231
|
state.error
|
|
229
232
|
? el("div", { style: st.err }, state.error)
|
|
230
233
|
: null,
|