@vibelord/lanes 1.7.5 → 1.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibelord/lanes",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "Installer for Lanes: shared agent terminals over SSH with Zellij views, registry sync, uploads and a phone interface.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1 +1 @@
1
- 1.7.5
1
+ 1.7.6
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "schema": "lanes.bin-rs/1",
3
- "commit": "83f0e951ea5541f71d8ef9c639c1e258dd0471b2",
3
+ "commit": "fa84431eb78fc3f8fb627ca3902d1ea3886fff10",
4
4
  "binaries": []
5
5
  }
@@ -1643,7 +1643,9 @@ owner` fold the devices they name; `lanes user list|show` read the store. The si
1643
1643
  (cockpit v3 R3) resolves that owner exactly as `lanes attach` does (`users.login_for`, at start and whenever the device
1644
1644
  file changes — a claim, a hand-over) and adds the profile's `(st_ino, st_mtime_ns, st_size)` to its reload stamp, the
1645
1645
  one extra stat per tick an owned device pays (`users.update` replaces the file by rename, so every write has a new
1646
- inode and two writes inside one timestamp tick are both seen, DEF-1972): on a change it re-reads the profile, merges its opened-lane marks into its own (the later per lane)
1646
+ inode and two writes inside one timestamp tick are both seen, DEF-1972; the device file's own field is the same
1647
+ `(st_ino, st_mtime_ns, st_size)`, since `lanes attach` also replaces it by rename): on a change it re-reads the
1648
+ profile, merges its opened-lane marks into its own (the later per lane)
1647
1649
  and paints its look over the device file's (`layered_look`: `--device-only` keys → profile → unmarked device keys →
1648
1650
  environment → defaults).
1649
1651
  Opening a lane there (`open_lane`, or `lanes next|prev`) writes the device's own `clients/<device>.seen.json` as before
@@ -1234,9 +1234,12 @@ class Sidebar:
1234
1234
  self.recheck_version()
1235
1235
  if not force and self.swap_due(): # run()'s tick only: a forced reload is an action's, never cut short
1236
1236
  self.self_swap()
1237
+ # The device file's field is file_stamp, like the profile's: `lanes attach` replaces it by rename, and two
1238
+ # writes inside one timestamp tick (a --device-only key, then the same flag without it) differ only by inode
1239
+ # and size; an mtime alone kept the first look (DEF-1972's mechanism on the device file).
1237
1240
  stamp = (mtime(self.registry_path), mtime(self.status_path),
1238
1241
  sum(mtime(self.slot_file(slot, 'target')) for slot in SLOTS[:self.viewports]),
1239
- mtime(self.look_path), mtime(self.economy_path), mtime(self.command_path), self.profile_stamp(),
1242
+ file_stamp(self.look_path), mtime(self.economy_path), mtime(self.command_path), self.profile_stamp(),
1240
1243
  self.canonical_stamp())
1241
1244
  if stamp == self.stamp and not force:
1242
1245
  return
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vibelord/lanes",
3
- "version": "1.7.5",
4
- "commit": "83f0e951ea5541f71d8ef9c639c1e258dd0471b2",
5
- "digest": "sha256:4655f7c1429814a2933ded82facbbce458e1ced5b8f5ab5ab650b76d38e4d1ff",
3
+ "version": "1.7.6",
4
+ "commit": "fa84431eb78fc3f8fb627ca3902d1ea3886fff10",
5
+ "digest": "sha256:7c5d5bd4779c9bcdb35a5b0b37e9dc63cb5efcfd1076872c55e89d6dd90e7dc3",
6
6
  "executables": [
7
7
  "bin/lanes",
8
8
  "bin/lanes-site-serve",