@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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
- package/Xiuper-mpp-codegraph.js +240 -240
- package/kaml.js +639 -639
- package/koog-agents-agents-core.js +4606 -4606
- package/koog-agents-agents-tools.js +41 -41
- package/koog-agents-agents-utils.js +52 -52
- package/koog-http-client-http-client-core.js +4 -4
- package/koog-http-client-http-client-ktor.js +166 -166
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
- package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
- package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
- package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
- package/koog-prompt-prompt-llm.js +120 -120
- package/koog-prompt-prompt-markdown.js +30 -30
- package/koog-prompt-prompt-model.js +1055 -1055
- package/koog-prompt-prompt-structure.js +342 -342
- package/koog-utils.js +10 -10
- package/kotlin-kotlin-stdlib.js +453 -411
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +116 -116
- package/kotlin-sdk-kotlin-sdk-client.js +260 -260
- package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +532 -654
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
- package/kotlinx-io-kotlinx-io-core.js +605 -605
- package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
- package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +163 -163
- package/ktor-ktor-client-core.js +2237 -2235
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +15 -15
- package/ktor-ktor-http-cio.js +725 -725
- package/ktor-ktor-http.js +805 -805
- package/ktor-ktor-io.js +766 -766
- package/ktor-ktor-network.js +285 -285
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +130 -130
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-server-cio.js +724 -724
- package/ktor-ktor-server-core.js +1793 -1793
- package/ktor-ktor-server-sse.js +125 -125
- package/ktor-ktor-sse.js +40 -40
- package/ktor-ktor-utils.js +690 -690
- package/ktor-ktor-websockets.js +49 -49
- package/markdown.js +1561 -1561
- package/okio-parent-okio.js +368 -368
- package/package.json +1 -1
- package/snakeyaml-engine-kmp.js +2005 -2005
- package/urlencoder-urlencoder-lib.js +43 -43
- package/xiuper-mpp-core.d.ts +45 -7
- package/xiuper-mpp-core.js +22405 -18664
- package/xiuper-mpp-core.js.map +1 -1
- package/autodev-mpp-core.d.ts +0 -1312
- package/autodev-mpp-core.js +0 -86483
- package/autodev-mpp-core.js.map +0 -1
package/ktor-ktor-websockets.js
CHANGED
|
@@ -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.$_$.
|
|
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.$_$.
|
|
28
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
29
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
30
|
-
var Enum = kotlin_kotlin.$_$.
|
|
31
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
34
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
35
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
37
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
38
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
39
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
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.
|
|
81
|
+
var tmp$ret$0 = element.x5y_1;
|
|
82
82
|
destination.r2(tmp$ret$0, element);
|
|
83
83
|
}
|
|
84
|
-
tmp.
|
|
85
|
-
this.
|
|
84
|
+
tmp.y5y_1 = destination;
|
|
85
|
+
this.z5y_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
86
86
|
}
|
|
87
|
-
protoOf(Companion).
|
|
88
|
-
return this.
|
|
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.
|
|
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.
|
|
179
|
-
this.
|
|
178
|
+
this.b5z_1 = code;
|
|
179
|
+
this.c5z_1 = message;
|
|
180
180
|
}
|
|
181
|
-
protoOf(CloseReason).
|
|
182
|
-
return Companion_getInstance().
|
|
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.
|
|
186
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
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.
|
|
190
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
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.
|
|
199
|
+
if (!(this.b5z_1 === tmp0_other_with_cast.b5z_1))
|
|
200
200
|
return false;
|
|
201
|
-
if (!(this.
|
|
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.
|
|
250
|
+
var maxValue = maxElem.h5z_1;
|
|
251
251
|
do {
|
|
252
252
|
var e = iterator.r();
|
|
253
|
-
var v = e.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
330
|
-
this.
|
|
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.
|
|
374
|
-
writeText(builder, reason.
|
|
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().
|
|
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.
|
|
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.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
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.
|
|
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();
|