@enigmax/dashboard 0.1.8 → 0.1.9
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/assets/index.html +3 -2
- package/package.json +1 -1
package/assets/index.html
CHANGED
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
</div>
|
|
287
287
|
<div class="panel" id="usagePanel" style="display:none">
|
|
288
288
|
<h2 style="margin:0 0 4px">Usage limits <small>same windows Claude Code shows</small></h2>
|
|
289
|
-
<div class="sub" style="margin-bottom:12px">
|
|
289
|
+
<div class="sub" style="margin-bottom:12px">Cards marked <span class="tag meas">live</span> show the <b>real % and reset</b> Anthropic reports (the same as Claude's own UI), captured by the local proxy from your <code>enigma claude</code> traffic - no plan limit needed. Until the proxy has seen a request, the card falls back to tokens used, or a % against a plan limit you set (on the card, or <code>enigma config plan-weekly-limit <tokens></code>). Per-model live data appears only when Anthropic sends it.</div>
|
|
290
290
|
<div id="uWindows"></div>
|
|
291
291
|
<div class="grid" style="margin-bottom:16px">
|
|
292
292
|
<div class="card"><div class="label">Est. Cost</div><div id="uCost" class="value accent">-</div><div class="foot">All sessions, per-model pricing</div></div>
|
|
@@ -555,7 +555,8 @@
|
|
|
555
555
|
+ '<div class="wset"><input type="number" min="0" class="wlimit" data-plan="' + sub + '" placeholder="set limit (tokens)">'
|
|
556
556
|
+ '<button type="button" class="laddb" data-plan="' + sub + '">Set</button></div>';
|
|
557
557
|
}
|
|
558
|
-
|
|
558
|
+
const live = w.live ? ' <span class="tag meas">live</span>' : "";
|
|
559
|
+
return '<div class="wcard"><div class="wtitle">' + esc(w.label) + live + '</div><div class="wreset">' + esc(reset) + '</div>' + body + '</div>';
|
|
559
560
|
}
|
|
560
561
|
function renderWindows(u) {
|
|
561
562
|
const w = u && u.windows;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmax/dashboard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Local browser dashboard UI for enigma: the static page and chart assets enigma serves on its loopback dashboard (savings, real tool usage, in-browser settings). Installed on demand by enigma-cli; not a runtime dependency.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|