@google/gemini-cli 0.43.0-preview.1 → 0.43.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 (67) hide show
  1. package/bundle/{chunk-LTSFEC7U.js → chunk-2PZUIVU3.js} +2 -2
  2. package/bundle/{chunk-EWAAFVBK.js → chunk-4IXP3BQP.js} +1 -1
  3. package/bundle/{chunk-N3MLU4IQ.js → chunk-4N6JQGX6.js} +7 -7
  4. package/bundle/{chunk-6YMGRLOQ.js → chunk-5LLZICYH.js} +1 -1
  5. package/bundle/{chunk-CKPZGEE3.js → chunk-6KWJMH6E.js} +2 -2
  6. package/bundle/{chunk-L4LBKMR6.js → chunk-6LSSATGP.js} +1 -1
  7. package/bundle/{chunk-QAQT56LH.js → chunk-6PXLKFEE.js} +3 -3
  8. package/bundle/{chunk-ICOPZSVB.js → chunk-AR2D7G5V.js} +3 -3
  9. package/bundle/{chunk-3BNJIKEP.js → chunk-DB4PQOJV.js} +2 -2
  10. package/bundle/{chunk-UBCHSKF2.js → chunk-DP6V2BFN.js} +7 -7
  11. package/bundle/{chunk-4ZT3EIBI.js → chunk-KL6UT6F7.js} +1 -1
  12. package/bundle/{chunk-VSTO23O2.js → chunk-KZP4B2KY.js} +1 -1
  13. package/bundle/{chunk-IF5BAOVJ.js → chunk-ORAERZ7C.js} +1 -1
  14. package/bundle/{chunk-NG2WIKH5.js → chunk-QH43L44B.js} +4 -4
  15. package/bundle/{chunk-PLEERNRJ.js → chunk-SP2PGMIB.js} +2 -2
  16. package/bundle/{chunk-DJCG6GWZ.js → chunk-SSOGRVCN.js} +2 -2
  17. package/bundle/{chunk-LTFEPQ67.js → chunk-TK52UAKX.js} +1 -1
  18. package/bundle/{chunk-4G3X2H3F.js → chunk-TUSXQIOT.js} +6 -9
  19. package/bundle/{chunk-MRVZNBXY.js → chunk-U6X4OPT5.js} +4 -4
  20. package/bundle/{chunk-S36EONMM.js → chunk-UH3BLMAQ.js} +1 -1
  21. package/bundle/{chunk-KILFUY3Y.js → chunk-VNPDB5AB.js} +1 -1
  22. package/bundle/{chunk-NDSJWRFE.js → chunk-W2MTI7FK.js} +13059 -6973
  23. package/bundle/{chunk-4SLX6GS6.js → chunk-YS4NB3TW.js} +54 -67
  24. package/bundle/{chunk-CZPVSLJF.js → chunk-ZWSMHWOL.js} +8 -9
  25. package/bundle/{cleanup-NMUMRIEF.js → cleanup-5M6XXPD5.js} +2 -2
  26. package/bundle/{cleanup-LMJA4J5S.js → cleanup-RDTCKYOC.js} +3 -3
  27. package/bundle/{cleanup-BMLCC7SO.js → cleanup-TI2NCMMY.js} +2 -2
  28. package/bundle/{core-WXTAU5UX.js → core-KK5NR7XJ.js} +1 -1
  29. package/bundle/{dist-MXL7ZG46.js → core-PKLJMNGJ.js} +2 -2
  30. package/bundle/{devtoolsService-6THA6GNX.js → devtoolsService-I65SE4OX.js} +2 -2
  31. package/bundle/{devtoolsService-2L5U47ZQ.js → devtoolsService-OFCX6SOA.js} +2 -2
  32. package/bundle/{devtoolsService-J2AC6YXM.js → devtoolsService-WA4GU73C.js} +4 -5
  33. package/bundle/{dist-DIIMIT2U.js → dist-BDJKFMK4.js} +1 -1
  34. package/bundle/{gemini-HYQU2RK2.js → gemini-H266Z57W.js} +188 -202
  35. package/bundle/{gemini-D32FDZXN.js → gemini-PBHAWQU6.js} +14 -14
  36. package/bundle/{gemini-DLZ2R4X7.js → gemini-YQATFAPB.js} +14 -14
  37. package/bundle/gemini.js +7 -7
  38. package/bundle/{interactiveCli-NR7OUF3G.js → interactiveCli-2RXDSQZ7.js} +8 -8
  39. package/bundle/{interactiveCli-K7ETWJMN.js → interactiveCli-MHCNTGQB.js} +296 -315
  40. package/bundle/{interactiveCli-DHMPW4RS.js → interactiveCli-YR3FARLA.js} +8 -8
  41. package/bundle/{liteRtServerManager-PKRLUK2P.js → liteRtServerManager-HTBHSP3E.js} +4 -4
  42. package/bundle/{liteRtServerManager-L7C3D5RL.js → liteRtServerManager-WMZJWUGC.js} +4 -4
  43. package/bundle/{liteRtServerManager-UPCAT7Z2.js → liteRtServerManager-ZU6GBYTQ.js} +5 -5
  44. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  45. package/bundle/{oauth2-provider-52IJKUJI.js → oauth2-provider-7A7OEBRV.js} +1 -1
  46. package/bundle/{oauth2-provider-OPOTTZ5C.js → oauth2-provider-7AMBXQXB.js} +1 -1
  47. package/bundle/{oauth2-provider-WN4YIDA4.js → oauth2-provider-EUHAWOQQ.js} +73 -39
  48. package/bundle/{start-TMFPUYEL.js → start-D7BGLINR.js} +6 -6
  49. package/bundle/{start-6KIIUSAH.js → start-FNWNJC6F.js} +7 -7
  50. package/bundle/{start-7ZNSGJD6.js → start-ZXZSKJFC.js} +6 -6
  51. package/package.json +1 -1
  52. package/bundle/chunk-ERQUIEOO.js +0 -512
  53. package/bundle/chunk-F7PEGIBA.js +0 -156
  54. package/bundle/chunk-UB4AWMZC.js +0 -391
  55. package/bundle/chunk-ULCEBJMK.js +0 -17248
  56. package/bundle/chunk-UUHMEKLA.js +0 -357199
  57. package/bundle/chunk-UW3H4T6A.js +0 -1571
  58. package/bundle/chunk-XKIM3BNI.js +0 -118
  59. package/bundle/chunk-YIHNW7CC.js +0 -81649
  60. package/bundle/cleanup-M7RSLDBR.js +0 -33
  61. package/bundle/devtoolsService-SRWIME2Q.js +0 -857
  62. package/bundle/dist-POIHCQVM.js +0 -2124
  63. package/bundle/gemini-JJG7ZGWB.js +0 -16356
  64. package/bundle/interactiveCli-X4AUP7T7.js +0 -34752
  65. package/bundle/liteRtServerManager-TEBDIGEN.js +0 -66
  66. package/bundle/oauth2-provider-TOAKXOL7.js +0 -237
  67. package/bundle/start-EPIILWLN.js +0 -19
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-4SLX6GS6.js";
158
+ } from "./chunk-4N6JQGX6.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-S36EONMM.js";
164
+ } from "./chunk-TK52UAKX.js";
165
165
  import {
166
166
  ACTIVE_SHELL_MAX_LINES,
167
167
  COMPACT_TOOL_SUBVIEW_MAX_LINES,
@@ -211,24 +211,24 @@ import {
211
211
  stringWidth,
212
212
  stripUnsafeCharacters,
213
213
  toCodePoints
214
- } from "./chunk-4G3X2H3F.js";
214
+ } from "./chunk-4IXP3BQP.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-3BNJIKEP.js";
220
+ } from "./chunk-DB4PQOJV.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-KILFUY3Y.js";
225
+ } from "./chunk-VNPDB5AB.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-F7PEGIBA.js";
231
+ } from "./chunk-5LLZICYH.js";
232
232
  import {
233
233
  ApiKeyUpdatedEvent,
234
234
  AsyncFzf,
@@ -365,7 +365,7 @@ import {
365
365
  validatePlanContent,
366
366
  validatePlanPath,
367
367
  writeToStdout
368
- } from "./chunk-MRVZNBXY.js";
368
+ } from "./chunk-U6X4OPT5.js";
369
369
  import {
370
370
  ACTIVATE_SKILL_TOOL_NAME,
371
371
  AGENT_TOOL_NAME,
@@ -33747,7 +33747,7 @@ ${queuedText}` : queuedText;
33747
33747
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33748
33748
  if (settings.merged.general.devtools) {
33749
33749
  void (async () => {
33750
- const { toggleDevToolsPanel } = await import("./devtoolsService-6THA6GNX.js");
33750
+ const { toggleDevToolsPanel } = await import("./devtoolsService-I65SE4OX.js");
33751
33751
  await toggleDevToolsPanel(
33752
33752
  config,
33753
33753
  showErrorDetails,
@@ -3,9 +3,9 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-EWAAFVBK.js";
7
- import "./chunk-CZPVSLJF.js";
8
- import "./chunk-NDSJWRFE.js";
6
+ } from "./chunk-4IXP3BQP.js";
7
+ import "./chunk-VNPDB5AB.js";
8
+ import "./chunk-U6X4OPT5.js";
9
9
  import {
10
10
  debugLogger
11
11
  } from "./chunk-UJ26GAE5.js";
@@ -42,7 +42,7 @@ var LiteRtServerManager = class {
42
42
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
43
43
  );
44
44
  try {
45
- const { startServer } = await import("./start-6KIIUSAH.js");
45
+ const { startServer } = await import("./start-ZXZSKJFC.js");
46
46
  const started = await startServer(binaryPath, port);
47
47
  if (started) {
48
48
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,9 +3,9 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-IF5BAOVJ.js";
7
- import "./chunk-VSTO23O2.js";
8
- import "./chunk-NG2WIKH5.js";
6
+ } from "./chunk-TUSXQIOT.js";
7
+ import "./chunk-ZWSMHWOL.js";
8
+ import "./chunk-QH43L44B.js";
9
9
  import {
10
10
  debugLogger
11
11
  } from "./chunk-N6QYTC2T.js";
@@ -42,7 +42,7 @@ var LiteRtServerManager = class {
42
42
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
43
43
  );
44
44
  try {
45
- const { startServer } = await import("./start-TMFPUYEL.js");
45
+ const { startServer } = await import("./start-D7BGLINR.js");
46
46
  const started = await startServer(binaryPath, port);
47
47
  if (started) {
48
48
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,12 +3,12 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-ULCEBJMK.js";
7
- import "./chunk-ERQUIEOO.js";
8
- import "./chunk-UUHMEKLA.js";
6
+ } from "./chunk-ORAERZ7C.js";
7
+ import "./chunk-KZP4B2KY.js";
8
+ import "./chunk-W2MTI7FK.js";
9
9
  import {
10
10
  debugLogger
11
- } from "./chunk-UJ26GAE5.js";
11
+ } from "./chunk-N6QYTC2T.js";
12
12
  import "./chunk-664ZODQF.js";
13
13
  import "./chunk-RJTRUG2J.js";
14
14
  import "./chunk-IUUIT4SU.js";
@@ -42,7 +42,7 @@ var LiteRtServerManager = class {
42
42
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
43
43
  );
44
44
  try {
45
- const { startServer } = await import("./start-EPIILWLN.js");
45
+ const { startServer } = await import("./start-FNWNJC6F.js");
46
46
  const started = await startServer(binaryPath, port);
47
47
  if (started) {
48
48
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli-devtools",
3
- "version": "0.43.0-preview.1",
3
+ "version": "0.43.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-UUHMEKLA.js";
14
+ } from "./chunk-U6X4OPT5.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-NG2WIKH5.js";
14
+ } from "./chunk-W2MTI7FK.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,
@@ -11,42 +11,42 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-MRVZNBXY.js";
14
+ } from "./chunk-QH43L44B.js";
15
15
  import {
16
16
  FatalCancellationError,
17
17
  Storage,
18
18
  coreEvents,
19
19
  debugLogger,
20
20
  getErrorMessage
21
- } from "./chunk-UJ26GAE5.js";
21
+ } from "./chunk-N6QYTC2T.js";
22
22
  import "./chunk-664ZODQF.js";
23
23
  import "./chunk-RJTRUG2J.js";
24
24
  import "./chunk-IUUIT4SU.js";
25
25
  import "./chunk-34MYV7JD.js";
26
26
 
27
- // packages/core/dist/src/agents/auth-provider/oauth2-provider.js
27
+ // packages/core/src/agents/auth-provider/oauth2-provider.ts
28
28
  var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
29
- config;
30
- agentName;
31
- agentCardUrl;
32
- type = "oauth2";
33
- tokenStorage;
34
- cachedToken = null;
35
- /** Resolved OAuth URLs — may come from config or agent card. */
36
- authorizationUrl;
37
- tokenUrl;
38
- scopes;
39
29
  constructor(config, agentName, agentCard, agentCardUrl) {
40
30
  super();
41
31
  this.config = config;
42
32
  this.agentName = agentName;
43
33
  this.agentCardUrl = agentCardUrl;
44
- this.tokenStorage = new MCPOAuthTokenStorage(Storage.getA2AOAuthTokensPath(), "gemini-cli-a2a");
34
+ this.tokenStorage = new MCPOAuthTokenStorage(
35
+ Storage.getA2AOAuthTokensPath(),
36
+ "gemini-cli-a2a"
37
+ );
45
38
  this.authorizationUrl = config.authorization_url;
46
39
  this.tokenUrl = config.token_url;
47
40
  this.scopes = config.scopes;
48
41
  this.mergeAgentCardDefaults(agentCard);
49
42
  }
43
+ type = "oauth2";
44
+ tokenStorage;
45
+ cachedToken = null;
46
+ /** Resolved OAuth URLs — may come from config or agent card. */
47
+ authorizationUrl;
48
+ tokenUrl;
49
+ scopes;
50
50
  /**
51
51
  * Initialize the provider by loading any persisted token from storage.
52
52
  * Also discovers OAuth URLs from the agent card if not yet resolved.
@@ -58,7 +58,9 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
58
58
  const credentials = await this.tokenStorage.getCredentials(this.agentName);
59
59
  if (credentials && !this.tokenStorage.isTokenExpired(credentials.token)) {
60
60
  this.cachedToken = credentials.token;
61
- debugLogger.debug(`[OAuth2AuthProvider] Loaded valid cached token for "${this.agentName}"`);
61
+ debugLogger.debug(
62
+ `[OAuth2AuthProvider] Loaded valid cached token for "${this.agentName}"`
63
+ );
62
64
  }
63
65
  }
64
66
  /**
@@ -71,16 +73,25 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
71
73
  }
72
74
  if (this.cachedToken?.refreshToken && this.tokenUrl && this.config.client_id) {
73
75
  try {
74
- const refreshed = await refreshAccessToken({
75
- clientId: this.config.client_id,
76
- clientSecret: this.config.client_secret,
77
- scopes: this.scopes
78
- }, this.cachedToken.refreshToken, this.tokenUrl);
79
- this.cachedToken = this.toOAuthToken(refreshed, this.cachedToken.refreshToken);
76
+ const refreshed = await refreshAccessToken(
77
+ {
78
+ clientId: this.config.client_id,
79
+ clientSecret: this.config.client_secret,
80
+ scopes: this.scopes
81
+ },
82
+ this.cachedToken.refreshToken,
83
+ this.tokenUrl
84
+ );
85
+ this.cachedToken = this.toOAuthToken(
86
+ refreshed,
87
+ this.cachedToken.refreshToken
88
+ );
80
89
  await this.persistToken();
81
90
  return { Authorization: `Bearer ${this.cachedToken.accessToken}` };
82
91
  } catch (error) {
83
- debugLogger.debug(`[OAuth2AuthProvider] Refresh failed, falling back to interactive flow: ${getErrorMessage(error)}`);
92
+ debugLogger.debug(
93
+ `[OAuth2AuthProvider] Refresh failed, falling back to interactive flow: ${getErrorMessage(error)}`
94
+ );
84
95
  await this.tokenStorage.deleteCredentials(this.agentName);
85
96
  }
86
97
  }
@@ -99,7 +110,9 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
99
110
  return void 0;
100
111
  }
101
112
  this.authRetryCount++;
102
- debugLogger.debug("[OAuth2AuthProvider] Auth failure, clearing token and re-authenticating");
113
+ debugLogger.debug(
114
+ "[OAuth2AuthProvider] Auth failure, clearing token and re-authenticating"
115
+ );
103
116
  this.cachedToken = null;
104
117
  await this.tokenStorage.deleteCredentials(this.agentName);
105
118
  return this.headers();
@@ -112,8 +125,7 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
112
125
  * `securitySchemes` when not already provided via user config.
113
126
  */
114
127
  mergeAgentCardDefaults(agentCard) {
115
- if (!agentCard?.securitySchemes)
116
- return;
128
+ if (!agentCard?.securitySchemes) return;
117
129
  for (const scheme of Object.values(agentCard.securitySchemes)) {
118
130
  if (scheme.type === "oauth2" && scheme.flows.authorizationCode) {
119
131
  const flow = scheme.flows.authorizationCode;
@@ -129,15 +141,18 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
129
141
  * (which normalizes proto-format cards) and extract OAuth2 URLs.
130
142
  */
131
143
  async fetchAgentCardDefaults() {
132
- if (!this.agentCardUrl)
133
- return;
144
+ if (!this.agentCardUrl) return;
134
145
  try {
135
- debugLogger.debug(`[OAuth2AuthProvider] Fetching agent card from ${this.agentCardUrl}`);
146
+ debugLogger.debug(
147
+ `[OAuth2AuthProvider] Fetching agent card from ${this.agentCardUrl}`
148
+ );
136
149
  const resolver = new DefaultAgentCardResolver();
137
150
  const card = await resolver.resolve(this.agentCardUrl, "");
138
151
  this.mergeAgentCardDefaults(card);
139
152
  } catch (error) {
140
- debugLogger.warn(`[OAuth2AuthProvider] Could not fetch agent card for OAuth URL discovery: ${getErrorMessage(error)}`);
153
+ debugLogger.warn(
154
+ `[OAuth2AuthProvider] Could not fetch agent card for OAuth URL discovery: ${getErrorMessage(error)}`
155
+ );
141
156
  }
142
157
  }
143
158
  /**
@@ -145,10 +160,14 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
145
160
  */
146
161
  async authenticateInteractively() {
147
162
  if (!this.config.client_id) {
148
- throw new Error(`OAuth2 authentication for agent "${this.agentName}" requires a client_id. Add client_id to the auth config in your agent definition.`);
163
+ throw new Error(
164
+ `OAuth2 authentication for agent "${this.agentName}" requires a client_id. Add client_id to the auth config in your agent definition.`
165
+ );
149
166
  }
150
167
  if (!this.authorizationUrl || !this.tokenUrl) {
151
- throw new Error(`OAuth2 authentication for agent "${this.agentName}" requires authorization_url and token_url. Provide them in the auth config or ensure the agent card exposes an oauth2 security scheme.`);
168
+ throw new Error(
169
+ `OAuth2 authentication for agent "${this.agentName}" requires authorization_url and token_url. Provide them in the auth config or ensure the agent card exposes an oauth2 security scheme.`
170
+ );
152
171
  }
153
172
  const flowConfig = {
154
173
  clientId: this.config.client_id,
@@ -167,25 +186,36 @@ var OAuth2AuthProvider = class extends BaseA2AAuthProvider {
167
186
  redirectPort,
168
187
  /* resource= */
169
188
  void 0
189
+ // No MCP resource parameter for A2A.
190
+ );
191
+ const consent = await getConsentForOauth(
192
+ `Authentication required for A2A agent: '${this.agentName}'.`
170
193
  );
171
- const consent = await getConsentForOauth(`Authentication required for A2A agent: '${this.agentName}'.`);
172
194
  if (!consent) {
173
195
  throw new FatalCancellationError("Authentication cancelled by user.");
174
196
  }
175
- coreEvents.emitFeedback("info", `\u2192 Opening your browser for OAuth sign-in...
197
+ coreEvents.emitFeedback(
198
+ "info",
199
+ `\u2192 Opening your browser for OAuth sign-in...
176
200
 
177
201
  If the browser does not open, copy and paste this URL into your browser:
178
202
  ${authUrl}
179
203
 
180
204
  \u{1F4A1} TIP: Triple-click to select the entire URL, then copy and paste it into your browser.
181
- \u26A0\uFE0F Make sure to copy the COMPLETE URL - it may wrap across multiple lines.`);
205
+ \u26A0\uFE0F Make sure to copy the COMPLETE URL - it may wrap across multiple lines.`
206
+ );
182
207
  try {
183
208
  await openBrowserSecurely(authUrl);
184
209
  } catch (error) {
185
- debugLogger.warn("Failed to open browser automatically:", getErrorMessage(error));
210
+ debugLogger.warn(
211
+ "Failed to open browser automatically:",
212
+ getErrorMessage(error)
213
+ );
186
214
  }
187
215
  const { code } = await callbackServer.response;
188
- debugLogger.debug("\u2713 Authorization code received, exchanging for tokens...");
216
+ debugLogger.debug(
217
+ "\u2713 Authorization code received, exchanging for tokens..."
218
+ );
189
219
  const tokenResponse = await exchangeCodeForToken(
190
220
  flowConfig,
191
221
  code,
@@ -222,9 +252,13 @@ ${authUrl}
222
252
  * Persist the current cached token to disk.
223
253
  */
224
254
  async persistToken() {
225
- if (!this.cachedToken)
226
- return;
227
- await this.tokenStorage.saveToken(this.agentName, this.cachedToken, this.config.client_id, this.tokenUrl);
255
+ if (!this.cachedToken) return;
256
+ await this.tokenStorage.saveToken(
257
+ this.agentName,
258
+ this.cachedToken,
259
+ this.config.client_id,
260
+ this.tokenUrl
261
+ );
228
262
  }
229
263
  };
230
264
  export {
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-LTSFEC7U.js";
6
- import "./chunk-UW3H4T6A.js";
7
- import "./chunk-IF5BAOVJ.js";
8
- import "./chunk-VSTO23O2.js";
9
- import "./chunk-4ZT3EIBI.js";
10
- import "./chunk-NG2WIKH5.js";
5
+ } from "./chunk-AR2D7G5V.js";
6
+ import "./chunk-6LSSATGP.js";
7
+ import "./chunk-TUSXQIOT.js";
8
+ import "./chunk-ZWSMHWOL.js";
9
+ import "./chunk-SP2PGMIB.js";
10
+ import "./chunk-QH43L44B.js";
11
11
  import "./chunk-N6QYTC2T.js";
12
12
  import "./chunk-664ZODQF.js";
13
13
  import "./chunk-RJTRUG2J.js";
@@ -2,13 +2,13 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-ICOPZSVB.js";
6
- import "./chunk-LTFEPQ67.js";
7
- import "./chunk-EWAAFVBK.js";
8
- import "./chunk-CZPVSLJF.js";
9
- import "./chunk-6YMGRLOQ.js";
10
- import "./chunk-NDSJWRFE.js";
11
- import "./chunk-UJ26GAE5.js";
5
+ } from "./chunk-2PZUIVU3.js";
6
+ import "./chunk-UH3BLMAQ.js";
7
+ import "./chunk-ORAERZ7C.js";
8
+ import "./chunk-KZP4B2KY.js";
9
+ import "./chunk-KL6UT6F7.js";
10
+ import "./chunk-W2MTI7FK.js";
11
+ import "./chunk-N6QYTC2T.js";
12
12
  import "./chunk-664ZODQF.js";
13
13
  import "./chunk-RJTRUG2J.js";
14
14
  import "./chunk-IUUIT4SU.js";
@@ -2,12 +2,12 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-XKIM3BNI.js";
6
- import "./chunk-S36EONMM.js";
7
- import "./chunk-4G3X2H3F.js";
8
- import "./chunk-KILFUY3Y.js";
9
- import "./chunk-F7PEGIBA.js";
10
- import "./chunk-MRVZNBXY.js";
5
+ } from "./chunk-SSOGRVCN.js";
6
+ import "./chunk-TK52UAKX.js";
7
+ import "./chunk-4IXP3BQP.js";
8
+ import "./chunk-VNPDB5AB.js";
9
+ import "./chunk-5LLZICYH.js";
10
+ import "./chunk-U6X4OPT5.js";
11
11
  import "./chunk-UJ26GAE5.js";
12
12
  import "./chunk-664ZODQF.js";
13
13
  import "./chunk-RJTRUG2J.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli",
3
- "version": "0.43.0-preview.1",
3
+ "version": "0.43.0",
4
4
  "description": "Gemini CLI",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {