@sylphai/adal-cli-win32-x64 0.1.0-beta.26 → 0.1.0-beta.27

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.
package/adal-cli.js CHANGED
@@ -188415,6 +188415,7 @@ var require_react_production = __commonJS({
188415
188415
  var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
188416
188416
  var REACT_MEMO_TYPE = Symbol.for("react.memo");
188417
188417
  var REACT_LAZY_TYPE = Symbol.for("react.lazy");
188418
+ var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
188418
188419
  var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
188419
188420
  function getIteratorFn(maybeIterable) {
188420
188421
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -188465,27 +188466,22 @@ var require_react_production = __commonJS({
188465
188466
  assign(pureComponentPrototype, Component.prototype);
188466
188467
  pureComponentPrototype.isPureReactComponent = true;
188467
188468
  var isArrayImpl = Array.isArray;
188468
- var ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null };
188469
+ function noop3() {
188470
+ }
188471
+ var ReactSharedInternals = { H: null, A: null, T: null, S: null };
188469
188472
  var hasOwnProperty = Object.prototype.hasOwnProperty;
188470
- function ReactElement(type, key, self2, source2, owner, props) {
188471
- self2 = props.ref;
188473
+ function ReactElement(type, key, props) {
188474
+ var refProp = props.ref;
188472
188475
  return {
188473
188476
  $$typeof: REACT_ELEMENT_TYPE,
188474
188477
  type,
188475
188478
  key,
188476
- ref: void 0 !== self2 ? self2 : null,
188479
+ ref: void 0 !== refProp ? refProp : null,
188477
188480
  props
188478
188481
  };
188479
188482
  }
188480
188483
  function cloneAndReplaceKey(oldElement, newKey) {
188481
- return ReactElement(
188482
- oldElement.type,
188483
- newKey,
188484
- void 0,
188485
- void 0,
188486
- void 0,
188487
- oldElement.props
188488
- );
188484
+ return ReactElement(oldElement.type, newKey, oldElement.props);
188489
188485
  }
188490
188486
  function isValidElement(object) {
188491
188487
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
@@ -188500,8 +188496,6 @@ var require_react_production = __commonJS({
188500
188496
  function getElementKey(element, index) {
188501
188497
  return "object" === typeof element && null !== element && null != element.key ? escape4("" + element.key) : index.toString(36);
188502
188498
  }
188503
- function noop$1() {
188504
- }
188505
188499
  function resolveThenable(thenable) {
188506
188500
  switch (thenable.status) {
188507
188501
  case "fulfilled":
@@ -188509,7 +188503,7 @@ var require_react_production = __commonJS({
188509
188503
  case "rejected":
188510
188504
  throw thenable.reason;
188511
188505
  default:
188512
- switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
188506
+ switch ("string" === typeof thenable.status ? thenable.then(noop3, noop3) : (thenable.status = "pending", thenable.then(
188513
188507
  function(fulfilledValue) {
188514
188508
  "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
188515
188509
  },
@@ -188641,9 +188635,7 @@ var require_react_production = __commonJS({
188641
188635
  }
188642
188636
  console.error(error3);
188643
188637
  };
188644
- function noop3() {
188645
- }
188646
- exports2.Children = {
188638
+ var Children = {
188647
188639
  map: mapChildren,
188648
188640
  forEach: function(children, forEachFunc, forEachContext) {
188649
188641
  mapChildren(
@@ -188674,6 +188666,8 @@ var require_react_production = __commonJS({
188674
188666
  return children;
188675
188667
  }
188676
188668
  };
188669
+ exports2.Activity = REACT_ACTIVITY_TYPE;
188670
+ exports2.Children = Children;
188677
188671
  exports2.Component = Component;
188678
188672
  exports2.Fragment = REACT_FRAGMENT_TYPE;
188679
188673
  exports2.Profiler = REACT_PROFILER_TYPE;
@@ -188692,14 +188686,17 @@ var require_react_production = __commonJS({
188692
188686
  return fn.apply(null, arguments);
188693
188687
  };
188694
188688
  };
188689
+ exports2.cacheSignal = function() {
188690
+ return null;
188691
+ };
188695
188692
  exports2.cloneElement = function(element, config4, children) {
188696
188693
  if (null === element || void 0 === element)
188697
188694
  throw Error(
188698
188695
  "The argument must be a React element, but you passed " + element + "."
188699
188696
  );
188700
- var props = assign({}, element.props), key = element.key, owner = void 0;
188697
+ var props = assign({}, element.props), key = element.key;
188701
188698
  if (null != config4)
188702
- for (propName in void 0 !== config4.ref && (owner = void 0), void 0 !== config4.key && (key = "" + config4.key), config4)
188699
+ for (propName in void 0 !== config4.key && (key = "" + config4.key), config4)
188703
188700
  !hasOwnProperty.call(config4, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config4.ref || (props[propName] = config4[propName]);
188704
188701
  var propName = arguments.length - 2;
188705
188702
  if (1 === propName) props.children = children;
@@ -188708,7 +188705,7 @@ var require_react_production = __commonJS({
188708
188705
  childArray[i] = arguments[i + 2];
188709
188706
  props.children = childArray;
188710
188707
  }
188711
- return ReactElement(element.type, key, void 0, void 0, owner, props);
188708
+ return ReactElement(element.type, key, props);
188712
188709
  };
188713
188710
  exports2.createContext = function(defaultValue) {
188714
188711
  defaultValue = {
@@ -188741,7 +188738,7 @@ var require_react_production = __commonJS({
188741
188738
  if (type && type.defaultProps)
188742
188739
  for (propName in childrenLength = type.defaultProps, childrenLength)
188743
188740
  void 0 === props[propName] && (props[propName] = childrenLength[propName]);
188744
- return ReactElement(type, key, void 0, void 0, null, props);
188741
+ return ReactElement(type, key, props);
188745
188742
  };
188746
188743
  exports2.createRef = function() {
188747
188744
  return { current: null };
@@ -188774,7 +188771,7 @@ var require_react_production = __commonJS({
188774
188771
  } catch (error3) {
188775
188772
  reportGlobalError(error3);
188776
188773
  } finally {
188777
- ReactSharedInternals.T = prevTransition;
188774
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
188778
188775
  }
188779
188776
  };
188780
188777
  exports2.unstable_useCacheRefresh = function() {
@@ -188797,13 +188794,11 @@ var require_react_production = __commonJS({
188797
188794
  exports2.useDeferredValue = function(value, initialValue) {
188798
188795
  return ReactSharedInternals.H.useDeferredValue(value, initialValue);
188799
188796
  };
188800
- exports2.useEffect = function(create2, createDeps, update) {
188801
- var dispatcher = ReactSharedInternals.H;
188802
- if ("function" === typeof update)
188803
- throw Error(
188804
- "useEffect CRUD overload is not enabled in this build of React."
188805
- );
188806
- return dispatcher.useEffect(create2, createDeps);
188797
+ exports2.useEffect = function(create2, deps) {
188798
+ return ReactSharedInternals.H.useEffect(create2, deps);
188799
+ };
188800
+ exports2.useEffectEvent = function(callback) {
188801
+ return ReactSharedInternals.H.useEffectEvent(callback);
188807
188802
  };
188808
188803
  exports2.useId = function() {
188809
188804
  return ReactSharedInternals.H.useId();
@@ -188842,7 +188837,7 @@ var require_react_production = __commonJS({
188842
188837
  exports2.useTransition = function() {
188843
188838
  return ReactSharedInternals.H.useTransition();
188844
188839
  };
188845
- exports2.version = "19.1.1";
188840
+ exports2.version = "19.2.0";
188846
188841
  }
188847
188842
  });
188848
188843
 
@@ -188891,6 +188886,8 @@ var require_react_development = __commonJS({
188891
188886
  this.refs = emptyObject;
188892
188887
  this.updater = updater || ReactNoopUpdateQueue;
188893
188888
  }
188889
+ function noop3() {
188890
+ }
188894
188891
  function testStringCoercion(value) {
188895
188892
  return "" + value;
188896
188893
  }
@@ -188939,7 +188936,7 @@ var require_react_development = __commonJS({
188939
188936
  case REACT_PORTAL_TYPE:
188940
188937
  return "Portal";
188941
188938
  case REACT_CONTEXT_TYPE:
188942
- return (type.displayName || "Context") + ".Provider";
188939
+ return type.displayName || "Context";
188943
188940
  case REACT_CONSUMER_TYPE:
188944
188941
  return (type._context.displayName || "Context") + ".Consumer";
188945
188942
  case REACT_FORWARD_REF_TYPE:
@@ -189005,8 +189002,8 @@ var require_react_development = __commonJS({
189005
189002
  componentName = this.props.ref;
189006
189003
  return void 0 !== componentName ? componentName : null;
189007
189004
  }
189008
- function ReactElement(type, key, self2, source2, owner, props, debugStack, debugTask) {
189009
- self2 = props.ref;
189005
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
189006
+ var refProp = props.ref;
189010
189007
  type = {
189011
189008
  $$typeof: REACT_ELEMENT_TYPE,
189012
189009
  type,
@@ -189014,7 +189011,7 @@ var require_react_development = __commonJS({
189014
189011
  props,
189015
189012
  _owner: owner
189016
189013
  };
189017
- null !== (void 0 !== self2 ? self2 : null) ? Object.defineProperty(type, "ref", {
189014
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
189018
189015
  enumerable: false,
189019
189016
  get: elementRefGetterWithDeprecationWarning
189020
189017
  }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
@@ -189050,16 +189047,17 @@ var require_react_development = __commonJS({
189050
189047
  newKey = ReactElement(
189051
189048
  oldElement.type,
189052
189049
  newKey,
189053
- void 0,
189054
- void 0,
189055
- oldElement._owner,
189056
189050
  oldElement.props,
189051
+ oldElement._owner,
189057
189052
  oldElement._debugStack,
189058
189053
  oldElement._debugTask
189059
189054
  );
189060
189055
  oldElement._store && (newKey._store.validated = oldElement._store.validated);
189061
189056
  return newKey;
189062
189057
  }
189058
+ function validateChildKeys(node2) {
189059
+ isValidElement(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
189060
+ }
189063
189061
  function isValidElement(object) {
189064
189062
  return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
189065
189063
  }
@@ -189072,8 +189070,6 @@ var require_react_development = __commonJS({
189072
189070
  function getElementKey(element, index) {
189073
189071
  return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape4("" + element.key)) : index.toString(36);
189074
189072
  }
189075
- function noop$1() {
189076
- }
189077
189073
  function resolveThenable(thenable) {
189078
189074
  switch (thenable.status) {
189079
189075
  case "fulfilled":
@@ -189081,7 +189077,7 @@ var require_react_development = __commonJS({
189081
189077
  case "rejected":
189082
189078
  throw thenable.reason;
189083
189079
  default:
189084
- switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
189080
+ switch ("string" === typeof thenable.status ? thenable.then(noop3, noop3) : (thenable.status = "pending", thenable.then(
189085
189081
  function(fulfilledValue) {
189086
189082
  "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
189087
189083
  },
@@ -189188,28 +189184,46 @@ var require_react_development = __commonJS({
189188
189184
  }
189189
189185
  function lazyInitializer(payload) {
189190
189186
  if (-1 === payload._status) {
189191
- var ctor = payload._result;
189192
- ctor = ctor();
189193
- ctor.then(
189187
+ var ioInfo = payload._ioInfo;
189188
+ null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
189189
+ ioInfo = payload._result;
189190
+ var thenable = ioInfo();
189191
+ thenable.then(
189194
189192
  function(moduleObject) {
189195
- if (0 === payload._status || -1 === payload._status)
189196
- payload._status = 1, payload._result = moduleObject;
189193
+ if (0 === payload._status || -1 === payload._status) {
189194
+ payload._status = 1;
189195
+ payload._result = moduleObject;
189196
+ var _ioInfo = payload._ioInfo;
189197
+ null != _ioInfo && (_ioInfo.end = performance.now());
189198
+ void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
189199
+ }
189197
189200
  },
189198
189201
  function(error3) {
189199
- if (0 === payload._status || -1 === payload._status)
189200
- payload._status = 2, payload._result = error3;
189202
+ if (0 === payload._status || -1 === payload._status) {
189203
+ payload._status = 2;
189204
+ payload._result = error3;
189205
+ var _ioInfo2 = payload._ioInfo;
189206
+ null != _ioInfo2 && (_ioInfo2.end = performance.now());
189207
+ void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error3);
189208
+ }
189201
189209
  }
189202
189210
  );
189203
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
189211
+ ioInfo = payload._ioInfo;
189212
+ if (null != ioInfo) {
189213
+ ioInfo.value = thenable;
189214
+ var displayName = thenable.displayName;
189215
+ "string" === typeof displayName && (ioInfo.name = displayName);
189216
+ }
189217
+ -1 === payload._status && (payload._status = 0, payload._result = thenable);
189204
189218
  }
189205
189219
  if (1 === payload._status)
189206
- return ctor = payload._result, void 0 === ctor && console.error(
189220
+ return ioInfo = payload._result, void 0 === ioInfo && console.error(
189207
189221
  "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
189208
- ctor
189209
- ), "default" in ctor || console.error(
189222
+ ioInfo
189223
+ ), "default" in ioInfo || console.error(
189210
189224
  "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
189211
- ctor
189212
- ), ctor.default;
189225
+ ioInfo
189226
+ ), ioInfo.default;
189213
189227
  throw payload._result;
189214
189228
  }
189215
189229
  function resolveDispatcher() {
@@ -189219,7 +189233,8 @@ var require_react_development = __commonJS({
189219
189233
  );
189220
189234
  return dispatcher;
189221
189235
  }
189222
- function noop3() {
189236
+ function releaseAsyncTransition() {
189237
+ ReactSharedInternals.asyncTransitions--;
189223
189238
  }
189224
189239
  function enqueueTask(task) {
189225
189240
  if (null === enqueueTaskImpl)
@@ -189295,9 +189310,7 @@ var require_react_development = __commonJS({
189295
189310
  }
189296
189311
  }
189297
189312
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
189298
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
189299
- Symbol.for("react.provider");
189300
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
189313
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
189301
189314
  isMounted: function() {
189302
189315
  return false;
189303
189316
  },
@@ -189332,7 +189345,7 @@ var require_react_development = __commonJS({
189332
189345
  "replaceState",
189333
189346
  "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
189334
189347
  ]
189335
- }, fnName;
189348
+ };
189336
189349
  for (fnName in deprecatedAPIs)
189337
189350
  deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
189338
189351
  ComponentDummy.prototype = Component.prototype;
@@ -189345,8 +189358,8 @@ var require_react_development = __commonJS({
189345
189358
  A: null,
189346
189359
  T: null,
189347
189360
  S: null,
189348
- V: null,
189349
189361
  actQueue: null,
189362
+ asyncTransitions: 0,
189350
189363
  isBatchingLegacy: false,
189351
189364
  didScheduleLegacyUpdate: false,
189352
189365
  didUsePromise: false,
@@ -189393,7 +189406,7 @@ var require_react_development = __commonJS({
189393
189406
  return resolveDispatcher().useMemoCache(size);
189394
189407
  }
189395
189408
  });
189396
- exports2.Children = {
189409
+ var fnName = {
189397
189410
  map: mapChildren,
189398
189411
  forEach: function(children, forEachFunc, forEachContext) {
189399
189412
  mapChildren(
@@ -189424,6 +189437,8 @@ var require_react_development = __commonJS({
189424
189437
  return children;
189425
189438
  }
189426
189439
  };
189440
+ exports2.Activity = REACT_ACTIVITY_TYPE;
189441
+ exports2.Children = fnName;
189427
189442
  exports2.Component = Component;
189428
189443
  exports2.Fragment = REACT_FRAGMENT_TYPE;
189429
189444
  exports2.Profiler = REACT_PROFILER_TYPE;
@@ -189514,6 +189529,9 @@ var require_react_development = __commonJS({
189514
189529
  return fn.apply(null, arguments);
189515
189530
  };
189516
189531
  };
189532
+ exports2.cacheSignal = function() {
189533
+ return null;
189534
+ };
189517
189535
  exports2.captureOwnerStack = function() {
189518
189536
  var getCurrentStack = ReactSharedInternals.getCurrentStack;
189519
189537
  return null === getCurrentStack ? null : getCurrentStack();
@@ -189552,15 +189570,13 @@ var require_react_development = __commonJS({
189552
189570
  props = ReactElement(
189553
189571
  element.type,
189554
189572
  key,
189555
- void 0,
189556
- void 0,
189557
- owner,
189558
189573
  props,
189574
+ owner,
189559
189575
  element._debugStack,
189560
189576
  element._debugTask
189561
189577
  );
189562
189578
  for (key = 2; key < arguments.length; key++)
189563
- owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
189579
+ validateChildKeys(arguments[key]);
189564
189580
  return props;
189565
189581
  };
189566
189582
  exports2.createContext = function(defaultValue) {
@@ -189582,16 +189598,14 @@ var require_react_development = __commonJS({
189582
189598
  return defaultValue;
189583
189599
  };
189584
189600
  exports2.createElement = function(type, config4, children) {
189585
- for (var i = 2; i < arguments.length; i++) {
189586
- var node2 = arguments[i];
189587
- isValidElement(node2) && node2._store && (node2._store.validated = 1);
189588
- }
189601
+ for (var i = 2; i < arguments.length; i++)
189602
+ validateChildKeys(arguments[i]);
189589
189603
  i = {};
189590
- node2 = null;
189604
+ var key = null;
189591
189605
  if (null != config4)
189592
189606
  for (propName in didWarnAboutOldJSXRuntime || !("__self" in config4) || "key" in config4 || (didWarnAboutOldJSXRuntime = true, console.warn(
189593
189607
  "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
189594
- )), hasValidKey(config4) && (checkKeyStringCoercion(config4.key), node2 = "" + config4.key), config4)
189608
+ )), hasValidKey(config4) && (checkKeyStringCoercion(config4.key), key = "" + config4.key), config4)
189595
189609
  hasOwnProperty.call(config4, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config4[propName]);
189596
189610
  var childrenLength = arguments.length - 2;
189597
189611
  if (1 === childrenLength) i.children = children;
@@ -189604,18 +189618,16 @@ var require_react_development = __commonJS({
189604
189618
  if (type && type.defaultProps)
189605
189619
  for (propName in childrenLength = type.defaultProps, childrenLength)
189606
189620
  void 0 === i[propName] && (i[propName] = childrenLength[propName]);
189607
- node2 && defineKeyPropWarningGetter(
189621
+ key && defineKeyPropWarningGetter(
189608
189622
  i,
189609
189623
  "function" === typeof type ? type.displayName || type.name || "Unknown" : type
189610
189624
  );
189611
189625
  var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
189612
189626
  return ReactElement(
189613
189627
  type,
189614
- node2,
189615
- void 0,
189616
- void 0,
189617
- getOwner(),
189628
+ key,
189618
189629
  i,
189630
+ getOwner(),
189619
189631
  propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
189620
189632
  propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
189621
189633
  );
@@ -189654,11 +189666,23 @@ var require_react_development = __commonJS({
189654
189666
  };
189655
189667
  exports2.isValidElement = isValidElement;
189656
189668
  exports2.lazy = function(ctor) {
189657
- return {
189669
+ ctor = { _status: -1, _result: ctor };
189670
+ var lazyType2 = {
189658
189671
  $$typeof: REACT_LAZY_TYPE,
189659
- _payload: { _status: -1, _result: ctor },
189672
+ _payload: ctor,
189660
189673
  _init: lazyInitializer
189674
+ }, ioInfo = {
189675
+ name: "lazy",
189676
+ start: -1,
189677
+ end: -1,
189678
+ value: null,
189679
+ owner: null,
189680
+ debugStack: Error("react-stack-top-frame"),
189681
+ debugTask: console.createTask ? console.createTask("lazy()") : null
189661
189682
  };
189683
+ ctor._ioInfo = ioInfo;
189684
+ lazyType2._debugInfo = [{ awaited: ioInfo }];
189685
+ return lazyType2;
189662
189686
  };
189663
189687
  exports2.memo = function(type, compare) {
189664
189688
  null == type && console.error(
@@ -189686,18 +189710,20 @@ var require_react_development = __commonJS({
189686
189710
  };
189687
189711
  exports2.startTransition = function(scope) {
189688
189712
  var prevTransition = ReactSharedInternals.T, currentTransition = {};
189689
- ReactSharedInternals.T = currentTransition;
189690
189713
  currentTransition._updatedFibers = /* @__PURE__ */ new Set();
189714
+ ReactSharedInternals.T = currentTransition;
189691
189715
  try {
189692
189716
  var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
189693
189717
  null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
189694
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop3, reportGlobalError);
189718
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop3, reportGlobalError));
189695
189719
  } catch (error3) {
189696
189720
  reportGlobalError(error3);
189697
189721
  } finally {
189698
189722
  null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
189699
189723
  "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
189700
- )), ReactSharedInternals.T = prevTransition;
189724
+ )), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error(
189725
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
189726
+ ), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
189701
189727
  }
189702
189728
  };
189703
189729
  exports2.unstable_useCacheRefresh = function() {
@@ -189729,16 +189755,14 @@ var require_react_development = __commonJS({
189729
189755
  exports2.useDeferredValue = function(value, initialValue) {
189730
189756
  return resolveDispatcher().useDeferredValue(value, initialValue);
189731
189757
  };
189732
- exports2.useEffect = function(create2, createDeps, update) {
189758
+ exports2.useEffect = function(create2, deps) {
189733
189759
  null == create2 && console.warn(
189734
189760
  "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
189735
189761
  );
189736
- var dispatcher = resolveDispatcher();
189737
- if ("function" === typeof update)
189738
- throw Error(
189739
- "useEffect CRUD overload is not enabled in this build of React."
189740
- );
189741
- return dispatcher.useEffect(create2, createDeps);
189762
+ return resolveDispatcher().useEffect(create2, deps);
189763
+ };
189764
+ exports2.useEffectEvent = function(callback) {
189765
+ return resolveDispatcher().useEffectEvent(callback);
189742
189766
  };
189743
189767
  exports2.useId = function() {
189744
189768
  return resolveDispatcher().useId();
@@ -189783,7 +189807,7 @@ var require_react_development = __commonJS({
189783
189807
  exports2.useTransition = function() {
189784
189808
  return resolveDispatcher().useTransition();
189785
189809
  };
189786
- exports2.version = "19.1.1";
189810
+ exports2.version = "19.2.0";
189787
189811
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
189788
189812
  })();
189789
189813
  }
@@ -190040,9 +190064,9 @@ var require_emoji_regex = __commonJS({
190040
190064
  }
190041
190065
  });
190042
190066
 
190043
- // node_modules/scheduler/cjs/scheduler.production.js
190067
+ // node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.production.js
190044
190068
  var require_scheduler_production = __commonJS({
190045
- "node_modules/scheduler/cjs/scheduler.production.js"(exports2) {
190069
+ "node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.production.js"(exports2) {
190046
190070
  "use strict";
190047
190071
  function push(heap, node2) {
190048
190072
  var index = heap.length;
@@ -190313,9 +190337,9 @@ var require_scheduler_production = __commonJS({
190313
190337
  }
190314
190338
  });
190315
190339
 
190316
- // node_modules/scheduler/cjs/scheduler.development.js
190340
+ // node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.development.js
190317
190341
  var require_scheduler_development = __commonJS({
190318
- "node_modules/scheduler/cjs/scheduler.development.js"(exports2) {
190342
+ "node_modules/react-reconciler/node_modules/scheduler/cjs/scheduler.development.js"(exports2) {
190319
190343
  "use strict";
190320
190344
  "production" !== process.env.NODE_ENV && (function() {
190321
190345
  function performWorkUntilDeadline() {
@@ -190572,9 +190596,9 @@ var require_scheduler_development = __commonJS({
190572
190596
  }
190573
190597
  });
190574
190598
 
190575
- // node_modules/scheduler/index.js
190599
+ // node_modules/react-reconciler/node_modules/scheduler/index.js
190576
190600
  var require_scheduler = __commonJS({
190577
- "node_modules/scheduler/index.js"(exports2, module2) {
190601
+ "node_modules/react-reconciler/node_modules/scheduler/index.js"(exports2, module2) {
190578
190602
  "use strict";
190579
190603
  if (process.env.NODE_ENV === "production") {
190580
190604
  module2.exports = require_scheduler_production();
@@ -234535,7 +234559,7 @@ var require_react_jsx_runtime_development = __commonJS({
234535
234559
  case REACT_PORTAL_TYPE:
234536
234560
  return "Portal";
234537
234561
  case REACT_CONTEXT_TYPE:
234538
- return (type.displayName || "Context") + ".Provider";
234562
+ return type.displayName || "Context";
234539
234563
  case REACT_CONSUMER_TYPE:
234540
234564
  return (type._context.displayName || "Context") + ".Consumer";
234541
234565
  case REACT_FORWARD_REF_TYPE:
@@ -234623,8 +234647,8 @@ var require_react_jsx_runtime_development = __commonJS({
234623
234647
  componentName = this.props.ref;
234624
234648
  return void 0 !== componentName ? componentName : null;
234625
234649
  }
234626
- function ReactElement(type, key, self2, source2, owner, props, debugStack, debugTask) {
234627
- self2 = props.ref;
234650
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
234651
+ var refProp = props.ref;
234628
234652
  type = {
234629
234653
  $$typeof: REACT_ELEMENT_TYPE,
234630
234654
  type,
@@ -234632,7 +234656,7 @@ var require_react_jsx_runtime_development = __commonJS({
234632
234656
  props,
234633
234657
  _owner: owner
234634
234658
  };
234635
- null !== (void 0 !== self2 ? self2 : null) ? Object.defineProperty(type, "ref", {
234659
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
234636
234660
  enumerable: false,
234637
234661
  get: elementRefGetterWithDeprecationWarning
234638
234662
  }) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
@@ -234664,7 +234688,7 @@ var require_react_jsx_runtime_development = __commonJS({
234664
234688
  Object.freeze && (Object.freeze(type.props), Object.freeze(type));
234665
234689
  return type;
234666
234690
  }
234667
- function jsxDEVImpl(type, config4, maybeKey, isStaticChildren, source2, self2, debugStack, debugTask) {
234691
+ function jsxDEVImpl(type, config4, maybeKey, isStaticChildren, debugStack, debugTask) {
234668
234692
  var children = config4.children;
234669
234693
  if (void 0 !== children)
234670
234694
  if (isStaticChildren)
@@ -234706,20 +234730,19 @@ var require_react_jsx_runtime_development = __commonJS({
234706
234730
  return ReactElement(
234707
234731
  type,
234708
234732
  children,
234709
- self2,
234710
- source2,
234711
- getOwner(),
234712
234733
  maybeKey,
234734
+ getOwner(),
234713
234735
  debugStack,
234714
234736
  debugTask
234715
234737
  );
234716
234738
  }
234717
234739
  function validateChildKeys(node2) {
234718
- "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_ELEMENT_TYPE && node2._store && (node2._store.validated = 1);
234740
+ isValidElement(node2) ? node2._store && (node2._store.validated = 1) : "object" === typeof node2 && null !== node2 && node2.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node2._payload.status ? isValidElement(node2._payload.value) && node2._payload.value._store && (node2._payload.value._store.validated = 1) : node2._store && (node2._store.validated = 1));
234741
+ }
234742
+ function isValidElement(object) {
234743
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
234719
234744
  }
234720
- var React35 = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
234721
- Symbol.for("react.provider");
234722
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React35.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
234745
+ var React35 = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React35.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
234723
234746
  return null;
234724
234747
  };
234725
234748
  React35 = {
@@ -234736,28 +234759,24 @@ var require_react_jsx_runtime_development = __commonJS({
234736
234759
  var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
234737
234760
  var didWarnAboutKeySpread = {};
234738
234761
  exports2.Fragment = REACT_FRAGMENT_TYPE;
234739
- exports2.jsx = function(type, config4, maybeKey, source2, self2) {
234762
+ exports2.jsx = function(type, config4, maybeKey) {
234740
234763
  var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
234741
234764
  return jsxDEVImpl(
234742
234765
  type,
234743
234766
  config4,
234744
234767
  maybeKey,
234745
234768
  false,
234746
- source2,
234747
- self2,
234748
234769
  trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
234749
234770
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
234750
234771
  );
234751
234772
  };
234752
- exports2.jsxs = function(type, config4, maybeKey, source2, self2) {
234773
+ exports2.jsxs = function(type, config4, maybeKey) {
234753
234774
  var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
234754
234775
  return jsxDEVImpl(
234755
234776
  type,
234756
234777
  config4,
234757
234778
  maybeKey,
234758
234779
  true,
234759
- source2,
234760
- self2,
234761
234780
  trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
234762
234781
  trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
234763
234782
  );
@@ -264273,6 +264292,7 @@ var FinishReason;
264273
264292
  FinishReason2["MALFORMED_FUNCTION_CALL"] = "MALFORMED_FUNCTION_CALL";
264274
264293
  FinishReason2["IMAGE_SAFETY"] = "IMAGE_SAFETY";
264275
264294
  FinishReason2["UNEXPECTED_TOOL_CALL"] = "UNEXPECTED_TOOL_CALL";
264295
+ FinishReason2["IMAGE_PROHIBITED_CONTENT"] = "IMAGE_PROHIBITED_CONTENT";
264276
264296
  })(FinishReason || (FinishReason = {}));
264277
264297
  var HarmProbability;
264278
264298
  (function(HarmProbability2) {
@@ -264350,6 +264370,12 @@ var AdapterSize;
264350
264370
  AdapterSize2["ADAPTER_SIZE_SIXTEEN"] = "ADAPTER_SIZE_SIXTEEN";
264351
264371
  AdapterSize2["ADAPTER_SIZE_THIRTY_TWO"] = "ADAPTER_SIZE_THIRTY_TWO";
264352
264372
  })(AdapterSize || (AdapterSize = {}));
264373
+ var TuningTask;
264374
+ (function(TuningTask2) {
264375
+ TuningTask2["TUNING_TASK_UNSPECIFIED"] = "TUNING_TASK_UNSPECIFIED";
264376
+ TuningTask2["TUNING_TASK_I2V"] = "TUNING_TASK_I2V";
264377
+ TuningTask2["TUNING_TASK_T2V"] = "TUNING_TASK_T2V";
264378
+ })(TuningTask || (TuningTask = {}));
264353
264379
  var FeatureSelectionPreference;
264354
264380
  (function(FeatureSelectionPreference2) {
264355
264381
  FeatureSelectionPreference2["FEATURE_SELECTION_PREFERENCE_UNSPECIFIED"] = "FEATURE_SELECTION_PREFERENCE_UNSPECIFIED";
@@ -264893,7 +264919,7 @@ function __asyncValues(o) {
264893
264919
  }, reject);
264894
264920
  }
264895
264921
  }
264896
- var SDK_VERSION2 = "1.20.0";
264922
+ var SDK_VERSION2 = "1.22.0";
264897
264923
  var LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION2}`;
264898
264924
  var hasMcpToolUsageFromMcpToTool = false;
264899
264925
  function listAllTools(mcpClient, maxTools = 100) {
@@ -292202,7 +292228,7 @@ async function getPackageJson2() {
292202
292228
  // packages/cli/src/utils/version.ts
292203
292229
  async function getCliVersion() {
292204
292230
  const pkgJson = await getPackageJson2();
292205
- return "0.1.0-beta.26";
292231
+ return "0.1.0-beta.27";
292206
292232
  }
292207
292233
 
292208
292234
  // packages/cli/src/config/config.ts
@@ -314078,7 +314104,7 @@ var ToolMessage = ({
314078
314104
  activities
314079
314105
  }) => {
314080
314106
  const availableHeight = availableTerminalHeight ? Math.min(availableTerminalHeight, 20) : 20;
314081
- const childWidth = terminalWidth - 3;
314107
+ const childWidth = terminalWidth - STATUS_INDICATOR_WIDTH - 1;
314082
314108
  if (typeof resultDisplay === "string") {
314083
314109
  if (resultDisplay.length > MAXIMUM_RESULT_DISPLAY_CHARACTERS) {
314084
314110
  resultDisplay = "..." + resultDisplay.slice(-MAXIMUM_RESULT_DISPLAY_CHARACTERS);
@@ -314098,40 +314124,55 @@ var ToolMessage = ({
314098
314124
  }
314099
314125
  )
314100
314126
  ] }),
314101
- (activities?.length || resultDisplay) && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { paddingLeft: STATUS_INDICATOR_WIDTH, width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "column", children: [
314127
+ (activities?.length || resultDisplay) && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "column", children: [
314102
314128
  activities && activities.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "column", marginBottom: 1, children: [
314103
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, bold: true, children: "Activities:" }),
314104
- activities.map((activity, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { marginLeft: 2, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Text, { color: Colors.Gray, children: [
314129
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { children: [
314130
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, children: "\u23BF " }),
314131
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, bold: true, children: "Activities:" })
314132
+ ] }),
314133
+ activities.map((activity, index) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { marginLeft: 4, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Text, { color: Colors.Gray, children: [
314105
314134
  "\u2022 ",
314106
314135
  activity
314107
314136
  ] }) }, index))
314108
314137
  ] }),
314109
314138
  resultDisplay && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "column", children: [
314110
- activities && activities.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { marginBottom: 1, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, bold: true, children: "Final Output:" }) }),
314111
- typeof resultDisplay === "string" && renderOutputAsMarkdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { flexDirection: "column", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
314112
- MarkdownDisplay,
314113
- {
314114
- text: resultDisplay,
314115
- isPending: false,
314116
- availableTerminalHeight: availableHeight,
314117
- terminalWidth: childWidth
314118
- }
314119
- ) }),
314120
- typeof resultDisplay === "string" && !renderOutputAsMarkdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { wrap: "wrap", children: resultDisplay }) }),
314121
- typeof resultDisplay !== "string" && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { marginTop: 1, flexDirection: "column", children: [
314122
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
314123
- DiffRenderer,
314139
+ activities && activities.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { marginBottom: 1, children: [
314140
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, children: "\u23BF " }),
314141
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, bold: true, children: "Final Output:" })
314142
+ ] }),
314143
+ typeof resultDisplay === "string" && renderOutputAsMarkdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "row", children: [
314144
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, children: "\u23BF " }),
314145
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { flexDirection: "column", flexGrow: 1, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
314146
+ MarkdownDisplay,
314124
314147
  {
314125
- diffContent: resultDisplay.fileDiff,
314126
- filename: resultDisplay.fileName,
314127
- availableTerminalHeight: 20,
314128
- terminalWidth: childWidth
314148
+ text: resultDisplay.trim(),
314149
+ isPending: false,
314150
+ availableTerminalHeight: availableHeight,
314151
+ terminalWidth: terminalWidth - STATUS_INDICATOR_WIDTH - 2
314129
314152
  }
314130
- ),
314131
- resultDisplay.statusMessage && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: status === "Success" /* Success */ ? Colors.AccentGreen : status === "Canceled" /* Canceled */ ? Colors.AccentYellow : status === "Error" /* Error */ ? Colors.AccentRed : Colors.AccentGreen, children: resultDisplay.statusMessage }) })
314153
+ ) })
314154
+ ] }),
314155
+ typeof resultDisplay === "string" && !renderOutputAsMarkdown && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "row", children: [
314156
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, children: "\u23BF " }),
314157
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { wrap: "wrap", children: resultDisplay })
314158
+ ] }),
314159
+ typeof resultDisplay !== "string" && /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "row", marginTop: 1, children: [
314160
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: Colors.Gray, children: "\u23BF " }),
314161
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Box_default, { flexDirection: "column", flexGrow: 1, children: [
314162
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
314163
+ DiffRenderer,
314164
+ {
314165
+ diffContent: resultDisplay.fileDiff,
314166
+ filename: resultDisplay.fileName,
314167
+ availableTerminalHeight: 20,
314168
+ terminalWidth: terminalWidth - STATUS_INDICATOR_WIDTH - 2
314169
+ }
314170
+ ),
314171
+ resultDisplay.statusMessage && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Box_default, { marginTop: 1, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Text, { color: status === "Success" /* Success */ ? Colors.AccentGreen : status === "Canceled" /* Canceled */ ? Colors.AccentYellow : status === "Error" /* Error */ ? Colors.AccentRed : Colors.AccentGreen, children: resultDisplay.statusMessage }) })
314172
+ ] })
314132
314173
  ] })
314133
314174
  ] })
314134
- ] }) })
314175
+ ] })
314135
314176
  ] });
314136
314177
  };
314137
314178
  var ToolStatusIndicator = ({
@@ -319951,7 +319992,7 @@ function preserveDiffDisplay(toolName, tool, toolDisplayText, toolDataOutput) {
319951
319992
  return toolDisplayText;
319952
319993
  }
319953
319994
  function robustTrim(text) {
319954
- return text.replace(/^\s+|\s+$/g, "").replace(/\n+/g, "\n").replace(/\r\n/g, "\n").replace(/\r/g, "\n").replace(/[\u00A0\u1680\u2000-\u200A\u202F\u205F\u3000]/g, " ").trim();
319995
+ return text.replace(/\r\n/g, "\n").replace(/\r/g, "\n").replace(/[\u00A0\u1680\u2000-\u200A\u202F\u205F\u3000]/g, " ").replace(/^\s+/, "").replace(/\s+$/, "").replace(/\n{3,}/g, "\n\n");
319955
319996
  }
319956
319997
  function preserveDiffOnStatusChange(tool, status) {
319957
319998
  if (status === "cancel" && tool.confirmationDetails?.type === "edit") {
@@ -320033,7 +320074,6 @@ function useWebThinkerStream(apiBackend, _history, addItem, setShowHelp, config4
320033
320074
  type: "thought",
320034
320075
  text: thoughtText
320035
320076
  });
320036
- setThought({ subject: thoughtText, description: "" });
320037
320077
  }
320038
320078
  }
320039
320079
  } else if (event.type === "run_item_stream_event") {
@@ -320052,7 +320092,6 @@ function useWebThinkerStream(apiBackend, _history, addItem, setShowHelp, config4
320052
320092
  type: "thought",
320053
320093
  text: thoughtText
320054
320094
  });
320055
- setThought({ subject: thoughtText, description: "" });
320056
320095
  }
320057
320096
  }
320058
320097
  const requestId = permRequest.id;
@@ -320328,6 +320367,21 @@ function useWebThinkerStream(apiBackend, _history, addItem, setShowHelp, config4
320328
320367
  }
320329
320368
  break;
320330
320369
  }
320370
+ case "runner.cancelled": {
320371
+ console.log("[runner.cancelled] Received cancellation event from backend");
320372
+ if (pendingHistoryItemRef.current) {
320373
+ addItem(pendingHistoryItemRef.current, userMessageTimestamp);
320374
+ }
320375
+ addItem({
320376
+ type: "error" /* ERROR */,
320377
+ text: "Interrupted by user."
320378
+ }, userMessageTimestamp);
320379
+ setPendingHistoryItem(null);
320380
+ setStreamingState("idle" /* Idle */);
320381
+ setIsResponding(false);
320382
+ setThought(null);
320383
+ break;
320384
+ }
320331
320385
  case "agent.execution_complete": {
320332
320386
  const finalData = event.item?.data;
320333
320387
  const itemError = event.item?.error;
@@ -320362,20 +320416,50 @@ function useWebThinkerStream(apiBackend, _history, addItem, setShowHelp, config4
320362
320416
  }, [pendingHistoryItemRef, addItem, setPendingHistoryItem]);
320363
320417
  use_input_default((_input, key) => {
320364
320418
  if (streamingState === "responding" /* Responding */ && key.escape) {
320419
+ console.log("[ESC] Escape key pressed during streaming");
320420
+ console.log("[ESC] turnCancelledRef.current:", turnCancelledRef.current);
320421
+ console.log("[ESC] backend available:", !!backend);
320365
320422
  if (turnCancelledRef.current) {
320423
+ console.log("[ESC] Already cancelled, ignoring");
320366
320424
  return;
320367
320425
  }
320368
320426
  turnCancelledRef.current = true;
320369
- abortControllerRef.current?.abort();
320370
320427
  if (backend) {
320371
- backend.call("/webthinker/cancel", {}).catch((error3) => {
320372
- console.error("Failed to cancel backend execution:", error3);
320428
+ console.log('[ESC] Calling backend.call("/webthinker/cancel")...');
320429
+ backend.call("/webthinker/cancel", {}).then((result) => {
320430
+ console.log("[ESC] Cancel API response:", result);
320431
+ if (result?.success) {
320432
+ console.log("[ESC] Cancellation accepted by backend");
320433
+ } else {
320434
+ console.error("[ESC] Backend rejected cancellation:", result?.message);
320435
+ addItem({
320436
+ type: "error" /* ERROR */,
320437
+ text: result?.message || "Failed to cancel execution"
320438
+ }, Date.now());
320439
+ abortControllerRef.current?.abort();
320440
+ }
320441
+ }).catch((error3) => {
320442
+ console.error("[ESC] Failed to call cancel API:", error3);
320443
+ addItem({
320444
+ type: "error" /* ERROR */,
320445
+ text: "Failed to cancel: network error"
320446
+ }, Date.now());
320447
+ abortControllerRef.current?.abort();
320373
320448
  });
320449
+ } else {
320450
+ console.error("[ESC] Backend not available");
320451
+ addItem({
320452
+ type: "error" /* ERROR */,
320453
+ text: "Cannot cancel: backend not available"
320454
+ }, Date.now());
320455
+ abortControllerRef.current?.abort();
320374
320456
  }
320375
- setPendingHistoryItem(null);
320376
- setIsResponding(false);
320377
- setStreamingState("idle" /* Idle */);
320378
- setThought(null);
320457
+ setTimeout(() => {
320458
+ if (turnCancelledRef.current && streamingState === "responding" /* Responding */) {
320459
+ console.warn("[ESC] Timeout waiting for runner.cancelled event, forcing abort");
320460
+ abortControllerRef.current?.abort();
320461
+ }
320462
+ }, 2e3);
320379
320463
  }
320380
320464
  });
320381
320465
  const submitQuery = (0, import_react72.useCallback)(
@@ -320468,10 +320552,14 @@ function useWebThinkerStream(apiBackend, _history, addItem, setShowHelp, config4
320468
320552
  detectedImages.length > 0 ? detectedImages : void 0
320469
320553
  );
320470
320554
  for await (const event of eventStream) {
320471
- if (abortController.signal.aborted || turnCancelledRef.current) {
320555
+ if (abortController.signal.aborted) {
320472
320556
  break;
320473
320557
  }
320474
320558
  await processWebThinkerEvent(event, userMessageTimestamp);
320559
+ if (event.type === "run_item_stream_event" && event.name === "runner.cancelled") {
320560
+ console.log("[Stream] Received runner.cancelled, breaking event loop");
320561
+ break;
320562
+ }
320475
320563
  }
320476
320564
  if (pendingHistoryItemRef.current) {
320477
320565
  addItem(pendingHistoryItemRef.current, userMessageTimestamp);
Binary file
@@ -1,4 +1,4 @@
1
- ../../Scripts/jsonschema.exe,sha256=cHhfb3RdtF7GIknwVHG4TGV5heGvjWmcGsPrkwIA5Zw,103282
1
+ ../../Scripts/jsonschema.exe,sha256=HCoYTQE693uXTbkaVPjxkXiD8M4g_6KS1rPQP2VQuUM,103282
2
2
  jsonschema/__init__.py,sha256=p-Rw4TS_0OPHZIJyImDWsdWgmd6CPWHMXLq7BuQxTGc,3941
3
3
  jsonschema/__main__.py,sha256=iLsZf2upUB3ilBKTlMnyK-HHt2Cnnfkwwxi_c6gLvSA,115
4
4
  jsonschema/_format.py,sha256=ip1N16CBBOb_8sM_iejyW0U5JY9kXoz3O_AFj1SHFl8,15581
@@ -1,4 +1,4 @@
1
- ../../Scripts/mcp.exe,sha256=TBdB3i_Xh8avxkVF7ChkMDLsnsJT13SmxNpz13TNf1Y,103273
1
+ ../../Scripts/mcp.exe,sha256=JErzh9-P5MStgsKzLawk692DJJzX_3gixLQbjlr6BPc,103273
2
2
  mcp/__init__.py,sha256=gQWhSmjAxSrOI_hqwvA58dofOOD_0aS419CPx17RQQU,2680
3
3
  mcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  mcp/types.py,sha256=2QglMTmjNORVt-t-EMJbo8NruL7AM8yodYcY9gKfiBI,42883
@@ -1,5 +1,5 @@
1
- ../../Scripts/f2py.exe,sha256=Yj8-GUItb3YftWoaBK53-AD_N3Eh-GLipH8Bn5_wYbA,103285
2
- ../../Scripts/numpy-config.exe,sha256=-uwrx6d0GfgmX92L8vMrOgjVVlSuyjrHoRGd19xETAU,103285
1
+ ../../Scripts/f2py.exe,sha256=xePuVuy_VKJ3xkToZyOiA4jxWH-o5A71AKb7WWUprRI,103285
2
+ ../../Scripts/numpy-config.exe,sha256=iAnAG9zwqQ0Dvt-Hzx0NXBNISoyoRerPau_J4cdATjA,103285
3
3
  numpy/conftest.py,sha256=iSiBmf_G9XM4jELWnZEAfdnxzbz1XbmIkKj3e46QljE,8835
4
4
  numpy/dtypes.py,sha256=cPkS6BLRvpfsUzhd7Vk1L7_VcenWb1nuHuCxc9fYC4I,1353
5
5
  numpy/dtypes.pyi,sha256=Kx4i1cde8UPFY0gGpPyMRP8WULEn2BEAwKzIVNzLx14,16175
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphai/adal-cli-win32-x64",
3
- "version": "0.1.0-beta.26",
3
+ "version": "0.1.0-beta.27",
4
4
  "description": "AI-powered CLI for development and research - win32-x64",
5
5
  "bin": {
6
6
  "adal": "adal-cli.js"