gemini-cli-leo 0.1.29 → 0.1.30-pre.1
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/cli/trusted-folders.md +13 -0
- package/gemini.mjs +2481 -1760
- package/package.json +1 -1
|
@@ -38,6 +38,19 @@ dialog will automatically appear, prompting you to make a choice:
|
|
|
38
38
|
Your choice is saved in a central file (`~/.gemini/trustedFolders.json`), so you
|
|
39
39
|
will only be asked once per folder.
|
|
40
40
|
|
|
41
|
+
### Trust prompt in the macOS Seatbelt sandbox
|
|
42
|
+
|
|
43
|
+
When you run Gemini CLI in the [macOS Seatbelt sandbox](./sandbox.md), Gemini
|
|
44
|
+
CLI can't read or write `~/.gemini/trustedFolders.json` from inside the sandbox.
|
|
45
|
+
Instead, it resolves folder trust before it starts the sandbox:
|
|
46
|
+
|
|
47
|
+
- If the folder already has a trust decision, Gemini CLI applies it to the
|
|
48
|
+
sandboxed session without asking again.
|
|
49
|
+
- If the folder doesn't have a trust decision yet, Gemini CLI asks you in the
|
|
50
|
+
terminal before the sandbox starts. The prompt offers the same choices and
|
|
51
|
+
discovery results as the trust dialog, and it saves your choice to
|
|
52
|
+
`~/.gemini/trustedFolders.json`.
|
|
53
|
+
|
|
41
54
|
## Understanding folder contents: The discovery phase
|
|
42
55
|
|
|
43
56
|
Before you make a choice, Gemini CLI performs a **discovery phase** to scan the
|