@xiuper/mpp-core 0.0.2 → 3.0.0-alpha4
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-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.$_$.
|
|
18
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
20
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
21
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
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.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
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.
|
|
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.
|
|
55
|
-
result = imul(result, 31) + (this.
|
|
56
|
-
result = imul(result, 31) + (this.
|
|
57
|
-
result = imul(result, 31) + (this.
|
|
58
|
-
result = imul(result, 31) + (this.
|
|
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.
|
|
67
|
+
if (!equals(this.k62_1, tmp0_other_with_cast.k62_1))
|
|
68
68
|
return false;
|
|
69
|
-
if (!(this.
|
|
69
|
+
if (!(this.l62_1 == tmp0_other_with_cast.l62_1))
|
|
70
70
|
return false;
|
|
71
|
-
if (!(this.
|
|
71
|
+
if (!(this.m62_1 == tmp0_other_with_cast.m62_1))
|
|
72
72
|
return false;
|
|
73
|
-
if (!equals(this.
|
|
73
|
+
if (!equals(this.n62_1, tmp0_other_with_cast.n62_1))
|
|
74
74
|
return false;
|
|
75
|
-
if (!(this.
|
|
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.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
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.
|
|
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.
|
|
96
|
-
result = imul(result, 31) + (this.
|
|
97
|
-
result = imul(result, 31) + (this.
|
|
98
|
-
result = imul(result, 31) + (this.
|
|
99
|
-
result = imul(result, 31) + (this.
|
|
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.
|
|
108
|
+
if (!(this.p62_1 == tmp0_other_with_cast.p62_1))
|
|
109
109
|
return false;
|
|
110
|
-
if (!(this.
|
|
110
|
+
if (!(this.q62_1 == tmp0_other_with_cast.q62_1))
|
|
111
111
|
return false;
|
|
112
|
-
if (!(this.
|
|
112
|
+
if (!(this.r62_1 == tmp0_other_with_cast.r62_1))
|
|
113
113
|
return false;
|
|
114
|
-
if (!equals(this.
|
|
114
|
+
if (!equals(this.s62_1, tmp0_other_with_cast.s62_1))
|
|
115
115
|
return false;
|
|
116
|
-
if (!(this.
|
|
116
|
+
if (!(this.t62_1 == tmp0_other_with_cast.t62_1))
|
|
117
117
|
return false;
|
|
118
118
|
return true;
|
|
119
119
|
};
|