@trim21/personal-pi-extensions 0.0.375 → 0.0.376

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": "@trim21/personal-pi-extensions",
3
- "version": "0.0.375",
3
+ "version": "0.0.376",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
package/src/bwrap/core.ts CHANGED
@@ -288,6 +288,8 @@ export function createBwrapBashOperations(
288
288
  SHELL: "/bin/bash",
289
289
  TERM: "dumb",
290
290
  LANG: "C.UTF-8",
291
+ // 基础 PATH:profile 加载阶段(设置 PATH 前)需要系统命令(如 id),由 profile 随后覆盖;不含 sbin
292
+ PATH: "/usr/local/bin:/usr/bin:/bin",
291
293
  },
292
294
  },
293
295
  );