@koi-language/koi 1.0.6 → 1.1.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 (113) hide show
  1. package/README.md +4 -125
  2. package/examples/.build/agent-dialogue.ts +138 -0
  3. package/examples/.build/agent-dialogue.ts.map +1 -0
  4. package/examples/.build/chess.ts +77 -0
  5. package/examples/.build/chess.ts.map +1 -0
  6. package/examples/.build/delegation-test.ts +140 -0
  7. package/examples/.build/delegation-test.ts.map +1 -0
  8. package/examples/.build/dialog-demo.ts +77 -0
  9. package/examples/.build/dialog-demo.ts.map +1 -0
  10. package/examples/.build/hello-world.ts +77 -0
  11. package/examples/.build/hello-world.ts.map +1 -0
  12. package/examples/.build/lover-dialog-demo.ts +77 -0
  13. package/examples/.build/lover-dialog-demo.ts.map +1 -0
  14. package/examples/.build/package.json +3 -0
  15. package/examples/.build/registry-interactive-demo.ts +202 -0
  16. package/examples/.build/registry-interactive-demo.ts.map +1 -0
  17. package/examples/.build/registry-playbook-demo.ts +201 -0
  18. package/examples/.build/registry-playbook-demo.ts.map +1 -0
  19. package/examples/.build/tic-tac-toe.ts +77 -0
  20. package/examples/.build/tic-tac-toe.ts.map +1 -0
  21. package/examples/actions-demo.koi +8 -9
  22. package/examples/activists-dialogue.koi +75 -0
  23. package/examples/agent-dialogue.koi +66 -0
  24. package/examples/chess.koi +19 -0
  25. package/examples/counter.koi +20 -69
  26. package/examples/delegation-test.koi +16 -18
  27. package/examples/dialog-demo.koi +20 -0
  28. package/examples/hello-world.koi +7 -43
  29. package/examples/mcp-stdio-demo.koi +29 -0
  30. package/examples/memory-test.koi +49 -0
  31. package/examples/mobile-mcp-demo.koi +32 -0
  32. package/examples/multi-event-handler-test.koi +16 -18
  33. package/examples/pipeline.koi +15 -17
  34. package/examples/prompt-demo.koi +20 -0
  35. package/examples/{registry-playbook-email-compositor.koi → registry-interactive-demo.koi} +27 -27
  36. package/examples/registry-playbook-demo.koi +28 -28
  37. package/examples/skill-import-test.koi +7 -9
  38. package/examples/skills/.build/math-operations.ts +1656 -0
  39. package/examples/skills/.build/math-operations.ts.map +1 -0
  40. package/examples/skills/.build/package.json +3 -0
  41. package/examples/skills/.build/string-operations.ts +1643 -0
  42. package/examples/skills/.build/string-operations.ts.map +1 -0
  43. package/examples/skills/advanced/.build/index.ts +3223 -0
  44. package/examples/skills/advanced/.build/index.ts.map +1 -0
  45. package/examples/skills/advanced/.build/package.json +3 -0
  46. package/examples/skills/advanced/index.koi +3 -5
  47. package/examples/skills/math-operations.koi +1 -3
  48. package/examples/skills/string-operations.koi +1 -3
  49. package/examples/tic-tac-toe.koi +19 -0
  50. package/examples/utils/echo-mcp-server.js +141 -0
  51. package/examples/web-delegation-demo.koi +15 -17
  52. package/package.json +2 -1
  53. package/src/cli/koi.js +30 -41
  54. package/src/compiler/build-optimizer.js +204 -289
  55. package/src/compiler/cache-manager.js +1 -1
  56. package/src/compiler/import-resolver.js +5 -9
  57. package/src/compiler/parser.js +6072 -3476
  58. package/src/compiler/transpiler.js +346 -38
  59. package/src/grammar/koi.pegjs +302 -62
  60. package/src/runtime/actions/{format.js → call-llm.js} +37 -44
  61. package/src/runtime/actions/call-mcp.js +97 -0
  62. package/src/runtime/actions/if.js +179 -0
  63. package/src/runtime/actions/print.js +3 -1
  64. package/src/runtime/actions/prompt-user.js +75 -0
  65. package/src/runtime/actions/repeat.js +147 -0
  66. package/src/runtime/actions/shell.js +185 -0
  67. package/src/runtime/actions/while.js +205 -0
  68. package/src/runtime/agent.js +592 -178
  69. package/src/runtime/cli-display.js +26 -0
  70. package/src/runtime/cli-input.js +421 -0
  71. package/src/runtime/cli-logger.js +2 -5
  72. package/src/runtime/cli-markdown.js +61 -0
  73. package/src/runtime/cli-select.js +106 -0
  74. package/src/runtime/incremental-json-parser.js +27 -17
  75. package/src/runtime/index.js +1 -0
  76. package/src/runtime/llm-provider.js +1083 -572
  77. package/src/runtime/mcp-registry.js +141 -0
  78. package/src/runtime/mcp-stdio-client.js +334 -0
  79. package/src/runtime/planner.js +1 -1
  80. package/src/runtime/playbook-session.js +259 -0
  81. package/src/runtime/registry-backends/keyv-sqlite.js +1 -1
  82. package/src/runtime/registry-backends/local.js +1 -1
  83. package/src/runtime/router.js +22 -26
  84. package/src/runtime/runtime.js +7 -1
  85. package/examples/cache-test.koi +0 -29
  86. package/examples/calculator.koi +0 -61
  87. package/examples/clear-registry.js +0 -33
  88. package/examples/clear-registry.koi +0 -30
  89. package/examples/code-introspection-test.koi +0 -149
  90. package/examples/directory-import-test.koi +0 -84
  91. package/examples/hello-world-claude.koi +0 -52
  92. package/examples/hello.koi +0 -24
  93. package/examples/mcp-example.koi +0 -70
  94. package/examples/new-import-test.koi +0 -89
  95. package/examples/registry-demo.koi +0 -184
  96. package/examples/registry-playbook-email-compositor-2.koi +0 -140
  97. package/examples/sentiment.koi +0 -90
  98. package/examples/simple.koi +0 -48
  99. package/examples/task-chaining-demo.koi +0 -244
  100. package/examples/test-await.koi +0 -22
  101. package/examples/test-crypto-sha256.koi +0 -196
  102. package/examples/test-delegation.koi +0 -41
  103. package/examples/test-multi-team-routing.koi +0 -258
  104. package/examples/test-no-handler.koi +0 -35
  105. package/examples/test-npm-import.koi +0 -67
  106. package/examples/test-parse.koi +0 -10
  107. package/examples/test-peers-with-team.koi +0 -59
  108. package/examples/test-permissions-fail.koi +0 -20
  109. package/examples/test-permissions.koi +0 -36
  110. package/examples/test-simple-registry.koi +0 -31
  111. package/examples/test-typescript-import.koi +0 -64
  112. package/examples/test-uses-team-syntax.koi +0 -25
  113. package/examples/test-uses-team.koi +0 -31
@@ -0,0 +1,1643 @@
1
+ // Generated from string-operations.koi
2
+ // Using local runtime from KOI_RUNTIME_PATH: /Users/antonioparraga/Git/M/src/runtime
3
+ import { Agent, Team, Skill, Role, Runtime, SkillRegistry, skillSelector, registry, mcpRegistry } from 'file:///Users/antonioparraga/Git/M/src/runtime/index.js';
4
+ import { createRequire } from 'module';
5
+ const require = createRequire(import.meta.url);
6
+
7
+ globalThis.SkillRegistry = SkillRegistry;
8
+ globalThis.skillSelector = skillSelector;
9
+ globalThis.registry = registry;
10
+ globalThis.mcpRegistry = mcpRegistry;
11
+
12
+ // ============================================================
13
+ // Pre-computed Affordances (Build-time Cache)
14
+ // Generated at: 2026-02-16T16:55:33.716Z
15
+ // Total agents: 0
16
+ // Total agent affordances: 0
17
+ // Total skills: 1
18
+ // Total skill affordances: 1
19
+ // This avoids embedding API calls at runtime
20
+ // ============================================================
21
+
22
+ const CACHED_AFFORDANCES = {};
23
+
24
+ const CACHED_SKILL_AFFORDANCES = {
25
+ "StringOperations": {
26
+ "description": "Perform string operations like uppercase, lowercase, reverse, and length",
27
+ "embedding": [
28
+ 0.03450698405504227,
29
+ 0.00994955189526081,
30
+ 0.004367539659142494,
31
+ -0.028782429173588753,
32
+ -0.005935520865023136,
33
+ 0.04230697825551033,
34
+ -0.02668418549001217,
35
+ 0.01685437001287937,
36
+ 0.008062273263931274,
37
+ 0.014790336601436138,
38
+ 0.004894951358437538,
39
+ -0.01499560009688139,
40
+ -0.06084906682372093,
41
+ 0.05391573905944824,
42
+ 0.019910506904125214,
43
+ 0.010998673737049103,
44
+ -0.016364019364118576,
45
+ 0.009094289503991604,
46
+ 0.005242758430540562,
47
+ 0.02066313847899437,
48
+ 0.0014624985633417964,
49
+ -0.02914733998477459,
50
+ -0.011084199883043766,
51
+ 0.015007003210484982,
52
+ 0.04994732141494751,
53
+ 0.019146472215652466,
54
+ -0.03603505343198776,
55
+ 0.030492953956127167,
56
+ 0.04504381865262985,
57
+ -0.027117518708109856,
58
+ 0.006728063803166151,
59
+ -0.03439294919371605,
60
+ 0.006100871600210667,
61
+ -0.011061392724514008,
62
+ 0.040459610521793365,
63
+ 0.010759199969470501,
64
+ 0.02163243480026722,
65
+ -0.06687011569738388,
66
+ 0.0032785057555884123,
67
+ -0.00256721256300807,
68
+ -0.056971874088048935,
69
+ -0.02720874547958374,
70
+ -0.03918242081999779,
71
+ -0.08005255460739136,
72
+ -0.009191219694912434,
73
+ 0.025292959064245224,
74
+ 0.0016891431296244264,
75
+ 0.007207010872662067,
76
+ 0.0007554817129857838,
77
+ 0.038133297115564346,
78
+ 0.00810218509286642,
79
+ 0.015440336428582668,
80
+ -0.016078932210803032,
81
+ 0.001679165055975318,
82
+ 0.0132166538387537,
83
+ 0.007851308211684227,
84
+ 0.00012935843551531434,
85
+ -0.014185951091349125,
86
+ 0.001978506799787283,
87
+ -0.006745168939232826,
88
+ -0.015109634958207607,
89
+ -0.019340332597494125,
90
+ -0.010667972266674042,
91
+ -0.04572802782058716,
92
+ -0.080827996134758,
93
+ 0.03842978924512863,
94
+ -0.018108755350112915,
95
+ 0.05423503741621971,
96
+ 0.021210506558418274,
97
+ 0.017960509285330772,
98
+ 0.006317537743598223,
99
+ 0.011175427585840225,
100
+ 0.005812933202832937,
101
+ 0.009710078127682209,
102
+ -0.026296466588974,
103
+ 0.012920163571834564,
104
+ 0.025931553915143013,
105
+ 0.007378063164651394,
106
+ 0.03186137229204178,
107
+ 0.05916134640574455,
108
+ 0.02312629483640194,
109
+ -0.004344732500612736,
110
+ 0.039684172719717026,
111
+ -0.05254731699824333,
112
+ 0.013433320447802544,
113
+ 0.07357537001371384,
114
+ -0.05396135151386261,
115
+ -0.012783321551978588,
116
+ -0.01437981054186821,
117
+ -0.04189645126461983,
118
+ -0.0007561944657936692,
119
+ -0.038384173065423965,
120
+ -0.025749098509550095,
121
+ -0.011340778321027756,
122
+ 0.04139469936490059,
123
+ -0.006499994080513716,
124
+ 0.021028051152825356,
125
+ -0.021335944533348083,
126
+ -0.016147352755069733,
127
+ 0.02935260348021984,
128
+ 0.03728943690657616,
129
+ -0.021085068583488464,
130
+ 0.014915775507688522,
131
+ 0.012327181175351143,
132
+ -0.011471918784081936,
133
+ 0.026387695223093033,
134
+ -0.0031388127245008945,
135
+ -0.044975396245718,
136
+ -0.003939908463507891,
137
+ 0.019385946914553642,
138
+ -0.07672273367643356,
139
+ -0.0341876856982708,
140
+ -0.001258661039173603,
141
+ -0.06874028593301773,
142
+ 0.03984382376074791,
143
+ 0.025817519053816795,
144
+ 0.04962802305817604,
145
+ 0.0050374954007565975,
146
+ -0.026638571172952652,
147
+ -0.03610347583889961,
148
+ -0.009938148781657219,
149
+ 0.01989910379052162,
150
+ 0.028987692669034004,
151
+ -0.046366624534130096,
152
+ -0.036901719868183136,
153
+ -0.031382426619529724,
154
+ -0.004122364334762096,
155
+ -0.04255785420536995,
156
+ -0.01422016229480505,
157
+ -0.0011260954197496176,
158
+ -0.004464469384402037,
159
+ -0.009567534551024437,
160
+ 0.055238544940948486,
161
+ -0.04219294339418411,
162
+ -0.01055963896214962,
163
+ 0.0006318250671029091,
164
+ -0.015782441943883896,
165
+ 0.019385946914553642,
166
+ 0.012646479532122612,
167
+ 0.04867012798786163,
168
+ 0.021746471524238586,
169
+ -0.01827980764210224,
170
+ -0.019032437354326248,
171
+ 0.016694720834493637,
172
+ -0.049399953335523605,
173
+ -0.035396456718444824,
174
+ -0.049399953335523605,
175
+ 0.0101377097889781,
176
+ -0.030424533411860466,
177
+ 0.03142803907394409,
178
+ -0.03322979435324669,
179
+ -0.03628592938184738,
180
+ -0.05117889866232872,
181
+ 0.008438588120043278,
182
+ 0.006591221783310175,
183
+ 0.008957447484135628,
184
+ 0.012486830353736877,
185
+ -0.012897356413304806,
186
+ -0.025999976322054863,
187
+ -0.03186137229204178,
188
+ 0.058020997792482376,
189
+ -0.02928418293595314,
190
+ -0.02066313847899437,
191
+ 0.027026290073990822,
192
+ -0.011551743373274803,
193
+ -0.045705221593379974,
194
+ 0.025566643103957176,
195
+ -0.012464023195207119,
196
+ -0.03220347687602043,
197
+ -0.06965256482362747,
198
+ 0.010787708684802055,
199
+ -0.04976486414670944,
200
+ -0.01710524782538414,
201
+ -0.07029116153717041,
202
+ -0.03576137125492096,
203
+ 0.00806797482073307,
204
+ -0.0444280281662941,
205
+ 0.020058752968907356,
206
+ -0.03195260092616081,
207
+ 0.0014596477849408984,
208
+ 0.04559118673205376,
209
+ 0.030538568273186684,
210
+ -0.019864892587065697,
211
+ -0.040003471076488495,
212
+ 0.006471484899520874,
213
+ -0.033070143312215805,
214
+ -0.024175414815545082,
215
+ 0.01969384029507637,
216
+ -0.0204122606664896,
217
+ 0.040710486471652985,
218
+ 0.033663127571344376,
219
+ 0.06787361949682236,
220
+ -0.009510517120361328,
221
+ 0.012167531996965408,
222
+ 0.003666224656626582,
223
+ 0.0070188529789447784,
224
+ 0.061442047357559204,
225
+ -0.016375422477722168,
226
+ -0.027003483846783638,
227
+ -0.0030162252951413393,
228
+ -0.016215773299336433,
229
+ 0.015953494235873222,
230
+ 0.02203155867755413,
231
+ -0.011642971076071262,
232
+ -0.036445580422878265,
233
+ -0.005613371729850769,
234
+ -0.014539459720253944,
235
+ 0.027870148420333862,
236
+ -0.0032100847456604242,
237
+ -0.002515896689146757,
238
+ 0.03594382479786873,
239
+ 0.03582978993654251,
240
+ -0.01587366871535778,
241
+ -0.004991881083697081,
242
+ -0.008894728496670723,
243
+ -0.005582012236118317,
244
+ 0.025680677965283394,
245
+ 0.006260520312935114,
246
+ -0.008535518310964108,
247
+ -0.06294731050729752,
248
+ -0.015428932383656502,
249
+ -0.001055536326020956,
250
+ 0.04721048101782799,
251
+ 0.002182344440370798,
252
+ -0.028805235400795937,
253
+ 0.02766488678753376,
254
+ 0.024403486400842667,
255
+ 0.00233058980666101,
256
+ 0.03402803838253021,
257
+ -0.0423525907099247,
258
+ 0.05318591371178627,
259
+ -0.025612255558371544,
260
+ -0.0213131383061409,
261
+ 0.011118410155177116,
262
+ -0.008700869046151638,
263
+ -0.0028052604757249355,
264
+ 0.0020540549885481596,
265
+ 0.022248225286602974,
266
+ 0.010536831803619862,
267
+ 0.0006624719826504588,
268
+ -0.031085936352610588,
269
+ -0.001371983322314918,
270
+ -0.01039428822696209,
271
+ 0.02823506109416485,
272
+ 0.037015754729509354,
273
+ 0.05733678862452507,
274
+ 0.0017190773505717516,
275
+ -0.014699108898639679,
276
+ 0.01506402064114809,
277
+ -0.0004960521473549306,
278
+ -0.0024403485003858805,
279
+ -0.007777185644954443,
280
+ -0.02105085738003254,
281
+ -0.012452620081603527,
282
+ -0.011352182365953922,
283
+ 0.023673661053180695,
284
+ 0.003706136951223016,
285
+ 0.025429800152778625,
286
+ 0.032614003866910934,
287
+ 0.034164879471063614,
288
+ -0.04335609823465347,
289
+ -0.011283760890364647,
290
+ -0.002115348819643259,
291
+ 0.031017513945698738,
292
+ -0.03427891433238983,
293
+ 0.02741400897502899,
294
+ -0.014185951091349125,
295
+ 0.031268391758203506,
296
+ 0.0132166538387537,
297
+ -0.05345959961414337,
298
+ -0.005142977461218834,
299
+ 0.04061926156282425,
300
+ 0.021746471524238586,
301
+ 0.011568848975002766,
302
+ -0.01098156813532114,
303
+ 0.02118769846856594,
304
+ 0.052501704543828964,
305
+ 0.034164879471063614,
306
+ -0.023354364559054375,
307
+ 0.05459994822740555,
308
+ -0.03829294443130493,
309
+ -0.013741214759647846,
310
+ 0.017321912571787834,
311
+ 0.014471039175987244,
312
+ 0.004498680122196674,
313
+ 0.0163982305675745,
314
+ 0.04607013240456581,
315
+ -0.03364031761884689,
316
+ -0.033914003521203995,
317
+ 0.00949341244995594,
318
+ 0.030287690460681915,
319
+ 0.024654362350702286,
320
+ 0.028873657807707787,
321
+ -0.025019275024533272,
322
+ 0.014071916230022907,
323
+ 0.027026290073990822,
324
+ 0.037928033620119095,
325
+ -0.02798418328166008,
326
+ 0.045568376779556274,
327
+ 0.0011367861879989505,
328
+ 0.03808768466114998,
329
+ 0.01318244356662035,
330
+ -0.016295598819851875,
331
+ -0.012190339155495167,
332
+ -0.01538331899791956,
333
+ 0.04666311293840408,
334
+ -0.033001724630594254,
335
+ -0.042329784482717514,
336
+ 0.023297347128391266,
337
+ -0.04004908353090286,
338
+ 0.03129119798541069,
339
+ 0.024905240163207054,
340
+ 0.04657188430428505,
341
+ -0.01704823039472103,
342
+ -0.020549103617668152,
343
+ -0.0604841522872448,
344
+ 0.014106127433478832,
345
+ 0.007326747290790081,
346
+ 0.0064885905012488365,
347
+ -0.017515772953629494,
348
+ 0.013250865042209625,
349
+ -0.020241208374500275,
350
+ -0.0035436369944363832,
351
+ -0.02960348129272461,
352
+ 0.03509996831417084,
353
+ -0.0051828897558152676,
354
+ -0.03927364572882652,
355
+ -0.013467530719935894,
356
+ 0.021335944533348083,
357
+ -0.005034644156694412,
358
+ 0.03368593379855156,
359
+ -0.06600344926118851,
360
+ 0.0014318517642095685,
361
+ -0.02222541719675064,
362
+ 0.008142097853124142,
363
+ 0.03259119763970375,
364
+ -0.04394908249378204,
365
+ 0.022464891895651817,
366
+ -0.007389466743916273,
367
+ 0.019283315166831017,
368
+ -0.003198681166395545,
369
+ -0.036171894520521164,
370
+ 0.02247629500925541,
371
+ 0.05377889797091484,
372
+ -0.0016207221196964383,
373
+ -0.04999293386936188,
374
+ 0.00012267669080756605,
375
+ 0.00046540526091121137,
376
+ -0.028599973767995834,
377
+ 0.06094029173254967,
378
+ -0.027322780340909958,
379
+ 0.013661390170454979,
380
+ -0.02533857338130474,
381
+ 0.03603505343198776,
382
+ 0.021871909499168396,
383
+ -0.03952452540397644,
384
+ 0.03395961597561836,
385
+ -0.00738376472145319,
386
+ -0.031906988471746445,
387
+ 0.0018730245064944029,
388
+ -0.01851928047835827,
389
+ 0.003760303370654583,
390
+ 0.028554359450936317,
391
+ 0.013615776784718037,
392
+ 0.004889249801635742,
393
+ 0.002765348181128502,
394
+ 0.010439902544021606,
395
+ 0.029033305123448372,
396
+ -0.01689998432993889,
397
+ -0.023035066202282906,
398
+ 0.02896488457918167,
399
+ -0.012486830353736877,
400
+ 0.01756138727068901,
401
+ 0.00923113152384758,
402
+ 0.0076061333529651165,
403
+ 0.00015849080227781087,
404
+ -0.04451925680041313,
405
+ -0.014231565408408642,
406
+ 0.011489024385809898,
407
+ 0.06340344995260239,
408
+ 0.010953059419989586,
409
+ 0.025635063648223877,
410
+ 0.006112274713814259,
411
+ 0.027322780340909958,
412
+ 0.004920609295368195,
413
+ 0.031838566064834595,
414
+ 0.00810218509286642,
415
+ -0.023673661053180695,
416
+ 0.030105235055088997,
417
+ 0.01890699937939644,
418
+ 0.00810218509286642,
419
+ 0.020902611315250397,
420
+ -0.006887712981551886,
421
+ 0.019420156255364418,
422
+ -0.02333155646920204,
423
+ -0.0006211342988535762,
424
+ -0.0003830862697213888,
425
+ 0.053870122879743576,
426
+ -0.008900430053472519,
427
+ -0.024859625846147537,
428
+ 0.06554730981588364,
429
+ -0.01624998450279236,
430
+ -0.003073242725804448,
431
+ -0.01645524799823761,
432
+ 0.03243154659867287,
433
+ -0.0038857420440763235,
434
+ 0.011551743373274803,
435
+ 0.019488578662276268,
436
+ 0.005151530262082815,
437
+ 0.01651226542890072,
438
+ 0.03811049088835716,
439
+ 0.038908734917640686,
440
+ 0.04449645057320595,
441
+ 0.04807714745402336,
442
+ 0.06376835703849792,
443
+ 0.03037891909480095,
444
+ 0.017116650938987732,
445
+ -0.02597716823220253,
446
+ -0.021666646003723145,
447
+ 0.00803376454859972,
448
+ -0.046092938631772995,
449
+ -0.028394710272550583,
450
+ -0.03350347653031349,
451
+ -0.00974999088793993,
452
+ 0.0038714874535799026,
453
+ 0.03491751104593277,
454
+ -0.04794030636548996,
455
+ -0.0427631177008152,
456
+ -0.04210171476006508,
457
+ -0.004655478056520224,
458
+ -0.006026748567819595,
459
+ -0.021404365077614784,
460
+ 0.0006243415409699082,
461
+ -0.009014464914798737,
462
+ -0.050950828939676285,
463
+ -0.05938941612839699,
464
+ -0.026319272816181183,
465
+ 0.12708057463169098,
466
+ -0.00600964343175292,
467
+ -0.013764021918177605,
468
+ 0.014163144864141941,
469
+ 0.019214894622564316,
470
+ 0.004475872963666916,
471
+ -0.007891220971941948,
472
+ -0.007195607293397188,
473
+ -0.0031331111676990986,
474
+ -0.02513330988585949,
475
+ -0.001404768438078463,
476
+ -0.012578058056533337,
477
+ -0.04185083881020546,
478
+ -0.0012693519238382578,
479
+ -0.00017105246661230922,
480
+ -0.016033317893743515,
481
+ -0.0007326747290790081,
482
+ -0.011871041730046272,
483
+ -0.014117530547082424,
484
+ 0.011677182279527187,
485
+ -0.026798220351338387,
486
+ 0.041029784828424454,
487
+ 0.007241221144795418,
488
+ -0.047849077731370926,
489
+ -0.0023548223543912172,
490
+ 0.0015437485417351127,
491
+ -0.03934206813573837,
492
+ 0.03402803838253021,
493
+ 0.014984196051955223,
494
+ -0.04166838154196739,
495
+ 0.044222764670848846,
496
+ 0.00443881144747138,
497
+ -0.01944296434521675,
498
+ 0.005239907186478376,
499
+ 0.044405221939086914,
500
+ 0.019967524334788322,
501
+ 0.011238147504627705,
502
+ -0.0022222567349672318,
503
+ 0.03097189962863922,
504
+ 0.0007255475502461195,
505
+ -0.04702802747488022,
506
+ -0.04716486856341362,
507
+ -0.009647359140217304,
508
+ -0.040459610521793365,
509
+ -0.05897889286279678,
510
+ 0.02106226049363613,
511
+ 0.008860518224537373,
512
+ -0.045956097543239594,
513
+ 0.08908412605524063,
514
+ -0.025931553915143013,
515
+ -0.03434733673930168,
516
+ 0.030857864767313004,
517
+ -0.012623672373592854,
518
+ -0.004906354937702417,
519
+ -0.014242968522012234,
520
+ 0.034164879471063614,
521
+ -0.008997360244393349,
522
+ 0.021221909672021866,
523
+ 0.013615776784718037,
524
+ -0.0014439679216593504,
525
+ -0.033138565719127655,
526
+ 0.03785961493849754,
527
+ -0.028782429173588753,
528
+ 0.010616656392812729,
529
+ -0.0643613412976265,
530
+ 0.02545260824263096,
531
+ 0.027299974113702774,
532
+ 0.01545173954218626,
533
+ 0.03523680940270424,
534
+ 0.04794030636548996,
535
+ -0.008814903907477856,
536
+ -0.009590341709554195,
537
+ 0.006551309488713741,
538
+ 0.032796461135149,
539
+ 0.005074556451290846,
540
+ 0.012988584116101265,
541
+ -0.01473331917077303,
542
+ -0.004920609295368195,
543
+ 0.002467431826516986,
544
+ -0.0444280281662941,
545
+ 0.047256097197532654,
546
+ 0.027482429519295692,
547
+ -0.035989440977573395,
548
+ -0.009379376657307148,
549
+ 0.012566654942929745,
550
+ 0.0018601956544443965,
551
+ -0.02313769795000553,
552
+ -0.008472799323499203,
553
+ -0.07863852381706238,
554
+ -0.014778933487832546,
555
+ 0.004983328748494387,
556
+ -0.0051828897558152676,
557
+ 0.013387707062065601,
558
+ 0.04839644581079483,
559
+ -0.018758753314614296,
560
+ 0.05487363412976265,
561
+ -0.004598460625857115,
562
+ -0.015953494235873222,
563
+ 0.011768409982323647,
564
+ -0.006807888392359018,
565
+ 0.027778921648859978,
566
+ 0.018302613869309425,
567
+ -0.03516838699579239,
568
+ -0.004236399661749601,
569
+ 0.045385923236608505,
570
+ 0.034826282411813736,
571
+ -0.013592969626188278,
572
+ -0.005222802050411701,
573
+ -0.03651399910449982,
574
+ -0.02365085482597351,
575
+ 0.04198767989873886,
576
+ 0.007035958115011454,
577
+ -0.02773330733180046,
578
+ 0.040140312165021896,
579
+ 0.00936227198690176,
580
+ 0.03548768535256386,
581
+ 0.011255252175033092,
582
+ -0.018314016982913017,
583
+ 0.006032450590282679,
584
+ -0.005125872325152159,
585
+ -0.006283327471464872,
586
+ -0.0012607992393895984,
587
+ 0.0028152386657893658,
588
+ 0.04675434157252312,
589
+ 0.00016374709957744926,
590
+ 0.0423525907099247,
591
+ 0.006408765912055969,
592
+ -0.01626138761639595,
593
+ 0.0038999964017421007,
594
+ 0.028394710272550583,
595
+ -0.012167531996965408,
596
+ 0.0030789445154368877,
597
+ -0.018177175894379616,
598
+ 0.020845593884587288,
599
+ 0.008826307021081448,
600
+ -0.013912267982959747,
601
+ -0.000785415933933109,
602
+ -0.01821138709783554,
603
+ -0.041622769087553024,
604
+ -0.008917535655200481,
605
+ -0.03379996865987778,
606
+ -0.001416884595528245,
607
+ -0.040710486471652985,
608
+ 0.009424990974366665,
609
+ -0.028599973767995834,
610
+ 0.0424894317984581,
611
+ -0.0007640343392267823,
612
+ -0.053550828248262405,
613
+ 0.004632670897990465,
614
+ 0.026775414124131203,
615
+ -0.00746929133310914,
616
+ -0.0076745543628931046,
617
+ -0.010457007214426994,
618
+ 0.01133507676422596,
619
+ 0.02999120019376278,
620
+ 0.07102098315954208,
621
+ -0.006471484899520874,
622
+ -0.0368104912340641,
623
+ 0.014790336601436138,
624
+ 0.017595596611499786,
625
+ -0.03354909271001816,
626
+ -0.020389454439282417,
627
+ 0.007201308850198984,
628
+ -0.021792083978652954,
629
+ 0.016763141378760338,
630
+ 0.0202069990336895,
631
+ 0.021210506558418274,
632
+ 0.004333329387009144,
633
+ -0.01082191988825798,
634
+ 0.02298945188522339,
635
+ -0.018245596438646317,
636
+ 0.008221922442317009,
637
+ -0.015839459374547005,
638
+ -0.028987692669034004,
639
+ 0.01897541992366314,
640
+ -0.003426751121878624,
641
+ -0.011278059333562851,
642
+ -0.030675409361720085,
643
+ 0.028326289728283882,
644
+ 0.023947345092892647,
645
+ 0.025156116113066673,
646
+ -0.016375422477722168,
647
+ -0.016637703403830528,
648
+ -0.02540699392557144,
649
+ -0.012464023195207119,
650
+ 0.009596043266355991,
651
+ 0.01085613016039133,
652
+ 0.055101703852415085,
653
+ -0.0011396370828151703,
654
+ -0.005924117285758257,
655
+ 0.007594729773700237,
656
+ 0.023673661053180695,
657
+ 0.022134190425276756,
658
+ -0.01716226525604725,
659
+ 0.007372361607849598,
660
+ 0.011814024299383163,
661
+ -0.028554359450936317,
662
+ 0.010970165021717548,
663
+ 0.028782429173588753,
664
+ 0.014060513116419315,
665
+ -0.00349802291020751,
666
+ 0.012213146314024925,
667
+ -0.04404030740261078,
668
+ 0.015520161017775536,
669
+ -0.013878056779503822,
670
+ 0.009333763271570206,
671
+ -0.03167891874909401,
672
+ -0.022635944187641144,
673
+ -0.023605240508913994,
674
+ -0.02460874803364277,
675
+ 0.0025087695103138685,
676
+ -0.02837190218269825,
677
+ 0.042329784482717514,
678
+ -0.01392367109656334,
679
+ -0.02499646693468094,
680
+ 0.05145258456468582,
681
+ -0.01793770305812359,
682
+ -0.011141217313706875,
683
+ -0.018998228013515472,
684
+ 0.00597543315961957,
685
+ -0.01664910651743412,
686
+ -0.012486830353736877,
687
+ -0.012749110348522663,
688
+ 0.030036814510822296,
689
+ -0.012156128883361816,
690
+ 0.0037289438769221306,
691
+ -0.01237279549241066,
692
+ 0.0264333076775074,
693
+ 0.01143200695514679,
694
+ -0.024631556123495102,
695
+ -0.013239460997283459,
696
+ 0.026319272816181183,
697
+ 0.01703682541847229,
698
+ -0.02474559098482132,
699
+ 0.03263681009411812,
700
+ 0.043059609830379486,
701
+ 0.029785936698317528,
702
+ -0.0362631231546402,
703
+ -0.00569889834150672,
704
+ -0.016603492200374603,
705
+ -0.03587540611624718,
706
+ 0.019226297736167908,
707
+ 0.028850849717855453,
708
+ 0.018473666161298752,
709
+ 0.021461382508277893,
710
+ -0.010673673823475838,
711
+ -0.015463143587112427,
712
+ -0.00871227215975523,
713
+ 0.01716226525604725,
714
+ 0.003230040892958641,
715
+ 0.03174733743071556,
716
+ -0.002007015747949481,
717
+ -0.031336814165115356,
718
+ -0.03302453085780144,
719
+ -0.04930872470140457,
720
+ -0.03655961528420448,
721
+ 0.008911834098398685,
722
+ 0.025498220697045326,
723
+ 0.0009992314735427499,
724
+ 0.018245596438646317,
725
+ 0.05158942565321922,
726
+ 0.03856663033366203,
727
+ -0.028143832460045815,
728
+ 0.03343505784869194,
729
+ 0.0068192919716238976,
730
+ -0.02999120019376278,
731
+ -0.008142097853124142,
732
+ -0.00493771443143487,
733
+ 0.008626746013760567,
734
+ 0.02052629552781582,
735
+ 0.0061635905876755714,
736
+ 0.014778933487832546,
737
+ -0.022236820310354233,
738
+ -0.020492086187005043,
739
+ 0.020845593884587288,
740
+ -0.03635435178875923,
741
+ 0.018382439389824867,
742
+ -0.00652850279584527,
743
+ -0.017390334978699684,
744
+ 0.011409199796617031,
745
+ -0.03186137229204178,
746
+ 0.012030689977109432,
747
+ -0.03165610879659653,
748
+ 0.0019499982008710504,
749
+ 0.02013857662677765,
750
+ 0.00910569354891777,
751
+ -0.032089442014694214,
752
+ -0.012863146141171455,
753
+ 0.015976300463080406,
754
+ 0.016478054225444794,
755
+ 0.03421049565076828,
756
+ -0.03407365083694458,
757
+ 0.05615082383155823,
758
+ 0.004721048288047314,
759
+ 0.04105259105563164,
760
+ -0.016021914780139923,
761
+ 0.021233312785625458,
762
+ -0.020514892414212227,
763
+ 0.015599985606968403,
764
+ -0.027094710618257523,
765
+ -0.0018573447596281767,
766
+ -0.02229383774101734,
767
+ -0.011015779338777065,
768
+ -0.021678049117326736,
769
+ -0.02261313609778881,
770
+ -0.011477620340883732,
771
+ 0.02734558843076229,
772
+ -0.02974032238125801,
773
+ -0.001091172220185399,
774
+ -0.004093855619430542,
775
+ -0.023468399420380592,
776
+ -0.01801752671599388,
777
+ -0.021484190598130226,
778
+ -0.03635435178875923,
779
+ 0.005006135441362858,
780
+ -0.016101738438010216,
781
+ 0.011426305398344994,
782
+ 0.005462275352329016,
783
+ -0.02688944898545742,
784
+ -0.006249116733670235,
785
+ -0.030698217451572418,
786
+ 0.006882010959088802,
787
+ 0.025954362004995346,
788
+ -0.020423665642738342,
789
+ 0.03240874037146568,
790
+ -0.006380257196724415,
791
+ -0.019842086359858513,
792
+ -0.0031188568100333214,
793
+ 0.022305242717266083,
794
+ 0.014322793111205101,
795
+ -0.004290566314011812,
796
+ -0.003959864843636751,
797
+ 0.017390334978699684,
798
+ 0.025635063648223877,
799
+ -0.023468399420380592,
800
+ 0.003700435161590576,
801
+ -0.004313373006880283,
802
+ 0.003441005479544401,
803
+ -0.0009799881372600794,
804
+ -0.029033305123448372,
805
+ -0.014904371462762356,
806
+ -0.0021794936619699,
807
+ -0.007001747842878103,
808
+ -0.055420998483896255,
809
+ 0.010730691254138947,
810
+ 0.00988113135099411,
811
+ -0.010508323088288307,
812
+ -0.027778921648859978,
813
+ 0.0017247790237888694,
814
+ -0.01506402064114809,
815
+ -0.0070872739888727665,
816
+ -0.010582446120679379,
817
+ -0.022065768018364906,
818
+ 0.0081649050116539,
819
+ -0.013410513289272785,
820
+ 0.05012977868318558,
821
+ -0.001381248701363802,
822
+ 0.002987716579809785,
823
+ -0.030629795044660568,
824
+ -0.0015166652156040072,
825
+ -0.03783680498600006,
826
+ -0.0015294941840693355,
827
+ -0.004091004841029644,
828
+ -0.01839384250342846,
829
+ 0.009635956026613712,
830
+ -0.0009892533998936415,
831
+ -0.021735066547989845,
832
+ 0.045705221593379974,
833
+ -0.012965776957571507,
834
+ 0.007321045733988285,
835
+ 0.08507009595632553,
836
+ -0.027870148420333862,
837
+ -0.01587366871535778,
838
+ 0.00048678682651370764,
839
+ 0.014550863765180111,
840
+ -0.03181575983762741,
841
+ 0.04075610265135765,
842
+ -0.07129467278718948,
843
+ -0.0066824499517679214,
844
+ -0.030538568273186684,
845
+ 0.007988150231540203,
846
+ 0.02009296417236328,
847
+ 0.023992959409952164,
848
+ -0.005941222421824932,
849
+ 0.007309642154723406,
850
+ -0.029056113213300705,
851
+ 0.022886820137500763,
852
+ 0.033275406807661057,
853
+ 0.017447352409362793,
854
+ 0.01163156796246767,
855
+ -0.0019642524421215057,
856
+ -0.012566654942929745,
857
+ 0.03195260092616081,
858
+ -0.04351574927568436,
859
+ -0.006454379763454199,
860
+ -0.012635075487196445,
861
+ 0.01612454652786255,
862
+ 0.021404365077614784,
863
+ 0.0059013101272284985,
864
+ -0.06039292365312576,
865
+ 0.01392367109656334,
866
+ -0.006551309488713741,
867
+ 0.010736393742263317,
868
+ -0.010086393915116787,
869
+ 0.010234639048576355,
870
+ 0.04335609823465347,
871
+ -0.0245631355792284,
872
+ -0.01282893493771553,
873
+ 0.03530522808432579,
874
+ -0.019796472042798996,
875
+ 0.014060513116419315,
876
+ 0.06249116733670235,
877
+ -0.0053767492063343525,
878
+ 0.02513330988585949,
879
+ -0.015463143587112427,
880
+ -0.005727407056838274,
881
+ -0.013456127606332302,
882
+ -0.0068991160951554775,
883
+ -0.012612268328666687,
884
+ 0.019465770572423935,
885
+ 0.04125785455107689,
886
+ 0.02960348129272461,
887
+ -0.027368394657969475,
888
+ 0.020879805088043213,
889
+ 0.036628033965826035,
890
+ -0.004766662139445543,
891
+ -0.0732104554772377,
892
+ 0.019978929311037064,
893
+ 0.025749098509550095,
894
+ -0.007503501605242491,
895
+ 0.015987703576683998,
896
+ -0.003586400067433715,
897
+ 0.022818399593234062,
898
+ -0.013615776784718037,
899
+ 0.04675434157252312,
900
+ -0.007959641516208649,
901
+ 0.0022821249440312386,
902
+ 0.011352182365953922,
903
+ 0.013011391274631023,
904
+ 0.0028195148333907127,
905
+ 0.08862798660993576,
906
+ 0.01237279549241066,
907
+ -0.0033611811231821775,
908
+ 0.023171907290816307,
909
+ -0.006499994080513716,
910
+ -0.017128054052591324,
911
+ -0.029763130471110344,
912
+ -0.006095169577747583,
913
+ -0.05929819121956825,
914
+ 0.012167531996965408,
915
+ 0.04312802851200104,
916
+ -0.0030789445154368877,
917
+ 0.03879470005631447,
918
+ -0.016033317893743515,
919
+ 0.027254359796643257,
920
+ -0.029649095609784126,
921
+ 0.03421049565076828,
922
+ -0.02079997956752777,
923
+ -0.011164024472236633,
924
+ 0.01017192006111145,
925
+ -0.008438588120043278,
926
+ -0.007201308850198984,
927
+ -0.03503154590725899,
928
+ -0.005713152699172497,
929
+ -0.00005332026194082573,
930
+ 0.002079712925478816,
931
+ -0.010935954749584198,
932
+ -0.0011709966929629445,
933
+ -0.008073676377534866,
934
+ -0.03785961493849754,
935
+ 0.0036576720885932446,
936
+ -0.005724555812776089,
937
+ -0.008370167575776577,
938
+ -0.04508943110704422,
939
+ -0.05897889286279678,
940
+ 0.026456115767359734,
941
+ 0.04543153569102287,
942
+ -0.0013420492177829146,
943
+ -0.000741940108127892,
944
+ 0.00322148809209466,
945
+ -0.04328767955303192,
946
+ 0.00838727317750454,
947
+ -0.019728051498532295,
948
+ -0.032887689769268036,
949
+ -0.0366736501455307,
950
+ -0.022829802706837654,
951
+ -0.007697361055761576,
952
+ 0.023605240508913994,
953
+ -0.02092541940510273,
954
+ -0.029694708064198494,
955
+ 0.0066824499517679214,
956
+ 0.032682426273822784,
957
+ -0.02488243207335472,
958
+ -0.01890699937939644,
959
+ 0.018097352236509323,
960
+ 0.03943329676985741,
961
+ 0.0203438401222229,
962
+ 0.021917523816227913,
963
+ -0.007976747117936611,
964
+ 0.01593068614602089,
965
+ -0.018382439389824867,
966
+ 0.01703682541847229,
967
+ -0.000017539559848955832,
968
+ -0.002694076392799616,
969
+ -0.0048550390638411045,
970
+ 0.004954820033162832,
971
+ -0.03455260023474693,
972
+ 0.02150699682533741,
973
+ -0.035989440977573395,
974
+ 0.02449471317231655,
975
+ -0.022886820137500763,
976
+ -0.01473331917077303,
977
+ -0.011306568048894405,
978
+ 0.024859625846147537,
979
+ -0.06290169805288315,
980
+ -0.0012992860283702612,
981
+ -0.03854382410645485,
982
+ 0.03788242116570473,
983
+ 0.02830348163843155,
984
+ -0.04513504356145859,
985
+ -0.005818634759634733,
986
+ 0.004872144665569067,
987
+ 0.0036633736453950405,
988
+ -0.028531551361083984,
989
+ -0.01878156140446663,
990
+ 0.0038030666764825583,
991
+ -0.024129802361130714,
992
+ 0.01924910396337509,
993
+ 0.02208857610821724,
994
+ -0.005265565123409033,
995
+ 0.03227189928293228,
996
+ -0.009208324365317822,
997
+ 0.008085080422461033,
998
+ 0.03336663544178009,
999
+ 0.00842148344963789,
1000
+ 0.00605525728315115,
1001
+ 0.04967363551259041,
1002
+ -0.012851742096245289,
1003
+ -0.006283327471464872,
1004
+ -0.005946923978626728,
1005
+ 0.02798418328166008,
1006
+ -0.004370390437543392,
1007
+ 0.010114902630448341,
1008
+ 0.009305254556238651,
1009
+ 0.006790783256292343,
1010
+ 0.029238568618893623,
1011
+ 0.009419289417564869,
1012
+ 0.007497800048440695,
1013
+ -0.003706136951223016,
1014
+ 0.014585074037313461,
1015
+ 0.002967760432511568,
1016
+ 0.02124471589922905,
1017
+ 0.02798418328166008,
1018
+ 0.01970524527132511,
1019
+ -0.016147352755069733,
1020
+ -0.0016335510881617665,
1021
+ 0.0531403012573719,
1022
+ 0.000006119357749412302,
1023
+ 0.01931752637028694,
1024
+ -0.043242063373327255,
1025
+ -0.025087695568799973,
1026
+ 0.002399010816588998,
1027
+ -0.008438588120043278,
1028
+ 0.01357016246765852,
1029
+ 0.015542968176305294,
1030
+ 0.0030846463050693274,
1031
+ -0.03811049088835716,
1032
+ 0.041485924273729324,
1033
+ 0.024084188044071198,
1034
+ 0.021153489127755165,
1035
+ 0.02344559133052826,
1036
+ -0.001274340902455151,
1037
+ 0.01691138744354248,
1038
+ 0.02506488934159279,
1039
+ 0.00644297618418932,
1040
+ -0.018827175721526146,
1041
+ -0.02410699427127838,
1042
+ -0.007132887840270996,
1043
+ 0.020446471869945526,
1044
+ -0.03776838630437851,
1045
+ -0.01717366836965084,
1046
+ 0.04752977937459946,
1047
+ 0.004033987410366535,
1048
+ 0.014299986883997917,
1049
+ 0.014539459720253944,
1050
+ 0.025292959064245224,
1051
+ -0.016500862315297127,
1052
+ -0.04153154045343399,
1053
+ 0.0007080859504640102,
1054
+ 0.004621267784386873,
1055
+ -0.03249996900558472,
1056
+ 0.008632447570562363,
1057
+ 0.043835047632455826,
1058
+ -0.00797104462981224,
1059
+ 0.03957013785839081,
1060
+ -0.010730691254138947,
1061
+ 0.02222541719675064,
1062
+ -0.011757006868720055,
1063
+ 0.005670389160513878,
1064
+ 0.005741661414504051,
1065
+ -0.007520606741309166,
1066
+ 0.0014118956169113517,
1067
+ 0.025087695568799973,
1068
+ 0.040528032928705215,
1069
+ 0.011882444843649864,
1070
+ 0.00016374709957744926,
1071
+ -0.017310509458184242,
1072
+ -0.006152187008410692,
1073
+ 0.021735066547989845,
1074
+ 0.019602613523602486,
1075
+ -0.0024859625846147537,
1076
+ 0.006060959305614233,
1077
+ 0.01749296672642231,
1078
+ 0.0032243391033262014,
1079
+ 0.03104032203555107,
1080
+ 0.0025928702671080828,
1081
+ -0.03005962073802948,
1082
+ 0.0012294396292418242,
1083
+ 0.011049989610910416,
1084
+ 0.06011924147605896,
1085
+ 0.006773677654564381,
1086
+ 0.012578058056533337,
1087
+ -0.0016520817298442125,
1088
+ 0.0063745551742613316,
1089
+ 0.020685944706201553,
1090
+ 0.0033298213966190815,
1091
+ -0.023856118321418762,
1092
+ -0.00012820026313420385,
1093
+ 0.0025429800152778625,
1094
+ 0.040208734571933746,
1095
+ -0.030470145866274834,
1096
+ 0.02163243480026722,
1097
+ 0.04125785455107689,
1098
+ -0.0009956678841263056,
1099
+ 0.011215340346097946,
1100
+ -0.02085699699819088,
1101
+ -0.00032214881503023207,
1102
+ 0.0024859625846147537,
1103
+ -0.022430680692195892,
1104
+ -0.021358752623200417,
1105
+ -0.02527015097439289,
1106
+ 0.010633761994540691,
1107
+ 0.006990344263613224,
1108
+ -0.005861397832632065,
1109
+ 0.008871921338140965,
1110
+ -0.03256839141249657,
1111
+ -0.03703856095671654,
1112
+ -0.02720874547958374,
1113
+ -0.03012804128229618,
1114
+ -0.023274539038538933,
1115
+ -0.007879816927015781,
1116
+ 0.008866219781339169,
1117
+ -0.00408245250582695,
1118
+ -0.0074920980259776115,
1119
+ -0.030743829905986786,
1120
+ -0.0033440757542848587,
1121
+ -0.003058988368138671,
1122
+ -0.007765782065689564,
1123
+ 0.016500862315297127,
1124
+ 0.04930872470140457,
1125
+ -0.04212452098727226,
1126
+ 0.024084188044071198,
1127
+ 0.0076118349097669125,
1128
+ -0.0035550405737012625,
1129
+ 0.01995612122118473,
1130
+ 0.01272630412131548,
1131
+ 0.01981928013265133,
1132
+ -0.008854815736413002,
1133
+ 0.014231565408408642,
1134
+ -0.04137188941240311,
1135
+ -0.013649987056851387,
1136
+ 0.013079811818897724,
1137
+ -0.004430259112268686,
1138
+ 0.028850849717855453,
1139
+ 0.004954820033162832,
1140
+ -0.005573459435254335,
1141
+ -0.01606752909719944,
1142
+ -0.009242535568773746,
1143
+ -0.0029791637789458036,
1144
+ 0.0004703942977357656,
1145
+ 0.054508719593286514,
1146
+ -0.007805694360285997,
1147
+ 0.004230697639286518,
1148
+ 0.0054480209946632385,
1149
+ 0.00022735724633093923,
1150
+ -0.009407886303961277,
1151
+ 0.03439294919371605,
1152
+ -0.0245631355792284,
1153
+ -0.009111395105719566,
1154
+ 0.016626300290226936,
1155
+ 0.037084177136421204,
1156
+ -0.006174994166940451,
1157
+ 0.0033127162605524063,
1158
+ 0.0058956085704267025,
1159
+ -0.011454814113676548,
1160
+ 0.009185517206788063,
1161
+ -0.01270349696278572,
1162
+ -0.016957001760601997,
1163
+ -0.02812102623283863,
1164
+ -0.007982448674738407,
1165
+ 0.021392961964011192,
1166
+ -0.022328048944473267,
1167
+ 0.0025643615517765284,
1168
+ -0.005929818842560053,
1169
+ 0.018165772780776024,
1170
+ 0.04378943145275116,
1171
+ -0.006112274713814259,
1172
+ 0.03804206848144531,
1173
+ 0.02675260603427887,
1174
+ 0.013969285413622856,
1175
+ 0.017253492027521133,
1176
+ -0.009539025835692883,
1177
+ -0.014185951091349125,
1178
+ 0.0008588259224779904,
1179
+ -0.006203502882272005,
1180
+ 0.005217100493609905,
1181
+ -0.007554817479103804,
1182
+ -0.011757006868720055,
1183
+ -0.025087695568799973,
1184
+ -0.02001313865184784,
1185
+ 0.0045129344798624516,
1186
+ -0.010308762080967426,
1187
+ -0.022818399593234062,
1188
+ -0.021780680865049362,
1189
+ 0.011158322915434837,
1190
+ 0.01094735786318779,
1191
+ -0.004723899066448212,
1192
+ 0.023354364559054375,
1193
+ 0.008347360417246819,
1194
+ -0.025042081251740456,
1195
+ -0.01846226304769516,
1196
+ 0.014778933487832546,
1197
+ 0.005998239852488041,
1198
+ 0.011603059247136116,
1199
+ -0.0077543784864246845,
1200
+ -0.024152608588337898,
1201
+ -0.045773640275001526,
1202
+ 0.015964897349476814,
1203
+ 0.046229779720306396,
1204
+ 0.010445604100823402,
1205
+ -0.015371914952993393,
1206
+ 0.025612255558371544,
1207
+ 0.0014895818894729018,
1208
+ -0.0007904049707576632,
1209
+ -0.004575653467327356,
1210
+ 0.016557879745960236,
1211
+ -0.011221041902899742,
1212
+ -0.007001747842878103,
1213
+ 0.0005138701526448131,
1214
+ -0.004304820671677589,
1215
+ -0.029626287519931793,
1216
+ 0.018371034413576126,
1217
+ 0.00932235922664404,
1218
+ -0.0019257657695561647,
1219
+ 0.024768397212028503,
1220
+ -0.004806574434041977,
1221
+ 0.024335063993930817,
1222
+ -0.024015767499804497,
1223
+ 0.014106127433478832,
1224
+ -0.04064206779003143,
1225
+ -0.015691213309764862,
1226
+ -0.026319272816181183,
1227
+ 0.00036669374094344676,
1228
+ -0.01606752909719944,
1229
+ 0.026478921994566917,
1230
+ -0.037015754729509354,
1231
+ 0.010713586583733559,
1232
+ 0.0007180640241131186,
1233
+ -0.010553937405347824,
1234
+ -0.02202015370130539,
1235
+ -0.005257012788206339,
1236
+ 0.02618243172764778,
1237
+ -0.02688944898545742,
1238
+ -0.017504369840025902,
1239
+ 0.020241208374500275,
1240
+ -0.013068408705294132,
1241
+ -0.056059595197439194,
1242
+ 0.0284403245896101,
1243
+ 0.014710512012243271,
1244
+ 0.009807008318603039,
1245
+ 0.002741115866228938,
1246
+ 0.03256839141249657,
1247
+ -0.024403486400842667,
1248
+ 0.020241208374500275,
1249
+ 0.023856118321418762,
1250
+ 0.0112438490614295,
1251
+ 0.011192533187568188,
1252
+ -0.01626138761639595,
1253
+ -0.03749470040202141,
1254
+ -0.02467717044055462,
1255
+ 0.0005441606626845896,
1256
+ -0.026729799807071686,
1257
+ 0.028531551361083984,
1258
+ -0.000290254654828459,
1259
+ 0.0008609641226939857,
1260
+ -0.001016336726024747,
1261
+ 0.017390334978699684,
1262
+ -0.015474546700716019,
1263
+ 0.012806127779185772,
1264
+ -0.020298225805163383,
1265
+ 0.03227189928293228,
1266
+ 0.002236511092633009,
1267
+ 0.04016311839222908,
1268
+ 0.005547801963984966,
1269
+ -0.002799558686092496,
1270
+ 0.0034324529115110636,
1271
+ 0.015041213482618332,
1272
+ 0.01754998415708542,
1273
+ 0.01613594964146614,
1274
+ -0.030082426965236664,
1275
+ -0.002808111486956477,
1276
+ -0.020070156082510948,
1277
+ 0.003230040892958641,
1278
+ 0.01586226560175419,
1279
+ 0.009082886390388012,
1280
+ -0.04775784909725189,
1281
+ -0.018838578835129738,
1282
+ 0.0011040011886507273,
1283
+ -0.0262280460447073,
1284
+ 0.008660956285893917,
1285
+ 0.05044907331466675,
1286
+ 0.0038344261702150106,
1287
+ 0.035921018570661545,
1288
+ 0.0033298213966190815,
1289
+ 0.02125612087547779,
1290
+ -0.03963856026530266,
1291
+ -0.008683763444423676,
1292
+ -0.008261834271252155,
1293
+ 0.02481401152908802,
1294
+ -0.038703471422195435,
1295
+ 0.016683317720890045,
1296
+ 0.027049096301198006,
1297
+ 0.023878924548625946,
1298
+ 0.0045499955303967,
1299
+ -0.011916655115783215,
1300
+ 0.0213815588504076,
1301
+ -0.01347893476486206,
1302
+ 0.01995612122118473,
1303
+ 0.0019485726952552795,
1304
+ 0.018964016810059547,
1305
+ -0.005958327557891607,
1306
+ -0.0465034656226635,
1307
+ 0.0028907868545502424,
1308
+ 0.022077172994613647,
1309
+ 0.027094710618257523,
1310
+ -0.004039688967168331,
1311
+ 0.005781573709100485,
1312
+ -0.02474559098482132,
1313
+ 0.026478921994566917,
1314
+ 0.002240787260234356,
1315
+ -0.019876297563314438,
1316
+ 0.029329797253012657,
1317
+ 0.022396469488739967,
1318
+ -0.007503501605242491,
1319
+ 0.007298238575458527,
1320
+ 0.02688944898545742,
1321
+ 0.0002221900358563289,
1322
+ 0.023605240508913994,
1323
+ -0.013273671269416809,
1324
+ -0.032750844955444336,
1325
+ -0.05761047080159187,
1326
+ -0.026866640895605087,
1327
+ -0.02196313627064228,
1328
+ -0.0022236821241676807,
1329
+ 0.02073155902326107,
1330
+ 0.010907446034252644,
1331
+ -0.00894034281373024,
1332
+ 0.016375422477722168,
1333
+ 0.014311389997601509,
1334
+ -0.01042849849909544,
1335
+ -0.019716648384928703,
1336
+ 0.0008089356124401093,
1337
+ -0.00864385161548853,
1338
+ -0.013022794388234615,
1339
+ 0.0031245583668351173,
1340
+ -0.03872627764940262,
1341
+ 0.03318417817354202,
1342
+ -0.02882804349064827,
1343
+ -0.01311402302235365,
1344
+ -0.0021210506092756987,
1345
+ -0.012908759526908398,
1346
+ -0.014436828903853893,
1347
+ -0.003443856490775943,
1348
+ -0.0024489013012498617,
1349
+ 0.031131548807024956,
1350
+ -0.015371914952993393,
1351
+ 0.026547342538833618,
1352
+ 0.023992959409952164,
1353
+ -0.0009279596270062029,
1354
+ -0.005174337420612574,
1355
+ -0.029512252658605576,
1356
+ 0.02992277964949608,
1357
+ -0.025703484192490578,
1358
+ -0.005764468107372522,
1359
+ -0.007212712429463863,
1360
+ -0.01078200712800026,
1361
+ 0.002548681804910302,
1362
+ 0.010439902544021606,
1363
+ 0.027756113559007645,
1364
+ 0.026798220351338387,
1365
+ -0.012213146314024925,
1366
+ -0.019397350028157234,
1367
+ 0.009567534551024437,
1368
+ -0.006334643345326185,
1369
+ 0.008370167575776577,
1370
+ -0.008575430139899254,
1371
+ -0.011015779338777065,
1372
+ -0.030880672857165337,
1373
+ -0.012931566685438156,
1374
+ -0.042215749621391296,
1375
+ 0.015371914952993393,
1376
+ -0.010667972266674042,
1377
+ 0.03674206882715225,
1378
+ -0.016728932037949562,
1379
+ -0.020754367113113403,
1380
+ 0.0010127731366083026,
1381
+ 0.011392094194889069,
1382
+ -0.011648673564195633,
1383
+ 0.027391202747821808,
1384
+ 0.027756113559007645,
1385
+ -0.0018117307918146253,
1386
+ 0.014014898799359798,
1387
+ 0.010240341536700726,
1388
+ 0.0263648871332407,
1389
+ 0.000568036746699363,
1390
+ -0.015759633854031563,
1391
+ -0.038384173065423965,
1392
+ -0.011568848975002766,
1393
+ -0.013433320447802544,
1394
+ 0.031450849026441574,
1395
+ -0.0302420761436224,
1396
+ -0.009921043179929256,
1397
+ 0.011791217140853405,
1398
+ -0.013193847611546516,
1399
+ -0.01499560009688139,
1400
+ 0.011642971076071262,
1401
+ -0.07152274250984192,
1402
+ -0.028850849717855453,
1403
+ 0.022464891895651817,
1404
+ 0.04326486960053444,
1405
+ -0.038201719522476196,
1406
+ -0.010320166125893593,
1407
+ -0.029170148074626923,
1408
+ 0.009476306848227978,
1409
+ -0.0010199003154411912,
1410
+ 0.02967190183699131,
1411
+ -0.03603505343198776,
1412
+ -0.031450849026441574,
1413
+ 0.022841205820441246,
1414
+ -0.0006054544937796891,
1415
+ 0.014949985779821873,
1416
+ -0.01659208908677101,
1417
+ 0.014117530547082424,
1418
+ 0.0326596200466156,
1419
+ 0.01936313882470131,
1420
+ -0.009117096662521362,
1421
+ 0.043242063373327255,
1422
+ 0.016443844884634018,
1423
+ -0.012931566685438156,
1424
+ 0.004624118562787771,
1425
+ 0.014060513116419315,
1426
+ 0.002361949533224106,
1427
+ 0.018576297909021378,
1428
+ 0.03019646182656288,
1429
+ 0.02513330988585949,
1430
+ 0.009960955940186977,
1431
+ 0.018610509112477303,
1432
+ -0.006602625362575054,
1433
+ -0.00815920252352953,
1434
+ 0.029056113213300705,
1435
+ -0.007617536466568708,
1436
+ -0.024449098855257034,
1437
+ 0.006146485451608896,
1438
+ -0.023856118321418762,
1439
+ -0.009727183729410172,
1440
+ 0.017196474596858025,
1441
+ 0.01807454414665699,
1442
+ -0.008695167489349842,
1443
+ -0.04812275990843773,
1444
+ 0.033001724630594254,
1445
+ -0.005849994253367186,
1446
+ -0.0027154579292982817,
1447
+ -0.019340332597494125,
1448
+ -0.0010448455577716231,
1449
+ 0.02261313609778881,
1450
+ -0.04036838188767433,
1451
+ 0.0345982126891613,
1452
+ 0.015235072933137417,
1453
+ 0.026547342538833618,
1454
+ -0.017321912571787834,
1455
+ 0.00443881144747138,
1456
+ -0.001987059600651264,
1457
+ 0.007047361694276333,
1458
+ 0.00974999088793993,
1459
+ 0.0037489000242203474,
1460
+ 0.010616656392812729,
1461
+ -0.0077543784864246845,
1462
+ 0.004564249888062477,
1463
+ 0.010382885113358498,
1464
+ 0.04255785420536995,
1465
+ 0.0065684146247804165,
1466
+ 0.012840338982641697,
1467
+ -0.02675260603427887,
1468
+ 0.023947345092892647,
1469
+ -0.020355243235826492,
1470
+ -0.002936400705948472,
1471
+ -0.004065346904098988,
1472
+ 0.014197355136275291,
1473
+ 0.012247356586158276,
1474
+ 0.025635063648223877,
1475
+ -0.007412273902446032,
1476
+ -0.011032884009182453,
1477
+ 0.026022782549262047,
1478
+ -0.01962541975080967,
1479
+ -0.040528032928705215,
1480
+ 0.031838566064834595,
1481
+ 0.003369733691215515,
1482
+ 0.010240341536700726,
1483
+ 0.0075377123430371284,
1484
+ -0.010411393828690052,
1485
+ 0.02247629500925541,
1486
+ -0.013855249620974064,
1487
+ -0.025429800152778625,
1488
+ 0.0809648334980011,
1489
+ 0.0047096447087824345,
1490
+ 0.03649119287729263,
1491
+ -0.015645598992705345,
1492
+ -0.006671046372503042,
1493
+ -0.024517521262168884,
1494
+ 0.02371927537024021,
1495
+ -0.060210470110177994,
1496
+ 0.003252847818657756,
1497
+ 0.0044502150267362595,
1498
+ 0.038475401699543,
1499
+ -0.016170160844922066,
1500
+ 0.0016235730145126581,
1501
+ -0.036833297461271286,
1502
+ 0.014619284309446812,
1503
+ 0.0015950642991811037,
1504
+ 0.003178725019097328,
1505
+ 0.023856118321418762,
1506
+ 0.03836136683821678,
1507
+ 0.02197454124689102,
1508
+ 0.02175787463784218,
1509
+ 0.012612268328666687,
1510
+ -0.006323239766061306,
1511
+ -0.0027667738031595945,
1512
+ 0.001955699874088168,
1513
+ 0.054189421236515045,
1514
+ -0.010194727219641209,
1515
+ 0.0019685288425534964,
1516
+ 0.031108742579817772,
1517
+ -0.006049555726349354,
1518
+ -0.0408245213329792,
1519
+ 0.021016646176576614,
1520
+ 0.01249823346734047,
1521
+ 0.0036947333719581366,
1522
+ 0.00027421850245445967,
1523
+ 0.06267362833023071,
1524
+ -0.01205349713563919,
1525
+ -0.019066648557782173,
1526
+ 0.012840338982641697,
1527
+ 0.015531564131379128,
1528
+ 0.024928046390414238,
1529
+ 0.003617759793996811,
1530
+ 0.030036814510822296,
1531
+ 0.026273658499121666,
1532
+ 0.011528936214745045,
1533
+ -0.03163330256938934,
1534
+ -0.008467096835374832,
1535
+ 0.008193413726985455,
1536
+ 0.024084188044071198,
1537
+ 0.01749296672642231,
1538
+ 0.014915775507688522,
1539
+ -0.024540327489376068,
1540
+ -0.02028682269155979,
1541
+ 0.023742083460092545,
1542
+ -0.001798901823349297,
1543
+ 0.00568749476224184,
1544
+ 0.004561399109661579,
1545
+ -0.015634195879101753,
1546
+ 0.024312257766723633,
1547
+ 0.018314016982913017,
1548
+ -0.015178055502474308,
1549
+ -0.020309630781412125,
1550
+ 0.0096530606970191,
1551
+ -0.007463589310646057,
1552
+ 0.016147352755069733,
1553
+ -0.005596266593784094,
1554
+ -0.03797364979982376,
1555
+ 0.02766488678753376,
1556
+ -0.019226297736167908,
1557
+ 0.03389119729399681,
1558
+ 0.024198222905397415,
1559
+ 0.016158755868673325,
1560
+ 0.04962802305817604,
1561
+ -0.030561374500393867,
1562
+ -0.025863133370876312,
1563
+ 0.023399977013468742
1564
+ ],
1565
+ "confidence": 0.9
1566
+ }
1567
+ };
1568
+
1569
+ // ============================================================
1570
+ // Skill: StringOperations
1571
+ // Perform string operations like uppercase, lowercase, reverse, and length
1572
+ // ============================================================
1573
+
1574
+ export async function toUpperCase(args) {
1575
+ const text = args.text || "";
1576
+ const result = text.toUpperCase();
1577
+ console.log(`[toUpperCase] "${text}" → "${result}"`);
1578
+ return {
1579
+ operation: "toUpperCase",
1580
+ original: text,
1581
+ result: result
1582
+ };
1583
+ }
1584
+
1585
+ export async function toLowerCase(args) {
1586
+ const text = args.text || "";
1587
+ const result = text.toLowerCase();
1588
+ console.log(`[toLowerCase] "${text}" → "${result}"`);
1589
+ return {
1590
+ operation: "toLowerCase",
1591
+ original: text,
1592
+ result: result
1593
+ };
1594
+ }
1595
+
1596
+ export async function reverse(args) {
1597
+ const text = args.text || "";
1598
+ const result = text.split('').reverse().join('');
1599
+ console.log(`[reverse] "${text}" → "${result}"`);
1600
+ return {
1601
+ operation: "reverse",
1602
+ original: text,
1603
+ result: result
1604
+ };
1605
+ }
1606
+
1607
+ export async function getLength(args) {
1608
+ const text = args.text || "";
1609
+ const length = text.length;
1610
+ console.log(`[getLength] "${text}" has ${length} characters`);
1611
+ return {
1612
+ operation: "length",
1613
+ text: text,
1614
+ length: length
1615
+ };
1616
+ }
1617
+
1618
+ // Register skill functions
1619
+ SkillRegistry.register('StringOperations', 'toUpperCase', toUpperCase, { affordance: "Perform string operations like uppercase, lowercase, reverse, and length" });
1620
+ SkillRegistry.register('StringOperations', 'toLowerCase', toLowerCase, { affordance: "Perform string operations like uppercase, lowercase, reverse, and length" });
1621
+ SkillRegistry.register('StringOperations', 'reverse', reverse, { affordance: "Perform string operations like uppercase, lowercase, reverse, and length" });
1622
+ SkillRegistry.register('StringOperations', 'getLength', getLength, { affordance: "Perform string operations like uppercase, lowercase, reverse, and length" });
1623
+
1624
+
1625
+
1626
+ // Main execution function
1627
+ (async () => {
1628
+ // Register skills with skillSelector
1629
+ const StringOperationsFunctions = [{ name: 'toUpperCase', fn: toUpperCase, description: SkillRegistry.get('StringOperations', 'toUpperCase')?.metadata?.affordance || 'Function from StringOperations' }, { name: 'toLowerCase', fn: toLowerCase, description: SkillRegistry.get('StringOperations', 'toLowerCase')?.metadata?.affordance || 'Function from StringOperations' }, { name: 'reverse', fn: reverse, description: SkillRegistry.get('StringOperations', 'reverse')?.metadata?.affordance || 'Function from StringOperations' }, { name: 'getLength', fn: getLength, description: SkillRegistry.get('StringOperations', 'getLength')?.metadata?.affordance || 'Function from StringOperations' }];
1630
+ await skillSelector.register('StringOperations', StringOperationsFunctions, CACHED_SKILL_AFFORDANCES['StringOperations']);
1631
+
1632
+ const _gracefulShutdown = async () => { await mcpRegistry.disconnectAll(); process.exit(0); };
1633
+ process.on('SIGINT', _gracefulShutdown);
1634
+ process.on('SIGTERM', _gracefulShutdown);
1635
+
1636
+ await mcpRegistry.disconnectAll();
1637
+ process.exit(0);
1638
+ })().catch(err => {
1639
+ console.error('Error:', err.message);
1640
+ process.exit(1);
1641
+ });
1642
+
1643
+ //# sourceMappingURL=string-operations.ts.map