@google/gemini-cli-core 0.70.0-preview.0 → 0.71.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.
- package/dist/docs/changelogs/index.md +23 -0
- package/dist/docs/changelogs/latest.md +112 -98
- package/dist/docs/changelogs/preview.md +82 -115
- package/dist/src/confirmation-bus/types.d.ts +1 -0
- package/dist/src/confirmation-bus/types.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/policy/policy-engine.d.ts +1 -0
- package/dist/src/policy/policy-engine.js +15 -6
- package/dist/src/policy/policy-engine.js.map +1 -1
- package/dist/src/sandbox/utils/commandUtils.js +35 -25
- package/dist/src/sandbox/utils/commandUtils.js.map +1 -1
- package/dist/src/sandbox/windows/WindowsSandboxManager.d.ts +1 -0
- package/dist/src/sandbox/windows/WindowsSandboxManager.js +9 -2
- package/dist/src/sandbox/windows/WindowsSandboxManager.js.map +1 -1
- package/dist/src/sandbox/windows/commandSafety.js +4 -2
- package/dist/src/sandbox/windows/commandSafety.js.map +1 -1
- package/dist/src/scheduler/policy.js +6 -0
- package/dist/src/scheduler/policy.js.map +1 -1
- package/dist/src/scheduler/scheduler.js +79 -59
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/tools/shell-powershell-parsing.integration.test.d.ts +6 -0
- package/dist/src/tools/shell-powershell-parsing.integration.test.js +576 -0
- package/dist/src/tools/shell-powershell-parsing.integration.test.js.map +1 -0
- package/dist/src/tools/shell.d.ts +6 -1
- package/dist/src/tools/shell.js +281 -189
- package/dist/src/tools/shell.js.map +1 -1
- package/dist/src/tools/tools.d.ts +1 -0
- package/dist/src/tools/tools.js.map +1 -1
- package/dist/src/utils/shell-parse-cache.d.ts +37 -0
- package/dist/src/utils/shell-parse-cache.js +55 -0
- package/dist/src/utils/shell-parse-cache.js.map +1 -0
- package/dist/src/utils/shell-parse-cache.test.d.ts +6 -0
- package/dist/src/utils/shell-parse-cache.test.js +478 -0
- package/dist/src/utils/shell-parse-cache.test.js.map +1 -0
- package/dist/src/utils/shell-utils.d.ts +27 -29
- package/dist/src/utils/shell-utils.js +385 -89
- package/dist/src/utils/shell-utils.js.map +1 -1
- package/dist/src/utils/untrustedContextTracker.d.ts +2 -6
- package/dist/src/utils/untrustedContextTracker.js +65 -27
- package/dist/src/utils/untrustedContextTracker.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,29 @@ on GitHub.
|
|
|
18
18
|
| [Preview](preview.md) | Experimental features ready for early feedback. |
|
|
19
19
|
| [Stable](latest.md) | Stable, recommended for general use. |
|
|
20
20
|
|
|
21
|
+
## Announcements: v0.69.0 - 2026-11-19
|
|
22
|
+
|
|
23
|
+
- **Daily Token Heatmap & Custom Themes:** Added a `/stats heatmap` subcommand
|
|
24
|
+
for daily token usage analysis and supported standalone `theme.json`
|
|
25
|
+
configurations for custom themes
|
|
26
|
+
([#30135](https://github.com/google-gemini/gemini-cli/pull/30135) by
|
|
27
|
+
@jvargassanchez-dot,
|
|
28
|
+
[#30119](https://github.com/google-gemini/gemini-cli/pull/30119) by
|
|
29
|
+
@jesussamuel-byte).
|
|
30
|
+
- **API Timeout Overrides & Network Resilience:** Enabled custom API header
|
|
31
|
+
timeout configuration across all authentication modes and prevented silent
|
|
32
|
+
loading hangs during network failures
|
|
33
|
+
([#30183](https://github.com/google-gemini/gemini-cli/pull/30183) by
|
|
34
|
+
@jesussamuel-byte,
|
|
35
|
+
[#30182](https://github.com/google-gemini/gemini-cli/pull/30182) by
|
|
36
|
+
@villahernandez-coder).
|
|
37
|
+
- **Multimodal Memory & Sandbox Hardening:** Bounded multi-part tool outputs to
|
|
38
|
+
evict older inline data and resolved folder trust before entering macOS
|
|
39
|
+
Seatbelt sandboxes
|
|
40
|
+
([#30180](https://github.com/google-gemini/gemini-cli/pull/30180) by
|
|
41
|
+
@tadipavan, [#30164](https://github.com/google-gemini/gemini-cli/pull/30164)
|
|
42
|
+
by @diegogodinezr).
|
|
43
|
+
|
|
21
44
|
## Announcements: v0.68.0 - 2026-11-10
|
|
22
45
|
|
|
23
46
|
- **Extension Validation & Install Safety:** Added an extension validation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Latest stable release: v0.
|
|
1
|
+
# Latest stable release: v0.69.0
|
|
2
2
|
|
|
3
|
-
Released: November
|
|
3
|
+
Released: November 19, 2026
|
|
4
4
|
|
|
5
5
|
For most users, our latest stable release is the recommended release. Install
|
|
6
6
|
the latest stable version with:
|
|
@@ -11,109 +11,123 @@ npm install -g @google/gemini-cli
|
|
|
11
11
|
|
|
12
12
|
## Highlights
|
|
13
13
|
|
|
14
|
-
- **
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
- **
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
- **Daily Token Usage Heatmap**: Added a new `/stats heatmap` subcommand to
|
|
15
|
+
visualize daily token consumption directly within the terminal interface.
|
|
16
|
+
- **Standalone Custom Themes**: Supported standalone `theme.json` configuration
|
|
17
|
+
for custom CLI themes, along with robust path checks for home-directory theme
|
|
18
|
+
files.
|
|
19
|
+
- **API Timeout Overrides & Network Resilience**: Added configuration support
|
|
20
|
+
for overriding the 60-second API headers timeout across all authentication
|
|
21
|
+
modes via `model.requestTimeoutMs` and `GEMINI_API_HEADERS_TIMEOUT_MS`, and
|
|
22
|
+
eliminated silent loading hangs during network failures.
|
|
23
|
+
- **Multimodal Memory & Output Optimization**: Bounded multi-part tool outputs,
|
|
24
|
+
evicted older multimodal inline data, and prevented memory retention in PDF
|
|
25
|
+
inline data and telemetry buffers.
|
|
26
|
+
- **Process Lifecycle & Sandbox Hardening**: Enhanced process lifecycle
|
|
27
|
+
management to cleanly terminate child processes and preserve exit codes on
|
|
28
|
+
headless abort, prevented recursive sessions in shell mode, permitted FSEvents
|
|
29
|
+
in macOS permissive sandboxes, and verified folder trust before entering
|
|
30
|
+
sandboxes.
|
|
27
31
|
|
|
28
32
|
## What's Changed
|
|
29
33
|
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
- docs(readme): clarify Gemini CLI scope, limitations, and tool landscape by
|
|
35
|
-
@LyalinDotCom in
|
|
36
|
-
[#29995](https://github.com/google-gemini/gemini-cli/pull/29995)
|
|
37
|
-
- fix(cli): bound inline history re-render after terminal width changes by
|
|
34
|
+
- fix(core,cli): preserve literal `$` characters during template placeholder
|
|
35
|
+
replacement by @jesussamuel-byte in
|
|
36
|
+
[#30136](https://github.com/google-gemini/gemini-cli/pull/30136)
|
|
37
|
+
- feat(cli): add /stats heatmap subcommand for daily token usage by
|
|
38
38
|
@jvargassanchez-dot in
|
|
39
|
-
[#
|
|
40
|
-
- fix(
|
|
39
|
+
[#30135](https://github.com/google-gemini/gemini-cli/pull/30135)
|
|
40
|
+
- fix(core): prevent **GCLI_EXPAND_TARGET** env collision in expandEnvVars by
|
|
41
|
+
@villahernandez-coder in
|
|
42
|
+
[#30138](https://github.com/google-gemini/gemini-cli/pull/30138)
|
|
43
|
+
- chore(release): bump version to 0.69.0-nightly.20261104.g89e9d25d6 by
|
|
44
|
+
@gemini-cli-robot in
|
|
45
|
+
[#30140](https://github.com/google-gemini/gemini-cli/pull/30140)
|
|
46
|
+
- fix(cli): serialize AnsiOutput to text content in ACP tool call updates by
|
|
41
47
|
@diegogodinezr in
|
|
42
|
-
[#
|
|
43
|
-
-
|
|
44
|
-
[#
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
- fix(
|
|
51
|
-
|
|
52
|
-
[#29987](https://github.com/google-gemini/gemini-cli/pull/29987)
|
|
53
|
-
- fix(vscode-ide-companion): register all extension disposables in
|
|
54
|
-
context.subscriptions by @jvargassanchez-dot in
|
|
55
|
-
[#29994](https://github.com/google-gemini/gemini-cli/pull/29994)
|
|
56
|
-
- fix(core): list Auto in /model when dynamicModelConfiguration is enabled and
|
|
57
|
-
preview access is disabled by @villahernandez-coder in
|
|
58
|
-
[#29998](https://github.com/google-gemini/gemini-cli/pull/29998)
|
|
59
|
-
- fix(core,cli): fix instances of incorrect \n escape behavior by @ugorla-dev in
|
|
60
|
-
[#29989](https://github.com/google-gemini/gemini-cli/pull/29989)
|
|
61
|
-
- fix(core): use PowerShell CIM fallback for Windows IDE process lookup by
|
|
62
|
-
@tadipavan in [#30006](https://github.com/google-gemini/gemini-cli/pull/30006)
|
|
63
|
-
- fix(cli): surface 429 rate limit cool-down and countdown in loading indicator
|
|
64
|
-
by @urielefrenvirtusa in
|
|
65
|
-
[#30012](https://github.com/google-gemini/gemini-cli/pull/30012)
|
|
66
|
-
- fix(cli): anchor .git suffix removal to end of repo URL by @diegogodinezr in
|
|
67
|
-
[#30013](https://github.com/google-gemini/gemini-cli/pull/30013)
|
|
68
|
-
- fix(ci,sdk): run SDK tests in PR CI and fix AgentLoopContext mock in
|
|
69
|
-
session.test.ts by @duvanka-prasad in
|
|
70
|
-
[#30023](https://github.com/google-gemini/gemini-cli/pull/30023)
|
|
71
|
-
- fix(core): prevent $-pattern corruption in LLM prompt templates by
|
|
48
|
+
[#30141](https://github.com/google-gemini/gemini-cli/pull/30141)
|
|
49
|
+
- Changelog for v0.67.0 by @gemini-cli-robot in
|
|
50
|
+
[#30145](https://github.com/google-gemini/gemini-cli/pull/30145)
|
|
51
|
+
- Changelog for v0.68.0-preview.0 by @gemini-cli-robot in
|
|
52
|
+
[#30146](https://github.com/google-gemini/gemini-cli/pull/30146)
|
|
53
|
+
- fix(core): fix Windows PowerShell substitution false positives and policy
|
|
54
|
+
handling by @duvanka-prasad in
|
|
55
|
+
[#30110](https://github.com/google-gemini/gemini-cli/pull/30110)
|
|
56
|
+
- fix(cli): preserve leading and trailing whitespace in
|
|
57
|
+
@tools/caretaker-agent/cloudrun/triage-worker/Dockerfile references by
|
|
72
58
|
@duvanka-prasad in
|
|
73
|
-
[#
|
|
74
|
-
- fix(
|
|
75
|
-
@tadipavan in
|
|
76
|
-
-
|
|
77
|
-
|
|
78
|
-
[#30041](https://github.com/google-gemini/gemini-cli/pull/30041)
|
|
79
|
-
- fix(core): gate background log stream initialization on execution lifecycle
|
|
80
|
-
transition by @jesussamuel-byte in
|
|
81
|
-
[#30031](https://github.com/google-gemini/gemini-cli/pull/30031)
|
|
82
|
-
- fix(core): honor .git/info/exclude and core.excludesFile in shadow repo by
|
|
83
|
-
@urielefrenvirtusa in
|
|
84
|
-
[#30034](https://github.com/google-gemini/gemini-cli/pull/30034)
|
|
85
|
-
- fix(core): flush pending SSE event buffer at stream EOF in CodeAssistServer by
|
|
86
|
-
@tadipavan in [#30050](https://github.com/google-gemini/gemini-cli/pull/30050)
|
|
87
|
-
- fix(core): handle Windows libuv zero-device stat reporting in
|
|
88
|
-
readSecureFileBuffer by @jvargassanchez-dot in
|
|
89
|
-
[#30044](https://github.com/google-gemini/gemini-cli/pull/30044)
|
|
90
|
-
- fix(cli): serialize concurrent extension installs with per-extension lock
|
|
91
|
-
(#29036) by @diegogodinezr in
|
|
92
|
-
[#30039](https://github.com/google-gemini/gemini-cli/pull/30039)
|
|
93
|
-
- fix(core): resolve symlinked paths canonically in GlobTool by @ugorla-dev in
|
|
94
|
-
[#30042](https://github.com/google-gemini/gemini-cli/pull/30042)
|
|
95
|
-
- fix(cli): add missing active and focus keys to custom theme ui schema by
|
|
59
|
+
[#30150](https://github.com/google-gemini/gemini-cli/pull/30150)
|
|
60
|
+
- fix(core): prevent thoughtSignature-only turns and preserve multimodal tool
|
|
61
|
+
responses by @tadipavan in
|
|
62
|
+
[#30153](https://github.com/google-gemini/gemini-cli/pull/30153)
|
|
63
|
+
- fix(cli): wait for piped stdin EOF and avoid destroying process.stdin by
|
|
96
64
|
@villahernandez-coder in
|
|
97
|
-
[#
|
|
98
|
-
- fix(
|
|
99
|
-
|
|
100
|
-
[#
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
[#
|
|
104
|
-
- fix(cli):
|
|
105
|
-
@
|
|
106
|
-
[#
|
|
107
|
-
- fix(core):
|
|
108
|
-
|
|
109
|
-
[#
|
|
110
|
-
- fix(
|
|
65
|
+
[#30163](https://github.com/google-gemini/gemini-cli/pull/30163)
|
|
66
|
+
- fix(cli): preserve pending tool confirmation when escaping editor selection by
|
|
67
|
+
@jvargassanchez-dot in
|
|
68
|
+
[#30147](https://github.com/google-gemini/gemini-cli/pull/30147)
|
|
69
|
+
- feat(cli): support standalone theme.json configuration for custom themes by
|
|
70
|
+
@jesussamuel-byte in
|
|
71
|
+
[#30119](https://github.com/google-gemini/gemini-cli/pull/30119)
|
|
72
|
+
- fix(cli): normalize error payloads in headless CLI formatting by
|
|
73
|
+
@jvargassanchez-dot in
|
|
74
|
+
[#30117](https://github.com/google-gemini/gemini-cli/pull/30117)
|
|
75
|
+
- fix(core): require path-separator boundary in tildeifyPath by
|
|
76
|
+
@villahernandez-coder in
|
|
77
|
+
[#30124](https://github.com/google-gemini/gemini-cli/pull/30124)
|
|
78
|
+
- fix(cli): validate model names and support direct arguments in /model command
|
|
79
|
+
by @jesussamuel-byte in
|
|
80
|
+
[#30137](https://github.com/google-gemini/gemini-cli/pull/30137)
|
|
81
|
+
- fix(cli): handle file watcher errors and permit FSEvents in macOS permissive
|
|
82
|
+
sandbox by @diegogodinezr in
|
|
83
|
+
[#30143](https://github.com/google-gemini/gemini-cli/pull/30143)
|
|
84
|
+
- fix(core): bound multi-part tool outputs and evict older multimodal inlineData
|
|
85
|
+
by @tadipavan in
|
|
86
|
+
[#30180](https://github.com/google-gemini/gemini-cli/pull/30180)
|
|
87
|
+
- fix(vscode): eliminate barrel import bundle bloat and redundant setContext
|
|
88
|
+
calls by @ugorla-dev in
|
|
89
|
+
[#30181](https://github.com/google-gemini/gemini-cli/pull/30181)
|
|
90
|
+
- fix(acp): handle mid-stream retries to prevent text concatenation by
|
|
91
|
+
@urielefrenvirtusa in
|
|
92
|
+
[#30165](https://github.com/google-gemini/gemini-cli/pull/30165)
|
|
93
|
+
- fix(core,cli): prevent silent multi-minute loading hangs on network failures
|
|
94
|
+
by @villahernandez-coder in
|
|
95
|
+
[#30182](https://github.com/google-gemini/gemini-cli/pull/30182)
|
|
96
|
+
- fix(core,cli): prevent terminal model-turn 400s on resume and main-thread
|
|
97
|
+
JSONL freezes by @villahernandez-coder in
|
|
98
|
+
[#30186](https://github.com/google-gemini/gemini-cli/pull/30186)
|
|
99
|
+
- fix(core): prevent multi-hour quota retries and notify ACP client on retry
|
|
100
|
+
attempts by @urielefrenvirtusa in
|
|
101
|
+
[#30187](https://github.com/google-gemini/gemini-cli/pull/30187)
|
|
102
|
+
- fix(core): close orphan /dev/ptmx master FD leaked on macOS PTY spawn by
|
|
103
|
+
@ugorla-dev in
|
|
104
|
+
[#30184](https://github.com/google-gemini/gemini-cli/pull/30184)
|
|
105
|
+
- fix(core,cli): allow overriding 60s API headers timeout across all auth modes
|
|
106
|
+
(`model.requestTimeoutMs` / `GEMINI_API_HEADERS_TIMEOUT_MS`) by
|
|
107
|
+
@jesussamuel-byte in
|
|
108
|
+
[#30183](https://github.com/google-gemini/gemini-cli/pull/30183)
|
|
109
|
+
- fix(cli): use isSubpath for theme file home-directory check by @duvanka-prasad
|
|
110
|
+
in [#30160](https://github.com/google-gemini/gemini-cli/pull/30160)
|
|
111
|
+
- fix(cli): resolve folder trust before entering the macOS Seatbelt sandbox by
|
|
111
112
|
@diegogodinezr in
|
|
112
|
-
[#
|
|
113
|
-
- fix(cli):
|
|
114
|
-
@
|
|
115
|
-
-
|
|
116
|
-
|
|
113
|
+
[#30164](https://github.com/google-gemini/gemini-cli/pull/30164)
|
|
114
|
+
- fix(cli,core): kill child processes, record cancelled tools, and preserve
|
|
115
|
+
signal exit code on headless abort by @duvanka-prasad in
|
|
116
|
+
[#30204](https://github.com/google-gemini/gemini-cli/pull/30204)
|
|
117
|
+
- fix(cli): prevent recursive interactive gemini sessions in shell mode by
|
|
118
|
+
@jvargassanchez-dot in
|
|
119
|
+
[#30185](https://github.com/google-gemini/gemini-cli/pull/30185)
|
|
120
|
+
- fix(core): reject MessageBus.request() immediately when publish fails by
|
|
121
|
+
@luisfelipe-alt in
|
|
122
|
+
[#30189](https://github.com/google-gemini/gemini-cli/pull/30189)
|
|
123
|
+
- fix(core): ensure read-many-files only inlines explicitly requested binary
|
|
124
|
+
assets (#29045) by @urielefrenvirtusa in
|
|
125
|
+
[#30211](https://github.com/google-gemini/gemini-cli/pull/30211)
|
|
126
|
+
- fix(core): recognize TortoiseGitPlink as PuTTY-family SSH client (#29917) by
|
|
127
|
+
@urielefrenvirtusa in
|
|
128
|
+
[#30214](https://github.com/google-gemini/gemini-cli/pull/30214)
|
|
129
|
+
- fix(core): prevent PDF inlineData and telemetry buffer memory retention by
|
|
130
|
+
@tadipavan in [#30217](https://github.com/google-gemini/gemini-cli/pull/30217)
|
|
117
131
|
|
|
118
132
|
**Full Changelog**:
|
|
119
|
-
https://github.com/google-gemini/gemini-cli/compare/v0.
|
|
133
|
+
https://github.com/google-gemini/gemini-cli/compare/v0.68.0...v0.69.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Preview release: v0.
|
|
1
|
+
# Preview release: v0.70.0-preview.0
|
|
2
2
|
|
|
3
|
-
Released: November
|
|
3
|
+
Released: November 19, 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,127 +13,94 @@ npm install -g @google/gemini-cli@preview
|
|
|
13
13
|
|
|
14
14
|
## Highlights
|
|
15
15
|
|
|
16
|
-
- **
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
responses while preventing empty signature-only turns.
|
|
16
|
+
- **Security and Policy Safeguards**: Integrated linear-time regular expression
|
|
17
|
+
evaluation with `re2js` for policy argument patterns, required user consent
|
|
18
|
+
for shell commands with unresolved variable expansion, matched top-level
|
|
19
|
+
command arguments against prefix and regex rules, and skipped system MCP
|
|
20
|
+
servers with insecure command permissions.
|
|
21
|
+
- **Session Continuity and Terminal Previews**: Preserved Unicode prompts and
|
|
22
|
+
stripped ANSI escape fragments in session previews, retained selected git
|
|
23
|
+
worktrees across authentication restarts, ensured workspace directories are
|
|
24
|
+
restored only after resuming chat succeeds, and preserved interrupted turn
|
|
25
|
+
placeholders during tool execution.
|
|
26
|
+
- **Model Listing and Timeout Management**: Dynamically scaled HTTP body
|
|
27
|
+
timeouts when request timeouts exceed the default 300 seconds, reported
|
|
28
|
+
accurate output token limits in the models list, deduplicated options and
|
|
29
|
+
initialized authentication capabilities, and scoped foreground retry status to
|
|
30
|
+
the active main prompt and model policy.
|
|
31
|
+
- **IDE Companion and Environment Detection**: Isolated IDE discovery files in
|
|
32
|
+
per-user directories with atomic port file writes, detected local git clones
|
|
33
|
+
from the CLI path rather than the current working directory, and honored
|
|
34
|
+
default values in `${VAR:-default}` expansions when variables are set but
|
|
35
|
+
empty.
|
|
37
36
|
|
|
38
37
|
## What's Changed
|
|
39
38
|
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
[#30135](https://github.com/google-gemini/gemini-cli/pull/30135)
|
|
46
|
-
- fix(core): prevent **GCLI_EXPAND_TARGET** env collision in expandEnvVars by
|
|
47
|
-
@villahernandez-coder in
|
|
48
|
-
[#30138](https://github.com/google-gemini/gemini-cli/pull/30138)
|
|
49
|
-
- chore(release): bump version to 0.69.0-nightly.20261104.g89e9d25d6 by
|
|
39
|
+
- Changelog for v0.69.0-preview.0 by @gemini-cli-robot in
|
|
40
|
+
[#30222](https://github.com/google-gemini/gemini-cli/pull/30222)
|
|
41
|
+
- Changelog for v0.68.0 by @gemini-cli-robot in
|
|
42
|
+
[#30224](https://github.com/google-gemini/gemini-cli/pull/30224)
|
|
43
|
+
- chore(release): bump version to 0.70.0-nightly.20261110.g1603e9bab by
|
|
50
44
|
@gemini-cli-robot in
|
|
51
|
-
[#
|
|
52
|
-
-
|
|
53
|
-
@
|
|
54
|
-
[#
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
[#30153](https://github.com/google-gemini/gemini-cli/pull/30153)
|
|
69
|
-
- fix(cli): wait for piped stdin EOF and avoid destroying process.stdin by
|
|
70
|
-
@villahernandez-coder in
|
|
71
|
-
[#30163](https://github.com/google-gemini/gemini-cli/pull/30163)
|
|
72
|
-
- fix(cli): preserve pending tool confirmation when escaping editor selection by
|
|
73
|
-
@jvargassanchez-dot in
|
|
74
|
-
[#30147](https://github.com/google-gemini/gemini-cli/pull/30147)
|
|
75
|
-
- feat(cli): support standalone theme.json configuration for custom themes by
|
|
76
|
-
@jesussamuel-byte in
|
|
77
|
-
[#30119](https://github.com/google-gemini/gemini-cli/pull/30119)
|
|
78
|
-
- fix(cli): normalize error payloads in headless CLI formatting by
|
|
79
|
-
@jvargassanchez-dot in
|
|
80
|
-
[#30117](https://github.com/google-gemini/gemini-cli/pull/30117)
|
|
81
|
-
- fix(core): require path-separator boundary in tildeifyPath by
|
|
82
|
-
@villahernandez-coder in
|
|
83
|
-
[#30124](https://github.com/google-gemini/gemini-cli/pull/30124)
|
|
84
|
-
- fix(cli): validate model names and support direct arguments in /model command
|
|
85
|
-
by @jesussamuel-byte in
|
|
86
|
-
[#30137](https://github.com/google-gemini/gemini-cli/pull/30137)
|
|
87
|
-
- fix(cli): handle file watcher errors and permit FSEvents in macOS permissive
|
|
88
|
-
sandbox by @diegogodinezr in
|
|
89
|
-
[#30143](https://github.com/google-gemini/gemini-cli/pull/30143)
|
|
90
|
-
- fix(core): bound multi-part tool outputs and evict older multimodal inlineData
|
|
45
|
+
[#30223](https://github.com/google-gemini/gemini-cli/pull/30223)
|
|
46
|
+
- test(cli): remove redundant lowercase restart test in
|
|
47
|
+
AdminSettingsChangedDialog by @luisfelipe-alt in
|
|
48
|
+
[#30221](https://github.com/google-gemini/gemini-cli/pull/30221)
|
|
49
|
+
- fix(cli): preserve Unicode prompts and strip ANSI fragments in session
|
|
50
|
+
previews (#29915) by @urielefrenvirtusa in
|
|
51
|
+
[#30220](https://github.com/google-gemini/gemini-cli/pull/30220)
|
|
52
|
+
- fix(cli): preserve selected worktree across authentication restarts (#30078)
|
|
53
|
+
by @duvanka-prasad in
|
|
54
|
+
[#30176](https://github.com/google-gemini/gemini-cli/pull/30176)
|
|
55
|
+
- fix(core): preserve interrupted placeholder after empty model responses to
|
|
56
|
+
tool turns by @tadipavan in
|
|
57
|
+
[#30228](https://github.com/google-gemini/gemini-cli/pull/30228)
|
|
58
|
+
- fix(cli): apply default in ${VAR:-default} when variable is set but empty by
|
|
59
|
+
@urielefrenvirtusa in
|
|
60
|
+
[#30250](https://github.com/google-gemini/gemini-cli/pull/30250)
|
|
61
|
+
- fix(core): scale undici bodyTimeout when request timeout exceeds 300s default
|
|
91
62
|
by @tadipavan in
|
|
92
|
-
[#
|
|
93
|
-
- fix(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- fix(acp): handle mid-stream retries to prevent text concatenation by
|
|
63
|
+
[#30258](https://github.com/google-gemini/gemini-cli/pull/30258)
|
|
64
|
+
- fix(core,cli): report accurate output token limits in models list by
|
|
65
|
+
@tadipavan in [#30253](https://github.com/google-gemini/gemini-cli/pull/30253)
|
|
66
|
+
- fix(cli): restore workspace directories only after resumeChat succeeds by
|
|
97
67
|
@urielefrenvirtusa in
|
|
98
|
-
[#
|
|
99
|
-
- fix(core,cli):
|
|
100
|
-
by @
|
|
101
|
-
[#
|
|
102
|
-
- fix(
|
|
103
|
-
|
|
104
|
-
[#
|
|
105
|
-
- fix(
|
|
106
|
-
|
|
107
|
-
[#
|
|
108
|
-
-
|
|
109
|
-
@ugorla-dev in
|
|
110
|
-
[#30184](https://github.com/google-gemini/gemini-cli/pull/30184)
|
|
111
|
-
- fix(core,cli): allow overriding 60s API headers timeout across all auth modes
|
|
112
|
-
(`model.requestTimeoutMs` / `GEMINI_API_HEADERS_TIMEOUT_MS`) by
|
|
113
|
-
@jesussamuel-byte in
|
|
114
|
-
[#30183](https://github.com/google-gemini/gemini-cli/pull/30183)
|
|
115
|
-
- fix(cli): use isSubpath for theme file home-directory check by @duvanka-prasad
|
|
116
|
-
in [#30160](https://github.com/google-gemini/gemini-cli/pull/30160)
|
|
117
|
-
- fix(cli): resolve folder trust before entering the macOS Seatbelt sandbox by
|
|
68
|
+
[#30259](https://github.com/google-gemini/gemini-cli/pull/30259)
|
|
69
|
+
- fix(core,cli): scope foreground retry status to active main prompt and current
|
|
70
|
+
model policy by @tadipavan in
|
|
71
|
+
[#30266](https://github.com/google-gemini/gemini-cli/pull/30266)
|
|
72
|
+
- fix(cli): initialize auth capabilities and deduplicate options when listing
|
|
73
|
+
models by @tadipavan in
|
|
74
|
+
[#30271](https://github.com/google-gemini/gemini-cli/pull/30271)
|
|
75
|
+
- fix(cli): skip system MCP servers with insecure command permissions by
|
|
76
|
+
@elberthc-byte in
|
|
77
|
+
[#30283](https://github.com/google-gemini/gemini-cli/pull/30283)
|
|
78
|
+
- refactor(core): use re2js for linear-time policy argsPattern evaluation by
|
|
118
79
|
@diegogodinezr in
|
|
119
|
-
[#
|
|
120
|
-
-
|
|
121
|
-
|
|
122
|
-
[#
|
|
123
|
-
- fix(cli):
|
|
80
|
+
[#30282](https://github.com/google-gemini/gemini-cli/pull/30282)
|
|
81
|
+
- chore(deps): update workspace dependencies and sandbox runtime packages by
|
|
82
|
+
@DavidAPierce in
|
|
83
|
+
[#30321](https://github.com/google-gemini/gemini-cli/pull/30321)
|
|
84
|
+
- fix(cli): disclose canonical link path and default consent prompt to no by
|
|
124
85
|
@jvargassanchez-dot in
|
|
125
|
-
[#
|
|
126
|
-
- fix(
|
|
86
|
+
[#30289](https://github.com/google-gemini/gemini-cli/pull/30289)
|
|
87
|
+
- fix(cli): detect local git clone from CLI path instead of cwd by @tadipavan in
|
|
88
|
+
[#30315](https://github.com/google-gemini/gemini-cli/pull/30315)
|
|
89
|
+
- fix(ide): use per-user discovery directory and atomic port file writes by
|
|
90
|
+
@villahernandez-coder in
|
|
91
|
+
[#30340](https://github.com/google-gemini/gemini-cli/pull/30340)
|
|
92
|
+
- ci: pre-pull triage image and clear Docker login in dedup workflows by
|
|
93
|
+
@diegogodinezr in
|
|
94
|
+
[#30342](https://github.com/google-gemini/gemini-cli/pull/30342)
|
|
95
|
+
- fix(core): keep ASK_USER for shell commands with unresolved expansion by
|
|
127
96
|
@luisfelipe-alt in
|
|
128
|
-
[#
|
|
129
|
-
- fix(core):
|
|
130
|
-
|
|
131
|
-
[#
|
|
132
|
-
-
|
|
133
|
-
@
|
|
134
|
-
[#
|
|
135
|
-
- fix(core): prevent PDF inlineData and telemetry buffer memory retention by
|
|
136
|
-
@tadipavan in [#30217](https://github.com/google-gemini/gemini-cli/pull/30217)
|
|
97
|
+
[#30338](https://github.com/google-gemini/gemini-cli/pull/30338)
|
|
98
|
+
- fix(core): match commandPrefix and commandRegex rules against the top-level
|
|
99
|
+
command argument by @luisfelipe-alt in
|
|
100
|
+
[#30355](https://github.com/google-gemini/gemini-cli/pull/30355)
|
|
101
|
+
- chore(deps): adjust workspace dependency pins and update simple-git by
|
|
102
|
+
@DavidAPierce in
|
|
103
|
+
[#30356](https://github.com/google-gemini/gemini-cli/pull/30356)
|
|
137
104
|
|
|
138
105
|
**Full Changelog**:
|
|
139
|
-
https://github.com/google-gemini/gemini-cli/compare/v0.
|
|
106
|
+
https://github.com/google-gemini/gemini-cli/compare/v0.69.0-preview.0...v0.70.0-preview.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/confirmation-bus/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAqB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAqB,MAAM,oBAAoB,CAAC;AAUvD,MAAM,CAAN,IAAY,cAWX;AAXD,WAAY,cAAc;IACxB,yEAAuD,CAAA;IACvD,2EAAyD,CAAA;IACzD,iEAA+C,CAAA;IAC/C,mEAAiD,CAAA;IACjD,mEAAiD,CAAA;IACjD,iDAA+B,CAAA;IAC/B,yDAAuC,CAAA;IACvC,uDAAqC,CAAA;IACrC,yDAAuC,CAAA;IACvC,yDAAuC,CAAA;AACzC,CAAC,EAXW,cAAc,KAAd,cAAc,QAWzB;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/confirmation-bus/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAqB,MAAM,eAAe,CAAC;AAClD,OAAO,EAAqB,MAAM,oBAAoB,CAAC;AAUvD,MAAM,CAAN,IAAY,cAWX;AAXD,WAAY,cAAc;IACxB,yEAAuD,CAAA;IACvD,2EAAyD,CAAA;IACzD,iEAA+C,CAAA;IAC/C,mEAAiD,CAAA;IACjD,mEAAiD,CAAA;IACjD,iDAA+B,CAAA;IAC/B,yDAAuC,CAAA;IACvC,uDAAqC,CAAA;IACrC,yDAAuC,CAAA;IACvC,yDAAuC,CAAA;AACzC,CAAC,EAXW,cAAc,KAAd,cAAc,QAWzB;AA2JD,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,+BAAe,CAAA;AACjB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB"}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* Copyright 2026 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
export declare const GIT_COMMIT_INFO = "
|
|
7
|
-
export declare const CLI_VERSION = "0.
|
|
6
|
+
export declare const GIT_COMMIT_INFO = "808199f5c";
|
|
7
|
+
export declare const CLI_VERSION = "0.71.0-preview.0";
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
// This file is auto-generated by the build script (scripts/generate-git-commit-info.js)
|
|
7
7
|
// Do not edit this file manually.
|
|
8
|
-
export const GIT_COMMIT_INFO = '
|
|
9
|
-
export const CLI_VERSION = '0.
|
|
8
|
+
export const GIT_COMMIT_INFO = '808199f5c';
|
|
9
|
+
export const CLI_VERSION = '0.71.0-preview.0';
|
|
10
10
|
//# sourceMappingURL=git-commit.js.map
|
|
@@ -40,6 +40,7 @@ export declare class PolicyEngine {
|
|
|
40
40
|
* Returns the decision and the matching rule (if any).
|
|
41
41
|
*/
|
|
42
42
|
check(toolCall: FunctionCall, serverName: string | undefined, toolAnnotations?: Record<string, unknown>, subagent?: string, skipHeuristics?: boolean): Promise<CheckResult>;
|
|
43
|
+
private checkInternal;
|
|
43
44
|
/**
|
|
44
45
|
* Add a new rule to the policy engine.
|
|
45
46
|
*/
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import path from 'node:path';
|
|
7
7
|
import {} from '@google/genai';
|
|
8
|
-
import { SHELL_TOOL_NAMES, REDIRECTION_NAMES, initializeShellParsers, parseCommandDetails, stripShellWrapper, hasRedirection, hasUnresolvedShellExpansion, detectCommandSubstitution, extractStringFromParseEntry, } from '../utils/shell-utils.js';
|
|
8
|
+
import { SHELL_TOOL_NAMES, REDIRECTION_NAMES, initializeShellParsers, parseCommandDetails, parseCommandDetailsAsync, isDefaultParseCommandDetails, stripShellWrapper, hasRedirection, hasRedirectionAsync, isDefaultHasRedirection, hasUnresolvedShellExpansion, detectCommandSubstitution, extractStringFromParseEntry, } from '../utils/shell-utils.js';
|
|
9
|
+
import { runWithCommandParseCache } from '../utils/shell-parse-cache.js';
|
|
9
10
|
import { parse as shellParse } from 'shell-quote';
|
|
10
11
|
import { isSubpath } from '../utils/paths.js';
|
|
11
12
|
import { PolicyDecision, ApprovalMode, ALWAYS_ALLOW_PRIORITY_FRACTION, } from './types.js';
|
|
@@ -261,10 +262,13 @@ export class PolicyEngine {
|
|
|
261
262
|
return (rule.priority !== undefined &&
|
|
262
263
|
Math.round((rule.priority % 1) * 1000) === ALWAYS_ALLOW_PRIORITY_FRACTION);
|
|
263
264
|
}
|
|
264
|
-
shouldDowngradeForRedirection(command, allowRedirection, rule) {
|
|
265
|
+
async shouldDowngradeForRedirection(command, allowRedirection, rule) {
|
|
265
266
|
if (allowRedirection)
|
|
266
267
|
return false;
|
|
267
|
-
|
|
268
|
+
const redirected = isDefaultHasRedirection(hasRedirection)
|
|
269
|
+
? await hasRedirectionAsync(command)
|
|
270
|
+
: hasRedirection(command);
|
|
271
|
+
if (!redirected)
|
|
268
272
|
return false;
|
|
269
273
|
// Require explicit allowRedirection when matching a command-prefix rule.
|
|
270
274
|
if (rule?.argsPattern && !allowRedirection) {
|
|
@@ -363,7 +367,9 @@ export class PolicyEngine {
|
|
|
363
367
|
};
|
|
364
368
|
}
|
|
365
369
|
await initializeShellParsers();
|
|
366
|
-
const parsed = parseCommandDetails
|
|
370
|
+
const parsed = isDefaultParseCommandDetails(parseCommandDetails)
|
|
371
|
+
? await parseCommandDetailsAsync(command)
|
|
372
|
+
: parseCommandDetails(command);
|
|
367
373
|
const subCommands = parsed?.details ?? [];
|
|
368
374
|
// Handle parser failures or syntax errors
|
|
369
375
|
if (subCommands.length === 0 || parsed?.hasError) {
|
|
@@ -401,7 +407,7 @@ export class PolicyEngine {
|
|
|
401
407
|
let responsibleRule = rule && ruleDecision === rule.decision ? rule : undefined;
|
|
402
408
|
// Check for redirection on the full command string.
|
|
403
409
|
// Redirection always downgrades ALLOW to ASK_USER (it never upgrades).
|
|
404
|
-
const hasTopLevelRedirectionDowngrade = this.shouldDowngradeForRedirection(command, allowRedirection, rule);
|
|
410
|
+
const hasTopLevelRedirectionDowngrade = await this.shouldDowngradeForRedirection(command, allowRedirection, rule);
|
|
405
411
|
if (hasTopLevelRedirectionDowngrade) {
|
|
406
412
|
if (aggregateDecision === PolicyDecision.ALLOW) {
|
|
407
413
|
debugLogger.debug(`[PolicyEngine.check] Downgrading ALLOW to ASK_USER for redirected command: ${command}`);
|
|
@@ -470,7 +476,7 @@ export class PolicyEngine {
|
|
|
470
476
|
}
|
|
471
477
|
// Downgrade if sub-command has redirection or disallowed substitution
|
|
472
478
|
if (subResult.decision === PolicyDecision.ALLOW &&
|
|
473
|
-
(this.shouldDowngradeForRedirection(subCmd, subResult.rule?.allowRedirection ?? allowRedirection, subResult.rule) ||
|
|
479
|
+
((await this.shouldDowngradeForRedirection(subCmd, subResult.rule?.allowRedirection ?? allowRedirection, subResult.rule)) ||
|
|
474
480
|
this.shouldDowngradeForCommandSubstitution(subCmd, subResult.rule?.allowCommandSubstitution ??
|
|
475
481
|
rule?.allowCommandSubstitution, subResult.rule))) {
|
|
476
482
|
allSubCommandsExplicitlyAllowed = false;
|
|
@@ -533,6 +539,9 @@ export class PolicyEngine {
|
|
|
533
539
|
* Returns the decision and the matching rule (if any).
|
|
534
540
|
*/
|
|
535
541
|
async check(toolCall, serverName, toolAnnotations, subagent, skipHeuristics = false) {
|
|
542
|
+
return runWithCommandParseCache(() => this.checkInternal(toolCall, serverName, toolAnnotations, subagent, skipHeuristics));
|
|
543
|
+
}
|
|
544
|
+
async checkInternal(toolCall, serverName, toolAnnotations, subagent, skipHeuristics = false) {
|
|
536
545
|
// Case 1: Metadata injection is the primary and safest way to identify an MCP server.
|
|
537
546
|
// If we have explicit `_serverName` metadata (usually injected by tool-registry for active tools), use it.
|
|
538
547
|
if (!serverName && isMcpToolAnnotation(toolAnnotations)) {
|