@trim21/personal-pi-extensions 0.1.554 → 0.1.555

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.1.554",
3
+ "version": "0.1.555",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
@@ -260,8 +260,8 @@ function notifyMode(
260
260
  ctx.ui.notify(labels[mode], "info");
261
261
  }
262
262
 
263
- /** 沙箱默认写边界:根只读、工作区可写、.git 只读。不展开用户配置的额外可写路径。 */
264
- const SANDBOX_WRITE_RULES = "/ is read-only, ./ is writable, ./.git/ is read-only";
263
+ /** 沙箱默认写边界:根只读、工作区与 /tmp 可写、.git 只读。不展开用户配置的额外可写路径。 */
264
+ const SANDBOX_WRITE_RULES = "/ is read-only, /tmp/ and ./ are writable, ./.git/ is read-only";
265
265
 
266
266
  /** 网络层级:关 / 只放行白名单 / 完全放开(白名单域名本身不列出,对判断失败无用)。 */
267
267
  function describeNetwork(resolved: ResolvedBwrap): string {