@google/gemini-cli 0.67.0 → 0.69.0-preview.0

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.
Files changed (74) hide show
  1. package/README.md +18 -24
  2. package/bundle/{chunk-IDJ4QXBF.js → chunk-2KKDGWF2.js} +1 -1
  3. package/bundle/{chunk-7LX6MRZ6.js → chunk-2ONJU4V7.js} +1 -1
  4. package/bundle/chunk-3HEOCQDN.js +65 -0
  5. package/bundle/{chunk-VO6PFWLY.js → chunk-4SOPZCNA.js} +29 -15
  6. package/bundle/{chunk-56IGTM4O.js → chunk-6KCLIS6W.js} +1 -1
  7. package/bundle/{chunk-2E3ETS5J.js → chunk-BRHBBQC5.js} +2 -2
  8. package/bundle/{chunk-M73CYIV5.js → chunk-C5BED6L6.js} +2 -2
  9. package/bundle/{chunk-VK766A3F.js → chunk-CGQSFR2I.js} +7 -2
  10. package/bundle/{chunk-OJ62HCXG.js → chunk-CWHEOJXF.js} +7 -2
  11. package/bundle/{chunk-LAR4JEC7.js → chunk-DWMZSQYG.js} +6050 -2877
  12. package/bundle/{chunk-QTXJG3I3.js → chunk-GDCMMKZ2.js} +1 -1
  13. package/bundle/{chunk-YUO7RUF4.js → chunk-GQ7FZNO2.js} +1 -1
  14. package/bundle/{chunk-GBUWHRK6.js → chunk-JJWPYMIO.js} +3 -3
  15. package/bundle/{chunk-NGQU3QTQ.js → chunk-KUXCUQKX.js} +5859 -2837
  16. package/bundle/{chunk-P62CI7AR.js → chunk-LYKP3S67.js} +29 -15
  17. package/bundle/{chunk-O7MGOE2I.js → chunk-MP4TVGOP.js} +6050 -2877
  18. package/bundle/{chunk-IGE3G3WZ.js → chunk-PH5XENTH.js} +1 -1
  19. package/bundle/{chunk-CJFBYU4J.js → chunk-RBDD6IBU.js} +937 -327
  20. package/bundle/{chunk-5RNHNFYV.js → chunk-SYOIMUZI.js} +937 -327
  21. package/bundle/{chunk-BW65QRZA.js → chunk-U3FFDEKY.js} +29 -15
  22. package/bundle/{chunk-MQNW2IRI.js → chunk-U5FJ6OGB.js} +2 -2
  23. package/bundle/{chunk-PUNFASKY.js → chunk-UAHZWXSG.js} +7 -2
  24. package/bundle/chunk-UW3ZS3BH.js +65 -0
  25. package/bundle/{chunk-4JH2G4F4.js → chunk-V7L3FMBE.js} +3 -3
  26. package/bundle/chunk-VQTELFV3.js +65 -0
  27. package/bundle/{chunk-QA5FT4VY.js → chunk-YODS6HR2.js} +3 -3
  28. package/bundle/{chunk-XETHQLRU.js → chunk-YP5TA33N.js} +937 -327
  29. package/bundle/{cleanup-B6AOSVD4.js → cleanup-3T2KXSP4.js} +2 -2
  30. package/bundle/{cleanup-BRFB47DL.js → cleanup-NNQCI4KC.js} +2 -2
  31. package/bundle/{cleanup-S5QFYCEP.js → cleanup-TA4VYDXQ.js} +2 -2
  32. package/bundle/{core-N27LU4DK.js → core-6XF5EO7Z.js} +37 -1
  33. package/bundle/{dist-E6RCLXQU.js → core-TUJHM7E7.js} +37 -1
  34. package/bundle/{devtoolsService-6V46WMXX.js → devtoolsService-7EMPANTX.js} +2 -2
  35. package/bundle/{devtoolsService-E74ZMDMM.js → devtoolsService-I7WFRUEA.js} +2 -2
  36. package/bundle/{devtoolsService-EFJXZRFD.js → devtoolsService-RCBUZGYD.js} +2 -2
  37. package/bundle/{core-GTUUQBGE.js → dist-OSQFIX7F.js} +37 -1
  38. package/bundle/docs/changelogs/index.md +42 -0
  39. package/bundle/docs/changelogs/latest.md +89 -91
  40. package/bundle/docs/changelogs/preview.md +106 -90
  41. package/bundle/docs/cli/sandbox.md +8 -2
  42. package/bundle/docs/cli/themes.md +56 -8
  43. package/bundle/docs/cli/trusted-folders.md +13 -0
  44. package/bundle/docs/extensions/releasing.md +32 -0
  45. package/bundle/docs/reference/commands.md +4 -0
  46. package/bundle/docs/reference/configuration.md +10 -10
  47. package/bundle/docs/reference/policy-engine.md +6 -0
  48. package/bundle/formatError-KEQ3HU3Y.js +14 -0
  49. package/bundle/formatError-LJFIC7G3.js +14 -0
  50. package/bundle/formatError-MIUNQEYE.js +14 -0
  51. package/bundle/{gemini-QWDTSJTS.js → gemini-22ON2CZG.js} +601 -142
  52. package/bundle/{gemini-4JPKPLQN.js → gemini-HLS52ZNZ.js} +601 -142
  53. package/bundle/{gemini-VF5FS3OM.js → gemini-ZZZEFPSK.js} +601 -142
  54. package/bundle/gemini.js +14 -13
  55. package/bundle/{interactiveCli-QJZZISQQ.js → interactiveCli-5HMWVTK2.js} +2967 -2329
  56. package/bundle/{interactiveCli-FQ3YKGOG.js → interactiveCli-HQBE3C3C.js} +2967 -2329
  57. package/bundle/{interactiveCli-F2YYMYTP.js → interactiveCli-NKFQZXB5.js} +2967 -2329
  58. package/bundle/{liteRtServerManager-JAV3GR4V.js → liteRtServerManager-2IOXWO76.js} +4 -4
  59. package/bundle/{liteRtServerManager-X5CCMKM6.js → liteRtServerManager-AG4Y5JMZ.js} +4 -4
  60. package/bundle/{liteRtServerManager-27R2M6XE.js → liteRtServerManager-OFNVXXQ4.js} +4 -4
  61. package/bundle/{oauth2-provider-6UCP23AQ.js → oauth2-provider-2DHNJ2S3.js} +1 -1
  62. package/bundle/{oauth2-provider-H2KV36NU.js → oauth2-provider-OEGXLWIL.js} +1 -1
  63. package/bundle/{oauth2-provider-C65IJMNQ.js → oauth2-provider-YDNSNN32.js} +1 -1
  64. package/bundle/policies/yolo.toml +1 -0
  65. package/bundle/sandbox-macos-permissive-open.sb +8 -0
  66. package/bundle/sandbox-macos-permissive-proxied.sb +8 -0
  67. package/bundle/sandbox-macos-restrictive-open.sb +1 -0
  68. package/bundle/sandbox-macos-restrictive-proxied.sb +1 -0
  69. package/bundle/sandbox-macos-strict-open.sb +1 -0
  70. package/bundle/sandbox-macos-strict-proxied.sb +1 -0
  71. package/bundle/{start-GNOA75NQ.js → start-7GJH3MKY.js} +6 -6
  72. package/bundle/{start-K2AYYNST.js → start-JSVKPUTV.js} +6 -6
  73. package/bundle/{start-E4ZL44QM.js → start-N33LF5WK.js} +6 -6
  74. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- # Preview release: v0.66.0-preview.0
1
+ # Preview release: v0.68.0-preview.0
2
2
 
3
- Released: October 20, 2026
3
+ Released: November 4, 2026
4
4
 
5
5
  Our preview release includes the latest, new, and experimental features. This
6
6
  release may not be as stable as our [latest weekly release](latest.md).
@@ -13,99 +13,115 @@ npm install -g @google/gemini-cli@preview
13
13
 
14
14
  ## Highlights
15
15
 
16
- - **Terminal UI & Output Synchronization**: Implemented synchronized terminal
17
- output and isolated spinner rendering to prevent flickering, preserved
18
- terminal scrollback during viewport refreshes, corrected debug console height
19
- calculations, and eliminated right-hand border bleed in scrollable tool
20
- containers.
21
- - **Tool Execution & Scheduler Architecture**: Refactored the tool execution
22
- flow to emit tool call groups directly from the scheduler, removing UI
23
- lookahead logic and simplifying execution scheduling.
24
- - **Shell & Git Environment Integrity**: Preserved user-level `~/.gitconfig`
25
- settings across shell and Git environments, disabled interactive credential
26
- and SSH prompts to prevent hangs in automated environments, and forwarded
27
- termination signals from bootstrap parent processes.
28
- - **Configuration & Keybindings Flexibility**: Added support for a `keys` array
29
- in `keybindings.json`, ensured settings placeholders resolve correctly after
30
- loading `.env` files, and improved CLI self-update verification against PATH
31
- shadowing.
32
- - **Networking & MCP Security**: Supported opt-in private network endpoints for
33
- MCP OAuth flows and prevented false positive matches in authentication error
34
- handling.
16
+ - **Extension Validation & Installation Reliability**: Added an extension
17
+ validation command, serialized concurrent extension installations with a
18
+ per-extension lock, and handled stream interruptions during extension
19
+ downloads.
20
+ - **Model Selection & Dynamic Resolution**: Preserved user-selected models
21
+ across transient fallbacks, cancellations, and rewind operations, ensured
22
+ explicit Gemini models are retained during dynamic resolution, and refined
23
+ model listings when dynamic configuration is active.
24
+ - **UI Responsiveness & Rate Limit Feedback**: Surfaced 429 rate limit cooldown
25
+ and countdown status directly in the loading indicator, bounded history
26
+ re-renders when terminal width changes, and resolved truncation and toggling
27
+ issues in expandable views.
28
+ - **Environment & Platform Compatibility**: Enabled rootless Podman execution
29
+ with user namespace mapping, honored git exclude configurations in shadow
30
+ repositories, and improved Windows filesystem compatibility across path checks
31
+ and process lookups.
32
+ - **Hooks & Agent Lifecycle Events**: Added support for mapping SubagentStop
33
+ hook events, merged hook definitions cleanly, and ensured history replays
34
+ complete before responding to ACP session load requests.
35
35
 
36
36
  ## What's Changed
37
37
 
38
- - Update ROADMAP.md to no longer reference outdated 2025 roadmap by
39
- @DavidAPierce in
40
- [#29723](https://github.com/google-gemini/gemini-cli/pull/29723)
41
- - Changelog for v0.65.0-preview.0 by @gemini-cli-robot in
42
- [#29739](https://github.com/google-gemini/gemini-cli/pull/29739)
43
- - chore(release): bump version to 0.66.0-nightly.20261013.g204db94ae by
44
- @gemini-cli-robot in
45
- [#29740](https://github.com/google-gemini/gemini-cli/pull/29740)
46
- - Changelog for v0.64.0 by @gemini-cli-robot in
47
- [#29741](https://github.com/google-gemini/gemini-cli/pull/29741)
48
- - fix(ui): implement synchronized output and isolate spinner rendering by
49
- @diegogodinezr in
50
- [#29725](https://github.com/google-gemini/gemini-cli/pull/29725)
51
- - fix(ui): fix debug console height calculation and terminalBuffer flickering by
52
- @ugorla-dev in
53
- [#29695](https://github.com/google-gemini/gemini-cli/pull/29695)
54
- - fix(cli): prevent right-hand border bleed in scrollable tool containers by
55
- @villahernandez-coder in
56
- [#29742](https://github.com/google-gemini/gemini-cli/pull/29742)
57
- - refactor(core,cli): emit tool call groups from the scheduler and drop the UI
58
- lookahead by @jesussamuel-byte in
59
- [#29736](https://github.com/google-gemini/gemini-cli/pull/29736)
60
- - fix(core): format and quote Windows diff command arguments in openDiff by
38
+ - Changelog for v0.67.0-preview.0 by @gemini-cli-robot in
39
+ [#29990](https://github.com/google-gemini/gemini-cli/pull/29990)
40
+ - Changelog for v0.66.0 by @gemini-cli-robot in
41
+ [#29992](https://github.com/google-gemini/gemini-cli/pull/29992)
42
+ - docs(readme): clarify Gemini CLI scope, limitations, and tool landscape by
43
+ @LyalinDotCom in
44
+ [#29995](https://github.com/google-gemini/gemini-cli/pull/29995)
45
+ - fix(cli): bound inline history re-render after terminal width changes by
61
46
  @jvargassanchez-dot in
62
- [#29753](https://github.com/google-gemini/gemini-cli/pull/29753)
63
- - fix(cli): round before selecting units in formatDuration by @diegogodinezr in
64
- [#29766](https://github.com/google-gemini/gemini-cli/pull/29766)
65
- - fix(core): disable interactive credential and SSH prompts in getSafeGitEnv by
66
- @villahernandez-coder in
67
- [#29760](https://github.com/google-gemini/gemini-cli/pull/29760)
68
- - fix(cli): resolve settings placeholders after loading .env files by
69
- @elberthc-byte in
70
- [#29750](https://github.com/google-gemini/gemini-cli/pull/29750)
71
- - fix(core): harden SKILL.md frontmatter parsing for single-line descriptions by
72
- @jesussamuel-byte in
73
- [#29769](https://github.com/google-gemini/gemini-cli/pull/29769)
74
- - Add Banner about Gemini CLI not being optimized for Gemini 4 by @srithreepo in
75
- [#29774](https://github.com/google-gemini/gemini-cli/pull/29774)
76
- - Update README to remove obsolete content by @srithreepo in
77
- [#29775](https://github.com/google-gemini/gemini-cli/pull/29775)
78
- - fix(ci): remove unsupported members permission in unassign-inactive-assignees
79
- workflow by @ugorla-dev in
80
- [#29770](https://github.com/google-gemini/gemini-cli/pull/29770)
81
- - fix(cli): reset slash-command conflict dedupe when conflicts reappear by
82
- @jvargassanchez-dot in
83
- [#29768](https://github.com/google-gemini/gemini-cli/pull/29768)
84
- - fix(cli): verify active binary update to prevent PATH shadowing false success
85
- by @urielefrenvirtusa in
86
- [#29757](https://github.com/google-gemini/gemini-cli/pull/29757)
87
- - fix(cli): support 'keys' array in keybindings.json by @urielefrenvirtusa in
88
- [#29773](https://github.com/google-gemini/gemini-cli/pull/29773)
89
- - fix(cli): forward termination signals from bootstrap parent to child process
90
- by @villahernandez-coder in
91
- [#29790](https://github.com/google-gemini/gemini-cli/pull/29790)
92
- - fix(ui): preserve terminal scrollback during viewport refreshes by
47
+ [#29904](https://github.com/google-gemini/gemini-cli/pull/29904)
48
+ - fix(ui): handle surrogate pairs when truncating in sanitizeForDisplay by
93
49
  @diegogodinezr in
94
- [#29792](https://github.com/google-gemini/gemini-cli/pull/29792)
95
- - fix(cli): decode streamed Node HTTP activity chunks with StringDecoder by
96
- @jesussamuel-byte in
97
- [#29827](https://github.com/google-gemini/gemini-cli/pull/29827)
98
- - chore: migrate gsutil usage to gcloud storage by @gurusai-voleti in
99
- [#29839](https://github.com/google-gemini/gemini-cli/pull/29839)
100
- - fix(core): preserve user-level ~/.gitconfig in shell and git environments by
101
- @jesussamuel-byte in
102
- [#29832](https://github.com/google-gemini/gemini-cli/pull/29832)
103
- - fix(core): prevent false positive matches in isAuthenticationError by
50
+ [#29993](https://github.com/google-gemini/gemini-cli/pull/29993)
51
+ - fix(core): make isWithinRoot case-insensitive on Windows by @duvanka-prasad in
52
+ [#29999](https://github.com/google-gemini/gemini-cli/pull/29999)
53
+ - fix(core): recognize dotted Gemini 3 models in
54
+ supportsMultimodalFunctionResponse by @jesussamuel-byte in
55
+ [#29982](https://github.com/google-gemini/gemini-cli/pull/29982)
56
+ - feat(cli): add extension validation command and evaluation tests by @tadipavan
57
+ in [#29980](https://github.com/google-gemini/gemini-cli/pull/29980)
58
+ - fix(core): normalize leading slashes in file search query for @ autocomplete
59
+ by @urielefrenvirtusa in
60
+ [#29987](https://github.com/google-gemini/gemini-cli/pull/29987)
61
+ - fix(vscode-ide-companion): register all extension disposables in
62
+ context.subscriptions by @jvargassanchez-dot in
63
+ [#29994](https://github.com/google-gemini/gemini-cli/pull/29994)
64
+ - fix(core): list Auto in /model when dynamicModelConfiguration is enabled and
65
+ preview access is disabled by @villahernandez-coder in
66
+ [#29998](https://github.com/google-gemini/gemini-cli/pull/29998)
67
+ - fix(core,cli): fix instances of incorrect \n escape behavior by @ugorla-dev in
68
+ [#29989](https://github.com/google-gemini/gemini-cli/pull/29989)
69
+ - fix(core): use PowerShell CIM fallback for Windows IDE process lookup by
70
+ @tadipavan in [#30006](https://github.com/google-gemini/gemini-cli/pull/30006)
71
+ - fix(cli): surface 429 rate limit cool-down and countdown in loading indicator
72
+ by @urielefrenvirtusa in
73
+ [#30012](https://github.com/google-gemini/gemini-cli/pull/30012)
74
+ - fix(cli): anchor .git suffix removal to end of repo URL by @diegogodinezr in
75
+ [#30013](https://github.com/google-gemini/gemini-cli/pull/30013)
76
+ - fix(ci,sdk): run SDK tests in PR CI and fix AgentLoopContext mock in
77
+ session.test.ts by @duvanka-prasad in
78
+ [#30023](https://github.com/google-gemini/gemini-cli/pull/30023)
79
+ - fix(core): prevent $-pattern corruption in LLM prompt templates by
80
+ @duvanka-prasad in
81
+ [#30035](https://github.com/google-gemini/gemini-cli/pull/30035)
82
+ - fix(cli): Fixes unexpected truncation and toggle behavior in Expandab… by
83
+ @tadipavan in [#29965](https://github.com/google-gemini/gemini-cli/pull/29965)
84
+ - refactor(cli): decouple ToolGroupMessage from internal type guards and payload
85
+ structures by @ugorla-dev in
86
+ [#30041](https://github.com/google-gemini/gemini-cli/pull/30041)
87
+ - fix(core): gate background log stream initialization on execution lifecycle
88
+ transition by @jesussamuel-byte in
89
+ [#30031](https://github.com/google-gemini/gemini-cli/pull/30031)
90
+ - fix(core): honor .git/info/exclude and core.excludesFile in shadow repo by
104
91
  @urielefrenvirtusa in
105
- [#29835](https://github.com/google-gemini/gemini-cli/pull/29835)
106
- - fix(core): support opt-in private network endpoints for MCP OAuth flows by
107
- @luisfelipe-alt in
108
- [#29844](https://github.com/google-gemini/gemini-cli/pull/29844)
92
+ [#30034](https://github.com/google-gemini/gemini-cli/pull/30034)
93
+ - fix(core): flush pending SSE event buffer at stream EOF in CodeAssistServer by
94
+ @tadipavan in [#30050](https://github.com/google-gemini/gemini-cli/pull/30050)
95
+ - fix(core): handle Windows libuv zero-device stat reporting in
96
+ readSecureFileBuffer by @jvargassanchez-dot in
97
+ [#30044](https://github.com/google-gemini/gemini-cli/pull/30044)
98
+ - fix(cli): serialize concurrent extension installs with per-extension lock
99
+ (#29036) by @diegogodinezr in
100
+ [#30039](https://github.com/google-gemini/gemini-cli/pull/30039)
101
+ - fix(core): resolve symlinked paths canonically in GlobTool by @ugorla-dev in
102
+ [#30042](https://github.com/google-gemini/gemini-cli/pull/30042)
103
+ - fix(cli): add missing active and focus keys to custom theme ui schema by
104
+ @villahernandez-coder in
105
+ [#30032](https://github.com/google-gemini/gemini-cli/pull/30032)
106
+ - fix(core,cli): preserve selected model across transient fallback, cancel, and
107
+ rewind by @villahernandez-coder in
108
+ [#30059](https://github.com/google-gemini/gemini-cli/pull/30059)
109
+ - fix(core): prevent interrupted Whisper model downloads from being treated as
110
+ installed by @tadipavan in
111
+ [#30058](https://github.com/google-gemini/gemini-cli/pull/30058)
112
+ - fix(cli): handle stream failures during extension release downloads by
113
+ @duvanka-prasad in
114
+ [#30100](https://github.com/google-gemini/gemini-cli/pull/30100)
115
+ - fix(core): preserve explicit gemini-2.5-flash model in dynamic model
116
+ resolution by @jesussamuel-byte in
117
+ [#30057](https://github.com/google-gemini/gemini-cli/pull/30057)
118
+ - fix(hooks): support SubagentStop event mapping and merge hook definitions by
119
+ @diegogodinezr in
120
+ [#30111](https://github.com/google-gemini/gemini-cli/pull/30111)
121
+ - fix(cli): await history replay before responding to ACP session/load by
122
+ @tadipavan in [#30112](https://github.com/google-gemini/gemini-cli/pull/30112)
123
+ - fix(sandbox): supply --userns=keep-id for rootless podman by @diegogodinezr in
124
+ [#30118](https://github.com/google-gemini/gemini-cli/pull/30118)
109
125
 
110
126
  **Full Changelog**:
111
- https://github.com/google-gemini/gemini-cli/compare/v0.65.0-preview.0...v0.66.0-preview.0
127
+ https://github.com/google-gemini/gemini-cli/compare/v0.67.0-preview.0...v0.68.0-preview.0
@@ -415,8 +415,14 @@ $env:SANDBOX_FLAGS="--flag1 --flag2=value"
415
415
 
416
416
  ### Linux UID/GID handling
417
417
 
418
- The sandbox automatically handles user permissions on Linux. Override these
419
- permissions with:
418
+ Gemini CLI automatically handles user permissions in container sandboxes on
419
+ Linux. When the sandbox runs as your host UID/GID (the default on supported
420
+ Linux distributions) and you use rootless Podman, Gemini CLI also passes
421
+ `--userns=keep-id`. This keeps files that the sandbox creates in mounted
422
+ directories owned by your host user. To use a different user namespace mode, add
423
+ your own `--userns` option to `SANDBOX_FLAGS`.
424
+
425
+ Override the default Linux UID/GID mapping behavior with:
420
426
 
421
427
  **macOS/Linux**
422
428
 
@@ -97,7 +97,6 @@ nested configuration objects. For example:
97
97
  - `diff.removed`: Background for removed lines in diffs.
98
98
  - **`border`**: Defines border colors.
99
99
  - `default`: The standard border color.
100
- - `focused`: Border color when an element is focused.
101
100
  - **`status`**: Colors for status indicators.
102
101
  - `success`: Used for successful operations.
103
102
  - `warning`: Used for warnings.
@@ -105,6 +104,9 @@ nested configuration objects. For example:
105
104
  - **`ui`**: Other UI elements.
106
105
  - `comment`: Color for code comments.
107
106
  - `symbol`: Color for code symbols and operators.
107
+ - `active`: Border and text color for active or running elements.
108
+ - `focus`: Color for focused elements, such as selected menu items and focused
109
+ borders.
108
110
  - `gradient`: An array of colors used for gradient effects.
109
111
 
110
112
  **Required properties:**
@@ -125,12 +127,57 @@ for a full list of supported names.
125
127
  You can define multiple custom themes by adding more entries to the
126
128
  `customThemes` object.
127
129
 
128
- ### Loading themes from a file
130
+ ### Standalone `theme.json` file
129
131
 
130
- In addition to defining custom themes in `settings.json`, you can also load a
131
- theme directly from a JSON file by specifying the file path in your
132
- `settings.json`. This is useful for sharing themes or keeping them separate from
133
- your main configuration.
132
+ To keep dynamic color palettes (for example, generated by tools like `wallust`,
133
+ `pywal`, or `matugen`) decoupled from your behavioral settings in
134
+ `settings.json`, Gemini CLI automatically discovers custom themes defined in:
135
+
136
+ 1. `~/.gemini/theme.json` (or `$GEMINI_CLI_HOME/.gemini/theme.json`)
137
+ 2. `$XDG_CONFIG_HOME/gemini/theme.json` (falling back to
138
+ `~/.config/gemini/theme.json`)
139
+
140
+ If the same theme name is defined in multiple places, `~/.gemini/theme.json`
141
+ takes precedence over XDG paths and inline `ui.customThemes` in `settings.json`.
142
+
143
+ `theme.json` can define either a single theme object or a map of named themes:
144
+
145
+ ```json
146
+ {
147
+ "custom-wallust": {
148
+ "name": "custom-wallust",
149
+ "type": "custom",
150
+ "background": {
151
+ "primary": "#181818"
152
+ },
153
+ "text": {
154
+ "primary": "#f0f0f0",
155
+ "secondary": "#a0a0a0"
156
+ }
157
+ }
158
+ }
159
+ ```
160
+
161
+ Then reference the theme by name in `~/.gemini/settings.json` without mixing
162
+ color definitions into your behavioral preferences:
163
+
164
+ ```json
165
+ {
166
+ "ui": {
167
+ "theme": "custom-wallust"
168
+ },
169
+ "general": {
170
+ "vimMode": true
171
+ }
172
+ }
173
+ ```
174
+
175
+ ### Loading themes from an explicit file path
176
+
177
+ In addition to defining custom themes in `settings.json` or
178
+ `~/.gemini/theme.json`, you can also load a theme directly from a JSON file by
179
+ specifying the file path in your `settings.json`. This is useful for sharing
180
+ themes or keeping them separate from your main configuration.
134
181
 
135
182
  To load a theme from a file, set the `theme` property in your `settings.json` to
136
183
  the path of your theme file:
@@ -166,8 +213,7 @@ custom theme defined in `settings.json`.
166
213
  "accent": "#d3869b"
167
214
  },
168
215
  "border": {
169
- "default": "#3c3836",
170
- "focused": "#458588"
216
+ "default": "#3c3836"
171
217
  },
172
218
  "status": {
173
219
  "success": "#b8bb26",
@@ -177,6 +223,8 @@ custom theme defined in `settings.json`.
177
223
  "ui": {
178
224
  "comment": "#928374",
179
225
  "symbol": "#8ec07c",
226
+ "active": "#83a598",
227
+ "focus": "#b8bb26",
180
228
  "gradient": ["#cc241d", "#d65d0e", "#d79921"]
181
229
  }
182
230
  }
@@ -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
@@ -29,6 +29,38 @@ To have your extension automatically discovered and listed:
29
29
  Our system crawls tagged repositories daily. Once you tag your repository, your
30
30
  extension will appear in the gallery if it passes validation.
31
31
 
32
+ ### Troubleshooting gallery indexing
33
+
34
+ If your extension doesn't appear in the gallery after 24 to 48 hours despite
35
+ meeting the listing requirements, GitHub Code Search may not have indexed your
36
+ repository's manifest file yet.
37
+
38
+ The gallery crawler relies on GitHub Code Search to discover
39
+ `gemini-extension.json` files across public repositories. Newly created or
40
+ recently pushed repositories are often indexed lazily by GitHub.
41
+
42
+ To check whether GitHub has indexed your repository's manifest, run the
43
+ following command using the GitHub CLI:
44
+
45
+ ```bash
46
+ gh api 'search/code?q=repo:<owner>/<repo>+filename:gemini-extension.json' --jq .total_count
47
+ ```
48
+
49
+ If the count is `0`, or if you don't use the GitHub CLI, trigger indexing
50
+ manually in your web browser:
51
+
52
+ 1. Sign in to GitHub.
53
+ 2. Navigate to
54
+ `https://github.com/search?q=repo%3A<owner>%2F<repo>+gemini-extension.json&type=code`
55
+ (replace `<owner>/<repo>` with your repository path).
56
+ 3. If GitHub displays "This repository's code is being indexed right now", wait
57
+ 15 to 30 minutes for indexing to finish.
58
+ 4. Re-run the search until `gemini-extension.json` appears in the search
59
+ results.
60
+
61
+ Once GitHub indexes the manifest file, the crawler will discover and index your
62
+ extension during its next scheduled cycle.
63
+
32
64
  ## Release through a Git repository
33
65
 
34
66
  Releasing through Git is the most flexible option. Create a public Git
@@ -448,6 +448,10 @@ Slash commands provide meta-level control over the CLI itself.
448
448
  counts and quota information.
449
449
  - **`tools`**:
450
450
  - **Description:** Show tool-specific usage statistics.
451
+ - **`heatmap`**:
452
+ - **Description:** Show a calendar heatmap of daily token usage across local
453
+ chat sessions, with an optional day breakdown.
454
+ - **Usage:** `/stats heatmap [today|yesterday|YYYY-MM-DD]`
451
455
 
452
456
  ### `/terminal-setup`
453
457
 
@@ -547,6 +547,14 @@ their corresponding top-level category object in your `settings.json` file.
547
547
  session. -1 means unlimited.
548
548
  - **Default:** `-1`
549
549
 
550
+ - **`model.requestTimeoutMs`** (number):
551
+
552
+ - **Description:** How long to wait, in milliseconds, for the API to start
553
+ responding before a request is aborted and retried. Defaults to 60000. Raise
554
+ this if long-thinking requests are timing out.
555
+ - **Default:** `undefined`
556
+ - **Requires restart:** Yes
557
+
550
558
  - **`model.summarizeToolOutput`** (object):
551
559
 
552
560
  - **Description:** Enables or disables summarization of tool output. Configure
@@ -1056,7 +1064,7 @@ their corresponding top-level category object in your `settings.json` file.
1056
1064
  "auto": {
1057
1065
  "displayName": "Auto",
1058
1066
  "tier": "auto",
1059
- "isPreview": true,
1067
+ "isPreview": false,
1060
1068
  "isVisible": true,
1061
1069
  "features": {
1062
1070
  "thinking": true,
@@ -1191,15 +1199,7 @@ their corresponding top-level category object in your `settings.json` file.
1191
1199
  ]
1192
1200
  },
1193
1201
  "gemini-2.5-flash": {
1194
- "default": "gemini-2.5-flash",
1195
- "contexts": [
1196
- {
1197
- "condition": {
1198
- "useLatestFlash": true
1199
- },
1200
- "target": "gemini-3.8-flash"
1201
- }
1202
- ]
1202
+ "default": "gemini-2.5-flash"
1203
1203
  },
1204
1204
  "gemini-3-pro-preview": {
1205
1205
  "default": "gemini-3-pro-preview",
@@ -351,6 +351,12 @@ interactive = true
351
351
  # defined in. In chained commands (e.g., cmd1 > file && cmd2), each
352
352
  # individual command rule must permit redirection if it's used.
353
353
  allowRedirection = true
354
+
355
+ # (Optional) If true, lets shell commands use command substitution
356
+ # ($(), backticks, <(), >(), or PowerShell @()). By default, the policy
357
+ # engine asks for confirmation when substitution syntax is detected, even if
358
+ # inner subcommands are also allowed.
359
+ allowCommandSubstitution = true
354
360
  ```
355
361
 
356
362
  ### Using arrays (lists)
@@ -0,0 +1,14 @@
1
+ const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
+ import {
3
+ formatCliError,
4
+ isCliDebugEnabled
5
+ } from "./chunk-3HEOCQDN.js";
6
+ import "./chunk-MP4TVGOP.js";
7
+ import "./chunk-664ZODQF.js";
8
+ import "./chunk-IUUIT4SU.js";
9
+ import "./chunk-L6PII3GR.js";
10
+ import "./chunk-34MYV7JD.js";
11
+ export {
12
+ formatCliError,
13
+ isCliDebugEnabled
14
+ };
@@ -0,0 +1,14 @@
1
+ const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
+ import {
3
+ formatCliError,
4
+ isCliDebugEnabled
5
+ } from "./chunk-VQTELFV3.js";
6
+ import "./chunk-KUXCUQKX.js";
7
+ import "./chunk-664ZODQF.js";
8
+ import "./chunk-IUUIT4SU.js";
9
+ import "./chunk-L6PII3GR.js";
10
+ import "./chunk-34MYV7JD.js";
11
+ export {
12
+ formatCliError,
13
+ isCliDebugEnabled
14
+ };
@@ -0,0 +1,14 @@
1
+ const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
2
+ import {
3
+ formatCliError,
4
+ isCliDebugEnabled
5
+ } from "./chunk-UW3ZS3BH.js";
6
+ import "./chunk-DWMZSQYG.js";
7
+ import "./chunk-664ZODQF.js";
8
+ import "./chunk-IUUIT4SU.js";
9
+ import "./chunk-L6PII3GR.js";
10
+ import "./chunk-34MYV7JD.js";
11
+ export {
12
+ formatCliError,
13
+ isCliDebugEnabled
14
+ };