ccstatusline-usage 2.0.23 → 2.0.24

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 (2) hide show
  1. package/dist/ccstatusline.js +106 -102
  2. package/package.json +2 -2
@@ -891,7 +891,7 @@ var require_signal_exit = __commonJS((exports, module) => {
891
891
  emitter.on(ev, cb);
892
892
  return remove;
893
893
  };
894
- unload = function unload() {
894
+ unload = function unload2() {
895
895
  if (!loaded || !processOk(global.process)) {
896
896
  return;
897
897
  }
@@ -906,7 +906,7 @@ var require_signal_exit = __commonJS((exports, module) => {
906
906
  emitter.count -= 1;
907
907
  };
908
908
  module.exports.unload = unload;
909
- emit = function emit(event, code, signal) {
909
+ emit = function emit2(event, code, signal) {
910
910
  if (emitter.emitted[event]) {
911
911
  return;
912
912
  }
@@ -935,7 +935,7 @@ var require_signal_exit = __commonJS((exports, module) => {
935
935
  return signals;
936
936
  };
937
937
  loaded = false;
938
- load = function load() {
938
+ load = function load2() {
939
939
  if (loaded || !processOk(global.process)) {
940
940
  return;
941
941
  }
@@ -954,7 +954,7 @@ var require_signal_exit = __commonJS((exports, module) => {
954
954
  };
955
955
  module.exports.load = load;
956
956
  originalProcessReallyExit = process4.reallyExit;
957
- processReallyExit = function processReallyExit(code) {
957
+ processReallyExit = function processReallyExit2(code) {
958
958
  if (!processOk(global.process)) {
959
959
  return;
960
960
  }
@@ -964,7 +964,7 @@ var require_signal_exit = __commonJS((exports, module) => {
964
964
  originalProcessReallyExit.call(process4, process4.exitCode);
965
965
  };
966
966
  originalProcessEmit = process4.emit;
967
- processEmit = function processEmit(ev, arg) {
967
+ processEmit = function processEmit2(ev, arg) {
968
968
  if (ev === "exit" && processOk(global.process)) {
969
969
  if (arg !== undefined) {
970
970
  process4.exitCode = arg;
@@ -13658,11 +13658,11 @@ var require_backend = __commonJS((exports, module) => {
13658
13658
  function _typeof(obj) {
13659
13659
  "@babel/helpers - typeof";
13660
13660
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13661
- _typeof = function _typeof(obj2) {
13661
+ _typeof = function _typeof2(obj2) {
13662
13662
  return typeof obj2;
13663
13663
  };
13664
13664
  } else {
13665
- _typeof = function _typeof(obj2) {
13665
+ _typeof = function _typeof2(obj2) {
13666
13666
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
13667
13667
  };
13668
13668
  }
@@ -14376,11 +14376,11 @@ var require_backend = __commonJS((exports, module) => {
14376
14376
  function _typeof(obj) {
14377
14377
  "@babel/helpers - typeof";
14378
14378
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14379
- _typeof = function _typeof(obj2) {
14379
+ _typeof = function _typeof2(obj2) {
14380
14380
  return typeof obj2;
14381
14381
  };
14382
14382
  } else {
14383
- _typeof = function _typeof(obj2) {
14383
+ _typeof = function _typeof2(obj2) {
14384
14384
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14385
14385
  };
14386
14386
  }
@@ -14836,11 +14836,11 @@ var require_backend = __commonJS((exports, module) => {
14836
14836
  function _typeof(obj) {
14837
14837
  "@babel/helpers - typeof";
14838
14838
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14839
- _typeof = function _typeof(obj2) {
14839
+ _typeof = function _typeof2(obj2) {
14840
14840
  return typeof obj2;
14841
14841
  };
14842
14842
  } else {
14843
- _typeof = function _typeof(obj2) {
14843
+ _typeof = function _typeof2(obj2) {
14844
14844
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
14845
14845
  };
14846
14846
  }
@@ -15036,7 +15036,7 @@ var require_backend = __commonJS((exports, module) => {
15036
15036
  var LRU_LIST = Symbol("lruList");
15037
15037
  var CACHE = Symbol("cache");
15038
15038
  var UPDATE_AGE_ON_GET = Symbol("updateAgeOnGet");
15039
- var naiveLength = function naiveLength() {
15039
+ var naiveLength = function naiveLength2() {
15040
15040
  return 1;
15041
15041
  };
15042
15042
  var LRUCache = /* @__PURE__ */ function() {
@@ -15287,7 +15287,7 @@ var require_backend = __commonJS((exports, module) => {
15287
15287
  }
15288
15288
  }]);
15289
15289
  }();
15290
- var _get = function _get(self2, key, doUse) {
15290
+ var _get = function _get2(self2, key, doUse) {
15291
15291
  var node = self2[CACHE].get(key);
15292
15292
  if (node) {
15293
15293
  var hit = node.value;
@@ -15305,13 +15305,13 @@ var require_backend = __commonJS((exports, module) => {
15305
15305
  return hit.value;
15306
15306
  }
15307
15307
  };
15308
- var isStale = function isStale(self2, hit) {
15308
+ var isStale = function isStale2(self2, hit) {
15309
15309
  if (!hit || !hit.maxAge && !self2[MAX_AGE])
15310
15310
  return false;
15311
15311
  var diff = Date.now() - hit.now;
15312
15312
  return hit.maxAge ? diff > hit.maxAge : self2[MAX_AGE] && diff > self2[MAX_AGE];
15313
15313
  };
15314
- var trim = function trim(self2) {
15314
+ var trim = function trim2(self2) {
15315
15315
  if (self2[LENGTH] > self2[MAX]) {
15316
15316
  for (var walker = self2[LRU_LIST].tail;self2[LENGTH] > self2[MAX] && walker !== null; ) {
15317
15317
  var prev = walker.prev;
@@ -15320,7 +15320,7 @@ var require_backend = __commonJS((exports, module) => {
15320
15320
  }
15321
15321
  }
15322
15322
  };
15323
- var _del = function _del(self2, node) {
15323
+ var _del = function _del2(self2, node) {
15324
15324
  if (node) {
15325
15325
  var hit = node.value;
15326
15326
  if (self2[DISPOSE])
@@ -15330,15 +15330,15 @@ var require_backend = __commonJS((exports, module) => {
15330
15330
  self2[LRU_LIST].removeNode(node);
15331
15331
  }
15332
15332
  };
15333
- var Entry = /* @__PURE__ */ _createClass(function Entry(key, value, length, now, maxAge) {
15334
- _classCallCheck(this, Entry);
15333
+ var Entry = /* @__PURE__ */ _createClass(function Entry2(key, value, length, now, maxAge) {
15334
+ _classCallCheck(this, Entry2);
15335
15335
  this.key = key;
15336
15336
  this.value = value;
15337
15337
  this.length = length;
15338
15338
  this.now = now;
15339
15339
  this.maxAge = maxAge || 0;
15340
15340
  });
15341
- var forEachStep = function forEachStep(self2, fn, node, thisp) {
15341
+ var forEachStep = function forEachStep2(self2, fn, node, thisp) {
15342
15342
  var hit = node.value;
15343
15343
  if (isStale(self2, hit)) {
15344
15344
  _del(self2, node);
@@ -15512,11 +15512,11 @@ var require_backend = __commonJS((exports, module) => {
15512
15512
  function _typeof(obj) {
15513
15513
  "@babel/helpers - typeof";
15514
15514
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
15515
- _typeof = function _typeof(obj2) {
15515
+ _typeof = function _typeof2(obj2) {
15516
15516
  return typeof obj2;
15517
15517
  };
15518
15518
  } else {
15519
- _typeof = function _typeof(obj2) {
15519
+ _typeof = function _typeof2(obj2) {
15520
15520
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
15521
15521
  };
15522
15522
  }
@@ -16212,11 +16212,11 @@ var require_backend = __commonJS((exports, module) => {
16212
16212
  function _typeof(obj) {
16213
16213
  "@babel/helpers - typeof";
16214
16214
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16215
- _typeof = function _typeof(obj2) {
16215
+ _typeof = function _typeof2(obj2) {
16216
16216
  return typeof obj2;
16217
16217
  };
16218
16218
  } else {
16219
- _typeof = function _typeof(obj2) {
16219
+ _typeof = function _typeof2(obj2) {
16220
16220
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
16221
16221
  };
16222
16222
  }
@@ -16281,7 +16281,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16281
16281
  if (Array.isArray(arr))
16282
16282
  return arr;
16283
16283
  }
16284
- var compareVersions = function compareVersions(v1, v2) {
16284
+ var compareVersions = function compareVersions2(v1, v2) {
16285
16285
  var n1 = validateAndParse(v1);
16286
16286
  var n2 = validateAndParse(v2);
16287
16287
  var p1 = n1.pop();
@@ -16296,15 +16296,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16296
16296
  }
16297
16297
  return 0;
16298
16298
  };
16299
- var validate2 = function validate(version) {
16299
+ var validate2 = function validate3(version) {
16300
16300
  return typeof version === "string" && /^[v\d]/.test(version) && semver.test(version);
16301
16301
  };
16302
- var compare = function compare(v1, v2, operator) {
16302
+ var compare = function compare2(v1, v2, operator) {
16303
16303
  assertValidOperator(operator);
16304
16304
  var res = compareVersions(v1, v2);
16305
16305
  return operatorResMap[operator].includes(res);
16306
16306
  };
16307
- var satisfies = function satisfies(version, range) {
16307
+ var satisfies = function satisfies2(version, range) {
16308
16308
  var m = range.match(/^([<>=~^]+)/);
16309
16309
  var op = m ? m[1] : "=";
16310
16310
  if (op !== "^" && op !== "~")
@@ -16332,7 +16332,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16332
16332
  return true;
16333
16333
  };
16334
16334
  var semver = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;
16335
- var validateAndParse = function validateAndParse(version) {
16335
+ var validateAndParse = function validateAndParse2(version) {
16336
16336
  if (typeof version !== "string") {
16337
16337
  throw new TypeError("Invalid argument expected string");
16338
16338
  }
@@ -16343,17 +16343,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16343
16343
  match.shift();
16344
16344
  return match;
16345
16345
  };
16346
- var isWildcard = function isWildcard(s) {
16346
+ var isWildcard = function isWildcard2(s) {
16347
16347
  return s === "*" || s === "x" || s === "X";
16348
16348
  };
16349
- var tryParse = function tryParse(v) {
16349
+ var tryParse = function tryParse2(v) {
16350
16350
  var n = parseInt(v, 10);
16351
16351
  return isNaN(n) ? v : n;
16352
16352
  };
16353
- var forceType = function forceType(a, b) {
16353
+ var forceType = function forceType2(a, b) {
16354
16354
  return _typeof(a) !== _typeof(b) ? [String(a), String(b)] : [a, b];
16355
16355
  };
16356
- var compareStrings = function compareStrings(a, b) {
16356
+ var compareStrings = function compareStrings2(a, b) {
16357
16357
  if (isWildcard(a) || isWildcard(b))
16358
16358
  return 0;
16359
16359
  var _forceType = forceType(tryParse(a), tryParse(b)), _forceType2 = _slicedToArray(_forceType, 2), ap = _forceType2[0], bp = _forceType2[1];
@@ -16363,7 +16363,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16363
16363
  return -1;
16364
16364
  return 0;
16365
16365
  };
16366
- var compareSegments = function compareSegments(a, b) {
16366
+ var compareSegments = function compareSegments2(a, b) {
16367
16367
  for (var i = 0;i < Math.max(a.length, b.length); i++) {
16368
16368
  var r = compareStrings(a[i] || "0", b[i] || "0");
16369
16369
  if (r !== 0)
@@ -16379,7 +16379,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16379
16379
  "<": [-1]
16380
16380
  };
16381
16381
  var allowedOperators = Object.keys(operatorResMap);
16382
- var assertValidOperator = function assertValidOperator(op) {
16382
+ var assertValidOperator = function assertValidOperator2(op) {
16383
16383
  if (typeof op !== "string") {
16384
16384
  throw new TypeError("Invalid operator type, expected string but got ".concat(_typeof(op)));
16385
16385
  }
@@ -16453,11 +16453,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16453
16453
  function ReactSymbols_typeof(obj) {
16454
16454
  "@babel/helpers - typeof";
16455
16455
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16456
- ReactSymbols_typeof = function _typeof(obj2) {
16456
+ ReactSymbols_typeof = function _typeof2(obj2) {
16457
16457
  return typeof obj2;
16458
16458
  };
16459
16459
  } else {
16460
- ReactSymbols_typeof = function _typeof(obj2) {
16460
+ ReactSymbols_typeof = function _typeof2(obj2) {
16461
16461
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
16462
16462
  };
16463
16463
  }
@@ -16560,11 +16560,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16560
16560
  function utils_typeof(obj) {
16561
16561
  "@babel/helpers - typeof";
16562
16562
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16563
- utils_typeof = function _typeof(obj2) {
16563
+ utils_typeof = function _typeof2(obj2) {
16564
16564
  return typeof obj2;
16565
16565
  };
16566
16566
  } else {
16567
- utils_typeof = function _typeof(obj2) {
16567
+ utils_typeof = function _typeof2(obj2) {
16568
16568
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
16569
16569
  };
16570
16570
  }
@@ -16624,7 +16624,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
16624
16624
  function getAllEnumerableKeys(obj) {
16625
16625
  var keys = new Set;
16626
16626
  var current = obj;
16627
- var _loop = function _loop() {
16627
+ var _loop = function _loop2() {
16628
16628
  var currentKeys = [].concat(_toConsumableArray(Object.keys(current)), _toConsumableArray(Object.getOwnPropertySymbols(current)));
16629
16629
  var descriptors = Object.getOwnPropertyDescriptors(current);
16630
16630
  currentKeys.forEach(function(key) {
@@ -17277,7 +17277,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17277
17277
  }
17278
17278
  }
17279
17279
  }
17280
- var isPlainObject = function isPlainObject(object) {
17280
+ var isPlainObject = function isPlainObject2(object) {
17281
17281
  var objectPrototype = Object.getPrototypeOf(object);
17282
17282
  if (!objectPrototype)
17283
17283
  return true;
@@ -17366,11 +17366,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17366
17366
  function hydration_typeof(obj) {
17367
17367
  "@babel/helpers - typeof";
17368
17368
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
17369
- hydration_typeof = function _typeof(obj2) {
17369
+ hydration_typeof = function _typeof2(obj2) {
17370
17370
  return typeof obj2;
17371
17371
  };
17372
17372
  } else {
17373
- hydration_typeof = function _typeof(obj2) {
17373
+ hydration_typeof = function _typeof2(obj2) {
17374
17374
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
17375
17375
  };
17376
17376
  }
@@ -17830,7 +17830,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17830
17830
  if (it)
17831
17831
  o = it;
17832
17832
  var i = 0;
17833
- var F = function F() {};
17833
+ var F = function F2() {};
17834
17834
  return { s: F, n: function n() {
17835
17835
  if (i >= o.length)
17836
17836
  return { done: true };
@@ -17924,11 +17924,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17924
17924
  function backend_utils_typeof(obj) {
17925
17925
  "@babel/helpers - typeof";
17926
17926
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
17927
- backend_utils_typeof = function _typeof(obj2) {
17927
+ backend_utils_typeof = function _typeof2(obj2) {
17928
17928
  return typeof obj2;
17929
17929
  };
17930
17930
  } else {
17931
- backend_utils_typeof = function _typeof(obj2) {
17931
+ backend_utils_typeof = function _typeof2(obj2) {
17932
17932
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
17933
17933
  };
17934
17934
  }
@@ -18134,7 +18134,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18134
18134
  var b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
18135
18135
  return compareVersions(a, b) > -1;
18136
18136
  }
18137
- var isReactNativeEnvironment = function isReactNativeEnvironment() {
18137
+ var isReactNativeEnvironment = function isReactNativeEnvironment2() {
18138
18138
  return window.document == null;
18139
18139
  };
18140
18140
  function extractLocation(url) {
@@ -18847,7 +18847,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
18847
18847
  event.preventDefault();
18848
18848
  event.stopPropagation();
18849
18849
  }
18850
- var selectElementForNode = function selectElementForNode(node) {
18850
+ var selectElementForNode = function selectElementForNode2(node) {
18851
18851
  var id = agent2.getIDForHostInstance(node);
18852
18852
  if (id !== null) {
18853
18853
  bridge.send("selectElement", id);
@@ -19060,11 +19060,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19060
19060
  function TraceUpdates_typeof(obj) {
19061
19061
  "@babel/helpers - typeof";
19062
19062
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19063
- TraceUpdates_typeof = function _typeof(obj2) {
19063
+ TraceUpdates_typeof = function _typeof2(obj2) {
19064
19064
  return typeof obj2;
19065
19065
  };
19066
19066
  } else {
19067
- TraceUpdates_typeof = function _typeof(obj2) {
19067
+ TraceUpdates_typeof = function _typeof2(obj2) {
19068
19068
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
19069
19069
  };
19070
19070
  }
@@ -19167,11 +19167,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19167
19167
  function bridge_typeof(obj) {
19168
19168
  "@babel/helpers - typeof";
19169
19169
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19170
- bridge_typeof = function _typeof(obj2) {
19170
+ bridge_typeof = function _typeof2(obj2) {
19171
19171
  return typeof obj2;
19172
19172
  };
19173
19173
  } else {
19174
- bridge_typeof = function _typeof(obj2) {
19174
+ bridge_typeof = function _typeof2(obj2) {
19175
19175
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
19176
19176
  };
19177
19177
  }
@@ -19265,7 +19265,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19265
19265
  return self2;
19266
19266
  }
19267
19267
  function _getPrototypeOf(o) {
19268
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o2) {
19268
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
19269
19269
  return o2.__proto__ || Object.getPrototypeOf(o2);
19270
19270
  };
19271
19271
  return _getPrototypeOf(o);
@@ -19279,7 +19279,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19279
19279
  _setPrototypeOf(subClass, superClass);
19280
19280
  }
19281
19281
  function _setPrototypeOf(o, p) {
19282
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o2, p2) {
19282
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o2, p2) {
19283
19283
  o2.__proto__ = p2;
19284
19284
  return o2;
19285
19285
  };
@@ -19470,11 +19470,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19470
19470
  function agent_typeof(obj) {
19471
19471
  "@babel/helpers - typeof";
19472
19472
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19473
- agent_typeof = function _typeof(obj2) {
19473
+ agent_typeof = function _typeof2(obj2) {
19474
19474
  return typeof obj2;
19475
19475
  };
19476
19476
  } else {
19477
- agent_typeof = function _typeof(obj2) {
19477
+ agent_typeof = function _typeof2(obj2) {
19478
19478
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
19479
19479
  };
19480
19480
  }
@@ -19532,7 +19532,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19532
19532
  return self2;
19533
19533
  }
19534
19534
  function agent_getPrototypeOf(o) {
19535
- agent_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o2) {
19535
+ agent_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o2) {
19536
19536
  return o2.__proto__ || Object.getPrototypeOf(o2);
19537
19537
  };
19538
19538
  return agent_getPrototypeOf(o);
@@ -19546,7 +19546,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19546
19546
  agent_setPrototypeOf(subClass, superClass);
19547
19547
  }
19548
19548
  function agent_setPrototypeOf(o, p) {
19549
- agent_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o2, p2) {
19549
+ agent_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o2, p2) {
19550
19550
  o2.__proto__ = p2;
19551
19551
  return o2;
19552
19552
  };
@@ -19560,7 +19560,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
19560
19560
  }
19561
19561
  return obj;
19562
19562
  }
19563
- var debug = function debug(methodName) {
19563
+ var debug = function debug2(methodName) {
19564
19564
  if (__DEBUG__) {
19565
19565
  var _console;
19566
19566
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1;_key < _len; _key++) {
@@ -20284,11 +20284,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
20284
20284
  function DevToolsComponentStackFrame_typeof(obj) {
20285
20285
  "@babel/helpers - typeof";
20286
20286
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
20287
- DevToolsComponentStackFrame_typeof = function _typeof(obj2) {
20287
+ DevToolsComponentStackFrame_typeof = function _typeof2(obj2) {
20288
20288
  return typeof obj2;
20289
20289
  };
20290
20290
  } else {
20291
- DevToolsComponentStackFrame_typeof = function _typeof(obj2) {
20291
+ DevToolsComponentStackFrame_typeof = function _typeof2(obj2) {
20292
20292
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
20293
20293
  };
20294
20294
  }
@@ -20338,7 +20338,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
20338
20338
  var control;
20339
20339
  try {
20340
20340
  if (construct) {
20341
- var Fake = function Fake() {
20341
+ var Fake = function Fake2() {
20342
20342
  throw Error();
20343
20343
  };
20344
20344
  Object.defineProperty(Fake.prototype, "props", {
@@ -21290,11 +21290,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
21290
21290
  function profilingHooks_typeof(obj) {
21291
21291
  "@babel/helpers - typeof";
21292
21292
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
21293
- profilingHooks_typeof = function _typeof(obj2) {
21293
+ profilingHooks_typeof = function _typeof2(obj2) {
21294
21294
  return typeof obj2;
21295
21295
  };
21296
21296
  } else {
21297
- profilingHooks_typeof = function _typeof(obj2) {
21297
+ profilingHooks_typeof = function _typeof2(obj2) {
21298
21298
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
21299
21299
  };
21300
21300
  }
@@ -22025,7 +22025,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
22025
22025
  if (it)
22026
22026
  o = it;
22027
22027
  var i = 0;
22028
- var F = function F() {};
22028
+ var F = function F2() {};
22029
22029
  return { s: F, n: function n() {
22030
22030
  if (i >= o.length)
22031
22031
  return { done: true };
@@ -22081,11 +22081,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
22081
22081
  function renderer_typeof(obj) {
22082
22082
  "@babel/helpers - typeof";
22083
22083
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
22084
- renderer_typeof = function _typeof(obj2) {
22084
+ renderer_typeof = function _typeof2(obj2) {
22085
22085
  return typeof obj2;
22086
22086
  };
22087
22087
  } else {
22088
- renderer_typeof = function _typeof(obj2) {
22088
+ renderer_typeof = function _typeof2(obj2) {
22089
22089
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
22090
22090
  };
22091
22091
  }
@@ -25542,7 +25542,7 @@ The error thrown in the component is:
25542
25542
  isFullMatch: trackedPathMatchDepth === trackedPath.length - 1
25543
25543
  };
25544
25544
  }
25545
- var formatPriorityLevel = function formatPriorityLevel(priorityLevel) {
25545
+ var formatPriorityLevel = function formatPriorityLevel2(priorityLevel) {
25546
25546
  if (priorityLevel == null) {
25547
25547
  return "Unknown";
25548
25548
  }
@@ -25713,11 +25713,11 @@ The error thrown in the component is:
25713
25713
  function legacy_renderer_typeof(obj) {
25714
25714
  "@babel/helpers - typeof";
25715
25715
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
25716
- legacy_renderer_typeof = function _typeof(obj2) {
25716
+ legacy_renderer_typeof = function _typeof2(obj2) {
25717
25717
  return typeof obj2;
25718
25718
  };
25719
25719
  } else {
25720
- legacy_renderer_typeof = function _typeof(obj2) {
25720
+ legacy_renderer_typeof = function _typeof2(obj2) {
25721
25721
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
25722
25722
  };
25723
25723
  }
@@ -25782,19 +25782,19 @@ The error thrown in the component is:
25782
25782
  var internalInstanceToRootIDMap = new WeakMap;
25783
25783
  var getElementIDForHostInstance = null;
25784
25784
  var findHostInstanceForInternalID;
25785
- var getNearestMountedDOMNode = function getNearestMountedDOMNode(node) {
25785
+ var getNearestMountedDOMNode = function getNearestMountedDOMNode2(node) {
25786
25786
  return null;
25787
25787
  };
25788
25788
  if (renderer.ComponentTree) {
25789
- getElementIDForHostInstance = function getElementIDForHostInstance(node) {
25789
+ getElementIDForHostInstance = function getElementIDForHostInstance2(node) {
25790
25790
  var internalInstance = renderer.ComponentTree.getClosestInstanceFromNode(node);
25791
25791
  return internalInstanceToIDMap.get(internalInstance) || null;
25792
25792
  };
25793
- findHostInstanceForInternalID = function findHostInstanceForInternalID(id) {
25793
+ findHostInstanceForInternalID = function findHostInstanceForInternalID2(id) {
25794
25794
  var internalInstance = idToInternalInstanceMap.get(id);
25795
25795
  return renderer.ComponentTree.getNodeFromInstance(internalInstance);
25796
25796
  };
25797
- getNearestMountedDOMNode = function getNearestMountedDOMNode(node) {
25797
+ getNearestMountedDOMNode = function getNearestMountedDOMNode2(node) {
25798
25798
  var internalInstance = renderer.ComponentTree.getClosestInstanceFromNode(node);
25799
25799
  if (internalInstance != null) {
25800
25800
  return renderer.ComponentTree.getNodeFromInstance(internalInstance);
@@ -25802,10 +25802,10 @@ The error thrown in the component is:
25802
25802
  return null;
25803
25803
  };
25804
25804
  } else if (renderer.Mount.getID && renderer.Mount.getNode) {
25805
- getElementIDForHostInstance = function getElementIDForHostInstance(node) {
25805
+ getElementIDForHostInstance = function getElementIDForHostInstance2(node) {
25806
25806
  return null;
25807
25807
  };
25808
- findHostInstanceForInternalID = function findHostInstanceForInternalID(id) {
25808
+ findHostInstanceForInternalID = function findHostInstanceForInternalID2(id) {
25809
25809
  return null;
25810
25810
  };
25811
25811
  }
@@ -26410,26 +26410,26 @@ The error thrown in the component is:
26410
26410
  }
26411
26411
  }
26412
26412
  }
26413
- var getProfilingData = function getProfilingData() {
26413
+ var getProfilingData = function getProfilingData2() {
26414
26414
  throw new Error("getProfilingData not supported by this renderer");
26415
26415
  };
26416
- var handleCommitFiberRoot = function handleCommitFiberRoot() {
26416
+ var handleCommitFiberRoot = function handleCommitFiberRoot2() {
26417
26417
  throw new Error("handleCommitFiberRoot not supported by this renderer");
26418
26418
  };
26419
- var handleCommitFiberUnmount = function handleCommitFiberUnmount() {
26419
+ var handleCommitFiberUnmount = function handleCommitFiberUnmount2() {
26420
26420
  throw new Error("handleCommitFiberUnmount not supported by this renderer");
26421
26421
  };
26422
- var handlePostCommitFiberRoot = function handlePostCommitFiberRoot() {
26422
+ var handlePostCommitFiberRoot = function handlePostCommitFiberRoot2() {
26423
26423
  throw new Error("handlePostCommitFiberRoot not supported by this renderer");
26424
26424
  };
26425
- var overrideError = function overrideError() {
26425
+ var overrideError = function overrideError2() {
26426
26426
  throw new Error("overrideError not supported by this renderer");
26427
26427
  };
26428
- var overrideSuspense = function overrideSuspense() {
26428
+ var overrideSuspense = function overrideSuspense2() {
26429
26429
  throw new Error("overrideSuspense not supported by this renderer");
26430
26430
  };
26431
- var startProfiling = function startProfiling() {};
26432
- var stopProfiling = function stopProfiling() {};
26431
+ var startProfiling = function startProfiling2() {};
26432
+ var stopProfiling = function stopProfiling2() {};
26433
26433
  function getBestMatchForTrackedPath() {
26434
26434
  return null;
26435
26435
  }
@@ -26641,7 +26641,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26641
26641
  if (it)
26642
26642
  o = it;
26643
26643
  var i = 0;
26644
- var F = function F() {};
26644
+ var F = function F2() {};
26645
26645
  return { s: F, n: function n() {
26646
26646
  if (i >= o.length)
26647
26647
  return { done: true };
@@ -26890,10 +26890,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26890
26890
  return;
26891
26891
  }
26892
26892
  var consoleMethodsToOverrideForStrictMode = ["group", "groupCollapsed", "info", "log"];
26893
- var _loop = function _loop() {
26893
+ var _loop = function _loop2() {
26894
26894
  var method = _consoleMethodsToOver[_i];
26895
26895
  var originalMethod = targetConsole[method];
26896
- var overrideMethod = function overrideMethod() {
26896
+ var overrideMethod = function overrideMethod2() {
26897
26897
  var settings = hook.settings;
26898
26898
  for (var _len = arguments.length, args = new Array(_len), _key = 0;_key < _len; _key++) {
26899
26899
  args[_key] = arguments[_key];
@@ -26955,10 +26955,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
26955
26955
  return;
26956
26956
  }
26957
26957
  var consoleMethodsToOverrideForErrorsAndWarnings = ["error", "trace", "warn"];
26958
- var _loop2 = function _loop2() {
26958
+ var _loop2 = function _loop22() {
26959
26959
  var method = _consoleMethodsToOver2[_i2];
26960
26960
  var originalMethod = targetConsole[method];
26961
- var overrideMethod = function overrideMethod() {
26961
+ var overrideMethod = function overrideMethod2() {
26962
26962
  var settings = hook.settings;
26963
26963
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0;_key2 < _len2; _key2++) {
26964
26964
  args[_key2] = arguments[_key2];
@@ -27137,7 +27137,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
27137
27137
  });
27138
27138
  hook.emit("react-devtools", agent2);
27139
27139
  hook.reactDevtoolsAgent = agent2;
27140
- var onAgentShutdown = function onAgentShutdown() {
27140
+ var onAgentShutdown = function onAgentShutdown2() {
27141
27141
  subs.forEach(function(fn) {
27142
27142
  return fn();
27143
27143
  });
@@ -27229,11 +27229,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
27229
27229
  function setupNativeStyleEditor_typeof(obj) {
27230
27230
  "@babel/helpers - typeof";
27231
27231
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
27232
- setupNativeStyleEditor_typeof = function _typeof(obj2) {
27232
+ setupNativeStyleEditor_typeof = function _typeof2(obj2) {
27233
27233
  return typeof obj2;
27234
27234
  };
27235
27235
  } else {
27236
- setupNativeStyleEditor_typeof = function _typeof(obj2) {
27236
+ setupNativeStyleEditor_typeof = function _typeof2(obj2) {
27237
27237
  return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
27238
27238
  };
27239
27239
  }
@@ -27562,7 +27562,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
27562
27562
  } else {
27563
27563
  var lazyResolveRNStyle;
27564
27564
  var lazyNativeStyleEditorValidAttributes;
27565
- var initAfterTick = function initAfterTick() {
27565
+ var initAfterTick = function initAfterTick2() {
27566
27566
  if (bridge !== null) {
27567
27567
  setupNativeStyleEditor(bridge, agent2, lazyResolveRNStyle, lazyNativeStyleEditorValidAttributes);
27568
27568
  }
@@ -50982,15 +50982,19 @@ var SettingsSchema = exports_external.object({
50982
50982
  version: exports_external.number().default(CURRENT_VERSION),
50983
50983
  lines: exports_external.array(exports_external.array(WidgetItemSchema)).min(1).default([
50984
50984
  [
50985
- { id: "1", type: "model", color: "cyan" },
50986
- { id: "2", type: "separator" },
50987
- { id: "3", type: "context-length", color: "brightBlack" },
50988
- { id: "4", type: "separator" },
50989
- { id: "5", type: "git-branch", color: "magenta" },
50990
- { id: "6", type: "separator" },
50991
- { id: "7", type: "git-changes", color: "yellow" }
50985
+ { id: "session-usage", type: "custom-command", color: "brightBlue", commandPath: "~/.local/bin/ccstatusline-usage.sh session" },
50986
+ { id: "sep-session-weekly", type: "separator" },
50987
+ { id: "weekly-usage", type: "custom-command", color: "brightBlue", commandPath: "~/.local/bin/ccstatusline-usage.sh weekly" },
50988
+ { id: "sep-weekly-reset", type: "separator" },
50989
+ { id: "reset-timer", type: "custom-command", color: "brightBlue", commandPath: "~/.local/bin/ccstatusline-usage.sh reset" },
50990
+ { id: "sep-reset-model", type: "separator" },
50991
+ { id: "model", type: "model", color: "magenta" },
50992
+ { id: "sep-model-chatid", type: "separator" },
50993
+ { id: "chat-id", type: "claude-session-id", color: "cyan" }
50994
+ ],
50995
+ [
50996
+ { id: "context-usage", type: "custom-command", color: "blue", commandPath: "~/.local/bin/ccstatusline-context.sh" }
50992
50997
  ],
50993
- [],
50994
50998
  []
50995
50999
  ]),
50996
51000
  flexMode: FlexModeSchema.default("full-minus-40"),
@@ -51446,7 +51450,7 @@ import { execSync as execSync3 } from "child_process";
51446
51450
  import * as fs5 from "fs";
51447
51451
  import * as path4 from "path";
51448
51452
  var __dirname = "/Users/peter/Documents/Code/ccstatusline-usage/src/utils";
51449
- var PACKAGE_VERSION = "2.0.23";
51453
+ var PACKAGE_VERSION = "2.0.24";
51450
51454
  function getPackageVersion() {
51451
51455
  if (/^\d+\.\d+\.\d+/.test(PACKAGE_VERSION)) {
51452
51456
  return PACKAGE_VERSION;
@@ -57991,7 +57995,7 @@ Continue?`;
57991
57995
  bold: true,
57992
57996
  children: /* @__PURE__ */ jsx_dev_runtime17.jsxDEV(dist_default4, {
57993
57997
  name: "retro",
57994
- children: "CCStatusline Configuration"
57998
+ children: "CCStatusline Usage"
57995
57999
  }, undefined, false, undefined, this)
57996
58000
  }, undefined, false, undefined, this),
57997
58001
  /* @__PURE__ */ jsx_dev_runtime17.jsxDEV(Text, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccstatusline-usage",
3
- "version": "2.0.23",
3
+ "version": "2.0.24",
4
4
  "description": "A customizable status line formatter for Claude Code CLI",
5
5
  "module": "src/ccstatusline.ts",
6
6
  "type": "module",
@@ -59,7 +59,7 @@
59
59
  "license": "MIT",
60
60
  "repository": {
61
61
  "type": "git",
62
- "url": "git+https://github.com/sirmalloc/ccstatusline.git"
62
+ "url": "git+https://github.com/pcvelz/ccstatusline-usage.git"
63
63
  },
64
64
  "engines": {
65
65
  "node": ">=14.0.0"