@funnycode/myclaude 0.1.66 → 0.1.67

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 (3) hide show
  1. package/dist/myclaude.js +2417 -851
  2. package/dist/myclaude.mjs +2417 -851
  3. package/package.json +1 -1
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.66",
8
- BUILD_TIME: "2026-07-14T20:28:02.439Z",
7
+ VERSION: "0.1.67",
8
+ BUILD_TIME: "2026-07-14T22:38:52.533Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -8323,16 +8323,6 @@ var init__baseClone = __esm(() => {
8323
8323
  _baseClone_default = baseClone;
8324
8324
  });
8325
8325
 
8326
- // node_modules/lodash-es/cloneDeep.js
8327
- function cloneDeep(value) {
8328
- return _baseClone_default(value, CLONE_DEEP_FLAG2 | CLONE_SYMBOLS_FLAG2);
8329
- }
8330
- var CLONE_DEEP_FLAG2 = 1, CLONE_SYMBOLS_FLAG2 = 4, cloneDeep_default;
8331
- var init_cloneDeep = __esm(() => {
8332
- init__baseClone();
8333
- cloneDeep_default = cloneDeep;
8334
- });
8335
-
8336
8326
  // src/utils/slowOperations.ts
8337
8327
  import {
8338
8328
  closeSync,
@@ -155054,720 +155044,1603 @@ function whichSync2(bin) {
155054
155044
  }
155055
155045
  var init_which2 = () => {};
155056
155046
 
155057
- // node_modules/lodash-es/_baseFindIndex.js
155058
- function baseFindIndex(array2, predicate, fromIndex, fromRight) {
155059
- var length = array2.length, index = fromIndex + (fromRight ? 1 : -1);
155060
- while (fromRight ? index-- : ++index < length) {
155061
- if (predicate(array2[index], index, array2)) {
155062
- return index;
155047
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_freeGlobal.js
155048
+ var freeGlobal2, _freeGlobal_default2;
155049
+ var init__freeGlobal2 = __esm(() => {
155050
+ freeGlobal2 = typeof global == "object" && global && global.Object === Object && global;
155051
+ _freeGlobal_default2 = freeGlobal2;
155052
+ });
155053
+
155054
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_root.js
155055
+ var freeSelf2, root2, _root_default2;
155056
+ var init__root2 = __esm(() => {
155057
+ init__freeGlobal2();
155058
+ freeSelf2 = typeof self == "object" && self && self.Object === Object && self;
155059
+ root2 = _freeGlobal_default2 || freeSelf2 || Function("return this")();
155060
+ _root_default2 = root2;
155061
+ });
155062
+
155063
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Symbol.js
155064
+ var Symbol3, _Symbol_default2;
155065
+ var init__Symbol2 = __esm(() => {
155066
+ init__root2();
155067
+ Symbol3 = _root_default2.Symbol;
155068
+ _Symbol_default2 = Symbol3;
155069
+ });
155070
+
155071
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getRawTag.js
155072
+ function getRawTag2(value) {
155073
+ var isOwn = hasOwnProperty15.call(value, symToStringTag3), tag = value[symToStringTag3];
155074
+ try {
155075
+ value[symToStringTag3] = undefined;
155076
+ var unmasked = true;
155077
+ } catch (e) {}
155078
+ var result = nativeObjectToString3.call(value);
155079
+ if (unmasked) {
155080
+ if (isOwn) {
155081
+ value[symToStringTag3] = tag;
155082
+ } else {
155083
+ delete value[symToStringTag3];
155063
155084
  }
155064
155085
  }
155065
- return -1;
155086
+ return result;
155066
155087
  }
155067
- var _baseFindIndex_default;
155068
- var init__baseFindIndex = __esm(() => {
155069
- _baseFindIndex_default = baseFindIndex;
155088
+ var objectProto17, hasOwnProperty15, nativeObjectToString3, symToStringTag3, _getRawTag_default2;
155089
+ var init__getRawTag2 = __esm(() => {
155090
+ init__Symbol2();
155091
+ objectProto17 = Object.prototype;
155092
+ hasOwnProperty15 = objectProto17.hasOwnProperty;
155093
+ nativeObjectToString3 = objectProto17.toString;
155094
+ symToStringTag3 = _Symbol_default2 ? _Symbol_default2.toStringTag : undefined;
155095
+ _getRawTag_default2 = getRawTag2;
155070
155096
  });
155071
155097
 
155072
- // node_modules/lodash-es/_baseIsNaN.js
155073
- function baseIsNaN(value) {
155074
- return value !== value;
155098
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_objectToString.js
155099
+ function objectToString4(value) {
155100
+ return nativeObjectToString4.call(value);
155075
155101
  }
155076
- var _baseIsNaN_default;
155077
- var init__baseIsNaN = __esm(() => {
155078
- _baseIsNaN_default = baseIsNaN;
155102
+ var objectProto18, nativeObjectToString4, _objectToString_default2;
155103
+ var init__objectToString2 = __esm(() => {
155104
+ objectProto18 = Object.prototype;
155105
+ nativeObjectToString4 = objectProto18.toString;
155106
+ _objectToString_default2 = objectToString4;
155079
155107
  });
155080
155108
 
155081
- // node_modules/lodash-es/_strictIndexOf.js
155082
- function strictIndexOf(array2, value, fromIndex) {
155083
- var index = fromIndex - 1, length = array2.length;
155084
- while (++index < length) {
155085
- if (array2[index] === value) {
155086
- return index;
155087
- }
155109
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseGetTag.js
155110
+ function baseGetTag2(value) {
155111
+ if (value == null) {
155112
+ return value === undefined ? undefinedTag2 : nullTag2;
155088
155113
  }
155089
- return -1;
155114
+ return symToStringTag4 && symToStringTag4 in Object(value) ? _getRawTag_default2(value) : _objectToString_default2(value);
155090
155115
  }
155091
- var _strictIndexOf_default;
155092
- var init__strictIndexOf = __esm(() => {
155093
- _strictIndexOf_default = strictIndexOf;
155116
+ var nullTag2 = "[object Null]", undefinedTag2 = "[object Undefined]", symToStringTag4, _baseGetTag_default2;
155117
+ var init__baseGetTag2 = __esm(() => {
155118
+ init__Symbol2();
155119
+ init__getRawTag2();
155120
+ init__objectToString2();
155121
+ symToStringTag4 = _Symbol_default2 ? _Symbol_default2.toStringTag : undefined;
155122
+ _baseGetTag_default2 = baseGetTag2;
155094
155123
  });
155095
155124
 
155096
- // node_modules/lodash-es/_baseIndexOf.js
155097
- function baseIndexOf(array2, value, fromIndex) {
155098
- return value === value ? _strictIndexOf_default(array2, value, fromIndex) : _baseFindIndex_default(array2, _baseIsNaN_default, fromIndex);
155125
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isObjectLike.js
155126
+ function isObjectLike2(value) {
155127
+ return value != null && typeof value == "object";
155099
155128
  }
155100
- var _baseIndexOf_default;
155101
- var init__baseIndexOf = __esm(() => {
155102
- init__baseFindIndex();
155103
- init__baseIsNaN();
155104
- init__strictIndexOf();
155105
- _baseIndexOf_default = baseIndexOf;
155129
+ var isObjectLike_default2;
155130
+ var init_isObjectLike2 = __esm(() => {
155131
+ isObjectLike_default2 = isObjectLike2;
155106
155132
  });
155107
155133
 
155108
- // node_modules/lodash-es/_arrayIncludes.js
155109
- function arrayIncludes(array2, value) {
155110
- var length = array2 == null ? 0 : array2.length;
155111
- return !!length && _baseIndexOf_default(array2, value, 0) > -1;
155112
- }
155113
- var _arrayIncludes_default;
155114
- var init__arrayIncludes = __esm(() => {
155115
- init__baseIndexOf();
155116
- _arrayIncludes_default = arrayIncludes;
155134
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isArray.js
155135
+ var isArray4, isArray_default2;
155136
+ var init_isArray2 = __esm(() => {
155137
+ isArray4 = Array.isArray;
155138
+ isArray_default2 = isArray4;
155117
155139
  });
155118
155140
 
155119
- // node_modules/lodash-es/_isFlattenable.js
155120
- function isFlattenable(value) {
155121
- return isArray_default(value) || isArguments_default(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
155141
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isObject.js
155142
+ function isObject5(value) {
155143
+ var type = typeof value;
155144
+ return value != null && (type == "object" || type == "function");
155122
155145
  }
155123
- var spreadableSymbol, _isFlattenable_default;
155124
- var init__isFlattenable = __esm(() => {
155125
- init__Symbol();
155126
- init_isArguments();
155127
- init_isArray();
155128
- spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : undefined;
155129
- _isFlattenable_default = isFlattenable;
155146
+ var isObject_default2;
155147
+ var init_isObject2 = __esm(() => {
155148
+ isObject_default2 = isObject5;
155130
155149
  });
155131
155150
 
155132
- // node_modules/lodash-es/_baseFlatten.js
155133
- function baseFlatten(array2, depth, predicate, isStrict, result) {
155134
- var index = -1, length = array2.length;
155135
- predicate || (predicate = _isFlattenable_default);
155136
- result || (result = []);
155137
- while (++index < length) {
155138
- var value = array2[index];
155139
- if (depth > 0 && predicate(value)) {
155140
- if (depth > 1) {
155141
- baseFlatten(value, depth - 1, predicate, isStrict, result);
155142
- } else {
155143
- _arrayPush_default(result, value);
155144
- }
155145
- } else if (!isStrict) {
155146
- result[result.length] = value;
155147
- }
155151
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isFunction.js
155152
+ function isFunction4(value) {
155153
+ if (!isObject_default2(value)) {
155154
+ return false;
155148
155155
  }
155149
- return result;
155156
+ var tag = _baseGetTag_default2(value);
155157
+ return tag == funcTag4 || tag == genTag3 || tag == asyncTag2 || tag == proxyTag2;
155150
155158
  }
155151
- var _baseFlatten_default;
155152
- var init__baseFlatten = __esm(() => {
155153
- init__arrayPush();
155154
- init__isFlattenable();
155155
- _baseFlatten_default = baseFlatten;
155159
+ var asyncTag2 = "[object AsyncFunction]", funcTag4 = "[object Function]", genTag3 = "[object GeneratorFunction]", proxyTag2 = "[object Proxy]", isFunction_default2;
155160
+ var init_isFunction2 = __esm(() => {
155161
+ init__baseGetTag2();
155162
+ init_isObject2();
155163
+ isFunction_default2 = isFunction4;
155156
155164
  });
155157
155165
 
155158
- // node_modules/lodash-es/flatten.js
155159
- function flatten(array2) {
155160
- var length = array2 == null ? 0 : array2.length;
155161
- return length ? _baseFlatten_default(array2, 1) : [];
155166
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_coreJsData.js
155167
+ var coreJsData2, _coreJsData_default2;
155168
+ var init__coreJsData2 = __esm(() => {
155169
+ init__root2();
155170
+ coreJsData2 = _root_default2["__core-js_shared__"];
155171
+ _coreJsData_default2 = coreJsData2;
155172
+ });
155173
+
155174
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_isMasked.js
155175
+ function isMasked2(func) {
155176
+ return !!maskSrcKey2 && maskSrcKey2 in func;
155162
155177
  }
155163
- var flatten_default;
155164
- var init_flatten = __esm(() => {
155165
- init__baseFlatten();
155166
- flatten_default = flatten;
155178
+ var maskSrcKey2, _isMasked_default2;
155179
+ var init__isMasked2 = __esm(() => {
155180
+ init__coreJsData2();
155181
+ maskSrcKey2 = function() {
155182
+ var uid = /[^.]+$/.exec(_coreJsData_default2 && _coreJsData_default2.keys && _coreJsData_default2.keys.IE_PROTO || "");
155183
+ return uid ? "Symbol(src)_1." + uid : "";
155184
+ }();
155185
+ _isMasked_default2 = isMasked2;
155167
155186
  });
155168
155187
 
155169
- // node_modules/lodash-es/_flatRest.js
155170
- function flatRest(func) {
155171
- return _setToString_default(_overRest_default(func, undefined, flatten_default), func + "");
155188
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_toSource.js
155189
+ function toSource2(func) {
155190
+ if (func != null) {
155191
+ try {
155192
+ return funcToString4.call(func);
155193
+ } catch (e) {}
155194
+ try {
155195
+ return func + "";
155196
+ } catch (e) {}
155197
+ }
155198
+ return "";
155172
155199
  }
155173
- var _flatRest_default;
155174
- var init__flatRest = __esm(() => {
155175
- init_flatten();
155176
- init__overRest();
155177
- init__setToString();
155178
- _flatRest_default = flatRest;
155200
+ var funcProto4, funcToString4, _toSource_default2;
155201
+ var init__toSource2 = __esm(() => {
155202
+ funcProto4 = Function.prototype;
155203
+ funcToString4 = funcProto4.toString;
155204
+ _toSource_default2 = toSource2;
155179
155205
  });
155180
155206
 
155181
- // node_modules/lodash-es/_baseSlice.js
155182
- function baseSlice(array2, start, end) {
155183
- var index = -1, length = array2.length;
155184
- if (start < 0) {
155185
- start = -start > length ? 0 : length + start;
155207
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseIsNative.js
155208
+ function baseIsNative2(value) {
155209
+ if (!isObject_default2(value) || _isMasked_default2(value)) {
155210
+ return false;
155186
155211
  }
155187
- end = end > length ? length : end;
155188
- if (end < 0) {
155189
- end += length;
155212
+ var pattern = isFunction_default2(value) ? reIsNative2 : reIsHostCtor2;
155213
+ return pattern.test(_toSource_default2(value));
155214
+ }
155215
+ var reRegExpChar2, reIsHostCtor2, funcProto5, objectProto19, funcToString5, hasOwnProperty16, reIsNative2, _baseIsNative_default2;
155216
+ var init__baseIsNative2 = __esm(() => {
155217
+ init_isFunction2();
155218
+ init__isMasked2();
155219
+ init_isObject2();
155220
+ init__toSource2();
155221
+ reRegExpChar2 = /[\\^$.*+?()[\]{}|]/g;
155222
+ reIsHostCtor2 = /^\[object .+?Constructor\]$/;
155223
+ funcProto5 = Function.prototype;
155224
+ objectProto19 = Object.prototype;
155225
+ funcToString5 = funcProto5.toString;
155226
+ hasOwnProperty16 = objectProto19.hasOwnProperty;
155227
+ reIsNative2 = RegExp("^" + funcToString5.call(hasOwnProperty16).replace(reRegExpChar2, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
155228
+ _baseIsNative_default2 = baseIsNative2;
155229
+ });
155230
+
155231
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getValue.js
155232
+ function getValue2(object2, key) {
155233
+ return object2 == null ? undefined : object2[key];
155234
+ }
155235
+ var _getValue_default2;
155236
+ var init__getValue2 = __esm(() => {
155237
+ _getValue_default2 = getValue2;
155238
+ });
155239
+
155240
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getNative.js
155241
+ function getNative2(object2, key) {
155242
+ var value = _getValue_default2(object2, key);
155243
+ return _baseIsNative_default2(value) ? value : undefined;
155244
+ }
155245
+ var _getNative_default2;
155246
+ var init__getNative2 = __esm(() => {
155247
+ init__baseIsNative2();
155248
+ init__getValue2();
155249
+ _getNative_default2 = getNative2;
155250
+ });
155251
+
155252
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_WeakMap.js
155253
+ var WeakMap3, _WeakMap_default2;
155254
+ var init__WeakMap2 = __esm(() => {
155255
+ init__getNative2();
155256
+ init__root2();
155257
+ WeakMap3 = _getNative_default2(_root_default2, "WeakMap");
155258
+ _WeakMap_default2 = WeakMap3;
155259
+ });
155260
+
155261
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseCreate.js
155262
+ var objectCreate2, baseCreate2, _baseCreate_default2;
155263
+ var init__baseCreate2 = __esm(() => {
155264
+ init_isObject2();
155265
+ objectCreate2 = Object.create;
155266
+ baseCreate2 = function() {
155267
+ function object2() {}
155268
+ return function(proto2) {
155269
+ if (!isObject_default2(proto2)) {
155270
+ return {};
155271
+ }
155272
+ if (objectCreate2) {
155273
+ return objectCreate2(proto2);
155274
+ }
155275
+ object2.prototype = proto2;
155276
+ var result = new object2;
155277
+ object2.prototype = undefined;
155278
+ return result;
155279
+ };
155280
+ }();
155281
+ _baseCreate_default2 = baseCreate2;
155282
+ });
155283
+
155284
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_copyArray.js
155285
+ function copyArray2(source, array2) {
155286
+ var index = -1, length = source.length;
155287
+ array2 || (array2 = Array(length));
155288
+ while (++index < length) {
155289
+ array2[index] = source[index];
155190
155290
  }
155191
- length = start > end ? 0 : end - start >>> 0;
155192
- start >>>= 0;
155193
- var result = Array(length);
155291
+ return array2;
155292
+ }
155293
+ var _copyArray_default2;
155294
+ var init__copyArray2 = __esm(() => {
155295
+ _copyArray_default2 = copyArray2;
155296
+ });
155297
+
155298
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_defineProperty.js
155299
+ var defineProperty2, _defineProperty_default2;
155300
+ var init__defineProperty2 = __esm(() => {
155301
+ init__getNative2();
155302
+ defineProperty2 = function() {
155303
+ try {
155304
+ var func = _getNative_default2(Object, "defineProperty");
155305
+ func({}, "", {});
155306
+ return func;
155307
+ } catch (e) {}
155308
+ }();
155309
+ _defineProperty_default2 = defineProperty2;
155310
+ });
155311
+
155312
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_arrayEach.js
155313
+ function arrayEach2(array2, iteratee) {
155314
+ var index = -1, length = array2 == null ? 0 : array2.length;
155194
155315
  while (++index < length) {
155195
- result[index] = array2[index + start];
155316
+ if (iteratee(array2[index], index, array2) === false) {
155317
+ break;
155318
+ }
155196
155319
  }
155197
- return result;
155320
+ return array2;
155198
155321
  }
155199
- var _baseSlice_default;
155200
- var init__baseSlice = __esm(() => {
155201
- _baseSlice_default = baseSlice;
155322
+ var _arrayEach_default2;
155323
+ var init__arrayEach2 = __esm(() => {
155324
+ _arrayEach_default2 = arrayEach2;
155202
155325
  });
155203
155326
 
155204
- // node_modules/lodash-es/_castSlice.js
155205
- function castSlice(array2, start, end) {
155206
- var length = array2.length;
155207
- end = end === undefined ? length : end;
155208
- return !start && end >= length ? array2 : _baseSlice_default(array2, start, end);
155327
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_isIndex.js
155328
+ function isIndex2(value, length) {
155329
+ var type = typeof value;
155330
+ length = length == null ? MAX_SAFE_INTEGER3 : length;
155331
+ return !!length && (type == "number" || type != "symbol" && reIsUint2.test(value)) && (value > -1 && value % 1 == 0 && value < length);
155209
155332
  }
155210
- var _castSlice_default;
155211
- var init__castSlice = __esm(() => {
155212
- init__baseSlice();
155213
- _castSlice_default = castSlice;
155333
+ var MAX_SAFE_INTEGER3 = 9007199254740991, reIsUint2, _isIndex_default2;
155334
+ var init__isIndex2 = __esm(() => {
155335
+ reIsUint2 = /^(?:0|[1-9]\d*)$/;
155336
+ _isIndex_default2 = isIndex2;
155214
155337
  });
155215
155338
 
155216
- // node_modules/lodash-es/_hasUnicode.js
155217
- function hasUnicode(string4) {
155218
- return reHasUnicode.test(string4);
155339
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseAssignValue.js
155340
+ function baseAssignValue2(object2, key, value) {
155341
+ if (key == "__proto__" && _defineProperty_default2) {
155342
+ _defineProperty_default2(object2, key, {
155343
+ configurable: true,
155344
+ enumerable: true,
155345
+ value,
155346
+ writable: true
155347
+ });
155348
+ } else {
155349
+ object2[key] = value;
155350
+ }
155219
155351
  }
155220
- var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange, rsVarRange = "\\ufe0e\\ufe0f", rsZWJ = "\\u200d", reHasUnicode, _hasUnicode_default;
155221
- var init__hasUnicode = __esm(() => {
155222
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
155223
- reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]");
155224
- _hasUnicode_default = hasUnicode;
155352
+ var _baseAssignValue_default2;
155353
+ var init__baseAssignValue2 = __esm(() => {
155354
+ init__defineProperty2();
155355
+ _baseAssignValue_default2 = baseAssignValue2;
155225
155356
  });
155226
155357
 
155227
- // node_modules/lodash-es/_asciiToArray.js
155228
- function asciiToArray(string4) {
155229
- return string4.split("");
155358
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/eq.js
155359
+ function eq2(value, other) {
155360
+ return value === other || value !== value && other !== other;
155230
155361
  }
155231
- var _asciiToArray_default;
155232
- var init__asciiToArray = __esm(() => {
155233
- _asciiToArray_default = asciiToArray;
155362
+ var eq_default2;
155363
+ var init_eq2 = __esm(() => {
155364
+ eq_default2 = eq2;
155234
155365
  });
155235
155366
 
155236
- // node_modules/lodash-es/_unicodeToArray.js
155237
- function unicodeToArray(string4) {
155238
- return string4.match(reUnicode) || [];
155367
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_assignValue.js
155368
+ function assignValue2(object2, key, value) {
155369
+ var objValue = object2[key];
155370
+ if (!(hasOwnProperty17.call(object2, key) && eq_default2(objValue, value)) || value === undefined && !(key in object2)) {
155371
+ _baseAssignValue_default2(object2, key, value);
155372
+ }
155239
155373
  }
155240
- var rsAstralRange2 = "\\ud800-\\udfff", rsComboMarksRange2 = "\\u0300-\\u036f", reComboHalfMarksRange2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange2 = "\\u20d0-\\u20ff", rsComboRange2, rsVarRange2 = "\\ufe0e\\ufe0f", rsAstral, rsCombo, rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier, rsNonAstral, rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsZWJ2 = "\\u200d", reOptMod, rsOptVar, rsOptJoin, rsSeq, rsSymbol, reUnicode, _unicodeToArray_default;
155241
- var init__unicodeToArray = __esm(() => {
155242
- rsComboRange2 = rsComboMarksRange2 + reComboHalfMarksRange2 + rsComboSymbolsRange2;
155243
- rsAstral = "[" + rsAstralRange2 + "]";
155244
- rsCombo = "[" + rsComboRange2 + "]";
155245
- rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
155246
- rsNonAstral = "[^" + rsAstralRange2 + "]";
155247
- reOptMod = rsModifier + "?";
155248
- rsOptVar = "[" + rsVarRange2 + "]?";
155249
- rsOptJoin = "(?:" + rsZWJ2 + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
155250
- rsSeq = rsOptVar + reOptMod + rsOptJoin;
155251
- rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
155252
- reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
155253
- _unicodeToArray_default = unicodeToArray;
155374
+ var objectProto20, hasOwnProperty17, _assignValue_default2;
155375
+ var init__assignValue2 = __esm(() => {
155376
+ init__baseAssignValue2();
155377
+ init_eq2();
155378
+ objectProto20 = Object.prototype;
155379
+ hasOwnProperty17 = objectProto20.hasOwnProperty;
155380
+ _assignValue_default2 = assignValue2;
155254
155381
  });
155255
155382
 
155256
- // node_modules/lodash-es/_stringToArray.js
155257
- function stringToArray(string4) {
155258
- return _hasUnicode_default(string4) ? _unicodeToArray_default(string4) : _asciiToArray_default(string4);
155383
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_copyObject.js
155384
+ function copyObject2(source, props, object2, customizer) {
155385
+ var isNew = !object2;
155386
+ object2 || (object2 = {});
155387
+ var index = -1, length = props.length;
155388
+ while (++index < length) {
155389
+ var key = props[index];
155390
+ var newValue = customizer ? customizer(object2[key], source[key], key, object2, source) : undefined;
155391
+ if (newValue === undefined) {
155392
+ newValue = source[key];
155393
+ }
155394
+ if (isNew) {
155395
+ _baseAssignValue_default2(object2, key, newValue);
155396
+ } else {
155397
+ _assignValue_default2(object2, key, newValue);
155398
+ }
155399
+ }
155400
+ return object2;
155259
155401
  }
155260
- var _stringToArray_default;
155261
- var init__stringToArray = __esm(() => {
155262
- init__asciiToArray();
155263
- init__hasUnicode();
155264
- init__unicodeToArray();
155265
- _stringToArray_default = stringToArray;
155402
+ var _copyObject_default2;
155403
+ var init__copyObject2 = __esm(() => {
155404
+ init__assignValue2();
155405
+ init__baseAssignValue2();
155406
+ _copyObject_default2 = copyObject2;
155266
155407
  });
155267
155408
 
155268
- // node_modules/lodash-es/_createCaseFirst.js
155269
- function createCaseFirst(methodName) {
155270
- return function(string4) {
155271
- string4 = toString_default(string4);
155272
- var strSymbols = _hasUnicode_default(string4) ? _stringToArray_default(string4) : undefined;
155273
- var chr = strSymbols ? strSymbols[0] : string4.charAt(0);
155274
- var trailing = strSymbols ? _castSlice_default(strSymbols, 1).join("") : string4.slice(1);
155275
- return chr[methodName]() + trailing;
155276
- };
155409
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isLength.js
155410
+ function isLength2(value) {
155411
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER4;
155277
155412
  }
155278
- var _createCaseFirst_default;
155279
- var init__createCaseFirst = __esm(() => {
155280
- init__castSlice();
155281
- init__hasUnicode();
155282
- init__stringToArray();
155283
- init_toString();
155284
- _createCaseFirst_default = createCaseFirst;
155413
+ var MAX_SAFE_INTEGER4 = 9007199254740991, isLength_default2;
155414
+ var init_isLength2 = __esm(() => {
155415
+ isLength_default2 = isLength2;
155285
155416
  });
155286
155417
 
155287
- // node_modules/lodash-es/upperFirst.js
155288
- var upperFirst, upperFirst_default;
155289
- var init_upperFirst = __esm(() => {
155290
- init__createCaseFirst();
155291
- upperFirst = _createCaseFirst_default("toUpperCase");
155292
- upperFirst_default = upperFirst;
155418
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isArrayLike.js
155419
+ function isArrayLike2(value) {
155420
+ return value != null && isLength_default2(value.length) && !isFunction_default2(value);
155421
+ }
155422
+ var isArrayLike_default2;
155423
+ var init_isArrayLike2 = __esm(() => {
155424
+ init_isFunction2();
155425
+ init_isLength2();
155426
+ isArrayLike_default2 = isArrayLike2;
155293
155427
  });
155294
155428
 
155295
- // node_modules/lodash-es/capitalize.js
155296
- function capitalize2(string4) {
155297
- return upperFirst_default(toString_default(string4).toLowerCase());
155429
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_isPrototype.js
155430
+ function isPrototype2(value) {
155431
+ var Ctor = value && value.constructor, proto2 = typeof Ctor == "function" && Ctor.prototype || objectProto21;
155432
+ return value === proto2;
155298
155433
  }
155299
- var capitalize_default;
155300
- var init_capitalize = __esm(() => {
155301
- init_toString();
155302
- init_upperFirst();
155303
- capitalize_default = capitalize2;
155434
+ var objectProto21, _isPrototype_default2;
155435
+ var init__isPrototype2 = __esm(() => {
155436
+ objectProto21 = Object.prototype;
155437
+ _isPrototype_default2 = isPrototype2;
155304
155438
  });
155305
155439
 
155306
- // node_modules/lodash-es/_arrayAggregator.js
155307
- function arrayAggregator(array2, setter, iteratee, accumulator) {
155308
- var index = -1, length = array2 == null ? 0 : array2.length;
155309
- while (++index < length) {
155310
- var value = array2[index];
155311
- setter(accumulator, value, iteratee(value), array2);
155440
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseTimes.js
155441
+ function baseTimes2(n2, iteratee) {
155442
+ var index = -1, result = Array(n2);
155443
+ while (++index < n2) {
155444
+ result[index] = iteratee(index);
155312
155445
  }
155313
- return accumulator;
155446
+ return result;
155314
155447
  }
155315
- var _arrayAggregator_default;
155316
- var init__arrayAggregator = __esm(() => {
155317
- _arrayAggregator_default = arrayAggregator;
155448
+ var _baseTimes_default2;
155449
+ var init__baseTimes2 = __esm(() => {
155450
+ _baseTimes_default2 = baseTimes2;
155318
155451
  });
155319
155452
 
155320
- // node_modules/lodash-es/_baseForOwn.js
155321
- function baseForOwn(object2, iteratee) {
155322
- return object2 && _baseFor_default(object2, iteratee, keys_default);
155453
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseIsArguments.js
155454
+ function baseIsArguments2(value) {
155455
+ return isObjectLike_default2(value) && _baseGetTag_default2(value) == argsTag5;
155323
155456
  }
155324
- var _baseForOwn_default;
155325
- var init__baseForOwn = __esm(() => {
155326
- init__baseFor();
155327
- init_keys();
155328
- _baseForOwn_default = baseForOwn;
155457
+ var argsTag5 = "[object Arguments]", _baseIsArguments_default2;
155458
+ var init__baseIsArguments2 = __esm(() => {
155459
+ init__baseGetTag2();
155460
+ init_isObjectLike2();
155461
+ _baseIsArguments_default2 = baseIsArguments2;
155329
155462
  });
155330
155463
 
155331
- // node_modules/lodash-es/_createBaseEach.js
155332
- function createBaseEach(eachFunc, fromRight) {
155333
- return function(collection, iteratee) {
155334
- if (collection == null) {
155335
- return collection;
155336
- }
155337
- if (!isArrayLike_default(collection)) {
155338
- return eachFunc(collection, iteratee);
155339
- }
155340
- var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
155341
- while (fromRight ? index-- : ++index < length) {
155342
- if (iteratee(iterable[index], index, iterable) === false) {
155343
- break;
155344
- }
155345
- }
155346
- return collection;
155464
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isArguments.js
155465
+ var objectProto22, hasOwnProperty18, propertyIsEnumerable3, isArguments2, isArguments_default2;
155466
+ var init_isArguments2 = __esm(() => {
155467
+ init__baseIsArguments2();
155468
+ init_isObjectLike2();
155469
+ objectProto22 = Object.prototype;
155470
+ hasOwnProperty18 = objectProto22.hasOwnProperty;
155471
+ propertyIsEnumerable3 = objectProto22.propertyIsEnumerable;
155472
+ isArguments2 = _baseIsArguments_default2(function() {
155473
+ return arguments;
155474
+ }()) ? _baseIsArguments_default2 : function(value) {
155475
+ return isObjectLike_default2(value) && hasOwnProperty18.call(value, "callee") && !propertyIsEnumerable3.call(value, "callee");
155347
155476
  };
155477
+ isArguments_default2 = isArguments2;
155478
+ });
155479
+
155480
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/stubFalse.js
155481
+ function stubFalse2() {
155482
+ return false;
155348
155483
  }
155349
- var _createBaseEach_default;
155350
- var init__createBaseEach = __esm(() => {
155351
- init_isArrayLike();
155352
- _createBaseEach_default = createBaseEach;
155484
+ var stubFalse_default2;
155485
+ var init_stubFalse2 = __esm(() => {
155486
+ stubFalse_default2 = stubFalse2;
155487
+ });
155488
+
155489
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isBuffer.js
155490
+ var exports_isBuffer2 = {};
155491
+ __export(exports_isBuffer2, {
155492
+ default: () => isBuffer_default2
155493
+ });
155494
+ var freeExports4, freeModule4, moduleExports4, Buffer9, nativeIsBuffer2, isBuffer3, isBuffer_default2;
155495
+ var init_isBuffer2 = __esm(() => {
155496
+ init__root2();
155497
+ init_stubFalse2();
155498
+ freeExports4 = typeof exports_isBuffer2 == "object" && exports_isBuffer2 && !exports_isBuffer2.nodeType && exports_isBuffer2;
155499
+ freeModule4 = freeExports4 && typeof module_isBuffer == "object" && module_isBuffer && !module_isBuffer.nodeType && module_isBuffer;
155500
+ moduleExports4 = freeModule4 && freeModule4.exports === freeExports4;
155501
+ Buffer9 = moduleExports4 ? _root_default2.Buffer : undefined;
155502
+ nativeIsBuffer2 = Buffer9 ? Buffer9.isBuffer : undefined;
155503
+ isBuffer3 = nativeIsBuffer2 || stubFalse_default2;
155504
+ isBuffer_default2 = isBuffer3;
155505
+ });
155506
+
155507
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseIsTypedArray.js
155508
+ function baseIsTypedArray2(value) {
155509
+ return isObjectLike_default2(value) && isLength_default2(value.length) && !!typedArrayTags2[_baseGetTag_default2(value)];
155510
+ }
155511
+ var argsTag6 = "[object Arguments]", arrayTag4 = "[object Array]", boolTag5 = "[object Boolean]", dateTag5 = "[object Date]", errorTag4 = "[object Error]", funcTag5 = "[object Function]", mapTag7 = "[object Map]", numberTag5 = "[object Number]", objectTag6 = "[object Object]", regexpTag5 = "[object RegExp]", setTag7 = "[object Set]", stringTag5 = "[object String]", weakMapTag4 = "[object WeakMap]", arrayBufferTag5 = "[object ArrayBuffer]", dataViewTag6 = "[object DataView]", float32Tag4 = "[object Float32Array]", float64Tag4 = "[object Float64Array]", int8Tag4 = "[object Int8Array]", int16Tag4 = "[object Int16Array]", int32Tag4 = "[object Int32Array]", uint8Tag4 = "[object Uint8Array]", uint8ClampedTag4 = "[object Uint8ClampedArray]", uint16Tag4 = "[object Uint16Array]", uint32Tag4 = "[object Uint32Array]", typedArrayTags2, _baseIsTypedArray_default2;
155512
+ var init__baseIsTypedArray2 = __esm(() => {
155513
+ init__baseGetTag2();
155514
+ init_isLength2();
155515
+ init_isObjectLike2();
155516
+ typedArrayTags2 = {};
155517
+ typedArrayTags2[float32Tag4] = typedArrayTags2[float64Tag4] = typedArrayTags2[int8Tag4] = typedArrayTags2[int16Tag4] = typedArrayTags2[int32Tag4] = typedArrayTags2[uint8Tag4] = typedArrayTags2[uint8ClampedTag4] = typedArrayTags2[uint16Tag4] = typedArrayTags2[uint32Tag4] = true;
155518
+ typedArrayTags2[argsTag6] = typedArrayTags2[arrayTag4] = typedArrayTags2[arrayBufferTag5] = typedArrayTags2[boolTag5] = typedArrayTags2[dataViewTag6] = typedArrayTags2[dateTag5] = typedArrayTags2[errorTag4] = typedArrayTags2[funcTag5] = typedArrayTags2[mapTag7] = typedArrayTags2[numberTag5] = typedArrayTags2[objectTag6] = typedArrayTags2[regexpTag5] = typedArrayTags2[setTag7] = typedArrayTags2[stringTag5] = typedArrayTags2[weakMapTag4] = false;
155519
+ _baseIsTypedArray_default2 = baseIsTypedArray2;
155520
+ });
155521
+
155522
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseUnary.js
155523
+ function baseUnary2(func) {
155524
+ return function(value) {
155525
+ return func(value);
155526
+ };
155527
+ }
155528
+ var _baseUnary_default2;
155529
+ var init__baseUnary2 = __esm(() => {
155530
+ _baseUnary_default2 = baseUnary2;
155353
155531
  });
155354
155532
 
155355
- // node_modules/lodash-es/_baseEach.js
155356
- var baseEach, _baseEach_default;
155357
- var init__baseEach = __esm(() => {
155358
- init__baseForOwn();
155359
- init__createBaseEach();
155360
- baseEach = _createBaseEach_default(_baseForOwn_default);
155361
- _baseEach_default = baseEach;
155533
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_nodeUtil.js
155534
+ var exports__nodeUtil2 = {};
155535
+ __export(exports__nodeUtil2, {
155536
+ default: () => _nodeUtil_default2
155537
+ });
155538
+ var freeExports5, freeModule5, moduleExports5, freeProcess2, nodeUtil2, _nodeUtil_default2;
155539
+ var init__nodeUtil2 = __esm(() => {
155540
+ init__freeGlobal2();
155541
+ freeExports5 = typeof exports__nodeUtil2 == "object" && exports__nodeUtil2 && !exports__nodeUtil2.nodeType && exports__nodeUtil2;
155542
+ freeModule5 = freeExports5 && typeof module__nodeUtil == "object" && module__nodeUtil && !module__nodeUtil.nodeType && module__nodeUtil;
155543
+ moduleExports5 = freeModule5 && freeModule5.exports === freeExports5;
155544
+ freeProcess2 = moduleExports5 && _freeGlobal_default2.process;
155545
+ nodeUtil2 = function() {
155546
+ try {
155547
+ var types = freeModule5 && freeModule5.require && freeModule5.require("util").types;
155548
+ if (types) {
155549
+ return types;
155550
+ }
155551
+ return freeProcess2 && freeProcess2.binding && freeProcess2.binding("util");
155552
+ } catch (e) {}
155553
+ }();
155554
+ _nodeUtil_default2 = nodeUtil2;
155362
155555
  });
155363
155556
 
155364
- // node_modules/lodash-es/_baseAggregator.js
155365
- function baseAggregator(collection, setter, iteratee, accumulator) {
155366
- _baseEach_default(collection, function(value, key, collection2) {
155367
- setter(accumulator, value, iteratee(value), collection2);
155368
- });
155369
- return accumulator;
155370
- }
155371
- var _baseAggregator_default;
155372
- var init__baseAggregator = __esm(() => {
155373
- init__baseEach();
155374
- _baseAggregator_default = baseAggregator;
155557
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isTypedArray.js
155558
+ var nodeIsTypedArray2, isTypedArray3, isTypedArray_default2;
155559
+ var init_isTypedArray2 = __esm(() => {
155560
+ init__baseIsTypedArray2();
155561
+ init__baseUnary2();
155562
+ init__nodeUtil2();
155563
+ nodeIsTypedArray2 = _nodeUtil_default2 && _nodeUtil_default2.isTypedArray;
155564
+ isTypedArray3 = nodeIsTypedArray2 ? _baseUnary_default2(nodeIsTypedArray2) : _baseIsTypedArray_default2;
155565
+ isTypedArray_default2 = isTypedArray3;
155375
155566
  });
155376
155567
 
155377
- // node_modules/lodash-es/_createAggregator.js
155378
- function createAggregator(setter, initializer3) {
155379
- return function(collection, iteratee) {
155380
- var func = isArray_default(collection) ? _arrayAggregator_default : _baseAggregator_default, accumulator = initializer3 ? initializer3() : {};
155381
- return func(collection, setter, _baseIteratee_default(iteratee, 2), accumulator);
155568
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_arrayLikeKeys.js
155569
+ function arrayLikeKeys2(value, inherited) {
155570
+ var isArr = isArray_default2(value), isArg = !isArr && isArguments_default2(value), isBuff = !isArr && !isArg && isBuffer_default2(value), isType = !isArr && !isArg && !isBuff && isTypedArray_default2(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? _baseTimes_default2(value.length, String) : [], length = result.length;
155571
+ for (var key in value) {
155572
+ if ((inherited || hasOwnProperty19.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || _isIndex_default2(key, length)))) {
155573
+ result.push(key);
155574
+ }
155575
+ }
155576
+ return result;
155577
+ }
155578
+ var objectProto23, hasOwnProperty19, _arrayLikeKeys_default2;
155579
+ var init__arrayLikeKeys2 = __esm(() => {
155580
+ init__baseTimes2();
155581
+ init_isArguments2();
155582
+ init_isArray2();
155583
+ init_isBuffer2();
155584
+ init__isIndex2();
155585
+ init_isTypedArray2();
155586
+ objectProto23 = Object.prototype;
155587
+ hasOwnProperty19 = objectProto23.hasOwnProperty;
155588
+ _arrayLikeKeys_default2 = arrayLikeKeys2;
155589
+ });
155590
+
155591
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_overArg.js
155592
+ function overArg2(func, transform2) {
155593
+ return function(arg) {
155594
+ return func(transform2(arg));
155382
155595
  };
155383
155596
  }
155384
- var _createAggregator_default;
155385
- var init__createAggregator = __esm(() => {
155386
- init__arrayAggregator();
155387
- init__baseAggregator();
155388
- init__baseIteratee();
155389
- init_isArray();
155390
- _createAggregator_default = createAggregator;
155597
+ var _overArg_default2;
155598
+ var init__overArg2 = __esm(() => {
155599
+ _overArg_default2 = overArg2;
155391
155600
  });
155392
155601
 
155393
- // node_modules/lodash-es/_arrayIncludesWith.js
155394
- function arrayIncludesWith(array2, value, comparator) {
155395
- var index = -1, length = array2 == null ? 0 : array2.length;
155396
- while (++index < length) {
155397
- if (comparator(value, array2[index])) {
155398
- return true;
155602
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_nativeKeys.js
155603
+ var nativeKeys2, _nativeKeys_default2;
155604
+ var init__nativeKeys2 = __esm(() => {
155605
+ init__overArg2();
155606
+ nativeKeys2 = _overArg_default2(Object.keys, Object);
155607
+ _nativeKeys_default2 = nativeKeys2;
155608
+ });
155609
+
155610
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseKeys.js
155611
+ function baseKeys2(object2) {
155612
+ if (!_isPrototype_default2(object2)) {
155613
+ return _nativeKeys_default2(object2);
155614
+ }
155615
+ var result = [];
155616
+ for (var key in Object(object2)) {
155617
+ if (hasOwnProperty20.call(object2, key) && key != "constructor") {
155618
+ result.push(key);
155399
155619
  }
155400
155620
  }
155401
- return false;
155621
+ return result;
155402
155622
  }
155403
- var _arrayIncludesWith_default;
155404
- var init__arrayIncludesWith = __esm(() => {
155405
- _arrayIncludesWith_default = arrayIncludesWith;
155623
+ var objectProto24, hasOwnProperty20, _baseKeys_default2;
155624
+ var init__baseKeys2 = __esm(() => {
155625
+ init__isPrototype2();
155626
+ init__nativeKeys2();
155627
+ objectProto24 = Object.prototype;
155628
+ hasOwnProperty20 = objectProto24.hasOwnProperty;
155629
+ _baseKeys_default2 = baseKeys2;
155406
155630
  });
155407
155631
 
155408
- // node_modules/lodash-es/_baseFilter.js
155409
- function baseFilter(collection, predicate) {
155632
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/keys.js
155633
+ function keys2(object2) {
155634
+ return isArrayLike_default2(object2) ? _arrayLikeKeys_default2(object2) : _baseKeys_default2(object2);
155635
+ }
155636
+ var keys_default2;
155637
+ var init_keys2 = __esm(() => {
155638
+ init__arrayLikeKeys2();
155639
+ init__baseKeys2();
155640
+ init_isArrayLike2();
155641
+ keys_default2 = keys2;
155642
+ });
155643
+
155644
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_nativeKeysIn.js
155645
+ function nativeKeysIn2(object2) {
155410
155646
  var result = [];
155411
- _baseEach_default(collection, function(value, index, collection2) {
155412
- if (predicate(value, index, collection2)) {
155413
- result.push(value);
155647
+ if (object2 != null) {
155648
+ for (var key in Object(object2)) {
155649
+ result.push(key);
155414
155650
  }
155415
- });
155651
+ }
155416
155652
  return result;
155417
155653
  }
155418
- var _baseFilter_default;
155419
- var init__baseFilter = __esm(() => {
155420
- init__baseEach();
155421
- _baseFilter_default = baseFilter;
155654
+ var _nativeKeysIn_default2;
155655
+ var init__nativeKeysIn2 = __esm(() => {
155656
+ _nativeKeysIn_default2 = nativeKeysIn2;
155422
155657
  });
155423
155658
 
155424
- // node_modules/lodash-es/_baseValues.js
155425
- function baseValues(object2, props) {
155426
- return _arrayMap_default(props, function(key) {
155427
- return object2[key];
155428
- });
155659
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseKeysIn.js
155660
+ function baseKeysIn2(object2) {
155661
+ if (!isObject_default2(object2)) {
155662
+ return _nativeKeysIn_default2(object2);
155663
+ }
155664
+ var isProto = _isPrototype_default2(object2), result = [];
155665
+ for (var key in object2) {
155666
+ if (!(key == "constructor" && (isProto || !hasOwnProperty21.call(object2, key)))) {
155667
+ result.push(key);
155668
+ }
155669
+ }
155670
+ return result;
155429
155671
  }
155430
- var _baseValues_default;
155431
- var init__baseValues = __esm(() => {
155432
- init__arrayMap();
155433
- _baseValues_default = baseValues;
155672
+ var objectProto25, hasOwnProperty21, _baseKeysIn_default2;
155673
+ var init__baseKeysIn2 = __esm(() => {
155674
+ init_isObject2();
155675
+ init__isPrototype2();
155676
+ init__nativeKeysIn2();
155677
+ objectProto25 = Object.prototype;
155678
+ hasOwnProperty21 = objectProto25.hasOwnProperty;
155679
+ _baseKeysIn_default2 = baseKeysIn2;
155434
155680
  });
155435
155681
 
155436
- // node_modules/lodash-es/values.js
155437
- function values(object2) {
155438
- return object2 == null ? [] : _baseValues_default(object2, keys_default(object2));
155682
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/keysIn.js
155683
+ function keysIn2(object2) {
155684
+ return isArrayLike_default2(object2) ? _arrayLikeKeys_default2(object2, true) : _baseKeysIn_default2(object2);
155439
155685
  }
155440
- var values_default;
155441
- var init_values3 = __esm(() => {
155442
- init__baseValues();
155443
- init_keys();
155444
- values_default = values;
155686
+ var keysIn_default2;
155687
+ var init_keysIn2 = __esm(() => {
155688
+ init__arrayLikeKeys2();
155689
+ init__baseKeysIn2();
155690
+ init_isArrayLike2();
155691
+ keysIn_default2 = keysIn2;
155445
155692
  });
155446
155693
 
155447
- // node_modules/lodash-es/_parent.js
155448
- function parent(object2, path10) {
155449
- return path10.length < 2 ? object2 : _baseGet_default(object2, _baseSlice_default(path10, 0, -1));
155694
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_nativeCreate.js
155695
+ var nativeCreate2, _nativeCreate_default2;
155696
+ var init__nativeCreate2 = __esm(() => {
155697
+ init__getNative2();
155698
+ nativeCreate2 = _getNative_default2(Object, "create");
155699
+ _nativeCreate_default2 = nativeCreate2;
155700
+ });
155701
+
155702
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_hashClear.js
155703
+ function hashClear2() {
155704
+ this.__data__ = _nativeCreate_default2 ? _nativeCreate_default2(null) : {};
155705
+ this.size = 0;
155450
155706
  }
155451
- var _parent_default;
155452
- var init__parent = __esm(() => {
155453
- init__baseGet();
155454
- init__baseSlice();
155455
- _parent_default = parent;
155707
+ var _hashClear_default2;
155708
+ var init__hashClear2 = __esm(() => {
155709
+ init__nativeCreate2();
155710
+ _hashClear_default2 = hashClear2;
155456
155711
  });
155457
155712
 
155458
- // node_modules/lodash-es/mapValues.js
155459
- function mapValues(object2, iteratee) {
155460
- var result = {};
155461
- iteratee = _baseIteratee_default(iteratee, 3);
155462
- _baseForOwn_default(object2, function(value, key, object3) {
155463
- _baseAssignValue_default(result, key, iteratee(value, key, object3));
155464
- });
155713
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_hashDelete.js
155714
+ function hashDelete2(key) {
155715
+ var result = this.has(key) && delete this.__data__[key];
155716
+ this.size -= result ? 1 : 0;
155465
155717
  return result;
155466
155718
  }
155467
- var mapValues_default;
155468
- var init_mapValues = __esm(() => {
155469
- init__baseAssignValue();
155470
- init__baseForOwn();
155471
- init__baseIteratee();
155472
- mapValues_default = mapValues;
155719
+ var _hashDelete_default2;
155720
+ var init__hashDelete2 = __esm(() => {
155721
+ _hashDelete_default2 = hashDelete2;
155473
155722
  });
155474
155723
 
155475
- // node_modules/lodash-es/negate.js
155476
- function negate(predicate) {
155477
- if (typeof predicate != "function") {
155478
- throw new TypeError(FUNC_ERROR_TEXT4);
155724
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_hashGet.js
155725
+ function hashGet2(key) {
155726
+ var data = this.__data__;
155727
+ if (_nativeCreate_default2) {
155728
+ var result = data[key];
155729
+ return result === HASH_UNDEFINED4 ? undefined : result;
155479
155730
  }
155480
- return function() {
155481
- var args = arguments;
155482
- switch (args.length) {
155483
- case 0:
155484
- return !predicate.call(this);
155485
- case 1:
155486
- return !predicate.call(this, args[0]);
155487
- case 2:
155488
- return !predicate.call(this, args[0], args[1]);
155489
- case 3:
155490
- return !predicate.call(this, args[0], args[1], args[2]);
155731
+ return hasOwnProperty22.call(data, key) ? data[key] : undefined;
155732
+ }
155733
+ var HASH_UNDEFINED4 = "__lodash_hash_undefined__", objectProto26, hasOwnProperty22, _hashGet_default2;
155734
+ var init__hashGet2 = __esm(() => {
155735
+ init__nativeCreate2();
155736
+ objectProto26 = Object.prototype;
155737
+ hasOwnProperty22 = objectProto26.hasOwnProperty;
155738
+ _hashGet_default2 = hashGet2;
155739
+ });
155740
+
155741
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_hashHas.js
155742
+ function hashHas2(key) {
155743
+ var data = this.__data__;
155744
+ return _nativeCreate_default2 ? data[key] !== undefined : hasOwnProperty23.call(data, key);
155745
+ }
155746
+ var objectProto27, hasOwnProperty23, _hashHas_default2;
155747
+ var init__hashHas2 = __esm(() => {
155748
+ init__nativeCreate2();
155749
+ objectProto27 = Object.prototype;
155750
+ hasOwnProperty23 = objectProto27.hasOwnProperty;
155751
+ _hashHas_default2 = hashHas2;
155752
+ });
155753
+
155754
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_hashSet.js
155755
+ function hashSet2(key, value) {
155756
+ var data = this.__data__;
155757
+ this.size += this.has(key) ? 0 : 1;
155758
+ data[key] = _nativeCreate_default2 && value === undefined ? HASH_UNDEFINED5 : value;
155759
+ return this;
155760
+ }
155761
+ var HASH_UNDEFINED5 = "__lodash_hash_undefined__", _hashSet_default2;
155762
+ var init__hashSet2 = __esm(() => {
155763
+ init__nativeCreate2();
155764
+ _hashSet_default2 = hashSet2;
155765
+ });
155766
+
155767
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Hash.js
155768
+ function Hash2(entries) {
155769
+ var index = -1, length = entries == null ? 0 : entries.length;
155770
+ this.clear();
155771
+ while (++index < length) {
155772
+ var entry = entries[index];
155773
+ this.set(entry[0], entry[1]);
155774
+ }
155775
+ }
155776
+ var _Hash_default2;
155777
+ var init__Hash2 = __esm(() => {
155778
+ init__hashClear2();
155779
+ init__hashDelete2();
155780
+ init__hashGet2();
155781
+ init__hashHas2();
155782
+ init__hashSet2();
155783
+ Hash2.prototype.clear = _hashClear_default2;
155784
+ Hash2.prototype["delete"] = _hashDelete_default2;
155785
+ Hash2.prototype.get = _hashGet_default2;
155786
+ Hash2.prototype.has = _hashHas_default2;
155787
+ Hash2.prototype.set = _hashSet_default2;
155788
+ _Hash_default2 = Hash2;
155789
+ });
155790
+
155791
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_listCacheClear.js
155792
+ function listCacheClear2() {
155793
+ this.__data__ = [];
155794
+ this.size = 0;
155795
+ }
155796
+ var _listCacheClear_default2;
155797
+ var init__listCacheClear2 = __esm(() => {
155798
+ _listCacheClear_default2 = listCacheClear2;
155799
+ });
155800
+
155801
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_assocIndexOf.js
155802
+ function assocIndexOf2(array2, key) {
155803
+ var length = array2.length;
155804
+ while (length--) {
155805
+ if (eq_default2(array2[length][0], key)) {
155806
+ return length;
155491
155807
  }
155492
- return !predicate.apply(this, args);
155493
- };
155808
+ }
155809
+ return -1;
155494
155810
  }
155495
- var FUNC_ERROR_TEXT4 = "Expected a function", negate_default;
155496
- var init_negate = __esm(() => {
155497
- negate_default = negate;
155811
+ var _assocIndexOf_default2;
155812
+ var init__assocIndexOf2 = __esm(() => {
155813
+ init_eq2();
155814
+ _assocIndexOf_default2 = assocIndexOf2;
155498
155815
  });
155499
155816
 
155500
- // node_modules/lodash-es/_baseUnset.js
155501
- function baseUnset(object2, path10) {
155502
- path10 = _castPath_default(path10, object2);
155503
- var index = -1, length = path10.length;
155504
- if (!length) {
155505
- return true;
155817
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_listCacheDelete.js
155818
+ function listCacheDelete2(key) {
155819
+ var data = this.__data__, index = _assocIndexOf_default2(data, key);
155820
+ if (index < 0) {
155821
+ return false;
155822
+ }
155823
+ var lastIndex = data.length - 1;
155824
+ if (index == lastIndex) {
155825
+ data.pop();
155826
+ } else {
155827
+ splice2.call(data, index, 1);
155506
155828
  }
155507
- var isRootPrimitive = object2 == null || typeof object2 !== "object" && typeof object2 !== "function";
155829
+ --this.size;
155830
+ return true;
155831
+ }
155832
+ var arrayProto2, splice2, _listCacheDelete_default2;
155833
+ var init__listCacheDelete2 = __esm(() => {
155834
+ init__assocIndexOf2();
155835
+ arrayProto2 = Array.prototype;
155836
+ splice2 = arrayProto2.splice;
155837
+ _listCacheDelete_default2 = listCacheDelete2;
155838
+ });
155839
+
155840
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_listCacheGet.js
155841
+ function listCacheGet2(key) {
155842
+ var data = this.__data__, index = _assocIndexOf_default2(data, key);
155843
+ return index < 0 ? undefined : data[index][1];
155844
+ }
155845
+ var _listCacheGet_default2;
155846
+ var init__listCacheGet2 = __esm(() => {
155847
+ init__assocIndexOf2();
155848
+ _listCacheGet_default2 = listCacheGet2;
155849
+ });
155850
+
155851
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_listCacheHas.js
155852
+ function listCacheHas2(key) {
155853
+ return _assocIndexOf_default2(this.__data__, key) > -1;
155854
+ }
155855
+ var _listCacheHas_default2;
155856
+ var init__listCacheHas2 = __esm(() => {
155857
+ init__assocIndexOf2();
155858
+ _listCacheHas_default2 = listCacheHas2;
155859
+ });
155860
+
155861
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_listCacheSet.js
155862
+ function listCacheSet2(key, value) {
155863
+ var data = this.__data__, index = _assocIndexOf_default2(data, key);
155864
+ if (index < 0) {
155865
+ ++this.size;
155866
+ data.push([key, value]);
155867
+ } else {
155868
+ data[index][1] = value;
155869
+ }
155870
+ return this;
155871
+ }
155872
+ var _listCacheSet_default2;
155873
+ var init__listCacheSet2 = __esm(() => {
155874
+ init__assocIndexOf2();
155875
+ _listCacheSet_default2 = listCacheSet2;
155876
+ });
155877
+
155878
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_ListCache.js
155879
+ function ListCache2(entries) {
155880
+ var index = -1, length = entries == null ? 0 : entries.length;
155881
+ this.clear();
155508
155882
  while (++index < length) {
155509
- var key = path10[index];
155510
- if (typeof key !== "string") {
155511
- continue;
155512
- }
155513
- if (key === "__proto__" && !hasOwnProperty15.call(object2, "__proto__")) {
155514
- return false;
155515
- }
155516
- if (key === "constructor" && index + 1 < length && typeof path10[index + 1] === "string" && path10[index + 1] === "prototype") {
155517
- if (isRootPrimitive && index === 0) {
155518
- continue;
155519
- }
155520
- return false;
155521
- }
155883
+ var entry = entries[index];
155884
+ this.set(entry[0], entry[1]);
155522
155885
  }
155523
- var obj = _parent_default(object2, path10);
155524
- return obj == null || delete obj[_toKey_default(last_default(path10))];
155525
155886
  }
155526
- var objectProto17, hasOwnProperty15, _baseUnset_default;
155527
- var init__baseUnset = __esm(() => {
155528
- init__castPath();
155529
- init_last();
155530
- init__parent();
155531
- init__toKey();
155532
- objectProto17 = Object.prototype;
155533
- hasOwnProperty15 = objectProto17.hasOwnProperty;
155534
- _baseUnset_default = baseUnset;
155887
+ var _ListCache_default2;
155888
+ var init__ListCache2 = __esm(() => {
155889
+ init__listCacheClear2();
155890
+ init__listCacheDelete2();
155891
+ init__listCacheGet2();
155892
+ init__listCacheHas2();
155893
+ init__listCacheSet2();
155894
+ ListCache2.prototype.clear = _listCacheClear_default2;
155895
+ ListCache2.prototype["delete"] = _listCacheDelete_default2;
155896
+ ListCache2.prototype.get = _listCacheGet_default2;
155897
+ ListCache2.prototype.has = _listCacheHas_default2;
155898
+ ListCache2.prototype.set = _listCacheSet_default2;
155899
+ _ListCache_default2 = ListCache2;
155900
+ });
155901
+
155902
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Map.js
155903
+ var Map3, _Map_default2;
155904
+ var init__Map2 = __esm(() => {
155905
+ init__getNative2();
155906
+ init__root2();
155907
+ Map3 = _getNative_default2(_root_default2, "Map");
155908
+ _Map_default2 = Map3;
155909
+ });
155910
+
155911
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_mapCacheClear.js
155912
+ function mapCacheClear2() {
155913
+ this.size = 0;
155914
+ this.__data__ = {
155915
+ hash: new _Hash_default2,
155916
+ map: new (_Map_default2 || _ListCache_default2),
155917
+ string: new _Hash_default2
155918
+ };
155919
+ }
155920
+ var _mapCacheClear_default2;
155921
+ var init__mapCacheClear2 = __esm(() => {
155922
+ init__Hash2();
155923
+ init__ListCache2();
155924
+ init__Map2();
155925
+ _mapCacheClear_default2 = mapCacheClear2;
155535
155926
  });
155536
155927
 
155537
- // node_modules/lodash-es/_customOmitClone.js
155538
- function customOmitClone(value) {
155539
- return isPlainObject_default(value) ? undefined : value;
155928
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_isKeyable.js
155929
+ function isKeyable2(value) {
155930
+ var type = typeof value;
155931
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
155540
155932
  }
155541
- var _customOmitClone_default;
155542
- var init__customOmitClone = __esm(() => {
155543
- init_isPlainObject();
155544
- _customOmitClone_default = customOmitClone;
155933
+ var _isKeyable_default2;
155934
+ var init__isKeyable2 = __esm(() => {
155935
+ _isKeyable_default2 = isKeyable2;
155545
155936
  });
155546
155937
 
155547
- // node_modules/lodash-es/omit.js
155548
- var CLONE_DEEP_FLAG3 = 1, CLONE_FLAT_FLAG2 = 2, CLONE_SYMBOLS_FLAG3 = 4, omit3, omit_default;
155549
- var init_omit = __esm(() => {
155550
- init__arrayMap();
155551
- init__baseClone();
155552
- init__baseUnset();
155553
- init__castPath();
155554
- init__copyObject();
155555
- init__customOmitClone();
155556
- init__flatRest();
155557
- init__getAllKeysIn();
155558
- omit3 = _flatRest_default(function(object2, paths2) {
155559
- var result = {};
155560
- if (object2 == null) {
155561
- return result;
155562
- }
155563
- var isDeep = false;
155564
- paths2 = _arrayMap_default(paths2, function(path10) {
155565
- path10 = _castPath_default(path10, object2);
155566
- isDeep || (isDeep = path10.length > 1);
155567
- return path10;
155568
- });
155569
- _copyObject_default(object2, _getAllKeysIn_default(object2), result);
155570
- if (isDeep) {
155571
- result = _baseClone_default(result, CLONE_DEEP_FLAG3 | CLONE_FLAT_FLAG2 | CLONE_SYMBOLS_FLAG3, _customOmitClone_default);
155572
- }
155573
- var length = paths2.length;
155574
- while (length--) {
155575
- _baseUnset_default(result, paths2[length]);
155576
- }
155577
- return result;
155578
- });
155579
- omit_default = omit3;
155938
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getMapData.js
155939
+ function getMapData2(map2, key) {
155940
+ var data = map2.__data__;
155941
+ return _isKeyable_default2(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
155942
+ }
155943
+ var _getMapData_default2;
155944
+ var init__getMapData2 = __esm(() => {
155945
+ init__isKeyable2();
155946
+ _getMapData_default2 = getMapData2;
155580
155947
  });
155581
155948
 
155582
- // node_modules/lodash-es/partition.js
155583
- var partition2, partition_default;
155584
- var init_partition = __esm(() => {
155585
- init__createAggregator();
155586
- partition2 = _createAggregator_default(function(result, value, key) {
155587
- result[key ? 0 : 1].push(value);
155588
- }, function() {
155589
- return [[], []];
155590
- });
155591
- partition_default = partition2;
155949
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_mapCacheDelete.js
155950
+ function mapCacheDelete2(key) {
155951
+ var result = _getMapData_default2(this, key)["delete"](key);
155952
+ this.size -= result ? 1 : 0;
155953
+ return result;
155954
+ }
155955
+ var _mapCacheDelete_default2;
155956
+ var init__mapCacheDelete2 = __esm(() => {
155957
+ init__getMapData2();
155958
+ _mapCacheDelete_default2 = mapCacheDelete2;
155592
155959
  });
155593
155960
 
155594
- // node_modules/lodash-es/_baseRandom.js
155595
- function baseRandom(lower, upper) {
155596
- return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
155961
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_mapCacheGet.js
155962
+ function mapCacheGet2(key) {
155963
+ return _getMapData_default2(this, key).get(key);
155597
155964
  }
155598
- var nativeFloor, nativeRandom, _baseRandom_default;
155599
- var init__baseRandom = __esm(() => {
155600
- nativeFloor = Math.floor;
155601
- nativeRandom = Math.random;
155602
- _baseRandom_default = baseRandom;
155965
+ var _mapCacheGet_default2;
155966
+ var init__mapCacheGet2 = __esm(() => {
155967
+ init__getMapData2();
155968
+ _mapCacheGet_default2 = mapCacheGet2;
155603
155969
  });
155604
155970
 
155605
- // node_modules/lodash-es/reject.js
155606
- function reject(collection, predicate) {
155607
- var func = isArray_default(collection) ? _arrayFilter_default : _baseFilter_default;
155608
- return func(collection, negate_default(_baseIteratee_default(predicate, 3)));
155971
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_mapCacheHas.js
155972
+ function mapCacheHas2(key) {
155973
+ return _getMapData_default2(this, key).has(key);
155609
155974
  }
155610
- var reject_default;
155611
- var init_reject2 = __esm(() => {
155612
- init__arrayFilter();
155613
- init__baseFilter();
155614
- init__baseIteratee();
155615
- init_isArray();
155616
- init_negate();
155617
- reject_default = reject;
155975
+ var _mapCacheHas_default2;
155976
+ var init__mapCacheHas2 = __esm(() => {
155977
+ init__getMapData2();
155978
+ _mapCacheHas_default2 = mapCacheHas2;
155618
155979
  });
155619
155980
 
155620
- // node_modules/lodash-es/_arraySample.js
155621
- function arraySample(array2) {
155622
- var length = array2.length;
155623
- return length ? array2[_baseRandom_default(0, length - 1)] : undefined;
155981
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_mapCacheSet.js
155982
+ function mapCacheSet2(key, value) {
155983
+ var data = _getMapData_default2(this, key), size = data.size;
155984
+ data.set(key, value);
155985
+ this.size += data.size == size ? 0 : 1;
155986
+ return this;
155624
155987
  }
155625
- var _arraySample_default;
155626
- var init__arraySample = __esm(() => {
155627
- init__baseRandom();
155628
- _arraySample_default = arraySample;
155988
+ var _mapCacheSet_default2;
155989
+ var init__mapCacheSet2 = __esm(() => {
155990
+ init__getMapData2();
155991
+ _mapCacheSet_default2 = mapCacheSet2;
155629
155992
  });
155630
155993
 
155631
- // node_modules/lodash-es/_baseSample.js
155632
- function baseSample(collection) {
155633
- return _arraySample_default(values_default(collection));
155994
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_MapCache.js
155995
+ function MapCache2(entries) {
155996
+ var index = -1, length = entries == null ? 0 : entries.length;
155997
+ this.clear();
155998
+ while (++index < length) {
155999
+ var entry = entries[index];
156000
+ this.set(entry[0], entry[1]);
156001
+ }
155634
156002
  }
155635
- var _baseSample_default;
155636
- var init__baseSample = __esm(() => {
155637
- init__arraySample();
155638
- init_values3();
155639
- _baseSample_default = baseSample;
156003
+ var _MapCache_default2;
156004
+ var init__MapCache2 = __esm(() => {
156005
+ init__mapCacheClear2();
156006
+ init__mapCacheDelete2();
156007
+ init__mapCacheGet2();
156008
+ init__mapCacheHas2();
156009
+ init__mapCacheSet2();
156010
+ MapCache2.prototype.clear = _mapCacheClear_default2;
156011
+ MapCache2.prototype["delete"] = _mapCacheDelete_default2;
156012
+ MapCache2.prototype.get = _mapCacheGet_default2;
156013
+ MapCache2.prototype.has = _mapCacheHas_default2;
156014
+ MapCache2.prototype.set = _mapCacheSet_default2;
156015
+ _MapCache_default2 = MapCache2;
156016
+ });
156017
+
156018
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_arrayPush.js
156019
+ function arrayPush2(array2, values) {
156020
+ var index = -1, length = values.length, offset = array2.length;
156021
+ while (++index < length) {
156022
+ array2[offset + index] = values[index];
156023
+ }
156024
+ return array2;
156025
+ }
156026
+ var _arrayPush_default2;
156027
+ var init__arrayPush2 = __esm(() => {
156028
+ _arrayPush_default2 = arrayPush2;
155640
156029
  });
155641
156030
 
155642
- // node_modules/lodash-es/sample.js
155643
- function sample(collection) {
155644
- var func = isArray_default(collection) ? _arraySample_default : _baseSample_default;
155645
- return func(collection);
156031
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getPrototype.js
156032
+ var getPrototype2, _getPrototype_default2;
156033
+ var init__getPrototype2 = __esm(() => {
156034
+ init__overArg2();
156035
+ getPrototype2 = _overArg_default2(Object.getPrototypeOf, Object);
156036
+ _getPrototype_default2 = getPrototype2;
156037
+ });
156038
+
156039
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_stackClear.js
156040
+ function stackClear2() {
156041
+ this.__data__ = new _ListCache_default2;
156042
+ this.size = 0;
155646
156043
  }
155647
- var sample_default;
155648
- var init_sample = __esm(() => {
155649
- init__arraySample();
155650
- init__baseSample();
155651
- init_isArray();
155652
- sample_default = sample;
156044
+ var _stackClear_default2;
156045
+ var init__stackClear2 = __esm(() => {
156046
+ init__ListCache2();
156047
+ _stackClear_default2 = stackClear2;
155653
156048
  });
155654
156049
 
155655
- // node_modules/lodash-es/setWith.js
155656
- function setWith(object2, path10, value, customizer) {
155657
- customizer = typeof customizer == "function" ? customizer : undefined;
155658
- return object2 == null ? object2 : _baseSet_default(object2, path10, value, customizer);
156050
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_stackDelete.js
156051
+ function stackDelete2(key) {
156052
+ var data = this.__data__, result = data["delete"](key);
156053
+ this.size = data.size;
156054
+ return result;
155659
156055
  }
155660
- var setWith_default;
155661
- var init_setWith = __esm(() => {
155662
- init__baseSet();
155663
- setWith_default = setWith;
156056
+ var _stackDelete_default2;
156057
+ var init__stackDelete2 = __esm(() => {
156058
+ _stackDelete_default2 = stackDelete2;
155664
156059
  });
155665
156060
 
155666
- // node_modules/lodash-es/_createSet.js
155667
- var INFINITY3, createSet, _createSet_default;
155668
- var init__createSet = __esm(() => {
155669
- init__Set();
155670
- init_noop();
155671
- init__setToArray();
155672
- INFINITY3 = 1 / 0;
155673
- createSet = !(_Set_default && 1 / _setToArray_default(new _Set_default([, -0]))[1] == INFINITY3) ? noop_default : function(values2) {
155674
- return new _Set_default(values2);
155675
- };
155676
- _createSet_default = createSet;
156061
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_stackGet.js
156062
+ function stackGet2(key) {
156063
+ return this.__data__.get(key);
156064
+ }
156065
+ var _stackGet_default2;
156066
+ var init__stackGet2 = __esm(() => {
156067
+ _stackGet_default2 = stackGet2;
155677
156068
  });
155678
156069
 
155679
- // node_modules/lodash-es/_baseUniq.js
155680
- function baseUniq(array2, iteratee, comparator) {
155681
- var index = -1, includes = _arrayIncludes_default, length = array2.length, isCommon = true, result = [], seen = result;
155682
- if (comparator) {
155683
- isCommon = false;
155684
- includes = _arrayIncludesWith_default;
155685
- } else if (length >= LARGE_ARRAY_SIZE2) {
155686
- var set2 = iteratee ? null : _createSet_default(array2);
155687
- if (set2) {
155688
- return _setToArray_default(set2);
156070
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_stackHas.js
156071
+ function stackHas2(key) {
156072
+ return this.__data__.has(key);
156073
+ }
156074
+ var _stackHas_default2;
156075
+ var init__stackHas2 = __esm(() => {
156076
+ _stackHas_default2 = stackHas2;
156077
+ });
156078
+
156079
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_stackSet.js
156080
+ function stackSet2(key, value) {
156081
+ var data = this.__data__;
156082
+ if (data instanceof _ListCache_default2) {
156083
+ var pairs = data.__data__;
156084
+ if (!_Map_default2 || pairs.length < LARGE_ARRAY_SIZE2 - 1) {
156085
+ pairs.push([key, value]);
156086
+ this.size = ++data.size;
156087
+ return this;
155689
156088
  }
155690
- isCommon = false;
155691
- includes = _cacheHas_default;
155692
- seen = new _SetCache_default;
155693
- } else {
155694
- seen = iteratee ? [] : result;
156089
+ data = this.__data__ = new _MapCache_default2(pairs);
155695
156090
  }
155696
- outer:
155697
- while (++index < length) {
155698
- var value = array2[index], computed = iteratee ? iteratee(value) : value;
155699
- value = comparator || value !== 0 ? value : 0;
155700
- if (isCommon && computed === computed) {
155701
- var seenIndex = seen.length;
155702
- while (seenIndex--) {
155703
- if (seen[seenIndex] === computed) {
155704
- continue outer;
155705
- }
155706
- }
155707
- if (iteratee) {
155708
- seen.push(computed);
155709
- }
155710
- result.push(value);
155711
- } else if (!includes(seen, computed, comparator)) {
155712
- if (seen !== result) {
155713
- seen.push(computed);
155714
- }
155715
- result.push(value);
155716
- }
156091
+ data.set(key, value);
156092
+ this.size = data.size;
156093
+ return this;
156094
+ }
156095
+ var LARGE_ARRAY_SIZE2 = 200, _stackSet_default2;
156096
+ var init__stackSet2 = __esm(() => {
156097
+ init__ListCache2();
156098
+ init__Map2();
156099
+ init__MapCache2();
156100
+ _stackSet_default2 = stackSet2;
156101
+ });
156102
+
156103
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Stack.js
156104
+ function Stack2(entries) {
156105
+ var data = this.__data__ = new _ListCache_default2(entries);
156106
+ this.size = data.size;
156107
+ }
156108
+ var _Stack_default2;
156109
+ var init__Stack2 = __esm(() => {
156110
+ init__ListCache2();
156111
+ init__stackClear2();
156112
+ init__stackDelete2();
156113
+ init__stackGet2();
156114
+ init__stackHas2();
156115
+ init__stackSet2();
156116
+ Stack2.prototype.clear = _stackClear_default2;
156117
+ Stack2.prototype["delete"] = _stackDelete_default2;
156118
+ Stack2.prototype.get = _stackGet_default2;
156119
+ Stack2.prototype.has = _stackHas_default2;
156120
+ Stack2.prototype.set = _stackSet_default2;
156121
+ _Stack_default2 = Stack2;
156122
+ });
156123
+
156124
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseAssign.js
156125
+ function baseAssign2(object2, source) {
156126
+ return object2 && _copyObject_default2(source, keys_default2(source), object2);
156127
+ }
156128
+ var _baseAssign_default2;
156129
+ var init__baseAssign2 = __esm(() => {
156130
+ init__copyObject2();
156131
+ init_keys2();
156132
+ _baseAssign_default2 = baseAssign2;
156133
+ });
156134
+
156135
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseAssignIn.js
156136
+ function baseAssignIn2(object2, source) {
156137
+ return object2 && _copyObject_default2(source, keysIn_default2(source), object2);
156138
+ }
156139
+ var _baseAssignIn_default2;
156140
+ var init__baseAssignIn2 = __esm(() => {
156141
+ init__copyObject2();
156142
+ init_keysIn2();
156143
+ _baseAssignIn_default2 = baseAssignIn2;
156144
+ });
156145
+
156146
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_cloneBuffer.js
156147
+ var exports__cloneBuffer2 = {};
156148
+ __export(exports__cloneBuffer2, {
156149
+ default: () => _cloneBuffer_default2
156150
+ });
156151
+ function cloneBuffer2(buffer, isDeep) {
156152
+ if (isDeep) {
156153
+ return buffer.slice();
156154
+ }
156155
+ var length = buffer.length, result = allocUnsafe2 ? allocUnsafe2(length) : new buffer.constructor(length);
156156
+ buffer.copy(result);
156157
+ return result;
156158
+ }
156159
+ var freeExports6, freeModule6, moduleExports6, Buffer10, allocUnsafe2, _cloneBuffer_default2;
156160
+ var init__cloneBuffer2 = __esm(() => {
156161
+ init__root2();
156162
+ freeExports6 = typeof exports__cloneBuffer2 == "object" && exports__cloneBuffer2 && !exports__cloneBuffer2.nodeType && exports__cloneBuffer2;
156163
+ freeModule6 = freeExports6 && typeof module__cloneBuffer == "object" && module__cloneBuffer && !module__cloneBuffer.nodeType && module__cloneBuffer;
156164
+ moduleExports6 = freeModule6 && freeModule6.exports === freeExports6;
156165
+ Buffer10 = moduleExports6 ? _root_default2.Buffer : undefined;
156166
+ allocUnsafe2 = Buffer10 ? Buffer10.allocUnsafe : undefined;
156167
+ _cloneBuffer_default2 = cloneBuffer2;
156168
+ });
156169
+
156170
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_arrayFilter.js
156171
+ function arrayFilter2(array2, predicate) {
156172
+ var index = -1, length = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
156173
+ while (++index < length) {
156174
+ var value = array2[index];
156175
+ if (predicate(value, index, array2)) {
156176
+ result[resIndex++] = value;
155717
156177
  }
156178
+ }
155718
156179
  return result;
155719
156180
  }
155720
- var LARGE_ARRAY_SIZE2 = 200, _baseUniq_default;
155721
- var init__baseUniq = __esm(() => {
155722
- init__SetCache();
155723
- init__arrayIncludes();
155724
- init__arrayIncludesWith();
155725
- init__cacheHas();
155726
- init__createSet();
155727
- init__setToArray();
155728
- _baseUniq_default = baseUniq;
156181
+ var _arrayFilter_default2;
156182
+ var init__arrayFilter2 = __esm(() => {
156183
+ _arrayFilter_default2 = arrayFilter2;
155729
156184
  });
155730
156185
 
155731
- // node_modules/lodash-es/uniqBy.js
155732
- function uniqBy(array2, iteratee) {
155733
- return array2 && array2.length ? _baseUniq_default(array2, _baseIteratee_default(iteratee, 2)) : [];
156186
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/stubArray.js
156187
+ function stubArray2() {
156188
+ return [];
155734
156189
  }
155735
- var uniqBy_default;
155736
- var init_uniqBy = __esm(() => {
155737
- init__baseIteratee();
155738
- init__baseUniq();
155739
- uniqBy_default = uniqBy;
156190
+ var stubArray_default2;
156191
+ var init_stubArray2 = __esm(() => {
156192
+ stubArray_default2 = stubArray2;
155740
156193
  });
155741
156194
 
155742
- // node_modules/lodash-es/_baseZipObject.js
155743
- function baseZipObject(props, values2, assignFunc) {
155744
- var index = -1, length = props.length, valsLength = values2.length, result = {};
155745
- while (++index < length) {
155746
- var value = index < valsLength ? values2[index] : undefined;
155747
- assignFunc(result, props[index], value);
156195
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getSymbols.js
156196
+ var objectProto28, propertyIsEnumerable4, nativeGetSymbols3, getSymbols2, _getSymbols_default2;
156197
+ var init__getSymbols2 = __esm(() => {
156198
+ init__arrayFilter2();
156199
+ init_stubArray2();
156200
+ objectProto28 = Object.prototype;
156201
+ propertyIsEnumerable4 = objectProto28.propertyIsEnumerable;
156202
+ nativeGetSymbols3 = Object.getOwnPropertySymbols;
156203
+ getSymbols2 = !nativeGetSymbols3 ? stubArray_default2 : function(object2) {
156204
+ if (object2 == null) {
156205
+ return [];
156206
+ }
156207
+ object2 = Object(object2);
156208
+ return _arrayFilter_default2(nativeGetSymbols3(object2), function(symbol2) {
156209
+ return propertyIsEnumerable4.call(object2, symbol2);
156210
+ });
156211
+ };
156212
+ _getSymbols_default2 = getSymbols2;
156213
+ });
156214
+
156215
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_copySymbols.js
156216
+ function copySymbols2(source, object2) {
156217
+ return _copyObject_default2(source, _getSymbols_default2(source), object2);
156218
+ }
156219
+ var _copySymbols_default2;
156220
+ var init__copySymbols2 = __esm(() => {
156221
+ init__copyObject2();
156222
+ init__getSymbols2();
156223
+ _copySymbols_default2 = copySymbols2;
156224
+ });
156225
+
156226
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getSymbolsIn.js
156227
+ var nativeGetSymbols4, getSymbolsIn2, _getSymbolsIn_default2;
156228
+ var init__getSymbolsIn2 = __esm(() => {
156229
+ init__arrayPush2();
156230
+ init__getPrototype2();
156231
+ init__getSymbols2();
156232
+ init_stubArray2();
156233
+ nativeGetSymbols4 = Object.getOwnPropertySymbols;
156234
+ getSymbolsIn2 = !nativeGetSymbols4 ? stubArray_default2 : function(object2) {
156235
+ var result = [];
156236
+ while (object2) {
156237
+ _arrayPush_default2(result, _getSymbols_default2(object2));
156238
+ object2 = _getPrototype_default2(object2);
156239
+ }
156240
+ return result;
156241
+ };
156242
+ _getSymbolsIn_default2 = getSymbolsIn2;
156243
+ });
156244
+
156245
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_copySymbolsIn.js
156246
+ function copySymbolsIn2(source, object2) {
156247
+ return _copyObject_default2(source, _getSymbolsIn_default2(source), object2);
156248
+ }
156249
+ var _copySymbolsIn_default2;
156250
+ var init__copySymbolsIn2 = __esm(() => {
156251
+ init__copyObject2();
156252
+ init__getSymbolsIn2();
156253
+ _copySymbolsIn_default2 = copySymbolsIn2;
156254
+ });
156255
+
156256
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseGetAllKeys.js
156257
+ function baseGetAllKeys2(object2, keysFunc, symbolsFunc) {
156258
+ var result = keysFunc(object2);
156259
+ return isArray_default2(object2) ? result : _arrayPush_default2(result, symbolsFunc(object2));
156260
+ }
156261
+ var _baseGetAllKeys_default2;
156262
+ var init__baseGetAllKeys2 = __esm(() => {
156263
+ init__arrayPush2();
156264
+ init_isArray2();
156265
+ _baseGetAllKeys_default2 = baseGetAllKeys2;
156266
+ });
156267
+
156268
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getAllKeys.js
156269
+ function getAllKeys2(object2) {
156270
+ return _baseGetAllKeys_default2(object2, keys_default2, _getSymbols_default2);
156271
+ }
156272
+ var _getAllKeys_default2;
156273
+ var init__getAllKeys2 = __esm(() => {
156274
+ init__baseGetAllKeys2();
156275
+ init__getSymbols2();
156276
+ init_keys2();
156277
+ _getAllKeys_default2 = getAllKeys2;
156278
+ });
156279
+
156280
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getAllKeysIn.js
156281
+ function getAllKeysIn2(object2) {
156282
+ return _baseGetAllKeys_default2(object2, keysIn_default2, _getSymbolsIn_default2);
156283
+ }
156284
+ var _getAllKeysIn_default2;
156285
+ var init__getAllKeysIn2 = __esm(() => {
156286
+ init__baseGetAllKeys2();
156287
+ init__getSymbolsIn2();
156288
+ init_keysIn2();
156289
+ _getAllKeysIn_default2 = getAllKeysIn2;
156290
+ });
156291
+
156292
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_DataView.js
156293
+ var DataView3, _DataView_default2;
156294
+ var init__DataView2 = __esm(() => {
156295
+ init__getNative2();
156296
+ init__root2();
156297
+ DataView3 = _getNative_default2(_root_default2, "DataView");
156298
+ _DataView_default2 = DataView3;
156299
+ });
156300
+
156301
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Promise.js
156302
+ var Promise3, _Promise_default2;
156303
+ var init__Promise2 = __esm(() => {
156304
+ init__getNative2();
156305
+ init__root2();
156306
+ Promise3 = _getNative_default2(_root_default2, "Promise");
156307
+ _Promise_default2 = Promise3;
156308
+ });
156309
+
156310
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Set.js
156311
+ var Set3, _Set_default2;
156312
+ var init__Set2 = __esm(() => {
156313
+ init__getNative2();
156314
+ init__root2();
156315
+ Set3 = _getNative_default2(_root_default2, "Set");
156316
+ _Set_default2 = Set3;
156317
+ });
156318
+
156319
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_getTag.js
156320
+ var mapTag8 = "[object Map]", objectTag7 = "[object Object]", promiseTag2 = "[object Promise]", setTag8 = "[object Set]", weakMapTag5 = "[object WeakMap]", dataViewTag7 = "[object DataView]", dataViewCtorString2, mapCtorString2, promiseCtorString2, setCtorString2, weakMapCtorString2, getTag2, _getTag_default2;
156321
+ var init__getTag2 = __esm(() => {
156322
+ init__DataView2();
156323
+ init__Map2();
156324
+ init__Promise2();
156325
+ init__Set2();
156326
+ init__WeakMap2();
156327
+ init__baseGetTag2();
156328
+ init__toSource2();
156329
+ dataViewCtorString2 = _toSource_default2(_DataView_default2);
156330
+ mapCtorString2 = _toSource_default2(_Map_default2);
156331
+ promiseCtorString2 = _toSource_default2(_Promise_default2);
156332
+ setCtorString2 = _toSource_default2(_Set_default2);
156333
+ weakMapCtorString2 = _toSource_default2(_WeakMap_default2);
156334
+ getTag2 = _baseGetTag_default2;
156335
+ if (_DataView_default2 && getTag2(new _DataView_default2(new ArrayBuffer(1))) != dataViewTag7 || _Map_default2 && getTag2(new _Map_default2) != mapTag8 || _Promise_default2 && getTag2(_Promise_default2.resolve()) != promiseTag2 || _Set_default2 && getTag2(new _Set_default2) != setTag8 || _WeakMap_default2 && getTag2(new _WeakMap_default2) != weakMapTag5) {
156336
+ getTag2 = function(value) {
156337
+ var result = _baseGetTag_default2(value), Ctor = result == objectTag7 ? value.constructor : undefined, ctorString = Ctor ? _toSource_default2(Ctor) : "";
156338
+ if (ctorString) {
156339
+ switch (ctorString) {
156340
+ case dataViewCtorString2:
156341
+ return dataViewTag7;
156342
+ case mapCtorString2:
156343
+ return mapTag8;
156344
+ case promiseCtorString2:
156345
+ return promiseTag2;
156346
+ case setCtorString2:
156347
+ return setTag8;
156348
+ case weakMapCtorString2:
156349
+ return weakMapTag5;
156350
+ }
156351
+ }
156352
+ return result;
156353
+ };
156354
+ }
156355
+ _getTag_default2 = getTag2;
156356
+ });
156357
+
156358
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_initCloneArray.js
156359
+ function initCloneArray2(array2) {
156360
+ var length = array2.length, result = new array2.constructor(length);
156361
+ if (length && typeof array2[0] == "string" && hasOwnProperty24.call(array2, "index")) {
156362
+ result.index = array2.index;
156363
+ result.input = array2.input;
155748
156364
  }
155749
156365
  return result;
155750
156366
  }
155751
- var _baseZipObject_default;
155752
- var init__baseZipObject = __esm(() => {
155753
- _baseZipObject_default = baseZipObject;
156367
+ var objectProto29, hasOwnProperty24, _initCloneArray_default2;
156368
+ var init__initCloneArray2 = __esm(() => {
156369
+ objectProto29 = Object.prototype;
156370
+ hasOwnProperty24 = objectProto29.hasOwnProperty;
156371
+ _initCloneArray_default2 = initCloneArray2;
155754
156372
  });
155755
156373
 
155756
- // node_modules/lodash-es/zipObject.js
155757
- function zipObject(props, values2) {
155758
- return _baseZipObject_default(props || [], values2 || [], _assignValue_default);
156374
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_Uint8Array.js
156375
+ var Uint8Array3, _Uint8Array_default2;
156376
+ var init__Uint8Array2 = __esm(() => {
156377
+ init__root2();
156378
+ Uint8Array3 = _root_default2.Uint8Array;
156379
+ _Uint8Array_default2 = Uint8Array3;
156380
+ });
156381
+
156382
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_cloneArrayBuffer.js
156383
+ function cloneArrayBuffer2(arrayBuffer) {
156384
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
156385
+ new _Uint8Array_default2(result).set(new _Uint8Array_default2(arrayBuffer));
156386
+ return result;
155759
156387
  }
155760
- var zipObject_default;
155761
- var init_zipObject = __esm(() => {
155762
- init__assignValue();
155763
- init__baseZipObject();
155764
- zipObject_default = zipObject;
156388
+ var _cloneArrayBuffer_default2;
156389
+ var init__cloneArrayBuffer2 = __esm(() => {
156390
+ init__Uint8Array2();
156391
+ _cloneArrayBuffer_default2 = cloneArrayBuffer2;
155765
156392
  });
155766
156393
 
155767
- // node_modules/lodash-es/lodash.js
156394
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_cloneDataView.js
156395
+ function cloneDataView2(dataView, isDeep) {
156396
+ var buffer = isDeep ? _cloneArrayBuffer_default2(dataView.buffer) : dataView.buffer;
156397
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
156398
+ }
156399
+ var _cloneDataView_default2;
156400
+ var init__cloneDataView2 = __esm(() => {
156401
+ init__cloneArrayBuffer2();
156402
+ _cloneDataView_default2 = cloneDataView2;
156403
+ });
156404
+
156405
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_cloneRegExp.js
156406
+ function cloneRegExp2(regexp) {
156407
+ var result = new regexp.constructor(regexp.source, reFlags2.exec(regexp));
156408
+ result.lastIndex = regexp.lastIndex;
156409
+ return result;
156410
+ }
156411
+ var reFlags2, _cloneRegExp_default2;
156412
+ var init__cloneRegExp2 = __esm(() => {
156413
+ reFlags2 = /\w*$/;
156414
+ _cloneRegExp_default2 = cloneRegExp2;
156415
+ });
156416
+
156417
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_cloneSymbol.js
156418
+ function cloneSymbol2(symbol2) {
156419
+ return symbolValueOf3 ? Object(symbolValueOf3.call(symbol2)) : {};
156420
+ }
156421
+ var symbolProto4, symbolValueOf3, _cloneSymbol_default2;
156422
+ var init__cloneSymbol2 = __esm(() => {
156423
+ init__Symbol2();
156424
+ symbolProto4 = _Symbol_default2 ? _Symbol_default2.prototype : undefined;
156425
+ symbolValueOf3 = symbolProto4 ? symbolProto4.valueOf : undefined;
156426
+ _cloneSymbol_default2 = cloneSymbol2;
156427
+ });
156428
+
156429
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_cloneTypedArray.js
156430
+ function cloneTypedArray2(typedArray, isDeep) {
156431
+ var buffer = isDeep ? _cloneArrayBuffer_default2(typedArray.buffer) : typedArray.buffer;
156432
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
156433
+ }
156434
+ var _cloneTypedArray_default2;
156435
+ var init__cloneTypedArray2 = __esm(() => {
156436
+ init__cloneArrayBuffer2();
156437
+ _cloneTypedArray_default2 = cloneTypedArray2;
156438
+ });
156439
+
156440
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_initCloneByTag.js
156441
+ function initCloneByTag2(object2, tag, isDeep) {
156442
+ var Ctor = object2.constructor;
156443
+ switch (tag) {
156444
+ case arrayBufferTag6:
156445
+ return _cloneArrayBuffer_default2(object2);
156446
+ case boolTag6:
156447
+ case dateTag6:
156448
+ return new Ctor(+object2);
156449
+ case dataViewTag8:
156450
+ return _cloneDataView_default2(object2, isDeep);
156451
+ case float32Tag5:
156452
+ case float64Tag5:
156453
+ case int8Tag5:
156454
+ case int16Tag5:
156455
+ case int32Tag5:
156456
+ case uint8Tag5:
156457
+ case uint8ClampedTag5:
156458
+ case uint16Tag5:
156459
+ case uint32Tag5:
156460
+ return _cloneTypedArray_default2(object2, isDeep);
156461
+ case mapTag9:
156462
+ return new Ctor;
156463
+ case numberTag6:
156464
+ case stringTag6:
156465
+ return new Ctor(object2);
156466
+ case regexpTag6:
156467
+ return _cloneRegExp_default2(object2);
156468
+ case setTag9:
156469
+ return new Ctor;
156470
+ case symbolTag5:
156471
+ return _cloneSymbol_default2(object2);
156472
+ }
156473
+ }
156474
+ var boolTag6 = "[object Boolean]", dateTag6 = "[object Date]", mapTag9 = "[object Map]", numberTag6 = "[object Number]", regexpTag6 = "[object RegExp]", setTag9 = "[object Set]", stringTag6 = "[object String]", symbolTag5 = "[object Symbol]", arrayBufferTag6 = "[object ArrayBuffer]", dataViewTag8 = "[object DataView]", float32Tag5 = "[object Float32Array]", float64Tag5 = "[object Float64Array]", int8Tag5 = "[object Int8Array]", int16Tag5 = "[object Int16Array]", int32Tag5 = "[object Int32Array]", uint8Tag5 = "[object Uint8Array]", uint8ClampedTag5 = "[object Uint8ClampedArray]", uint16Tag5 = "[object Uint16Array]", uint32Tag5 = "[object Uint32Array]", _initCloneByTag_default2;
156475
+ var init__initCloneByTag2 = __esm(() => {
156476
+ init__cloneArrayBuffer2();
156477
+ init__cloneDataView2();
156478
+ init__cloneRegExp2();
156479
+ init__cloneSymbol2();
156480
+ init__cloneTypedArray2();
156481
+ _initCloneByTag_default2 = initCloneByTag2;
156482
+ });
156483
+
156484
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_initCloneObject.js
156485
+ function initCloneObject2(object2) {
156486
+ return typeof object2.constructor == "function" && !_isPrototype_default2(object2) ? _baseCreate_default2(_getPrototype_default2(object2)) : {};
156487
+ }
156488
+ var _initCloneObject_default2;
156489
+ var init__initCloneObject2 = __esm(() => {
156490
+ init__baseCreate2();
156491
+ init__getPrototype2();
156492
+ init__isPrototype2();
156493
+ _initCloneObject_default2 = initCloneObject2;
156494
+ });
156495
+
156496
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseIsMap.js
156497
+ function baseIsMap2(value) {
156498
+ return isObjectLike_default2(value) && _getTag_default2(value) == mapTag10;
156499
+ }
156500
+ var mapTag10 = "[object Map]", _baseIsMap_default2;
156501
+ var init__baseIsMap2 = __esm(() => {
156502
+ init__getTag2();
156503
+ init_isObjectLike2();
156504
+ _baseIsMap_default2 = baseIsMap2;
156505
+ });
156506
+
156507
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isMap.js
156508
+ var nodeIsMap2, isMap2, isMap_default2;
156509
+ var init_isMap2 = __esm(() => {
156510
+ init__baseIsMap2();
156511
+ init__baseUnary2();
156512
+ init__nodeUtil2();
156513
+ nodeIsMap2 = _nodeUtil_default2 && _nodeUtil_default2.isMap;
156514
+ isMap2 = nodeIsMap2 ? _baseUnary_default2(nodeIsMap2) : _baseIsMap_default2;
156515
+ isMap_default2 = isMap2;
156516
+ });
156517
+
156518
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseIsSet.js
156519
+ function baseIsSet2(value) {
156520
+ return isObjectLike_default2(value) && _getTag_default2(value) == setTag10;
156521
+ }
156522
+ var setTag10 = "[object Set]", _baseIsSet_default2;
156523
+ var init__baseIsSet2 = __esm(() => {
156524
+ init__getTag2();
156525
+ init_isObjectLike2();
156526
+ _baseIsSet_default2 = baseIsSet2;
156527
+ });
156528
+
156529
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/isSet.js
156530
+ var nodeIsSet2, isSet2, isSet_default2;
156531
+ var init_isSet2 = __esm(() => {
156532
+ init__baseIsSet2();
156533
+ init__baseUnary2();
156534
+ init__nodeUtil2();
156535
+ nodeIsSet2 = _nodeUtil_default2 && _nodeUtil_default2.isSet;
156536
+ isSet2 = nodeIsSet2 ? _baseUnary_default2(nodeIsSet2) : _baseIsSet_default2;
156537
+ isSet_default2 = isSet2;
156538
+ });
156539
+
156540
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/_baseClone.js
156541
+ function baseClone2(value, bitmask, customizer, key, object2, stack) {
156542
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG2, isFlat = bitmask & CLONE_FLAT_FLAG2, isFull = bitmask & CLONE_SYMBOLS_FLAG2;
156543
+ if (customizer) {
156544
+ result = object2 ? customizer(value, key, object2, stack) : customizer(value);
156545
+ }
156546
+ if (result !== undefined) {
156547
+ return result;
156548
+ }
156549
+ if (!isObject_default2(value)) {
156550
+ return value;
156551
+ }
156552
+ var isArr = isArray_default2(value);
156553
+ if (isArr) {
156554
+ result = _initCloneArray_default2(value);
156555
+ if (!isDeep) {
156556
+ return _copyArray_default2(value, result);
156557
+ }
156558
+ } else {
156559
+ var tag = _getTag_default2(value), isFunc = tag == funcTag6 || tag == genTag4;
156560
+ if (isBuffer_default2(value)) {
156561
+ return _cloneBuffer_default2(value, isDeep);
156562
+ }
156563
+ if (tag == objectTag8 || tag == argsTag7 || isFunc && !object2) {
156564
+ result = isFlat || isFunc ? {} : _initCloneObject_default2(value);
156565
+ if (!isDeep) {
156566
+ return isFlat ? _copySymbolsIn_default2(value, _baseAssignIn_default2(result, value)) : _copySymbols_default2(value, _baseAssign_default2(result, value));
156567
+ }
156568
+ } else {
156569
+ if (!cloneableTags2[tag]) {
156570
+ return object2 ? value : {};
156571
+ }
156572
+ result = _initCloneByTag_default2(value, tag, isDeep);
156573
+ }
156574
+ }
156575
+ stack || (stack = new _Stack_default2);
156576
+ var stacked = stack.get(value);
156577
+ if (stacked) {
156578
+ return stacked;
156579
+ }
156580
+ stack.set(value, result);
156581
+ if (isSet_default2(value)) {
156582
+ value.forEach(function(subValue) {
156583
+ result.add(baseClone2(subValue, bitmask, customizer, subValue, value, stack));
156584
+ });
156585
+ } else if (isMap_default2(value)) {
156586
+ value.forEach(function(subValue, key2) {
156587
+ result.set(key2, baseClone2(subValue, bitmask, customizer, key2, value, stack));
156588
+ });
156589
+ }
156590
+ var keysFunc = isFull ? isFlat ? _getAllKeysIn_default2 : _getAllKeys_default2 : isFlat ? keysIn_default2 : keys_default2;
156591
+ var props = isArr ? undefined : keysFunc(value);
156592
+ _arrayEach_default2(props || value, function(subValue, key2) {
156593
+ if (props) {
156594
+ key2 = subValue;
156595
+ subValue = value[key2];
156596
+ }
156597
+ _assignValue_default2(result, key2, baseClone2(subValue, bitmask, customizer, key2, value, stack));
156598
+ });
156599
+ return result;
156600
+ }
156601
+ var CLONE_DEEP_FLAG2 = 1, CLONE_FLAT_FLAG2 = 2, CLONE_SYMBOLS_FLAG2 = 4, argsTag7 = "[object Arguments]", arrayTag5 = "[object Array]", boolTag7 = "[object Boolean]", dateTag7 = "[object Date]", errorTag5 = "[object Error]", funcTag6 = "[object Function]", genTag4 = "[object GeneratorFunction]", mapTag11 = "[object Map]", numberTag7 = "[object Number]", objectTag8 = "[object Object]", regexpTag7 = "[object RegExp]", setTag11 = "[object Set]", stringTag7 = "[object String]", symbolTag6 = "[object Symbol]", weakMapTag6 = "[object WeakMap]", arrayBufferTag7 = "[object ArrayBuffer]", dataViewTag9 = "[object DataView]", float32Tag6 = "[object Float32Array]", float64Tag6 = "[object Float64Array]", int8Tag6 = "[object Int8Array]", int16Tag6 = "[object Int16Array]", int32Tag6 = "[object Int32Array]", uint8Tag6 = "[object Uint8Array]", uint8ClampedTag6 = "[object Uint8ClampedArray]", uint16Tag6 = "[object Uint16Array]", uint32Tag6 = "[object Uint32Array]", cloneableTags2, _baseClone_default2;
156602
+ var init__baseClone2 = __esm(() => {
156603
+ init__Stack2();
156604
+ init__arrayEach2();
156605
+ init__assignValue2();
156606
+ init__baseAssign2();
156607
+ init__baseAssignIn2();
156608
+ init__cloneBuffer2();
156609
+ init__copyArray2();
156610
+ init__copySymbols2();
156611
+ init__copySymbolsIn2();
156612
+ init__getAllKeys2();
156613
+ init__getAllKeysIn2();
156614
+ init__getTag2();
156615
+ init__initCloneArray2();
156616
+ init__initCloneByTag2();
156617
+ init__initCloneObject2();
156618
+ init_isArray2();
156619
+ init_isBuffer2();
156620
+ init_isMap2();
156621
+ init_isObject2();
156622
+ init_isSet2();
156623
+ init_keys2();
156624
+ init_keysIn2();
156625
+ cloneableTags2 = {};
156626
+ cloneableTags2[argsTag7] = cloneableTags2[arrayTag5] = cloneableTags2[arrayBufferTag7] = cloneableTags2[dataViewTag9] = cloneableTags2[boolTag7] = cloneableTags2[dateTag7] = cloneableTags2[float32Tag6] = cloneableTags2[float64Tag6] = cloneableTags2[int8Tag6] = cloneableTags2[int16Tag6] = cloneableTags2[int32Tag6] = cloneableTags2[mapTag11] = cloneableTags2[numberTag7] = cloneableTags2[objectTag8] = cloneableTags2[regexpTag7] = cloneableTags2[setTag11] = cloneableTags2[stringTag7] = cloneableTags2[symbolTag6] = cloneableTags2[uint8Tag6] = cloneableTags2[uint8ClampedTag6] = cloneableTags2[uint16Tag6] = cloneableTags2[uint32Tag6] = true;
156627
+ cloneableTags2[errorTag5] = cloneableTags2[funcTag6] = cloneableTags2[weakMapTag6] = false;
156628
+ _baseClone_default2 = baseClone2;
156629
+ });
156630
+
156631
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/cloneDeep.js
156632
+ function cloneDeep(value) {
156633
+ return _baseClone_default2(value, CLONE_DEEP_FLAG3 | CLONE_SYMBOLS_FLAG3);
156634
+ }
156635
+ var CLONE_DEEP_FLAG3 = 1, CLONE_SYMBOLS_FLAG3 = 4, cloneDeep_default;
156636
+ var init_cloneDeep = __esm(() => {
156637
+ init__baseClone2();
156638
+ cloneDeep_default = cloneDeep;
156639
+ });
156640
+
156641
+ // node_modules/@anthropic-ai/sandbox-runtime/node_modules/lodash-es/lodash.js
155768
156642
  var init_lodash = __esm(() => {
155769
156643
  init_cloneDeep();
155770
- init_memoize();
155771
156644
  });
155772
156645
 
155773
156646
  // node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js
@@ -156038,9 +156911,9 @@ async function ripGrep2(args, target, abortSignal, config2 = { command: "rg" })
156038
156911
  const [stdout, stderr, code] = await Promise.all([
156039
156912
  text(child.stdout),
156040
156913
  text(child.stderr),
156041
- new Promise((resolve14, reject2) => {
156914
+ new Promise((resolve14, reject) => {
156042
156915
  child.on("close", resolve14);
156043
- child.on("error", reject2);
156916
+ child.on("error", reject);
156044
156917
  })
156045
156918
  ]);
156046
156919
  if (code === 0) {
@@ -157585,13 +158458,13 @@ async function startHttpProxyServer(sandboxAskCallback) {
157585
158458
  getMitmSocketPath,
157586
158459
  parentProxy
157587
158460
  });
157588
- return new Promise((resolve16, reject2) => {
158461
+ return new Promise((resolve16, reject) => {
157589
158462
  if (!httpProxyServer) {
157590
- reject2(new Error("HTTP proxy server undefined before listen"));
158463
+ reject(new Error("HTTP proxy server undefined before listen"));
157591
158464
  return;
157592
158465
  }
157593
158466
  const server = httpProxyServer;
157594
- server.once("error", reject2);
158467
+ server.once("error", reject);
157595
158468
  server.once("listening", () => {
157596
158469
  const address = server.address();
157597
158470
  if (address && typeof address === "object") {
@@ -157599,7 +158472,7 @@ async function startHttpProxyServer(sandboxAskCallback) {
157599
158472
  logForDebugging2(`HTTP proxy listening on localhost:${address.port}`);
157600
158473
  resolve16(address.port);
157601
158474
  } else {
157602
- reject2(new Error("Failed to get proxy server address"));
158475
+ reject(new Error("Failed to get proxy server address"));
157603
158476
  }
157604
158477
  });
157605
158478
  server.listen(0, "127.0.0.1");
@@ -157610,15 +158483,15 @@ async function startSocksProxyServer(sandboxAskCallback) {
157610
158483
  filter: (port, host) => filterNetworkRequest(port, host, sandboxAskCallback),
157611
158484
  parentProxy
157612
158485
  });
157613
- return new Promise((resolve16, reject2) => {
158486
+ return new Promise((resolve16, reject) => {
157614
158487
  if (!socksProxyServer) {
157615
- reject2(new Error("SOCKS proxy server undefined before listen"));
158488
+ reject(new Error("SOCKS proxy server undefined before listen"));
157616
158489
  return;
157617
158490
  }
157618
158491
  socksProxyServer.listen(0, "127.0.0.1").then((port) => {
157619
158492
  socksProxyServer?.unref();
157620
158493
  resolve16(port);
157621
- }).catch(reject2);
158494
+ }).catch(reject);
157622
158495
  });
157623
158496
  }
157624
158497
  async function initialize2(runtimeConfig, sandboxAskCallback, enableLogMonitor = false) {
@@ -158200,13 +159073,13 @@ var init_util2 = __esm(() => {
158200
159073
  });
158201
159074
  };
158202
159075
  util4.objectKeys = typeof Object.keys === "function" ? (obj) => Object.keys(obj) : (object2) => {
158203
- const keys2 = [];
159076
+ const keys3 = [];
158204
159077
  for (const key in object2) {
158205
159078
  if (Object.prototype.hasOwnProperty.call(object2, key)) {
158206
- keys2.push(key);
159079
+ keys3.push(key);
158207
159080
  }
158208
159081
  }
158209
- return keys2;
159082
+ return keys3;
158210
159083
  };
158211
159084
  util4.find = (arr, checker) => {
158212
159085
  for (const item of arr) {
@@ -158619,9 +159492,9 @@ var init_errorUtil = __esm(() => {
158619
159492
 
158620
159493
  // node_modules/@anthropic-ai/sandbox-runtime/node_modules/zod/v3/types.js
158621
159494
  class ParseInputLazyPath {
158622
- constructor(parent2, value, path13, key) {
159495
+ constructor(parent, value, path13, key) {
158623
159496
  this._cachedPath = [];
158624
- this.parent = parent2;
159497
+ this.parent = parent;
158625
159498
  this.data = value;
158626
159499
  this._path = path13;
158627
159500
  this._key = key;
@@ -159078,9 +159951,9 @@ function mergeValues2(a2, b) {
159078
159951
  return { valid: false };
159079
159952
  }
159080
159953
  }
159081
- function createZodEnum(values2, params) {
159954
+ function createZodEnum(values, params) {
159082
159955
  return new ZodEnum2({
159083
- values: values2,
159956
+ values,
159084
159957
  typeName: ZodFirstPartyTypeKind2.ZodEnum,
159085
159958
  ...processCreateParams(params)
159086
159959
  });
@@ -160508,8 +161381,8 @@ var init_types5 = __esm(() => {
160508
161381
  if (this._cached !== null)
160509
161382
  return this._cached;
160510
161383
  const shape = this._def.shape();
160511
- const keys2 = util3.objectKeys(shape);
160512
- this._cached = { shape, keys: keys2 };
161384
+ const keys3 = util3.objectKeys(shape);
161385
+ this._cached = { shape, keys: keys3 };
160513
161386
  return this._cached;
160514
161387
  }
160515
161388
  _parse(input) {
@@ -161430,14 +162303,14 @@ var init_types5 = __esm(() => {
161430
162303
  }
161431
162304
  return enumValues;
161432
162305
  }
161433
- extract(values2, newDef = this._def) {
161434
- return ZodEnum2.create(values2, {
162306
+ extract(values, newDef = this._def) {
162307
+ return ZodEnum2.create(values, {
161435
162308
  ...this._def,
161436
162309
  ...newDef
161437
162310
  });
161438
162311
  }
161439
- exclude(values2, newDef = this._def) {
161440
- return ZodEnum2.create(this.options.filter((opt) => !values2.includes(opt)), {
162312
+ exclude(values, newDef = this._def) {
162313
+ return ZodEnum2.create(this.options.filter((opt) => !values.includes(opt)), {
161441
162314
  ...this._def,
161442
162315
  ...newDef
161443
162316
  });
@@ -161475,9 +162348,9 @@ var init_types5 = __esm(() => {
161475
162348
  return this._def.values;
161476
162349
  }
161477
162350
  };
161478
- ZodNativeEnum.create = (values2, params) => {
162351
+ ZodNativeEnum.create = (values, params) => {
161479
162352
  return new ZodNativeEnum({
161480
- values: values2,
162353
+ values,
161481
162354
  typeName: ZodFirstPartyTypeKind2.ZodNativeEnum,
161482
162355
  ...processCreateParams(params)
161483
162356
  });
@@ -162179,6 +163052,699 @@ var init_dist6 = __esm(() => {
162179
163052
  init_platform3();
162180
163053
  });
162181
163054
 
163055
+ // node_modules/lodash-es/_baseFindIndex.js
163056
+ function baseFindIndex(array2, predicate, fromIndex, fromRight) {
163057
+ var length = array2.length, index = fromIndex + (fromRight ? 1 : -1);
163058
+ while (fromRight ? index-- : ++index < length) {
163059
+ if (predicate(array2[index], index, array2)) {
163060
+ return index;
163061
+ }
163062
+ }
163063
+ return -1;
163064
+ }
163065
+ var _baseFindIndex_default;
163066
+ var init__baseFindIndex = __esm(() => {
163067
+ _baseFindIndex_default = baseFindIndex;
163068
+ });
163069
+
163070
+ // node_modules/lodash-es/_baseIsNaN.js
163071
+ function baseIsNaN(value) {
163072
+ return value !== value;
163073
+ }
163074
+ var _baseIsNaN_default;
163075
+ var init__baseIsNaN = __esm(() => {
163076
+ _baseIsNaN_default = baseIsNaN;
163077
+ });
163078
+
163079
+ // node_modules/lodash-es/_strictIndexOf.js
163080
+ function strictIndexOf(array2, value, fromIndex) {
163081
+ var index = fromIndex - 1, length = array2.length;
163082
+ while (++index < length) {
163083
+ if (array2[index] === value) {
163084
+ return index;
163085
+ }
163086
+ }
163087
+ return -1;
163088
+ }
163089
+ var _strictIndexOf_default;
163090
+ var init__strictIndexOf = __esm(() => {
163091
+ _strictIndexOf_default = strictIndexOf;
163092
+ });
163093
+
163094
+ // node_modules/lodash-es/_baseIndexOf.js
163095
+ function baseIndexOf(array2, value, fromIndex) {
163096
+ return value === value ? _strictIndexOf_default(array2, value, fromIndex) : _baseFindIndex_default(array2, _baseIsNaN_default, fromIndex);
163097
+ }
163098
+ var _baseIndexOf_default;
163099
+ var init__baseIndexOf = __esm(() => {
163100
+ init__baseFindIndex();
163101
+ init__baseIsNaN();
163102
+ init__strictIndexOf();
163103
+ _baseIndexOf_default = baseIndexOf;
163104
+ });
163105
+
163106
+ // node_modules/lodash-es/_arrayIncludes.js
163107
+ function arrayIncludes(array2, value) {
163108
+ var length = array2 == null ? 0 : array2.length;
163109
+ return !!length && _baseIndexOf_default(array2, value, 0) > -1;
163110
+ }
163111
+ var _arrayIncludes_default;
163112
+ var init__arrayIncludes = __esm(() => {
163113
+ init__baseIndexOf();
163114
+ _arrayIncludes_default = arrayIncludes;
163115
+ });
163116
+
163117
+ // node_modules/lodash-es/_isFlattenable.js
163118
+ function isFlattenable(value) {
163119
+ return isArray_default(value) || isArguments_default(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
163120
+ }
163121
+ var spreadableSymbol, _isFlattenable_default;
163122
+ var init__isFlattenable = __esm(() => {
163123
+ init__Symbol();
163124
+ init_isArguments();
163125
+ init_isArray();
163126
+ spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : undefined;
163127
+ _isFlattenable_default = isFlattenable;
163128
+ });
163129
+
163130
+ // node_modules/lodash-es/_baseFlatten.js
163131
+ function baseFlatten(array2, depth, predicate, isStrict, result) {
163132
+ var index = -1, length = array2.length;
163133
+ predicate || (predicate = _isFlattenable_default);
163134
+ result || (result = []);
163135
+ while (++index < length) {
163136
+ var value = array2[index];
163137
+ if (depth > 0 && predicate(value)) {
163138
+ if (depth > 1) {
163139
+ baseFlatten(value, depth - 1, predicate, isStrict, result);
163140
+ } else {
163141
+ _arrayPush_default(result, value);
163142
+ }
163143
+ } else if (!isStrict) {
163144
+ result[result.length] = value;
163145
+ }
163146
+ }
163147
+ return result;
163148
+ }
163149
+ var _baseFlatten_default;
163150
+ var init__baseFlatten = __esm(() => {
163151
+ init__arrayPush();
163152
+ init__isFlattenable();
163153
+ _baseFlatten_default = baseFlatten;
163154
+ });
163155
+
163156
+ // node_modules/lodash-es/flatten.js
163157
+ function flatten(array2) {
163158
+ var length = array2 == null ? 0 : array2.length;
163159
+ return length ? _baseFlatten_default(array2, 1) : [];
163160
+ }
163161
+ var flatten_default;
163162
+ var init_flatten = __esm(() => {
163163
+ init__baseFlatten();
163164
+ flatten_default = flatten;
163165
+ });
163166
+
163167
+ // node_modules/lodash-es/_flatRest.js
163168
+ function flatRest(func) {
163169
+ return _setToString_default(_overRest_default(func, undefined, flatten_default), func + "");
163170
+ }
163171
+ var _flatRest_default;
163172
+ var init__flatRest = __esm(() => {
163173
+ init_flatten();
163174
+ init__overRest();
163175
+ init__setToString();
163176
+ _flatRest_default = flatRest;
163177
+ });
163178
+
163179
+ // node_modules/lodash-es/_baseSlice.js
163180
+ function baseSlice(array2, start, end) {
163181
+ var index = -1, length = array2.length;
163182
+ if (start < 0) {
163183
+ start = -start > length ? 0 : length + start;
163184
+ }
163185
+ end = end > length ? length : end;
163186
+ if (end < 0) {
163187
+ end += length;
163188
+ }
163189
+ length = start > end ? 0 : end - start >>> 0;
163190
+ start >>>= 0;
163191
+ var result = Array(length);
163192
+ while (++index < length) {
163193
+ result[index] = array2[index + start];
163194
+ }
163195
+ return result;
163196
+ }
163197
+ var _baseSlice_default;
163198
+ var init__baseSlice = __esm(() => {
163199
+ _baseSlice_default = baseSlice;
163200
+ });
163201
+
163202
+ // node_modules/lodash-es/_castSlice.js
163203
+ function castSlice(array2, start, end) {
163204
+ var length = array2.length;
163205
+ end = end === undefined ? length : end;
163206
+ return !start && end >= length ? array2 : _baseSlice_default(array2, start, end);
163207
+ }
163208
+ var _castSlice_default;
163209
+ var init__castSlice = __esm(() => {
163210
+ init__baseSlice();
163211
+ _castSlice_default = castSlice;
163212
+ });
163213
+
163214
+ // node_modules/lodash-es/_hasUnicode.js
163215
+ function hasUnicode(string4) {
163216
+ return reHasUnicode.test(string4);
163217
+ }
163218
+ var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange, rsVarRange = "\\ufe0e\\ufe0f", rsZWJ = "\\u200d", reHasUnicode, _hasUnicode_default;
163219
+ var init__hasUnicode = __esm(() => {
163220
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
163221
+ reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]");
163222
+ _hasUnicode_default = hasUnicode;
163223
+ });
163224
+
163225
+ // node_modules/lodash-es/_asciiToArray.js
163226
+ function asciiToArray(string4) {
163227
+ return string4.split("");
163228
+ }
163229
+ var _asciiToArray_default;
163230
+ var init__asciiToArray = __esm(() => {
163231
+ _asciiToArray_default = asciiToArray;
163232
+ });
163233
+
163234
+ // node_modules/lodash-es/_unicodeToArray.js
163235
+ function unicodeToArray(string4) {
163236
+ return string4.match(reUnicode) || [];
163237
+ }
163238
+ var rsAstralRange2 = "\\ud800-\\udfff", rsComboMarksRange2 = "\\u0300-\\u036f", reComboHalfMarksRange2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange2 = "\\u20d0-\\u20ff", rsComboRange2, rsVarRange2 = "\\ufe0e\\ufe0f", rsAstral, rsCombo, rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier, rsNonAstral, rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsZWJ2 = "\\u200d", reOptMod, rsOptVar, rsOptJoin, rsSeq, rsSymbol, reUnicode, _unicodeToArray_default;
163239
+ var init__unicodeToArray = __esm(() => {
163240
+ rsComboRange2 = rsComboMarksRange2 + reComboHalfMarksRange2 + rsComboSymbolsRange2;
163241
+ rsAstral = "[" + rsAstralRange2 + "]";
163242
+ rsCombo = "[" + rsComboRange2 + "]";
163243
+ rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
163244
+ rsNonAstral = "[^" + rsAstralRange2 + "]";
163245
+ reOptMod = rsModifier + "?";
163246
+ rsOptVar = "[" + rsVarRange2 + "]?";
163247
+ rsOptJoin = "(?:" + rsZWJ2 + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
163248
+ rsSeq = rsOptVar + reOptMod + rsOptJoin;
163249
+ rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
163250
+ reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
163251
+ _unicodeToArray_default = unicodeToArray;
163252
+ });
163253
+
163254
+ // node_modules/lodash-es/_stringToArray.js
163255
+ function stringToArray(string4) {
163256
+ return _hasUnicode_default(string4) ? _unicodeToArray_default(string4) : _asciiToArray_default(string4);
163257
+ }
163258
+ var _stringToArray_default;
163259
+ var init__stringToArray = __esm(() => {
163260
+ init__asciiToArray();
163261
+ init__hasUnicode();
163262
+ init__unicodeToArray();
163263
+ _stringToArray_default = stringToArray;
163264
+ });
163265
+
163266
+ // node_modules/lodash-es/_createCaseFirst.js
163267
+ function createCaseFirst(methodName) {
163268
+ return function(string4) {
163269
+ string4 = toString_default(string4);
163270
+ var strSymbols = _hasUnicode_default(string4) ? _stringToArray_default(string4) : undefined;
163271
+ var chr = strSymbols ? strSymbols[0] : string4.charAt(0);
163272
+ var trailing = strSymbols ? _castSlice_default(strSymbols, 1).join("") : string4.slice(1);
163273
+ return chr[methodName]() + trailing;
163274
+ };
163275
+ }
163276
+ var _createCaseFirst_default;
163277
+ var init__createCaseFirst = __esm(() => {
163278
+ init__castSlice();
163279
+ init__hasUnicode();
163280
+ init__stringToArray();
163281
+ init_toString();
163282
+ _createCaseFirst_default = createCaseFirst;
163283
+ });
163284
+
163285
+ // node_modules/lodash-es/upperFirst.js
163286
+ var upperFirst, upperFirst_default;
163287
+ var init_upperFirst = __esm(() => {
163288
+ init__createCaseFirst();
163289
+ upperFirst = _createCaseFirst_default("toUpperCase");
163290
+ upperFirst_default = upperFirst;
163291
+ });
163292
+
163293
+ // node_modules/lodash-es/capitalize.js
163294
+ function capitalize2(string4) {
163295
+ return upperFirst_default(toString_default(string4).toLowerCase());
163296
+ }
163297
+ var capitalize_default;
163298
+ var init_capitalize = __esm(() => {
163299
+ init_toString();
163300
+ init_upperFirst();
163301
+ capitalize_default = capitalize2;
163302
+ });
163303
+
163304
+ // node_modules/lodash-es/_arrayAggregator.js
163305
+ function arrayAggregator(array2, setter, iteratee, accumulator) {
163306
+ var index = -1, length = array2 == null ? 0 : array2.length;
163307
+ while (++index < length) {
163308
+ var value = array2[index];
163309
+ setter(accumulator, value, iteratee(value), array2);
163310
+ }
163311
+ return accumulator;
163312
+ }
163313
+ var _arrayAggregator_default;
163314
+ var init__arrayAggregator = __esm(() => {
163315
+ _arrayAggregator_default = arrayAggregator;
163316
+ });
163317
+
163318
+ // node_modules/lodash-es/_baseForOwn.js
163319
+ function baseForOwn(object2, iteratee) {
163320
+ return object2 && _baseFor_default(object2, iteratee, keys_default);
163321
+ }
163322
+ var _baseForOwn_default;
163323
+ var init__baseForOwn = __esm(() => {
163324
+ init__baseFor();
163325
+ init_keys();
163326
+ _baseForOwn_default = baseForOwn;
163327
+ });
163328
+
163329
+ // node_modules/lodash-es/_createBaseEach.js
163330
+ function createBaseEach(eachFunc, fromRight) {
163331
+ return function(collection, iteratee) {
163332
+ if (collection == null) {
163333
+ return collection;
163334
+ }
163335
+ if (!isArrayLike_default(collection)) {
163336
+ return eachFunc(collection, iteratee);
163337
+ }
163338
+ var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
163339
+ while (fromRight ? index-- : ++index < length) {
163340
+ if (iteratee(iterable[index], index, iterable) === false) {
163341
+ break;
163342
+ }
163343
+ }
163344
+ return collection;
163345
+ };
163346
+ }
163347
+ var _createBaseEach_default;
163348
+ var init__createBaseEach = __esm(() => {
163349
+ init_isArrayLike();
163350
+ _createBaseEach_default = createBaseEach;
163351
+ });
163352
+
163353
+ // node_modules/lodash-es/_baseEach.js
163354
+ var baseEach, _baseEach_default;
163355
+ var init__baseEach = __esm(() => {
163356
+ init__baseForOwn();
163357
+ init__createBaseEach();
163358
+ baseEach = _createBaseEach_default(_baseForOwn_default);
163359
+ _baseEach_default = baseEach;
163360
+ });
163361
+
163362
+ // node_modules/lodash-es/_baseAggregator.js
163363
+ function baseAggregator(collection, setter, iteratee, accumulator) {
163364
+ _baseEach_default(collection, function(value, key, collection2) {
163365
+ setter(accumulator, value, iteratee(value), collection2);
163366
+ });
163367
+ return accumulator;
163368
+ }
163369
+ var _baseAggregator_default;
163370
+ var init__baseAggregator = __esm(() => {
163371
+ init__baseEach();
163372
+ _baseAggregator_default = baseAggregator;
163373
+ });
163374
+
163375
+ // node_modules/lodash-es/_createAggregator.js
163376
+ function createAggregator(setter, initializer3) {
163377
+ return function(collection, iteratee) {
163378
+ var func = isArray_default(collection) ? _arrayAggregator_default : _baseAggregator_default, accumulator = initializer3 ? initializer3() : {};
163379
+ return func(collection, setter, _baseIteratee_default(iteratee, 2), accumulator);
163380
+ };
163381
+ }
163382
+ var _createAggregator_default;
163383
+ var init__createAggregator = __esm(() => {
163384
+ init__arrayAggregator();
163385
+ init__baseAggregator();
163386
+ init__baseIteratee();
163387
+ init_isArray();
163388
+ _createAggregator_default = createAggregator;
163389
+ });
163390
+
163391
+ // node_modules/lodash-es/_arrayIncludesWith.js
163392
+ function arrayIncludesWith(array2, value, comparator) {
163393
+ var index = -1, length = array2 == null ? 0 : array2.length;
163394
+ while (++index < length) {
163395
+ if (comparator(value, array2[index])) {
163396
+ return true;
163397
+ }
163398
+ }
163399
+ return false;
163400
+ }
163401
+ var _arrayIncludesWith_default;
163402
+ var init__arrayIncludesWith = __esm(() => {
163403
+ _arrayIncludesWith_default = arrayIncludesWith;
163404
+ });
163405
+
163406
+ // node_modules/lodash-es/_baseFilter.js
163407
+ function baseFilter(collection, predicate) {
163408
+ var result = [];
163409
+ _baseEach_default(collection, function(value, index, collection2) {
163410
+ if (predicate(value, index, collection2)) {
163411
+ result.push(value);
163412
+ }
163413
+ });
163414
+ return result;
163415
+ }
163416
+ var _baseFilter_default;
163417
+ var init__baseFilter = __esm(() => {
163418
+ init__baseEach();
163419
+ _baseFilter_default = baseFilter;
163420
+ });
163421
+
163422
+ // node_modules/lodash-es/_baseValues.js
163423
+ function baseValues(object2, props) {
163424
+ return _arrayMap_default(props, function(key) {
163425
+ return object2[key];
163426
+ });
163427
+ }
163428
+ var _baseValues_default;
163429
+ var init__baseValues = __esm(() => {
163430
+ init__arrayMap();
163431
+ _baseValues_default = baseValues;
163432
+ });
163433
+
163434
+ // node_modules/lodash-es/values.js
163435
+ function values(object2) {
163436
+ return object2 == null ? [] : _baseValues_default(object2, keys_default(object2));
163437
+ }
163438
+ var values_default;
163439
+ var init_values3 = __esm(() => {
163440
+ init__baseValues();
163441
+ init_keys();
163442
+ values_default = values;
163443
+ });
163444
+
163445
+ // node_modules/lodash-es/_parent.js
163446
+ function parent(object2, path13) {
163447
+ return path13.length < 2 ? object2 : _baseGet_default(object2, _baseSlice_default(path13, 0, -1));
163448
+ }
163449
+ var _parent_default;
163450
+ var init__parent = __esm(() => {
163451
+ init__baseGet();
163452
+ init__baseSlice();
163453
+ _parent_default = parent;
163454
+ });
163455
+
163456
+ // node_modules/lodash-es/mapValues.js
163457
+ function mapValues(object2, iteratee) {
163458
+ var result = {};
163459
+ iteratee = _baseIteratee_default(iteratee, 3);
163460
+ _baseForOwn_default(object2, function(value, key, object3) {
163461
+ _baseAssignValue_default(result, key, iteratee(value, key, object3));
163462
+ });
163463
+ return result;
163464
+ }
163465
+ var mapValues_default;
163466
+ var init_mapValues = __esm(() => {
163467
+ init__baseAssignValue();
163468
+ init__baseForOwn();
163469
+ init__baseIteratee();
163470
+ mapValues_default = mapValues;
163471
+ });
163472
+
163473
+ // node_modules/lodash-es/negate.js
163474
+ function negate(predicate) {
163475
+ if (typeof predicate != "function") {
163476
+ throw new TypeError(FUNC_ERROR_TEXT4);
163477
+ }
163478
+ return function() {
163479
+ var args = arguments;
163480
+ switch (args.length) {
163481
+ case 0:
163482
+ return !predicate.call(this);
163483
+ case 1:
163484
+ return !predicate.call(this, args[0]);
163485
+ case 2:
163486
+ return !predicate.call(this, args[0], args[1]);
163487
+ case 3:
163488
+ return !predicate.call(this, args[0], args[1], args[2]);
163489
+ }
163490
+ return !predicate.apply(this, args);
163491
+ };
163492
+ }
163493
+ var FUNC_ERROR_TEXT4 = "Expected a function", negate_default;
163494
+ var init_negate = __esm(() => {
163495
+ negate_default = negate;
163496
+ });
163497
+
163498
+ // node_modules/lodash-es/_baseUnset.js
163499
+ function baseUnset(object2, path13) {
163500
+ path13 = _castPath_default(path13, object2);
163501
+ object2 = _parent_default(object2, path13);
163502
+ return object2 == null || delete object2[_toKey_default(last_default(path13))];
163503
+ }
163504
+ var _baseUnset_default;
163505
+ var init__baseUnset = __esm(() => {
163506
+ init__castPath();
163507
+ init_last();
163508
+ init__parent();
163509
+ init__toKey();
163510
+ _baseUnset_default = baseUnset;
163511
+ });
163512
+
163513
+ // node_modules/lodash-es/_customOmitClone.js
163514
+ function customOmitClone(value) {
163515
+ return isPlainObject_default(value) ? undefined : value;
163516
+ }
163517
+ var _customOmitClone_default;
163518
+ var init__customOmitClone = __esm(() => {
163519
+ init_isPlainObject();
163520
+ _customOmitClone_default = customOmitClone;
163521
+ });
163522
+
163523
+ // node_modules/lodash-es/omit.js
163524
+ var CLONE_DEEP_FLAG4 = 1, CLONE_FLAT_FLAG3 = 2, CLONE_SYMBOLS_FLAG4 = 4, omit3, omit_default;
163525
+ var init_omit = __esm(() => {
163526
+ init__arrayMap();
163527
+ init__baseClone();
163528
+ init__baseUnset();
163529
+ init__castPath();
163530
+ init__copyObject();
163531
+ init__customOmitClone();
163532
+ init__flatRest();
163533
+ init__getAllKeysIn();
163534
+ omit3 = _flatRest_default(function(object2, paths2) {
163535
+ var result = {};
163536
+ if (object2 == null) {
163537
+ return result;
163538
+ }
163539
+ var isDeep = false;
163540
+ paths2 = _arrayMap_default(paths2, function(path13) {
163541
+ path13 = _castPath_default(path13, object2);
163542
+ isDeep || (isDeep = path13.length > 1);
163543
+ return path13;
163544
+ });
163545
+ _copyObject_default(object2, _getAllKeysIn_default(object2), result);
163546
+ if (isDeep) {
163547
+ result = _baseClone_default(result, CLONE_DEEP_FLAG4 | CLONE_FLAT_FLAG3 | CLONE_SYMBOLS_FLAG4, _customOmitClone_default);
163548
+ }
163549
+ var length = paths2.length;
163550
+ while (length--) {
163551
+ _baseUnset_default(result, paths2[length]);
163552
+ }
163553
+ return result;
163554
+ });
163555
+ omit_default = omit3;
163556
+ });
163557
+
163558
+ // node_modules/lodash-es/partition.js
163559
+ var partition2, partition_default;
163560
+ var init_partition = __esm(() => {
163561
+ init__createAggregator();
163562
+ partition2 = _createAggregator_default(function(result, value, key) {
163563
+ result[key ? 0 : 1].push(value);
163564
+ }, function() {
163565
+ return [[], []];
163566
+ });
163567
+ partition_default = partition2;
163568
+ });
163569
+
163570
+ // node_modules/lodash-es/_baseRandom.js
163571
+ function baseRandom(lower, upper) {
163572
+ return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
163573
+ }
163574
+ var nativeFloor, nativeRandom, _baseRandom_default;
163575
+ var init__baseRandom = __esm(() => {
163576
+ nativeFloor = Math.floor;
163577
+ nativeRandom = Math.random;
163578
+ _baseRandom_default = baseRandom;
163579
+ });
163580
+
163581
+ // node_modules/lodash-es/reject.js
163582
+ function reject(collection, predicate) {
163583
+ var func = isArray_default(collection) ? _arrayFilter_default : _baseFilter_default;
163584
+ return func(collection, negate_default(_baseIteratee_default(predicate, 3)));
163585
+ }
163586
+ var reject_default;
163587
+ var init_reject2 = __esm(() => {
163588
+ init__arrayFilter();
163589
+ init__baseFilter();
163590
+ init__baseIteratee();
163591
+ init_isArray();
163592
+ init_negate();
163593
+ reject_default = reject;
163594
+ });
163595
+
163596
+ // node_modules/lodash-es/_arraySample.js
163597
+ function arraySample(array2) {
163598
+ var length = array2.length;
163599
+ return length ? array2[_baseRandom_default(0, length - 1)] : undefined;
163600
+ }
163601
+ var _arraySample_default;
163602
+ var init__arraySample = __esm(() => {
163603
+ init__baseRandom();
163604
+ _arraySample_default = arraySample;
163605
+ });
163606
+
163607
+ // node_modules/lodash-es/_baseSample.js
163608
+ function baseSample(collection) {
163609
+ return _arraySample_default(values_default(collection));
163610
+ }
163611
+ var _baseSample_default;
163612
+ var init__baseSample = __esm(() => {
163613
+ init__arraySample();
163614
+ init_values3();
163615
+ _baseSample_default = baseSample;
163616
+ });
163617
+
163618
+ // node_modules/lodash-es/sample.js
163619
+ function sample(collection) {
163620
+ var func = isArray_default(collection) ? _arraySample_default : _baseSample_default;
163621
+ return func(collection);
163622
+ }
163623
+ var sample_default;
163624
+ var init_sample = __esm(() => {
163625
+ init__arraySample();
163626
+ init__baseSample();
163627
+ init_isArray();
163628
+ sample_default = sample;
163629
+ });
163630
+
163631
+ // node_modules/lodash-es/setWith.js
163632
+ function setWith(object2, path13, value, customizer) {
163633
+ customizer = typeof customizer == "function" ? customizer : undefined;
163634
+ return object2 == null ? object2 : _baseSet_default(object2, path13, value, customizer);
163635
+ }
163636
+ var setWith_default;
163637
+ var init_setWith = __esm(() => {
163638
+ init__baseSet();
163639
+ setWith_default = setWith;
163640
+ });
163641
+
163642
+ // node_modules/lodash-es/_createSet.js
163643
+ var INFINITY3, createSet, _createSet_default;
163644
+ var init__createSet = __esm(() => {
163645
+ init__Set();
163646
+ init_noop();
163647
+ init__setToArray();
163648
+ INFINITY3 = 1 / 0;
163649
+ createSet = !(_Set_default && 1 / _setToArray_default(new _Set_default([, -0]))[1] == INFINITY3) ? noop_default : function(values2) {
163650
+ return new _Set_default(values2);
163651
+ };
163652
+ _createSet_default = createSet;
163653
+ });
163654
+
163655
+ // node_modules/lodash-es/_baseUniq.js
163656
+ function baseUniq(array2, iteratee, comparator) {
163657
+ var index = -1, includes = _arrayIncludes_default, length = array2.length, isCommon = true, result = [], seen = result;
163658
+ if (comparator) {
163659
+ isCommon = false;
163660
+ includes = _arrayIncludesWith_default;
163661
+ } else if (length >= LARGE_ARRAY_SIZE3) {
163662
+ var set2 = iteratee ? null : _createSet_default(array2);
163663
+ if (set2) {
163664
+ return _setToArray_default(set2);
163665
+ }
163666
+ isCommon = false;
163667
+ includes = _cacheHas_default;
163668
+ seen = new _SetCache_default;
163669
+ } else {
163670
+ seen = iteratee ? [] : result;
163671
+ }
163672
+ outer:
163673
+ while (++index < length) {
163674
+ var value = array2[index], computed = iteratee ? iteratee(value) : value;
163675
+ value = comparator || value !== 0 ? value : 0;
163676
+ if (isCommon && computed === computed) {
163677
+ var seenIndex = seen.length;
163678
+ while (seenIndex--) {
163679
+ if (seen[seenIndex] === computed) {
163680
+ continue outer;
163681
+ }
163682
+ }
163683
+ if (iteratee) {
163684
+ seen.push(computed);
163685
+ }
163686
+ result.push(value);
163687
+ } else if (!includes(seen, computed, comparator)) {
163688
+ if (seen !== result) {
163689
+ seen.push(computed);
163690
+ }
163691
+ result.push(value);
163692
+ }
163693
+ }
163694
+ return result;
163695
+ }
163696
+ var LARGE_ARRAY_SIZE3 = 200, _baseUniq_default;
163697
+ var init__baseUniq = __esm(() => {
163698
+ init__SetCache();
163699
+ init__arrayIncludes();
163700
+ init__arrayIncludesWith();
163701
+ init__cacheHas();
163702
+ init__createSet();
163703
+ init__setToArray();
163704
+ _baseUniq_default = baseUniq;
163705
+ });
163706
+
163707
+ // node_modules/lodash-es/uniqBy.js
163708
+ function uniqBy(array2, iteratee) {
163709
+ return array2 && array2.length ? _baseUniq_default(array2, _baseIteratee_default(iteratee, 2)) : [];
163710
+ }
163711
+ var uniqBy_default;
163712
+ var init_uniqBy = __esm(() => {
163713
+ init__baseIteratee();
163714
+ init__baseUniq();
163715
+ uniqBy_default = uniqBy;
163716
+ });
163717
+
163718
+ // node_modules/lodash-es/_baseZipObject.js
163719
+ function baseZipObject(props, values2, assignFunc) {
163720
+ var index = -1, length = props.length, valsLength = values2.length, result = {};
163721
+ while (++index < length) {
163722
+ var value = index < valsLength ? values2[index] : undefined;
163723
+ assignFunc(result, props[index], value);
163724
+ }
163725
+ return result;
163726
+ }
163727
+ var _baseZipObject_default;
163728
+ var init__baseZipObject = __esm(() => {
163729
+ _baseZipObject_default = baseZipObject;
163730
+ });
163731
+
163732
+ // node_modules/lodash-es/zipObject.js
163733
+ function zipObject(props, values2) {
163734
+ return _baseZipObject_default(props || [], values2 || [], _assignValue_default);
163735
+ }
163736
+ var zipObject_default;
163737
+ var init_zipObject = __esm(() => {
163738
+ init__assignValue();
163739
+ init__baseZipObject();
163740
+ zipObject_default = zipObject;
163741
+ });
163742
+
163743
+ // node_modules/lodash-es/lodash.js
163744
+ var init_lodash2 = __esm(() => {
163745
+ init_memoize();
163746
+ });
163747
+
162182
163748
  // src/tools/WebFetchTool/prompt.ts
162183
163749
  function makeSecondaryModelPrompt(markdownContent, prompt, isPreapprovedDomain) {
162184
163750
  const guidelines = isPreapprovedDomain ? `Provide a concise response based on the content above. Include relevant details, code examples, and documentation excerpts as needed.` : `Provide a concise response based only on the content above. In your response:
@@ -162253,8 +163819,8 @@ function resolvePathPatternForSandbox(pattern, source) {
162253
163819
  return pattern.slice(1);
162254
163820
  }
162255
163821
  if (pattern.startsWith("/") && !pattern.startsWith("//")) {
162256
- const root2 = getSettingsRootPathForSource(source);
162257
- return resolve16(root2, pattern.slice(1));
163822
+ const root3 = getSettingsRootPathForSource(source);
163823
+ return resolve16(root3, pattern.slice(1));
162258
163824
  }
162259
163825
  return pattern;
162260
163826
  }
@@ -162652,7 +164218,7 @@ function addToExcludedCommands(command, permissionUpdates) {
162652
164218
  var initializationPromise2, settingsSubscriptionCleanup, worktreeMainRepoPath, bareGitRepoScrubPaths, checkDependencies2, isSupportedPlatform2, SandboxManager2;
162653
164219
  var init_sandbox_adapter = __esm(() => {
162654
164220
  init_dist6();
162655
- init_lodash();
164221
+ init_lodash2();
162656
164222
  init_state();
162657
164223
  init_debug();
162658
164224
  init_path2();
@@ -167666,13 +169232,13 @@ var init_util3 = __esm(() => {
167666
169232
  });
167667
169233
  };
167668
169234
  util6.objectKeys = typeof Object.keys === "function" ? (obj) => Object.keys(obj) : (object2) => {
167669
- const keys2 = [];
169235
+ const keys3 = [];
167670
169236
  for (const key2 in object2) {
167671
169237
  if (Object.prototype.hasOwnProperty.call(object2, key2)) {
167672
- keys2.push(key2);
169238
+ keys3.push(key2);
167673
169239
  }
167674
169240
  }
167675
- return keys2;
169241
+ return keys3;
167676
169242
  };
167677
169243
  util6.find = (arr, checker) => {
167678
169244
  for (const item of arr) {
@@ -169974,8 +171540,8 @@ var init_types6 = __esm(() => {
169974
171540
  if (this._cached !== null)
169975
171541
  return this._cached;
169976
171542
  const shape = this._def.shape();
169977
- const keys2 = util5.objectKeys(shape);
169978
- this._cached = { shape, keys: keys2 };
171543
+ const keys3 = util5.objectKeys(shape);
171544
+ this._cached = { shape, keys: keys3 };
169979
171545
  return this._cached;
169980
171546
  }
169981
171547
  _parse(input) {
@@ -181659,7 +183225,7 @@ var require_des = __commonJS((exports, module) => {
181659
183225
  function _createKeys(key2) {
181660
183226
  var pc2bytes0 = [0, 4, 536870912, 536870916, 65536, 65540, 536936448, 536936452, 512, 516, 536871424, 536871428, 66048, 66052, 536936960, 536936964], pc2bytes1 = [0, 1, 1048576, 1048577, 67108864, 67108865, 68157440, 68157441, 256, 257, 1048832, 1048833, 67109120, 67109121, 68157696, 68157697], pc2bytes2 = [0, 8, 2048, 2056, 16777216, 16777224, 16779264, 16779272, 0, 8, 2048, 2056, 16777216, 16777224, 16779264, 16779272], pc2bytes3 = [0, 2097152, 134217728, 136314880, 8192, 2105344, 134225920, 136323072, 131072, 2228224, 134348800, 136445952, 139264, 2236416, 134356992, 136454144], pc2bytes4 = [0, 262144, 16, 262160, 0, 262144, 16, 262160, 4096, 266240, 4112, 266256, 4096, 266240, 4112, 266256], pc2bytes5 = [0, 1024, 32, 1056, 0, 1024, 32, 1056, 33554432, 33555456, 33554464, 33555488, 33554432, 33555456, 33554464, 33555488], pc2bytes6 = [0, 268435456, 524288, 268959744, 2, 268435458, 524290, 268959746, 0, 268435456, 524288, 268959744, 2, 268435458, 524290, 268959746], pc2bytes7 = [0, 65536, 2048, 67584, 536870912, 536936448, 536872960, 536938496, 131072, 196608, 133120, 198656, 537001984, 537067520, 537004032, 537069568], pc2bytes8 = [0, 262144, 0, 262144, 2, 262146, 2, 262146, 33554432, 33816576, 33554432, 33816576, 33554434, 33816578, 33554434, 33816578], pc2bytes9 = [0, 268435456, 8, 268435464, 0, 268435456, 8, 268435464, 1024, 268436480, 1032, 268436488, 1024, 268436480, 1032, 268436488], pc2bytes10 = [0, 32, 0, 32, 1048576, 1048608, 1048576, 1048608, 8192, 8224, 8192, 8224, 1056768, 1056800, 1056768, 1056800], pc2bytes11 = [0, 16777216, 512, 16777728, 2097152, 18874368, 2097664, 18874880, 67108864, 83886080, 67109376, 83886592, 69206016, 85983232, 69206528, 85983744], pc2bytes12 = [0, 4096, 134217728, 134221824, 524288, 528384, 134742016, 134746112, 16, 4112, 134217744, 134221840, 524304, 528400, 134742032, 134746128], pc2bytes13 = [0, 4, 256, 260, 0, 4, 256, 260, 1, 5, 257, 261, 1, 5, 257, 261];
181661
183227
  var iterations = key2.length() > 8 ? 3 : 1;
181662
- var keys2 = [];
183228
+ var keys3 = [];
181663
183229
  var shifts = [0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0];
181664
183230
  var n2 = 0, tmp;
181665
183231
  for (var j = 0;j < iterations; j++) {
@@ -181702,14 +183268,14 @@ var require_des = __commonJS((exports, module) => {
181702
183268
  var lefttmp = pc2bytes0[left >>> 28] | pc2bytes1[left >>> 24 & 15] | pc2bytes2[left >>> 20 & 15] | pc2bytes3[left >>> 16 & 15] | pc2bytes4[left >>> 12 & 15] | pc2bytes5[left >>> 8 & 15] | pc2bytes6[left >>> 4 & 15];
181703
183269
  var righttmp = pc2bytes7[right >>> 28] | pc2bytes8[right >>> 24 & 15] | pc2bytes9[right >>> 20 & 15] | pc2bytes10[right >>> 16 & 15] | pc2bytes11[right >>> 12 & 15] | pc2bytes12[right >>> 8 & 15] | pc2bytes13[right >>> 4 & 15];
181704
183270
  tmp = (righttmp >>> 16 ^ lefttmp) & 65535;
181705
- keys2[n2++] = lefttmp ^ tmp;
181706
- keys2[n2++] = righttmp ^ tmp << 16;
183271
+ keys3[n2++] = lefttmp ^ tmp;
183272
+ keys3[n2++] = righttmp ^ tmp << 16;
181707
183273
  }
181708
183274
  }
181709
- return keys2;
183275
+ return keys3;
181710
183276
  }
181711
- function _updateBlock(keys2, input, output, decrypt) {
181712
- var iterations = keys2.length === 32 ? 3 : 9;
183277
+ function _updateBlock(keys3, input, output, decrypt) {
183278
+ var iterations = keys3.length === 32 ? 3 : 9;
181713
183279
  var looping;
181714
183280
  if (iterations === 3) {
181715
183281
  looping = decrypt ? [30, -2, -2] : [0, 32, 2];
@@ -181740,8 +183306,8 @@ var require_des = __commonJS((exports, module) => {
181740
183306
  var endloop = looping[j + 1];
181741
183307
  var loopinc = looping[j + 2];
181742
183308
  for (var i3 = looping[j];i3 != endloop; i3 += loopinc) {
181743
- var right1 = right ^ keys2[i3];
181744
- var right2 = (right >>> 4 | right << 28) ^ keys2[i3 + 1];
183309
+ var right1 = right ^ keys3[i3];
183310
+ var right2 = (right >>> 4 | right << 28) ^ keys3[i3 + 1];
181745
183311
  tmp = left;
181746
183312
  left = right;
181747
183313
  right = tmp ^ (spfunction2[right1 >>> 24 & 63] | spfunction4[right1 >>> 16 & 63] | spfunction6[right1 >>> 8 & 63] | spfunction8[right1 & 63] | spfunction1[right2 >>> 24 & 63] | spfunction3[right2 >>> 16 & 63] | spfunction5[right2 >>> 8 & 63] | spfunction7[right2 & 63]);
@@ -197378,7 +198944,7 @@ async function getSkillInfo(cwd2) {
197378
198944
  }
197379
198945
  var SKILL_BUDGET_CONTEXT_PERCENT = 0.01, CHARS_PER_TOKEN = 4, DEFAULT_CHAR_BUDGET = 8000, MAX_LISTING_DESC_CHARS = 250, MIN_DESC_LENGTH = 20, getPrompt;
197380
198946
  var init_prompt6 = __esm(() => {
197381
- init_lodash();
198947
+ init_lodash2();
197382
198948
  init_commands2();
197383
198949
  init_xml();
197384
198950
  init_stringWidth();
@@ -201369,7 +202935,7 @@ var require_picomatch = __commonJS((exports, module) => {
201369
202935
  var parse7 = require_parse5();
201370
202936
  var utils = require_utils4();
201371
202937
  var constants5 = require_constants8();
201372
- var isObject5 = (val) => val && typeof val === "object" && !Array.isArray(val);
202938
+ var isObject6 = (val) => val && typeof val === "object" && !Array.isArray(val);
201373
202939
  var picomatch = (glob, options, returnState = false) => {
201374
202940
  if (Array.isArray(glob)) {
201375
202941
  const fns = glob.map((input) => picomatch(input, options, returnState));
@@ -201383,7 +202949,7 @@ var require_picomatch = __commonJS((exports, module) => {
201383
202949
  };
201384
202950
  return arrayMatcher;
201385
202951
  }
201386
- const isState = isObject5(glob) && glob.tokens && glob.input;
202952
+ const isState = isObject6(glob) && glob.tokens && glob.input;
201387
202953
  if (glob === "" || typeof glob !== "string" && !isState) {
201388
202954
  throw new TypeError("Expected pattern to be a non-empty string");
201389
202955
  }
@@ -254454,10 +256020,10 @@ function maskBracesInQuotedContexts(cmd) {
254454
256020
  async function parseForSecurity(cmd) {
254455
256021
  if (cmd === "")
254456
256022
  return { kind: "simple", commands: [] };
254457
- const root2 = await parseCommandRaw(cmd);
254458
- return root2 === null ? { kind: "parse-unavailable" } : parseForSecurityFromAst(cmd, root2);
256023
+ const root3 = await parseCommandRaw(cmd);
256024
+ return root3 === null ? { kind: "parse-unavailable" } : parseForSecurityFromAst(cmd, root3);
254459
256025
  }
254460
- function parseForSecurityFromAst(cmd, root2) {
256026
+ function parseForSecurityFromAst(cmd, root3) {
254461
256027
  if (CONTROL_CHAR_RE.test(cmd)) {
254462
256028
  return { kind: "too-complex", reason: "Contains control characters" };
254463
256029
  }
@@ -254492,19 +256058,19 @@ function parseForSecurityFromAst(cmd, root2) {
254492
256058
  if (trimmed === "") {
254493
256059
  return { kind: "simple", commands: [] };
254494
256060
  }
254495
- if (root2 === PARSE_ABORTED) {
256061
+ if (root3 === PARSE_ABORTED) {
254496
256062
  return {
254497
256063
  kind: "too-complex",
254498
256064
  reason: "Parser aborted (timeout or resource limit) — possible adversarial input",
254499
256065
  nodeType: "PARSE_ABORT"
254500
256066
  };
254501
256067
  }
254502
- return walkProgram(root2);
256068
+ return walkProgram(root3);
254503
256069
  }
254504
- function walkProgram(root2) {
256070
+ function walkProgram(root3) {
254505
256071
  const commands = [];
254506
256072
  const varScope = new Map;
254507
- const err2 = collectCommands(root2, commands, varScope);
256073
+ const err2 = collectCommands(root3, commands, varScope);
254508
256074
  if (err2)
254509
256075
  return err2;
254510
256076
  return { kind: "simple", commands };
@@ -258800,10 +260366,10 @@ class TreeSitterParsedCommand {
258800
260366
  return this.treeSitterAnalysis;
258801
260367
  }
258802
260368
  }
258803
- function buildParsedCommandFromRoot(command, root2) {
258804
- const pipePositions = extractPipePositions(root2);
258805
- const redirectionNodes = extractRedirectionNodes(root2);
258806
- const analysis = analyzeCommand(root2, command);
260369
+ function buildParsedCommandFromRoot(command, root3) {
260370
+ const pipePositions = extractPipePositions(root3);
260371
+ const redirectionNodes = extractRedirectionNodes(root3);
260372
+ const analysis = analyzeCommand(root3, command);
258807
260373
  return new TreeSitterParsedCommand(command, pipePositions, redirectionNodes, analysis);
258808
260374
  }
258809
260375
  async function doParse(command) {
@@ -265950,7 +267516,7 @@ var require_fast_deep_equal = __commonJS((exports, module) => {
265950
267516
  if (a2 && b3 && typeof a2 == "object" && typeof b3 == "object") {
265951
267517
  if (a2.constructor !== b3.constructor)
265952
267518
  return false;
265953
- var length, i3, keys2;
267519
+ var length, i3, keys3;
265954
267520
  if (Array.isArray(a2)) {
265955
267521
  length = a2.length;
265956
267522
  if (length != b3.length)
@@ -265966,15 +267532,15 @@ var require_fast_deep_equal = __commonJS((exports, module) => {
265966
267532
  return a2.valueOf() === b3.valueOf();
265967
267533
  if (a2.toString !== Object.prototype.toString)
265968
267534
  return a2.toString() === b3.toString();
265969
- keys2 = Object.keys(a2);
265970
- length = keys2.length;
267535
+ keys3 = Object.keys(a2);
267536
+ length = keys3.length;
265971
267537
  if (length !== Object.keys(b3).length)
265972
267538
  return false;
265973
267539
  for (i3 = length;i3-- !== 0; )
265974
- if (!Object.prototype.hasOwnProperty.call(b3, keys2[i3]))
267540
+ if (!Object.prototype.hasOwnProperty.call(b3, keys3[i3]))
265975
267541
  return false;
265976
267542
  for (i3 = length;i3-- !== 0; ) {
265977
- var key2 = keys2[i3];
267543
+ var key2 = keys3[i3];
265978
267544
  if (!equal(a2[key2], b3[key2]))
265979
267545
  return false;
265980
267546
  }
@@ -266870,22 +268436,22 @@ var require_compile = __commonJS((exports) => {
266870
268436
  }
266871
268437
  }
266872
268438
  exports.compileSchema = compileSchema;
266873
- function resolveRef3(root2, baseId, ref) {
268439
+ function resolveRef3(root3, baseId, ref) {
266874
268440
  var _a4;
266875
268441
  ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);
266876
- const schOrFunc = root2.refs[ref];
268442
+ const schOrFunc = root3.refs[ref];
266877
268443
  if (schOrFunc)
266878
268444
  return schOrFunc;
266879
- let _sch = resolve23.call(this, root2, ref);
268445
+ let _sch = resolve23.call(this, root3, ref);
266880
268446
  if (_sch === undefined) {
266881
- const schema = (_a4 = root2.localRefs) === null || _a4 === undefined ? undefined : _a4[ref];
268447
+ const schema = (_a4 = root3.localRefs) === null || _a4 === undefined ? undefined : _a4[ref];
266882
268448
  const { schemaId } = this.opts;
266883
268449
  if (schema)
266884
- _sch = new SchemaEnv({ schema, schemaId, root: root2, baseId });
268450
+ _sch = new SchemaEnv({ schema, schemaId, root: root3, baseId });
266885
268451
  }
266886
268452
  if (_sch === undefined)
266887
268453
  return;
266888
- return root2.refs[ref] = inlineOrCompile.call(this, _sch);
268454
+ return root3.refs[ref] = inlineOrCompile.call(this, _sch);
266889
268455
  }
266890
268456
  exports.resolveRef = resolveRef3;
266891
268457
  function inlineOrCompile(sch) {
@@ -266903,23 +268469,23 @@ var require_compile = __commonJS((exports) => {
266903
268469
  function sameSchemaEnv(s1, s2) {
266904
268470
  return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;
266905
268471
  }
266906
- function resolve23(root2, ref) {
268472
+ function resolve23(root3, ref) {
266907
268473
  let sch;
266908
268474
  while (typeof (sch = this.refs[ref]) == "string")
266909
268475
  ref = sch;
266910
- return sch || this.schemas[ref] || resolveSchema.call(this, root2, ref);
268476
+ return sch || this.schemas[ref] || resolveSchema.call(this, root3, ref);
266911
268477
  }
266912
- function resolveSchema(root2, ref) {
268478
+ function resolveSchema(root3, ref) {
266913
268479
  const p = this.opts.uriResolver.parse(ref);
266914
268480
  const refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);
266915
- let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root2.baseId, undefined);
266916
- if (Object.keys(root2.schema).length > 0 && refPath === baseId) {
266917
- return getJsonPointer.call(this, p, root2);
268481
+ let baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root3.baseId, undefined);
268482
+ if (Object.keys(root3.schema).length > 0 && refPath === baseId) {
268483
+ return getJsonPointer.call(this, p, root3);
266918
268484
  }
266919
268485
  const id = (0, resolve_1.normalizeId)(refPath);
266920
268486
  const schOrRef = this.refs[id] || this.schemas[id];
266921
268487
  if (typeof schOrRef == "string") {
266922
- const sch = resolveSchema.call(this, root2, schOrRef);
268488
+ const sch = resolveSchema.call(this, root3, schOrRef);
266923
268489
  if (typeof (sch === null || sch === undefined ? undefined : sch.schema) !== "object")
266924
268490
  return;
266925
268491
  return getJsonPointer.call(this, p, sch);
@@ -266934,7 +268500,7 @@ var require_compile = __commonJS((exports) => {
266934
268500
  const schId = schema[schemaId];
266935
268501
  if (schId)
266936
268502
  baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
266937
- return new SchemaEnv({ schema, schemaId, root: root2, baseId });
268503
+ return new SchemaEnv({ schema, schemaId, root: root3, baseId });
266938
268504
  }
266939
268505
  return getJsonPointer.call(this, p, schOrRef);
266940
268506
  }
@@ -266946,7 +268512,7 @@ var require_compile = __commonJS((exports) => {
266946
268512
  "dependencies",
266947
268513
  "definitions"
266948
268514
  ]);
266949
- function getJsonPointer(parsedRef, { baseId, schema, root: root2 }) {
268515
+ function getJsonPointer(parsedRef, { baseId, schema, root: root3 }) {
266950
268516
  var _a4;
266951
268517
  if (((_a4 = parsedRef.fragment) === null || _a4 === undefined ? undefined : _a4[0]) !== "/")
266952
268518
  return;
@@ -266965,10 +268531,10 @@ var require_compile = __commonJS((exports) => {
266965
268531
  let env5;
266966
268532
  if (typeof schema != "boolean" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {
266967
268533
  const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);
266968
- env5 = resolveSchema.call(this, root2, $ref);
268534
+ env5 = resolveSchema.call(this, root3, $ref);
266969
268535
  }
266970
268536
  const { schemaId } = this.opts;
266971
- env5 = env5 || new SchemaEnv({ schema, schemaId, root: root2, baseId });
268537
+ env5 = env5 || new SchemaEnv({ schema, schemaId, root: root3, baseId });
266972
268538
  if (env5.schema !== env5.root.schema)
266973
268539
  return env5;
266974
268540
  return;
@@ -267955,8 +269521,8 @@ var require_core2 = __commonJS((exports) => {
267955
269521
  keyRef = sch;
267956
269522
  if (sch === undefined) {
267957
269523
  const { schemaId } = this.opts;
267958
- const root2 = new compile_1.SchemaEnv({ schema: {}, schemaId });
267959
- sch = compile_1.resolveSchema.call(this, root2, keyRef);
269524
+ const root3 = new compile_1.SchemaEnv({ schema: {}, schemaId });
269525
+ sch = compile_1.resolveSchema.call(this, root3, keyRef);
267960
269526
  if (!sch)
267961
269527
  return;
267962
269528
  this.refs[keyRef] = sch;
@@ -268301,20 +269867,20 @@ var require_ref2 = __commonJS((exports) => {
268301
269867
  code(cxt) {
268302
269868
  const { gen, schema: $ref, it } = cxt;
268303
269869
  const { baseId, schemaEnv: env5, validateName, opts, self: self2 } = it;
268304
- const { root: root2 } = env5;
268305
- if (($ref === "#" || $ref === "#/") && baseId === root2.baseId)
269870
+ const { root: root3 } = env5;
269871
+ if (($ref === "#" || $ref === "#/") && baseId === root3.baseId)
268306
269872
  return callRootRef();
268307
- const schOrEnv = compile_1.resolveRef.call(self2, root2, baseId, $ref);
269873
+ const schOrEnv = compile_1.resolveRef.call(self2, root3, baseId, $ref);
268308
269874
  if (schOrEnv === undefined)
268309
269875
  throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);
268310
269876
  if (schOrEnv instanceof compile_1.SchemaEnv)
268311
269877
  return callValidate(schOrEnv);
268312
269878
  return inlineRefSchema(schOrEnv);
268313
269879
  function callRootRef() {
268314
- if (env5 === root2)
269880
+ if (env5 === root3)
268315
269881
  return callRef(cxt, validateName, env5, env5.$async);
268316
- const rootName = gen.scopeValue("root", { ref: root2 });
268317
- return callRef(cxt, (0, codegen_1._)`${rootName}.validate`, root2, root2.$async);
269882
+ const rootName = gen.scopeValue("root", { ref: root3 });
269883
+ return callRef(cxt, (0, codegen_1._)`${rootName}.validate`, root3, root3.$async);
268318
269884
  }
268319
269885
  function callValidate(sch) {
268320
269886
  const v2 = getValidate(cxt, sch);
@@ -270269,13 +271835,13 @@ var init_SyntheticOutputTool = __esm(() => {
270269
271835
  };
270270
271836
  },
270271
271837
  renderToolUseMessage(input) {
270272
- const keys2 = Object.keys(input);
270273
- if (keys2.length === 0)
271838
+ const keys3 = Object.keys(input);
271839
+ if (keys3.length === 0)
270274
271840
  return null;
270275
- if (keys2.length <= 3) {
270276
- return keys2.map((k2) => `${k2}: ${jsonStringify(input[k2])}`).join(", ");
271841
+ if (keys3.length <= 3) {
271842
+ return keys3.map((k2) => `${k2}: ${jsonStringify(input[k2])}`).join(", ");
270277
271843
  }
270278
- return `${keys2.length} fields: ${keys2.slice(0, 3).join(", ")}…`;
271844
+ return `${keys3.length} fields: ${keys3.slice(0, 3).join(", ")}…`;
270279
271845
  },
270280
271846
  renderToolUseRejectedMessage() {
270281
271847
  return "Structured output rejected";
@@ -279035,17 +280601,17 @@ function getAllNativeMessagingHostsDirs() {
279035
280601
  return paths2;
279036
280602
  }
279037
280603
  function getAllWindowsRegistryKeys() {
279038
- const keys2 = [];
280604
+ const keys3 = [];
279039
280605
  for (const browserId of BROWSER_DETECTION_ORDER) {
279040
280606
  const config4 = CHROMIUM_BROWSERS[browserId];
279041
280607
  if (config4.windows.registryKey) {
279042
- keys2.push({
280608
+ keys3.push({
279043
280609
  browser: browserId,
279044
280610
  key: config4.windows.registryKey
279045
280611
  });
279046
280612
  }
279047
280613
  }
279048
- return keys2;
280614
+ return keys3;
279049
280615
  }
279050
280616
  async function detectAvailableBrowser() {
279051
280617
  const platform3 = getPlatform();
@@ -290223,8 +291789,8 @@ function areMcpConfigsEqual(a2, b3) {
290223
291789
  return jsonStringify(configA) === jsonStringify(configB);
290224
291790
  }
290225
291791
  function mcpToolInputToAutoClassifierInput(input, toolName) {
290226
- const keys2 = Object.keys(input);
290227
- return keys2.length > 0 ? keys2.map((k2) => `${k2}=${String(input[k2])}`).join(" ") : toolName;
291792
+ const keys3 = Object.keys(input);
291793
+ return keys3.length > 0 ? keys3.map((k2) => `${k2}=${String(input[k2])}`).join(" ") : toolName;
290228
291794
  }
290229
291795
  async function callIdeRpc(toolName, args, client) {
290230
291796
  const result = await callMCPTool({
@@ -296003,9 +297569,9 @@ var require_baggage_impl = __commonJS((exports) => {
296003
297569
  newBaggage._entries.delete(key2);
296004
297570
  return newBaggage;
296005
297571
  }
296006
- removeEntries(...keys2) {
297572
+ removeEntries(...keys3) {
296007
297573
  const newBaggage = new BaggageImpl(this._entries);
296008
- for (const key2 of keys2) {
297574
+ for (const key2 of keys3) {
296009
297575
  newBaggage._entries.delete(key2);
296010
297576
  }
296011
297577
  return newBaggage;
@@ -296093,7 +297659,7 @@ var require_consoleLogger = __commonJS((exports) => {
296093
297659
  ];
296094
297660
  exports._originalConsoleMethods = {};
296095
297661
  if (typeof console !== "undefined") {
296096
- const keys2 = [
297662
+ const keys3 = [
296097
297663
  "error",
296098
297664
  "warn",
296099
297665
  "info",
@@ -296101,7 +297667,7 @@ var require_consoleLogger = __commonJS((exports) => {
296101
297667
  "trace",
296102
297668
  "log"
296103
297669
  ];
296104
- for (const key2 of keys2) {
297670
+ for (const key2 of keys3) {
296105
297671
  if (typeof console[key2] === "function") {
296106
297672
  exports._originalConsoleMethods[key2] = console[key2];
296107
297673
  }
@@ -296582,8 +298148,8 @@ var require_NoopTracer = __commonJS((exports) => {
296582
298148
 
296583
298149
  class NoopTracer {
296584
298150
  startSpan(name, options, context = contextApi.active()) {
296585
- const root2 = Boolean(options === null || options === undefined ? undefined : options.root);
296586
- if (root2) {
298151
+ const root3 = Boolean(options === null || options === undefined ? undefined : options.root);
298152
+ if (root3) {
296587
298153
  return new NonRecordingSpan_1.NonRecordingSpan;
296588
298154
  }
296589
298155
  const parentFromContext = context && (0, context_utils_1.getSpanContext)(context);
@@ -299854,57 +301420,57 @@ var require_rpc_metadata = __commonJS((exports) => {
299854
301420
  var require_lodash_merge = __commonJS((exports) => {
299855
301421
  Object.defineProperty(exports, "__esModule", { value: true });
299856
301422
  exports.isPlainObject = undefined;
299857
- var objectTag6 = "[object Object]";
299858
- var nullTag2 = "[object Null]";
299859
- var undefinedTag2 = "[object Undefined]";
299860
- var funcProto4 = Function.prototype;
299861
- var funcToString4 = funcProto4.toString;
299862
- var objectCtorString2 = funcToString4.call(Object);
301423
+ var objectTag9 = "[object Object]";
301424
+ var nullTag3 = "[object Null]";
301425
+ var undefinedTag3 = "[object Undefined]";
301426
+ var funcProto6 = Function.prototype;
301427
+ var funcToString6 = funcProto6.toString;
301428
+ var objectCtorString2 = funcToString6.call(Object);
299863
301429
  var getPrototypeOf2 = Object.getPrototypeOf;
299864
- var objectProto18 = Object.prototype;
299865
- var hasOwnProperty16 = objectProto18.hasOwnProperty;
299866
- var symToStringTag3 = Symbol ? Symbol.toStringTag : undefined;
299867
- var nativeObjectToString3 = objectProto18.toString;
301430
+ var objectProto30 = Object.prototype;
301431
+ var hasOwnProperty25 = objectProto30.hasOwnProperty;
301432
+ var symToStringTag5 = Symbol ? Symbol.toStringTag : undefined;
301433
+ var nativeObjectToString5 = objectProto30.toString;
299868
301434
  function isPlainObject7(value) {
299869
- if (!isObjectLike2(value) || baseGetTag2(value) !== objectTag6) {
301435
+ if (!isObjectLike3(value) || baseGetTag3(value) !== objectTag9) {
299870
301436
  return false;
299871
301437
  }
299872
301438
  const proto2 = getPrototypeOf2(value);
299873
301439
  if (proto2 === null) {
299874
301440
  return true;
299875
301441
  }
299876
- const Ctor = hasOwnProperty16.call(proto2, "constructor") && proto2.constructor;
299877
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString4.call(Ctor) === objectCtorString2;
301442
+ const Ctor = hasOwnProperty25.call(proto2, "constructor") && proto2.constructor;
301443
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString6.call(Ctor) === objectCtorString2;
299878
301444
  }
299879
301445
  exports.isPlainObject = isPlainObject7;
299880
- function isObjectLike2(value) {
301446
+ function isObjectLike3(value) {
299881
301447
  return value != null && typeof value == "object";
299882
301448
  }
299883
- function baseGetTag2(value) {
301449
+ function baseGetTag3(value) {
299884
301450
  if (value == null) {
299885
- return value === undefined ? undefinedTag2 : nullTag2;
301451
+ return value === undefined ? undefinedTag3 : nullTag3;
299886
301452
  }
299887
- return symToStringTag3 && symToStringTag3 in Object(value) ? getRawTag2(value) : objectToString4(value);
301453
+ return symToStringTag5 && symToStringTag5 in Object(value) ? getRawTag3(value) : objectToString5(value);
299888
301454
  }
299889
- function getRawTag2(value) {
299890
- const isOwn = hasOwnProperty16.call(value, symToStringTag3), tag = value[symToStringTag3];
301455
+ function getRawTag3(value) {
301456
+ const isOwn = hasOwnProperty25.call(value, symToStringTag5), tag = value[symToStringTag5];
299891
301457
  let unmasked = false;
299892
301458
  try {
299893
- value[symToStringTag3] = undefined;
301459
+ value[symToStringTag5] = undefined;
299894
301460
  unmasked = true;
299895
301461
  } catch {}
299896
- const result = nativeObjectToString3.call(value);
301462
+ const result = nativeObjectToString5.call(value);
299897
301463
  if (unmasked) {
299898
301464
  if (isOwn) {
299899
- value[symToStringTag3] = tag;
301465
+ value[symToStringTag5] = tag;
299900
301466
  } else {
299901
- delete value[symToStringTag3];
301467
+ delete value[symToStringTag5];
299902
301468
  }
299903
301469
  }
299904
301470
  return result;
299905
301471
  }
299906
- function objectToString4(value) {
299907
- return nativeObjectToString3.call(value);
301472
+ function objectToString5(value) {
301473
+ return nativeObjectToString5.call(value);
299908
301474
  }
299909
301475
  });
299910
301476
 
@@ -299924,7 +301490,7 @@ var require_merge2 = __commonJS((exports) => {
299924
301490
  }
299925
301491
  exports.merge = merge3;
299926
301492
  function takeValue(value) {
299927
- if (isArray4(value)) {
301493
+ if (isArray5(value)) {
299928
301494
  return value.slice();
299929
301495
  }
299930
301496
  return value;
@@ -299935,33 +301501,33 @@ var require_merge2 = __commonJS((exports) => {
299935
301501
  return;
299936
301502
  }
299937
301503
  level++;
299938
- if (isPrimitive(one) || isPrimitive(two) || isFunction4(two)) {
301504
+ if (isPrimitive(one) || isPrimitive(two) || isFunction5(two)) {
299939
301505
  result = takeValue(two);
299940
- } else if (isArray4(one)) {
301506
+ } else if (isArray5(one)) {
299941
301507
  result = one.slice();
299942
- if (isArray4(two)) {
301508
+ if (isArray5(two)) {
299943
301509
  for (let i3 = 0, j2 = two.length;i3 < j2; i3++) {
299944
301510
  result.push(takeValue(two[i3]));
299945
301511
  }
299946
- } else if (isObject5(two)) {
299947
- const keys2 = Object.keys(two);
299948
- for (let i3 = 0, j2 = keys2.length;i3 < j2; i3++) {
299949
- const key2 = keys2[i3];
301512
+ } else if (isObject6(two)) {
301513
+ const keys3 = Object.keys(two);
301514
+ for (let i3 = 0, j2 = keys3.length;i3 < j2; i3++) {
301515
+ const key2 = keys3[i3];
299950
301516
  if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
299951
301517
  continue;
299952
301518
  }
299953
301519
  result[key2] = takeValue(two[key2]);
299954
301520
  }
299955
301521
  }
299956
- } else if (isObject5(one)) {
299957
- if (isObject5(two)) {
301522
+ } else if (isObject6(one)) {
301523
+ if (isObject6(two)) {
299958
301524
  if (!shouldMerge(one, two)) {
299959
301525
  return two;
299960
301526
  }
299961
301527
  result = Object.assign({}, one);
299962
- const keys2 = Object.keys(two);
299963
- for (let i3 = 0, j2 = keys2.length;i3 < j2; i3++) {
299964
- const key2 = keys2[i3];
301528
+ const keys3 = Object.keys(two);
301529
+ for (let i3 = 0, j2 = keys3.length;i3 < j2; i3++) {
301530
+ const key2 = keys3[i3];
299965
301531
  if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
299966
301532
  continue;
299967
301533
  }
@@ -299978,7 +301544,7 @@ var require_merge2 = __commonJS((exports) => {
299978
301544
  if (wasObjectReferenced(one, key2, objects) || wasObjectReferenced(two, key2, objects)) {
299979
301545
  delete result[key2];
299980
301546
  } else {
299981
- if (isObject5(obj1) && isObject5(obj2)) {
301547
+ if (isObject6(obj1) && isObject6(obj2)) {
299982
301548
  const arr1 = objects.get(obj1) || [];
299983
301549
  const arr2 = objects.get(obj2) || [];
299984
301550
  arr1.push({ obj: one, key: key2 });
@@ -300006,14 +301572,14 @@ var require_merge2 = __commonJS((exports) => {
300006
301572
  }
300007
301573
  return false;
300008
301574
  }
300009
- function isArray4(value) {
301575
+ function isArray5(value) {
300010
301576
  return Array.isArray(value);
300011
301577
  }
300012
- function isFunction4(value) {
301578
+ function isFunction5(value) {
300013
301579
  return typeof value === "function";
300014
301580
  }
300015
- function isObject5(value) {
300016
- return !isPrimitive(value) && !isArray4(value) && !isFunction4(value) && typeof value === "object";
301581
+ function isObject6(value) {
301582
+ return !isPrimitive(value) && !isArray5(value) && !isFunction5(value) && typeof value === "object";
300017
301583
  }
300018
301584
  function isPrimitive(value) {
300019
301585
  return typeof value === "string" || typeof value === "number" || typeof value === "boolean" || typeof value === "undefined" || value instanceof Date || value instanceof RegExp || value === null;
@@ -302207,11 +303773,11 @@ var require_utils13 = __commonJS((exports) => {
302207
303773
  Object.defineProperty(exports, "__esModule", { value: true });
302208
303774
  exports.equalsCaseInsensitive = exports.binarySearchUB = exports.setEquals = exports.callWithTimeout = exports.TimeoutError = exports.instrumentationScopeId = exports.hashAttributes = undefined;
302209
303775
  function hashAttributes(attributes) {
302210
- let keys2 = Object.keys(attributes);
302211
- if (keys2.length === 0)
303776
+ let keys3 = Object.keys(attributes);
303777
+ if (keys3.length === 0)
302212
303778
  return "";
302213
- keys2 = keys2.sort();
302214
- return JSON.stringify(keys2.map((key2) => [key2, attributes[key2]]));
303779
+ keys3 = keys3.sort();
303780
+ return JSON.stringify(keys3.map((key2) => [key2, attributes[key2]]));
302215
303781
  }
302216
303782
  exports.hashAttributes = hashAttributes;
302217
303783
  function instrumentationScopeId(instrumentationScope) {
@@ -341065,7 +342631,7 @@ This repo is ${source_default.bold(currentDisplay)}.
341065
342631
  `));
341066
342632
  }
341067
342633
  }
341068
- async function handleTeleportPrerequisites(root2, errorsToIgnore) {
342634
+ async function handleTeleportPrerequisites(root3, errorsToIgnore) {
341069
342635
  const errors6 = await getTeleportErrors();
341070
342636
  if (errors6.size > 0) {
341071
342637
  logEvent("tengu_teleport_errors_detected", {
@@ -341073,7 +342639,7 @@ async function handleTeleportPrerequisites(root2, errorsToIgnore) {
341073
342639
  errors_ignored: Array.from(errorsToIgnore || []).join(",")
341074
342640
  });
341075
342641
  await new Promise((resolve27) => {
341076
- root2.render(/* @__PURE__ */ jsx_dev_runtime114.jsxDEV(AppStateProvider, {
342642
+ root3.render(/* @__PURE__ */ jsx_dev_runtime114.jsxDEV(AppStateProvider, {
341077
342643
  children: /* @__PURE__ */ jsx_dev_runtime114.jsxDEV(KeybindingSetup, {
341078
342644
  children: /* @__PURE__ */ jsx_dev_runtime114.jsxDEV(TeleportError, {
341079
342645
  errorsToIgnore,
@@ -341089,9 +342655,9 @@ async function handleTeleportPrerequisites(root2, errorsToIgnore) {
341089
342655
  });
341090
342656
  }
341091
342657
  }
341092
- async function teleportToRemoteWithErrorHandling(root2, description, signal, branchName) {
342658
+ async function teleportToRemoteWithErrorHandling(root3, description, signal, branchName) {
341093
342659
  const errorsToIgnore = new Set(["needsGitStash"]);
341094
- await handleTeleportPrerequisites(root2, errorsToIgnore);
342660
+ await handleTeleportPrerequisites(root3, errorsToIgnore);
341095
342661
  return teleportToRemote({
341096
342662
  initialMessage: description,
341097
342663
  signal,
@@ -370047,7 +371613,7 @@ var init_UI22 = __esm(() => {
370047
371613
  });
370048
371614
 
370049
371615
  // src/tools/ConfigTool/ConfigTool.ts
370050
- function getValue2(source, path17) {
371616
+ function getValue3(source, path17) {
370051
371617
  if (source === "global") {
370052
371618
  const config4 = getGlobalConfig();
370053
371619
  const key2 = path17[0];
@@ -370153,7 +371719,7 @@ var init_ConfigTool = __esm(() => {
370153
371719
  const config4 = getConfig3(setting);
370154
371720
  const path17 = getPath(setting);
370155
371721
  if (value === undefined) {
370156
- const currentValue = getValue2(config4.source, path17);
371722
+ const currentValue = getValue3(config4.source, path17);
370157
371723
  const displayValue = config4.formatOnRead ? config4.formatOnRead(currentValue) : currentValue;
370158
371724
  return {
370159
371725
  data: { success: true, operation: "get", setting, value: displayValue }
@@ -370231,7 +371797,7 @@ var init_ConfigTool = __esm(() => {
370231
371797
  }
370232
371798
  }
370233
371799
  if (false) {}
370234
- const previousValue = getValue2(config4.source, path17);
371800
+ const previousValue = getValue3(config4.source, path17);
370235
371801
  try {
370236
371802
  if (config4.source === "global") {
370237
371803
  const key2 = path17[0];
@@ -377162,8 +378728,8 @@ async function getPRAttributionData(appState) {
377162
378728
  return null;
377163
378729
  }
377164
378730
  const fileStates = attribution.fileStates;
377165
- const isMap2 = fileStates instanceof Map;
377166
- const trackedFiles = isMap2 ? Array.from(fileStates.keys()) : Object.keys(fileStates);
378731
+ const isMap3 = fileStates instanceof Map;
378732
+ const trackedFiles = isMap3 ? Array.from(fileStates.keys()) : Object.keys(fileStates);
377167
378733
  if (trackedFiles.length === 0) {
377168
378734
  return null;
377169
378735
  }
@@ -377234,8 +378800,8 @@ async function getEnhancedPRAttribution(getAppState) {
377234
378800
  logForDebugging(`PR Attribution: appState.attribution exists: ${!!appState.attribution}`);
377235
378801
  if (appState.attribution) {
377236
378802
  const fileStates = appState.attribution.fileStates;
377237
- const isMap2 = fileStates instanceof Map;
377238
- const fileCount = isMap2 ? fileStates.size : Object.keys(fileStates).length;
378803
+ const isMap3 = fileStates instanceof Map;
378804
+ const fileCount = isMap3 ? fileStates.size : Object.keys(fileStates).length;
377239
378805
  logForDebugging(`PR Attribution: fileStates count: ${fileCount}`);
377240
378806
  }
377241
378807
  const [attributionData, { promptCount, memoryAccessCount }, isInternal] = await Promise.all([
@@ -419818,15 +421384,15 @@ function treeify(obj, options = {}) {
419818
421384
  return;
419819
421385
  }
419820
421386
  visited.add(node);
419821
- const keys3 = Object.keys(node).filter((key2) => {
421387
+ const keys4 = Object.keys(node).filter((key2) => {
419822
421388
  const value = node[key2];
419823
421389
  if (hideFunctions && typeof value === "function")
419824
421390
  return false;
419825
421391
  return true;
419826
421392
  });
419827
- keys3.forEach((key2, index) => {
421393
+ keys4.forEach((key2, index) => {
419828
421394
  const value = node[key2];
419829
- const isLastKey = index === keys3.length - 1;
421395
+ const isLastKey = index === keys4.length - 1;
419830
421396
  const nodePrefix = depth === 0 && index === 0 ? "" : prefix;
419831
421397
  const treeChar = isLastKey ? DEFAULT_TREE_CHARS.lastBranch : DEFAULT_TREE_CHARS.branch;
419832
421398
  const coloredTreeChar = colorize2(treeChar, treeCharColors.treeChar);
@@ -419854,12 +421420,12 @@ function treeify(obj, options = {}) {
419854
421420
  }
419855
421421
  });
419856
421422
  }
419857
- const keys2 = Object.keys(obj);
419858
- if (keys2.length === 0) {
421423
+ const keys3 = Object.keys(obj);
421424
+ if (keys3.length === 0) {
419859
421425
  return colorize2("(empty)", treeCharColors.value);
419860
421426
  }
419861
- if (keys2.length === 1 && keys2[0] !== undefined && keys2[0].trim() === "" && typeof obj[keys2[0]] === "string") {
419862
- const firstKey = keys2[0];
421427
+ if (keys3.length === 1 && keys3[0] !== undefined && keys3[0].trim() === "" && typeof obj[keys3[0]] === "string") {
421428
+ const firstKey = keys3[0];
419863
421429
  const coloredTreeChar = colorize2(DEFAULT_TREE_CHARS.lastBranch, treeCharColors.treeChar);
419864
421430
  const coloredValue = colorize2(obj[firstKey], treeCharColors.value);
419865
421431
  return coloredTreeChar + " " + coloredValue;
@@ -452556,7 +454122,7 @@ function VirtualMessageList({
452556
454122
  }
452557
454123
  prevMessagesRef.current = messages;
452558
454124
  prevItemKeyRef.current = itemKey;
452559
- const keys2 = keysRef.current;
454125
+ const keys3 = keysRef.current;
452560
454126
  const {
452561
454127
  range,
452562
454128
  topSpacer,
@@ -452568,7 +454134,7 @@ function VirtualMessageList({
452568
454134
  getItemElement,
452569
454135
  getItemHeight,
452570
454136
  scrollToIndex
452571
- } = useVirtualScroll(scrollRef, keys2, columns);
454137
+ } = useVirtualScroll(scrollRef, keys3, columns);
452572
454138
  const [start, end] = range;
452573
454139
  const isVisible = import_react155.useCallback((i3) => {
452574
454140
  const h2 = getItemHeight(i3);
@@ -452961,7 +454527,7 @@ function VirtualMessageList({
452961
454527
  }, undefined, false, undefined, this),
452962
454528
  messages.slice(start, end).map((msg, i3) => {
452963
454529
  const idx = start + i3;
452964
- const k2 = keys2[idx];
454530
+ const k2 = keys3[idx];
452965
454531
  const clickable = !!onItemClick && (isItemClickable?.(msg) ?? true);
452966
454532
  const hovered = clickable && hoveredKey === k2;
452967
454533
  const expanded = isItemExpanded?.(msg);
@@ -453663,8 +455229,8 @@ var init_Messages = __esm(() => {
453663
455229
  return t2;
453664
455230
  });
453665
455231
  Messages3 = React83.memo(MessagesImpl, (prev, next) => {
453666
- const keys2 = Object.keys(prev);
453667
- for (const key2 of keys2) {
455232
+ const keys3 = Object.keys(prev);
455233
+ for (const key2 of keys3) {
453668
455234
  if (key2 === "onOpenRateLimitOptions" || key2 === "scrollRef" || key2 === "trackStickyPrompt" || key2 === "setCursor" || key2 === "cursorNavRef" || key2 === "jumpRef" || key2 === "onSearchMatchesChange" || key2 === "scanElement" || key2 === "setPositions")
453669
455235
  continue;
453670
455236
  if (prev[key2] !== next[key2]) {
@@ -492567,7 +494133,7 @@ function normalizePatternToPath({
492567
494133
  }
492568
494134
  }
492569
494135
  }
492570
- function normalizePatternsToPath(patternsByRoot, root2) {
494136
+ function normalizePatternsToPath(patternsByRoot, root3) {
492571
494137
  const result = new Set(patternsByRoot.get(null) ?? []);
492572
494138
  for (const [patternRoot, patterns] of patternsByRoot.entries()) {
492573
494139
  if (patternRoot === null) {
@@ -492577,7 +494143,7 @@ function normalizePatternsToPath(patternsByRoot, root2) {
492577
494143
  const normalizedPattern = normalizePatternToPath({
492578
494144
  patternRoot,
492579
494145
  pattern,
492580
- rootPath: root2
494146
+ rootPath: root3
492581
494147
  });
492582
494148
  if (normalizedPattern) {
492583
494149
  result.add(normalizedPattern);
@@ -492643,11 +494209,11 @@ function getPatternsByRoot(toolPermissionContext, toolType, behavior) {
492643
494209
  const rules = getRuleByContentsForToolName(toolPermissionContext, toolName, behavior);
492644
494210
  const patternsByRoot = new Map;
492645
494211
  for (const [pattern, rule] of rules.entries()) {
492646
- const { relativePattern, root: root2 } = patternWithRoot(pattern, rule.source);
492647
- let patternsForRoot = patternsByRoot.get(root2);
494212
+ const { relativePattern, root: root3 } = patternWithRoot(pattern, rule.source);
494213
+ let patternsForRoot = patternsByRoot.get(root3);
492648
494214
  if (patternsForRoot === undefined) {
492649
494215
  patternsForRoot = new Map;
492650
- patternsByRoot.set(root2, patternsForRoot);
494216
+ patternsByRoot.set(root3, patternsForRoot);
492651
494217
  }
492652
494218
  patternsForRoot.set(relativePattern, rule);
492653
494219
  }
@@ -492659,7 +494225,7 @@ function matchingRuleForInput(path22, toolPermissionContext, toolType, behavior)
492659
494225
  fileAbsolutePath = windowsPathToPosixPath(fileAbsolutePath);
492660
494226
  }
492661
494227
  const patternsByRoot = getPatternsByRoot(toolPermissionContext, toolType, behavior);
492662
- for (const [root2, patternMap] of patternsByRoot.entries()) {
494228
+ for (const [root3, patternMap] of patternsByRoot.entries()) {
492663
494229
  const patterns = Array.from(patternMap.keys()).map((pattern) => {
492664
494230
  let adjustedPattern = pattern;
492665
494231
  if (adjustedPattern.endsWith("/**")) {
@@ -492668,7 +494234,7 @@ function matchingRuleForInput(path22, toolPermissionContext, toolType, behavior)
492668
494234
  return adjustedPattern;
492669
494235
  });
492670
494236
  const ig = import_ignore5.default().add(patterns);
492671
- const relativePathStr = relativePath(root2 ?? getCwd(), fileAbsolutePath ?? getCwd());
494237
+ const relativePathStr = relativePath(root3 ?? getCwd(), fileAbsolutePath ?? getCwd());
492672
494238
  if (relativePathStr.startsWith(`..${DIR_SEP}`)) {
492673
494239
  continue;
492674
494240
  }
@@ -510596,12 +512162,12 @@ async function getCompoundCommandPrefixesStatic(command8, excludeSubcommand) {
510596
512162
  return [];
510597
512163
  const groups = new Map;
510598
512164
  for (const prefix of prefixes) {
510599
- const root2 = prefix.split(" ")[0];
510600
- const group = groups.get(root2);
512165
+ const root3 = prefix.split(" ")[0];
512166
+ const group = groups.get(root3);
510601
512167
  if (group) {
510602
512168
  group.push(prefix);
510603
512169
  } else {
510604
- groups.set(root2, [prefix]);
512170
+ groups.set(root3, [prefix]);
510605
512171
  }
510606
512172
  }
510607
512173
  const collapsed = [];
@@ -517318,8 +518884,8 @@ async function getCompoundCommandPrefixesStatic2(command8, excludeSubcommand) {
517318
518884
  }
517319
518885
  const groups = new Map;
517320
518886
  for (const prefix of prefixes) {
517321
- const root2 = prefix.split(" ")[0];
517322
- const key2 = root2.toLowerCase();
518887
+ const root3 = prefix.split(" ")[0];
518888
+ const key2 = root3.toLowerCase();
517323
518889
  const group = groups.get(key2);
517324
518890
  if (group) {
517325
518891
  group.push(prefix);
@@ -522880,8 +524446,8 @@ var init_shellCompletion = __esm(() => {
522880
524446
  });
522881
524447
 
522882
524448
  // node_modules/fuse.js/dist/fuse.mjs
522883
- function isArray4(value) {
522884
- return !Array.isArray ? getTag2(value) === "[object Array]" : Array.isArray(value);
524449
+ function isArray5(value) {
524450
+ return !Array.isArray ? getTag3(value) === "[object Array]" : Array.isArray(value);
522885
524451
  }
522886
524452
  function baseToString2(value) {
522887
524453
  if (typeof value == "string") {
@@ -522900,13 +524466,13 @@ function isNumber2(value) {
522900
524466
  return typeof value === "number";
522901
524467
  }
522902
524468
  function isBoolean2(value) {
522903
- return value === true || value === false || isObjectLike2(value) && getTag2(value) == "[object Boolean]";
524469
+ return value === true || value === false || isObjectLike3(value) && getTag3(value) == "[object Boolean]";
522904
524470
  }
522905
- function isObject5(value) {
524471
+ function isObject6(value) {
522906
524472
  return typeof value === "object";
522907
524473
  }
522908
- function isObjectLike2(value) {
522909
- return isObject5(value) && value !== null;
524474
+ function isObjectLike3(value) {
524475
+ return isObject6(value) && value !== null;
522910
524476
  }
522911
524477
  function isDefined2(value) {
522912
524478
  return value !== undefined && value !== null;
@@ -522914,16 +524480,16 @@ function isDefined2(value) {
522914
524480
  function isBlank(value) {
522915
524481
  return !value.trim().length;
522916
524482
  }
522917
- function getTag2(value) {
524483
+ function getTag3(value) {
522918
524484
  return value == null ? value === undefined ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(value);
522919
524485
  }
522920
524486
 
522921
524487
  class KeyStore {
522922
- constructor(keys2) {
524488
+ constructor(keys3) {
522923
524489
  this._keys = [];
522924
524490
  this._keyMap = {};
522925
524491
  let totalWeight = 0;
522926
- keys2.forEach((key2) => {
524492
+ keys3.forEach((key2) => {
522927
524493
  let obj = createKey(key2);
522928
524494
  this._keys.push(obj);
522929
524495
  this._keyMap[obj.id] = obj;
@@ -522949,7 +524515,7 @@ function createKey(key2) {
522949
524515
  let src = null;
522950
524516
  let weight = 1;
522951
524517
  let getFn = null;
522952
- if (isString2(key2) || isArray4(key2)) {
524518
+ if (isString2(key2) || isArray5(key2)) {
522953
524519
  src = key2;
522954
524520
  path23 = createKeyPath(key2);
522955
524521
  id = createKeyId(key2);
@@ -522972,10 +524538,10 @@ function createKey(key2) {
522972
524538
  return { path: path23, id, weight, src, getFn };
522973
524539
  }
522974
524540
  function createKeyPath(key2) {
522975
- return isArray4(key2) ? key2 : key2.split(".");
524541
+ return isArray5(key2) ? key2 : key2.split(".");
522976
524542
  }
522977
524543
  function createKeyId(key2) {
522978
- return isArray4(key2) ? key2.join(".") : key2;
524544
+ return isArray5(key2) ? key2.join(".") : key2;
522979
524545
  }
522980
524546
  function get2(obj, path23) {
522981
524547
  let list = [];
@@ -522994,7 +524560,7 @@ function get2(obj, path23) {
522994
524560
  }
522995
524561
  if (index === path24.length - 1 && (isString2(value) || isNumber2(value) || isBoolean2(value))) {
522996
524562
  list.push(toString6(value));
522997
- } else if (isArray4(value)) {
524563
+ } else if (isArray5(value)) {
522998
524564
  arr = true;
522999
524565
  for (let i3 = 0, len = value.length;i3 < len; i3 += 1) {
523000
524566
  deepGet(value[i3], path24, index + 1);
@@ -523043,10 +524609,10 @@ class FuseIndex {
523043
524609
  setIndexRecords(records = []) {
523044
524610
  this.records = records;
523045
524611
  }
523046
- setKeys(keys2 = []) {
523047
- this.keys = keys2;
524612
+ setKeys(keys3 = []) {
524613
+ this.keys = keys3;
523048
524614
  this._keysMap = {};
523049
- keys2.forEach((key2, idx) => {
524615
+ keys3.forEach((key2, idx) => {
523050
524616
  this._keysMap[key2.id] = idx;
523051
524617
  });
523052
524618
  }
@@ -523104,7 +524670,7 @@ class FuseIndex {
523104
524670
  if (!isDefined2(value)) {
523105
524671
  return;
523106
524672
  }
523107
- if (isArray4(value)) {
524673
+ if (isArray5(value)) {
523108
524674
  let subRecords = [];
523109
524675
  const stack = [{ nestedArrIndex: -1, value }];
523110
524676
  while (stack.length) {
@@ -523119,7 +524685,7 @@ class FuseIndex {
523119
524685
  n: this.norm.get(value2)
523120
524686
  };
523121
524687
  subRecords.push(subRecord);
523122
- } else if (isArray4(value2)) {
524688
+ } else if (isArray5(value2)) {
523123
524689
  value2.forEach((item, k2) => {
523124
524690
  stack.push({
523125
524691
  nestedArrIndex: k2,
@@ -523147,17 +524713,17 @@ class FuseIndex {
523147
524713
  };
523148
524714
  }
523149
524715
  }
523150
- function createIndex(keys2, docs, { getFn = Config2.getFn, fieldNormWeight = Config2.fieldNormWeight } = {}) {
524716
+ function createIndex(keys3, docs, { getFn = Config2.getFn, fieldNormWeight = Config2.fieldNormWeight } = {}) {
523151
524717
  const myIndex = new FuseIndex({ getFn, fieldNormWeight });
523152
- myIndex.setKeys(keys2.map(createKey));
524718
+ myIndex.setKeys(keys3.map(createKey));
523153
524719
  myIndex.setSources(docs);
523154
524720
  myIndex.create();
523155
524721
  return myIndex;
523156
524722
  }
523157
524723
  function parseIndex(data, { getFn = Config2.getFn, fieldNormWeight = Config2.fieldNormWeight } = {}) {
523158
- const { keys: keys2, records } = data;
524724
+ const { keys: keys3, records } = data;
523159
524725
  const myIndex = new FuseIndex({ getFn, fieldNormWeight });
523160
- myIndex.setKeys(keys2);
524726
+ myIndex.setKeys(keys3);
523161
524727
  myIndex.setIndexRecords(records);
523162
524728
  return myIndex;
523163
524729
  }
@@ -523587,13 +525153,13 @@ function createSearcher(pattern, options) {
523587
525153
  }
523588
525154
  function parse13(query2, options, { auto = true } = {}) {
523589
525155
  const next = (query3) => {
523590
- let keys2 = Object.keys(query3);
525156
+ let keys3 = Object.keys(query3);
523591
525157
  const isQueryPath = isPath(query3);
523592
- if (!isQueryPath && keys2.length > 1 && !isExpression(query3)) {
525158
+ if (!isQueryPath && keys3.length > 1 && !isExpression(query3)) {
523593
525159
  return next(convertToExplicit(query3));
523594
525160
  }
523595
525161
  if (isLeaf(query3)) {
523596
- const key2 = isQueryPath ? query3[KeyType.PATH] : keys2[0];
525162
+ const key2 = isQueryPath ? query3[KeyType.PATH] : keys3[0];
523597
525163
  const pattern = isQueryPath ? query3[KeyType.PATTERN] : query3[key2];
523598
525164
  if (!isString2(pattern)) {
523599
525165
  throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(key2));
@@ -523609,11 +525175,11 @@ function parse13(query2, options, { auto = true } = {}) {
523609
525175
  }
523610
525176
  let node = {
523611
525177
  children: [],
523612
- operator: keys2[0]
525178
+ operator: keys3[0]
523613
525179
  };
523614
- keys2.forEach((key2) => {
525180
+ keys3.forEach((key2) => {
523615
525181
  const value = query3[key2];
523616
- if (isArray4(value)) {
525182
+ if (isArray5(value)) {
523617
525183
  value.forEach((item) => {
523618
525184
  node.children.push(next(item));
523619
525185
  });
@@ -523825,14 +525391,14 @@ class Fuse {
523825
525391
  }
523826
525392
  _searchObjectList(query2) {
523827
525393
  const searcher = createSearcher(query2, this.options);
523828
- const { keys: keys2, records } = this._myIndex;
525394
+ const { keys: keys3, records } = this._myIndex;
523829
525395
  const results = [];
523830
525396
  records.forEach(({ $: item, i: idx }) => {
523831
525397
  if (!isDefined2(item)) {
523832
525398
  return;
523833
525399
  }
523834
525400
  let matches = [];
523835
- keys2.forEach((key2, keyIndex) => {
525401
+ keys3.forEach((key2, keyIndex) => {
523836
525402
  matches.push(...this._findMatches({
523837
525403
  key: key2,
523838
525404
  value: item[keyIndex],
@@ -523854,7 +525420,7 @@ class Fuse {
523854
525420
  return [];
523855
525421
  }
523856
525422
  let matches = [];
523857
- if (isArray4(value)) {
525423
+ if (isArray5(value)) {
523858
525424
  value.forEach(({ v: text2, i: idx, n: norm2 }) => {
523859
525425
  if (!isDefined2(text2)) {
523860
525426
  return;
@@ -523881,7 +525447,7 @@ class Fuse {
523881
525447
  return matches;
523882
525448
  }
523883
525449
  }
523884
- var INFINITY4, INCORRECT_INDEX_TYPE = "Incorrect 'index' type", LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY = (key2) => `Invalid value for key ${key2}`, PATTERN_LENGTH_TOO_LARGE = (max2) => `Pattern length exceeds max of ${max2}.`, MISSING_KEY_PROPERTY = (name) => `Missing ${name} property in key`, INVALID_KEY_WEIGHT_VALUE = (key2) => `Property 'weight' in key '${key2}' must be a positive integer`, hasOwn2, MatchOptions, BasicOptions, FuzzyOptions, AdvancedOptions, Config2, SPACE, MAX_BITS = 32, stripDiacritics, ExactMatch, InverseExactMatch, PrefixExactMatch, InversePrefixExactMatch, SuffixExactMatch, InverseSuffixExactMatch, FuzzyMatch, IncludeMatch, searchers, searchersLen, SPACE_RE, OR_TOKEN = "|", MultiMatchSet, registeredSearchers, LogicalOperator, KeyType, isExpression = (query2) => !!(query2[LogicalOperator.AND] || query2[LogicalOperator.OR]), isPath = (query2) => !!query2[KeyType.PATH], isLeaf = (query2) => !isArray4(query2) && isObject5(query2) && !isExpression(query2), convertToExplicit = (query2) => ({
525450
+ var INFINITY4, INCORRECT_INDEX_TYPE = "Incorrect 'index' type", LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY = (key2) => `Invalid value for key ${key2}`, PATTERN_LENGTH_TOO_LARGE = (max2) => `Pattern length exceeds max of ${max2}.`, MISSING_KEY_PROPERTY = (name) => `Missing ${name} property in key`, INVALID_KEY_WEIGHT_VALUE = (key2) => `Property 'weight' in key '${key2}' must be a positive integer`, hasOwn2, MatchOptions, BasicOptions, FuzzyOptions, AdvancedOptions, Config2, SPACE, MAX_BITS = 32, stripDiacritics, ExactMatch, InverseExactMatch, PrefixExactMatch, InversePrefixExactMatch, SuffixExactMatch, InverseSuffixExactMatch, FuzzyMatch, IncludeMatch, searchers, searchersLen, SPACE_RE, OR_TOKEN = "|", MultiMatchSet, registeredSearchers, LogicalOperator, KeyType, isExpression = (query2) => !!(query2[LogicalOperator.AND] || query2[LogicalOperator.OR]), isPath = (query2) => !!query2[KeyType.PATH], isLeaf = (query2) => !isArray5(query2) && isObject6(query2) && !isExpression(query2), convertToExplicit = (query2) => ({
523885
525451
  [LogicalOperator.AND]: Object.keys(query2).map((key2) => ({
523886
525452
  [key2]: query2[key2]
523887
525453
  }))
@@ -543348,11 +544914,11 @@ class StructuredIO {
543348
544914
  return;
543349
544915
  }
543350
544916
  if (message.type === "update_environment_variables") {
543351
- const keys2 = Object.keys(message.variables);
544917
+ const keys3 = Object.keys(message.variables);
543352
544918
  for (const [key2, value] of Object.entries(message.variables)) {
543353
544919
  process.env[key2] = value;
543354
544920
  }
543355
- logForDebugging(`[structuredIO] applied update_environment_variables: ${keys2.join(", ")}`);
544921
+ logForDebugging(`[structuredIO] applied update_environment_variables: ${keys3.join(", ")}`);
543356
544922
  return;
543357
544923
  }
543358
544924
  if (message.type === "control_response") {
@@ -551231,14 +552797,14 @@ var init_REPL = __esm(() => {
551231
552797
  });
551232
552798
 
551233
552799
  // src/replLauncher.tsx
551234
- async function launchRepl(root2, appProps, replProps, renderAndRun) {
552800
+ async function launchRepl(root3, appProps, replProps, renderAndRun) {
551235
552801
  const {
551236
552802
  App: App3
551237
552803
  } = await Promise.resolve().then(() => (init_App2(), exports_App));
551238
552804
  const {
551239
552805
  REPL: REPL2
551240
552806
  } = await Promise.resolve().then(() => (init_REPL(), exports_REPL));
551241
- await renderAndRun(root2, /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(App3, {
552807
+ await renderAndRun(root3, /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(App3, {
551242
552808
  ...appProps,
551243
552809
  children: /* @__PURE__ */ jsx_dev_runtime466.jsxDEV(REPL2, {
551244
552810
  ...replProps
@@ -551737,7 +553303,7 @@ var init_MCPServerMultiselectDialog = __esm(() => {
551737
553303
  });
551738
553304
 
551739
553305
  // src/services/mcpServerApproval.tsx
551740
- async function handleMcpjsonServerApprovals(root2) {
553306
+ async function handleMcpjsonServerApprovals(root3) {
551741
553307
  const {
551742
553308
  servers: projectServers
551743
553309
  } = getMcpConfigsByScope("project");
@@ -551749,7 +553315,7 @@ async function handleMcpjsonServerApprovals(root2) {
551749
553315
  const done = () => void resolve46();
551750
553316
  if (pendingServers.length === 1 && pendingServers[0] !== undefined) {
551751
553317
  const serverName = pendingServers[0];
551752
- root2.render(/* @__PURE__ */ jsx_dev_runtime470.jsxDEV(AppStateProvider, {
553318
+ root3.render(/* @__PURE__ */ jsx_dev_runtime470.jsxDEV(AppStateProvider, {
551753
553319
  children: /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(KeybindingSetup, {
551754
553320
  children: /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(MCPServerApprovalDialog, {
551755
553321
  serverName,
@@ -551758,7 +553324,7 @@ async function handleMcpjsonServerApprovals(root2) {
551758
553324
  }, undefined, false, undefined, this)
551759
553325
  }, undefined, false, undefined, this));
551760
553326
  } else {
551761
- root2.render(/* @__PURE__ */ jsx_dev_runtime470.jsxDEV(AppStateProvider, {
553327
+ root3.render(/* @__PURE__ */ jsx_dev_runtime470.jsxDEV(AppStateProvider, {
551762
553328
  children: /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(KeybindingSetup, {
551763
553329
  children: /* @__PURE__ */ jsx_dev_runtime470.jsxDEV(MCPServerMultiselectDialog, {
551764
553330
  serverNames: pendingServers,
@@ -554524,49 +556090,49 @@ function completeOnboarding() {
554524
556090
  lastOnboardingVersion: MACRO.VERSION
554525
556091
  }));
554526
556092
  }
554527
- function showDialog(root2, renderer) {
556093
+ function showDialog(root3, renderer) {
554528
556094
  return new Promise((resolve46) => {
554529
556095
  const done = (result) => void resolve46(result);
554530
- root2.render(renderer(done));
556096
+ root3.render(renderer(done));
554531
556097
  });
554532
556098
  }
554533
- async function exitWithError2(root2, message, beforeExit) {
554534
- return exitWithMessage2(root2, message, {
556099
+ async function exitWithError2(root3, message, beforeExit) {
556100
+ return exitWithMessage2(root3, message, {
554535
556101
  color: "error",
554536
556102
  beforeExit
554537
556103
  });
554538
556104
  }
554539
- async function exitWithMessage2(root2, message, options) {
556105
+ async function exitWithMessage2(root3, message, options) {
554540
556106
  const {
554541
556107
  Text: Text6
554542
556108
  } = await Promise.resolve().then(() => (init_ink2(), exports_ink));
554543
556109
  const color3 = options?.color;
554544
556110
  const exitCode = options?.exitCode ?? 1;
554545
- root2.render(color3 ? /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Text6, {
556111
+ root3.render(color3 ? /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Text6, {
554546
556112
  color: color3,
554547
556113
  children: message
554548
556114
  }, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Text6, {
554549
556115
  children: message
554550
556116
  }, undefined, false, undefined, this));
554551
- root2.unmount();
556117
+ root3.unmount();
554552
556118
  await options?.beforeExit?.();
554553
556119
  process.exit(exitCode);
554554
556120
  }
554555
- function showSetupDialog(root2, renderer, options) {
554556
- return showDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(AppStateProvider, {
556121
+ function showSetupDialog(root3, renderer, options) {
556122
+ return showDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(AppStateProvider, {
554557
556123
  onChangeAppState: options?.onChangeAppState,
554558
556124
  children: /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(KeybindingSetup, {
554559
556125
  children: renderer(done)
554560
556126
  }, undefined, false, undefined, this)
554561
556127
  }, undefined, false, undefined, this));
554562
556128
  }
554563
- async function renderAndRun(root2, element) {
554564
- root2.render(element);
556129
+ async function renderAndRun(root3, element) {
556130
+ root3.render(element);
554565
556131
  startDeferredPrefetches();
554566
- await root2.waitUntilExit();
556132
+ await root3.waitUntilExit();
554567
556133
  await gracefulShutdown(0);
554568
556134
  }
554569
- async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermissions, commands, claudeInChrome, devChannels) {
556135
+ async function showSetupScreens(root3, permissionMode, allowDangerouslySkipPermissions, commands, claudeInChrome, devChannels) {
554570
556136
  if (isEnvTruthy(false) || process.env.IS_DEMO) {
554571
556137
  return false;
554572
556138
  }
@@ -554577,7 +556143,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554577
556143
  const {
554578
556144
  Onboarding: Onboarding2
554579
556145
  } = await Promise.resolve().then(() => (init_Onboarding(), exports_Onboarding));
554580
- await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Onboarding2, {
556146
+ await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(Onboarding2, {
554581
556147
  onDone: () => {
554582
556148
  completeOnboarding();
554583
556149
  done();
@@ -554591,7 +556157,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554591
556157
  const {
554592
556158
  TrustDialog: TrustDialog2
554593
556159
  } = await Promise.resolve().then(() => (init_TrustDialog(), exports_TrustDialog));
554594
- await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(TrustDialog2, {
556160
+ await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(TrustDialog2, {
554595
556161
  commands,
554596
556162
  onDone: done
554597
556163
  }, undefined, false, undefined, this));
@@ -554604,14 +556170,14 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554604
556170
  errors: allErrors
554605
556171
  } = getSettingsWithAllErrors();
554606
556172
  if (allErrors.length === 0) {
554607
- await handleMcpjsonServerApprovals(root2);
556173
+ await handleMcpjsonServerApprovals(root3);
554608
556174
  }
554609
556175
  if (await shouldShowClaudeMdExternalIncludesWarning()) {
554610
556176
  const externalIncludes = getExternalClaudeMdIncludes(await getMemoryFiles(true));
554611
556177
  const {
554612
556178
  ClaudeMdExternalIncludesDialog: ClaudeMdExternalIncludesDialog2
554613
556179
  } = await Promise.resolve().then(() => (init_ClaudeMdExternalIncludesDialog(), exports_ClaudeMdExternalIncludesDialog));
554614
- await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ClaudeMdExternalIncludesDialog2, {
556180
+ await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ClaudeMdExternalIncludesDialog2, {
554615
556181
  onDone: done,
554616
556182
  isStandaloneDialog: true,
554617
556183
  externalIncludes
@@ -554626,7 +556192,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554626
556192
  const {
554627
556193
  GroveDialog: GroveDialog2
554628
556194
  } = await Promise.resolve().then(() => (init_Grove(), exports_Grove));
554629
- const decision = await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(GroveDialog2, {
556195
+ const decision = await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(GroveDialog2, {
554630
556196
  showIfAlreadyViewed: false,
554631
556197
  location: onboardingShown ? "onboarding" : "policy_update_modal",
554632
556198
  onDone: done
@@ -554644,7 +556210,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554644
556210
  const {
554645
556211
  ApproveApiKey: ApproveApiKey2
554646
556212
  } = await Promise.resolve().then(() => (init_ApproveApiKey(), exports_ApproveApiKey));
554647
- await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ApproveApiKey2, {
556213
+ await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ApproveApiKey2, {
554648
556214
  customApiKeyTruncated,
554649
556215
  onDone: done
554650
556216
  }, undefined, false, undefined, this), {
@@ -554656,7 +556222,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554656
556222
  const {
554657
556223
  BypassPermissionsModeDialog: BypassPermissionsModeDialog2
554658
556224
  } = await Promise.resolve().then(() => (init_BypassPermissionsModeDialog(), exports_BypassPermissionsModeDialog));
554659
- await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(BypassPermissionsModeDialog2, {
556225
+ await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(BypassPermissionsModeDialog2, {
554660
556226
  onAccept: done
554661
556227
  }, undefined, false, undefined, this));
554662
556228
  }
@@ -554666,7 +556232,7 @@ async function showSetupScreens(root2, permissionMode, allowDangerouslySkipPermi
554666
556232
  const {
554667
556233
  ClaudeInChromeOnboarding: ClaudeInChromeOnboarding2
554668
556234
  } = await Promise.resolve().then(() => (init_ClaudeInChromeOnboarding(), exports_ClaudeInChromeOnboarding));
554669
- await showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ClaudeInChromeOnboarding2, {
556235
+ await showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime480.jsxDEV(ClaudeInChromeOnboarding2, {
554670
556236
  onDone: done
554671
556237
  }, undefined, false, undefined, this));
554672
556238
  }
@@ -556092,44 +557658,44 @@ var init_ResumeConversation = __esm(() => {
556092
557658
  });
556093
557659
 
556094
557660
  // src/dialogLaunchers.tsx
556095
- async function launchInvalidSettingsDialog(root2, props) {
557661
+ async function launchInvalidSettingsDialog(root3, props) {
556096
557662
  const {
556097
557663
  InvalidSettingsDialog: InvalidSettingsDialog2
556098
557664
  } = await Promise.resolve().then(() => (init_InvalidSettingsDialog(), exports_InvalidSettingsDialog));
556099
- return showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(InvalidSettingsDialog2, {
557665
+ return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(InvalidSettingsDialog2, {
556100
557666
  settingsErrors: props.settingsErrors,
556101
557667
  onContinue: done,
556102
557668
  onExit: props.onExit
556103
557669
  }, undefined, false, undefined, this));
556104
557670
  }
556105
- async function launchTeleportResumeWrapper(root2) {
557671
+ async function launchTeleportResumeWrapper(root3) {
556106
557672
  const {
556107
557673
  TeleportResumeWrapper: TeleportResumeWrapper2
556108
557674
  } = await Promise.resolve().then(() => (init_TeleportResumeWrapper(), exports_TeleportResumeWrapper));
556109
- return showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(TeleportResumeWrapper2, {
557675
+ return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(TeleportResumeWrapper2, {
556110
557676
  onComplete: done,
556111
557677
  onCancel: () => done(null),
556112
557678
  source: "cliArg"
556113
557679
  }, undefined, false, undefined, this));
556114
557680
  }
556115
- async function launchTeleportRepoMismatchDialog(root2, props) {
557681
+ async function launchTeleportRepoMismatchDialog(root3, props) {
556116
557682
  const {
556117
557683
  TeleportRepoMismatchDialog: TeleportRepoMismatchDialog2
556118
557684
  } = await Promise.resolve().then(() => (init_TeleportRepoMismatchDialog(), exports_TeleportRepoMismatchDialog));
556119
- return showSetupDialog(root2, (done) => /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(TeleportRepoMismatchDialog2, {
557685
+ return showSetupDialog(root3, (done) => /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(TeleportRepoMismatchDialog2, {
556120
557686
  targetRepo: props.targetRepo,
556121
557687
  initialPaths: props.initialPaths,
556122
557688
  onSelectPath: done,
556123
557689
  onCancel: () => done(null)
556124
557690
  }, undefined, false, undefined, this));
556125
557691
  }
556126
- async function launchResumeChooser(root2, appProps, worktreePathsPromise, resumeProps) {
557692
+ async function launchResumeChooser(root3, appProps, worktreePathsPromise, resumeProps) {
556127
557693
  const [worktreePaths, {
556128
557694
  ResumeConversation: ResumeConversation2
556129
557695
  }, {
556130
557696
  App: App3
556131
557697
  }] = await Promise.all([worktreePathsPromise, Promise.resolve().then(() => (init_ResumeConversation(), exports_ResumeConversation)), Promise.resolve().then(() => (init_App2(), exports_App))]);
556132
- await renderAndRun(root2, /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(App3, {
557698
+ await renderAndRun(root3, /* @__PURE__ */ jsx_dev_runtime486.jsxDEV(App3, {
556133
557699
  getFpsMetrics: appProps.getFpsMetrics,
556134
557700
  stats: appProps.stats,
556135
557701
  initialState: appProps.initialState,
@@ -556860,9 +558426,9 @@ function generateActionsTable() {
556860
558426
  }
556861
558427
  return markdownTable(["Action", "Default Key(s)", "Context"], KEYBINDING_ACTIONS.map((action2) => {
556862
558428
  const info = actionInfo[action2];
556863
- const keys2 = info ? info.keys.map((k2) => `\`${k2}\``).join(", ") : "(none)";
558429
+ const keys3 = info ? info.keys.map((k2) => `\`${k2}\``).join(", ") : "(none)";
556864
558430
  const context2 = info ? info.context : inferContextFromAction(action2);
556865
- return [`\`${action2}\``, keys2, context2];
558431
+ return [`\`${action2}\``, keys3, context2];
556866
558432
  }));
556867
558433
  }
556868
558434
  function inferContextFromAction(action2) {
@@ -568530,7 +570096,7 @@ function TeleportProgress(t0) {
568530
570096
  }
568531
570097
  return t7;
568532
570098
  }
568533
- async function teleportWithProgress(root2, sessionId) {
570099
+ async function teleportWithProgress(root3, sessionId) {
568534
570100
  let setStep = () => {};
568535
570101
  function TeleportProgressWrapper() {
568536
570102
  const [step, _setStep] = import_react333.useState("validating");
@@ -568540,7 +570106,7 @@ async function teleportWithProgress(root2, sessionId) {
568540
570106
  sessionId
568541
570107
  }, undefined, false, undefined, this);
568542
570108
  }
568543
- root2.render(/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(AppStateProvider, {
570109
+ root3.render(/* @__PURE__ */ jsx_dev_runtime487.jsxDEV(AppStateProvider, {
568544
570110
  children: /* @__PURE__ */ jsx_dev_runtime487.jsxDEV(TeleportProgressWrapper, {}, undefined, false, undefined, this)
568545
570111
  }, undefined, false, undefined, this));
568546
570112
  const result = await teleportResumeCodeSession(sessionId, setStep);
@@ -570693,14 +572259,14 @@ __export(exports_util2, {
570693
572259
  doctorHandler: () => doctorHandler
570694
572260
  });
570695
572261
  import { cwd as cwd4 } from "process";
570696
- async function setupTokenHandler(root2) {
572262
+ async function setupTokenHandler(root3) {
570697
572263
  logEvent("tengu_setup_token_command", {});
570698
572264
  const showAuthWarning = !isAnthropicAuthEnabled();
570699
572265
  const {
570700
572266
  ConsoleOAuthFlow: ConsoleOAuthFlow2
570701
572267
  } = await Promise.resolve().then(() => (init_ConsoleOAuthFlow(), exports_ConsoleOAuthFlow));
570702
572268
  await new Promise((resolve46) => {
570703
- root2.render(/* @__PURE__ */ jsx_dev_runtime491.jsxDEV(AppStateProvider, {
572269
+ root3.render(/* @__PURE__ */ jsx_dev_runtime491.jsxDEV(AppStateProvider, {
570704
572270
  onChangeAppState,
570705
572271
  children: /* @__PURE__ */ jsx_dev_runtime491.jsxDEV(KeybindingSetup, {
570706
572272
  children: /* @__PURE__ */ jsx_dev_runtime491.jsxDEV(ThemedBox_default, {
@@ -570733,7 +572299,7 @@ async function setupTokenHandler(root2) {
570733
572299
  }, undefined, false, undefined, this)
570734
572300
  }, undefined, false, undefined, this));
570735
572301
  });
570736
- root2.unmount();
572302
+ root3.unmount();
570737
572303
  process.exit(0);
570738
572304
  }
570739
572305
  function DoctorWithPlugins(t0) {
@@ -570757,10 +572323,10 @@ function DoctorWithPlugins(t0) {
570757
572323
  }
570758
572324
  return t1;
570759
572325
  }
570760
- async function doctorHandler(root2) {
572326
+ async function doctorHandler(root3) {
570761
572327
  logEvent("tengu_doctor_command", {});
570762
572328
  await new Promise((resolve46) => {
570763
- root2.render(/* @__PURE__ */ jsx_dev_runtime491.jsxDEV(AppStateProvider, {
572329
+ root3.render(/* @__PURE__ */ jsx_dev_runtime491.jsxDEV(AppStateProvider, {
570764
572330
  children: /* @__PURE__ */ jsx_dev_runtime491.jsxDEV(KeybindingSetup, {
570765
572331
  children: /* @__PURE__ */ jsx_dev_runtime491.jsxDEV(MCPConnectionManager, {
570766
572332
  dynamicMcpConfig: undefined,
@@ -570774,7 +572340,7 @@ async function doctorHandler(root2) {
570774
572340
  }, undefined, false, undefined, this)
570775
572341
  }, undefined, false, undefined, this));
570776
572342
  });
570777
- root2.unmount();
572343
+ root3.unmount();
570778
572344
  process.exit(0);
570779
572345
  }
570780
572346
  async function installHandler(target, options) {
@@ -572253,7 +573819,7 @@ ${customInstructions}` : customInstructions;
572253
573819
  if (false) {}
572254
573820
  if (false) {}
572255
573821
  if (false) {}
572256
- let root2;
573822
+ let root3;
572257
573823
  let getFpsMetrics;
572258
573824
  let stats2;
572259
573825
  if (!isNonInteractiveSession) {
@@ -572264,14 +573830,14 @@ ${customInstructions}` : customInstructions;
572264
573830
  const {
572265
573831
  createRoot: createRoot3
572266
573832
  } = await Promise.resolve().then(() => (init_ink2(), exports_ink));
572267
- root2 = await createRoot3(ctx.renderOptions);
573833
+ root3 = await createRoot3(ctx.renderOptions);
572268
573834
  logEvent("tengu_timer", {
572269
573835
  event: "startup",
572270
573836
  durationMs: Math.round(process.uptime() * 1000)
572271
573837
  });
572272
573838
  logForDebugging("[STARTUP] Running showSetupScreens()...");
572273
573839
  const setupScreensStart = Date.now();
572274
- const onboardingShown = await showSetupScreens(root2, permissionMode, allowDangerouslySkipPermissions, commands, enableClaudeInChrome, devChannels);
573840
+ const onboardingShown = await showSetupScreens(root3, permissionMode, allowDangerouslySkipPermissions, commands, enableClaudeInChrome, devChannels);
572275
573841
  logForDebugging(`[STARTUP] showSetupScreens() completed in ${Date.now() - setupScreensStart}ms`);
572276
573842
  if (false) {}
572277
573843
  if (false) {}
@@ -572290,7 +573856,7 @@ ${customInstructions}` : customInstructions;
572290
573856
  }
572291
573857
  const orgValidation = await validateForceLoginOrg();
572292
573858
  if (!orgValidation.valid) {
572293
- await exitWithError2(root2, orgValidation.message);
573859
+ await exitWithError2(root3, orgValidation.message);
572294
573860
  }
572295
573861
  }
572296
573862
  if (process.exitCode !== undefined) {
@@ -572304,7 +573870,7 @@ ${customInstructions}` : customInstructions;
572304
573870
  } = getSettingsWithErrors();
572305
573871
  const nonMcpErrors = errors6.filter((e) => !e.mcpErrorMetadata);
572306
573872
  if (nonMcpErrors.length > 0) {
572307
- await launchInvalidSettingsDialog(root2, {
573873
+ await launchInvalidSettingsDialog(root3, {
572308
573874
  settingsErrors: nonMcpErrors,
572309
573875
  onExit: () => gracefulShutdownSync(1)
572310
573876
  });
@@ -572881,7 +574447,7 @@ ${customInstructions}` : customInstructions;
572881
574447
  logEvent("tengu_continue", {
572882
574448
  success: false
572883
574449
  });
572884
- return await exitWithError2(root2, "No conversation found to continue");
574450
+ return await exitWithError2(root3, "No conversation found to continue");
572885
574451
  }
572886
574452
  const loaded = await processResumedConversation(result, {
572887
574453
  forkSession: !!options.forkSession,
@@ -572898,7 +574464,7 @@ ${customInstructions}` : customInstructions;
572898
574464
  resume_duration_ms: Math.round(performance.now() - resumeStart)
572899
574465
  });
572900
574466
  resumeSucceeded = true;
572901
- await launchRepl(root2, {
574467
+ await launchRepl(root3, {
572902
574468
  getFpsMetrics,
572903
574469
  stats: stats2,
572904
574470
  initialState: loaded.initialState
@@ -572955,26 +574521,26 @@ ${customInstructions}` : customInstructions;
572955
574521
  if (remote !== null || teleport) {
572956
574522
  await waitForPolicyLimitsToLoad();
572957
574523
  if (!isPolicyAllowed("allow_remote_sessions")) {
572958
- return await exitWithError2(root2, "Error: Remote sessions are disabled by your organization's policy.", () => gracefulShutdown(1));
574524
+ return await exitWithError2(root3, "Error: Remote sessions are disabled by your organization's policy.", () => gracefulShutdown(1));
572959
574525
  }
572960
574526
  }
572961
574527
  if (remote !== null) {
572962
574528
  const hasInitialPrompt = remote.length > 0;
572963
574529
  const isRemoteTuiEnabled = getFeatureValue_CACHED_MAY_BE_STALE("tengu_remote_backend", false);
572964
574530
  if (!isRemoteTuiEnabled && !hasInitialPrompt) {
572965
- return await exitWithError2(root2, `Error: --remote requires a description.
574531
+ return await exitWithError2(root3, `Error: --remote requires a description.
572966
574532
  Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
572967
574533
  }
572968
574534
  logEvent("tengu_remote_create_session", {
572969
574535
  has_initial_prompt: String(hasInitialPrompt)
572970
574536
  });
572971
574537
  const currentBranch = await getBranch();
572972
- const createdSession = await teleportToRemoteWithErrorHandling(root2, hasInitialPrompt ? remote : null, new AbortController().signal, currentBranch || undefined);
574538
+ const createdSession = await teleportToRemoteWithErrorHandling(root3, hasInitialPrompt ? remote : null, new AbortController().signal, currentBranch || undefined);
572973
574539
  if (!createdSession) {
572974
574540
  logEvent("tengu_remote_create_session_error", {
572975
574541
  error: "unable_to_create_session"
572976
574542
  });
572977
- return await exitWithError2(root2, "Error: Unable to create remote session", () => gracefulShutdown(1));
574543
+ return await exitWithError2(root3, "Error: Unable to create remote session", () => gracefulShutdown(1));
572978
574544
  }
572979
574545
  logEvent("tengu_remote_create_session_success", {
572980
574546
  session_id: createdSession.id
@@ -572996,7 +574562,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
572996
574562
  apiCreds = await prepareApiRequest();
572997
574563
  } catch (error49) {
572998
574564
  logError2(toError(error49));
572999
- return await exitWithError2(root2, `Error: ${errorMessage(error49) || "Failed to authenticate"}`, () => gracefulShutdown(1));
574565
+ return await exitWithError2(root3, `Error: ${errorMessage(error49) || "Failed to authenticate"}`, () => gracefulShutdown(1));
573000
574566
  }
573001
574567
  const {
573002
574568
  getClaudeAIOAuthTokens: getTokensForRemote
@@ -573013,7 +574579,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573013
574579
  remoteSessionUrl
573014
574580
  };
573015
574581
  const remoteCommands = filterCommandsForRemoteMode(commands);
573016
- await launchRepl(root2, {
574582
+ await launchRepl(root3, {
573017
574583
  getFpsMetrics,
573018
574584
  stats: stats2,
573019
574585
  initialState: remoteInitialState
@@ -573034,7 +574600,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573034
574600
  if (teleport === true || teleport === "") {
573035
574601
  logEvent("tengu_teleport_interactive_mode", {});
573036
574602
  logForDebugging("selectAndResumeTeleportTask: Starting teleport flow...");
573037
- const teleportResult = await launchTeleportResumeWrapper(root2);
574603
+ const teleportResult = await launchTeleportResumeWrapper(root3);
573038
574604
  if (!teleportResult) {
573039
574605
  await gracefulShutdown(0);
573040
574606
  process.exit(0);
@@ -573056,7 +574622,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573056
574622
  const knownPaths = getKnownPathsForRepo(sessionRepo);
573057
574623
  const existingPaths = await filterExistingPaths(knownPaths);
573058
574624
  if (existingPaths.length > 0) {
573059
- const selectedPath = await launchTeleportRepoMismatchDialog(root2, {
574625
+ const selectedPath = await launchTeleportRepoMismatchDialog(root3, {
573060
574626
  targetRepo: sessionRepo,
573061
574627
  initialPaths: existingPaths
573062
574628
  });
@@ -573080,7 +574646,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573080
574646
  const {
573081
574647
  teleportWithProgress: teleportWithProgress2
573082
574648
  } = await Promise.resolve().then(() => (init_TeleportProgress(), exports_TeleportProgress));
573083
- const result = await teleportWithProgress2(root2, teleport);
574649
+ const result = await teleportWithProgress2(root3, teleport);
573084
574650
  setTeleportedSessionInfo({
573085
574651
  sessionId: teleport
573086
574652
  });
@@ -573109,7 +574675,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573109
574675
  entrypoint: "cli_flag",
573110
574676
  success: false
573111
574677
  });
573112
- return await exitWithError2(root2, `No conversation found with session ID: ${sessionId2}`);
574678
+ return await exitWithError2(root3, `No conversation found with session ID: ${sessionId2}`);
573113
574679
  }
573114
574680
  const fullPath = matchedLog?.fullPath ?? result.fullPath;
573115
574681
  processedResume = await processResumedConversation(result, {
@@ -573131,7 +574697,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573131
574697
  success: false
573132
574698
  });
573133
574699
  logError2(error49);
573134
- await exitWithError2(root2, `Failed to resume session ${sessionId2}`);
574700
+ await exitWithError2(root3, `Failed to resume session ${sessionId2}`);
573135
574701
  }
573136
574702
  }
573137
574703
  if (fileDownloadPromise) {
@@ -573143,7 +574709,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573143
574709
  `));
573144
574710
  }
573145
574711
  } catch (error49) {
573146
- return await exitWithError2(root2, `Error downloading files: ${errorMessage(error49)}`);
574712
+ return await exitWithError2(root3, `Error downloading files: ${errorMessage(error49)}`);
573147
574713
  }
573148
574714
  }
573149
574715
  const resumeData = processedResume ?? (Array.isArray(messages) ? {
@@ -573158,7 +574724,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573158
574724
  if (resumeData) {
573159
574725
  maybeActivateProactive(options);
573160
574726
  maybeActivateBrief(options);
573161
- await launchRepl(root2, {
574727
+ await launchRepl(root3, {
573162
574728
  getFpsMetrics,
573163
574729
  stats: stats2,
573164
574730
  initialState: resumeData.initialState
@@ -573172,7 +574738,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573172
574738
  initialAgentColor: resumeData.agentColor
573173
574739
  }, renderAndRun);
573174
574740
  } else {
573175
- await launchResumeChooser(root2, {
574741
+ await launchResumeChooser(root3, {
573176
574742
  getFpsMetrics,
573177
574743
  stats: stats2,
573178
574744
  initialState
@@ -573192,7 +574758,7 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573192
574758
  let deepLinkBanner = null;
573193
574759
  if (false) {}
573194
574760
  const initialMessages = deepLinkBanner ? [deepLinkBanner, ...hookMessages] : hookMessages.length > 0 ? hookMessages : undefined;
573195
- await launchRepl(root2, {
574761
+ await launchRepl(root3, {
573196
574762
  getFpsMetrics,
573197
574763
  stats: stats2,
573198
574764
  initialState
@@ -573397,8 +574963,8 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573397
574963
  }, {
573398
574964
  createRoot: createRoot3
573399
574965
  }] = await Promise.all([Promise.resolve().then(() => (init_util4(), exports_util2)), Promise.resolve().then(() => (init_ink2(), exports_ink))]);
573400
- const root2 = await createRoot3(getBaseRenderOptions(false));
573401
- await setupTokenHandler2(root2);
574966
+ const root3 = await createRoot3(getBaseRenderOptions(false));
574967
+ await setupTokenHandler2(root3);
573402
574968
  });
573403
574969
  program2.command("agents").description("List configured agents").option("--setting-sources <sources>", "Comma-separated list of setting sources to load (user, project, local).").action(async () => {
573404
574970
  const {
@@ -573416,8 +574982,8 @@ Usage: myclaude --remote "your task description"`, () => gracefulShutdown(1));
573416
574982
  }, {
573417
574983
  createRoot: createRoot3
573418
574984
  }] = await Promise.all([Promise.resolve().then(() => (init_util4(), exports_util2)), Promise.resolve().then(() => (init_ink2(), exports_ink))]);
573419
- const root2 = await createRoot3(getBaseRenderOptions(false));
573420
- await doctorHandler2(root2);
574985
+ const root3 = await createRoot3(getBaseRenderOptions(false));
574986
+ await doctorHandler2(root3);
573421
574987
  });
573422
574988
  program2.command("update").alias("upgrade").description("Check for updates and install if available").action(async () => {
573423
574989
  const {