@google/gemini-cli-core 0.42.0-preview.1 → 0.43.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 +14 -0
- package/dist/docs/changelogs/latest.md +108 -166
- package/dist/docs/changelogs/preview.md +227 -103
- package/dist/docs/cli/auto-memory.md +60 -38
- package/dist/docs/cli/settings.md +1 -1
- package/dist/docs/cli/tutorials/memory-management.md +1 -1
- package/dist/docs/extensions/releasing.md +58 -24
- package/dist/docs/reference/configuration.md +14 -1
- package/dist/docs/reference/keyboard-shortcuts.md +23 -0
- package/dist/src/agent/content-utils.js +2 -0
- package/dist/src/agent/content-utils.js.map +1 -1
- package/dist/src/agent/content-utils.test.js +5 -1
- package/dist/src/agent/content-utils.test.js.map +1 -1
- package/dist/src/agent/event-translator.js +7 -6
- package/dist/src/agent/event-translator.js.map +1 -1
- package/dist/src/agent/legacy-agent-session.js +4 -0
- package/dist/src/agent/legacy-agent-session.js.map +1 -1
- package/dist/src/agent/legacy-agent-session.test.js +9 -1
- package/dist/src/agent/legacy-agent-session.test.js.map +1 -1
- package/dist/src/agent/tool-display-utils.d.ts +3 -2
- package/dist/src/agent/tool-display-utils.js +3 -2
- package/dist/src/agent/tool-display-utils.js.map +1 -1
- package/dist/src/agent/types.d.ts +33 -3
- package/dist/src/agents/a2aUtils.d.ts +1 -1
- package/dist/src/agents/a2aUtils.js +4 -3
- package/dist/src/agents/a2aUtils.js.map +1 -1
- package/dist/src/agents/agentLoader.d.ts +2 -2
- package/dist/src/agents/browser/browserAgentInvocation.js +24 -19
- package/dist/src/agents/browser/browserAgentInvocation.js.map +1 -1
- package/dist/src/agents/local-executor.d.ts +1 -0
- package/dist/src/agents/local-executor.js +46 -32
- package/dist/src/agents/local-executor.js.map +1 -1
- package/dist/src/agents/local-executor.test.js +127 -0
- package/dist/src/agents/local-executor.test.js.map +1 -1
- package/dist/src/agents/local-invocation.js +24 -20
- package/dist/src/agents/local-invocation.js.map +1 -1
- package/dist/src/agents/local-invocation.test.js +9 -9
- package/dist/src/agents/local-invocation.test.js.map +1 -1
- package/dist/src/agents/local-subagent-protocol.d.ts +18 -0
- package/dist/src/agents/local-subagent-protocol.js +357 -0
- package/dist/src/agents/local-subagent-protocol.js.map +1 -0
- package/dist/src/agents/local-subagent-protocol.test.d.ts +6 -0
- package/dist/src/agents/local-subagent-protocol.test.js +676 -0
- package/dist/src/agents/local-subagent-protocol.test.js.map +1 -0
- package/dist/src/agents/remote-invocation.js +6 -6
- package/dist/src/agents/remote-invocation.js.map +1 -1
- package/dist/src/agents/remote-invocation.test.js +23 -12
- package/dist/src/agents/remote-invocation.test.js.map +1 -1
- package/dist/src/agents/remote-subagent-protocol.d.ts +31 -0
- package/dist/src/agents/remote-subagent-protocol.js +330 -0
- package/dist/src/agents/remote-subagent-protocol.js.map +1 -0
- package/dist/src/agents/remote-subagent-protocol.test.d.ts +6 -0
- package/dist/src/agents/remote-subagent-protocol.test.js +652 -0
- package/dist/src/agents/remote-subagent-protocol.test.js.map +1 -0
- package/dist/src/agents/skill-extraction-agent.js +1 -0
- package/dist/src/agents/skill-extraction-agent.js.map +1 -1
- package/dist/src/agents/skill-extraction-agent.test.js +1 -0
- package/dist/src/agents/skill-extraction-agent.test.js.map +1 -1
- package/dist/src/agents/types.d.ts +13 -2
- package/dist/src/agents/types.js +7 -0
- package/dist/src/agents/types.js.map +1 -1
- package/dist/src/availability/modelAvailabilityService.d.ts +6 -6
- package/dist/src/availability/modelAvailabilityService.js +14 -7
- package/dist/src/availability/modelAvailabilityService.js.map +1 -1
- package/dist/src/availability/modelAvailabilityService.test.js +34 -0
- package/dist/src/availability/modelAvailabilityService.test.js.map +1 -1
- package/dist/src/availability/policyHelpers.js +24 -12
- package/dist/src/availability/policyHelpers.js.map +1 -1
- package/dist/src/availability/policyHelpers.test.js +3 -2
- package/dist/src/availability/policyHelpers.test.js.map +1 -1
- package/dist/src/code_assist/oauth2.js +3 -0
- package/dist/src/code_assist/oauth2.js.map +1 -1
- package/dist/src/code_assist/setup.d.ts +3 -0
- package/dist/src/code_assist/setup.js +9 -0
- package/dist/src/code_assist/setup.js.map +1 -1
- package/dist/src/code_assist/setup.test.js +9 -1
- package/dist/src/code_assist/setup.test.js.map +1 -1
- package/dist/src/commands/memory.d.ts +5 -14
- package/dist/src/commands/memory.js +19 -141
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/memory.test.js +62 -0
- package/dist/src/commands/memory.test.js.map +1 -1
- package/dist/src/config/config.d.ts +6 -2
- package/dist/src/config/config.js +63 -8
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/config.test.js +48 -0
- package/dist/src/config/config.test.js.map +1 -1
- package/dist/src/config/defaultModelConfigs.js +13 -0
- package/dist/src/config/defaultModelConfigs.js.map +1 -1
- package/dist/src/config/models.js +1 -1
- package/dist/src/config/models.js.map +1 -1
- package/dist/src/config/projectRegistry.d.ts +1 -0
- package/dist/src/config/projectRegistry.js +13 -2
- package/dist/src/config/projectRegistry.js.map +1 -1
- package/dist/src/config/projectRegistry.test.js +43 -0
- package/dist/src/config/projectRegistry.test.js.map +1 -1
- package/dist/src/context/config/profiles.js +4 -0
- package/dist/src/context/config/profiles.js.map +1 -1
- package/dist/src/context/contextManager.barrier.test.js +4 -3
- package/dist/src/context/contextManager.barrier.test.js.map +1 -1
- package/dist/src/context/contextManager.d.ts +9 -2
- package/dist/src/context/contextManager.hotstart.test.d.ts +6 -0
- package/dist/src/context/contextManager.hotstart.test.js +61 -0
- package/dist/src/context/contextManager.hotstart.test.js.map +1 -0
- package/dist/src/context/contextManager.js +96 -21
- package/dist/src/context/contextManager.js.map +1 -1
- package/dist/src/context/eventBus.d.ts +6 -0
- package/dist/src/context/eventBus.js +6 -0
- package/dist/src/context/eventBus.js.map +1 -1
- package/dist/src/context/graph/render.d.ts +3 -1
- package/dist/src/context/graph/render.js +33 -9
- package/dist/src/context/graph/render.js.map +1 -1
- package/dist/src/context/graph/render.test.d.ts +6 -0
- package/dist/src/context/graph/render.test.js +203 -0
- package/dist/src/context/graph/render.test.js.map +1 -0
- package/dist/src/context/graph/toGraph.js +3 -3
- package/dist/src/context/graph/toGraph.js.map +1 -1
- package/dist/src/context/graph/toGraph.test.d.ts +6 -0
- package/dist/src/context/graph/toGraph.test.js +35 -0
- package/dist/src/context/graph/toGraph.test.js.map +1 -0
- package/dist/src/context/initializer.js +11 -2
- package/dist/src/context/initializer.js.map +1 -1
- package/dist/src/context/pipeline/contextWorkingBuffer.d.ts +5 -7
- package/dist/src/context/pipeline/contextWorkingBuffer.js +105 -29
- package/dist/src/context/pipeline/contextWorkingBuffer.js.map +1 -1
- package/dist/src/context/pipeline/contextWorkingBuffer.test.js +67 -0
- package/dist/src/context/pipeline/contextWorkingBuffer.test.js.map +1 -1
- package/dist/src/context/pipeline/environment.d.ts +4 -0
- package/dist/src/context/pipeline/environmentImpl.d.ts +6 -5
- package/dist/src/context/pipeline/environmentImpl.js +6 -8
- package/dist/src/context/pipeline/environmentImpl.js.map +1 -1
- package/dist/src/context/pipeline/environmentImpl.test.js +5 -1
- package/dist/src/context/pipeline/environmentImpl.test.js.map +1 -1
- package/dist/src/context/pipeline/orchestrator.d.ts +1 -0
- package/dist/src/context/pipeline/orchestrator.js +59 -24
- package/dist/src/context/pipeline/orchestrator.js.map +1 -1
- package/dist/src/context/processors/blobDegradationProcessor.test.js +2 -2
- package/dist/src/context/processors/rollingSummaryProcessor.js +2 -15
- package/dist/src/context/processors/rollingSummaryProcessor.js.map +1 -1
- package/dist/src/context/processors/stateSnapshotAsyncProcessor.d.ts +7 -0
- package/dist/src/context/processors/stateSnapshotAsyncProcessor.js +33 -21
- package/dist/src/context/processors/stateSnapshotAsyncProcessor.js.map +1 -1
- package/dist/src/context/processors/stateSnapshotAsyncProcessor.test.js +31 -7
- package/dist/src/context/processors/stateSnapshotAsyncProcessor.test.js.map +1 -1
- package/dist/src/context/processors/stateSnapshotProcessor.d.ts +2 -0
- package/dist/src/context/processors/stateSnapshotProcessor.js +28 -4
- package/dist/src/context/processors/stateSnapshotProcessor.js.map +1 -1
- package/dist/src/context/processors/stateSnapshotProcessor.test.js +40 -1
- package/dist/src/context/processors/stateSnapshotProcessor.test.js.map +1 -1
- package/dist/src/context/system-tests/hysteresis.test.d.ts +6 -0
- package/dist/src/context/system-tests/hysteresis.test.js +98 -0
- package/dist/src/context/system-tests/hysteresis.test.js.map +1 -0
- package/dist/src/context/system-tests/lifecycle.golden.test.js +90 -69
- package/dist/src/context/system-tests/lifecycle.golden.test.js.map +1 -1
- package/dist/src/context/system-tests/simulationHarness.d.ts +1 -4
- package/dist/src/context/system-tests/simulationHarness.js +16 -30
- package/dist/src/context/system-tests/simulationHarness.js.map +1 -1
- package/dist/src/context/testing/contextTestUtils.d.ts +1 -0
- package/dist/src/context/testing/contextTestUtils.js +48 -25
- package/dist/src/context/testing/contextTestUtils.js.map +1 -1
- package/dist/src/context/utils/adaptiveTokenCalculator.d.ts +61 -0
- package/dist/src/context/utils/adaptiveTokenCalculator.js +116 -0
- package/dist/src/context/utils/adaptiveTokenCalculator.js.map +1 -0
- package/dist/src/context/utils/adaptiveTokenCalculator.test.d.ts +6 -0
- package/dist/src/context/utils/adaptiveTokenCalculator.test.js +85 -0
- package/dist/src/context/utils/adaptiveTokenCalculator.test.js.map +1 -0
- package/dist/src/context/utils/contextTokenCalculator.d.ts +47 -1
- package/dist/src/context/utils/contextTokenCalculator.js +20 -3
- package/dist/src/context/utils/contextTokenCalculator.js.map +1 -1
- package/dist/src/context/utils/contextTokenCalculator.test.js +8 -8
- package/dist/src/context/utils/contextTokenCalculator.test.js.map +1 -1
- package/dist/src/context/utils/formatNodesForLlm.d.ts +21 -0
- package/dist/src/context/utils/formatNodesForLlm.js +69 -0
- package/dist/src/context/utils/formatNodesForLlm.js.map +1 -0
- package/dist/src/context/utils/formatNodesForLlm.test.d.ts +6 -0
- package/dist/src/context/utils/formatNodesForLlm.test.js +110 -0
- package/dist/src/context/utils/formatNodesForLlm.test.js.map +1 -0
- package/dist/src/context/utils/snapshotGenerator.d.ts +23 -1
- package/dist/src/context/utils/snapshotGenerator.js +249 -31
- package/dist/src/context/utils/snapshotGenerator.js.map +1 -1
- package/dist/src/context/utils/snapshotGenerator.test.d.ts +6 -0
- package/dist/src/context/utils/snapshotGenerator.test.js +255 -0
- package/dist/src/context/utils/snapshotGenerator.test.js.map +1 -0
- package/dist/src/context/utils/tokenCalibration.d.ts +9 -0
- package/dist/src/context/utils/tokenCalibration.js +30 -0
- package/dist/src/context/utils/tokenCalibration.js.map +1 -0
- package/dist/src/core/baseLlmClient.d.ts +8 -0
- package/dist/src/core/baseLlmClient.js +14 -0
- package/dist/src/core/baseLlmClient.js.map +1 -1
- package/dist/src/core/client.js +12 -1
- package/dist/src/core/client.js.map +1 -1
- package/dist/src/core/client.test.js +4 -4
- package/dist/src/core/contentGenerator.js +12 -10
- package/dist/src/core/contentGenerator.js.map +1 -1
- package/dist/src/core/geminiChat.d.ts +2 -0
- package/dist/src/core/geminiChat.js +60 -5
- package/dist/src/core/geminiChat.js.map +1 -1
- package/dist/src/core/geminiChat.test.js +195 -2
- package/dist/src/core/geminiChat.test.js.map +1 -1
- package/dist/src/core/turn.js +30 -2
- package/dist/src/core/turn.js.map +1 -1
- package/dist/src/core/turn.test.js +13 -8
- package/dist/src/core/turn.test.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/hooks/hookEventHandler.js +3 -2
- package/dist/src/hooks/hookEventHandler.js.map +1 -1
- package/dist/src/hooks/hookEventHandler.test.js +80 -0
- package/dist/src/hooks/hookEventHandler.test.js.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/prompts/snippets.js +1 -1
- package/dist/src/prompts/snippets.js.map +1 -1
- package/dist/src/routing/strategies/approvalModeStrategy.js +5 -3
- package/dist/src/routing/strategies/approvalModeStrategy.js.map +1 -1
- package/dist/src/routing/strategies/approvalModeStrategy.test.js +2 -0
- package/dist/src/routing/strategies/approvalModeStrategy.test.js.map +1 -1
- package/dist/src/routing/strategies/classifierStrategy.js +8 -1
- package/dist/src/routing/strategies/classifierStrategy.js.map +1 -1
- package/dist/src/routing/strategies/classifierStrategy.test.js +4 -0
- package/dist/src/routing/strategies/classifierStrategy.test.js.map +1 -1
- package/dist/src/routing/strategies/gemmaClassifierStrategy.js +7 -1
- package/dist/src/routing/strategies/gemmaClassifierStrategy.js.map +1 -1
- package/dist/src/routing/strategies/gemmaClassifierStrategy.test.js +4 -0
- package/dist/src/routing/strategies/gemmaClassifierStrategy.test.js.map +1 -1
- package/dist/src/routing/strategies/numericalClassifierStrategy.d.ts +1 -0
- package/dist/src/routing/strategies/numericalClassifierStrategy.js +22 -3
- package/dist/src/routing/strategies/numericalClassifierStrategy.js.map +1 -1
- package/dist/src/routing/strategies/numericalClassifierStrategy.test.js +168 -23
- package/dist/src/routing/strategies/numericalClassifierStrategy.test.js.map +1 -1
- package/dist/src/scheduler/scheduler.js +11 -0
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/scheduler/scheduler.test.js +1 -1
- package/dist/src/scheduler/scheduler.test.js.map +1 -1
- package/dist/src/scheduler/state-manager.js +5 -1
- package/dist/src/scheduler/state-manager.js.map +1 -1
- package/dist/src/scheduler/tool-executor.js +7 -4
- package/dist/src/scheduler/tool-executor.js.map +1 -1
- package/dist/src/scheduler/types.d.ts +5 -1
- package/dist/src/scheduler/types.js.map +1 -1
- package/dist/src/services/fileDiscoveryService.js +2 -1
- package/dist/src/services/fileDiscoveryService.js.map +1 -1
- package/dist/src/services/fileDiscoveryService.test.js +36 -0
- package/dist/src/services/fileDiscoveryService.test.js.map +1 -1
- package/dist/src/services/gitService.js +8 -1
- package/dist/src/services/gitService.js.map +1 -1
- package/dist/src/services/gitService.test.js +104 -0
- package/dist/src/services/gitService.test.js.map +1 -1
- package/dist/src/services/keychainService.js +14 -5
- package/dist/src/services/keychainService.js.map +1 -1
- package/dist/src/services/memoryPatchUtils.d.ts +66 -4
- package/dist/src/services/memoryPatchUtils.js +267 -5
- package/dist/src/services/memoryPatchUtils.js.map +1 -1
- package/dist/src/services/memoryService.js +25 -1
- package/dist/src/services/memoryService.js.map +1 -1
- package/dist/src/services/memoryService.test.js +61 -1
- package/dist/src/services/memoryService.test.js.map +1 -1
- package/dist/src/services/test-data/resolved-aliases-retry.golden.json +11 -0
- package/dist/src/services/test-data/resolved-aliases.golden.json +11 -0
- package/dist/src/telemetry/gcp-exporters.d.ts +2 -0
- package/dist/src/telemetry/gcp-exporters.js +69 -5
- package/dist/src/telemetry/gcp-exporters.js.map +1 -1
- package/dist/src/telemetry/gcp-exporters.test.js +52 -0
- package/dist/src/telemetry/gcp-exporters.test.js.map +1 -1
- package/dist/src/telemetry/metrics.js +13 -2
- package/dist/src/telemetry/metrics.js.map +1 -1
- package/dist/src/telemetry/metrics.test.js +61 -1
- package/dist/src/telemetry/metrics.test.js.map +1 -1
- package/dist/src/tools/definitions/model-family-sets/default-legacy.js +5 -2
- package/dist/src/tools/definitions/model-family-sets/default-legacy.js.map +1 -1
- package/dist/src/tools/definitions/model-family-sets/gemini-3.js +7 -4
- package/dist/src/tools/definitions/model-family-sets/gemini-3.js.map +1 -1
- package/dist/src/tools/edit.js +19 -0
- package/dist/src/tools/edit.js.map +1 -1
- package/dist/src/tools/edit.test.js +9 -0
- package/dist/src/tools/edit.test.js.map +1 -1
- package/dist/src/tools/grep.js +13 -1
- package/dist/src/tools/grep.js.map +1 -1
- package/dist/src/tools/ls.js +5 -0
- package/dist/src/tools/ls.js.map +1 -1
- package/dist/src/tools/mcp-client.js +17 -3
- package/dist/src/tools/mcp-client.js.map +1 -1
- package/dist/src/tools/mcp-client.test.js +24 -0
- package/dist/src/tools/mcp-client.test.js.map +1 -1
- package/dist/src/tools/read-file.js +11 -6
- package/dist/src/tools/read-file.js.map +1 -1
- package/dist/src/tools/read-file.test.js +20 -8
- package/dist/src/tools/read-file.test.js.map +1 -1
- package/dist/src/tools/ripGrep.js +13 -1
- package/dist/src/tools/ripGrep.js.map +1 -1
- package/dist/src/tools/shell.js +14 -0
- package/dist/src/tools/shell.js.map +1 -1
- package/dist/src/tools/shell.test.js +5 -0
- package/dist/src/tools/shell.test.js.map +1 -1
- package/dist/src/tools/tools.d.ts +6 -0
- package/dist/src/tools/tools.js.map +1 -1
- package/dist/src/tools/topicTool.js +5 -0
- package/dist/src/tools/topicTool.js.map +1 -1
- package/dist/src/tools/write-file.js +13 -0
- package/dist/src/tools/write-file.js.map +1 -1
- package/dist/src/tools/write-file.test.js +8 -0
- package/dist/src/tools/write-file.test.js.map +1 -1
- package/dist/src/utils/errors.js +3 -8
- package/dist/src/utils/errors.js.map +1 -1
- package/dist/src/utils/filesearch/ignore.js +4 -1
- package/dist/src/utils/filesearch/ignore.js.map +1 -1
- package/dist/src/utils/ignoreFileParser.js +1 -1
- package/dist/src/utils/ignoreFileParser.js.map +1 -1
- package/dist/src/utils/ignorePatterns.js +2 -0
- package/dist/src/utils/ignorePatterns.js.map +1 -1
- package/dist/src/utils/ignorePatterns.test.js +1 -0
- package/dist/src/utils/ignorePatterns.test.js.map +1 -1
- package/dist/src/utils/memoryDiscovery.js +55 -40
- package/dist/src/utils/memoryDiscovery.js.map +1 -1
- package/dist/src/utils/memoryDiscovery.test.js +77 -9
- package/dist/src/utils/memoryDiscovery.test.js.map +1 -1
- package/dist/src/utils/modelUtils.d.ts +14 -0
- package/dist/src/utils/modelUtils.js +17 -0
- package/dist/src/utils/modelUtils.js.map +1 -0
- package/dist/src/utils/modelUtils.test.d.ts +6 -0
- package/dist/src/utils/modelUtils.test.js +23 -0
- package/dist/src/utils/modelUtils.test.js.map +1 -0
- package/dist/src/utils/paths.d.ts +15 -1
- package/dist/src/utils/paths.js +22 -7
- package/dist/src/utils/paths.js.map +1 -1
- package/dist/src/utils/paths.test.js +25 -1
- package/dist/src/utils/paths.test.js.map +1 -1
- package/dist/src/utils/quotaErrorDetection.js +23 -12
- package/dist/src/utils/quotaErrorDetection.js.map +1 -1
- package/dist/src/utils/shell-utils.js +9 -1
- package/dist/src/utils/shell-utils.js.map +1 -1
- package/dist/src/utils/shell-utils.test.js +7 -3
- package/dist/src/utils/shell-utils.test.js.map +1 -1
- package/dist/src/utils/tokenCalculation.js +2 -1
- package/dist/src/utils/tokenCalculation.js.map +1 -1
- package/dist/src/utils/tokenCalculation.test.js +15 -0
- package/dist/src/utils/tokenCalculation.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/google-gemini-cli-core-0.42.0-preview.0.tgz +0 -0
|
@@ -18,6 +18,20 @@ 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.41.0 - 2026-05-05
|
|
22
|
+
|
|
23
|
+
- **Real-time Voice Mode:** Implemented real-time voice mode with cloud and
|
|
24
|
+
local backends
|
|
25
|
+
([#24174](https://github.com/google-gemini/gemini-cli/pull/24174) by
|
|
26
|
+
@Abhijit-2592).
|
|
27
|
+
- **Secure Environment Loading:** Enforced workspace trust and secured .env
|
|
28
|
+
loading in headless mode
|
|
29
|
+
([#25814](https://github.com/google-gemini/gemini-cli/pull/25814) by
|
|
30
|
+
@ehedlund).
|
|
31
|
+
- **Advanced Shell Validation:** Enhanced shell command validation and added
|
|
32
|
+
core tools allowlist for improved security
|
|
33
|
+
([#25720](https://github.com/google-gemini/gemini-cli/pull/25720) by @galz10).
|
|
34
|
+
|
|
21
35
|
## Announcements: v0.40.0 - 2026-04-28
|
|
22
36
|
|
|
23
37
|
- **Offline Search and Themes:** Bundled ripgrep for offline search support and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Latest stable release: v0.
|
|
1
|
+
# Latest stable release: v0.41.0
|
|
2
2
|
|
|
3
|
-
Released:
|
|
3
|
+
Released: May 05, 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,177 +11,119 @@ npm install -g @google/gemini-cli
|
|
|
11
11
|
|
|
12
12
|
## Highlights
|
|
13
13
|
|
|
14
|
-
- **
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
and
|
|
22
|
-
- **
|
|
23
|
-
|
|
24
|
-
current focus.
|
|
25
|
-
- **Streamlined Local Model Setup:** Introduced a simplified `gemini gemma`
|
|
26
|
-
command for quickly setting up and running Gemma models locally.
|
|
27
|
-
- **Prompt-Driven Memory Management:** Replaced the legacy `MemoryManagerAgent`
|
|
28
|
-
with a more efficient prompt-driven memory editing system across four tiers of
|
|
29
|
-
context.
|
|
14
|
+
- **Real-time Voice Mode:** Introduced support for real-time voice interaction
|
|
15
|
+
with both cloud-based and local processing backends.
|
|
16
|
+
- **Enhanced Security:** Implemented mandatory workspace trust for headless
|
|
17
|
+
environments and secured the loading of `.env` configuration files.
|
|
18
|
+
- **Advanced Shell Validation:** Added a robust shell command validation layer
|
|
19
|
+
and a core tools allowlist to prevent unauthorized execution.
|
|
20
|
+
- **Improved Context Management:** Integrated a new `ContextManager` and
|
|
21
|
+
`AgentChatHistory` to provide more reliable and efficient session handling.
|
|
22
|
+
- **Auto-Memory Persistence:** Enabled the persistence of the auto-memory
|
|
23
|
+
scratchpad, allowing for seamless skill extraction across turns.
|
|
30
24
|
|
|
31
25
|
## What's Changed
|
|
32
26
|
|
|
33
|
-
- chore(release): bump version to 0.
|
|
27
|
+
- chore(release): bump version to 0.41.0-nightly.20260423.gaa05b4583 by
|
|
34
28
|
@gemini-cli-robot in
|
|
35
|
-
[#
|
|
36
|
-
-
|
|
37
|
-
by @rcleveng in
|
|
38
|
-
[#25187](https://github.com/google-gemini/gemini-cli/pull/25187)
|
|
39
|
-
- fix(core): prevent YOLO mode from being downgraded by @galz10 in
|
|
40
|
-
[#25341](https://github.com/google-gemini/gemini-cli/pull/25341)
|
|
41
|
-
- feat: bundle ripgrep binaries into SEA for offline support by @scidomino in
|
|
42
|
-
[#25342](https://github.com/google-gemini/gemini-cli/pull/25342)
|
|
43
|
-
- Changelog for v0.39.0-preview.0 by @gemini-cli-robot in
|
|
44
|
-
[#25417](https://github.com/google-gemini/gemini-cli/pull/25417)
|
|
45
|
-
- feat(test): add large conversation scenario for performance test by
|
|
29
|
+
[#25847](https://github.com/google-gemini/gemini-cli/pull/25847)
|
|
30
|
+
- fix(core): only show `list` suggestion if the partial input is empty by
|
|
46
31
|
@cynthialong0-0 in
|
|
47
|
-
[#
|
|
48
|
-
-
|
|
32
|
+
[#25821](https://github.com/google-gemini/gemini-cli/pull/25821)
|
|
33
|
+
- feat(cli): secure .env loading and enforce workspace trust in headless mode by
|
|
34
|
+
@ehedlund in [#25814](https://github.com/google-gemini/gemini-cli/pull/25814)
|
|
35
|
+
- fix: fatal hard-crash on loop detection via unhandled AbortError by @hsm207 in
|
|
36
|
+
[#20108](https://github.com/google-gemini/gemini-cli/pull/20108)
|
|
37
|
+
- update package-lock.json by @ehedlund in
|
|
38
|
+
[#25876](https://github.com/google-gemini/gemini-cli/pull/25876)
|
|
39
|
+
- feat(core): enhance shell command validation and add core tools allowlist by
|
|
40
|
+
@galz10 in [#25720](https://github.com/google-gemini/gemini-cli/pull/25720)
|
|
41
|
+
- fix(ui): corrected background color check in user message components by
|
|
42
|
+
@devr0306 in [#25880](https://github.com/google-gemini/gemini-cli/pull/25880)
|
|
43
|
+
- perf(core): fix slow boot by fetching experiments and quota asynchronously by
|
|
44
|
+
@spencer426 in
|
|
45
|
+
[#25758](https://github.com/google-gemini/gemini-cli/pull/25758)
|
|
46
|
+
- feat(core,cli): add support for Gemma 4 models (experimental) by @Abhijit-2592
|
|
47
|
+
in [#25604](https://github.com/google-gemini/gemini-cli/pull/25604)
|
|
48
|
+
- update FatalUntrustedWorkspaceError message to include doc link by @ehedlund
|
|
49
|
+
in [#25874](https://github.com/google-gemini/gemini-cli/pull/25874)
|
|
50
|
+
- docs: add Gemini CLI course link to README by @JayadityaGit in
|
|
51
|
+
[#25925](https://github.com/google-gemini/gemini-cli/pull/25925)
|
|
52
|
+
- feat(repo): add gemini-cli-bot metrics and workflows by @gundermanc in
|
|
53
|
+
[#25888](https://github.com/google-gemini/gemini-cli/pull/25888)
|
|
54
|
+
- fix(cli): allow output redirection for cli commands by @spencer426 in
|
|
55
|
+
[#25894](https://github.com/google-gemini/gemini-cli/pull/25894)
|
|
56
|
+
- fix(core): fail closed in YOLO mode when shell parsing fails for restricted
|
|
57
|
+
rules by @ehedlund in
|
|
58
|
+
[#25935](https://github.com/google-gemini/gemini-cli/pull/25935)
|
|
59
|
+
- fix(cli-ui): revert backspace handling to fix Windows regression by @scidomino
|
|
60
|
+
in [#25941](https://github.com/google-gemini/gemini-cli/pull/25941)
|
|
61
|
+
- feat(voice): implement real-time voice mode with cloud and local backends by
|
|
62
|
+
@Abhijit-2592 in
|
|
63
|
+
[#24174](https://github.com/google-gemini/gemini-cli/pull/24174)
|
|
64
|
+
- Changelog for v0.39.0 by @gemini-cli-robot in
|
|
65
|
+
[#25848](https://github.com/google-gemini/gemini-cli/pull/25848)
|
|
66
|
+
- feat(memory): persist auto-memory scratchpad for skill extraction by
|
|
49
67
|
@SandyTao520 in
|
|
50
|
-
[#
|
|
51
|
-
-
|
|
52
|
-
[#
|
|
53
|
-
-
|
|
54
|
-
[#15504](https://github.com/google-gemini/gemini-cli/pull/15504)
|
|
55
|
-
- fix(core): honor GOOGLE_GEMINI_BASE_URL and GOOGLE_VERTEX_BASE_URL by
|
|
56
|
-
@chrisjcthomas in
|
|
57
|
-
[#25357](https://github.com/google-gemini/gemini-cli/pull/25357)
|
|
58
|
-
- fix(cli): clean up slash command IDE listeners by @jasonmatthewsuhari in
|
|
59
|
-
[#24397](https://github.com/google-gemini/gemini-cli/pull/24397)
|
|
60
|
-
- Changelog for v0.38.0 by @gemini-cli-robot in
|
|
61
|
-
[#25470](https://github.com/google-gemini/gemini-cli/pull/25470)
|
|
62
|
-
- fix(evals): update eval tests for invoke_agent telemetry and project-scoped
|
|
63
|
-
memory by @SandyTao520 in
|
|
64
|
-
[#25502](https://github.com/google-gemini/gemini-cli/pull/25502)
|
|
65
|
-
- Changelog for v0.38.1 by @gemini-cli-robot in
|
|
66
|
-
[#25476](https://github.com/google-gemini/gemini-cli/pull/25476)
|
|
67
|
-
- feat(core): integrate skill-creator into skill extraction agent by
|
|
68
|
-
@SandyTao520 in
|
|
69
|
-
[#25421](https://github.com/google-gemini/gemini-cli/pull/25421)
|
|
70
|
-
- feat(cli): provide default post-submit prompt for skill command by @ruomengz
|
|
71
|
-
in [#25327](https://github.com/google-gemini/gemini-cli/pull/25327)
|
|
72
|
-
- feat(core): add tools to list and read MCP resources by @ruomengz in
|
|
73
|
-
[#25395](https://github.com/google-gemini/gemini-cli/pull/25395)
|
|
74
|
-
- fix(evals): add typecheck coverage for evals, integration-tests, and
|
|
75
|
-
memory-tests by @SandyTao520 in
|
|
76
|
-
[#25480](https://github.com/google-gemini/gemini-cli/pull/25480)
|
|
77
|
-
- Use OSC 777 for terminal notifications by @jackyliuxx in
|
|
78
|
-
[#25300](https://github.com/google-gemini/gemini-cli/pull/25300)
|
|
79
|
-
- fix(extensions): fix bundling for examples by @abhipatel12 in
|
|
80
|
-
[#25542](https://github.com/google-gemini/gemini-cli/pull/25542)
|
|
81
|
-
- fix(cli): reset plan session state on /clear by @jasonmatthewsuhari in
|
|
82
|
-
[#25515](https://github.com/google-gemini/gemini-cli/pull/25515)
|
|
83
|
-
- feat(core): add .mdx support to get-internal-docs tool by @g-samroberts in
|
|
84
|
-
[#25090](https://github.com/google-gemini/gemini-cli/pull/25090)
|
|
85
|
-
- docs(policy): mention that workspace policies are broken by @6112 in
|
|
86
|
-
[#24367](https://github.com/google-gemini/gemini-cli/pull/24367)
|
|
87
|
-
- fix(core): allow explicit write permissions to override governance file
|
|
88
|
-
protections in sandboxes by @galz10 in
|
|
89
|
-
[#25338](https://github.com/google-gemini/gemini-cli/pull/25338)
|
|
90
|
-
- feat(sandbox): resolve custom seatbelt profiles from $HOME/.gemini first by
|
|
91
|
-
@mvanhorn in [#25427](https://github.com/google-gemini/gemini-cli/pull/25427)
|
|
92
|
-
- Reduce blank lines. by @gundermanc in
|
|
93
|
-
[#25563](https://github.com/google-gemini/gemini-cli/pull/25563)
|
|
94
|
-
- fix(ui): revert preview theme on dialog unmount by @JayadityaGit in
|
|
95
|
-
[#22542](https://github.com/google-gemini/gemini-cli/pull/22542)
|
|
96
|
-
- fix(core): fix ShellExecutionConfig spread and add ProjectRegistry save
|
|
97
|
-
backoff by @mahimashanware in
|
|
98
|
-
[#25382](https://github.com/google-gemini/gemini-cli/pull/25382)
|
|
99
|
-
- feat(core): Disable topic updates for subagents by @gundermanc in
|
|
100
|
-
[#25567](https://github.com/google-gemini/gemini-cli/pull/25567)
|
|
101
|
-
- feat(core): enable topic update narration by default and promote to general by
|
|
102
|
-
@gundermanc in
|
|
103
|
-
[#25586](https://github.com/google-gemini/gemini-cli/pull/25586)
|
|
104
|
-
- docs: migrate installation and authentication to mdx with tabbed layouts by
|
|
105
|
-
@g-samroberts in
|
|
106
|
-
[#25155](https://github.com/google-gemini/gemini-cli/pull/25155)
|
|
107
|
-
- feat(config): split memoryManager flag into autoMemory by @SandyTao520 in
|
|
108
|
-
[#25601](https://github.com/google-gemini/gemini-cli/pull/25601)
|
|
109
|
-
- fix(core): allow Cloud Shell users to use PRO_MODEL_NO_ACCESS experiment by
|
|
110
|
-
@sehoon38 in [#25702](https://github.com/google-gemini/gemini-cli/pull/25702)
|
|
111
|
-
- fix(cli): round slow render latency to avoid opentelemetry float warning by
|
|
112
|
-
@scidomino in [#25709](https://github.com/google-gemini/gemini-cli/pull/25709)
|
|
113
|
-
- docs(tracker): introduce experimental task tracker feature by @anj-s in
|
|
114
|
-
[#24556](https://github.com/google-gemini/gemini-cli/pull/24556)
|
|
115
|
-
- docs(cli): fix inconsistent system.md casing in system prompt docs by @Bodlux
|
|
116
|
-
in [#25414](https://github.com/google-gemini/gemini-cli/pull/25414)
|
|
117
|
-
- feat(cli): add streamlined `gemini gemma` local model setup by @Samee24 in
|
|
118
|
-
[#25498](https://github.com/google-gemini/gemini-cli/pull/25498)
|
|
119
|
-
- Changelog for v0.38.2 by @gemini-cli-robot in
|
|
120
|
-
[#25593](https://github.com/google-gemini/gemini-cli/pull/25593)
|
|
121
|
-
- Fix: Disallow overriding IDE stdio via workspace .env (RCE) by @M0nd0R in
|
|
122
|
-
[#25022](https://github.com/google-gemini/gemini-cli/pull/25022)
|
|
123
|
-
- feat(test): refactor the memory usage test to use metrics from CLI process
|
|
124
|
-
instead of test runner by @cynthialong0-0 in
|
|
125
|
-
[#25708](https://github.com/google-gemini/gemini-cli/pull/25708)
|
|
126
|
-
- feat(vertex): add settings for Vertex AI request routing by @gordonhwc in
|
|
127
|
-
[#25513](https://github.com/google-gemini/gemini-cli/pull/25513)
|
|
128
|
-
- Fix/allow for session persistence by @ahsanfarooq210 in
|
|
129
|
-
[#25176](https://github.com/google-gemini/gemini-cli/pull/25176)
|
|
130
|
-
- Allow dots on GEMINI_API_KEY by @DKbyo in
|
|
131
|
-
[#25497](https://github.com/google-gemini/gemini-cli/pull/25497)
|
|
132
|
-
- feat(telemetry): add flag for enabling traces specifically by @spencer426 in
|
|
133
|
-
[#25343](https://github.com/google-gemini/gemini-cli/pull/25343)
|
|
134
|
-
- fix(core): resolve nested plan directory duplication and relative path
|
|
135
|
-
policies by @mahimashanware in
|
|
136
|
-
[#25138](https://github.com/google-gemini/gemini-cli/pull/25138)
|
|
137
|
-
- feat: detect new files in @ recommendations with watcher based updates by
|
|
138
|
-
@prassamin in [#25256](https://github.com/google-gemini/gemini-cli/pull/25256)
|
|
139
|
-
- fix(cli): use newline in shell command wrapping to avoid breaking heredocs by
|
|
68
|
+
[#25873](https://github.com/google-gemini/gemini-cli/pull/25873)
|
|
69
|
+
- fix(cli): add missing response key to custom theme text schema by @gaurav0107
|
|
70
|
+
in [#25822](https://github.com/google-gemini/gemini-cli/pull/25822)
|
|
71
|
+
- fix(cli): provide manual update command when automatic update fails by
|
|
140
72
|
@cocosheng-g in
|
|
141
|
-
[#
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
[#
|
|
148
|
-
-
|
|
149
|
-
in [#
|
|
150
|
-
- fix(cli):
|
|
151
|
-
[#
|
|
152
|
-
- fix(
|
|
153
|
-
@
|
|
154
|
-
[#
|
|
155
|
-
-
|
|
156
|
-
[#
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
-
|
|
161
|
-
|
|
162
|
-
-
|
|
163
|
-
|
|
164
|
-
[#
|
|
165
|
-
-
|
|
166
|
-
[#
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
[#
|
|
176
|
-
- fix(
|
|
177
|
-
[#
|
|
178
|
-
-
|
|
179
|
-
|
|
73
|
+
[#26052](https://github.com/google-gemini/gemini-cli/pull/26052)
|
|
74
|
+
- test(cli): add unit tests for restore ACP command (#23402) by @cocosheng-g in
|
|
75
|
+
[#26053](https://github.com/google-gemini/gemini-cli/pull/26053)
|
|
76
|
+
- fix(ui): better error messages for ECONNRESET and ETIMEDOUT by @devr0306 in
|
|
77
|
+
[#26059](https://github.com/google-gemini/gemini-cli/pull/26059)
|
|
78
|
+
- feat(core): wire up the new ContextManager and AgentChatHistory by @joshualitt
|
|
79
|
+
in [#25409](https://github.com/google-gemini/gemini-cli/pull/25409)
|
|
80
|
+
- fix(cli): ensure sandbox proxy cleanup and remove handler leaks by @ehedlund
|
|
81
|
+
in [#26065](https://github.com/google-gemini/gemini-cli/pull/26065)
|
|
82
|
+
- fix(cli): correct alternate buffer warning logic for JetBrains by @Adib234 in
|
|
83
|
+
[#26067](https://github.com/google-gemini/gemini-cli/pull/26067)
|
|
84
|
+
- fix(cli): make MCP ping optional in list command and use configured timeout by
|
|
85
|
+
@cocosheng-g in
|
|
86
|
+
[#26068](https://github.com/google-gemini/gemini-cli/pull/26068)
|
|
87
|
+
- fix(core): better error message for failed cloudshell-gca auth by @devr0306 in
|
|
88
|
+
[#26079](https://github.com/google-gemini/gemini-cli/pull/26079)
|
|
89
|
+
- feat(cli): provide manual session UUID via command line arg by @cocosheng-g in
|
|
90
|
+
[#26060](https://github.com/google-gemini/gemini-cli/pull/26060)
|
|
91
|
+
- Changelog for v0.40.0-preview.2 by @gemini-cli-robot in
|
|
92
|
+
[#25846](https://github.com/google-gemini/gemini-cli/pull/25846)
|
|
93
|
+
- (docs) update sandboxing documentation by @g-samroberts in
|
|
94
|
+
[#25930](https://github.com/google-gemini/gemini-cli/pull/25930)
|
|
95
|
+
- fix(core): enforce parallel task tracker updates by @anj-s in
|
|
96
|
+
[#24477](https://github.com/google-gemini/gemini-cli/pull/24477)
|
|
97
|
+
- Update policy so transient errors are not marked terminal by @DavidAPierce in
|
|
98
|
+
[#26066](https://github.com/google-gemini/gemini-cli/pull/26066)
|
|
99
|
+
- Implement bot that performs time-series metric analysis and suggests repo
|
|
100
|
+
management improvements by @gundermanc in
|
|
101
|
+
[#25945](https://github.com/google-gemini/gemini-cli/pull/25945)
|
|
102
|
+
- fix(core): handle non-string model flags in resolution by @Adib234 in
|
|
103
|
+
[#26069](https://github.com/google-gemini/gemini-cli/pull/26069)
|
|
104
|
+
- fix(ux): added error message for ENOTDIR by @devr0306 in
|
|
105
|
+
[#26128](https://github.com/google-gemini/gemini-cli/pull/26128)
|
|
106
|
+
- Changelog for v0.40.0-preview.3 by @gemini-cli-robot in
|
|
107
|
+
[#25904](https://github.com/google-gemini/gemini-cli/pull/25904)
|
|
108
|
+
- fix(cli): prevent ACP stdout pollution from SessionEnd hooks by @cocosheng-g
|
|
109
|
+
in [#26125](https://github.com/google-gemini/gemini-cli/pull/26125)
|
|
110
|
+
- feat(cli): support boolean and number casting for env vars in settings.json by
|
|
111
|
+
@cocosheng-g in
|
|
112
|
+
[#26118](https://github.com/google-gemini/gemini-cli/pull/26118)
|
|
113
|
+
- fix(cli): preserve Request headers in DevTools activity logger by @Adib234 in
|
|
114
|
+
[#26078](https://github.com/google-gemini/gemini-cli/pull/26078)
|
|
115
|
+
- fix(patch): cherry-pick 2194da2 to release/v0.41.0-preview.0-pr-26153 to patch
|
|
116
|
+
version v0.41.0-preview.0 and create version 0.41.0-preview.1 by
|
|
117
|
+
@gemini-cli-robot in
|
|
118
|
+
[#26269](https://github.com/google-gemini/gemini-cli/pull/26269)
|
|
119
|
+
- fix(patch): cherry-pick 1d72a12 to release/v0.41.0-preview.1-pr-26479 to patch
|
|
120
|
+
version v0.41.0-preview.1 and create version 0.41.0-preview.2 by
|
|
121
|
+
@gemini-cli-robot in
|
|
122
|
+
[#26508](https://github.com/google-gemini/gemini-cli/pull/26508)
|
|
123
|
+
- fix(patch): cherry-pick 7cc19c2 to release/v0.41.0-preview.2-pr-26507 to patch
|
|
124
|
+
version v0.41.0-preview.2 and create version 0.41.0-preview.3 by
|
|
180
125
|
@gemini-cli-robot in
|
|
181
|
-
[#
|
|
182
|
-
- fix(patch): cherry-pick 54b7586 to release/v0.40.0-preview.4-pr-26066
|
|
183
|
-
[CONFLICTS] by @gemini-cli-robot in
|
|
184
|
-
[#26124](https://github.com/google-gemini/gemini-cli/pull/26124)
|
|
126
|
+
[#26530](https://github.com/google-gemini/gemini-cli/pull/26530)
|
|
185
127
|
|
|
186
128
|
**Full Changelog**:
|
|
187
|
-
https://github.com/google-gemini/gemini-cli/compare/v0.
|
|
129
|
+
https://github.com/google-gemini/gemini-cli/compare/v0.40.1...v0.41.0
|