@7365admin1/core 3.79.1-staging.352 → 3.79.1-staging.354
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/.changeset/robot-faults-network.md +7 -0
- package/dist/index.d.ts +465 -191
- package/dist/index.js +3869 -2998
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1989 -1126
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/test/e2e/harness.mjs +2 -0
- package/test/e2e/robot-faults.e2e.test.mjs +307 -0
- package/test/e2e/robot-network.e2e.test.mjs +5 -2
- package/test/hid-identification-methods.test.mjs +255 -0
- package/test/robot-adapter.test.mjs +9 -0
- package/test/robot-fault.test.mjs +80 -0
- package/test/robot-network.test.mjs +62 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
"@7365admin1/core": minor
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Robots: record faults and offline robots network-wide in a new `robot-faults` collection (one open record per robot and fault, enforced by a unique partial index; each occurrence notified once across every API instance). Adds a bounded background sweep (`useRobotFaultSweep`, `robotFaultSweepConfig`), `GET /robots/network/faults`, `GET /robots/network/states`, fault/offline counts and per-site lists on `/robots/network/summary`, and per-row fault/offline plus faults-only / offline-only / status filters on `/robots/network`.
|
|
6
|
+
|
|
7
|
+
The sweep also tells staff once when a robot has not reported for `ROBOT_OFFLINE_ALERT_MINUTES` (default 10) and once when it is back online; shorter blips alert nobody (claimed on the OFFLINE record's `offlineNotifiedAt` / `recoveryNotifiedAt`). Ounitech's manifest records pause/resume/cancel as `pendingCommands` (awaiting vendor confirmation; never offered).
|