@cratis/pi 8.4.0 → 8.4.1

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.
@@ -391,7 +391,7 @@ lsof_matches() {
391
391
  /^f./ { kind = substr($0, 2); type = ""; next }
392
392
  /^t./ { type = substr($0, 2); next }
393
393
  /^n/ {
394
- seen_name = 1; path = substr($0, 2)
394
+ seen_name = 1; path = substr($0, 2); name = path
395
395
  if (ignored || path == "(revoked)") next
396
396
  # A diagnostic suffix can follow the target directory itself, not just a child path.
397
397
  sub(/ (\(stat:|\(FD info error:|FD info error:).*/, "", path)
@@ -414,6 +414,10 @@ lsof_matches() {
414
414
  if (path ~ /^(anon_inode:)?\[[[:alnum:]_]+(:[0-9]+(,[0-9]+)*)?\]$/) next
415
415
  # lsof truncates long names, leaving a digit/comma list ending in `...` with no closing bracket.
416
416
  if (path ~ /^(anon_inode:)?\[[[:alnum:]_]+:[0-9,]*\.\.\.$/) next
417
+ # Some lsof builds keep the closing bracket after the ellipsis. Only an a_inode record qualifies,
418
+ # because a Unix socket can be bound to that literal file name, and the unstripped name must
419
+ # match, so no diagnostic suffix can hide behind it.
420
+ if (type == "a_inode" && name ~ /^(anon_inode:)?\[[[:alnum:]_]+:[0-9,]*\.\.\.\]$/) next
417
421
  if (type == "a_inode" && path ~ /^(anon_inode:)?[[:alnum:]_]+$/) next
418
422
  if (type == "unix" && path ~ /^type=[[:upper:]]+( \([[:upper:]]+\))?$/) next
419
423
  if (type == "netlink" && path ~ /^[[:upper:]_]+$/) next
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [