@google/gemini-cli 0.44.0 → 0.45.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 (54) hide show
  1. package/bundle/{chunk-BOYNQXWU.js → chunk-2O7YSVPU.js} +2 -2
  2. package/bundle/{chunk-CBT4PN4R.js → chunk-2RRZM3IR.js} +8 -8
  3. package/bundle/{chunk-BE42OOYM.js → chunk-4FNXKOEB.js} +377 -297
  4. package/bundle/{chunk-FOOWNGAB.js → chunk-4M3TG6ZU.js} +1 -1
  5. package/bundle/{chunk-XTG4JBIR.js → chunk-APSDEHHA.js} +1 -1
  6. package/bundle/{chunk-SIXPHUVZ.js → chunk-CWAXEILN.js} +423 -330
  7. package/bundle/{chunk-LM6XTSWQ.js → chunk-DMCSPKNM.js} +56 -2
  8. package/bundle/{chunk-M3EDSAPV.js → chunk-EZCW6IDX.js} +1 -1
  9. package/bundle/{chunk-3K52543M.js → chunk-GIXFMPPJ.js} +56 -2
  10. package/bundle/{chunk-TN4WXWFM.js → chunk-I7UI7NB6.js} +3 -3
  11. package/bundle/{chunk-OTLI6LZ3.js → chunk-IPQLMJS5.js} +1 -1
  12. package/bundle/{chunk-VUERI7WB.js → chunk-J4QUIOHJ.js} +8 -8
  13. package/bundle/{chunk-TW47A6FW.js → chunk-J7SEBVDD.js} +423 -330
  14. package/bundle/{chunk-QUZ62PY7.js → chunk-LUQGJPIY.js} +2 -2
  15. package/bundle/{chunk-N4SGO3W6.js → chunk-N4X4WHSW.js} +2 -2
  16. package/bundle/{chunk-EKUU3KNX.js → chunk-NOJPXYUJ.js} +1 -1
  17. package/bundle/{chunk-DALZZYPQ.js → chunk-OY6QYVTR.js} +1 -1
  18. package/bundle/{chunk-6W2Z7FTE.js → chunk-Q3UZDZZV.js} +3 -3
  19. package/bundle/{chunk-5CABHQOE.js → chunk-R5OZKB4U.js} +1 -1
  20. package/bundle/{chunk-7KIX5G5D.js → chunk-S4CJ6KAO.js} +3 -3
  21. package/bundle/{chunk-OLBOCZ5F.js → chunk-TH3OOWK4.js} +8 -8
  22. package/bundle/{chunk-7ZH745HC.js → chunk-VS2OY6HJ.js} +56 -2
  23. package/bundle/{chunk-G2L4VCSN.js → chunk-WPCNMQ6J.js} +1 -1
  24. package/bundle/{chunk-ONQVFEHS.js → chunk-Y5REX36P.js} +1 -1
  25. package/bundle/{cleanup-PDT5ATZB.js → cleanup-2WCUS5XU.js} +2 -2
  26. package/bundle/{cleanup-SF7XW2P3.js → cleanup-7FHLTEXT.js} +2 -2
  27. package/bundle/{cleanup-UW3DZLXP.js → cleanup-WGOZFAQJ.js} +2 -2
  28. package/bundle/{core-LN2S4IOX.js → core-LD6MHGD6.js} +3 -7
  29. package/bundle/{dist-J4RONYVV.js → core-SIRU2VWJ.js} +3 -7
  30. package/bundle/{devtoolsService-DUEWJW52.js → devtoolsService-4Y2RGEUE.js} +2 -2
  31. package/bundle/{devtoolsService-ZC7E4R2A.js → devtoolsService-F5XFL4BF.js} +2 -2
  32. package/bundle/{devtoolsService-64QE2V7E.js → devtoolsService-IANYOK3R.js} +2 -2
  33. package/bundle/{core-GW6VAL53.js → dist-67ZORME5.js} +3 -7
  34. package/bundle/docs/changelogs/index.md +15 -0
  35. package/bundle/docs/changelogs/latest.md +198 -262
  36. package/bundle/docs/changelogs/preview.md +202 -181
  37. package/bundle/docs/reference/configuration.md +24 -29
  38. package/bundle/{gemini-SSQIKHR2.js → gemini-24ENZ343.js} +41 -30
  39. package/bundle/{gemini-CMBH5YG6.js → gemini-5ZI322FJ.js} +41 -30
  40. package/bundle/{gemini-CSPRLMWN.js → gemini-74UML3PJ.js} +41 -30
  41. package/bundle/gemini.js +15 -10
  42. package/bundle/{interactiveCli-RDMZS6KL.js → interactiveCli-7GM3U7SA.js} +34 -58
  43. package/bundle/{interactiveCli-TOEU7LIO.js → interactiveCli-BVZLMTVC.js} +34 -58
  44. package/bundle/{interactiveCli-Q2A2JFLA.js → interactiveCli-XM5HDVD7.js} +34 -58
  45. package/bundle/{liteRtServerManager-ASKAVAO7.js → liteRtServerManager-3HS3VUPU.js} +4 -4
  46. package/bundle/{liteRtServerManager-6BWTXMUI.js → liteRtServerManager-6N5DYDEQ.js} +4 -4
  47. package/bundle/{liteRtServerManager-ZS3BCW53.js → liteRtServerManager-JVMDH3TN.js} +4 -4
  48. package/bundle/{oauth2-provider-SYRZDGL5.js → oauth2-provider-RUFABDNL.js} +1 -1
  49. package/bundle/{oauth2-provider-FGI6QDEM.js → oauth2-provider-U72EWZHQ.js} +1 -1
  50. package/bundle/{oauth2-provider-7JOVY727.js → oauth2-provider-WS7LUQ5V.js} +1 -1
  51. package/bundle/{start-KJCIH3GX.js → start-DJ6EBFEA.js} +6 -6
  52. package/bundle/{start-TU5WNP77.js → start-KOAGXRA2.js} +6 -6
  53. package/bundle/{start-47OYCVVA.js → start-XLIGOOW3.js} +6 -6
  54. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
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
2
  import {
3
3
  runExitCleanup
4
- } from "./chunk-ONQVFEHS.js";
4
+ } from "./chunk-OY6QYVTR.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-SIXPHUVZ.js";
10
+ } from "./chunk-CWAXEILN.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -1,13 +1,13 @@
1
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
2
  import {
3
3
  runExitCleanup
4
- } from "./chunk-DALZZYPQ.js";
4
+ } from "./chunk-Y5REX36P.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-BE42OOYM.js";
10
+ } from "./chunk-J7SEBVDD.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  CoreToolCallStatus,
4
4
  checkExhaustive
5
- } from "./chunk-BE42OOYM.js";
5
+ } from "./chunk-4FNXKOEB.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-BE42OOYM.js";
8
+ } from "./chunk-CWAXEILN.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-FOOWNGAB.js";
5
+ } from "./chunk-4M3TG6ZU.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-LM6XTSWQ.js";
17
+ } from "./chunk-GIXFMPPJ.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-BE42OOYM.js";
20
+ } from "./chunk-CWAXEILN.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-TW47A6FW.js";
8
+ } from "./chunk-4FNXKOEB.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  exitCli,
4
4
  require_source
5
- } from "./chunk-M3EDSAPV.js";
5
+ } from "./chunk-EZCW6IDX.js";
6
6
  import {
7
7
  DEFAULT_PORT,
8
8
  SERVER_START_WAIT_MS,
@@ -14,10 +14,10 @@ import {
14
14
  isServerRunning,
15
15
  resolveGemmaConfig,
16
16
  writeServerProcessInfo
17
- } from "./chunk-7ZH745HC.js";
17
+ } from "./chunk-DMCSPKNM.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-TW47A6FW.js";
20
+ } from "./chunk-4FNXKOEB.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-M3EDSAPV.js";
9
+ } from "./chunk-IPQLMJS5.js";
10
10
  import {
11
11
  DEFAULT_BACKGROUND_OPACITY,
12
12
  DEFAULT_BORDER_OPACITY,
@@ -58,14 +58,14 @@ import {
58
58
  stripUnsafeCharacters,
59
59
  toCodePoints,
60
60
  validateCustomTheme
61
- } from "./chunk-7ZH745HC.js";
61
+ } from "./chunk-VS2OY6HJ.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-BOYNQXWU.js";
64
+ } from "./chunk-N4X4WHSW.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-G2L4VCSN.js";
68
+ } from "./chunk-APSDEHHA.js";
69
69
  import {
70
70
  ALL_EDITORS,
71
71
  ApprovalMode,
@@ -230,7 +230,7 @@ import {
230
230
  tokenLimit,
231
231
  uiTelemetryService,
232
232
  unescapePath
233
- } from "./chunk-TW47A6FW.js";
233
+ } from "./chunk-J7SEBVDD.js";
234
234
  import {
235
235
  require_src
236
236
  } from "./chunk-TUDYL3X4.js";
@@ -45592,7 +45592,7 @@ async function canLoadServer(serverId, config) {
45592
45592
  blockType: "admin"
45593
45593
  };
45594
45594
  }
45595
- if (config.allowedList && config.allowedList.length > 0) {
45595
+ if (config.allowedList !== void 0) {
45596
45596
  const { found, deprecationWarning } = isInSettingsList(
45597
45597
  normalizedId,
45598
45598
  config.allowedList
@@ -56501,7 +56501,7 @@ var authCommand = {
56501
56501
  import process28 from "node:process";
56502
56502
 
56503
56503
  // packages/cli/src/generated/git-commit.ts
56504
- var GIT_COMMIT_INFO = "b82ca5f8d";
56504
+ var GIT_COMMIT_INFO = "5cac7c10f";
56505
56505
 
56506
56506
  // packages/cli/src/ui/utils/historyExportUtils.ts
56507
56507
  import * as fsPromises from "node:fs/promises";
@@ -62262,7 +62262,7 @@ Use /mcp auth <server-name> to authenticate.`
62262
62262
  type: "info",
62263
62263
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62264
62264
  });
62265
- const { MCPOAuthProvider } = await import("./core-GW6VAL53.js");
62265
+ const { MCPOAuthProvider } = await import("./core-SIRU2VWJ.js");
62266
62266
  let oauthConfig = server.oauth;
62267
62267
  if (!oauthConfig) {
62268
62268
  oauthConfig = { enabled: false };
@@ -29,7 +29,7 @@ import {
29
29
  require_strip_json_comments,
30
30
  sanitizeFilenamePart,
31
31
  stripAnsi
32
- } from "./chunk-TW47A6FW.js";
32
+ } from "./chunk-J7SEBVDD.js";
33
33
  import {
34
34
  __commonJS,
35
35
  __require,
@@ -10176,7 +10176,11 @@ function convertSessionToHistoryFormats(messages) {
10176
10176
  const displayContentString = msg.displayContent ? partListUnionToString(msg.displayContent) : void 0;
10177
10177
  const contentString = partListUnionToString(msg.content);
10178
10178
  const uiText = displayContentString || contentString;
10179
- if (uiText.trim()) {
10179
+ const trimmedText = uiText.trim();
10180
+ if (trimmedText.startsWith("<session_context>") || trimmedText.startsWith("<hook_context>")) {
10181
+ continue;
10182
+ }
10183
+ if (trimmedText) {
10180
10184
  let messageType;
10181
10185
  switch (msg.type) {
10182
10186
  case "user":
@@ -14551,6 +14555,15 @@ var SETTINGS_SCHEMA = {
14551
14555
  description: "Suitable for general coding and software development tasks.",
14552
14556
  showInDialog: true
14553
14557
  },
14558
+ powerUserProfile: {
14559
+ type: "boolean",
14560
+ label: "Use the power user profile to manage agent contexts.",
14561
+ category: "Experimental",
14562
+ requiresRestart: true,
14563
+ default: false,
14564
+ description: "Less cache friendly version of the generalist profile.",
14565
+ showInDialog: false
14566
+ },
14554
14567
  contextManagement: {
14555
14568
  type: "boolean",
14556
14569
  label: "Enable Context Management",
@@ -16327,6 +16340,47 @@ var LoadedSettings = class {
16327
16340
  this._remoteAdminSettings = { admin };
16328
16341
  this._merged = this.computeMergedSettings();
16329
16342
  }
16343
+ /**
16344
+ * Returns a consolidated list of excluded MCP servers across all settings files.
16345
+ */
16346
+ getConsolidatedExcludedMcpServers() {
16347
+ const scopes = [
16348
+ this.system,
16349
+ this.systemDefaults,
16350
+ this.user,
16351
+ this.workspace
16352
+ ];
16353
+ return scopes.flatMap((scope) => {
16354
+ const excluded = scope?.settings?.mcp?.excluded;
16355
+ return Array.isArray(excluded) ? excluded : [];
16356
+ });
16357
+ }
16358
+ /**
16359
+ * Returns a consolidated list of allowed MCP servers (via intersection of all defined lists).
16360
+ */
16361
+ getConsolidatedAllowedMcpServers() {
16362
+ const scopes = [
16363
+ this.system,
16364
+ this.systemDefaults,
16365
+ this.user,
16366
+ this.workspace
16367
+ ];
16368
+ const definedAllowlists = scopes.flatMap((scope) => {
16369
+ const allowed = scope?.settings?.mcp?.allowed;
16370
+ return Array.isArray(allowed) ? [allowed] : [];
16371
+ });
16372
+ if (definedAllowlists.length === 0) {
16373
+ return void 0;
16374
+ }
16375
+ return definedAllowlists.reduce((acc, current) => {
16376
+ const normalizedCurrent = new Set(
16377
+ current.map((item) => item.toLowerCase().trim())
16378
+ );
16379
+ return acc.filter(
16380
+ (item) => normalizedCurrent.has(item.toLowerCase().trim())
16381
+ );
16382
+ });
16383
+ }
16330
16384
  };
16331
16385
  function findEnvFile(startDir, isTrusted, ignoreLocalEnv) {
16332
16386
  let currentDir = path3.resolve(startDir);
@@ -1,7 +1,7 @@
1
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
2
  import {
3
3
  checkExhaustive
4
- } from "./chunk-TW47A6FW.js";
4
+ } from "./chunk-CWAXEILN.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-SIXPHUVZ.js";
8
+ } from "./chunk-J7SEBVDD.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -11,8 +11,8 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-DALZZYPQ.js";
15
- import "./chunk-BE42OOYM.js";
14
+ } from "./chunk-R5OZKB4U.js";
15
+ import "./chunk-4FNXKOEB.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -11,8 +11,8 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-5CABHQOE.js";
15
- import "./chunk-TW47A6FW.js";
14
+ } from "./chunk-OY6QYVTR.js";
15
+ import "./chunk-CWAXEILN.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -11,8 +11,8 @@ import {
11
11
  runSyncCleanup,
12
12
  setupSignalHandlers,
13
13
  setupTtyCheck
14
- } from "./chunk-ONQVFEHS.js";
15
- import "./chunk-SIXPHUVZ.js";
14
+ } from "./chunk-Y5REX36P.js";
15
+ import "./chunk-J7SEBVDD.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -48,7 +48,6 @@ import {
48
48
  AudioRecorder,
49
49
  AuthProviderType,
50
50
  AuthType,
51
- BASH_HUP_GUARD,
52
51
  BINARY_EXTENSIONS,
53
52
  BINARY_FILE_PATTERNS,
54
53
  BINARY_INJECTION_KEY,
@@ -358,8 +357,8 @@ import {
358
357
  PLAN_MODE_PARAM_REASON,
359
358
  PLAN_MODE_TOOLS,
360
359
  PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
361
- PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
362
360
  PREVIEW_GEMINI_3_1_MODEL,
361
+ PREVIEW_GEMINI_FLASH_LITE_MODEL,
363
362
  PREVIEW_GEMINI_FLASH_MODEL,
364
363
  PREVIEW_GEMINI_MODEL,
365
364
  PREVIEW_GEMINI_MODEL_AUTO,
@@ -1030,7 +1029,6 @@ import {
1030
1029
  stopGlobalMemoryMonitoring,
1031
1030
  stressTestProfile,
1032
1031
  stripAnsiFromBuffer,
1033
- stripHupGuard,
1034
1032
  stripShellWrapper,
1035
1033
  stripToolCallIdPrefixes,
1036
1034
  supports256Colors,
@@ -1062,7 +1060,7 @@ import {
1062
1060
  wrapInAccountChooser,
1063
1061
  writeToStderr,
1064
1062
  writeToStdout
1065
- } from "./chunk-SIXPHUVZ.js";
1063
+ } from "./chunk-CWAXEILN.js";
1066
1064
  import "./chunk-6HI7VNOG.js";
1067
1065
  import "./chunk-TUDYL3X4.js";
1068
1066
  import {
@@ -1119,7 +1117,6 @@ export {
1119
1117
  AudioRecorder,
1120
1118
  AuthProviderType,
1121
1119
  AuthType,
1122
- BASH_HUP_GUARD,
1123
1120
  BINARY_EXTENSIONS,
1124
1121
  BINARY_FILE_PATTERNS,
1125
1122
  BINARY_INJECTION_KEY,
@@ -1429,8 +1426,8 @@ export {
1429
1426
  PLAN_MODE_PARAM_REASON,
1430
1427
  PLAN_MODE_TOOLS,
1431
1428
  PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
1432
- PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
1433
1429
  PREVIEW_GEMINI_3_1_MODEL,
1430
+ PREVIEW_GEMINI_FLASH_LITE_MODEL,
1434
1431
  PREVIEW_GEMINI_FLASH_MODEL,
1435
1432
  PREVIEW_GEMINI_MODEL,
1436
1433
  PREVIEW_GEMINI_MODEL_AUTO,
@@ -2103,7 +2100,6 @@ export {
2103
2100
  stopGlobalMemoryMonitoring,
2104
2101
  stressTestProfile,
2105
2102
  stripAnsiFromBuffer,
2106
- stripHupGuard,
2107
2103
  stripShellWrapper,
2108
2104
  stripToolCallIdPrefixes,
2109
2105
  supports256Colors,
@@ -48,7 +48,6 @@ import {
48
48
  AudioRecorder,
49
49
  AuthProviderType,
50
50
  AuthType,
51
- BASH_HUP_GUARD,
52
51
  BINARY_EXTENSIONS,
53
52
  BINARY_FILE_PATTERNS,
54
53
  BINARY_INJECTION_KEY,
@@ -358,8 +357,8 @@ import {
358
357
  PLAN_MODE_PARAM_REASON,
359
358
  PLAN_MODE_TOOLS,
360
359
  PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
361
- PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
362
360
  PREVIEW_GEMINI_3_1_MODEL,
361
+ PREVIEW_GEMINI_FLASH_LITE_MODEL,
363
362
  PREVIEW_GEMINI_FLASH_MODEL,
364
363
  PREVIEW_GEMINI_MODEL,
365
364
  PREVIEW_GEMINI_MODEL_AUTO,
@@ -1030,7 +1029,6 @@ import {
1030
1029
  stopGlobalMemoryMonitoring,
1031
1030
  stressTestProfile,
1032
1031
  stripAnsiFromBuffer,
1033
- stripHupGuard,
1034
1032
  stripShellWrapper,
1035
1033
  stripToolCallIdPrefixes,
1036
1034
  supports256Colors,
@@ -1062,7 +1060,7 @@ import {
1062
1060
  wrapInAccountChooser,
1063
1061
  writeToStderr,
1064
1062
  writeToStdout
1065
- } from "./chunk-BE42OOYM.js";
1063
+ } from "./chunk-J7SEBVDD.js";
1066
1064
  import "./chunk-6HI7VNOG.js";
1067
1065
  import "./chunk-TUDYL3X4.js";
1068
1066
  import {
@@ -1119,7 +1117,6 @@ export {
1119
1117
  AudioRecorder,
1120
1118
  AuthProviderType,
1121
1119
  AuthType,
1122
- BASH_HUP_GUARD,
1123
1120
  BINARY_EXTENSIONS,
1124
1121
  BINARY_FILE_PATTERNS,
1125
1122
  BINARY_INJECTION_KEY,
@@ -1429,8 +1426,8 @@ export {
1429
1426
  PLAN_MODE_PARAM_REASON,
1430
1427
  PLAN_MODE_TOOLS,
1431
1428
  PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
1432
- PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
1433
1429
  PREVIEW_GEMINI_3_1_MODEL,
1430
+ PREVIEW_GEMINI_FLASH_LITE_MODEL,
1434
1431
  PREVIEW_GEMINI_FLASH_MODEL,
1435
1432
  PREVIEW_GEMINI_MODEL,
1436
1433
  PREVIEW_GEMINI_MODEL_AUTO,
@@ -2103,7 +2100,6 @@ export {
2103
2100
  stopGlobalMemoryMonitoring,
2104
2101
  stressTestProfile,
2105
2102
  stripAnsiFromBuffer,
2106
- stripHupGuard,
2107
2103
  stripShellWrapper,
2108
2104
  stripToolCallIdPrefixes,
2109
2105
  supports256Colors,
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  coreEvents,
4
4
  debugLogger
5
- } from "./chunk-SIXPHUVZ.js";
5
+ } from "./chunk-CWAXEILN.js";
6
6
  import {
7
7
  wrapper_default
8
8
  } from "./chunk-6HI7VNOG.js";
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LN2S4IOX.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LD6MHGD6.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  coreEvents,
4
4
  debugLogger
5
- } from "./chunk-TW47A6FW.js";
5
+ } from "./chunk-J7SEBVDD.js";
6
6
  import {
7
7
  wrapper_default
8
8
  } from "./chunk-6HI7VNOG.js";
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-GW6VAL53.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-SIRU2VWJ.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -3,7 +3,7 @@ import {
3
3
  CoreEvent,
4
4
  coreEvents,
5
5
  debugLogger
6
- } from "./chunk-BE42OOYM.js";
6
+ } from "./chunk-4FNXKOEB.js";
7
7
  import {
8
8
  wrapper_default
9
9
  } from "./chunk-6HI7VNOG.js";
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
822
822
  return;
823
823
  }
824
824
  try {
825
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-J4RONYVV.js");
825
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-67ZORME5.js");
826
826
  const url = await startDevToolsServer(config);
827
827
  if (shouldLaunchBrowser()) {
828
828
  try {
@@ -48,7 +48,6 @@ import {
48
48
  AudioRecorder,
49
49
  AuthProviderType,
50
50
  AuthType,
51
- BASH_HUP_GUARD,
52
51
  BINARY_EXTENSIONS,
53
52
  BINARY_FILE_PATTERNS,
54
53
  BINARY_INJECTION_KEY,
@@ -358,8 +357,8 @@ import {
358
357
  PLAN_MODE_PARAM_REASON,
359
358
  PLAN_MODE_TOOLS,
360
359
  PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
361
- PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
362
360
  PREVIEW_GEMINI_3_1_MODEL,
361
+ PREVIEW_GEMINI_FLASH_LITE_MODEL,
363
362
  PREVIEW_GEMINI_FLASH_MODEL,
364
363
  PREVIEW_GEMINI_MODEL,
365
364
  PREVIEW_GEMINI_MODEL_AUTO,
@@ -1030,7 +1029,6 @@ import {
1030
1029
  stopGlobalMemoryMonitoring,
1031
1030
  stressTestProfile,
1032
1031
  stripAnsiFromBuffer,
1033
- stripHupGuard,
1034
1032
  stripShellWrapper,
1035
1033
  stripToolCallIdPrefixes,
1036
1034
  supports256Colors,
@@ -1062,7 +1060,7 @@ import {
1062
1060
  wrapInAccountChooser,
1063
1061
  writeToStderr,
1064
1062
  writeToStdout
1065
- } from "./chunk-TW47A6FW.js";
1063
+ } from "./chunk-4FNXKOEB.js";
1066
1064
  import "./chunk-6HI7VNOG.js";
1067
1065
  import "./chunk-TUDYL3X4.js";
1068
1066
  import {
@@ -1119,7 +1117,6 @@ export {
1119
1117
  AudioRecorder,
1120
1118
  AuthProviderType,
1121
1119
  AuthType,
1122
- BASH_HUP_GUARD,
1123
1120
  BINARY_EXTENSIONS,
1124
1121
  BINARY_FILE_PATTERNS,
1125
1122
  BINARY_INJECTION_KEY,
@@ -1429,8 +1426,8 @@ export {
1429
1426
  PLAN_MODE_PARAM_REASON,
1430
1427
  PLAN_MODE_TOOLS,
1431
1428
  PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL,
1432
- PREVIEW_GEMINI_3_1_FLASH_LITE_MODEL,
1433
1429
  PREVIEW_GEMINI_3_1_MODEL,
1430
+ PREVIEW_GEMINI_FLASH_LITE_MODEL,
1434
1431
  PREVIEW_GEMINI_FLASH_MODEL,
1435
1432
  PREVIEW_GEMINI_MODEL,
1436
1433
  PREVIEW_GEMINI_MODEL_AUTO,
@@ -2103,7 +2100,6 @@ export {
2103
2100
  stopGlobalMemoryMonitoring,
2104
2101
  stressTestProfile,
2105
2102
  stripAnsiFromBuffer,
2106
- stripHupGuard,
2107
2103
  stripShellWrapper,
2108
2104
  stripToolCallIdPrefixes,
2109
2105
  supports256Colors,
@@ -18,6 +18,21 @@ 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.43.0 - 2026-05-22
22
+
23
+ - **Surgical Code Edits:** Steered Gemini models to prefer the `edit` tool for
24
+ surgical modifications, improving speed and precision
25
+ ([#26480](https://github.com/google-gemini/gemini-cli/pull/26480) by
26
+ @aishaneeshah).
27
+ - **Session Export and Import:** Added the ability to export sessions to files
28
+ and import them via a new flag, facilitating session portability
29
+ ([#26514](https://github.com/google-gemini/gemini-cli/pull/26514) by
30
+ @cocosheng-g).
31
+ - **Adaptive Token Estimation:** Introduced an adaptive token calculator for
32
+ more accurate content size estimation, enhancing context management efficiency
33
+ ([#26888](https://github.com/google-gemini/gemini-cli/pull/26888) by
34
+ @joshualitt).
35
+
21
36
  ## Announcements: v0.42.0 - 2026-05-12
22
37
 
23
38
  - **Auto Memory Inbox:** Introduced a new inbox flow for Auto Memory with a