@xiuper/mpp-core 0.0.2 → 1.0.1

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
package/ktor-ktor-sse.js CHANGED
@@ -14,16 +14,16 @@
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var VOID = kotlin_kotlin.$_$.h;
17
- var toString = kotlin_kotlin.$_$.gm;
18
- var protoOf = kotlin_kotlin.$_$.we;
19
- var hashCode = kotlin_kotlin.$_$.td;
20
- var getStringHashCode = kotlin_kotlin.$_$.sd;
21
- var THROW_CCE = kotlin_kotlin.$_$.zk;
22
- var equals = kotlin_kotlin.$_$.md;
23
- var initMetadataForClass = kotlin_kotlin.$_$.ud;
17
+ var toString = kotlin_kotlin.$_$.km;
18
+ var protoOf = kotlin_kotlin.$_$.ze;
19
+ var hashCode = kotlin_kotlin.$_$.wd;
20
+ var getStringHashCode = kotlin_kotlin.$_$.vd;
21
+ var THROW_CCE = kotlin_kotlin.$_$.dl;
22
+ var equals = kotlin_kotlin.$_$.pd;
23
+ var initMetadataForClass = kotlin_kotlin.$_$.xd;
24
24
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.p1;
25
25
  var Unit_instance = kotlin_kotlin.$_$.h6;
26
- var toString_0 = kotlin_kotlin.$_$.af;
26
+ var toString_0 = kotlin_kotlin.$_$.df;
27
27
  var Regex_init_$Create$ = kotlin_kotlin.$_$.m1;
28
28
  //endregion
29
29
  //region block: pre-declaration
@@ -41,21 +41,21 @@
41
41
  id = id === VOID ? null : id;
42
42
  retry = retry === VOID ? null : retry;
43
43
  comments = comments === VOID ? null : comments;
44
- this.f63_1 = data;
45
- this.g63_1 = event;
46
- this.h63_1 = id;
47
- this.i63_1 = retry;
48
- this.j63_1 = comments;
44
+ this.k62_1 = data;
45
+ this.l62_1 = event;
46
+ this.m62_1 = id;
47
+ this.n62_1 = retry;
48
+ this.o62_1 = comments;
49
49
  }
50
50
  protoOf(TypedServerSentEvent).toString = function () {
51
- return 'TypedServerSentEvent(data=' + toString(this.f63_1) + ', event=' + this.g63_1 + ', id=' + this.h63_1 + ', retry=' + toString(this.i63_1) + ', comments=' + this.j63_1 + ')';
51
+ return 'TypedServerSentEvent(data=' + toString(this.k62_1) + ', event=' + this.l62_1 + ', id=' + this.m62_1 + ', retry=' + toString(this.n62_1) + ', comments=' + this.o62_1 + ')';
52
52
  };
53
53
  protoOf(TypedServerSentEvent).hashCode = function () {
54
- var result = this.f63_1 == null ? 0 : hashCode(this.f63_1);
55
- result = imul(result, 31) + (this.g63_1 == null ? 0 : getStringHashCode(this.g63_1)) | 0;
56
- result = imul(result, 31) + (this.h63_1 == null ? 0 : getStringHashCode(this.h63_1)) | 0;
57
- result = imul(result, 31) + (this.i63_1 == null ? 0 : this.i63_1.hashCode()) | 0;
58
- result = imul(result, 31) + (this.j63_1 == null ? 0 : getStringHashCode(this.j63_1)) | 0;
54
+ var result = this.k62_1 == null ? 0 : hashCode(this.k62_1);
55
+ result = imul(result, 31) + (this.l62_1 == null ? 0 : getStringHashCode(this.l62_1)) | 0;
56
+ result = imul(result, 31) + (this.m62_1 == null ? 0 : getStringHashCode(this.m62_1)) | 0;
57
+ result = imul(result, 31) + (this.n62_1 == null ? 0 : this.n62_1.hashCode()) | 0;
58
+ result = imul(result, 31) + (this.o62_1 == null ? 0 : getStringHashCode(this.o62_1)) | 0;
59
59
  return result;
60
60
  };
61
61
  protoOf(TypedServerSentEvent).equals = function (other) {
@@ -64,15 +64,15 @@
64
64
  if (!(other instanceof TypedServerSentEvent))
65
65
  return false;
66
66
  var tmp0_other_with_cast = other instanceof TypedServerSentEvent ? other : THROW_CCE();
67
- if (!equals(this.f63_1, tmp0_other_with_cast.f63_1))
67
+ if (!equals(this.k62_1, tmp0_other_with_cast.k62_1))
68
68
  return false;
69
- if (!(this.g63_1 == tmp0_other_with_cast.g63_1))
69
+ if (!(this.l62_1 == tmp0_other_with_cast.l62_1))
70
70
  return false;
71
- if (!(this.h63_1 == tmp0_other_with_cast.h63_1))
71
+ if (!(this.m62_1 == tmp0_other_with_cast.m62_1))
72
72
  return false;
73
- if (!equals(this.i63_1, tmp0_other_with_cast.i63_1))
73
+ if (!equals(this.n62_1, tmp0_other_with_cast.n62_1))
74
74
  return false;
75
- if (!(this.j63_1 == tmp0_other_with_cast.j63_1))
75
+ if (!(this.o62_1 == tmp0_other_with_cast.o62_1))
76
76
  return false;
77
77
  return true;
78
78
  };
@@ -82,21 +82,21 @@
82
82
  id = id === VOID ? null : id;
83
83
  retry = retry === VOID ? null : retry;
84
84
  comments = comments === VOID ? null : comments;
85
- this.k63_1 = data;
86
- this.l63_1 = event;
87
- this.m63_1 = id;
88
- this.n63_1 = retry;
89
- this.o63_1 = comments;
85
+ this.p62_1 = data;
86
+ this.q62_1 = event;
87
+ this.r62_1 = id;
88
+ this.s62_1 = retry;
89
+ this.t62_1 = comments;
90
90
  }
91
91
  protoOf(ServerSentEvent).toString = function () {
92
- return eventToString(this.k63_1, this.l63_1, this.m63_1, this.n63_1, this.o63_1);
92
+ return eventToString(this.p62_1, this.q62_1, this.r62_1, this.s62_1, this.t62_1);
93
93
  };
94
94
  protoOf(ServerSentEvent).hashCode = function () {
95
- var result = this.k63_1 == null ? 0 : getStringHashCode(this.k63_1);
96
- result = imul(result, 31) + (this.l63_1 == null ? 0 : getStringHashCode(this.l63_1)) | 0;
97
- result = imul(result, 31) + (this.m63_1 == null ? 0 : getStringHashCode(this.m63_1)) | 0;
98
- result = imul(result, 31) + (this.n63_1 == null ? 0 : this.n63_1.hashCode()) | 0;
99
- result = imul(result, 31) + (this.o63_1 == null ? 0 : getStringHashCode(this.o63_1)) | 0;
95
+ var result = this.p62_1 == null ? 0 : getStringHashCode(this.p62_1);
96
+ result = imul(result, 31) + (this.q62_1 == null ? 0 : getStringHashCode(this.q62_1)) | 0;
97
+ result = imul(result, 31) + (this.r62_1 == null ? 0 : getStringHashCode(this.r62_1)) | 0;
98
+ result = imul(result, 31) + (this.s62_1 == null ? 0 : this.s62_1.hashCode()) | 0;
99
+ result = imul(result, 31) + (this.t62_1 == null ? 0 : getStringHashCode(this.t62_1)) | 0;
100
100
  return result;
101
101
  };
102
102
  protoOf(ServerSentEvent).equals = function (other) {
@@ -105,15 +105,15 @@
105
105
  if (!(other instanceof ServerSentEvent))
106
106
  return false;
107
107
  var tmp0_other_with_cast = other instanceof ServerSentEvent ? other : THROW_CCE();
108
- if (!(this.k63_1 == tmp0_other_with_cast.k63_1))
108
+ if (!(this.p62_1 == tmp0_other_with_cast.p62_1))
109
109
  return false;
110
- if (!(this.l63_1 == tmp0_other_with_cast.l63_1))
110
+ if (!(this.q62_1 == tmp0_other_with_cast.q62_1))
111
111
  return false;
112
- if (!(this.m63_1 == tmp0_other_with_cast.m63_1))
112
+ if (!(this.r62_1 == tmp0_other_with_cast.r62_1))
113
113
  return false;
114
- if (!equals(this.n63_1, tmp0_other_with_cast.n63_1))
114
+ if (!equals(this.s62_1, tmp0_other_with_cast.s62_1))
115
115
  return false;
116
- if (!(this.o63_1 == tmp0_other_with_cast.o63_1))
116
+ if (!(this.t62_1 == tmp0_other_with_cast.t62_1))
117
117
  return false;
118
118
  return true;
119
119
  };