@jxgame2020/dsh-token-quota 0.1.37 → 0.1.38

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.
Files changed (3) hide show
  1. package/lib/client.js +117 -117
  2. package/lib/index.js +1 -1
  3. package/package.json +1 -2
package/lib/client.js CHANGED
@@ -123,7 +123,7 @@ window.__ModuleLoader__.load({
123
123
  d.musicOnlyCurrentSession = only;
124
124
  },
125
125
  setUpgrade: (d, upgrade) => {
126
- const normalized = upgrade !== null && upgrade.latestVersion !== "" && upgrade.latestVersion !== "0.1.36" ? upgrade : null;
126
+ const normalized = upgrade !== null && upgrade.latestVersion !== "" && upgrade.latestVersion !== "0.1.38" ? upgrade : null;
127
127
  if (d.upgrade === null || d.upgrade.latestVersion !== normalized?.latestVersion) d.upgradeDismissed = false;
128
128
  d.upgrade = normalized;
129
129
  },
@@ -253,142 +253,142 @@ window.__ModuleLoader__.load({
253
253
  document.head.appendChild(tag);
254
254
  }
255
255
  var TokenQuotaPanel_module_css_default = {
256
- "tabLabel": "NPLLIq_tabLabel",
257
- "logUsedCol": "NPLLIq_logUsedCol",
258
- "logToolbar": "NPLLIq_logToolbar",
259
- "copyBtn": "NPLLIq_copyBtn",
260
- "checkBtn": "NPLLIq_checkBtn",
261
- "balanceRowHeader": "NPLLIq_balanceRowHeader",
262
- "dialogLabel": "NPLLIq_dialogLabel",
263
- "dialogBtnPrimary": "NPLLIq_dialogBtnPrimary",
264
- "noteWinBar": "NPLLIq_noteWinBar",
265
- "dialogBody": "NPLLIq_dialogBody",
266
- "noteWinText": "NPLLIq_noteWinText",
256
+ "notesBar": "NPLLIq_notesBar",
257
+ "logDialog": "NPLLIq_logDialog",
258
+ "logHeader": "NPLLIq_logHeader",
259
+ "rowDropTarget": "NPLLIq_rowDropTarget",
260
+ "tab": "NPLLIq_tab",
261
+ "bar": "NPLLIq_bar",
262
+ "dialogOverlay": "NPLLIq_dialogOverlay",
263
+ "upgradeClose": "NPLLIq_upgradeClose",
267
264
  "dialogHeader": "NPLLIq_dialogHeader",
268
- "balanceBarError": "NPLLIq_balanceBarError",
269
- "headerActions": "NPLLIq_headerActions",
265
+ "rowMeta": "NPLLIq_rowMeta",
266
+ "rowDrag": "NPLLIq_rowDrag",
267
+ "upgradeBannerFlash": "NPLLIq_upgradeBannerFlash",
268
+ "logClearDialog": "NPLLIq_logClearDialog",
269
+ "logClearBtn": "NPLLIq_logClearBtn",
270
+ "dialogTitle": "NPLLIq_dialogTitle",
270
271
  "panelDim": "NPLLIq_panelDim",
271
- "collapse": "NPLLIq_collapse",
272
+ "switch": "NPLLIq_switch",
273
+ "balanceStateHint": "NPLLIq_balanceStateHint",
274
+ "balanceBarBadge": "NPLLIq_balanceBarBadge",
275
+ "logScroll": "NPLLIq_logScroll",
276
+ "balanceToggleOpen": "NPLLIq_balanceToggleOpen",
277
+ "balanceValueLow": "NPLLIq_balanceValueLow",
278
+ "settingsBtn": "NPLLIq_settingsBtn",
279
+ "logPager": "NPLLIq_logPager",
280
+ "checkUpdatesRow": "NPLLIq_checkUpdatesRow",
272
281
  "dialogTab": "NPLLIq_dialogTab",
282
+ "balanceRowRefresh": "NPLLIq_balanceRowRefresh",
283
+ "logPagerControls": "NPLLIq_logPagerControls",
284
+ "panelDimStrong": "NPLLIq_panelDimStrong",
285
+ "dialogBtn": "NPLLIq_dialogBtn",
286
+ "dialogLabel": "NPLLIq_dialogLabel",
287
+ "logSearch": "NPLLIq_logSearch",
288
+ "notice": "NPLLIq_notice",
289
+ "balanceWinHeader": "NPLLIq_balanceWinHeader",
290
+ "noteMenuBackdrop": "NPLLIq_noteMenuBackdrop",
291
+ "noteWinBar": "NPLLIq_noteWinBar",
273
292
  "logPageSizeSelect": "NPLLIq_logPageSizeSelect",
274
- "rowMeta": "NPLLIq_rowMeta",
275
- "upgradeCommandRow": "NPLLIq_upgradeCommandRow",
276
- "notesBar": "NPLLIq_notesBar",
277
- "currentBadge": "NPLLIq_currentBadge",
278
- "balanceRow": "NPLLIq_balanceRow",
279
- "settingsBtn": "NPLLIq_settingsBtn",
280
- "upgradeCommand": "NPLLIq_upgradeCommand",
281
- "resetSelect": "NPLLIq_resetSelect",
282
- "balanceRefreshAll": "NPLLIq_balanceRefreshAll",
283
- "logClearDate": "NPLLIq_logClearDate",
284
- "noteChip": "NPLLIq_noteChip",
285
- "subtitle": "NPLLIq_subtitle",
286
- "monitorRow": "NPLLIq_monitorRow",
287
- "balanceValueOk": "NPLLIq_balanceValueOk",
288
- "logPagerBtn": "NPLLIq_logPagerBtn",
293
+ "logTable": "NPLLIq_logTable",
294
+ "dialogTabActive": "NPLLIq_dialogTabActive",
295
+ "fillOver": "NPLLIq_fillOver",
296
+ "copyBtn": "NPLLIq_copyBtn",
297
+ "versionNew": "NPLLIq_versionNew",
298
+ "settingsBtnActive": "NPLLIq_settingsBtnActive",
299
+ "tabLabel": "NPLLIq_tabLabel",
300
+ "noticeError": "NPLLIq_noticeError",
301
+ "copyBtnDone": "NPLLIq_copyBtnDone",
289
302
  "logModelCol": "NPLLIq_logModelCol",
303
+ "noteChipOpen": "NPLLIq_noteChipOpen",
304
+ "fillIdle": "NPLLIq_fillIdle",
305
+ "resetRow": "NPLLIq_resetRow",
306
+ "noteNew": "NPLLIq_noteNew",
307
+ "noteMenuItem": "NPLLIq_noteMenuItem",
308
+ "noteWinText": "NPLLIq_noteWinText",
309
+ "noteWinResize": "NPLLIq_noteWinResize",
310
+ "noteChip": "NPLLIq_noteChip",
311
+ "balanceToggle": "NPLLIq_balanceToggle",
312
+ "checkUpdatesLabel": "NPLLIq_checkUpdatesLabel",
313
+ "rowName": "NPLLIq_rowName",
314
+ "checkErrorHint": "NPLLIq_checkErrorHint",
315
+ "settingsDialog": "NPLLIq_settingsDialog",
290
316
  "monitorHint": "NPLLIq_monitorHint",
291
- "dialogOverlay": "NPLLIq_dialogOverlay",
292
- "noteWinTitleText": "NPLLIq_noteWinTitleText",
293
- "notice": "NPLLIq_notice",
294
- "rowDropTarget": "NPLLIq_rowDropTarget",
295
- "balanceSortBtn": "NPLLIq_balanceSortBtn",
317
+ "input": "NPLLIq_input",
318
+ "tabIcon": "NPLLIq_tabIcon",
319
+ "noteWin": "NPLLIq_noteWin",
296
320
  "balanceRowValue": "NPLLIq_balanceRowValue",
297
- "balanceWin": "NPLLIq_balanceWin",
321
+ "logToolbar": "NPLLIq_logToolbar",
322
+ "upgradeCommandRow": "NPLLIq_upgradeCommandRow",
323
+ "logPagerInfo": "NPLLIq_logPagerInfo",
324
+ "row": "NPLLIq_row",
325
+ "checkBtn": "NPLLIq_checkBtn",
326
+ "dialogHint": "NPLLIq_dialogHint",
298
327
  "save": "NPLLIq_save",
299
- "balanceBarRefresh": "NPLLIq_balanceBarRefresh",
328
+ "balanceSortBtn": "NPLLIq_balanceSortBtn",
329
+ "headerActions": "NPLLIq_headerActions",
330
+ "monitorName": "NPLLIq_monitorName",
331
+ "currentBadge": "NPLLIq_currentBadge",
300
332
  "upgradeBannerText": "NPLLIq_upgradeBannerText",
301
- "dialogTabActive": "NPLLIq_dialogTabActive",
302
- "settingsDialog": "NPLLIq_settingsDialog",
303
- "upgradeCommands": "NPLLIq_upgradeCommands",
304
- "tabIcon": "NPLLIq_tabIcon",
305
- "logClearDialog": "NPLLIq_logClearDialog",
306
- "noteWinResize": "NPLLIq_noteWinResize",
307
- "panelDimStrong": "NPLLIq_panelDimStrong",
308
- "versionNew": "NPLLIq_versionNew",
309
- "noteWinCollapsed": "NPLLIq_noteWinCollapsed",
310
- "logPagerPages": "NPLLIq_logPagerPages",
311
- "noteWin": "NPLLIq_noteWin",
312
- "switch": "NPLLIq_switch",
313
- "upgradeHint": "NPLLIq_upgradeHint",
314
- "body": "NPLLIq_body",
315
- "copyBtnDone": "NPLLIq_copyBtnDone",
316
- "dialogClose": "NPLLIq_dialogClose",
317
- "rowDrag": "NPLLIq_rowDrag",
318
- "fillOver": "NPLLIq_fillOver",
333
+ "monitorList": "NPLLIq_monitorList",
334
+ "balanceWinBody": "NPLLIq_balanceWinBody",
335
+ "version": "NPLLIq_version",
336
+ "monitorRow": "NPLLIq_monitorRow",
337
+ "noteWinTitle": "NPLLIq_noteWinTitle",
338
+ "balanceRow": "NPLLIq_balanceRow",
339
+ "upgradeBanner": "NPLLIq_upgradeBanner",
340
+ "rowHeader": "NPLLIq_rowHeader",
341
+ "balanceBar": "NPLLIq_balanceBar",
342
+ "balanceBarRefresh": "NPLLIq_balanceBarRefresh",
343
+ "balanceStateError": "NPLLIq_balanceStateError",
319
344
  "noteWinGripBar": "NPLLIq_noteWinGripBar",
320
- "resetRow": "NPLLIq_resetRow",
321
- "logSearch": "NPLLIq_logSearch",
322
- "logTable": "NPLLIq_logTable",
323
- "dialogTabs": "NPLLIq_dialogTabs",
345
+ "upgradeHint": "NPLLIq_upgradeHint",
346
+ "logPagerBtn": "NPLLIq_logPagerBtn",
324
347
  "headerText": "NPLLIq_headerText",
325
- "logPagerControls": "NPLLIq_logPagerControls",
348
+ "dialogClose": "NPLLIq_dialogClose",
326
349
  "noteNewPlus": "NPLLIq_noteNewPlus",
327
- "noteWinBtn": "NPLLIq_noteWinBtn",
328
- "input": "NPLLIq_input",
329
- "logClearBtn": "NPLLIq_logClearBtn",
330
- "balanceLastLine": "NPLLIq_balanceLastLine",
331
- "noticeError": "NPLLIq_noticeError",
350
+ "noteWinTitleText": "NPLLIq_noteWinTitleText",
351
+ "balanceBarDim": "NPLLIq_balanceBarDim",
352
+ "logClearDate": "NPLLIq_logClearDate",
332
353
  "gearBtn": "NPLLIq_gearBtn",
333
- "monitorName": "NPLLIq_monitorName",
334
- "logPager": "NPLLIq_logPager",
335
- "title": "NPLLIq_title",
336
- "noteWinTitle": "NPLLIq_noteWinTitle",
354
+ "balanceValueError": "NPLLIq_balanceValueError",
355
+ "fullNotice": "NPLLIq_fullNotice",
337
356
  "rowDragging": "NPLLIq_rowDragging",
338
- "rowHeader": "NPLLIq_rowHeader",
339
- "upgradeBanner": "NPLLIq_upgradeBanner",
340
- "noteMenuBackdrop": "NPLLIq_noteMenuBackdrop",
341
- "dialogHint": "NPLLIq_dialogHint",
342
- "version": "NPLLIq_version",
343
- "balanceStateHint": "NPLLIq_balanceStateHint",
344
- "dialogTitle": "NPLLIq_dialogTitle",
345
- "logDialog": "NPLLIq_logDialog",
357
+ "fillWarn": "NPLLIq_fillWarn",
358
+ "collapse": "NPLLIq_collapse",
359
+ "panel": "NPLLIq_panel",
346
360
  "balanceWinTitle": "NPLLIq_balanceWinTitle",
347
- "balanceWinHeader": "NPLLIq_balanceWinHeader",
348
- "settingsBtnActive": "NPLLIq_settingsBtnActive",
349
- "header": "NPLLIq_header",
350
- "logScroll": "NPLLIq_logScroll",
361
+ "balanceRefreshAll": "NPLLIq_balanceRefreshAll",
362
+ "logUsedCol": "NPLLIq_logUsedCol",
363
+ "balanceBarError": "NPLLIq_balanceBarError",
364
+ "dialogTabs": "NPLLIq_dialogTabs",
365
+ "upgradeCommands": "NPLLIq_upgradeCommands",
366
+ "balanceWin": "NPLLIq_balanceWin",
367
+ "logPagerPages": "NPLLIq_logPagerPages",
368
+ "balanceValueOk": "NPLLIq_balanceValueOk",
351
369
  "controls": "NPLLIq_controls",
352
- "balanceBarBadge": "NPLLIq_balanceBarBadge",
353
- "row": "NPLLIq_row",
354
- "balanceValueError": "NPLLIq_balanceValueError",
370
+ "dialogBody": "NPLLIq_dialogBody",
371
+ "subtitle": "NPLLIq_subtitle",
355
372
  "dialogSection": "NPLLIq_dialogSection",
356
- "balanceRowRefresh": "NPLLIq_balanceRowRefresh",
373
+ "balanceRowHeader": "NPLLIq_balanceRowHeader",
357
374
  "logDayCol": "NPLLIq_logDayCol",
358
- "noteMenu": "NPLLIq_noteMenu",
375
+ "balanceBarText": "NPLLIq_balanceBarText",
359
376
  "balanceRowName": "NPLLIq_balanceRowName",
360
- "balanceValueLow": "NPLLIq_balanceValueLow",
361
- "balanceStateError": "NPLLIq_balanceStateError",
362
- "dialogBtn": "NPLLIq_dialogBtn",
363
- "noteChipOpen": "NPLLIq_noteChipOpen",
364
- "logPagerInfo": "NPLLIq_logPagerInfo",
365
- "rowName": "NPLLIq_rowName",
377
+ "resetSelect": "NPLLIq_resetSelect",
378
+ "noteWinBtn": "NPLLIq_noteWinBtn",
366
379
  "selectBtn": "NPLLIq_selectBtn",
367
- "balanceBarLow": "NPLLIq_balanceBarLow",
368
- "balanceToggle": "NPLLIq_balanceToggle",
369
- "balanceBarDim": "NPLLIq_balanceBarDim",
370
- "fullNotice": "NPLLIq_fullNotice",
371
- "tab": "NPLLIq_tab",
372
- "logHeader": "NPLLIq_logHeader",
373
- "noteMenuItem": "NPLLIq_noteMenuItem",
374
- "panel": "NPLLIq_panel",
375
- "bar": "NPLLIq_bar",
376
- "balanceToggleOpen": "NPLLIq_balanceToggleOpen",
377
- "checkErrorHint": "NPLLIq_checkErrorHint",
378
- "radioRow": "NPLLIq_radioRow",
379
- "fillIdle": "NPLLIq_fillIdle",
380
- "upgradeBannerFlash": "NPLLIq_upgradeBannerFlash",
381
- "noteNew": "NPLLIq_noteNew",
382
- "fillWarn": "NPLLIq_fillWarn",
383
- "balanceWinBody": "NPLLIq_balanceWinBody",
384
- "balanceBar": "NPLLIq_balanceBar",
385
- "checkUpdatesRow": "NPLLIq_checkUpdatesRow",
386
380
  "dialogActions": "NPLLIq_dialogActions",
387
- "upgradeClose": "NPLLIq_upgradeClose",
388
- "balanceBarText": "NPLLIq_balanceBarText",
381
+ "body": "NPLLIq_body",
382
+ "balanceLastLine": "NPLLIq_balanceLastLine",
383
+ "header": "NPLLIq_header",
384
+ "balanceBarLow": "NPLLIq_balanceBarLow",
389
385
  "dialog": "NPLLIq_dialog",
390
- "monitorList": "NPLLIq_monitorList",
391
- "checkUpdatesLabel": "NPLLIq_checkUpdatesLabel"
386
+ "noteMenu": "NPLLIq_noteMenu",
387
+ "title": "NPLLIq_title",
388
+ "noteWinCollapsed": "NPLLIq_noteWinCollapsed",
389
+ "upgradeCommand": "NPLLIq_upgradeCommand",
390
+ "dialogBtnPrimary": "NPLLIq_dialogBtnPrimary",
391
+ "radioRow": "NPLLIq_radioRow"
392
392
  };
393
393
  //#endregion
394
394
  //#region lib/types/client/TokenQuotaPanel.js
@@ -1058,13 +1058,13 @@ window.__ModuleLoader__.load({
1058
1058
  title: t("upgradeAvailableHint"),
1059
1059
  children: [
1060
1060
  "v",
1061
- "0.1.36",
1061
+ "0.1.38",
1062
1062
  " → v",
1063
1063
  upgrade.latestVersion
1064
1064
  ]
1065
1065
  }) : (0, react_jsx_runtime.jsxs)("span", {
1066
1066
  className: TokenQuotaPanel_module_css_default.version,
1067
- children: ["v", "0.1.36"]
1067
+ children: ["v", "0.1.38"]
1068
1068
  })]
1069
1069
  })
1070
1070
  }), (0, react_jsx_runtime.jsxs)("div", {
package/lib/index.js CHANGED
@@ -619,7 +619,7 @@ var TokenQuotaService = class TokenQuotaService extends Service {
619
619
  return this.upgradeCheck;
620
620
  }
621
621
  async doRefreshUpgrade() {
622
- const current = "0.1.36";
622
+ const current = "0.1.38";
623
623
  let latest;
624
624
  try {
625
625
  const response = await fetch(REGISTRY_LATEST_URL, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jxgame2020/dsh-token-quota",
3
3
  "description": "Daily per-model token quota accounting, enforcement, and a floating quota panel for the DeepSeek Harness — a fully self-contained plugin (no core-Harness wiring, no generated RPC contract)",
4
- "version": "0.1.37",
4
+ "version": "0.1.38",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -53,7 +53,6 @@
53
53
  "lib/types/**/*.d.ts"
54
54
  ],
55
55
  "license": "MIT",
56
- "dependencies": {},
57
56
  "peerDependencies": {
58
57
  "@deepseek-ai/cordis": "*",
59
58
  "@deepseek-ai/dsh-agent": "*",