@javierfrancoleal/dsh-supervisor 1.0.44 → 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 +2 -0
- package/package.json +1 -1
- package/server.js +1 -1
package/dashboard.html
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|