@javierfrancoleal/dsh-supervisor 1.0.23 → 1.0.24
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/package.json +1 -1
- package/server.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@javierfrancoleal/dsh-supervisor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
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
|
@@ -133,6 +133,7 @@ function loadUsers() {
|
|
|
133
133
|
}
|
|
134
134
|
function saveUsers(u) {
|
|
135
135
|
if (db) { /* inserts handled per-user */ return; }
|
|
136
|
+
fs.mkdirSync(DATA_DIR, { recursive: true });
|
|
136
137
|
fs.writeFileSync(USERS_FILE, JSON.stringify(u, null, 2));
|
|
137
138
|
}
|
|
138
139
|
function hashPw(pw, salt) { return crypto.scryptSync(pw, salt, 64).toString("hex"); }
|