@digipair/skill-llm 0.117.5 → 0.117.7

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/index.esm.js +215 -218
  2. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -1,3 +1,5 @@
1
+ import { snakeCase as snakeCase$1, kebabCase, camelCase as camelCase$1 } from 'case-anything/dist/index.js';
2
+
1
3
  function _mergeNamespaces(n, m) {
2
4
  m.forEach(function(e) {
3
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -22838,14 +22840,14 @@ function indent(str, spaces) {
22838
22840
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22839
22841
  // match is required
22840
22842
  if (!match) {
22841
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22843
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
22842
22844
  v: nextMatch1
22843
22845
  };
22844
22846
  }
22845
22847
  var token = match.token, offset = match.offset;
22846
22848
  i1 += offset;
22847
22849
  if (token === ' ') {
22848
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22850
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
22849
22851
  }
22850
22852
  tokens1 = _to_consumable_array$4$1(tokens1).concat([
22851
22853
  token
@@ -22864,7 +22866,7 @@ function indent(str, spaces) {
22864
22866
  if (contextKeys.some(function(el) {
22865
22867
  return el.startsWith(name);
22866
22868
  })) {
22867
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22869
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
22868
22870
  }
22869
22871
  if (dateTimeIdentifiers.some(function(el) {
22870
22872
  return el === name;
@@ -22883,9 +22885,9 @@ function indent(str, spaces) {
22883
22885
  if (dateTimeIdentifiers.some(function(el) {
22884
22886
  return el.startsWith(name);
22885
22887
  })) {
22886
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22888
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
22887
22889
  }
22888
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22890
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
22889
22891
  v: nextMatch1
22890
22892
  };
22891
22893
  };
@@ -43264,12 +43266,12 @@ function _assert_this_initialized$I(self1) {
43264
43266
  }
43265
43267
  return self1;
43266
43268
  }
43267
- function _class_call_check$$(instance, Constructor) {
43269
+ function _class_call_check$10(instance, Constructor) {
43268
43270
  if (!(instance instanceof Constructor)) {
43269
43271
  throw new TypeError("Cannot call a class as a function");
43270
43272
  }
43271
43273
  }
43272
- function _defineProperties$U(target, props) {
43274
+ function _defineProperties$V(target, props) {
43273
43275
  for(var i = 0; i < props.length; i++){
43274
43276
  var descriptor = props[i];
43275
43277
  descriptor.enumerable = descriptor.enumerable || false;
@@ -43278,8 +43280,8 @@ function _defineProperties$U(target, props) {
43278
43280
  Object.defineProperty(target, descriptor.key, descriptor);
43279
43281
  }
43280
43282
  }
43281
- function _create_class$U(Constructor, protoProps, staticProps) {
43282
- if (protoProps) _defineProperties$U(Constructor.prototype, protoProps);
43283
+ function _create_class$V(Constructor, protoProps, staticProps) {
43284
+ if (protoProps) _defineProperties$V(Constructor.prototype, protoProps);
43283
43285
  return Constructor;
43284
43286
  }
43285
43287
  function _define_property$1m(obj, key, value) {
@@ -43447,7 +43449,7 @@ var CelVisitor = /*#__PURE__*/ function(BaseCelVisitor) {
43447
43449
  _inherits$I(CelVisitor, BaseCelVisitor);
43448
43450
  var _super = _create_super$I(CelVisitor);
43449
43451
  function CelVisitor(context, functions) {
43450
- _class_call_check$$(this, CelVisitor);
43452
+ _class_call_check$10(this, CelVisitor);
43451
43453
  var _this;
43452
43454
  _this = _super.call(this);
43453
43455
  _define_property$1m(_assert_this_initialized$I(_this), "context", void 0);
@@ -43460,7 +43462,7 @@ var CelVisitor = /*#__PURE__*/ function(BaseCelVisitor) {
43460
43462
  _this.validateVisitor();
43461
43463
  return _this;
43462
43464
  }
43463
- _create_class$U(CelVisitor, [
43465
+ _create_class$V(CelVisitor, [
43464
43466
  {
43465
43467
  /**
43466
43468
  * Checks if the given identifier is a collection macro.
@@ -44211,7 +44213,10 @@ const DIGIPAIR_FUNCTIONS = {
44211
44213
  encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
44212
44214
  decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
44213
44215
  JSONparse: (value)=>JSON.parse(value),
44214
- JSONstringify: (value)=>JSON.stringify(value)
44216
+ JSONstringify: (value)=>JSON.stringify(value),
44217
+ camelCase: (value)=>camelCase$1(value),
44218
+ kebabCase: (value)=>kebabCase(value),
44219
+ snakeCase: (value)=>snakeCase$1(value)
44215
44220
  };
44216
44221
  const globalInstance = typeof window === 'undefined' ? global : window;
44217
44222
  const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__ ?? {
@@ -44718,12 +44723,12 @@ function _array_with_holes$r(arr) {
44718
44723
  function _array_without_holes$S(arr) {
44719
44724
  if (Array.isArray(arr)) return _array_like_to_array$11(arr);
44720
44725
  }
44721
- function _class_call_check$_(instance, Constructor) {
44726
+ function _class_call_check$$(instance, Constructor) {
44722
44727
  if (!(instance instanceof Constructor)) {
44723
44728
  throw new TypeError("Cannot call a class as a function");
44724
44729
  }
44725
44730
  }
44726
- function _defineProperties$T(target, props) {
44731
+ function _defineProperties$U(target, props) {
44727
44732
  for(var i = 0; i < props.length; i++){
44728
44733
  var descriptor = props[i];
44729
44734
  descriptor.enumerable = descriptor.enumerable || false;
@@ -44732,9 +44737,9 @@ function _defineProperties$T(target, props) {
44732
44737
  Object.defineProperty(target, descriptor.key, descriptor);
44733
44738
  }
44734
44739
  }
44735
- function _create_class$T(Constructor, protoProps, staticProps) {
44736
- if (protoProps) _defineProperties$T(Constructor.prototype, protoProps);
44737
- if (staticProps) _defineProperties$T(Constructor, staticProps);
44740
+ function _create_class$U(Constructor, protoProps, staticProps) {
44741
+ if (protoProps) _defineProperties$U(Constructor.prototype, protoProps);
44742
+ if (staticProps) _defineProperties$U(Constructor, staticProps);
44738
44743
  return Constructor;
44739
44744
  }
44740
44745
  function _define_property$1k(obj, key, value) {
@@ -44908,7 +44913,7 @@ var Serializable = /*#__PURE__*/ function() {
44908
44913
  for(var _len = arguments.length, _args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
44909
44914
  _args[_key - 1] = arguments[_key];
44910
44915
  }
44911
- _class_call_check$_(this, Serializable);
44916
+ _class_call_check$$(this, Serializable);
44912
44917
  _define_property$1k(this, "lc_serializable", false);
44913
44918
  _define_property$1k(this, "lc_kwargs", void 0);
44914
44919
  if (this.lc_serializable_keys !== void 0) this.lc_kwargs = Object.fromEntries(Object.entries(kwargs || {}).filter(function(param) {
@@ -44918,7 +44923,7 @@ var Serializable = /*#__PURE__*/ function() {
44918
44923
  }));
44919
44924
  else this.lc_kwargs = kwargs !== null && kwargs !== void 0 ? kwargs : {};
44920
44925
  }
44921
- _create_class$T(Serializable, [
44926
+ _create_class$U(Serializable, [
44922
44927
  {
44923
44928
  key: "lc_id",
44924
44929
  get: /**
@@ -47377,12 +47382,12 @@ function _assert_this_initialized$H(self) {
47377
47382
  }
47378
47383
  return self;
47379
47384
  }
47380
- function _class_call_check$Z(instance, Constructor) {
47385
+ function _class_call_check$_(instance, Constructor) {
47381
47386
  if (!(instance instanceof Constructor)) {
47382
47387
  throw new TypeError("Cannot call a class as a function");
47383
47388
  }
47384
47389
  }
47385
- function _defineProperties$S(target, props) {
47390
+ function _defineProperties$T(target, props) {
47386
47391
  for(var i = 0; i < props.length; i++){
47387
47392
  var descriptor = props[i];
47388
47393
  descriptor.enumerable = descriptor.enumerable || false;
@@ -47391,9 +47396,9 @@ function _defineProperties$S(target, props) {
47391
47396
  Object.defineProperty(target, descriptor.key, descriptor);
47392
47397
  }
47393
47398
  }
47394
- function _create_class$S(Constructor, protoProps, staticProps) {
47395
- if (protoProps) _defineProperties$S(Constructor.prototype, protoProps);
47396
- if (staticProps) _defineProperties$S(Constructor, staticProps);
47399
+ function _create_class$T(Constructor, protoProps, staticProps) {
47400
+ if (protoProps) _defineProperties$T(Constructor.prototype, protoProps);
47401
+ if (staticProps) _defineProperties$T(Constructor, staticProps);
47397
47402
  return Constructor;
47398
47403
  }
47399
47404
  function _define_property$1h(obj, key, value) {
@@ -47649,7 +47654,7 @@ function stringifyWithDepthLimit(obj, depthLimit) {
47649
47654
  _inherits$H(_class, Serializable);
47650
47655
  var _super = _create_super$H(_class);
47651
47656
  function _class(arg) {
47652
- _class_call_check$Z(this, _class);
47657
+ _class_call_check$_(this, _class);
47653
47658
  var _this;
47654
47659
  var fields = typeof arg === "string" || Array.isArray(arg) ? {
47655
47660
  content: arg
@@ -47686,7 +47691,7 @@ function stringifyWithDepthLimit(obj, depthLimit) {
47686
47691
  _this.id = fields.id;
47687
47692
  return _this;
47688
47693
  }
47689
- _create_class$S(_class, [
47694
+ _create_class$T(_class, [
47690
47695
  {
47691
47696
  key: "lc_aliases",
47692
47697
  get: function get() {
@@ -47922,10 +47927,10 @@ function _mergeObj(left, right) {
47922
47927
  _inherits$H(BaseMessageChunk, BaseMessage);
47923
47928
  var _super = _create_super$H(BaseMessageChunk);
47924
47929
  function BaseMessageChunk() {
47925
- _class_call_check$Z(this, BaseMessageChunk);
47930
+ _class_call_check$_(this, BaseMessageChunk);
47926
47931
  return _super.apply(this, arguments);
47927
47932
  }
47928
- _create_class$S(BaseMessageChunk, null, [
47933
+ _create_class$T(BaseMessageChunk, null, [
47929
47934
  {
47930
47935
  key: "isInstance",
47931
47936
  value: function isInstance(obj) {
@@ -48027,12 +48032,12 @@ function _assert_this_initialized$G(self) {
48027
48032
  }
48028
48033
  return self;
48029
48034
  }
48030
- function _class_call_check$Y(instance, Constructor) {
48035
+ function _class_call_check$Z(instance, Constructor) {
48031
48036
  if (!(instance instanceof Constructor)) {
48032
48037
  throw new TypeError("Cannot call a class as a function");
48033
48038
  }
48034
48039
  }
48035
- function _defineProperties$R(target, props) {
48040
+ function _defineProperties$S(target, props) {
48036
48041
  for(var i = 0; i < props.length; i++){
48037
48042
  var descriptor = props[i];
48038
48043
  descriptor.enumerable = descriptor.enumerable || false;
@@ -48041,9 +48046,9 @@ function _defineProperties$R(target, props) {
48041
48046
  Object.defineProperty(target, descriptor.key, descriptor);
48042
48047
  }
48043
48048
  }
48044
- function _create_class$R(Constructor, protoProps, staticProps) {
48045
- if (protoProps) _defineProperties$R(Constructor.prototype, protoProps);
48046
- if (staticProps) _defineProperties$R(Constructor, staticProps);
48049
+ function _create_class$S(Constructor, protoProps, staticProps) {
48050
+ if (protoProps) _defineProperties$S(Constructor.prototype, protoProps);
48051
+ if (staticProps) _defineProperties$S(Constructor, staticProps);
48047
48052
  return Constructor;
48048
48053
  }
48049
48054
  function _define_property$1f(obj, key, value) {
@@ -48207,7 +48212,7 @@ function isDirectToolOutput(x) {
48207
48212
  _inherits$G(ToolMessage, BaseMessage);
48208
48213
  var _super = _create_super$G(ToolMessage);
48209
48214
  function ToolMessage(fields, tool_call_id, name) {
48210
- _class_call_check$Y(this, ToolMessage);
48215
+ _class_call_check$Z(this, ToolMessage);
48211
48216
  var _this;
48212
48217
  var toolMessageFields = typeof fields === "string" || Array.isArray(fields) ? {
48213
48218
  content: fields,
@@ -48236,7 +48241,7 @@ function isDirectToolOutput(x) {
48236
48241
  _this.metadata = toolMessageFields.metadata;
48237
48242
  return _this;
48238
48243
  }
48239
- _create_class$R(ToolMessage, [
48244
+ _create_class$S(ToolMessage, [
48240
48245
  {
48241
48246
  key: "lc_aliases",
48242
48247
  get: function get() {
@@ -48277,7 +48282,7 @@ function isDirectToolOutput(x) {
48277
48282
  _inherits$G(ToolMessageChunk, BaseMessageChunk);
48278
48283
  var _super = _create_super$G(ToolMessageChunk);
48279
48284
  function ToolMessageChunk(fields) {
48280
- _class_call_check$Y(this, ToolMessageChunk);
48285
+ _class_call_check$Z(this, ToolMessageChunk);
48281
48286
  var _this;
48282
48287
  _this = _super.call(this, fields);
48283
48288
  _define_property$1f(_assert_this_initialized$G(_this), "type", "tool");
@@ -48298,7 +48303,7 @@ function isDirectToolOutput(x) {
48298
48303
  _this.status = fields.status;
48299
48304
  return _this;
48300
48305
  }
48301
- _create_class$R(ToolMessageChunk, [
48306
+ _create_class$S(ToolMessageChunk, [
48302
48307
  {
48303
48308
  key: "concat",
48304
48309
  value: function concat(chunk) {
@@ -49691,12 +49696,12 @@ function _assert_this_initialized$F(self) {
49691
49696
  }
49692
49697
  return self;
49693
49698
  }
49694
- function _class_call_check$X(instance, Constructor) {
49699
+ function _class_call_check$Y(instance, Constructor) {
49695
49700
  if (!(instance instanceof Constructor)) {
49696
49701
  throw new TypeError("Cannot call a class as a function");
49697
49702
  }
49698
49703
  }
49699
- function _defineProperties$Q(target, props) {
49704
+ function _defineProperties$R(target, props) {
49700
49705
  for(var i = 0; i < props.length; i++){
49701
49706
  var descriptor = props[i];
49702
49707
  descriptor.enumerable = descriptor.enumerable || false;
@@ -49705,9 +49710,9 @@ function _defineProperties$Q(target, props) {
49705
49710
  Object.defineProperty(target, descriptor.key, descriptor);
49706
49711
  }
49707
49712
  }
49708
- function _create_class$Q(Constructor, protoProps, staticProps) {
49709
- if (protoProps) _defineProperties$Q(Constructor.prototype, protoProps);
49710
- if (staticProps) _defineProperties$Q(Constructor, staticProps);
49713
+ function _create_class$R(Constructor, protoProps, staticProps) {
49714
+ if (protoProps) _defineProperties$R(Constructor.prototype, protoProps);
49715
+ if (staticProps) _defineProperties$R(Constructor, staticProps);
49711
49716
  return Constructor;
49712
49717
  }
49713
49718
  function _define_property$1d(obj, key, value) {
@@ -49892,7 +49897,7 @@ var AIMessage = /*#__PURE__*/ function(BaseMessage) {
49892
49897
  _inherits$F(AIMessage, BaseMessage);
49893
49898
  var _super = _create_super$F(AIMessage);
49894
49899
  function AIMessage(fields) {
49895
- _class_call_check$X(this, AIMessage);
49900
+ _class_call_check$Y(this, AIMessage);
49896
49901
  var _this;
49897
49902
  var initParams;
49898
49903
  if (typeof fields === "string" || Array.isArray(fields)) initParams = {
@@ -49973,7 +49978,7 @@ var AIMessage = /*#__PURE__*/ function(BaseMessage) {
49973
49978
  _this.usage_metadata = initParams.usage_metadata;
49974
49979
  return _this;
49975
49980
  }
49976
- _create_class$Q(AIMessage, [
49981
+ _create_class$R(AIMessage, [
49977
49982
  {
49978
49983
  key: "lc_aliases",
49979
49984
  get: function get() {
@@ -50054,7 +50059,7 @@ var AIMessage = /*#__PURE__*/ function(BaseMessage) {
50054
50059
  _inherits$F(AIMessageChunk, BaseMessageChunk);
50055
50060
  var _super = _create_super$F(AIMessageChunk);
50056
50061
  function AIMessageChunk(fields) {
50057
- _class_call_check$X(this, AIMessageChunk);
50062
+ _class_call_check$Y(this, AIMessageChunk);
50058
50063
  var _this;
50059
50064
  var initParams;
50060
50065
  var _fields_tool_calls;
@@ -50156,7 +50161,7 @@ var AIMessage = /*#__PURE__*/ function(BaseMessage) {
50156
50161
  _this.usage_metadata = initParams.usage_metadata;
50157
50162
  return _this;
50158
50163
  }
50159
- _create_class$Q(AIMessageChunk, [
50164
+ _create_class$R(AIMessageChunk, [
50160
50165
  {
50161
50166
  key: "lc_aliases",
50162
50167
  get: function get() {
@@ -50267,12 +50272,12 @@ function _assert_this_initialized$E(self) {
50267
50272
  }
50268
50273
  return self;
50269
50274
  }
50270
- function _class_call_check$W(instance, Constructor) {
50275
+ function _class_call_check$X(instance, Constructor) {
50271
50276
  if (!(instance instanceof Constructor)) {
50272
50277
  throw new TypeError("Cannot call a class as a function");
50273
50278
  }
50274
50279
  }
50275
- function _defineProperties$P(target, props) {
50280
+ function _defineProperties$Q(target, props) {
50276
50281
  for(var i = 0; i < props.length; i++){
50277
50282
  var descriptor = props[i];
50278
50283
  descriptor.enumerable = descriptor.enumerable || false;
@@ -50281,9 +50286,9 @@ function _defineProperties$P(target, props) {
50281
50286
  Object.defineProperty(target, descriptor.key, descriptor);
50282
50287
  }
50283
50288
  }
50284
- function _create_class$P(Constructor, protoProps, staticProps) {
50285
- if (protoProps) _defineProperties$P(Constructor.prototype, protoProps);
50286
- if (staticProps) _defineProperties$P(Constructor, staticProps);
50289
+ function _create_class$Q(Constructor, protoProps, staticProps) {
50290
+ if (protoProps) _defineProperties$Q(Constructor.prototype, protoProps);
50291
+ if (staticProps) _defineProperties$Q(Constructor, staticProps);
50287
50292
  return Constructor;
50288
50293
  }
50289
50294
  function _define_property$1c(obj, key, value) {
@@ -50423,7 +50428,7 @@ function _create_super$E(Derived) {
50423
50428
  _inherits$E(ChatMessage, BaseMessage);
50424
50429
  var _super = _create_super$E(ChatMessage);
50425
50430
  function ChatMessage(fields, role) {
50426
- _class_call_check$W(this, ChatMessage);
50431
+ _class_call_check$X(this, ChatMessage);
50427
50432
  var _this;
50428
50433
  if (typeof fields === "string" || Array.isArray(fields)) fields = {
50429
50434
  content: fields,
@@ -50435,7 +50440,7 @@ function _create_super$E(Derived) {
50435
50440
  _this.role = fields.role;
50436
50441
  return _this;
50437
50442
  }
50438
- _create_class$P(ChatMessage, [
50443
+ _create_class$Q(ChatMessage, [
50439
50444
  {
50440
50445
  key: "_printableFields",
50441
50446
  get: function get() {
@@ -50473,7 +50478,7 @@ function _create_super$E(Derived) {
50473
50478
  _inherits$E(ChatMessageChunk, BaseMessageChunk);
50474
50479
  var _super = _create_super$E(ChatMessageChunk);
50475
50480
  function ChatMessageChunk(fields, role) {
50476
- _class_call_check$W(this, ChatMessageChunk);
50481
+ _class_call_check$X(this, ChatMessageChunk);
50477
50482
  var _this;
50478
50483
  if (typeof fields === "string" || Array.isArray(fields)) fields = {
50479
50484
  content: fields,
@@ -50485,7 +50490,7 @@ function _create_super$E(Derived) {
50485
50490
  _this.role = fields.role;
50486
50491
  return _this;
50487
50492
  }
50488
- _create_class$P(ChatMessageChunk, [
50493
+ _create_class$Q(ChatMessageChunk, [
50489
50494
  {
50490
50495
  key: "concat",
50491
50496
  value: function concat(chunk) {
@@ -50541,12 +50546,12 @@ function _assert_this_initialized$D(self) {
50541
50546
  }
50542
50547
  return self;
50543
50548
  }
50544
- function _class_call_check$V(instance, Constructor) {
50549
+ function _class_call_check$W(instance, Constructor) {
50545
50550
  if (!(instance instanceof Constructor)) {
50546
50551
  throw new TypeError("Cannot call a class as a function");
50547
50552
  }
50548
50553
  }
50549
- function _defineProperties$O(target, props) {
50554
+ function _defineProperties$P(target, props) {
50550
50555
  for(var i = 0; i < props.length; i++){
50551
50556
  var descriptor = props[i];
50552
50557
  descriptor.enumerable = descriptor.enumerable || false;
@@ -50555,9 +50560,9 @@ function _defineProperties$O(target, props) {
50555
50560
  Object.defineProperty(target, descriptor.key, descriptor);
50556
50561
  }
50557
50562
  }
50558
- function _create_class$O(Constructor, protoProps, staticProps) {
50559
- if (protoProps) _defineProperties$O(Constructor.prototype, protoProps);
50560
- if (staticProps) _defineProperties$O(Constructor, staticProps);
50563
+ function _create_class$P(Constructor, protoProps, staticProps) {
50564
+ if (protoProps) _defineProperties$P(Constructor.prototype, protoProps);
50565
+ if (staticProps) _defineProperties$P(Constructor, staticProps);
50561
50566
  return Constructor;
50562
50567
  }
50563
50568
  function _define_property$1b(obj, key, value) {
@@ -50640,7 +50645,7 @@ function _create_super$D(Derived) {
50640
50645
  _inherits$D(FunctionMessage, BaseMessage);
50641
50646
  var _super = _create_super$D(FunctionMessage);
50642
50647
  function FunctionMessage(fields) {
50643
- _class_call_check$V(this, FunctionMessage);
50648
+ _class_call_check$W(this, FunctionMessage);
50644
50649
  var _this;
50645
50650
  _this = _super.call(this, fields);
50646
50651
  _define_property$1b(_assert_this_initialized$D(_this), "type", "function");
@@ -50648,7 +50653,7 @@ function _create_super$D(Derived) {
50648
50653
  _this.name = fields.name;
50649
50654
  return _this;
50650
50655
  }
50651
- _create_class$O(FunctionMessage, null, [
50656
+ _create_class$P(FunctionMessage, null, [
50652
50657
  {
50653
50658
  key: "lc_name",
50654
50659
  value: function lc_name() {
@@ -50665,13 +50670,13 @@ function _create_super$D(Derived) {
50665
50670
  _inherits$D(FunctionMessageChunk, BaseMessageChunk);
50666
50671
  var _super = _create_super$D(FunctionMessageChunk);
50667
50672
  function FunctionMessageChunk() {
50668
- _class_call_check$V(this, FunctionMessageChunk);
50673
+ _class_call_check$W(this, FunctionMessageChunk);
50669
50674
  var _this;
50670
50675
  _this = _super.apply(this, arguments);
50671
50676
  _define_property$1b(_assert_this_initialized$D(_this), "type", "function");
50672
50677
  return _this;
50673
50678
  }
50674
- _create_class$O(FunctionMessageChunk, [
50679
+ _create_class$P(FunctionMessageChunk, [
50675
50680
  {
50676
50681
  key: "concat",
50677
50682
  value: function concat(chunk) {
@@ -50709,12 +50714,12 @@ function _assert_this_initialized$C(self) {
50709
50714
  }
50710
50715
  return self;
50711
50716
  }
50712
- function _class_call_check$U(instance, Constructor) {
50717
+ function _class_call_check$V(instance, Constructor) {
50713
50718
  if (!(instance instanceof Constructor)) {
50714
50719
  throw new TypeError("Cannot call a class as a function");
50715
50720
  }
50716
50721
  }
50717
- function _defineProperties$N(target, props) {
50722
+ function _defineProperties$O(target, props) {
50718
50723
  for(var i = 0; i < props.length; i++){
50719
50724
  var descriptor = props[i];
50720
50725
  descriptor.enumerable = descriptor.enumerable || false;
@@ -50723,9 +50728,9 @@ function _defineProperties$N(target, props) {
50723
50728
  Object.defineProperty(target, descriptor.key, descriptor);
50724
50729
  }
50725
50730
  }
50726
- function _create_class$N(Constructor, protoProps, staticProps) {
50727
- if (protoProps) _defineProperties$N(Constructor.prototype, protoProps);
50728
- if (staticProps) _defineProperties$N(Constructor, staticProps);
50731
+ function _create_class$O(Constructor, protoProps, staticProps) {
50732
+ if (protoProps) _defineProperties$O(Constructor.prototype, protoProps);
50733
+ if (staticProps) _defineProperties$O(Constructor, staticProps);
50729
50734
  return Constructor;
50730
50735
  }
50731
50736
  function _define_property$1a(obj, key, value) {
@@ -50831,13 +50836,13 @@ function _create_super$C(Derived) {
50831
50836
  _inherits$C(HumanMessage, BaseMessage);
50832
50837
  var _super = _create_super$C(HumanMessage);
50833
50838
  function HumanMessage(fields) {
50834
- _class_call_check$U(this, HumanMessage);
50839
+ _class_call_check$V(this, HumanMessage);
50835
50840
  var _this;
50836
50841
  _this = _super.call(this, fields);
50837
50842
  _define_property$1a(_assert_this_initialized$C(_this), "type", "human");
50838
50843
  return _this;
50839
50844
  }
50840
- _create_class$N(HumanMessage, null, [
50845
+ _create_class$O(HumanMessage, null, [
50841
50846
  {
50842
50847
  key: "lc_name",
50843
50848
  value: function lc_name() {
@@ -50860,13 +50865,13 @@ function _create_super$C(Derived) {
50860
50865
  _inherits$C(HumanMessageChunk, BaseMessageChunk);
50861
50866
  var _super = _create_super$C(HumanMessageChunk);
50862
50867
  function HumanMessageChunk(fields) {
50863
- _class_call_check$U(this, HumanMessageChunk);
50868
+ _class_call_check$V(this, HumanMessageChunk);
50864
50869
  var _this;
50865
50870
  _this = _super.call(this, fields);
50866
50871
  _define_property$1a(_assert_this_initialized$C(_this), "type", "human");
50867
50872
  return _this;
50868
50873
  }
50869
- _create_class$N(HumanMessageChunk, [
50874
+ _create_class$O(HumanMessageChunk, [
50870
50875
  {
50871
50876
  key: "concat",
50872
50877
  value: function concat(chunk) {
@@ -50913,12 +50918,12 @@ function _assert_this_initialized$B(self) {
50913
50918
  }
50914
50919
  return self;
50915
50920
  }
50916
- function _class_call_check$T(instance, Constructor) {
50921
+ function _class_call_check$U(instance, Constructor) {
50917
50922
  if (!(instance instanceof Constructor)) {
50918
50923
  throw new TypeError("Cannot call a class as a function");
50919
50924
  }
50920
50925
  }
50921
- function _defineProperties$M(target, props) {
50926
+ function _defineProperties$N(target, props) {
50922
50927
  for(var i = 0; i < props.length; i++){
50923
50928
  var descriptor = props[i];
50924
50929
  descriptor.enumerable = descriptor.enumerable || false;
@@ -50927,9 +50932,9 @@ function _defineProperties$M(target, props) {
50927
50932
  Object.defineProperty(target, descriptor.key, descriptor);
50928
50933
  }
50929
50934
  }
50930
- function _create_class$M(Constructor, protoProps, staticProps) {
50931
- if (protoProps) _defineProperties$M(Constructor.prototype, protoProps);
50932
- if (staticProps) _defineProperties$M(Constructor, staticProps);
50935
+ function _create_class$N(Constructor, protoProps, staticProps) {
50936
+ if (protoProps) _defineProperties$N(Constructor.prototype, protoProps);
50937
+ if (staticProps) _defineProperties$N(Constructor, staticProps);
50933
50938
  return Constructor;
50934
50939
  }
50935
50940
  function _define_property$19(obj, key, value) {
@@ -51035,13 +51040,13 @@ function _create_super$B(Derived) {
51035
51040
  _inherits$B(SystemMessage, BaseMessage);
51036
51041
  var _super = _create_super$B(SystemMessage);
51037
51042
  function SystemMessage(fields) {
51038
- _class_call_check$T(this, SystemMessage);
51043
+ _class_call_check$U(this, SystemMessage);
51039
51044
  var _this;
51040
51045
  _this = _super.call(this, fields);
51041
51046
  _define_property$19(_assert_this_initialized$B(_this), "type", "system");
51042
51047
  return _this;
51043
51048
  }
51044
- _create_class$M(SystemMessage, null, [
51049
+ _create_class$N(SystemMessage, null, [
51045
51050
  {
51046
51051
  key: "lc_name",
51047
51052
  value: function lc_name() {
@@ -51064,13 +51069,13 @@ function _create_super$B(Derived) {
51064
51069
  _inherits$B(SystemMessageChunk, BaseMessageChunk);
51065
51070
  var _super = _create_super$B(SystemMessageChunk);
51066
51071
  function SystemMessageChunk(fields) {
51067
- _class_call_check$T(this, SystemMessageChunk);
51072
+ _class_call_check$U(this, SystemMessageChunk);
51068
51073
  var _this;
51069
51074
  _this = _super.call(this, fields);
51070
51075
  _define_property$19(_assert_this_initialized$B(_this), "type", "system");
51071
51076
  return _this;
51072
51077
  }
51073
- _create_class$M(SystemMessageChunk, [
51078
+ _create_class$N(SystemMessageChunk, [
51074
51079
  {
51075
51080
  key: "concat",
51076
51081
  value: function concat(chunk) {
@@ -51117,12 +51122,12 @@ function _assert_this_initialized$A(self) {
51117
51122
  }
51118
51123
  return self;
51119
51124
  }
51120
- function _class_call_check$S(instance, Constructor) {
51125
+ function _class_call_check$T(instance, Constructor) {
51121
51126
  if (!(instance instanceof Constructor)) {
51122
51127
  throw new TypeError("Cannot call a class as a function");
51123
51128
  }
51124
51129
  }
51125
- function _defineProperties$L(target, props) {
51130
+ function _defineProperties$M(target, props) {
51126
51131
  for(var i = 0; i < props.length; i++){
51127
51132
  var descriptor = props[i];
51128
51133
  descriptor.enumerable = descriptor.enumerable || false;
@@ -51131,9 +51136,9 @@ function _defineProperties$L(target, props) {
51131
51136
  Object.defineProperty(target, descriptor.key, descriptor);
51132
51137
  }
51133
51138
  }
51134
- function _create_class$L(Constructor, protoProps, staticProps) {
51135
- if (protoProps) _defineProperties$L(Constructor.prototype, protoProps);
51136
- if (staticProps) _defineProperties$L(Constructor, staticProps);
51139
+ function _create_class$M(Constructor, protoProps, staticProps) {
51140
+ if (protoProps) _defineProperties$M(Constructor.prototype, protoProps);
51141
+ if (staticProps) _defineProperties$M(Constructor, staticProps);
51137
51142
  return Constructor;
51138
51143
  }
51139
51144
  function _define_property$18(obj, key, value) {
@@ -51273,7 +51278,7 @@ function _create_super$A(Derived) {
51273
51278
  _inherits$A(RemoveMessage, BaseMessage);
51274
51279
  var _super = _create_super$A(RemoveMessage);
51275
51280
  function RemoveMessage(fields) {
51276
- _class_call_check$S(this, RemoveMessage);
51281
+ _class_call_check$T(this, RemoveMessage);
51277
51282
  var _this;
51278
51283
  _this = _super.call(this, _object_spread_props$I(_object_spread$X({}, fields), {
51279
51284
  content: []
@@ -51285,7 +51290,7 @@ function _create_super$A(Derived) {
51285
51290
  _this.id = fields.id;
51286
51291
  return _this;
51287
51292
  }
51288
- _create_class$L(RemoveMessage, [
51293
+ _create_class$M(RemoveMessage, [
51289
51294
  {
51290
51295
  key: "_printableFields",
51291
51296
  get: function get() {
@@ -51319,7 +51324,7 @@ function _assert_this_initialized$z(self) {
51319
51324
  }
51320
51325
  return self;
51321
51326
  }
51322
- function _class_call_check$R(instance, Constructor) {
51327
+ function _class_call_check$S(instance, Constructor) {
51323
51328
  if (!(instance instanceof Constructor)) {
51324
51329
  throw new TypeError("Cannot call a class as a function");
51325
51330
  }
@@ -51454,7 +51459,7 @@ function _isToolCall(toolCall) {
51454
51459
  _inherits$z(ToolInputParsingException, Error1);
51455
51460
  var _super = _create_super$z(ToolInputParsingException);
51456
51461
  function ToolInputParsingException(message, output) {
51457
- _class_call_check$R(this, ToolInputParsingException);
51462
+ _class_call_check$S(this, ToolInputParsingException);
51458
51463
  var _this;
51459
51464
  _this = _super.call(this, message);
51460
51465
  _define_property$17(_assert_this_initialized$z(_this), "output", void 0);
@@ -52148,12 +52153,12 @@ function _assert_this_initialized$y(self) {
52148
52153
  }
52149
52154
  return self;
52150
52155
  }
52151
- function _class_call_check$Q(instance, Constructor) {
52156
+ function _class_call_check$R(instance, Constructor) {
52152
52157
  if (!(instance instanceof Constructor)) {
52153
52158
  throw new TypeError("Cannot call a class as a function");
52154
52159
  }
52155
52160
  }
52156
- function _defineProperties$K(target, props) {
52161
+ function _defineProperties$L(target, props) {
52157
52162
  for(var i = 0; i < props.length; i++){
52158
52163
  var descriptor = props[i];
52159
52164
  descriptor.enumerable = descriptor.enumerable || false;
@@ -52162,9 +52167,9 @@ function _defineProperties$K(target, props) {
52162
52167
  Object.defineProperty(target, descriptor.key, descriptor);
52163
52168
  }
52164
52169
  }
52165
- function _create_class$K(Constructor, protoProps, staticProps) {
52166
- if (protoProps) _defineProperties$K(Constructor.prototype, protoProps);
52167
- if (staticProps) _defineProperties$K(Constructor, staticProps);
52170
+ function _create_class$L(Constructor, protoProps, staticProps) {
52171
+ if (protoProps) _defineProperties$L(Constructor.prototype, protoProps);
52172
+ if (staticProps) _defineProperties$L(Constructor, staticProps);
52168
52173
  return Constructor;
52169
52174
  }
52170
52175
  function _define_property$15(obj, key, value) {
@@ -52275,7 +52280,7 @@ __export(base_exports$1, {
52275
52280
  * overridden in derived classes to handle various events during the
52276
52281
  * execution of a LangChain application.
52277
52282
  */ var BaseCallbackHandlerMethodsClass = function BaseCallbackHandlerMethodsClass() {
52278
- _class_call_check$Q(this, BaseCallbackHandlerMethodsClass);
52283
+ _class_call_check$R(this, BaseCallbackHandlerMethodsClass);
52279
52284
  };
52280
52285
  function callbackHandlerPrefersStreaming(x) {
52281
52286
  return "lc_prefer_streaming" in x && x.lc_prefer_streaming;
@@ -52289,7 +52294,7 @@ function callbackHandlerPrefersStreaming(x) {
52289
52294
  _inherits$y(BaseCallbackHandler1, BaseCallbackHandlerMethodsClass);
52290
52295
  var _super = _create_super$y(BaseCallbackHandler1);
52291
52296
  function BaseCallbackHandler1(input) {
52292
- _class_call_check$Q(this, BaseCallbackHandler1);
52297
+ _class_call_check$R(this, BaseCallbackHandler1);
52293
52298
  var _this;
52294
52299
  _this = _super.call(this);
52295
52300
  _define_property$15(_assert_this_initialized$y(_this), "lc_serializable", false);
@@ -52320,7 +52325,7 @@ function callbackHandlerPrefersStreaming(x) {
52320
52325
  }
52321
52326
  return _this;
52322
52327
  }
52323
- _create_class$K(BaseCallbackHandler1, [
52328
+ _create_class$L(BaseCallbackHandler1, [
52324
52329
  {
52325
52330
  key: "lc_namespace",
52326
52331
  get: function get() {
@@ -52402,7 +52407,7 @@ function callbackHandlerPrefersStreaming(x) {
52402
52407
  _inherits$y(Handler, BaseCallbackHandler);
52403
52408
  var _super = _create_super$y(Handler);
52404
52409
  function Handler() {
52405
- _class_call_check$Q(this, Handler);
52410
+ _class_call_check$R(this, Handler);
52406
52411
  var _this;
52407
52412
  _this = _super.call(this);
52408
52413
  _define_property$15(_assert_this_initialized$y(_this), "name", v4());
@@ -53002,12 +53007,12 @@ function getOtelEnabled() {
53002
53007
  }
53003
53008
 
53004
53009
  // Should not import any OTEL packages to avoid pulling in optional deps.
53005
- function _class_call_check$P(instance, Constructor) {
53010
+ function _class_call_check$Q(instance, Constructor) {
53006
53011
  if (!(instance instanceof Constructor)) {
53007
53012
  throw new TypeError("Cannot call a class as a function");
53008
53013
  }
53009
53014
  }
53010
- function _defineProperties$J(target, props) {
53015
+ function _defineProperties$K(target, props) {
53011
53016
  for(var i = 0; i < props.length; i++){
53012
53017
  var descriptor = props[i];
53013
53018
  descriptor.enumerable = descriptor.enumerable || false;
@@ -53016,13 +53021,13 @@ function _defineProperties$J(target, props) {
53016
53021
  Object.defineProperty(target, descriptor.key, descriptor);
53017
53022
  }
53018
53023
  }
53019
- function _create_class$J(Constructor, protoProps, staticProps) {
53020
- if (protoProps) _defineProperties$J(Constructor.prototype, protoProps);
53024
+ function _create_class$K(Constructor, protoProps, staticProps) {
53025
+ if (protoProps) _defineProperties$K(Constructor.prototype, protoProps);
53021
53026
  return Constructor;
53022
53027
  }
53023
53028
  var MockTracer = /*#__PURE__*/ function() {
53024
53029
  function MockTracer() {
53025
- _class_call_check$P(this, MockTracer);
53030
+ _class_call_check$Q(this, MockTracer);
53026
53031
  Object.defineProperty(this, "hasWarned", {
53027
53032
  enumerable: true,
53028
53033
  configurable: true,
@@ -53030,7 +53035,7 @@ var MockTracer = /*#__PURE__*/ function() {
53030
53035
  value: false
53031
53036
  });
53032
53037
  }
53033
- _create_class$J(MockTracer, [
53038
+ _create_class$K(MockTracer, [
53034
53039
  {
53035
53040
  key: "startActiveSpan",
53036
53041
  value: function startActiveSpan(_name) {
@@ -53064,7 +53069,7 @@ var MockTracer = /*#__PURE__*/ function() {
53064
53069
  }();
53065
53070
  var MockOTELTrace = /*#__PURE__*/ function() {
53066
53071
  function MockOTELTrace() {
53067
- _class_call_check$P(this, MockOTELTrace);
53072
+ _class_call_check$Q(this, MockOTELTrace);
53068
53073
  Object.defineProperty(this, "mockTracer", {
53069
53074
  enumerable: true,
53070
53075
  configurable: true,
@@ -53072,7 +53077,7 @@ var MockOTELTrace = /*#__PURE__*/ function() {
53072
53077
  value: new MockTracer()
53073
53078
  });
53074
53079
  }
53075
- _create_class$J(MockOTELTrace, [
53080
+ _create_class$K(MockOTELTrace, [
53076
53081
  {
53077
53082
  key: "getTracer",
53078
53083
  value: function getTracer(_name, _version) {
@@ -53120,9 +53125,9 @@ var MockOTELTrace = /*#__PURE__*/ function() {
53120
53125
  }();
53121
53126
  var MockOTELContext = /*#__PURE__*/ function() {
53122
53127
  function MockOTELContext() {
53123
- _class_call_check$P(this, MockOTELContext);
53128
+ _class_call_check$Q(this, MockOTELContext);
53124
53129
  }
53125
- _create_class$J(MockOTELContext, [
53130
+ _create_class$K(MockOTELContext, [
53126
53131
  {
53127
53132
  key: "active",
53128
53133
  value: function active() {
@@ -53145,9 +53150,9 @@ var mockOTELTrace = new MockOTELTrace();
53145
53150
  var mockOTELContext = new MockOTELContext();
53146
53151
  var OTELProvider = /*#__PURE__*/ function() {
53147
53152
  function OTELProvider() {
53148
- _class_call_check$P(this, OTELProvider);
53153
+ _class_call_check$Q(this, OTELProvider);
53149
53154
  }
53150
- _create_class$J(OTELProvider, [
53155
+ _create_class$K(OTELProvider, [
53151
53156
  {
53152
53157
  key: "getTraceInstance",
53153
53158
  value: function getTraceInstance() {
@@ -53224,12 +53229,12 @@ function _array_like_to_array$T(arr, len) {
53224
53229
  function _array_with_holes$k(arr) {
53225
53230
  if (Array.isArray(arr)) return arr;
53226
53231
  }
53227
- function _class_call_check$O(instance, Constructor) {
53232
+ function _class_call_check$P(instance, Constructor) {
53228
53233
  if (!(instance instanceof Constructor)) {
53229
53234
  throw new TypeError("Cannot call a class as a function");
53230
53235
  }
53231
53236
  }
53232
- function _defineProperties$I(target, props) {
53237
+ function _defineProperties$J(target, props) {
53233
53238
  for(var i = 0; i < props.length; i++){
53234
53239
  var descriptor = props[i];
53235
53240
  descriptor.enumerable = descriptor.enumerable || false;
@@ -53238,8 +53243,8 @@ function _defineProperties$I(target, props) {
53238
53243
  Object.defineProperty(target, descriptor.key, descriptor);
53239
53244
  }
53240
53245
  }
53241
- function _create_class$I(Constructor, protoProps, staticProps) {
53242
- if (protoProps) _defineProperties$I(Constructor.prototype, protoProps);
53246
+ function _create_class$J(Constructor, protoProps, staticProps) {
53247
+ if (protoProps) _defineProperties$J(Constructor.prototype, protoProps);
53243
53248
  return Constructor;
53244
53249
  }
53245
53250
  function _iterable_to_array_limit$j(arr, i) {
@@ -53296,7 +53301,7 @@ function getOperationName(runType) {
53296
53301
  }
53297
53302
  var LangSmithToOTELTranslator = /*#__PURE__*/ function() {
53298
53303
  function LangSmithToOTELTranslator() {
53299
- _class_call_check$O(this, LangSmithToOTELTranslator);
53304
+ _class_call_check$P(this, LangSmithToOTELTranslator);
53300
53305
  Object.defineProperty(this, "spans", {
53301
53306
  enumerable: true,
53302
53307
  configurable: true,
@@ -53304,7 +53309,7 @@ var LangSmithToOTELTranslator = /*#__PURE__*/ function() {
53304
53309
  value: new Map()
53305
53310
  });
53306
53311
  }
53307
- _create_class$I(LangSmithToOTELTranslator, [
53312
+ _create_class$J(LangSmithToOTELTranslator, [
53308
53313
  {
53309
53314
  key: "exportBatch",
53310
53315
  value: function exportBatch(operations, otelContextMap) {
@@ -54043,7 +54048,7 @@ function _async_to_generator$E(fn) {
54043
54048
  });
54044
54049
  };
54045
54050
  }
54046
- function _class_call_check$N(instance, Constructor) {
54051
+ function _class_call_check$O(instance, Constructor) {
54047
54052
  if (!(instance instanceof Constructor)) {
54048
54053
  throw new TypeError("Cannot call a class as a function");
54049
54054
  }
@@ -54295,7 +54300,7 @@ var AbortError = /*#__PURE__*/ function(Error1) {
54295
54300
  _inherits$x(AbortError, Error1);
54296
54301
  var _super = _create_super$x(AbortError);
54297
54302
  function AbortError(message) {
54298
- _class_call_check$N(this, AbortError);
54303
+ _class_call_check$O(this, AbortError);
54299
54304
  var _this;
54300
54305
  _this = _super.call(this);
54301
54306
  if (_instanceof$n(message, Error)) {
@@ -54751,7 +54756,7 @@ function _assert_this_initialized$w(self) {
54751
54756
  }
54752
54757
  return self;
54753
54758
  }
54754
- function _class_call_check$M(instance, Constructor) {
54759
+ function _class_call_check$N(instance, Constructor) {
54755
54760
  if (!(instance instanceof Constructor)) {
54756
54761
  throw new TypeError("Cannot call a class as a function");
54757
54762
  }
@@ -54874,7 +54879,7 @@ var TimeoutError = /*#__PURE__*/ function(Error1) {
54874
54879
  _inherits$w(TimeoutError, Error1);
54875
54880
  var _super = _create_super$w(TimeoutError);
54876
54881
  function TimeoutError(message) {
54877
- _class_call_check$M(this, TimeoutError);
54882
+ _class_call_check$N(this, TimeoutError);
54878
54883
  var _this;
54879
54884
  _this = _super.call(this, message);
54880
54885
  _this.name = 'TimeoutError';
@@ -54947,12 +54952,12 @@ function lowerBound(array, value, comparator) {
54947
54952
  }
54948
54953
  lowerBound$1.default = lowerBound;
54949
54954
 
54950
- function _class_call_check$L(instance, Constructor) {
54955
+ function _class_call_check$M(instance, Constructor) {
54951
54956
  if (!(instance instanceof Constructor)) {
54952
54957
  throw new TypeError("Cannot call a class as a function");
54953
54958
  }
54954
54959
  }
54955
- function _defineProperties$H(target, props) {
54960
+ function _defineProperties$I(target, props) {
54956
54961
  for(var i = 0; i < props.length; i++){
54957
54962
  var descriptor = props[i];
54958
54963
  descriptor.enumerable = descriptor.enumerable || false;
@@ -54961,8 +54966,8 @@ function _defineProperties$H(target, props) {
54961
54966
  Object.defineProperty(target, descriptor.key, descriptor);
54962
54967
  }
54963
54968
  }
54964
- function _create_class$H(Constructor, protoProps, staticProps) {
54965
- if (protoProps) _defineProperties$H(Constructor.prototype, protoProps);
54969
+ function _create_class$I(Constructor, protoProps, staticProps) {
54970
+ if (protoProps) _defineProperties$I(Constructor.prototype, protoProps);
54966
54971
  return Constructor;
54967
54972
  }
54968
54973
  Object.defineProperty(priorityQueue, "__esModule", {
@@ -54971,10 +54976,10 @@ Object.defineProperty(priorityQueue, "__esModule", {
54971
54976
  var lower_bound_1 = lowerBound$1;
54972
54977
  var PriorityQueue = /*#__PURE__*/ function() {
54973
54978
  function PriorityQueue() {
54974
- _class_call_check$L(this, PriorityQueue);
54979
+ _class_call_check$M(this, PriorityQueue);
54975
54980
  this._queue = [];
54976
54981
  }
54977
- _create_class$H(PriorityQueue, [
54982
+ _create_class$I(PriorityQueue, [
54978
54983
  {
54979
54984
  key: "enqueue",
54980
54985
  value: function enqueue(run, options) {
@@ -55058,12 +55063,12 @@ function _async_to_generator$D(fn) {
55058
55063
  });
55059
55064
  };
55060
55065
  }
55061
- function _class_call_check$K(instance, Constructor) {
55066
+ function _class_call_check$L(instance, Constructor) {
55062
55067
  if (!(instance instanceof Constructor)) {
55063
55068
  throw new TypeError("Cannot call a class as a function");
55064
55069
  }
55065
55070
  }
55066
- function _defineProperties$G(target, props) {
55071
+ function _defineProperties$H(target, props) {
55067
55072
  for(var i = 0; i < props.length; i++){
55068
55073
  var descriptor = props[i];
55069
55074
  descriptor.enumerable = descriptor.enumerable || false;
@@ -55072,8 +55077,8 @@ function _defineProperties$G(target, props) {
55072
55077
  Object.defineProperty(target, descriptor.key, descriptor);
55073
55078
  }
55074
55079
  }
55075
- function _create_class$G(Constructor, protoProps, staticProps) {
55076
- if (protoProps) _defineProperties$G(Constructor.prototype, protoProps);
55080
+ function _create_class$H(Constructor, protoProps, staticProps) {
55081
+ if (protoProps) _defineProperties$H(Constructor.prototype, protoProps);
55077
55082
  return Constructor;
55078
55083
  }
55079
55084
  function _get_prototype_of$v(o) {
@@ -55246,7 +55251,7 @@ Promise queue with concurrency control.
55246
55251
  _inherits$v(PQueue, EventEmitter);
55247
55252
  var _super = _create_super$v(PQueue);
55248
55253
  function PQueue(options) {
55249
- _class_call_check$K(this, PQueue);
55254
+ _class_call_check$L(this, PQueue);
55250
55255
  var _this;
55251
55256
  var _a, _b, _c, _d;
55252
55257
  _this = _super.call(this);
@@ -55282,7 +55287,7 @@ Promise queue with concurrency control.
55282
55287
  _this._isPaused = options.autoStart === false;
55283
55288
  return _this;
55284
55289
  }
55285
- _create_class$G(PQueue, [
55290
+ _create_class$H(PQueue, [
55286
55291
  {
55287
55292
  key: "_doesIntervalAllowAnother",
55288
55293
  get: function get() {
@@ -55705,12 +55710,12 @@ function _async_to_generator$C(fn) {
55705
55710
  });
55706
55711
  };
55707
55712
  }
55708
- function _class_call_check$J(instance, Constructor) {
55713
+ function _class_call_check$K(instance, Constructor) {
55709
55714
  if (!(instance instanceof Constructor)) {
55710
55715
  throw new TypeError("Cannot call a class as a function");
55711
55716
  }
55712
55717
  }
55713
- function _defineProperties$F(target, props) {
55718
+ function _defineProperties$G(target, props) {
55714
55719
  for(var i = 0; i < props.length; i++){
55715
55720
  var descriptor = props[i];
55716
55721
  descriptor.enumerable = descriptor.enumerable || false;
@@ -55719,8 +55724,8 @@ function _defineProperties$F(target, props) {
55719
55724
  Object.defineProperty(target, descriptor.key, descriptor);
55720
55725
  }
55721
55726
  }
55722
- function _create_class$F(Constructor, protoProps, staticProps) {
55723
- if (protoProps) _defineProperties$F(Constructor.prototype, protoProps);
55727
+ function _create_class$G(Constructor, protoProps, staticProps) {
55728
+ if (protoProps) _defineProperties$G(Constructor.prototype, protoProps);
55724
55729
  return Constructor;
55725
55730
  }
55726
55731
  function _instanceof$l(left, right) {
@@ -55863,7 +55868,7 @@ var STATUS_RETRYABLE = [
55863
55868
  * exponential backoff between each attempt.
55864
55869
  */ var AsyncCaller$1 = /*#__PURE__*/ function() {
55865
55870
  function AsyncCaller(params) {
55866
- _class_call_check$J(this, AsyncCaller);
55871
+ _class_call_check$K(this, AsyncCaller);
55867
55872
  Object.defineProperty(this, "maxConcurrency", {
55868
55873
  enumerable: true,
55869
55874
  configurable: true,
@@ -55905,7 +55910,7 @@ var STATUS_RETRYABLE = [
55905
55910
  }
55906
55911
  this.onFailedResponseHook = params === null || params === void 0 ? void 0 : params.onFailedResponseHook;
55907
55912
  }
55908
- _create_class$F(AsyncCaller, [
55913
+ _create_class$G(AsyncCaller, [
55909
55914
  {
55910
55915
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
55911
55916
  key: "call",
@@ -56400,12 +56405,12 @@ var identifiers$1 = {
56400
56405
  rcompareIdentifiers: rcompareIdentifiers
56401
56406
  };
56402
56407
 
56403
- function _class_call_check$I(instance, Constructor) {
56408
+ function _class_call_check$J(instance, Constructor) {
56404
56409
  if (!(instance instanceof Constructor)) {
56405
56410
  throw new TypeError("Cannot call a class as a function");
56406
56411
  }
56407
56412
  }
56408
- function _defineProperties$E(target, props) {
56413
+ function _defineProperties$F(target, props) {
56409
56414
  for(var i = 0; i < props.length; i++){
56410
56415
  var descriptor = props[i];
56411
56416
  descriptor.enumerable = descriptor.enumerable || false;
@@ -56414,8 +56419,8 @@ function _defineProperties$E(target, props) {
56414
56419
  Object.defineProperty(target, descriptor.key, descriptor);
56415
56420
  }
56416
56421
  }
56417
- function _create_class$E(Constructor, protoProps, staticProps) {
56418
- if (protoProps) _defineProperties$E(Constructor.prototype, protoProps);
56422
+ function _create_class$F(Constructor, protoProps, staticProps) {
56423
+ if (protoProps) _defineProperties$F(Constructor.prototype, protoProps);
56419
56424
  return Constructor;
56420
56425
  }
56421
56426
  function _instanceof$k(left, right) {
@@ -56436,7 +56441,7 @@ var parseOptions = parseOptions_1;
56436
56441
  var compareIdentifiers = identifiers$1.compareIdentifiers;
56437
56442
  var SemVer$1 = /*#__PURE__*/ function() {
56438
56443
  function SemVer(version, options) {
56439
- _class_call_check$I(this, SemVer);
56444
+ _class_call_check$J(this, SemVer);
56440
56445
  options = parseOptions(options);
56441
56446
  if (_instanceof$k(version, SemVer)) {
56442
56447
  if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
@@ -56491,7 +56496,7 @@ var SemVer$1 = /*#__PURE__*/ function() {
56491
56496
  this.build = m[5] ? m[5].split('.') : [];
56492
56497
  this.format();
56493
56498
  }
56494
- _create_class$E(SemVer, [
56499
+ _create_class$F(SemVer, [
56495
56500
  {
56496
56501
  key: "format",
56497
56502
  value: function format() {
@@ -56849,78 +56854,70 @@ var cmp_1 = cmp;
56849
56854
 
56850
56855
  var _require = reExports; _require.safeRe; _require.t;
56851
56856
 
56852
- var lrucache;
56853
- var hasRequiredLrucache;
56854
-
56855
- function requireLrucache () {
56856
- if (hasRequiredLrucache) return lrucache;
56857
- hasRequiredLrucache = 1;
56858
- function _class_call_check(instance, Constructor) {
56859
- if (!(instance instanceof Constructor)) {
56860
- throw new TypeError("Cannot call a class as a function");
56861
- }
56862
- }
56863
- function _defineProperties(target, props) {
56864
- for(var i = 0; i < props.length; i++){
56865
- var descriptor = props[i];
56866
- descriptor.enumerable = descriptor.enumerable || false;
56867
- descriptor.configurable = true;
56868
- if ("value" in descriptor) descriptor.writable = true;
56869
- Object.defineProperty(target, descriptor.key, descriptor);
56870
- }
56871
- }
56872
- function _create_class(Constructor, protoProps, staticProps) {
56873
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
56874
- return Constructor;
56875
- }
56876
- var LRUCache = /*#__PURE__*/ function() {
56877
- function LRUCache() {
56878
- _class_call_check(this, LRUCache);
56879
- this.max = 1000;
56880
- this.map = new Map();
56881
- }
56882
- _create_class(LRUCache, [
56883
- {
56884
- key: "get",
56885
- value: function get(key) {
56886
- var value = this.map.get(key);
56887
- if (value === undefined) {
56888
- return undefined;
56889
- } else {
56890
- // Remove the key from the map and add it to the end
56891
- this.map.delete(key);
56892
- this.map.set(key, value);
56893
- return value;
56894
- }
56895
- }
56896
- },
56897
- {
56898
- key: "delete",
56899
- value: function _delete(key) {
56900
- return this.map.delete(key);
56901
- }
56902
- },
56903
- {
56904
- key: "set",
56905
- value: function set(key, value) {
56906
- var deleted = this.delete(key);
56907
- if (!deleted && value !== undefined) {
56908
- // If cache is full, delete the least recently used item
56909
- if (this.map.size >= this.max) {
56910
- var firstKey = this.map.keys().next().value;
56911
- this.delete(firstKey);
56912
- }
56913
- this.map.set(key, value);
56914
- }
56915
- return this;
56916
- }
56917
- }
56918
- ]);
56919
- return LRUCache;
56920
- }();
56921
- lrucache = LRUCache;
56922
- return lrucache;
56857
+ function _class_call_check$I(instance, Constructor) {
56858
+ if (!(instance instanceof Constructor)) {
56859
+ throw new TypeError("Cannot call a class as a function");
56860
+ }
56861
+ }
56862
+ function _defineProperties$E(target, props) {
56863
+ for(var i = 0; i < props.length; i++){
56864
+ var descriptor = props[i];
56865
+ descriptor.enumerable = descriptor.enumerable || false;
56866
+ descriptor.configurable = true;
56867
+ if ("value" in descriptor) descriptor.writable = true;
56868
+ Object.defineProperty(target, descriptor.key, descriptor);
56869
+ }
56870
+ }
56871
+ function _create_class$E(Constructor, protoProps, staticProps) {
56872
+ if (protoProps) _defineProperties$E(Constructor.prototype, protoProps);
56873
+ return Constructor;
56923
56874
  }
56875
+ var LRUCache = /*#__PURE__*/ function() {
56876
+ function LRUCache() {
56877
+ _class_call_check$I(this, LRUCache);
56878
+ this.max = 1000;
56879
+ this.map = new Map();
56880
+ }
56881
+ _create_class$E(LRUCache, [
56882
+ {
56883
+ key: "get",
56884
+ value: function get(key) {
56885
+ var value = this.map.get(key);
56886
+ if (value === undefined) {
56887
+ return undefined;
56888
+ } else {
56889
+ // Remove the key from the map and add it to the end
56890
+ this.map.delete(key);
56891
+ this.map.set(key, value);
56892
+ return value;
56893
+ }
56894
+ }
56895
+ },
56896
+ {
56897
+ key: "delete",
56898
+ value: function _delete(key) {
56899
+ return this.map.delete(key);
56900
+ }
56901
+ },
56902
+ {
56903
+ key: "set",
56904
+ value: function set(key, value) {
56905
+ var deleted = this.delete(key);
56906
+ if (!deleted && value !== undefined) {
56907
+ // If cache is full, delete the least recently used item
56908
+ if (this.map.size >= this.max) {
56909
+ var firstKey = this.map.keys().next().value;
56910
+ this.delete(firstKey);
56911
+ }
56912
+ this.map.set(key, value);
56913
+ }
56914
+ return this;
56915
+ }
56916
+ }
56917
+ ]);
56918
+ return LRUCache;
56919
+ }();
56920
+ var lrucache = LRUCache;
56924
56921
 
56925
56922
  var range;
56926
56923
  var hasRequiredRange;
@@ -57224,7 +57221,7 @@ function requireRange () {
57224
57221
  return Range;
57225
57222
  }();
57226
57223
  range = Range;
57227
- var LRU = requireLrucache();
57224
+ var LRU = lrucache;
57228
57225
  var cache = new LRU();
57229
57226
  var parseOptions = parseOptions_1;
57230
57227
  var Comparator = requireComparator();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-llm",
3
- "version": "0.117.5",
3
+ "version": "0.117.7",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",