@javierfrancoleal/dsh-supervisor 1.0.43 → 1.0.45

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/dashboard.html CHANGED
@@ -84,14 +84,14 @@ td,th{border-bottom:1px solid var(--line);padding:9px 6px;text-align:left}
84
84
  .splash-inner span{font-size:12.5px;opacity:.85}
85
85
  @media (prefers-reduced-motion: no-preference){.splash-inner svg path{stroke-dasharray:100;stroke-dashoffset:100;animation:drawStroke 1.2s cubic-bezier(.4,0,.2,1) forwards}}
86
86
  @media (prefers-reduced-motion: reduce){#splash{display:none}}
87
- .hidden{display:none!important}
87
+ .hidden{display:none}
88
88
  .kban{background:#fef3c7;border:1px solid #f59e0b;color:#92400e;border-radius:12px;padding:12px 14px;margin:10px 0;font-weight:700;font-size:15px}
89
89
  .chip{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:600}
90
90
  .foot{text-align:center;padding:6px 16px 16px}
91
91
  .foot .copyr{font-size:12px;color:var(--muted)}
92
92
  .eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:18px;cursor:pointer;padding:4px}
93
93
  .passwrap{position:relative}
94
- .loginerr{background:#fee2e2;color:#b91c1c;border-radius:10px;padding:10px 12px;margin:8px 0;font-size:14px;display:block}
94
+ .loginerr{background:#fee2e2;color:#b91c1c;border-radius:10px;padding:10px 12px;margin:8px 0;font-size:14px}
95
95
  .loginok{background:#dcfce7;color:#15803d;border-radius:10px;padding:10px 12px;margin:8px 0;font-size:14px;display:block}
96
96
  .note{color:var(--muted);font-size:13px}
97
97
  .hint{font-size:12.5px;color:var(--muted);margin-top:4px}
@@ -418,6 +418,8 @@ $("soundBtn").onclick=()=>{soundOn=!soundOn;try{localStorage.setItem("dsh-sound"
418
418
  try{darkOn=localStorage.getItem("dsh-dark")==="1";soundOn=localStorage.getItem("dsh-sound")!=="0";}catch(e){}
419
419
  applyToggles();
420
420
  document.body.classList.add("loginpage");
421
+ // ?reset clears the local memory and reloads — instant first-run for testing
422
+ if(/[?&]reset/.test(location.search)){try{["dsh-lang","dsh-theme","dsh-sup-token","dsh-sup-me"].forEach(k=>localStorage.removeItem(k));}catch(e){}}
421
423
  const firstRun=(()=>{try{return !localStorage.getItem("dsh-lang");}catch(e){return true;}})();
422
424
  if(firstRun){
423
425
  $("splash").style.display="none";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@javierfrancoleal/dsh-supervisor",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "The Veilleux central control plane of the J.Franco agentic workflow suite: user accounts, the live conversation flow (listen → per-person summary → confirm → orders), telemetry, and the universal sector dashboard with 10 languages. Created by J.Franco.",
5
5
  "author": "J.Franco",
6
6
  "license": "MIT",
package/server.js CHANGED
@@ -44,7 +44,7 @@ const LIVE_FILE = path.join(DATA_DIR, "live.json");
44
44
  const SECTOR_FILE = path.join(DATA_DIR, "sector.json");
45
45
  const REG_FILE = path.join(DATA_DIR, "register.json");
46
46
  const PRICE_PER_MILLION = Number(process.env.DSH_PRICE_PER_MILLION || 0.28);
47
- const VERSION = "1.0.40";
47
+ const VERSION = "1.0.44";
48
48
  // Homeostasis: the daily token budget (metabolic limit). The brain rests
49
49
  // when the budget is spent — no runaway costs.
50
50
  const DAILY_BUDGET_USD = Number(process.env.DSH_DAILY_BUDGET_USD || 0); // 0 = unlimited: consumption is the business