@xiuper/mpp-core 0.0.2

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 (173) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.js +7836 -0
  2. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
  3. package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +1241 -0
  4. package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js.map +1 -0
  5. package/Xiuper-mpp-codegraph.js +1471 -0
  6. package/Xiuper-mpp-codegraph.js.map +1 -0
  7. package/annotations.js +15 -0
  8. package/annotations.js.map +1 -0
  9. package/autodev-mpp-core.d.ts +1312 -0
  10. package/autodev-mpp-core.js +86483 -0
  11. package/autodev-mpp-core.js.map +1 -0
  12. package/kaml.js +3387 -0
  13. package/kaml.js.map +1 -0
  14. package/koog-agents-agents-core.js +22927 -0
  15. package/koog-agents-agents-core.js.map +1 -0
  16. package/koog-agents-agents-ext.js +15 -0
  17. package/koog-agents-agents-ext.js.map +1 -0
  18. package/koog-agents-agents-features-agents-features-event-handler.js +15 -0
  19. package/koog-agents-agents-features-agents-features-event-handler.js.map +1 -0
  20. package/koog-agents-agents-features-agents-features-memory.js +15 -0
  21. package/koog-agents-agents-features-agents-features-memory.js.map +1 -0
  22. package/koog-agents-agents-features-agents-features-opentelemetry.js +15 -0
  23. package/koog-agents-agents-features-agents-features-opentelemetry.js.map +1 -0
  24. package/koog-agents-agents-features-agents-features-snapshot.js +15 -0
  25. package/koog-agents-agents-features-agents-features-snapshot.js.map +1 -0
  26. package/koog-agents-agents-features-agents-features-tokenizer.js +15 -0
  27. package/koog-agents-agents-features-agents-features-tokenizer.js.map +1 -0
  28. package/koog-agents-agents-features-agents-features-trace.js +15 -0
  29. package/koog-agents-agents-features-agents-features-trace.js.map +1 -0
  30. package/koog-agents-agents-mcp.js +15 -0
  31. package/koog-agents-agents-mcp.js.map +1 -0
  32. package/koog-agents-agents-tools.js +322 -0
  33. package/koog-agents-agents-tools.js.map +1 -0
  34. package/koog-agents-agents-utils.js +232 -0
  35. package/koog-agents-agents-utils.js.map +1 -0
  36. package/koog-embeddings-embeddings-base.js +15 -0
  37. package/koog-embeddings-embeddings-base.js.map +1 -0
  38. package/koog-embeddings-embeddings-llm.js +15 -0
  39. package/koog-embeddings-embeddings-llm.js.map +1 -0
  40. package/koog-http-client-http-client-core.js +57 -0
  41. package/koog-http-client-http-client-core.js.map +1 -0
  42. package/koog-http-client-http-client-ktor.js +703 -0
  43. package/koog-http-client-http-client-ktor.js.map +1 -0
  44. package/koog-koog-agents.js +15 -0
  45. package/koog-koog-agents.js.map +1 -0
  46. package/koog-prompt-prompt-cache-prompt-cache-files.js +15 -0
  47. package/koog-prompt-prompt-cache-prompt-cache-files.js.map +1 -0
  48. package/koog-prompt-prompt-cache-prompt-cache-model.js +15 -0
  49. package/koog-prompt-prompt-cache-prompt-cache-model.js.map +1 -0
  50. package/koog-prompt-prompt-cache-prompt-cache-redis.js +15 -0
  51. package/koog-prompt-prompt-cache-prompt-cache-redis.js.map +1 -0
  52. package/koog-prompt-prompt-executor-prompt-executor-cached.js +15 -0
  53. package/koog-prompt-prompt-executor-prompt-executor-cached.js.map +1 -0
  54. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +4991 -0
  55. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js.map +1 -0
  56. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-bedrock-client.js +15 -0
  57. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-bedrock-client.js.map +1 -0
  58. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-dashscope-client.js +15 -0
  59. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-dashscope-client.js.map +1 -0
  60. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +1249 -0
  61. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js.map +1 -0
  62. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +4675 -0
  63. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js.map +1 -0
  64. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-mistralai-client.js +15 -0
  65. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-mistralai-client.js.map +1 -0
  66. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +2343 -0
  67. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js.map +1 -0
  68. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +6613 -0
  69. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js.map +1 -0
  70. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +19901 -0
  71. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js.map +1 -0
  72. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +2313 -0
  73. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js.map +1 -0
  74. package/koog-prompt-prompt-executor-prompt-executor-clients.js +222 -0
  75. package/koog-prompt-prompt-executor-prompt-executor-clients.js.map +1 -0
  76. package/koog-prompt-prompt-executor-prompt-executor-llms-all.js +70 -0
  77. package/koog-prompt-prompt-executor-prompt-executor-llms-all.js.map +1 -0
  78. package/koog-prompt-prompt-executor-prompt-executor-llms.js +134 -0
  79. package/koog-prompt-prompt-executor-prompt-executor-llms.js.map +1 -0
  80. package/koog-prompt-prompt-executor-prompt-executor-model.js +42 -0
  81. package/koog-prompt-prompt-executor-prompt-executor-model.js.map +1 -0
  82. package/koog-prompt-prompt-llm.js +1710 -0
  83. package/koog-prompt-prompt-llm.js.map +1 -0
  84. package/koog-prompt-prompt-markdown.js +122 -0
  85. package/koog-prompt-prompt-markdown.js.map +1 -0
  86. package/koog-prompt-prompt-model.js +5848 -0
  87. package/koog-prompt-prompt-model.js.map +1 -0
  88. package/koog-prompt-prompt-structure.js +1513 -0
  89. package/koog-prompt-prompt-structure.js.map +1 -0
  90. package/koog-prompt-prompt-tokenizer.js +15 -0
  91. package/koog-prompt-prompt-tokenizer.js.map +1 -0
  92. package/koog-prompt-prompt-xml.js +15 -0
  93. package/koog-prompt-prompt-xml.js.map +1 -0
  94. package/koog-rag-rag-base.js +15 -0
  95. package/koog-rag-rag-base.js.map +1 -0
  96. package/koog-rag-vector-storage.js +15 -0
  97. package/koog-rag-vector-storage.js.map +1 -0
  98. package/koog-utils.js +63 -0
  99. package/koog-utils.js.map +1 -0
  100. package/kotlin-kotlin-stdlib.js +18965 -0
  101. package/kotlin-kotlin-stdlib.js.map +1 -0
  102. package/kotlin-logging.js +509 -0
  103. package/kotlin-logging.js.map +1 -0
  104. package/kotlin-sdk-kotlin-sdk-client.js +1340 -0
  105. package/kotlin-sdk-kotlin-sdk-client.js.map +1 -0
  106. package/kotlin-sdk-kotlin-sdk-core.js +15195 -0
  107. package/kotlin-sdk-kotlin-sdk-core.js.map +1 -0
  108. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  109. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  110. package/kotlinx-atomicfu.js +259 -0
  111. package/kotlinx-atomicfu.js.map +1 -0
  112. package/kotlinx-coroutines-core.js +13742 -0
  113. package/kotlinx-coroutines-core.js.map +1 -0
  114. package/kotlinx-io-kotlinx-io-bytestring.js +214 -0
  115. package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
  116. package/kotlinx-io-kotlinx-io-core.js +2892 -0
  117. package/kotlinx-io-kotlinx-io-core.js.map +1 -0
  118. package/kotlinx-serialization-kotlinx-serialization-core.js +6563 -0
  119. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  120. package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
  121. package/kotlinx-serialization-kotlinx-serialization-json-io.js.map +1 -0
  122. package/kotlinx-serialization-kotlinx-serialization-json.js +5927 -0
  123. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  124. package/ktor-ktor-client-content-negotiation.js +775 -0
  125. package/ktor-ktor-client-content-negotiation.js.map +1 -0
  126. package/ktor-ktor-client-core.js +11110 -0
  127. package/ktor-ktor-client-core.js.map +1 -0
  128. package/ktor-ktor-client-logging.js +15 -0
  129. package/ktor-ktor-client-logging.js.map +1 -0
  130. package/ktor-ktor-events.js +126 -0
  131. package/ktor-ktor-events.js.map +1 -0
  132. package/ktor-ktor-http-cio.js +4257 -0
  133. package/ktor-ktor-http-cio.js.map +1 -0
  134. package/ktor-ktor-http.js +3671 -0
  135. package/ktor-ktor-http.js.map +1 -0
  136. package/ktor-ktor-io.js +4114 -0
  137. package/ktor-ktor-io.js.map +1 -0
  138. package/ktor-ktor-network.js +1399 -0
  139. package/ktor-ktor-network.js.map +1 -0
  140. package/ktor-ktor-serialization-kotlinx-json.js +67 -0
  141. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
  142. package/ktor-ktor-serialization-kotlinx.js +881 -0
  143. package/ktor-ktor-serialization-kotlinx.js.map +1 -0
  144. package/ktor-ktor-serialization.js +388 -0
  145. package/ktor-ktor-serialization.js.map +1 -0
  146. package/ktor-ktor-server-cio.js +3735 -0
  147. package/ktor-ktor-server-cio.js.map +1 -0
  148. package/ktor-ktor-server-core.js +8696 -0
  149. package/ktor-ktor-server-core.js.map +1 -0
  150. package/ktor-ktor-server-sse.js +668 -0
  151. package/ktor-ktor-server-sse.js.map +1 -0
  152. package/ktor-ktor-server-websockets.js +15 -0
  153. package/ktor-ktor-server-websockets.js.map +1 -0
  154. package/ktor-ktor-sse.js +161 -0
  155. package/ktor-ktor-sse.js.map +1 -0
  156. package/ktor-ktor-utils.js +3589 -0
  157. package/ktor-ktor-utils.js.map +1 -0
  158. package/ktor-ktor-websocket-serialization.js +15 -0
  159. package/ktor-ktor-websocket-serialization.js.map +1 -0
  160. package/ktor-ktor-websockets.js +450 -0
  161. package/ktor-ktor-websockets.js.map +1 -0
  162. package/markdown.js +5174 -0
  163. package/markdown.js.map +1 -0
  164. package/okio-parent-okio.js +2628 -0
  165. package/okio-parent-okio.js.map +1 -0
  166. package/package.json +18 -0
  167. package/snakeyaml-engine-kmp.js +7079 -0
  168. package/snakeyaml-engine-kmp.js.map +1 -0
  169. package/urlencoder-urlencoder-lib.js +322 -0
  170. package/urlencoder-urlencoder-lib.js.map +1 -0
  171. package/xiuper-mpp-core.d.ts +1312 -0
  172. package/xiuper-mpp-core.js +86483 -0
  173. package/xiuper-mpp-core.js.map +1 -0
@@ -0,0 +1,232 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'koog-agents-agents-utils'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'koog-agents-agents-utils'.");
9
+ }
10
+ if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
11
+ throw new Error("Error loading module 'koog-agents-agents-utils'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'koog-agents-agents-utils'.");
12
+ }
13
+ globalThis['koog-agents-agents-utils'] = factory(typeof globalThis['koog-agents-agents-utils'] === 'undefined' ? {} : globalThis['koog-agents-agents-utils'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core']);
14
+ }
15
+ }(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
16
+ 'use strict';
17
+ //region block: imports
18
+ var imul = Math.imul;
19
+ var protoOf = kotlin_kotlin.$_$.we;
20
+ var initMetadataForCompanion = kotlin_kotlin.$_$.vd;
21
+ var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i3;
22
+ var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
23
+ var Unit_instance = kotlin_kotlin.$_$.h6;
24
+ var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
25
+ var THROW_CCE = kotlin_kotlin.$_$.zk;
26
+ var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
27
+ var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
28
+ var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
29
+ var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c3;
30
+ var initMetadataForObject = kotlin_kotlin.$_$.ae;
31
+ var VOID = kotlin_kotlin.$_$.h;
32
+ var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o3;
33
+ var objectCreate = kotlin_kotlin.$_$.ve;
34
+ var toString = kotlin_kotlin.$_$.gm;
35
+ var getStringHashCode = kotlin_kotlin.$_$.sd;
36
+ var equals = kotlin_kotlin.$_$.md;
37
+ var initMetadataForClass = kotlin_kotlin.$_$.ud;
38
+ //endregion
39
+ //region block: pre-declaration
40
+ initMetadataForCompanion(Companion);
41
+ initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
42
+ initMetadataForClass(ModelInfo, 'ModelInfo', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
43
+ //endregion
44
+ function Companion() {
45
+ Companion_instance = this;
46
+ this.p3e_1 = new ModelInfo('unknown', 'undefined');
47
+ }
48
+ var Companion_instance;
49
+ function Companion_getInstance() {
50
+ if (Companion_instance == null)
51
+ new Companion();
52
+ return Companion_instance;
53
+ }
54
+ function $serializer() {
55
+ $serializer_instance = this;
56
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('ai.koog.agents.utils.ModelInfo', this, 5);
57
+ tmp0_serialDesc.m16('provider', false);
58
+ tmp0_serialDesc.m16('model', false);
59
+ tmp0_serialDesc.m16('displayName', true);
60
+ tmp0_serialDesc.m16('contextLength', true);
61
+ tmp0_serialDesc.m16('maxOutputTokens', true);
62
+ this.q3e_1 = tmp0_serialDesc;
63
+ }
64
+ protoOf($serializer).r3e = function (encoder, value) {
65
+ var tmp0_desc = this.q3e_1;
66
+ var tmp1_output = encoder.wy(tmp0_desc);
67
+ tmp1_output.l10(tmp0_desc, 0, value.s3e_1);
68
+ tmp1_output.l10(tmp0_desc, 1, value.t3e_1);
69
+ if (tmp1_output.t10(tmp0_desc, 2) ? true : !(value.u3e_1 == null)) {
70
+ tmp1_output.p10(tmp0_desc, 2, StringSerializer_getInstance(), value.u3e_1);
71
+ }
72
+ if (tmp1_output.t10(tmp0_desc, 3) ? true : !(value.v3e_1 == null)) {
73
+ tmp1_output.p10(tmp0_desc, 3, LongSerializer_getInstance(), value.v3e_1);
74
+ }
75
+ if (tmp1_output.t10(tmp0_desc, 4) ? true : !(value.w3e_1 == null)) {
76
+ tmp1_output.p10(tmp0_desc, 4, LongSerializer_getInstance(), value.w3e_1);
77
+ }
78
+ tmp1_output.xy(tmp0_desc);
79
+ };
80
+ protoOf($serializer).gv = function (encoder, value) {
81
+ return this.r3e(encoder, value instanceof ModelInfo ? value : THROW_CCE());
82
+ };
83
+ protoOf($serializer).hv = function (decoder) {
84
+ var tmp0_desc = this.q3e_1;
85
+ var tmp1_flag = true;
86
+ var tmp2_index = 0;
87
+ var tmp3_bitMask0 = 0;
88
+ var tmp4_local0 = null;
89
+ var tmp5_local1 = null;
90
+ var tmp6_local2 = null;
91
+ var tmp7_local3 = null;
92
+ var tmp8_local4 = null;
93
+ var tmp9_input = decoder.wy(tmp0_desc);
94
+ if (tmp9_input.mz()) {
95
+ tmp4_local0 = tmp9_input.gz(tmp0_desc, 0);
96
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
97
+ tmp5_local1 = tmp9_input.gz(tmp0_desc, 1);
98
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
99
+ tmp6_local2 = tmp9_input.kz(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
100
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
101
+ tmp7_local3 = tmp9_input.kz(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
102
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
103
+ tmp8_local4 = tmp9_input.kz(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
104
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
105
+ } else
106
+ while (tmp1_flag) {
107
+ tmp2_index = tmp9_input.nz(tmp0_desc);
108
+ switch (tmp2_index) {
109
+ case -1:
110
+ tmp1_flag = false;
111
+ break;
112
+ case 0:
113
+ tmp4_local0 = tmp9_input.gz(tmp0_desc, 0);
114
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
115
+ break;
116
+ case 1:
117
+ tmp5_local1 = tmp9_input.gz(tmp0_desc, 1);
118
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
119
+ break;
120
+ case 2:
121
+ tmp6_local2 = tmp9_input.kz(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
122
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
123
+ break;
124
+ case 3:
125
+ tmp7_local3 = tmp9_input.kz(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
126
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
127
+ break;
128
+ case 4:
129
+ tmp8_local4 = tmp9_input.kz(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
130
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
131
+ break;
132
+ default:
133
+ throw UnknownFieldException_init_$Create$(tmp2_index);
134
+ }
135
+ }
136
+ tmp9_input.xy(tmp0_desc);
137
+ return ModelInfo_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
138
+ };
139
+ protoOf($serializer).fv = function () {
140
+ return this.q3e_1;
141
+ };
142
+ protoOf($serializer).d17 = function () {
143
+ // Inline function 'kotlin.arrayOf' call
144
+ // Inline function 'kotlin.js.unsafeCast' call
145
+ // Inline function 'kotlin.js.asDynamic' call
146
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance())];
147
+ };
148
+ var $serializer_instance;
149
+ function $serializer_getInstance() {
150
+ if ($serializer_instance == null)
151
+ new $serializer();
152
+ return $serializer_instance;
153
+ }
154
+ function ModelInfo_init_$Init$(seen0, provider, model, displayName, contextLength, maxOutputTokens, serializationConstructorMarker, $this) {
155
+ if (!(3 === (3 & seen0))) {
156
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().q3e_1);
157
+ }
158
+ $this.s3e_1 = provider;
159
+ $this.t3e_1 = model;
160
+ if (0 === (seen0 & 4))
161
+ $this.u3e_1 = null;
162
+ else
163
+ $this.u3e_1 = displayName;
164
+ if (0 === (seen0 & 8))
165
+ $this.v3e_1 = null;
166
+ else
167
+ $this.v3e_1 = contextLength;
168
+ if (0 === (seen0 & 16))
169
+ $this.w3e_1 = null;
170
+ else
171
+ $this.w3e_1 = maxOutputTokens;
172
+ return $this;
173
+ }
174
+ function ModelInfo_init_$Create$(seen0, provider, model, displayName, contextLength, maxOutputTokens, serializationConstructorMarker) {
175
+ return ModelInfo_init_$Init$(seen0, provider, model, displayName, contextLength, maxOutputTokens, serializationConstructorMarker, objectCreate(protoOf(ModelInfo)));
176
+ }
177
+ function ModelInfo(provider, model, displayName, contextLength, maxOutputTokens) {
178
+ Companion_getInstance();
179
+ displayName = displayName === VOID ? null : displayName;
180
+ contextLength = contextLength === VOID ? null : contextLength;
181
+ maxOutputTokens = maxOutputTokens === VOID ? null : maxOutputTokens;
182
+ this.s3e_1 = provider;
183
+ this.t3e_1 = model;
184
+ this.u3e_1 = displayName;
185
+ this.v3e_1 = contextLength;
186
+ this.w3e_1 = maxOutputTokens;
187
+ }
188
+ protoOf(ModelInfo).x3e = function () {
189
+ var tmp0_elvis_lhs = this.u3e_1;
190
+ return tmp0_elvis_lhs == null ? this.s3e_1 + '/' + this.t3e_1 : tmp0_elvis_lhs;
191
+ };
192
+ protoOf(ModelInfo).toString = function () {
193
+ return 'ModelInfo(provider=' + this.s3e_1 + ', model=' + this.t3e_1 + ', displayName=' + this.u3e_1 + ', contextLength=' + toString(this.v3e_1) + ', maxOutputTokens=' + toString(this.w3e_1) + ')';
194
+ };
195
+ protoOf(ModelInfo).hashCode = function () {
196
+ var result = getStringHashCode(this.s3e_1);
197
+ result = imul(result, 31) + getStringHashCode(this.t3e_1) | 0;
198
+ result = imul(result, 31) + (this.u3e_1 == null ? 0 : getStringHashCode(this.u3e_1)) | 0;
199
+ result = imul(result, 31) + (this.v3e_1 == null ? 0 : this.v3e_1.hashCode()) | 0;
200
+ result = imul(result, 31) + (this.w3e_1 == null ? 0 : this.w3e_1.hashCode()) | 0;
201
+ return result;
202
+ };
203
+ protoOf(ModelInfo).equals = function (other) {
204
+ if (this === other)
205
+ return true;
206
+ if (!(other instanceof ModelInfo))
207
+ return false;
208
+ var tmp0_other_with_cast = other instanceof ModelInfo ? other : THROW_CCE();
209
+ if (!(this.s3e_1 === tmp0_other_with_cast.s3e_1))
210
+ return false;
211
+ if (!(this.t3e_1 === tmp0_other_with_cast.t3e_1))
212
+ return false;
213
+ if (!(this.u3e_1 == tmp0_other_with_cast.u3e_1))
214
+ return false;
215
+ if (!equals(this.v3e_1, tmp0_other_with_cast.v3e_1))
216
+ return false;
217
+ if (!equals(this.w3e_1, tmp0_other_with_cast.w3e_1))
218
+ return false;
219
+ return true;
220
+ };
221
+ //region block: post-declaration
222
+ protoOf($serializer).e17 = typeParametersSerializers;
223
+ //endregion
224
+ //region block: exports
225
+ _.$_$ = _.$_$ || {};
226
+ _.$_$.a = ModelInfo;
227
+ _.$_$.b = $serializer_getInstance;
228
+ //endregion
229
+ return _;
230
+ }));
231
+
232
+ //# sourceMappingURL=koog-agents-agents-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../admin/buildAgent/work/7a80e3842dcc30f8/agents/agents-utils/src/commonMain/kotlin/ai/koog/agents/utils/ModelInfo.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["<init>","serialize","encoder","value","deserialize","childSerializers","provider","model","displayName","contextLength","maxOutputTokens","<get-modelIdentifierName>","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA4CIA,CAAAA,EAAA;A;IAMsC,2BAAqB,SAArB,EAAwC,WAAxC,C;EANtC,C;;;;;;;;;QA3BJ,gG;IAAA,sC;IAAA,mC;IAAA,wC;IAAA,0C;IAAA,4C;IAAA,4B;;sCAAAC,CAAA,O,EAAA,KAAAA,EAAA;A,QAAA,sB;QAAA,mC;IAAA,0C;IAAA,0C;IAAA,4DAI+B,IAJ/B,E;MAAA,0E;;IAAA,4DAK+B,IAL/B,E;MAAA,wE;;IAAA,4DAMiC,IANjC,E;MAAA,wE;;IAAA,yB;EAoDA,C;sCAC04HC,O,EAAkBC,K;;;qCArD55HC,CAAA,OAAAA,EAAA;A,QAAA,sB;QAAA,gB;QAAA,c;QAAA,iB;QAAA,kB;QAAA,kB;QAAA,kB;QAAA,kB;QAAA,kB;QAAA,kC;IAAA,oB,CAAA;A,MAAA,yC;MAAA,iC;MAAA,yC;MAAA,iC;MAAA,sF;MAAA,iC;MAAA,oF;MAAA,iC;MAAA,oF;MAAA,kC;IAoDA,C;aApDA,S,EAAA;A,QAAA,qC;QAAA,mB;eAAA,E;YAAA,iB;;eAAA,C;YAAA,yC;YAAA,iC;;eAAA,C;YAAA,yC;YAAA,iC;;eAAA,C;YAAA,sF;YAAA,iC;;eAAA,C;YAAA,oF;YAAA,iC;;eAAA,C;YAAA,oF;YAAA,kC;;;YAAA,qD;;MAoDA,C;IApDA,wB;IAAA,oH;EAoDA,C;;;;sCApDAC,CAAAA,EAAA;A;;;IAAA,6M;EAoDA,C;;;;;;;;IApDA,yB;MAAA,qE;;IAAA,sB;IAAA,mB;IAAA,sB;MAAA,cAI+B,I;;MAJ/B,yB;IAAA,sB;MAAA,cAK+B,I;;MAL/B,2B;IAAA,uB;MAAA,cAMiC,I;;MANjC,6B;;;;;;oBAC2BL,CACvBM,Q,EACAC,K,EACAC,W,EACAC,a,EACAC,eALuBV,EAAA;A,IAD3B,uB;yCAI+B,I;6CACA,I;iDACE,I;IAJ7B,qB;IACA,kB;IACA,wB;IACA,0B;IACA,4B;EALuB,C;oCAoBgBW,CAAAA,EAAQ;A,QAAA,2B;IAAiC,OAAjC,yBAAiB,IAAjB,CAAiB,KAAjB,GAAyB,GAAzB,GAA2B,IAA3B,CAA2B,KAA3B,iB;EAAgC,C;4CAtCnF;A,IAAA,mM;EAAA,C;4CAAA;A,QAAAC,sC;IAAA,6D;IAAA,wF;IAAA,gF;IAAA,gF;IAAA,a;EAAA,C;+CAAA;A,IAAA,mB;MAAA,W;IAAA,kC;MAAA,Y;QAAA,uE;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,W;EAAA,C;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['koog-embeddings-embeddings-base'] = factory(typeof globalThis['koog-embeddings-embeddings-base'] === 'undefined' ? {} : globalThis['koog-embeddings-embeddings-base']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=koog-embeddings-embeddings-base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['koog-embeddings-embeddings-llm'] = factory(typeof globalThis['koog-embeddings-embeddings-llm'] === 'undefined' ? {} : globalThis['koog-embeddings-embeddings-llm']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=koog-embeddings-embeddings-llm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,57 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'koog-http-client-http-client-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'koog-http-client-http-client-core'.");
9
+ }
10
+ globalThis['koog-http-client-http-client-core'] = factory(typeof globalThis['koog-http-client-http-client-core'] === 'undefined' ? {} : globalThis['koog-http-client-http-client-core'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var protoOf = kotlin_kotlin.$_$.we;
16
+ var initMetadataForCompanion = kotlin_kotlin.$_$.vd;
17
+ var VOID = kotlin_kotlin.$_$.h;
18
+ var initMetadataForInterface = kotlin_kotlin.$_$.yd;
19
+ //endregion
20
+ //region block: pre-declaration
21
+ initMetadataForCompanion(Companion);
22
+ function sse$default(path, request, requestBodyType, dataFilter, decodeStreamingResponse, processStreamingChunk, $super) {
23
+ var tmp;
24
+ if (dataFilter === VOID) {
25
+ tmp = KoogHttpClient$sse$lambda;
26
+ } else {
27
+ tmp = dataFilter;
28
+ }
29
+ dataFilter = tmp;
30
+ return $super === VOID ? this.b8a(path, request, requestBodyType, dataFilter, decodeStreamingResponse, processStreamingChunk) : $super.b8a.call(this, path, request, requestBodyType, dataFilter, decodeStreamingResponse, processStreamingChunk);
31
+ }
32
+ initMetadataForInterface(KoogHttpClient, 'KoogHttpClient', VOID, VOID, VOID, [4]);
33
+ //endregion
34
+ function Companion() {
35
+ }
36
+ var Companion_instance;
37
+ function Companion_getInstance() {
38
+ return Companion_instance;
39
+ }
40
+ function KoogHttpClient$sse$lambda(it) {
41
+ return true;
42
+ }
43
+ function KoogHttpClient() {
44
+ }
45
+ //region block: init
46
+ Companion_instance = new Companion();
47
+ //endregion
48
+ //region block: exports
49
+ _.$_$ = _.$_$ || {};
50
+ _.$_$.a = KoogHttpClient;
51
+ _.$_$.b = sse$default;
52
+ _.$_$.c = Companion_instance;
53
+ //endregion
54
+ return _;
55
+ }));
56
+
57
+ //# sourceMappingURL=koog-http-client-http-client-core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../admin/buildAgent/work/7a80e3842dcc30f8/http-client/http-client-core/src/commonMain/kotlin/ai/koog/http/client/KoogHttpClient.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":["sse$default","path","request","requestBodyType","dataFilter","decodeStreamingResponse","processStreamingChunk","<init>","KoogHttpClient$sse$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;sBAoDIA,CACIC,I,EACAC,O,EACAC,e,EACAC,U,EACAC,uB,EACAC,qB,QANJN,E;;;YAIuC,yB;;;;;;G;;;oBAUvCO,CAAAA,EAAA;A,EAAA,C;;;;;oCAVuCC,CAAA,EAAAA,EAAA;A,IAAM,OAAJ,I;EAAK,C;;;;;;;;;;;;;;"}