pi-landstrip 0.16.21 → 0.16.22

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/index.ts +6 -0
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -443,6 +443,11 @@ function extractNativeWriteDeniedPath(output: string, cwd: string): string | nul
443
443
  );
444
444
  if (match) return normalizePathMatch(match[1], cwd);
445
445
 
446
+ match = output.match(
447
+ /^[a-zA-Z0-9_-]+: couldn't open temporary file (\/[^:\n]+): (?:Operation not permitted|Permission denied)$/m,
448
+ );
449
+ if (match) return normalizePathMatch(match[1], cwd);
450
+
446
451
  return null;
447
452
  }
448
453
 
@@ -1417,6 +1422,7 @@ export function createLandstripIntegration(
1417
1422
  onStderr: (data) => {
1418
1423
  stderrOutput += data.toString('utf8');
1419
1424
  },
1425
+ promptOnBlock: true,
1420
1426
  }),
1421
1427
  shellPath: SettingsManager.create(ctx.cwd).getShellPath(),
1422
1428
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-landstrip",
3
- "version": "0.16.21",
3
+ "version": "0.16.22",
4
4
  "description": "Landlock-based sandboxing for pi with interactive permission prompts",
5
5
  "keywords": [
6
6
  "landstrip",