pi-landstrip 0.17.23 → 0.17.24

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 +4 -1
  2. package/package.json +2 -2
package/index.ts CHANGED
@@ -1839,7 +1839,10 @@ export function createLandstripIntegration(
1839
1839
  let landstripArgs: string[];
1840
1840
  try {
1841
1841
  policy = writePolicyFile(cwd, proxy?.port ?? null, allowances);
1842
- envFile = writeEnvFile({ ...process.env, ...env }, proxy?.port ?? null);
1842
+ envFile = writeEnvFile(
1843
+ { ...process.env, ...env, PWD: resolve(cwd) },
1844
+ proxy?.port ?? null,
1845
+ );
1843
1846
  const wrappedCommand = `source '${envFile.path}' && ${command}`;
1844
1847
  landstripArgs = ['--trap-fd', '3', '-p', policy.path, shell, ...args, wrappedCommand];
1845
1848
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-landstrip",
3
- "version": "0.17.23",
3
+ "version": "0.17.24",
4
4
  "description": "Sandbox-aware Pi subagents and interactive command permissions",
5
5
  "keywords": [
6
6
  "landstrip",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@earendil-works/pi-tui": "^0.80.6",
49
- "@landstrip/landstrip": "^0.17.23",
49
+ "@landstrip/landstrip": "^0.17.24",
50
50
  "minimatch": "^10.2.5"
51
51
  },
52
52
  "devDependencies": {