@7365admin1/core 3.99.1-staging.395 → 3.99.1-staging.397

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.
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@7365admin1/core": minor
3
+ ---
4
+
5
+ Robots (Ounitech): the signed timestamp format is now a per-brand setting (`OUNITECH_TIMESTAMP_FORMAT`, unchanged default `yyyyMMddHHmmss` UTC), and Super Admin Diagnose gains `?probe=timestamp`, which tries each candidate format on the read-only robot list (once a minute per robot) and reports which one Ounitech accepts.
@@ -0,0 +1,11 @@
1
+ ---
2
+ "@7365admin1/core": minor
3
+ ---
4
+
5
+ PadBot live feed, alarm notifications to site staff, go-to-point and manual control.
6
+ - `startPadbotLiveFeed()` (API-core boot): one MQTT-over-TLS link per PadBot AccessKey pair (§7: credentials API, TLS >= 1.2 with certificate + host verification, subscribe only to our robots' `robotPubTopic`, refresh before `expiresAt`, backoff + jitter, bounded, never logs credentials). Battery and position feed `/state` and the `/track` SSE stream instantly (REST stays the fallback); map updates drop cached maps. `PADBOT_MQTT=off` turns it off.
7
+ - Alarm backstop: every 60 s per account (and at once on an MQTT alarm) every §6.4 alarm since the newest seen goes through `notifyRobotFault` with PadBot's `occurredAt` - one notice per occurrence across instances and restarts. `PADBOT_ALARM_POLL=off` turns it off.
8
+ - New `robotAlert` notification category (permission resource `robot-mgmt`): alarms and e-stops notify the robot's site staff with robot rights (in-app, push, email per preference) in addition to Seven365 staff, titled in plain words ("Smoke detected by <robot> on L3"), with the robot id and photo links in `params`.
9
+ - New command `go-to-point` `{ mapId, targetPointId }` (§5.7). Refused commands are audited as `robot.command-refused` with the vendor's reason; the last 10 command replies per robot show in staff Diagnose.
10
+ - Manual control (§8.1): `useRobotFleetController().startDrive` / `.driveSignal` with a server-side dead-man (heartbeat <= 300 ms, move <= 2 s unless re-sent, STOP x3 on every loss path, 10 min cap), speed capped at 0.3 m/s (`PADBOT_DRIVE_MAX_SPEED`, max 0.5), head pan/tilt within the S2's range, blocked on e-stop / wheel lock / lift / access-door phases, audited start/end. Off unless `PADBOT_MANUAL_DRIVE=on` (capability `manualDrive`).
11
+ - Alarm faults carry `imageUrl` / `thermalImageUrl`.