@xiuper/mpp-core 0.0.2 → 0.2.0

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 (65) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
  2. package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
  3. package/Xiuper-mpp-codegraph.js +240 -240
  4. package/kaml.js +639 -639
  5. package/koog-agents-agents-core.js +4606 -4606
  6. package/koog-agents-agents-tools.js +41 -41
  7. package/koog-agents-agents-utils.js +52 -52
  8. package/koog-http-client-http-client-core.js +4 -4
  9. package/koog-http-client-http-client-ktor.js +166 -166
  10. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
  11. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
  12. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
  13. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
  14. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
  15. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
  16. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
  17. package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
  18. package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
  19. package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
  20. package/koog-prompt-prompt-llm.js +120 -120
  21. package/koog-prompt-prompt-markdown.js +30 -30
  22. package/koog-prompt-prompt-model.js +1055 -1055
  23. package/koog-prompt-prompt-structure.js +342 -342
  24. package/koog-utils.js +10 -10
  25. package/kotlin-kotlin-stdlib.js +453 -411
  26. package/kotlin-kotlin-stdlib.js.map +1 -1
  27. package/kotlin-logging.js +116 -116
  28. package/kotlin-sdk-kotlin-sdk-client.js +260 -260
  29. package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
  30. package/kotlinx-atomicfu.js +5 -5
  31. package/kotlinx-coroutines-core.js +532 -654
  32. package/kotlinx-coroutines-core.js.map +1 -1
  33. package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
  34. package/kotlinx-io-kotlinx-io-core.js +605 -605
  35. package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
  36. package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
  37. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  38. package/ktor-ktor-client-content-negotiation.js +163 -163
  39. package/ktor-ktor-client-core.js +2237 -2235
  40. package/ktor-ktor-client-core.js.map +1 -1
  41. package/ktor-ktor-events.js +15 -15
  42. package/ktor-ktor-http-cio.js +725 -725
  43. package/ktor-ktor-http.js +805 -805
  44. package/ktor-ktor-io.js +766 -766
  45. package/ktor-ktor-network.js +285 -285
  46. package/ktor-ktor-serialization-kotlinx-json.js +1 -1
  47. package/ktor-ktor-serialization-kotlinx.js +130 -130
  48. package/ktor-ktor-serialization.js +68 -68
  49. package/ktor-ktor-server-cio.js +724 -724
  50. package/ktor-ktor-server-core.js +1793 -1793
  51. package/ktor-ktor-server-sse.js +125 -125
  52. package/ktor-ktor-sse.js +40 -40
  53. package/ktor-ktor-utils.js +690 -690
  54. package/ktor-ktor-websockets.js +49 -49
  55. package/markdown.js +1561 -1561
  56. package/okio-parent-okio.js +368 -368
  57. package/package.json +1 -1
  58. package/snakeyaml-engine-kmp.js +2005 -2005
  59. package/urlencoder-urlencoder-lib.js +43 -43
  60. package/xiuper-mpp-core.d.ts +45 -7
  61. package/xiuper-mpp-core.js +22405 -18664
  62. package/xiuper-mpp-core.js.map +1 -1
  63. package/autodev-mpp-core.d.ts +0 -1312
  64. package/autodev-mpp-core.js +0 -86483
  65. package/autodev-mpp-core.js.map +0 -1
@@ -21,22 +21,22 @@
21
21
  var imul = Math.imul;
22
22
  var collectionSizeOrDefault = kotlin_kotlin.$_$.p7;
23
23
  var mapCapacity = kotlin_kotlin.$_$.v9;
24
- var coerceAtLeast = kotlin_kotlin.$_$.gf;
24
+ var coerceAtLeast = kotlin_kotlin.$_$.jf;
25
25
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.b1;
26
26
  var Unit_instance = kotlin_kotlin.$_$.h6;
27
- var protoOf = kotlin_kotlin.$_$.we;
28
- var initMetadataForCompanion = kotlin_kotlin.$_$.vd;
29
- var enumEntries = kotlin_kotlin.$_$.vc;
30
- var Enum = kotlin_kotlin.$_$.mk;
31
- var initMetadataForClass = kotlin_kotlin.$_$.ud;
27
+ var protoOf = kotlin_kotlin.$_$.ze;
28
+ var initMetadataForCompanion = kotlin_kotlin.$_$.yd;
29
+ var enumEntries = kotlin_kotlin.$_$.yc;
30
+ var Enum = kotlin_kotlin.$_$.qk;
31
+ var initMetadataForClass = kotlin_kotlin.$_$.xd;
32
32
  var VOID = kotlin_kotlin.$_$.h;
33
- var toString = kotlin_kotlin.$_$.af;
34
- var getStringHashCode = kotlin_kotlin.$_$.sd;
35
- var THROW_CCE = kotlin_kotlin.$_$.zk;
36
- var initMetadataForObject = kotlin_kotlin.$_$.ae;
37
- var compareTo = kotlin_kotlin.$_$.kd;
38
- var ensureNotNull = kotlin_kotlin.$_$.sl;
39
- var objectCreate = kotlin_kotlin.$_$.ve;
33
+ var toString = kotlin_kotlin.$_$.df;
34
+ var getStringHashCode = kotlin_kotlin.$_$.vd;
35
+ var THROW_CCE = kotlin_kotlin.$_$.dl;
36
+ var initMetadataForObject = kotlin_kotlin.$_$.de;
37
+ var compareTo = kotlin_kotlin.$_$.nd;
38
+ var ensureNotNull = kotlin_kotlin.$_$.wl;
39
+ var objectCreate = kotlin_kotlin.$_$.ye;
40
40
  var toByteArray = kotlin_io_ktor_ktor_io.$_$.n1;
41
41
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
42
42
  var writeText = kotlin_io_ktor_ktor_io.$_$.p1;
@@ -78,14 +78,14 @@
78
78
  var _iterator__ex2g4s = this_0.p();
79
79
  while (_iterator__ex2g4s.q()) {
80
80
  var element = _iterator__ex2g4s.r();
81
- var tmp$ret$0 = element.s5z_1;
81
+ var tmp$ret$0 = element.x5y_1;
82
82
  destination.r2(tmp$ret$0, element);
83
83
  }
84
- tmp.t5z_1 = destination;
85
- this.u5z_1 = Codes_INTERNAL_ERROR_getInstance();
84
+ tmp.y5y_1 = destination;
85
+ this.z5y_1 = Codes_INTERNAL_ERROR_getInstance();
86
86
  }
87
- protoOf(Companion).v5z = function (code) {
88
- return this.t5z_1.j2(code);
87
+ protoOf(Companion).a5z = function (code) {
88
+ return this.y5y_1.j2(code);
89
89
  };
90
90
  var Companion_instance;
91
91
  function Companion_getInstance() {
@@ -124,7 +124,7 @@
124
124
  var $ENTRIES;
125
125
  function Codes(name, ordinal, code) {
126
126
  Enum.call(this, name, ordinal);
127
- this.s5z_1 = code;
127
+ this.x5y_1 = code;
128
128
  }
129
129
  function Codes_NORMAL_getInstance() {
130
130
  Codes_initEntries();
@@ -175,19 +175,19 @@
175
175
  return Codes_TRY_AGAIN_LATER_instance;
176
176
  }
177
177
  function CloseReason(code, message) {
178
- this.w5z_1 = code;
179
- this.x5z_1 = message;
178
+ this.b5z_1 = code;
179
+ this.c5z_1 = message;
180
180
  }
181
- protoOf(CloseReason).y5z = function () {
182
- return Companion_getInstance().v5z(this.w5z_1);
181
+ protoOf(CloseReason).d5z = function () {
182
+ return Companion_getInstance().a5z(this.b5z_1);
183
183
  };
184
184
  protoOf(CloseReason).toString = function () {
185
- var tmp0_elvis_lhs = this.y5z();
186
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.w5z_1 : tmp0_elvis_lhs) + ', message=' + this.x5z_1 + ')';
185
+ var tmp0_elvis_lhs = this.d5z();
186
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.b5z_1 : tmp0_elvis_lhs) + ', message=' + this.c5z_1 + ')';
187
187
  };
188
188
  protoOf(CloseReason).hashCode = function () {
189
- var result = this.w5z_1;
190
- result = imul(result, 31) + getStringHashCode(this.x5z_1) | 0;
189
+ var result = this.b5z_1;
190
+ result = imul(result, 31) + getStringHashCode(this.c5z_1) | 0;
191
191
  return result;
192
192
  };
193
193
  protoOf(CloseReason).equals = function (other) {
@@ -196,9 +196,9 @@
196
196
  if (!(other instanceof CloseReason))
197
197
  return false;
198
198
  var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
199
- if (!(this.w5z_1 === tmp0_other_with_cast.w5z_1))
199
+ if (!(this.b5z_1 === tmp0_other_with_cast.b5z_1))
200
200
  return false;
201
- if (!(this.x5z_1 === tmp0_other_with_cast.x5z_1))
201
+ if (!(this.c5z_1 === tmp0_other_with_cast.c5z_1))
202
202
  return false;
203
203
  return true;
204
204
  };
@@ -247,10 +247,10 @@
247
247
  tmp$ret$0 = maxElem;
248
248
  break $l$block_0;
249
249
  }
250
- var maxValue = maxElem.c60_1;
250
+ var maxValue = maxElem.h5z_1;
251
251
  do {
252
252
  var e = iterator.r();
253
- var v = e.c60_1;
253
+ var v = e.h5z_1;
254
254
  if (compareTo(maxValue, v) < 0) {
255
255
  maxElem = e;
256
256
  maxValue = v;
@@ -259,10 +259,10 @@
259
259
  while (iterator.q());
260
260
  tmp$ret$0 = maxElem;
261
261
  }
262
- tmp.d60_1 = ensureNotNull(tmp$ret$0).c60_1;
262
+ tmp.i5z_1 = ensureNotNull(tmp$ret$0).h5z_1;
263
263
  var tmp_0 = this;
264
264
  var tmp_1 = 0;
265
- var tmp_2 = this.d60_1 + 1 | 0;
265
+ var tmp_2 = this.i5z_1 + 1 | 0;
266
266
  // Inline function 'kotlin.arrayOfNulls' call
267
267
  var tmp_3 = Array(tmp_2);
268
268
  while (tmp_1 < tmp_2) {
@@ -276,7 +276,7 @@
276
276
  var _iterator__ex2g4s = tmp0_0.p();
277
277
  while (_iterator__ex2g4s.q()) {
278
278
  var element = _iterator__ex2g4s.r();
279
- if (element.c60_1 === tmp_4) {
279
+ if (element.h5z_1 === tmp_4) {
280
280
  if (found) {
281
281
  tmp$ret$5 = null;
282
282
  break $l$block_2;
@@ -294,7 +294,7 @@
294
294
  tmp_3[tmp_4] = tmp$ret$5;
295
295
  tmp_1 = tmp_1 + 1 | 0;
296
296
  }
297
- tmp_0.e60_1 = tmp_3;
297
+ tmp_0.j5z_1 = tmp_3;
298
298
  }
299
299
  var Companion_instance_0;
300
300
  function Companion_getInstance_0() {
@@ -326,8 +326,8 @@
326
326
  var $ENTRIES_0;
327
327
  function FrameType(name, ordinal, controlFrame, opcode) {
328
328
  Enum.call(this, name, ordinal);
329
- this.b60_1 = controlFrame;
330
- this.c60_1 = opcode;
329
+ this.g5z_1 = controlFrame;
330
+ this.h5z_1 = opcode;
331
331
  }
332
332
  function FrameType_TEXT_getInstance() {
333
333
  FrameType_initEntries();
@@ -370,8 +370,8 @@
370
370
  function Close_init_$Init$(reason, $this) {
371
371
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
372
372
  var builder = new Buffer();
373
- builder.m3c(reason.w5z_1);
374
- writeText(builder, reason.x5z_1);
373
+ builder.r3b(reason.b5z_1);
374
+ writeText(builder, reason.c5z_1);
375
375
  Close_init_$Init$_0(builder, $this);
376
376
  return $this;
377
377
  }
@@ -383,7 +383,7 @@
383
383
  return $this;
384
384
  }
385
385
  function Close_init_$Init$_1($this) {
386
- Close.call($this, Companion_getInstance_1().f60_1);
386
+ Close.call($this, Companion_getInstance_1().k5z_1);
387
387
  return $this;
388
388
  }
389
389
  function Close_init_$Create$_0() {
@@ -406,7 +406,7 @@
406
406
  }
407
407
  function Companion_1() {
408
408
  Companion_instance_1 = this;
409
- this.f60_1 = new Int8Array(0);
409
+ this.k5z_1 = new Int8Array(0);
410
410
  }
411
411
  var Companion_instance_1;
412
412
  function Companion_getInstance_1() {
@@ -420,16 +420,16 @@
420
420
  rsv1 = rsv1 === VOID ? false : rsv1;
421
421
  rsv2 = rsv2 === VOID ? false : rsv2;
422
422
  rsv3 = rsv3 === VOID ? false : rsv3;
423
- this.g60_1 = fin;
424
- this.h60_1 = frameType;
425
- this.i60_1 = data;
426
- this.j60_1 = disposableHandle;
427
- this.k60_1 = rsv1;
428
- this.l60_1 = rsv2;
429
- this.m60_1 = rsv3;
423
+ this.l5z_1 = fin;
424
+ this.m5z_1 = frameType;
425
+ this.n5z_1 = data;
426
+ this.o5z_1 = disposableHandle;
427
+ this.p5z_1 = rsv1;
428
+ this.q5z_1 = rsv2;
429
+ this.r5z_1 = rsv3;
430
430
  }
431
431
  protoOf(Frame).toString = function () {
432
- return 'Frame ' + this.h60_1.toString() + ' (fin=' + this.g60_1 + ', buffer len = ' + this.i60_1.length + ')';
432
+ return 'Frame ' + this.m5z_1.toString() + ' (fin=' + this.l5z_1 + ', buffer len = ' + this.n5z_1.length + ')';
433
433
  };
434
434
  //region block: init
435
435
  NonDisposableHandle_instance = new NonDisposableHandle();