@google/gemini-cli 0.71.0-nightly.20261120.gd4cb1713f → 0.71.0-nightly.20261122.geecccfcd5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/bundle/{chunk-L7GW5P2N.js → chunk-3IQPEEFT.js} +1 -1
  2. package/bundle/{chunk-4YWPS6WG.js → chunk-3OVOJOQV.js} +7 -7
  3. package/bundle/{chunk-NF46UAZ5.js → chunk-4SEGVCM6.js} +1 -1
  4. package/bundle/{chunk-MFOWRKY4.js → chunk-66M6QVYR.js} +4 -4
  5. package/bundle/{chunk-AQR7HAVC.js → chunk-6FOUJKOM.js} +2 -2
  6. package/bundle/{chunk-43QQPZRQ.js → chunk-74F5ZRXI.js} +12 -5
  7. package/bundle/{chunk-H35O2XC7.js → chunk-A3SNIZ4K.js} +1 -1
  8. package/bundle/{chunk-QYILFI2Q.js → chunk-BVNLNGFD.js} +7 -7
  9. package/bundle/{chunk-3DBVNRC7.js → chunk-CCF2NIP6.js} +1 -1
  10. package/bundle/{chunk-4FKCNBUM.js → chunk-D3NX5UWH.js} +1 -1
  11. package/bundle/{chunk-AWAS7A4U.js → chunk-DPDRZTYS.js} +1 -1
  12. package/bundle/{chunk-CVDUPOPD.js → chunk-EUUDSNXQ.js} +1 -1
  13. package/bundle/{chunk-TKCJYF6S.js → chunk-H2NZHXAO.js} +3 -3
  14. package/bundle/{chunk-22NLCXU3.js → chunk-HVQOYFW4.js} +2 -2
  15. package/bundle/{chunk-ZM7BCSH5.js → chunk-I7TS2T4D.js} +7 -7
  16. package/bundle/{chunk-MPPDWK6R.js → chunk-L2ISE4LK.js} +12 -5
  17. package/bundle/{chunk-4SEHQOPY.js → chunk-L6CF3CLS.js} +3 -3
  18. package/bundle/{chunk-6VJSIYX5.js → chunk-NLZKOWER.js} +1 -1
  19. package/bundle/{chunk-4V6FXIV7.js → chunk-PJ5JVPWJ.js} +1 -1
  20. package/bundle/{chunk-3VKSDKQA.js → chunk-QADAHCRT.js} +1 -1
  21. package/bundle/{chunk-Q3MSDTUZ.js → chunk-QWS2TBZG.js} +3 -3
  22. package/bundle/{chunk-JUDLPWWJ.js → chunk-RJEQTG6S.js} +2 -2
  23. package/bundle/{chunk-WEQEDCCJ.js → chunk-RUHIV33O.js} +7 -7
  24. package/bundle/{chunk-7CGFKAQQ.js → chunk-SBBTYBKY.js} +12 -5
  25. package/bundle/{chunk-T5ERFODG.js → chunk-SLTPPXVT.js} +3 -3
  26. package/bundle/{chunk-7WRW57EW.js → chunk-TBZ4XMBR.js} +2 -2
  27. package/bundle/{chunk-P5SMSWOI.js → chunk-TE62WOO3.js} +1 -1
  28. package/bundle/{chunk-HBX5SUG6.js → chunk-U4NCTNW2.js} +1 -1
  29. package/bundle/{chunk-BFYOZTEC.js → chunk-UHBTVOHK.js} +12 -5
  30. package/bundle/{chunk-P3QKD7NI.js → chunk-V55GCHEQ.js} +1 -1
  31. package/bundle/{chunk-YGBB6EOP.js → chunk-VTIY77BF.js} +1 -1
  32. package/bundle/{chunk-JVBEESQE.js → chunk-WWPCDKXX.js} +3 -3
  33. package/bundle/{chunk-ID6HT5PN.js → chunk-XBB56TAG.js} +1 -1
  34. package/bundle/{chunk-EV4MLSRK.js → chunk-YEEWGYBU.js} +2 -2
  35. package/bundle/{chunk-R5O4JOJ7.js → chunk-YYWNIP3F.js} +1 -1
  36. package/bundle/{chunk-ZL2NEMMB.js → chunk-ZYLNLQD4.js} +4 -4
  37. package/bundle/{cleanup-2V4YG4JU.js → cleanup-KZQSV2WP.js} +2 -2
  38. package/bundle/{cleanup-577T3DEI.js → cleanup-NXI65SJI.js} +2 -2
  39. package/bundle/{cleanup-A7BQ5O2C.js → cleanup-UNQWTWUR.js} +2 -2
  40. package/bundle/{cleanup-BER5KF3M.js → cleanup-WV5MP4NR.js} +2 -2
  41. package/bundle/{core-J5GAQUTA.js → core-DQSJHYG4.js} +1 -1
  42. package/bundle/{devtoolsService-5ICQIIYF.js → devtoolsService-A6SRGAWO.js} +2 -2
  43. package/bundle/{devtoolsService-7E2XLRN6.js → devtoolsService-NOXMAH56.js} +2 -2
  44. package/bundle/{devtoolsService-B2G4MIWC.js → devtoolsService-S2Y3M6LY.js} +2 -2
  45. package/bundle/{devtoolsService-HFMB7OZU.js → devtoolsService-UZFFGBEG.js} +2 -2
  46. package/bundle/{dist-63TFONDS.js → dist-MRNKBZRZ.js} +1 -1
  47. package/bundle/{dist-J4SRUOE6.js → dist-QSVANXUU.js} +1 -1
  48. package/bundle/{dist-J54GSUG2.js → dist-YWJAC3IM.js} +1 -1
  49. package/bundle/{formatError-ISWUYAZB.js → formatError-DIQC5HQ6.js} +2 -2
  50. package/bundle/{formatError-IX7HHO6M.js → formatError-PB6SEHWE.js} +2 -2
  51. package/bundle/{formatError-MZRXOV55.js → formatError-PZN5QXV2.js} +2 -2
  52. package/bundle/{formatError-U2ZQLJHB.js → formatError-QRSNJJ27.js} +2 -2
  53. package/bundle/{gemini-GSQARDB2.js → gemini-OAKFBKMR.js} +17 -16
  54. package/bundle/{gemini-ZZBTL6TA.js → gemini-TQYJRVJP.js} +17 -16
  55. package/bundle/{gemini-FRGLIXP7.js → gemini-WYE2GQUH.js} +18 -17
  56. package/bundle/{gemini-KZFVMGY3.js → gemini-ZM24KKQI.js} +18 -17
  57. package/bundle/gemini.js +8 -8
  58. package/bundle/{interactiveCli-XW2S7MKZ.js → interactiveCli-5HWTR4UO.js} +8 -8
  59. package/bundle/{interactiveCli-UN4BNLK2.js → interactiveCli-JIC5TSJZ.js} +8 -8
  60. package/bundle/{interactiveCli-MVGIIVAP.js → interactiveCli-L5IOZTYF.js} +8 -8
  61. package/bundle/{interactiveCli-AHDFCTRR.js → interactiveCli-W4IK4C6F.js} +8 -8
  62. package/bundle/{liteRtServerManager-3MOGK3XY.js → liteRtServerManager-3OHWR27T.js} +4 -4
  63. package/bundle/{liteRtServerManager-O727KCKA.js → liteRtServerManager-CIAKSHPQ.js} +4 -4
  64. package/bundle/{liteRtServerManager-TSG2V5XN.js → liteRtServerManager-GSYRGOB6.js} +4 -4
  65. package/bundle/{liteRtServerManager-YLE7JTV7.js → liteRtServerManager-YUBDDMLI.js} +4 -4
  66. package/bundle/{oauth2-provider-DWO2KVCY.js → oauth2-provider-6FXPYQGS.js} +1 -1
  67. package/bundle/{oauth2-provider-G25ZRGDY.js → oauth2-provider-JAYH53PG.js} +1 -1
  68. package/bundle/{oauth2-provider-RHT5OSMO.js → oauth2-provider-VXQXX4M2.js} +1 -1
  69. package/bundle/{oauth2-provider-3EEFSHG4.js → oauth2-provider-XADKJYM3.js} +1 -1
  70. package/bundle/{start-4XOSRN5A.js → start-7ZXOELXX.js} +6 -6
  71. package/bundle/{start-7JXWL6XR.js → start-O7HDURUW.js} +6 -6
  72. package/bundle/{start-CAA6RQBK.js → start-RZVYK5Y5.js} +6 -6
  73. package/bundle/{start-I3RUABAZ.js → start-ZJYJBLYL.js} +6 -6
  74. package/package.json +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  isTelemetrySdkInitialized,
7
7
  resetBrowserSession,
8
8
  shutdownTelemetry
9
- } from "./chunk-AQR7HAVC.js";
9
+ } from "./chunk-66M6QVYR.js";
10
10
 
11
11
  // packages/cli/src/utils/cleanup.ts
12
12
  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-HBX5SUG6.js";
5
+ } from "./chunk-VTIY77BF.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -69,16 +69,16 @@ import {
69
69
  use_stdin_default,
70
70
  use_stdout_default,
71
71
  validateCustomTheme
72
- } from "./chunk-MPPDWK6R.js";
72
+ } from "./chunk-L2ISE4LK.js";
73
73
  import {
74
74
  isDevelopment,
75
75
  require_semver
76
- } from "./chunk-EV4MLSRK.js";
76
+ } from "./chunk-RJEQTG6S.js";
77
77
  import {
78
78
  emptyIcon,
79
79
  mapCoreStatusToDisplayStatus,
80
80
  require_react
81
- } from "./chunk-6VJSIYX5.js";
81
+ } from "./chunk-NLZKOWER.js";
82
82
  import {
83
83
  ALL_EDITORS,
84
84
  ApprovalMode,
@@ -269,7 +269,7 @@ import {
269
269
  unescapePath,
270
270
  validateUrlDestination,
271
271
  wo
272
- } from "./chunk-ZL2NEMMB.js";
272
+ } from "./chunk-66M6QVYR.js";
273
273
  import {
274
274
  require_src
275
275
  } from "./chunk-L6PII3GR.js";
@@ -35020,7 +35020,7 @@ var authCommand = {
35020
35020
  import process12 from "node:process";
35021
35021
 
35022
35022
  // packages/cli/src/generated/git-commit.ts
35023
- var GIT_COMMIT_INFO = "d4cb1713f";
35023
+ var GIT_COMMIT_INFO = "eecccfcd5";
35024
35024
 
35025
35025
  // packages/cli/src/ui/utils/historyExportUtils.ts
35026
35026
  import * as fsPromises from "node:fs/promises";
@@ -40842,7 +40842,7 @@ Use /mcp auth <server-name> to authenticate.`
40842
40842
  type: "info",
40843
40843
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
40844
40844
  });
40845
- const { MCPOAuthProvider } = await import("./dist-J4SRUOE6.js");
40845
+ const { MCPOAuthProvider } = await import("./dist-YWJAC3IM.js");
40846
40846
  let oauthConfig = server.oauth;
40847
40847
  if (!oauthConfig) {
40848
40848
  oauthConfig = { enabled: false };
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  normalizeError,
4
4
  safeSerializeErrorValue
5
- } from "./chunk-MFOWRKY4.js";
5
+ } from "./chunk-H2NZHXAO.js";
6
6
 
7
7
  // packages/cli/src/utils/formatError.ts
8
8
  function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
@@ -295380,8 +295380,8 @@ function isValidToolName(name3, options = {}) {
295380
295380
  }
295381
295381
 
295382
295382
  // packages/core/dist/src/generated/git-commit.js
295383
- var GIT_COMMIT_INFO = "d4cb1713f";
295384
- var CLI_VERSION = "0.71.0-nightly.20261120.gd4cb1713f";
295383
+ var GIT_COMMIT_INFO = "eecccfcd5";
295384
+ var CLI_VERSION = "0.71.0-nightly.20261118.g615d6bc8c";
295385
295385
 
295386
295386
  // packages/core/dist/src/ide/detect-ide.js
295387
295387
  var IDE_DEFINITIONS = {
@@ -327999,7 +327999,7 @@ function getVersion() {
327999
327999
  }
328000
328000
  versionPromise = (async () => {
328001
328001
  const pkgJson = await getPackageJson(__dirname4);
328002
- return "0.71.0-nightly.20261120.gd4cb1713f";
328002
+ return "0.71.0-nightly.20261118.g615d6bc8c";
328003
328003
  })();
328004
328004
  return versionPromise;
328005
328005
  }
@@ -360740,7 +360740,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
360740
360740
  return provider;
360741
360741
  }
360742
360742
  case "oauth2": {
360743
- const { OAuth2AuthProvider } = await import("./oauth2-provider-DWO2KVCY.js");
360743
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-JAYH53PG.js");
360744
360744
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
360745
360745
  await provider.initialize();
360746
360746
  return provider;
@@ -295748,7 +295748,7 @@ function isValidToolName(name3, options = {}) {
295748
295748
  }
295749
295749
 
295750
295750
  // packages/core/src/generated/git-commit.ts
295751
- var GIT_COMMIT_INFO = "d4cb1713f";
295751
+ var GIT_COMMIT_INFO = "eecccfcd5";
295752
295752
  var CLI_VERSION = "0.71.0-nightly.20261118.g615d6bc8c";
295753
295753
 
295754
295754
  // packages/core/src/ide/detect-ide.ts
@@ -363831,7 +363831,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
363831
363831
  return provider;
363832
363832
  }
363833
363833
  case "oauth2": {
363834
- const { OAuth2AuthProvider } = await import("./oauth2-provider-3EEFSHG4.js");
363834
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-XADKJYM3.js");
363835
363835
  const provider = new OAuth2AuthProvider(
363836
363836
  authConfig,
363837
363837
  options.agentName ?? "unknown",
@@ -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
  require_react
4
- } from "./chunk-R5O4JOJ7.js";
4
+ } from "./chunk-YYWNIP3F.js";
5
5
  import {
6
6
  AuthProviderType,
7
7
  AuthType,
@@ -36,7 +36,7 @@ import {
36
36
  require_shell_quote,
37
37
  require_strip_json_comments,
38
38
  sanitizeFilenamePart
39
- } from "./chunk-AQR7HAVC.js";
39
+ } from "./chunk-6FOUJKOM.js";
40
40
  import {
41
41
  __commonJS,
42
42
  __export,
@@ -31689,9 +31689,16 @@ var SessionSelector = class {
31689
31689
  if (sessions.length === 0) {
31690
31690
  throw SessionError.noSessionsFound();
31691
31691
  }
31692
- sessions.sort(
31693
- (a, b) => new Date(a.startTime).getTime() - new Date(b.startTime).getTime()
31694
- );
31692
+ sessions.sort((a, b) => {
31693
+ const timeA = new Date(a.lastUpdated).getTime() || 0;
31694
+ const timeB = new Date(b.lastUpdated).getTime() || 0;
31695
+ if (timeA !== timeB) {
31696
+ return timeA - timeB;
31697
+ }
31698
+ const startA = new Date(a.startTime).getTime() || 0;
31699
+ const startB = new Date(b.startTime).getTime() || 0;
31700
+ return startA - startB;
31701
+ });
31695
31702
  selectedSession = sessions[sessions.length - 1];
31696
31703
  } else {
31697
31704
  try {
@@ -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
  runExitCleanup
4
- } from "./chunk-AWAS7A4U.js";
4
+ } from "./chunk-EUUDSNXQ.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -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-YGBB6EOP.js";
5
+ } from "./chunk-A3SNIZ4K.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -69,16 +69,16 @@ import {
69
69
  use_stdin_default,
70
70
  use_stdout_default,
71
71
  validateCustomTheme
72
- } from "./chunk-43QQPZRQ.js";
72
+ } from "./chunk-74F5ZRXI.js";
73
73
  import {
74
74
  isDevelopment,
75
75
  require_semver
76
- } from "./chunk-7WRW57EW.js";
76
+ } from "./chunk-YEEWGYBU.js";
77
77
  import {
78
78
  emptyIcon,
79
79
  mapCoreStatusToDisplayStatus,
80
80
  require_react
81
- } from "./chunk-R5O4JOJ7.js";
81
+ } from "./chunk-YYWNIP3F.js";
82
82
  import {
83
83
  ALL_EDITORS,
84
84
  ApprovalMode,
@@ -256,7 +256,7 @@ import {
256
256
  unescapePath,
257
257
  validateUrlDestination,
258
258
  wo
259
- } from "./chunk-AQR7HAVC.js";
259
+ } from "./chunk-6FOUJKOM.js";
260
260
  import {
261
261
  require_src
262
262
  } from "./chunk-L6PII3GR.js";
@@ -35007,7 +35007,7 @@ var authCommand = {
35007
35007
  import process12 from "node:process";
35008
35008
 
35009
35009
  // packages/cli/src/generated/git-commit.ts
35010
- var GIT_COMMIT_INFO = "d4cb1713f";
35010
+ var GIT_COMMIT_INFO = "eecccfcd5";
35011
35011
 
35012
35012
  // packages/cli/src/ui/utils/historyExportUtils.ts
35013
35013
  import * as fsPromises from "node:fs/promises";
@@ -40829,7 +40829,7 @@ Use /mcp auth <server-name> to authenticate.`
40829
40829
  type: "info",
40830
40830
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
40831
40831
  });
40832
- const { MCPOAuthProvider } = await import("./core-J5GAQUTA.js");
40832
+ const { MCPOAuthProvider } = await import("./core-DQSJHYG4.js");
40833
40833
  let oauthConfig = server.oauth;
40834
40834
  if (!oauthConfig) {
40835
40835
  oauthConfig = { enabled: false };
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  normalizeError,
4
4
  safeSerializeErrorValue
5
- } from "./chunk-ZL2NEMMB.js";
5
+ } from "./chunk-ZYLNLQD4.js";
6
6
 
7
7
  // packages/cli/src/utils/formatError.ts
8
8
  function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
@@ -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-MFOWRKY4.js";
5
+ } from "./chunk-ZYLNLQD4.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -6,7 +6,7 @@ import {
6
6
  isTelemetrySdkInitialized,
7
7
  resetBrowserSession,
8
8
  shutdownTelemetry
9
- } from "./chunk-MFOWRKY4.js";
9
+ } from "./chunk-H2NZHXAO.js";
10
10
 
11
11
  // packages/cli/src/utils/cleanup.ts
12
12
  import { promises as fs } from "node:fs";
@@ -6,7 +6,7 @@ import {
6
6
  isTelemetrySdkInitialized,
7
7
  resetBrowserSession,
8
8
  shutdownTelemetry
9
- } from "./chunk-TKCJYF6S.js";
9
+ } from "./chunk-6FOUJKOM.js";
10
10
 
11
11
  // packages/cli/src/utils/cleanup.ts
12
12
  import { promises as fs } from "node:fs";
@@ -295380,7 +295380,7 @@ function isValidToolName(name3, options = {}) {
295380
295380
  }
295381
295381
 
295382
295382
  // packages/core/dist/src/generated/git-commit.js
295383
- var GIT_COMMIT_INFO = "d4cb1713f";
295383
+ var GIT_COMMIT_INFO = "eecccfcd5";
295384
295384
  var CLI_VERSION = "0.71.0-nightly.20261118.g615d6bc8c";
295385
295385
 
295386
295386
  // packages/core/dist/src/ide/detect-ide.js
@@ -327999,7 +327999,7 @@ function getVersion() {
327999
327999
  }
328000
328000
  versionPromise = (async () => {
328001
328001
  const pkgJson = await getPackageJson(__dirname4);
328002
- return "0.71.0-nightly.20261120.gd4cb1713f";
328002
+ return "0.71.0-nightly.20261122.geecccfcd5";
328003
328003
  })();
328004
328004
  return versionPromise;
328005
328005
  }
@@ -360740,7 +360740,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
360740
360740
  return provider;
360741
360741
  }
360742
360742
  case "oauth2": {
360743
- const { OAuth2AuthProvider } = await import("./oauth2-provider-RHT5OSMO.js");
360743
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-6FXPYQGS.js");
360744
360744
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
360745
360745
  await provider.initialize();
360746
360746
  return provider;
@@ -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
  runExitCleanup
4
- } from "./chunk-AWAS7A4U.js";
4
+ } from "./chunk-V55GCHEQ.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
@@ -17,7 +17,7 @@ import {
17
17
  require_re,
18
18
  require_semver,
19
19
  require_valid
20
- } from "./chunk-MFOWRKY4.js";
20
+ } from "./chunk-ZYLNLQD4.js";
21
21
  import {
22
22
  __commonJS,
23
23
  __toESM
@@ -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-H35O2XC7.js";
5
+ } from "./chunk-PJ5JVPWJ.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -69,16 +69,16 @@ import {
69
69
  use_stdin_default,
70
70
  use_stdout_default,
71
71
  validateCustomTheme
72
- } from "./chunk-BFYOZTEC.js";
72
+ } from "./chunk-UHBTVOHK.js";
73
73
  import {
74
74
  isDevelopment,
75
75
  require_semver
76
- } from "./chunk-22NLCXU3.js";
76
+ } from "./chunk-TBZ4XMBR.js";
77
77
  import {
78
78
  emptyIcon,
79
79
  mapCoreStatusToDisplayStatus,
80
80
  require_react
81
- } from "./chunk-4FKCNBUM.js";
81
+ } from "./chunk-XBB56TAG.js";
82
82
  import {
83
83
  ALL_EDITORS,
84
84
  ApprovalMode,
@@ -269,7 +269,7 @@ import {
269
269
  unescapePath,
270
270
  validateUrlDestination,
271
271
  wo
272
- } from "./chunk-MFOWRKY4.js";
272
+ } from "./chunk-H2NZHXAO.js";
273
273
  import {
274
274
  require_src
275
275
  } from "./chunk-L6PII3GR.js";
@@ -35020,7 +35020,7 @@ var authCommand = {
35020
35020
  import process12 from "node:process";
35021
35021
 
35022
35022
  // packages/cli/src/generated/git-commit.ts
35023
- var GIT_COMMIT_INFO = "d5bc74396";
35023
+ var GIT_COMMIT_INFO = "eecccfcd5";
35024
35024
 
35025
35025
  // packages/cli/src/ui/utils/historyExportUtils.ts
35026
35026
  import * as fsPromises from "node:fs/promises";
@@ -40842,7 +40842,7 @@ Use /mcp auth <server-name> to authenticate.`
40842
40842
  type: "info",
40843
40843
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
40844
40844
  });
40845
- const { MCPOAuthProvider } = await import("./dist-J54GSUG2.js");
40845
+ const { MCPOAuthProvider } = await import("./dist-QSVANXUU.js");
40846
40846
  let oauthConfig = server.oauth;
40847
40847
  if (!oauthConfig) {
40848
40848
  oauthConfig = { enabled: false };
@@ -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
  require_react
4
- } from "./chunk-6VJSIYX5.js";
4
+ } from "./chunk-NLZKOWER.js";
5
5
  import {
6
6
  AuthProviderType,
7
7
  AuthType,
@@ -38,7 +38,7 @@ import {
38
38
  require_shell_quote,
39
39
  require_strip_json_comments,
40
40
  sanitizeFilenamePart
41
- } from "./chunk-ZL2NEMMB.js";
41
+ } from "./chunk-66M6QVYR.js";
42
42
  import {
43
43
  __commonJS,
44
44
  __export,
@@ -31691,9 +31691,16 @@ var SessionSelector = class {
31691
31691
  if (sessions.length === 0) {
31692
31692
  throw SessionError.noSessionsFound();
31693
31693
  }
31694
- sessions.sort(
31695
- (a, b) => new Date(a.startTime).getTime() - new Date(b.startTime).getTime()
31696
- );
31694
+ sessions.sort((a, b) => {
31695
+ const timeA = new Date(a.lastUpdated).getTime() || 0;
31696
+ const timeB = new Date(b.lastUpdated).getTime() || 0;
31697
+ if (timeA !== timeB) {
31698
+ return timeA - timeB;
31699
+ }
31700
+ const startA = new Date(a.startTime).getTime() || 0;
31701
+ const startB = new Date(b.startTime).getTime() || 0;
31702
+ return startA - startB;
31703
+ });
31697
31704
  selectedSession = sessions[sessions.length - 1];
31698
31705
  } else {
31699
31706
  try {
@@ -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-YGBB6EOP.js";
5
+ } from "./chunk-PJ5JVPWJ.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-43QQPZRQ.js";
17
+ } from "./chunk-UHBTVOHK.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-AQR7HAVC.js";
20
+ } from "./chunk-H2NZHXAO.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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-ZL2NEMMB.js";
5
+ } from "./chunk-66M6QVYR.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -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
  runExitCleanup
4
- } from "./chunk-CVDUPOPD.js";
4
+ } from "./chunk-DPDRZTYS.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  normalizeError,
4
4
  safeSerializeErrorValue
5
- } from "./chunk-TKCJYF6S.js";
5
+ } from "./chunk-6FOUJKOM.js";
6
6
 
7
7
  // packages/cli/src/utils/formatError.ts
8
8
  function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
@@ -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-4V6FXIV7.js";
5
+ } from "./chunk-A3SNIZ4K.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-7CGFKAQQ.js";
17
+ } from "./chunk-74F5ZRXI.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-TKCJYF6S.js";
20
+ } from "./chunk-6FOUJKOM.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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
  runExitCleanup
4
- } from "./chunk-CVDUPOPD.js";
4
+ } from "./chunk-3IQPEEFT.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
@@ -17,7 +17,7 @@ import {
17
17
  require_re,
18
18
  require_semver,
19
19
  require_valid
20
- } from "./chunk-TKCJYF6S.js";
20
+ } from "./chunk-66M6QVYR.js";
21
21
  import {
22
22
  __commonJS,
23
23
  __toESM
@@ -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-4V6FXIV7.js";
5
+ } from "./chunk-U4NCTNW2.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -69,16 +69,16 @@ import {
69
69
  use_stdin_default,
70
70
  use_stdout_default,
71
71
  validateCustomTheme
72
- } from "./chunk-7CGFKAQQ.js";
72
+ } from "./chunk-SBBTYBKY.js";
73
73
  import {
74
74
  isDevelopment,
75
75
  require_semver
76
- } from "./chunk-JUDLPWWJ.js";
76
+ } from "./chunk-HVQOYFW4.js";
77
77
  import {
78
78
  emptyIcon,
79
79
  mapCoreStatusToDisplayStatus,
80
80
  require_react
81
- } from "./chunk-ID6HT5PN.js";
81
+ } from "./chunk-D3NX5UWH.js";
82
82
  import {
83
83
  ALL_EDITORS,
84
84
  ApprovalMode,
@@ -269,7 +269,7 @@ import {
269
269
  unescapePath,
270
270
  validateUrlDestination,
271
271
  wo
272
- } from "./chunk-TKCJYF6S.js";
272
+ } from "./chunk-ZYLNLQD4.js";
273
273
  import {
274
274
  require_src
275
275
  } from "./chunk-L6PII3GR.js";
@@ -35020,7 +35020,7 @@ var authCommand = {
35020
35020
  import process12 from "node:process";
35021
35021
 
35022
35022
  // packages/cli/src/generated/git-commit.ts
35023
- var GIT_COMMIT_INFO = "d4cb1713f";
35023
+ var GIT_COMMIT_INFO = "f8263b3c3";
35024
35024
 
35025
35025
  // packages/cli/src/ui/utils/historyExportUtils.ts
35026
35026
  import * as fsPromises from "node:fs/promises";
@@ -40842,7 +40842,7 @@ Use /mcp auth <server-name> to authenticate.`
40842
40842
  type: "info",
40843
40843
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
40844
40844
  });
40845
- const { MCPOAuthProvider } = await import("./dist-63TFONDS.js");
40845
+ const { MCPOAuthProvider } = await import("./dist-MRNKBZRZ.js");
40846
40846
  let oauthConfig = server.oauth;
40847
40847
  if (!oauthConfig) {
40848
40848
  oauthConfig = { enabled: false };
@@ -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
  require_react
4
- } from "./chunk-ID6HT5PN.js";
4
+ } from "./chunk-D3NX5UWH.js";
5
5
  import {
6
6
  AuthProviderType,
7
7
  AuthType,
@@ -38,7 +38,7 @@ import {
38
38
  require_shell_quote,
39
39
  require_strip_json_comments,
40
40
  sanitizeFilenamePart
41
- } from "./chunk-TKCJYF6S.js";
41
+ } from "./chunk-ZYLNLQD4.js";
42
42
  import {
43
43
  __commonJS,
44
44
  __export,
@@ -31691,9 +31691,16 @@ var SessionSelector = class {
31691
31691
  if (sessions.length === 0) {
31692
31692
  throw SessionError.noSessionsFound();
31693
31693
  }
31694
- sessions.sort(
31695
- (a, b) => new Date(a.startTime).getTime() - new Date(b.startTime).getTime()
31696
- );
31694
+ sessions.sort((a, b) => {
31695
+ const timeA = new Date(a.lastUpdated).getTime() || 0;
31696
+ const timeB = new Date(b.lastUpdated).getTime() || 0;
31697
+ if (timeA !== timeB) {
31698
+ return timeA - timeB;
31699
+ }
31700
+ const startA = new Date(a.startTime).getTime() || 0;
31701
+ const startB = new Date(b.startTime).getTime() || 0;
31702
+ return startA - startB;
31703
+ });
31697
31704
  selectedSession = sessions[sessions.length - 1];
31698
31705
  } else {
31699
31706
  try {
@@ -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-H35O2XC7.js";
5
+ } from "./chunk-VTIY77BF.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-BFYOZTEC.js";
17
+ } from "./chunk-L2ISE4LK.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-MFOWRKY4.js";
20
+ } from "./chunk-66M6QVYR.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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
  runExitCleanup
4
- } from "./chunk-L7GW5P2N.js";
4
+ } from "./chunk-DPDRZTYS.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
@@ -17,7 +17,7 @@ import {
17
17
  require_re,
18
18
  require_semver,
19
19
  require_valid
20
- } from "./chunk-AQR7HAVC.js";
20
+ } from "./chunk-H2NZHXAO.js";
21
21
  import {
22
22
  __commonJS,
23
23
  __toESM
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  normalizeError,
4
4
  safeSerializeErrorValue
5
- } from "./chunk-AQR7HAVC.js";
5
+ } from "./chunk-66M6QVYR.js";
6
6
 
7
7
  // packages/cli/src/utils/formatError.ts
8
8
  function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
@@ -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
  runExitCleanup
4
- } from "./chunk-P3QKD7NI.js";
4
+ } from "./chunk-V55GCHEQ.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require