@javierfrancoleal/dsh-supervisor 0.0.0-stage → 1.0.0
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/README.md +40 -2
- package/bin/jfranco-supervisor.js +11 -0
- package/dashboard.html +460 -0
- package/icons/icons/apple-icon-180.png +0 -0
- package/icons/icons/icon-192.png +0 -0
- package/icons/icons/icon-512.png +0 -0
- package/manifest.webmanifest +17 -0
- package/package.json +41 -4
- package/panel.html +383 -0
- package/sector-packs/sector-packs/clinic.json +83 -0
- package/sector-packs/sector-packs/hotel.json +83 -0
- package/sector-packs/sector-packs/pharmacy.json +99 -0
- package/sector-packs/sector-packs/realestate.json +99 -0
- package/sector-packs/sector-packs/restaurant.json +83 -0
- package/sector-packs/sector-packs/school.json +99 -0
- package/sector-packs/sector-packs/workshop.json +99 -0
- package/server.js +429 -0
package/README.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @javierfrancoleal/dsh-supervisor
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Created by **J.Franco** — the central control plane of the J.Franco agentic
|
|
4
|
+
workflow suite.
|
|
5
|
+
|
|
6
|
+
## What it is
|
|
7
|
+
|
|
8
|
+
A zero-dependency Node.js server that provides:
|
|
9
|
+
|
|
10
|
+
- **User accounts** with free role labels and three permission levels
|
|
11
|
+
(Field / Supervisor / Owner) — one universal flow for every person.
|
|
12
|
+
- **The live conversation flow**: START → listening → per-person summary
|
|
13
|
+
with confirm buttons → orders to the kitchen and the central system.
|
|
14
|
+
- **The universal sector dashboard** (10 languages, dark mode, wallboard,
|
|
15
|
+
PWA panel) — one skeleton that changes skin per sector
|
|
16
|
+
(restaurant, hotel, clinic, pharmacy, workshop, real estate, school…).
|
|
17
|
+
- **Telemetry**: reports, feedback, usage and cost, conversation trail.
|
|
18
|
+
|
|
19
|
+
## Install and run
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npm install -g @javierfrancoleal/dsh-supervisor # Node >= 24
|
|
23
|
+
|
|
24
|
+
jfranco-supervisor init --owner Maria --password s3cret \
|
|
25
|
+
--owner-label "Directora" \
|
|
26
|
+
--employee Ana --employee-password pw2 --employee-label "Mesera" \
|
|
27
|
+
--lead Luis --lead-password pw3 --lead-label "Cocinero"
|
|
28
|
+
|
|
29
|
+
jfranco-supervisor --lan --https # serves the dashboard and the panel
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Then open `http://<this-computer-ip>:8787/dashboard`.
|
|
33
|
+
|
|
34
|
+
## Pairing with the AI
|
|
35
|
+
|
|
36
|
+
Run the DeepSeek Harness standby agent so the field conversation is decoded
|
|
37
|
+
automatically (see the suite's `tools/agent-standby.sh`).
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
MIT.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// @javierfrancoleal/dsh-supervisor — launcher. Created by J.Franco.
|
|
3
|
+
// Forwards every argument to the supervisor server with sane defaults:
|
|
4
|
+
// data dir: ~/.dsh/supervisor-data · sector packs: the package's own
|
|
5
|
+
const os = require("node:os");
|
|
6
|
+
const path = require("node:path");
|
|
7
|
+
process.env.DSH_SUPERVISOR_DATA =
|
|
8
|
+
process.env.DSH_SUPERVISOR_DATA || path.join(os.homedir(), ".dsh", "supervisor-data");
|
|
9
|
+
process.env.DSH_SECTOR_PACKS_DIR =
|
|
10
|
+
process.env.DSH_SECTOR_PACKS_DIR || path.join(__dirname, "..", "sector-packs");
|
|
11
|
+
require("../server.js");
|