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/docs/changelogs/index.md +18 -0
- package/docs/changelogs/latest.md +89 -84
- package/docs/changelogs/preview.md +106 -92
- package/docs/cli/sandbox.md +8 -2
- package/docs/cli/themes.md +50 -5
- package/docs/reference/commands.md +4 -0
- package/docs/reference/configuration.md +9 -9
- package/docs/reference/policy-engine.md +6 -0
- package/gemini.mjs +8001 -4817
- package/package.json +1 -1
- package/policies/yolo.toml +1 -0
- package/sandbox-macos-permissive-open.sb +8 -0
- package/sandbox-macos-permissive-proxied.sb +8 -0
- package/sandbox-macos-restrictive-open.sb +1 -0
- package/sandbox-macos-restrictive-proxied.sb +1 -0
- package/sandbox-macos-strict-open.sb +1 -0
- package/sandbox-macos-strict-proxied.sb +1 -0
package/package.json
CHANGED
package/policies/yolo.toml
CHANGED
|
@@ -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"))
|