gemini-cli-leo 0.1.28 → 0.1.29

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": "gemini-cli-leo",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "gemini-leo": "gemini.mjs"
@@ -54,3 +54,4 @@ decision = "allow"
54
54
  priority = 998
55
55
  modes = ["yolo"]
56
56
  allowRedirection = true
57
+ allowCommandSubstitution = true
@@ -111,6 +111,14 @@
111
111
  (global-name "com.apple.SystemConfiguration.configd")
112
112
  )
113
113
 
114
+ ;; allow FSEvents, which Node's fs.watch uses for directory watches on macOS
115
+ ;; (e.g. the git branch indicator watching .git/HEAD). Without it, watchers
116
+ ;; fail asynchronously with EMFILE and live branch-name updates stop. FSEvents
117
+ ;; only reports file changes, and file-read* is already allowed above.
118
+ (allow mach-lookup
119
+ (global-name "com.apple.FSEvents")
120
+ )
121
+
114
122
  ;; AF_SYSTEM socket used by the network stack (from baseProfile.ts)
115
123
  (allow system-socket
116
124
  (require-all
@@ -113,6 +113,14 @@
113
113
  (global-name "com.apple.SystemConfiguration.configd")
114
114
  )
115
115
 
116
+ ;; allow FSEvents, which Node's fs.watch uses for directory watches on macOS
117
+ ;; (e.g. the git branch indicator watching .git/HEAD). Without it, watchers
118
+ ;; fail asynchronously with EMFILE and live branch-name updates stop. FSEvents
119
+ ;; only reports file changes, and file-read* is already allowed above.
120
+ (allow mach-lookup
121
+ (global-name "com.apple.FSEvents")
122
+ )
123
+
116
124
  ;; AF_SYSTEM socket used by the network stack (from baseProfile.ts)
117
125
  (allow system-socket
118
126
  (require-all
@@ -8,6 +8,7 @@
8
8
  (allow file-read*
9
9
  (literal (string-append (param "HOME_DIR") "/.gemini/settings.json"))
10
10
  (literal (string-append (param "HOME_DIR") "/.gemini/keybindings.json"))
11
+ (literal (string-append (param "HOME_DIR") "/.gemini/theme.json"))
11
12
  )
12
13
 
13
14
  ;; allow exec/fork (children inherit policy)
@@ -8,6 +8,7 @@
8
8
  (allow file-read*
9
9
  (literal (string-append (param "HOME_DIR") "/.gemini/settings.json"))
10
10
  (literal (string-append (param "HOME_DIR") "/.gemini/keybindings.json"))
11
+ (literal (string-append (param "HOME_DIR") "/.gemini/theme.json"))
11
12
  )
12
13
 
13
14
  ;; allow exec/fork (children inherit policy)
@@ -12,6 +12,7 @@
12
12
  ;; Only allow reading essential dotfiles/directories under HOME, not the entire HOME
13
13
  (literal (string-append (param "HOME_DIR") "/.gemini/settings.json"))
14
14
  (literal (string-append (param "HOME_DIR") "/.gemini/keybindings.json"))
15
+ (literal (string-append (param "HOME_DIR") "/.gemini/theme.json"))
15
16
  (subpath (string-append (param "HOME_DIR") "/.npm"))
16
17
  (subpath (string-append (param "HOME_DIR") "/.cache"))
17
18
  (literal (string-append (param "HOME_DIR") "/.gitconfig"))
@@ -12,6 +12,7 @@
12
12
  ;; Only allow reading essential dotfiles/directories under HOME, not the entire HOME
13
13
  (literal (string-append (param "HOME_DIR") "/.gemini/settings.json"))
14
14
  (literal (string-append (param "HOME_DIR") "/.gemini/keybindings.json"))
15
+ (literal (string-append (param "HOME_DIR") "/.gemini/theme.json"))
15
16
  (subpath (string-append (param "HOME_DIR") "/.npm"))
16
17
  (subpath (string-append (param "HOME_DIR") "/.cache"))
17
18
  (literal (string-append (param "HOME_DIR") "/.gitconfig"))