robopark 2.8.3 → 2.8.6

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/scheduler/main.py +3 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robopark",
3
- "version": "2.8.3",
3
+ "version": "2.8.6",
4
4
  "description": "RoboPark fleet control CLI — set up, watch, and drive a fleet of talking robots. The operator front-end over the infinicode mesh.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,7 @@
15
15
  "node": ">=20"
16
16
  },
17
17
  "dependencies": {
18
- "infinicode": "^2.8.3"
18
+ "infinicode": "^2.8.6"
19
19
  },
20
20
  "keywords": [
21
21
  "robopark",
package/scheduler/main.py CHANGED
@@ -276,19 +276,9 @@ async def init_db():
276
276
  pass # column already present
277
277
  await db.commit()
278
278
 
279
- # Insert default robots if not exist
280
- default_robots = [
281
- ("robopanda", "RoboPanda", "panda-character"),
282
- ("robobear", "RoboBear", "bear-character"),
283
- ("robocar", "RoboCar", "car-character"),
284
- ("robodragon", "RoboDragon", "dragon-character"),
285
- ("robofrog", "RoboFrog", "frog-character"),
286
- ]
287
- for robot_id, name, char_id in default_robots:
288
- await db.execute(
289
- "INSERT OR IGNORE INTO robots (id, name, character_id) VALUES (?, ?, ?)",
290
- (robot_id, name, char_id)
291
- )
279
+ # No demo robots are seeded. Actual robots enroll via the device
280
+ # enrollment API or are added through the scheduler UI. This keeps the
281
+ # fleet view honest — only real connected hardware appears.
292
282
  await db.commit()
293
283
 
294
284
  # Seed default enrollment token + production_mode flag (only on first run)