@google/gemini-cli 0.41.0-preview.0 → 0.42.0-nightly.20260429.g6d9911393

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 (68) hide show
  1. package/bundle/{chunk-HR7I3HEY.js → chunk-2FEYYQOR.js} +1 -494
  2. package/bundle/{chunk-PXLG652S.js → chunk-2VEDGWEV.js} +47 -17
  3. package/bundle/chunk-3ZEJZ42A.js +391 -0
  4. package/bundle/{chunk-NQUBPNAU.js → chunk-4DSOCVKN.js} +519 -832
  5. package/bundle/{chunk-WYBLOXVK.js → chunk-4QU5VVYA.js} +1 -494
  6. package/bundle/{chunk-WSDOIL74.js → chunk-5SNJ4WWX.js} +47 -17
  7. package/bundle/chunk-CFWWCGKM.js +391 -0
  8. package/bundle/{chunk-MJJLAQ6U.js → chunk-E3GOX3L3.js} +1 -1
  9. package/bundle/{chunk-FZCJQ7YB.js → chunk-ETWPITXR.js} +519 -832
  10. package/bundle/{chunk-3ANRVMZF.js → chunk-EUWKZUEF.js} +2 -2
  11. package/bundle/{chunk-42DYHGPE.js → chunk-FFJA46BM.js} +1 -1
  12. package/bundle/{chunk-X2LHBPEJ.js → chunk-JP4LWQWK.js} +7 -498
  13. package/bundle/{chunk-WROAWEH3.js → chunk-LFP27PAI.js} +6698 -12435
  14. package/bundle/{chunk-BKZ2ONXI.js → chunk-LJIBOTNE.js} +1 -1
  15. package/bundle/chunk-LWNERT6A.js +1571 -0
  16. package/bundle/{chunk-IEYJEBJX.js → chunk-NQTS7X3Q.js} +580 -880
  17. package/bundle/chunk-ODHSAMRC.js +354491 -0
  18. package/bundle/{chunk-YBG43HPA.js → chunk-OUFHC4F5.js} +1 -1
  19. package/bundle/{chunk-EOA2HX63.js → chunk-PBMP7SA7.js} +2 -2
  20. package/bundle/chunk-RJWKPDP6.js +512 -0
  21. package/bundle/chunk-RSSX52UO.js +391 -0
  22. package/bundle/{chunk-JC6VKC3C.js → chunk-SCDMQZDV.js} +1 -1
  23. package/bundle/chunk-TDHH6AW3.js +391 -0
  24. package/bundle/chunk-TMWLK4QH.js +512 -0
  25. package/bundle/chunk-TZW22PFB.js +512 -0
  26. package/bundle/chunk-U3EXNAPV.js +79721 -0
  27. package/bundle/{chunk-LAT5YFL4.js → chunk-VHNDMFWV.js} +2 -2
  28. package/bundle/chunk-VRJ7KD5M.js +511 -0
  29. package/bundle/{chunk-MVAX27IS.js → chunk-WKISUTCN.js} +3 -3
  30. package/bundle/chunk-XUP7BTFM.js +17163 -0
  31. package/bundle/chunk-Y62F3YEO.js +118 -0
  32. package/bundle/chunk-ZPIYMKRX.js +156 -0
  33. package/bundle/{cleanup-KLFDN77S.js → cleanup-APQ7XXAP.js} +2 -2
  34. package/bundle/{cleanup-UES5UWIG.js → cleanup-GGP37VRZ.js} +2 -2
  35. package/bundle/{cleanup-Z4RYESBA.js → cleanup-HJRC5CO7.js} +3 -3
  36. package/bundle/cleanup-IM5K3MUL.js +33 -0
  37. package/bundle/{core-Q32MZ3QF.js → core-W6GWZMVT.js} +5 -1
  38. package/bundle/{devtoolsService-ZDMUH5GA.js → devtoolsService-66P55VS5.js} +2 -2
  39. package/bundle/{devtoolsService-N3SEUDJ7.js → devtoolsService-FTB6FCCP.js} +5 -4
  40. package/bundle/{devtoolsService-P5BXPJX5.js → devtoolsService-PQOVCL26.js} +2 -2
  41. package/bundle/devtoolsService-QP32Y534.js +857 -0
  42. package/bundle/{dist-UL5N47TA.js → dist-242TOFXK.js} +5 -1
  43. package/bundle/{core-3W43VO4W.js → dist-7EIDUGF7.js} +6 -2
  44. package/bundle/dist-N2AXH337.js +2072 -0
  45. package/bundle/docs/cli/plan-mode.md +2 -1
  46. package/bundle/{gemini-PL45Y473.js → gemini-5AIZRONJ.js} +16 -13
  47. package/bundle/{gemini-K6LJN552.js → gemini-PSDEYNVI.js} +195 -176
  48. package/bundle/{gemini-DGVTFOIS.js → gemini-PSFG7FRR.js} +16 -13
  49. package/bundle/gemini-UIU4XBN7.js +15991 -0
  50. package/bundle/gemini.js +19 -12
  51. package/bundle/{interactiveCli-O7Y36MPM.js → interactiveCli-7XE6DHIE.js} +28 -14
  52. package/bundle/{interactiveCli-JL5IXH2I.js → interactiveCli-CX6D6IH6.js} +312 -280
  53. package/bundle/{interactiveCli-ZJGQKU2Z.js → interactiveCli-RJ4WMXAG.js} +28 -14
  54. package/bundle/interactiveCli-RL2AAYKO.js +35066 -0
  55. package/bundle/{liteRtServerManager-QGTT3QOY.js → liteRtServerManager-CKP7FS3X.js} +4 -3
  56. package/bundle/{liteRtServerManager-2LAXDWUG.js → liteRtServerManager-DA7SBGRQ.js} +5 -4
  57. package/bundle/{liteRtServerManager-YCLQ2VZR.js → liteRtServerManager-HMIZTQBL.js} +4 -3
  58. package/bundle/liteRtServerManager-URYQHL45.js +66 -0
  59. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  60. package/bundle/{oauth2-provider-ZUEDS4RO.js → oauth2-provider-7RFYAEXX.js} +1 -1
  61. package/bundle/{oauth2-provider-RR3PO6KR.js → oauth2-provider-OCQX3DZ7.js} +39 -73
  62. package/bundle/{oauth2-provider-Q5QVFX4W.js → oauth2-provider-PXDFEHJI.js} +1 -1
  63. package/bundle/oauth2-provider-VD7EPGQN.js +237 -0
  64. package/bundle/{start-V4W5V2EL.js → start-2HPHEBQ7.js} +6 -5
  65. package/bundle/{start-P6O7G2IY.js → start-AASZTA3M.js} +6 -5
  66. package/bundle/{start-6ZXD64J4.js → start-KMXRPKZZ.js} +7 -6
  67. package/bundle/start-UCOV554B.js +19 -0
  68. package/package.json +1 -1
@@ -21,7 +21,7 @@ import {
21
21
  require_strip_json_comments,
22
22
  sanitizeFilenamePart,
23
23
  stripAnsi
24
- } from "./chunk-WSDOIL74.js";
24
+ } from "./chunk-LFP27PAI.js";
25
25
  import {
26
26
  CoreEvent,
27
27
  FatalConfigError,
@@ -39,459 +39,6 @@ import {
39
39
  __toESM
40
40
  } from "./chunk-34MYV7JD.js";
41
41
 
42
- // node_modules/react/cjs/react.production.js
43
- var require_react_production = __commonJS({
44
- "node_modules/react/cjs/react.production.js"(exports) {
45
- "use strict";
46
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
47
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
48
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
49
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
50
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
51
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
52
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
53
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
54
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
55
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
56
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
57
- var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
58
- var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
59
- function getIteratorFn(maybeIterable) {
60
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
61
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
62
- return "function" === typeof maybeIterable ? maybeIterable : null;
63
- }
64
- var ReactNoopUpdateQueue = {
65
- isMounted: function() {
66
- return false;
67
- },
68
- enqueueForceUpdate: function() {
69
- },
70
- enqueueReplaceState: function() {
71
- },
72
- enqueueSetState: function() {
73
- }
74
- };
75
- var assign = Object.assign;
76
- var emptyObject = {};
77
- function Component(props, context, updater) {
78
- this.props = props;
79
- this.context = context;
80
- this.refs = emptyObject;
81
- this.updater = updater || ReactNoopUpdateQueue;
82
- }
83
- Component.prototype.isReactComponent = {};
84
- Component.prototype.setState = function(partialState, callback) {
85
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
86
- throw Error(
87
- "takes an object of state variables to update or a function which returns an object of state variables."
88
- );
89
- this.updater.enqueueSetState(this, partialState, callback, "setState");
90
- };
91
- Component.prototype.forceUpdate = function(callback) {
92
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
93
- };
94
- function ComponentDummy() {
95
- }
96
- ComponentDummy.prototype = Component.prototype;
97
- function PureComponent(props, context, updater) {
98
- this.props = props;
99
- this.context = context;
100
- this.refs = emptyObject;
101
- this.updater = updater || ReactNoopUpdateQueue;
102
- }
103
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
104
- pureComponentPrototype.constructor = PureComponent;
105
- assign(pureComponentPrototype, Component.prototype);
106
- pureComponentPrototype.isPureReactComponent = true;
107
- var isArrayImpl = Array.isArray;
108
- function noop() {
109
- }
110
- var ReactSharedInternals = { H: null, A: null, T: null, S: null };
111
- var hasOwnProperty = Object.prototype.hasOwnProperty;
112
- function ReactElement(type, key, props) {
113
- var refProp = props.ref;
114
- return {
115
- $$typeof: REACT_ELEMENT_TYPE,
116
- type,
117
- key,
118
- ref: void 0 !== refProp ? refProp : null,
119
- props
120
- };
121
- }
122
- function cloneAndReplaceKey(oldElement, newKey) {
123
- return ReactElement(oldElement.type, newKey, oldElement.props);
124
- }
125
- function isValidElement(object) {
126
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
127
- }
128
- function escape(key) {
129
- var escaperLookup = { "=": "=0", ":": "=2" };
130
- return "$" + key.replace(/[=:]/g, function(match) {
131
- return escaperLookup[match];
132
- });
133
- }
134
- var userProvidedKeyEscapeRegex = /\/+/g;
135
- function getElementKey(element, index) {
136
- return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
137
- }
138
- function resolveThenable(thenable) {
139
- switch (thenable.status) {
140
- case "fulfilled":
141
- return thenable.value;
142
- case "rejected":
143
- throw thenable.reason;
144
- default:
145
- switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
146
- function(fulfilledValue) {
147
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
148
- },
149
- function(error) {
150
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
151
- }
152
- )), thenable.status) {
153
- case "fulfilled":
154
- return thenable.value;
155
- case "rejected":
156
- throw thenable.reason;
157
- }
158
- }
159
- throw thenable;
160
- }
161
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
162
- var type = typeof children;
163
- if ("undefined" === type || "boolean" === type) children = null;
164
- var invokeCallback = false;
165
- if (null === children) invokeCallback = true;
166
- else
167
- switch (type) {
168
- case "bigint":
169
- case "string":
170
- case "number":
171
- invokeCallback = true;
172
- break;
173
- case "object":
174
- switch (children.$$typeof) {
175
- case REACT_ELEMENT_TYPE:
176
- case REACT_PORTAL_TYPE:
177
- invokeCallback = true;
178
- break;
179
- case REACT_LAZY_TYPE:
180
- return invokeCallback = children._init, mapIntoArray(
181
- invokeCallback(children._payload),
182
- array,
183
- escapedPrefix,
184
- nameSoFar,
185
- callback
186
- );
187
- }
188
- }
189
- if (invokeCallback)
190
- return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
191
- return c;
192
- })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
193
- callback,
194
- escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
195
- userProvidedKeyEscapeRegex,
196
- "$&/"
197
- ) + "/") + invokeCallback
198
- )), array.push(callback)), 1;
199
- invokeCallback = 0;
200
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
201
- if (isArrayImpl(children))
202
- for (var i = 0; i < children.length; i++)
203
- nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
204
- nameSoFar,
205
- array,
206
- escapedPrefix,
207
- type,
208
- callback
209
- );
210
- else if (i = getIteratorFn(children), "function" === typeof i)
211
- for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
212
- nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
213
- nameSoFar,
214
- array,
215
- escapedPrefix,
216
- type,
217
- callback
218
- );
219
- else if ("object" === type) {
220
- if ("function" === typeof children.then)
221
- return mapIntoArray(
222
- resolveThenable(children),
223
- array,
224
- escapedPrefix,
225
- nameSoFar,
226
- callback
227
- );
228
- array = String(children);
229
- throw Error(
230
- "Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
231
- );
232
- }
233
- return invokeCallback;
234
- }
235
- function mapChildren(children, func, context) {
236
- if (null == children) return children;
237
- var result = [], count = 0;
238
- mapIntoArray(children, result, "", "", function(child) {
239
- return func.call(context, child, count++);
240
- });
241
- return result;
242
- }
243
- function lazyInitializer(payload) {
244
- if (-1 === payload._status) {
245
- var ctor = payload._result;
246
- ctor = ctor();
247
- ctor.then(
248
- function(moduleObject) {
249
- if (0 === payload._status || -1 === payload._status)
250
- payload._status = 1, payload._result = moduleObject;
251
- },
252
- function(error) {
253
- if (0 === payload._status || -1 === payload._status)
254
- payload._status = 2, payload._result = error;
255
- }
256
- );
257
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
258
- }
259
- if (1 === payload._status) return payload._result.default;
260
- throw payload._result;
261
- }
262
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
263
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
264
- var event = new window.ErrorEvent("error", {
265
- bubbles: true,
266
- cancelable: true,
267
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
268
- error
269
- });
270
- if (!window.dispatchEvent(event)) return;
271
- } else if ("object" === typeof process && "function" === typeof process.emit) {
272
- process.emit("uncaughtException", error);
273
- return;
274
- }
275
- console.error(error);
276
- };
277
- var Children = {
278
- map: mapChildren,
279
- forEach: function(children, forEachFunc, forEachContext) {
280
- mapChildren(
281
- children,
282
- function() {
283
- forEachFunc.apply(this, arguments);
284
- },
285
- forEachContext
286
- );
287
- },
288
- count: function(children) {
289
- var n = 0;
290
- mapChildren(children, function() {
291
- n++;
292
- });
293
- return n;
294
- },
295
- toArray: function(children) {
296
- return mapChildren(children, function(child) {
297
- return child;
298
- }) || [];
299
- },
300
- only: function(children) {
301
- if (!isValidElement(children))
302
- throw Error(
303
- "React.Children.only expected to receive a single React element child."
304
- );
305
- return children;
306
- }
307
- };
308
- exports.Activity = REACT_ACTIVITY_TYPE;
309
- exports.Children = Children;
310
- exports.Component = Component;
311
- exports.Fragment = REACT_FRAGMENT_TYPE;
312
- exports.Profiler = REACT_PROFILER_TYPE;
313
- exports.PureComponent = PureComponent;
314
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
315
- exports.Suspense = REACT_SUSPENSE_TYPE;
316
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
317
- exports.__COMPILER_RUNTIME = {
318
- __proto__: null,
319
- c: function(size) {
320
- return ReactSharedInternals.H.useMemoCache(size);
321
- }
322
- };
323
- exports.cache = function(fn) {
324
- return function() {
325
- return fn.apply(null, arguments);
326
- };
327
- };
328
- exports.cacheSignal = function() {
329
- return null;
330
- };
331
- exports.cloneElement = function(element, config, children) {
332
- if (null === element || void 0 === element)
333
- throw Error(
334
- "The argument must be a React element, but you passed " + element + "."
335
- );
336
- var props = assign({}, element.props), key = element.key;
337
- if (null != config)
338
- for (propName in void 0 !== config.key && (key = "" + config.key), config)
339
- !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
340
- var propName = arguments.length - 2;
341
- if (1 === propName) props.children = children;
342
- else if (1 < propName) {
343
- for (var childArray = Array(propName), i = 0; i < propName; i++)
344
- childArray[i] = arguments[i + 2];
345
- props.children = childArray;
346
- }
347
- return ReactElement(element.type, key, props);
348
- };
349
- exports.createContext = function(defaultValue) {
350
- defaultValue = {
351
- $$typeof: REACT_CONTEXT_TYPE,
352
- _currentValue: defaultValue,
353
- _currentValue2: defaultValue,
354
- _threadCount: 0,
355
- Provider: null,
356
- Consumer: null
357
- };
358
- defaultValue.Provider = defaultValue;
359
- defaultValue.Consumer = {
360
- $$typeof: REACT_CONSUMER_TYPE,
361
- _context: defaultValue
362
- };
363
- return defaultValue;
364
- };
365
- exports.createElement = function(type, config, children) {
366
- var propName, props = {}, key = null;
367
- if (null != config)
368
- for (propName in void 0 !== config.key && (key = "" + config.key), config)
369
- hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
370
- var childrenLength = arguments.length - 2;
371
- if (1 === childrenLength) props.children = children;
372
- else if (1 < childrenLength) {
373
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
374
- childArray[i] = arguments[i + 2];
375
- props.children = childArray;
376
- }
377
- if (type && type.defaultProps)
378
- for (propName in childrenLength = type.defaultProps, childrenLength)
379
- void 0 === props[propName] && (props[propName] = childrenLength[propName]);
380
- return ReactElement(type, key, props);
381
- };
382
- exports.createRef = function() {
383
- return { current: null };
384
- };
385
- exports.forwardRef = function(render) {
386
- return { $$typeof: REACT_FORWARD_REF_TYPE, render };
387
- };
388
- exports.isValidElement = isValidElement;
389
- exports.lazy = function(ctor) {
390
- return {
391
- $$typeof: REACT_LAZY_TYPE,
392
- _payload: { _status: -1, _result: ctor },
393
- _init: lazyInitializer
394
- };
395
- };
396
- exports.memo = function(type, compare) {
397
- return {
398
- $$typeof: REACT_MEMO_TYPE,
399
- type,
400
- compare: void 0 === compare ? null : compare
401
- };
402
- };
403
- exports.startTransition = function(scope) {
404
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
405
- ReactSharedInternals.T = currentTransition;
406
- try {
407
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
408
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
409
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
410
- } catch (error) {
411
- reportGlobalError(error);
412
- } finally {
413
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
414
- }
415
- };
416
- exports.unstable_useCacheRefresh = function() {
417
- return ReactSharedInternals.H.useCacheRefresh();
418
- };
419
- exports.use = function(usable) {
420
- return ReactSharedInternals.H.use(usable);
421
- };
422
- exports.useActionState = function(action, initialState, permalink) {
423
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
424
- };
425
- exports.useCallback = function(callback, deps) {
426
- return ReactSharedInternals.H.useCallback(callback, deps);
427
- };
428
- exports.useContext = function(Context) {
429
- return ReactSharedInternals.H.useContext(Context);
430
- };
431
- exports.useDebugValue = function() {
432
- };
433
- exports.useDeferredValue = function(value, initialValue) {
434
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
435
- };
436
- exports.useEffect = function(create, deps) {
437
- return ReactSharedInternals.H.useEffect(create, deps);
438
- };
439
- exports.useEffectEvent = function(callback) {
440
- return ReactSharedInternals.H.useEffectEvent(callback);
441
- };
442
- exports.useId = function() {
443
- return ReactSharedInternals.H.useId();
444
- };
445
- exports.useImperativeHandle = function(ref, create, deps) {
446
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
447
- };
448
- exports.useInsertionEffect = function(create, deps) {
449
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
450
- };
451
- exports.useLayoutEffect = function(create, deps) {
452
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
453
- };
454
- exports.useMemo = function(create, deps) {
455
- return ReactSharedInternals.H.useMemo(create, deps);
456
- };
457
- exports.useOptimistic = function(passthrough, reducer) {
458
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
459
- };
460
- exports.useReducer = function(reducer, initialArg, init) {
461
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
462
- };
463
- exports.useRef = function(initialValue) {
464
- return ReactSharedInternals.H.useRef(initialValue);
465
- };
466
- exports.useState = function(initialState) {
467
- return ReactSharedInternals.H.useState(initialState);
468
- };
469
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
470
- return ReactSharedInternals.H.useSyncExternalStore(
471
- subscribe,
472
- getSnapshot,
473
- getServerSnapshot
474
- );
475
- };
476
- exports.useTransition = function() {
477
- return ReactSharedInternals.H.useTransition();
478
- };
479
- exports.version = "19.2.4";
480
- }
481
- });
482
-
483
- // node_modules/react/index.js
484
- var require_react = __commonJS({
485
- "node_modules/react/index.js"(exports, module) {
486
- "use strict";
487
- if (true) {
488
- module.exports = require_react_production();
489
- } else {
490
- module.exports = null;
491
- }
492
- }
493
- });
494
-
495
42
  // node_modules/dotenv/package.json
496
43
  var require_package = __commonJS({
497
44
  "node_modules/dotenv/package.json"(exports, module) {
@@ -10062,31 +9609,6 @@ function isWorkspaceTrusted(settings, workspaceDir = process.cwd(), headlessOpti
10062
9609
  });
10063
9610
  }
10064
9611
 
10065
- // packages/cli/src/ui/types.ts
10066
- var import_react = __toESM(require_react(), 1);
10067
- function mapCoreStatusToDisplayStatus(coreStatus) {
10068
- switch (coreStatus) {
10069
- case CoreToolCallStatus.Validating:
10070
- return "Pending" /* Pending */;
10071
- case CoreToolCallStatus.AwaitingApproval:
10072
- return "Confirming" /* Confirming */;
10073
- case CoreToolCallStatus.Executing:
10074
- return "Executing" /* Executing */;
10075
- case CoreToolCallStatus.Success:
10076
- return "Success" /* Success */;
10077
- case CoreToolCallStatus.Cancelled:
10078
- return "Canceled" /* Canceled */;
10079
- case CoreToolCallStatus.Error:
10080
- return "Error" /* Error */;
10081
- case CoreToolCallStatus.Scheduled:
10082
- return "Pending" /* Pending */;
10083
- default:
10084
- return checkExhaustive(coreStatus);
10085
- }
10086
- }
10087
- var isTodoList = (res) => typeof res === "object" && res !== null && "todos" in res;
10088
- var emptyIcon = " ";
10089
-
10090
9612
  // packages/cli/src/utils/sessionUtils.ts
10091
9613
  import * as fs from "node:fs/promises";
10092
9614
  import path from "node:path";
@@ -17579,10 +17101,6 @@ export {
17579
17101
  normalizeEscapedNewlines,
17580
17102
  getCachedStringWidth,
17581
17103
  escapeAnsiCtrlCodes,
17582
- require_react,
17583
- mapCoreStatusToDisplayStatus,
17584
- isTodoList,
17585
- emptyIcon,
17586
17104
  RESUME_LATEST,
17587
17105
  SessionError,
17588
17106
  cleanMessage,
@@ -17635,17 +17153,6 @@ export {
17635
17153
  */
17636
17154
  /*! Bundled license information:
17637
17155
 
17638
- react/cjs/react.production.js:
17639
- (**
17640
- * @license React
17641
- * react.production.js
17642
- *
17643
- * Copyright (c) Meta Platforms, Inc. and affiliates.
17644
- *
17645
- * This source code is licensed under the MIT license found in the
17646
- * LICENSE file in the root directory of this source tree.
17647
- *)
17648
-
17649
17156
  repeat-string/index.js:
17650
17157
  (*!
17651
17158
  * repeat-string <https://github.com/jonschlinkert/repeat-string>
@@ -246355,8 +246355,8 @@ import { createHash } from "node:crypto";
246355
246355
  import * as os12 from "node:os";
246356
246356
 
246357
246357
  // packages/core/src/generated/git-commit.ts
246358
- var GIT_COMMIT_INFO = "59b2dea0e";
246359
- var CLI_VERSION = "0.41.0-preview.0";
246358
+ var GIT_COMMIT_INFO = "6d9911393";
246359
+ var CLI_VERSION = "0.42.0-nightly.20260428.g59b2dea0e";
246360
246360
 
246361
246361
  // packages/core/src/ide/detect-ide.ts
246362
246362
  var IDE_DEFINITIONS = {
@@ -269548,7 +269548,7 @@ function getVersion() {
269548
269548
  }
269549
269549
  versionPromise = (async () => {
269550
269550
  const pkgJson = await getPackageJson(__dirname4);
269551
- return "0.41.0-preview.0";
269551
+ return "0.42.0-nightly.20260428.g59b2dea0e";
269552
269552
  })();
269553
269553
  return versionPromise;
269554
269554
  }
@@ -273363,24 +273363,31 @@ var ReleaseChannel = /* @__PURE__ */ ((ReleaseChannel2) => {
273363
273363
  ReleaseChannel2["STABLE"] = "stable";
273364
273364
  return ReleaseChannel2;
273365
273365
  })(ReleaseChannel || {});
273366
+ var RELEASE_CHANNEL_STABILITY = {
273367
+ ["nightly" /* NIGHTLY */]: 0,
273368
+ ["preview" /* PREVIEW */]: 1,
273369
+ ["stable" /* STABLE */]: 2
273370
+ };
273366
273371
  var cache = /* @__PURE__ */ new Map();
273367
273372
  function _clearCache() {
273368
273373
  cache.clear();
273369
273374
  }
273375
+ function getChannelFromVersion(version4) {
273376
+ if (!version4 || version4.includes("nightly")) {
273377
+ return "nightly" /* NIGHTLY */;
273378
+ }
273379
+ if (version4.includes("preview")) {
273380
+ return "preview" /* PREVIEW */;
273381
+ }
273382
+ return "stable" /* STABLE */;
273383
+ }
273370
273384
  async function getReleaseChannel(cwd) {
273371
273385
  if (cache.has(cwd)) {
273372
273386
  return cache.get(cwd);
273373
273387
  }
273374
273388
  const packageJson = await getPackageJson(cwd);
273375
273389
  const version4 = packageJson?.version ?? "";
273376
- let channel;
273377
- if (version4.includes("nightly") || version4 === "") {
273378
- channel = "nightly" /* NIGHTLY */;
273379
- } else if (version4.includes("preview")) {
273380
- channel = "preview" /* PREVIEW */;
273381
- } else {
273382
- channel = "stable" /* STABLE */;
273383
- }
273390
+ const channel = getChannelFromVersion(version4);
273384
273391
  cache.set(cwd, channel);
273385
273392
  return channel;
273386
273393
  }
@@ -301121,7 +301128,12 @@ var mcpServerSchema = external_exports.object({
301121
301128
  client_secret: external_exports.string().optional(),
301122
301129
  scopes: external_exports.array(external_exports.string()).optional(),
301123
301130
  authorization_url: external_exports.string().url().optional(),
301124
- token_url: external_exports.string().url().optional()
301131
+ token_url: external_exports.string().url().optional(),
301132
+ issuer: external_exports.string().url().optional(),
301133
+ audiences: external_exports.array(external_exports.string()).optional(),
301134
+ redirect_uri: external_exports.string().url().optional(),
301135
+ token_param_name: external_exports.string().optional(),
301136
+ registration_url: external_exports.string().url().optional()
301125
301137
  })
301126
301138
  ]).optional()
301127
301139
  });
@@ -301172,7 +301184,12 @@ var oauth2AuthSchema = external_exports.object({
301172
301184
  client_secret: external_exports.string().optional(),
301173
301185
  scopes: external_exports.array(external_exports.string()).optional(),
301174
301186
  authorization_url: external_exports.string().url().optional(),
301175
- token_url: external_exports.string().url().optional()
301187
+ token_url: external_exports.string().url().optional(),
301188
+ issuer: external_exports.string().url().optional(),
301189
+ audiences: external_exports.array(external_exports.string()).optional(),
301190
+ redirect_uri: external_exports.string().url().optional(),
301191
+ token_param_name: external_exports.string().optional(),
301192
+ registration_url: external_exports.string().url().optional()
301176
301193
  });
301177
301194
  var authConfigSchema = external_exports.discriminatedUnion("type", [
301178
301195
  apiKeyAuthSchema,
@@ -301398,7 +301415,12 @@ function convertFrontmatterAuthToConfig(frontmatter) {
301398
301415
  client_secret: frontmatter.client_secret,
301399
301416
  scopes: frontmatter.scopes,
301400
301417
  authorization_url: frontmatter.authorization_url,
301401
- token_url: frontmatter.token_url
301418
+ token_url: frontmatter.token_url,
301419
+ issuer: frontmatter.issuer,
301420
+ audiences: frontmatter.audiences,
301421
+ redirect_uri: frontmatter.redirect_uri,
301422
+ token_param_name: frontmatter.token_param_name,
301423
+ registration_url: frontmatter.registration_url
301402
301424
  };
301403
301425
  default: {
301404
301426
  const exhaustive = frontmatter;
@@ -301467,7 +301489,12 @@ function markdownToAgentDefinition(markdown, metadata2) {
301467
301489
  clientSecret: config2.auth.client_secret,
301468
301490
  scopes: config2.auth.scopes,
301469
301491
  authorizationUrl: config2.auth.authorization_url,
301470
- tokenUrl: config2.auth.token_url
301492
+ tokenUrl: config2.auth.token_url,
301493
+ issuer: config2.auth.issuer,
301494
+ audiences: config2.auth.audiences,
301495
+ redirectUri: config2.auth.redirect_uri,
301496
+ tokenParamName: config2.auth.token_param_name,
301497
+ registrationUrl: config2.auth.registration_url
301471
301498
  };
301472
301499
  }
301473
301500
  }
@@ -302646,7 +302673,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
302646
302673
  return provider;
302647
302674
  }
302648
302675
  case "oauth2": {
302649
- const { OAuth2AuthProvider } = await import("./oauth2-provider-Q5QVFX4W.js");
302676
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-PXDFEHJI.js");
302650
302677
  const provider = new OAuth2AuthProvider(
302651
302678
  authConfig,
302652
302679
  options.agentName ?? "unknown",
@@ -331607,6 +331634,7 @@ var McpClientManager = class {
331607
331634
  Object.keys(extension.mcpServers ?? {}).map((name3) => {
331608
331635
  const config2 = this.allServerConfigs.get(name3);
331609
331636
  if (config2?.extension?.id === extension.id) {
331637
+ const clientKey = this.getClientKey(name3, config2);
331610
331638
  this.allServerConfigs.delete(name3);
331611
331639
  const index = this.blockedMcpServers.findIndex(
331612
331640
  (s2) => s2.name === name3 && s2.extensionName === extension.name
@@ -331614,7 +331642,7 @@ var McpClientManager = class {
331614
331642
  if (index !== -1) {
331615
331643
  this.blockedMcpServers.splice(index, 1);
331616
331644
  }
331617
- return this.disconnectClient(name3, true);
331645
+ return this.disconnectClient(clientKey, true);
331618
331646
  }
331619
331647
  return Promise.resolve();
331620
331648
  })
@@ -359438,7 +359466,9 @@ export {
359438
359466
  createConversationOffered,
359439
359467
  formatProtoJsonDuration,
359440
359468
  ReleaseChannel,
359469
+ RELEASE_CHANNEL_STABILITY,
359441
359470
  _clearCache,
359471
+ getChannelFromVersion,
359442
359472
  getReleaseChannel,
359443
359473
  isNightly,
359444
359474
  isPreview,