@google/gemini-cli 0.44.0-preview.0 → 0.44.1

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 (50) hide show
  1. package/bundle/{chunk-326EQBHD.js → chunk-2QZ242SB.js} +2 -2
  2. package/bundle/{chunk-5ZIBLDCH.js → chunk-2RNN5IKN.js} +3 -3
  3. package/bundle/{chunk-FMXQEGXS.js → chunk-2TRS2XSC.js} +3 -3
  4. package/bundle/{chunk-MOUIYFJM.js → chunk-3MKV3WXO.js} +1 -1
  5. package/bundle/{chunk-OPDDZBB4.js → chunk-3QYYWWO5.js} +1 -1
  6. package/bundle/{chunk-SOE6HEQO.js → chunk-BY6KPC2S.js} +1 -1
  7. package/bundle/{chunk-HGXHITPW.js → chunk-EUUJXMAC.js} +1 -1
  8. package/bundle/{chunk-N5CF2V5P.js → chunk-GPVT36PL.js} +24 -13
  9. package/bundle/{chunk-VZ57CYFV.js → chunk-HJDQM7MS.js} +1 -1
  10. package/bundle/{chunk-PRNMRRLP.js → chunk-IUO2O72J.js} +1 -1
  11. package/bundle/{chunk-3MOAHK6M.js → chunk-JKG5PX7B.js} +3 -3
  12. package/bundle/{chunk-3EGGYEV5.js → chunk-K5HPOYC6.js} +7 -7
  13. package/bundle/{chunk-QUZV6LL5.js → chunk-KRMH5TSN.js} +1 -1
  14. package/bundle/{chunk-7UPUO4TX.js → chunk-LNSIEPG7.js} +26 -15
  15. package/bundle/{chunk-WJAEQDHM.js → chunk-PKWCD3JS.js} +7 -7
  16. package/bundle/{chunk-7FKLIOGC.js → chunk-QTEJYYEH.js} +1 -1
  17. package/bundle/{chunk-VB5GYLWM.js → chunk-S3UHTY2C.js} +1 -1
  18. package/bundle/{chunk-REV6YVPY.js → chunk-U3V2VC62.js} +2 -2
  19. package/bundle/{chunk-TAVL6PEW.js → chunk-V7PCIB4A.js} +1 -1
  20. package/bundle/{chunk-C6WVG2C3.js → chunk-VSBNCAAC.js} +26 -15
  21. package/bundle/{chunk-5ITV5DGV.js → chunk-ZKJDZRMZ.js} +1 -1
  22. package/bundle/{chunk-PZOZ3DIK.js → chunk-ZLOFKU7W.js} +2 -2
  23. package/bundle/{chunk-YDPMTI65.js → chunk-ZPHTHFVE.js} +7 -7
  24. package/bundle/{chunk-PRZYSUAU.js → chunk-ZXQMCRVW.js} +1 -1
  25. package/bundle/{cleanup-JBQ3DLIN.js → cleanup-5DBPEREC.js} +2 -2
  26. package/bundle/{cleanup-O2QAMCN2.js → cleanup-DJDHTJB4.js} +2 -2
  27. package/bundle/{cleanup-TSIQHDON.js → cleanup-OYQSHPZH.js} +2 -2
  28. package/bundle/{core-SEG4OLOR.js → core-A5XN7776.js} +1 -1
  29. package/bundle/{dist-33S367AM.js → core-O4KXDBKE.js} +1 -1
  30. package/bundle/{devtoolsService-PEGVFKHE.js → devtoolsService-2ELMEQLC.js} +2 -2
  31. package/bundle/{devtoolsService-GKQ263SX.js → devtoolsService-6QRZESX7.js} +2 -2
  32. package/bundle/{devtoolsService-QUX64EUC.js → devtoolsService-QMCCK7UI.js} +2 -2
  33. package/bundle/{core-RZI66LNV.js → dist-O7MW3RFF.js} +1 -1
  34. package/bundle/{gemini-HHTSU5JU.js → gemini-T3PINYWC.js} +14 -14
  35. package/bundle/{gemini-4N5BY6QZ.js → gemini-TB5QEKF7.js} +14 -14
  36. package/bundle/{gemini-DZXY3UC7.js → gemini-W3EZ4GOJ.js} +14 -14
  37. package/bundle/gemini.js +15 -9
  38. package/bundle/{interactiveCli-FIUB75B4.js → interactiveCli-NG4Y5IQE.js} +8 -8
  39. package/bundle/{interactiveCli-KCIN3SOY.js → interactiveCli-ULALGL4L.js} +8 -8
  40. package/bundle/{interactiveCli-BTR5T5E7.js → interactiveCli-ZTR75T4Y.js} +8 -8
  41. package/bundle/{liteRtServerManager-P6KAN5EE.js → liteRtServerManager-C4ADM3L2.js} +4 -4
  42. package/bundle/{liteRtServerManager-TFUIJXZG.js → liteRtServerManager-EW2BZHFH.js} +4 -4
  43. package/bundle/{liteRtServerManager-B76LJCU7.js → liteRtServerManager-GBVZZNDW.js} +4 -4
  44. package/bundle/{oauth2-provider-HKTSZFBG.js → oauth2-provider-53ZQYE4U.js} +1 -1
  45. package/bundle/{oauth2-provider-PUCSDVEL.js → oauth2-provider-IPRY6CGP.js} +1 -1
  46. package/bundle/{oauth2-provider-H3V6ETQ6.js → oauth2-provider-LYFWYHCI.js} +1 -1
  47. package/bundle/{start-GQ3FFR6Q.js → start-4ZVBGDBV.js} +6 -6
  48. package/bundle/{start-WGRFGZ3Z.js → start-GNXX372W.js} +6 -6
  49. package/bundle/{start-7YP2QQYY.js → start-J42YAGIH.js} +6 -6
  50. 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-QUZV6LL5.js";
4
+ } from "./chunk-V7PCIB4A.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-C6WVG2C3.js";
10
+ } from "./chunk-VSBNCAAC.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
  exitCli,
4
4
  require_source
5
- } from "./chunk-VB5GYLWM.js";
5
+ } from "./chunk-S3UHTY2C.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-OPDDZBB4.js";
17
+ } from "./chunk-HJDQM7MS.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-N5CF2V5P.js";
20
+ } from "./chunk-LNSIEPG7.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
  exitCli,
4
4
  require_source
5
- } from "./chunk-5ITV5DGV.js";
5
+ } from "./chunk-ZKJDZRMZ.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-VZ57CYFV.js";
17
+ } from "./chunk-3QYYWWO5.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-C6WVG2C3.js";
20
+ } from "./chunk-GPVT36PL.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -29,7 +29,7 @@ import {
29
29
  require_strip_json_comments,
30
30
  sanitizeFilenamePart,
31
31
  stripAnsi
32
- } from "./chunk-7UPUO4TX.js";
32
+ } from "./chunk-VSBNCAAC.js";
33
33
  import {
34
34
  __commonJS,
35
35
  __require,
@@ -32,7 +32,7 @@ import {
32
32
  require_strip_json_comments,
33
33
  sanitizeFilenamePart,
34
34
  stripAnsi
35
- } from "./chunk-N5CF2V5P.js";
35
+ } from "./chunk-GPVT36PL.js";
36
36
  import {
37
37
  __commonJS,
38
38
  __require,
@@ -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-7UPUO4TX.js";
4
+ } from "./chunk-LNSIEPG7.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __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-TAVL6PEW.js";
4
+ } from "./chunk-V7PCIB4A.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -279292,8 +279292,8 @@ function isValidToolName(name3, options = {}) {
279292
279292
  }
279293
279293
 
279294
279294
  // packages/core/dist/src/generated/git-commit.js
279295
- var GIT_COMMIT_INFO = "854f811be";
279296
- var CLI_VERSION = "0.44.0-preview.0";
279295
+ var GIT_COMMIT_INFO = "73421e3b6";
279296
+ var CLI_VERSION = "0.44.1";
279297
279297
 
279298
279298
  // packages/core/dist/src/ide/detect-ide.js
279299
279299
  var IDE_DEFINITIONS = {
@@ -303458,7 +303458,7 @@ function getVersion() {
303458
303458
  }
303459
303459
  versionPromise = (async () => {
303460
303460
  const pkgJson = await getPackageJson(__dirname4);
303461
- return "0.44.0-preview.0";
303461
+ return "0.44.1";
303462
303462
  })();
303463
303463
  return versionPromise;
303464
303464
  }
@@ -320257,20 +320257,31 @@ ${truncated}`;
320257
320257
  return;
320258
320258
  }
320259
320259
  const activePty = this.activePtys.get(pid);
320260
- if (activePty) {
320260
+ if (!activePty) {
320261
+ return;
320262
+ }
320263
+ if (process.platform !== "win32") {
320261
320264
  try {
320262
- activePty.ptyProcess.resize(cols, rows);
320263
- activePty.headlessTerminal.resize(cols, rows);
320265
+ process.kill(pid, 0);
320264
320266
  } catch (e2) {
320265
- const err2 = e2;
320266
- const isEsrch = err2.code === "ESRCH";
320267
- const isWindowsPtyError = err2.message?.includes("Cannot resize a pty that has already exited");
320268
- if (isEsrch || isWindowsPtyError) {
320269
- } else {
320270
- throw e2;
320267
+ if (isNodeError(e2) && e2.code === "ESRCH") {
320268
+ return;
320271
320269
  }
320272
320270
  }
320273
320271
  }
320272
+ try {
320273
+ activePty.ptyProcess.resize(cols, rows);
320274
+ activePty.headlessTerminal.resize(cols, rows);
320275
+ } catch (e2) {
320276
+ const err2 = e2;
320277
+ const isEsrch = err2.code === "ESRCH";
320278
+ const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
320279
+ const isWindowsPtyError = err2.message?.includes("Cannot resize a pty that has already exited");
320280
+ if (isEsrch || isEbadf || isWindowsPtyError) {
320281
+ } else {
320282
+ throw e2;
320283
+ }
320284
+ }
320274
320285
  if (activePty) {
320275
320286
  const endLine = activePty.headlessTerminal.buffer.active.length;
320276
320287
  const startLine = Math.max(0, endLine - (activePty.maxSerializedLines ?? 2e3));
@@ -335793,7 +335804,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
335793
335804
  return provider;
335794
335805
  }
335795
335806
  case "oauth2": {
335796
- const { OAuth2AuthProvider } = await import("./oauth2-provider-H3V6ETQ6.js");
335807
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-LYFWYHCI.js");
335797
335808
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
335798
335809
  await provider.initialize();
335799
335810
  return provider;
@@ -29,7 +29,7 @@ import {
29
29
  require_strip_json_comments,
30
30
  sanitizeFilenamePart,
31
31
  stripAnsi
32
- } from "./chunk-C6WVG2C3.js";
32
+ } from "./chunk-LNSIEPG7.js";
33
33
  import {
34
34
  __commonJS,
35
35
  __require,
@@ -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-C6WVG2C3.js";
4
+ } from "./chunk-VSBNCAAC.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __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-HGXHITPW.js";
5
+ } from "./chunk-EUUJXMAC.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-MOUIYFJM.js";
17
+ } from "./chunk-3MKV3WXO.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-7UPUO4TX.js";
20
+ } from "./chunk-VSBNCAAC.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-5ITV5DGV.js";
9
+ } from "./chunk-EUUJXMAC.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-VZ57CYFV.js";
61
+ } from "./chunk-3MKV3WXO.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-326EQBHD.js";
64
+ } from "./chunk-2QZ242SB.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-PRNMRRLP.js";
68
+ } from "./chunk-IUO2O72J.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-C6WVG2C3.js";
233
+ } from "./chunk-VSBNCAAC.js";
234
234
  import {
235
235
  require_src
236
236
  } from "./chunk-TUDYL3X4.js";
@@ -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 = "854f811be";
56504
+ var GIT_COMMIT_INFO = "73421e3b6";
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-SEG4OLOR.js");
62265
+ const { MCPOAuthProvider } = await import("./core-A5XN7776.js");
62266
62266
  let oauthConfig = server.oauth;
62267
62267
  if (!oauthConfig) {
62268
62268
  oauthConfig = { enabled: false };
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-C6WVG2C3.js";
8
+ } from "./chunk-LNSIEPG7.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -279549,8 +279549,8 @@ function isValidToolName(name3, options = {}) {
279549
279549
  }
279550
279550
 
279551
279551
  // packages/core/src/generated/git-commit.ts
279552
- var GIT_COMMIT_INFO = "854f811be";
279553
- var CLI_VERSION = "0.44.0-preview.0";
279552
+ var GIT_COMMIT_INFO = "73421e3b6";
279553
+ var CLI_VERSION = "0.44.1";
279554
279554
 
279555
279555
  // packages/core/src/ide/detect-ide.ts
279556
279556
  var IDE_DEFINITIONS = {
@@ -304019,7 +304019,7 @@ function getVersion() {
304019
304019
  }
304020
304020
  versionPromise = (async () => {
304021
304021
  const pkgJson = await getPackageJson(__dirname4);
304022
- return "0.44.0-preview.0";
304022
+ return "0.44.1";
304023
304023
  })();
304024
304024
  return versionPromise;
304025
304025
  }
@@ -322173,22 +322173,33 @@ ${truncated}`;
322173
322173
  return;
322174
322174
  }
322175
322175
  const activePty = this.activePtys.get(pid);
322176
- if (activePty) {
322176
+ if (!activePty) {
322177
+ return;
322178
+ }
322179
+ if (process.platform !== "win32") {
322177
322180
  try {
322178
- activePty.ptyProcess.resize(cols, rows);
322179
- activePty.headlessTerminal.resize(cols, rows);
322181
+ process.kill(pid, 0);
322180
322182
  } catch (e2) {
322181
- const err2 = e2;
322182
- const isEsrch = err2.code === "ESRCH";
322183
- const isWindowsPtyError = err2.message?.includes(
322184
- "Cannot resize a pty that has already exited"
322185
- );
322186
- if (isEsrch || isWindowsPtyError) {
322187
- } else {
322188
- throw e2;
322183
+ if (isNodeError(e2) && e2.code === "ESRCH") {
322184
+ return;
322189
322185
  }
322190
322186
  }
322191
322187
  }
322188
+ try {
322189
+ activePty.ptyProcess.resize(cols, rows);
322190
+ activePty.headlessTerminal.resize(cols, rows);
322191
+ } catch (e2) {
322192
+ const err2 = e2;
322193
+ const isEsrch = err2.code === "ESRCH";
322194
+ const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
322195
+ const isWindowsPtyError = err2.message?.includes(
322196
+ "Cannot resize a pty that has already exited"
322197
+ );
322198
+ if (isEsrch || isEbadf || isWindowsPtyError) {
322199
+ } else {
322200
+ throw e2;
322201
+ }
322202
+ }
322192
322203
  if (activePty) {
322193
322204
  const endLine = activePty.headlessTerminal.buffer.active.length;
322194
322205
  const startLine = Math.max(
@@ -338358,7 +338369,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
338358
338369
  return provider;
338359
338370
  }
338360
338371
  case "oauth2": {
338361
- const { OAuth2AuthProvider } = await import("./oauth2-provider-HKTSZFBG.js");
338372
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-IPRY6CGP.js");
338362
338373
  const provider = new OAuth2AuthProvider(
338363
338374
  authConfig,
338364
338375
  options.agentName ?? "unknown",
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-VB5GYLWM.js";
9
+ } from "./chunk-ZKJDZRMZ.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-OPDDZBB4.js";
61
+ } from "./chunk-3QYYWWO5.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-PZOZ3DIK.js";
64
+ } from "./chunk-U3V2VC62.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-7FKLIOGC.js";
68
+ } from "./chunk-QTEJYYEH.js";
69
69
  import {
70
70
  ALL_EDITORS,
71
71
  ApprovalMode,
@@ -243,7 +243,7 @@ import {
243
243
  tokenLimit,
244
244
  uiTelemetryService,
245
245
  unescapePath
246
- } from "./chunk-N5CF2V5P.js";
246
+ } from "./chunk-GPVT36PL.js";
247
247
  import {
248
248
  require_src
249
249
  } from "./chunk-TUDYL3X4.js";
@@ -56514,7 +56514,7 @@ var authCommand = {
56514
56514
  import process28 from "node:process";
56515
56515
 
56516
56516
  // packages/cli/src/generated/git-commit.ts
56517
- var GIT_COMMIT_INFO = "b82ca5f8d";
56517
+ var GIT_COMMIT_INFO = "b9b7416f8";
56518
56518
 
56519
56519
  // packages/cli/src/ui/utils/historyExportUtils.ts
56520
56520
  import * as fsPromises from "node:fs/promises";
@@ -62275,7 +62275,7 @@ Use /mcp auth <server-name> to authenticate.`
62275
62275
  type: "info",
62276
62276
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
62277
62277
  });
62278
- const { MCPOAuthProvider } = await import("./dist-33S367AM.js");
62278
+ const { MCPOAuthProvider } = await import("./dist-O7MW3RFF.js");
62279
62279
  let oauthConfig = server.oauth;
62280
62280
  if (!oauthConfig) {
62281
62281
  oauthConfig = { enabled: false };
@@ -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-N5CF2V5P.js";
5
+ } from "./chunk-GPVT36PL.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-PRZYSUAU.js";
4
+ } from "./chunk-KRMH5TSN.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -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-TAVL6PEW.js";
4
+ } from "./chunk-ZXQMCRVW.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-7UPUO4TX.js";
10
+ } from "./chunk-GPVT36PL.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-7UPUO4TX.js";
8
+ } from "./chunk-VSBNCAAC.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -279549,8 +279549,8 @@ function isValidToolName(name3, options = {}) {
279549
279549
  }
279550
279550
 
279551
279551
  // packages/core/src/generated/git-commit.ts
279552
- var GIT_COMMIT_INFO = "854f811be";
279553
- var CLI_VERSION = "0.44.0-nightly.20260521.g57c42a5c4";
279552
+ var GIT_COMMIT_INFO = "73421e3b6";
279553
+ var CLI_VERSION = "0.44.0";
279554
279554
 
279555
279555
  // packages/core/src/ide/detect-ide.ts
279556
279556
  var IDE_DEFINITIONS = {
@@ -304019,7 +304019,7 @@ function getVersion() {
304019
304019
  }
304020
304020
  versionPromise = (async () => {
304021
304021
  const pkgJson = await getPackageJson(__dirname4);
304022
- return "0.44.0-nightly.20260521.g57c42a5c4";
304022
+ return "0.44.0";
304023
304023
  })();
304024
304024
  return versionPromise;
304025
304025
  }
@@ -322173,22 +322173,33 @@ ${truncated}`;
322173
322173
  return;
322174
322174
  }
322175
322175
  const activePty = this.activePtys.get(pid);
322176
- if (activePty) {
322176
+ if (!activePty) {
322177
+ return;
322178
+ }
322179
+ if (process.platform !== "win32") {
322177
322180
  try {
322178
- activePty.ptyProcess.resize(cols, rows);
322179
- activePty.headlessTerminal.resize(cols, rows);
322181
+ process.kill(pid, 0);
322180
322182
  } catch (e2) {
322181
- const err2 = e2;
322182
- const isEsrch = err2.code === "ESRCH";
322183
- const isWindowsPtyError = err2.message?.includes(
322184
- "Cannot resize a pty that has already exited"
322185
- );
322186
- if (isEsrch || isWindowsPtyError) {
322187
- } else {
322188
- throw e2;
322183
+ if (isNodeError(e2) && e2.code === "ESRCH") {
322184
+ return;
322189
322185
  }
322190
322186
  }
322191
322187
  }
322188
+ try {
322189
+ activePty.ptyProcess.resize(cols, rows);
322190
+ activePty.headlessTerminal.resize(cols, rows);
322191
+ } catch (e2) {
322192
+ const err2 = e2;
322193
+ const isEsrch = err2.code === "ESRCH";
322194
+ const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
322195
+ const isWindowsPtyError = err2.message?.includes(
322196
+ "Cannot resize a pty that has already exited"
322197
+ );
322198
+ if (isEsrch || isEbadf || isWindowsPtyError) {
322199
+ } else {
322200
+ throw e2;
322201
+ }
322202
+ }
322192
322203
  if (activePty) {
322193
322204
  const endLine = activePty.headlessTerminal.buffer.active.length;
322194
322205
  const startLine = Math.max(
@@ -338358,7 +338369,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
338358
338369
  return provider;
338359
338370
  }
338360
338371
  case "oauth2": {
338361
- const { OAuth2AuthProvider } = await import("./oauth2-provider-PUCSDVEL.js");
338372
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-53ZQYE4U.js");
338362
338373
  const provider = new OAuth2AuthProvider(
338363
338374
  authConfig,
338364
338375
  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
  runExitCleanup
4
- } from "./chunk-QUZV6LL5.js";
4
+ } from "./chunk-ZXQMCRVW.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -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-PRZYSUAU.js";
4
+ } from "./chunk-KRMH5TSN.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-N5CF2V5P.js";
10
+ } from "./chunk-LNSIEPG7.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  exitCli,
8
8
  require_source
9
- } from "./chunk-HGXHITPW.js";
9
+ } from "./chunk-S3UHTY2C.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-MOUIYFJM.js";
61
+ } from "./chunk-HJDQM7MS.js";
62
62
  import {
63
63
  isDevelopment
64
- } from "./chunk-REV6YVPY.js";
64
+ } from "./chunk-ZLOFKU7W.js";
65
65
  import {
66
66
  emptyIcon,
67
67
  require_react
68
- } from "./chunk-SOE6HEQO.js";
68
+ } from "./chunk-BY6KPC2S.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-7UPUO4TX.js";
233
+ } from "./chunk-LNSIEPG7.js";
234
234
  import {
235
235
  require_src
236
236
  } from "./chunk-TUDYL3X4.js";
@@ -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 = "854f811be";
56504
+ var GIT_COMMIT_INFO = "73421e3b6";
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-RZI66LNV.js");
62265
+ const { MCPOAuthProvider } = await import("./core-O4KXDBKE.js");
62266
62266
  let oauthConfig = server.oauth;
62267
62267
  if (!oauthConfig) {
62268
62268
  oauthConfig = { enabled: false };
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-N5CF2V5P.js";
8
+ } from "./chunk-GPVT36PL.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-QUZV6LL5.js";
15
- import "./chunk-C6WVG2C3.js";
14
+ } from "./chunk-ZXQMCRVW.js";
15
+ import "./chunk-GPVT36PL.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-TAVL6PEW.js";
15
- import "./chunk-7UPUO4TX.js";
14
+ } from "./chunk-V7PCIB4A.js";
15
+ import "./chunk-VSBNCAAC.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-PRZYSUAU.js";
15
- import "./chunk-N5CF2V5P.js";
14
+ } from "./chunk-KRMH5TSN.js";
15
+ import "./chunk-LNSIEPG7.js";
16
16
  import "./chunk-6HI7VNOG.js";
17
17
  import "./chunk-TUDYL3X4.js";
18
18
  import "./chunk-IUUIT4SU.js";
@@ -1062,7 +1062,7 @@ import {
1062
1062
  wrapInAccountChooser,
1063
1063
  writeToStderr,
1064
1064
  writeToStdout
1065
- } from "./chunk-C6WVG2C3.js";
1065
+ } from "./chunk-VSBNCAAC.js";
1066
1066
  import "./chunk-6HI7VNOG.js";
1067
1067
  import "./chunk-TUDYL3X4.js";
1068
1068
  import {