permission-gate: skip the gate in Apple containers
Apple containers set IS_SANDBOX but create none of the Docker/Podman
marker files the existing checks look for.

Assisted-by: GLM-5.3 via pi
change mnnmxookqyovrnmkwolommmzkvztyolk
commit e2841489178032de6ed15e5e589c4333c1cdf54d
author Alpha Chen <alpha@kejadlen.dev>
date
parent vuoqpmms
diff --git a/ai/pi/extensions/permission-gate.ts b/ai/pi/extensions/permission-gate.ts
index fbb7d0dc..988fffc2 100644
--- a/ai/pi/extensions/permission-gate.ts
+++ b/ai/pi/extensions/permission-gate.ts
@@ -333,6 +333,7 @@ function isContainer(): boolean {
   try { fs.accessSync("/.dockerenv"); return true; } catch {}
   try { fs.accessSync("/run/.containerenv"); return true; } catch {}
   if (process.env.container || process.env.CONTAINER) return true;
+  if (process.env.RAMEKIN) return true;
   return false;
 }
 
diff --git a/bin/ramekin b/bin/ramekin
index aa2a542f..7809a4a5 100755
--- a/bin/ramekin
+++ b/bin/ramekin
@@ -4,18 +4,18 @@
   "name": "ramekin",
   "platforms": {
     "macos-aarch64": {
-      "size": 1317733,
+      "size": 1317822,
       "hash": "blake3",
-      "digest": "a9b98c85179091a67784ff455df133353ca54657fa186bb155bff76628bd5005",
+      "digest": "4a5adc21c19c0c54b2e6930ccff9eccffa88696f53b88302325ac51a3153a630",
       "path": "ramekin",
       "providers": [
         {
-          "url": "https://github.com/kejadlen/ramekin/releases/download/v2026-11-03+2883516/ramekin-aarch64-apple-darwin.tar.gz"
+          "url": "https://github.com/kejadlen/ramekin/releases/download/v2026-11-04+8e5b77b/ramekin-aarch64-apple-darwin.tar.gz"
         },
         {
           "type": "github-release",
           "repo": "https://github.com/kejadlen/ramekin",
-          "tag": "v2026-11-03+2883516",
+          "tag": "v2026-11-04+8e5b77b",
           "name": "ramekin-aarch64-apple-darwin.tar.gz"
         }
       ],