@lousy-agents/agent-shell 5.22.8 → 5.22.10

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/dist/index.js +6 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -17536,8 +17536,10 @@ async function openRootDirectoryListing(root, directory, options, receipt) {
17536
17536
  paths.names.set(name, pathname);
17537
17537
  let observed;
17538
17538
  try {
17539
- observed = options.exactIdentity ? inspectStatObservationSync(bigint => bigint
17540
- ? external_node_fs_namespaceObject.lstatSync(pathname, { bigint: true }) : external_node_fs_namespaceObject.lstatSync(pathname)) : { stat: external_node_fs_namespaceObject.lstatSync(pathname, { bigint: true }) };
17539
+ const stat = options.exactIdentity
17540
+ ? strict_file_identity_inspectFileIdentitySync(() => external_node_fs_namespaceObject.lstatSync(pathname, { bigint: true }))
17541
+ : external_node_fs_namespaceObject.lstatSync(pathname, { bigint: true });
17542
+ observed = { stat, ...(options.exactIdentity ? { identity: { dev: stat.dev, ino: stat.ino } } : {}) };
17541
17543
  }
17542
17544
  catch (error) {
17543
17545
  await assertCurrent();
@@ -17546,7 +17548,8 @@ async function openRootDirectoryListing(root, directory, options, receipt) {
17546
17548
  throw error;
17547
17549
  }
17548
17550
  await assertCurrent();
17549
- return { kind: "entry", entry: pathStatFromStats(observed.stat, name), identity: observed.identity };
17551
+ return { kind: "entry", entry: pathStatFromStats(observed.stat, name), identity: observed.identity,
17552
+ ...(options.exactIdentity ? { observation: observed.stat } : {}) };
17550
17553
  }
17551
17554
  }
17552
17555
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lousy-agents/agent-shell",
3
- "version": "5.22.8",
3
+ "version": "5.22.10",
4
4
  "description": "A flight recorder for npm script execution",
5
5
  "type": "module",
6
6
  "repository": {
@@ -37,7 +37,7 @@
37
37
  "typecheck": "tsc --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@openclaw/fs-safe": "0.26.7",
40
+ "@openclaw/fs-safe": "0.26.8",
41
41
  "zod": "4.5.2"
42
42
  },
43
43
  "peerDependencies": {