@elizaos/core 2.0.0-alpha.91 → 2.0.0-alpha.93

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 (149) hide show
  1. package/dist/actions.d.ts +11 -0
  2. package/dist/actions.d.ts.map +1 -1
  3. package/dist/advanced-capabilities/actions/createTask.d.ts +3 -0
  4. package/dist/advanced-capabilities/actions/createTask.d.ts.map +1 -0
  5. package/dist/advanced-capabilities/actions/roles.d.ts.map +1 -1
  6. package/dist/advanced-capabilities/actions/sendMessage.d.ts.map +1 -1
  7. package/dist/advanced-capabilities/actions/settings.d.ts.map +1 -1
  8. package/dist/advanced-capabilities/actions/updateEntity.d.ts.map +1 -1
  9. package/dist/advanced-memory/actions/resetSession.d.ts +11 -0
  10. package/dist/advanced-memory/actions/resetSession.d.ts.map +1 -0
  11. package/dist/advanced-memory/services/autoCompaction.d.ts +24 -0
  12. package/dist/advanced-memory/services/autoCompaction.d.ts.map +1 -0
  13. package/dist/autonomy/autonomousState.d.ts +5 -0
  14. package/dist/autonomy/autonomousState.d.ts.map +1 -0
  15. package/dist/basic-capabilities/actions/status.d.ts +10 -0
  16. package/dist/basic-capabilities/actions/status.d.ts.map +1 -0
  17. package/dist/basic-capabilities/providers/capabilities.d.ts +14 -0
  18. package/dist/basic-capabilities/providers/capabilities.d.ts.map +1 -0
  19. package/dist/bootstrap/actions/addContact.d.ts +3 -0
  20. package/dist/bootstrap/actions/addContact.d.ts.map +1 -0
  21. package/dist/bootstrap/actions/choice.d.ts +3 -0
  22. package/dist/bootstrap/actions/choice.d.ts.map +1 -0
  23. package/dist/bootstrap/actions/followRoom.d.ts +3 -0
  24. package/dist/bootstrap/actions/followRoom.d.ts.map +1 -0
  25. package/dist/bootstrap/actions/ignore.d.ts +3 -0
  26. package/dist/bootstrap/actions/ignore.d.ts.map +1 -0
  27. package/dist/bootstrap/actions/imageGeneration.d.ts +2 -0
  28. package/dist/bootstrap/actions/imageGeneration.d.ts.map +1 -0
  29. package/dist/bootstrap/actions/index.d.ts +14 -0
  30. package/dist/bootstrap/actions/index.d.ts.map +1 -0
  31. package/dist/bootstrap/actions/muteRoom.d.ts +3 -0
  32. package/dist/bootstrap/actions/muteRoom.d.ts.map +1 -0
  33. package/dist/bootstrap/actions/none.d.ts +3 -0
  34. package/dist/bootstrap/actions/none.d.ts.map +1 -0
  35. package/dist/bootstrap/actions/removeContact.d.ts +3 -0
  36. package/dist/bootstrap/actions/removeContact.d.ts.map +1 -0
  37. package/dist/bootstrap/actions/reply.d.ts +3 -0
  38. package/dist/bootstrap/actions/reply.d.ts.map +1 -0
  39. package/dist/bootstrap/actions/resetSession.d.ts +2 -0
  40. package/dist/bootstrap/actions/resetSession.d.ts.map +1 -0
  41. package/dist/bootstrap/actions/roles.d.ts +13 -0
  42. package/dist/bootstrap/actions/roles.d.ts.map +1 -0
  43. package/dist/bootstrap/actions/scheduleFollowUp.d.ts +3 -0
  44. package/dist/bootstrap/actions/scheduleFollowUp.d.ts.map +1 -0
  45. package/dist/bootstrap/actions/searchContacts.d.ts +3 -0
  46. package/dist/bootstrap/actions/searchContacts.d.ts.map +1 -0
  47. package/dist/bootstrap/actions/sendMessage.d.ts +14 -0
  48. package/dist/bootstrap/actions/sendMessage.d.ts.map +1 -0
  49. package/dist/bootstrap/actions/settings.d.ts +7 -0
  50. package/dist/bootstrap/actions/settings.d.ts.map +1 -0
  51. package/dist/bootstrap/actions/status.d.ts +10 -0
  52. package/dist/bootstrap/actions/status.d.ts.map +1 -0
  53. package/dist/bootstrap/actions/unfollowRoom.d.ts +13 -0
  54. package/dist/bootstrap/actions/unfollowRoom.d.ts.map +1 -0
  55. package/dist/bootstrap/actions/unmuteRoom.d.ts +14 -0
  56. package/dist/bootstrap/actions/unmuteRoom.d.ts.map +1 -0
  57. package/dist/bootstrap/actions/updateContact.d.ts +3 -0
  58. package/dist/bootstrap/actions/updateContact.d.ts.map +1 -0
  59. package/dist/bootstrap/actions/updateEntity.d.ts +42 -0
  60. package/dist/bootstrap/actions/updateEntity.d.ts.map +1 -0
  61. package/dist/bootstrap/evaluators/index.d.ts +2 -0
  62. package/dist/bootstrap/evaluators/index.d.ts.map +1 -0
  63. package/dist/bootstrap/evaluators/reflection.d.ts +3 -0
  64. package/dist/bootstrap/evaluators/reflection.d.ts.map +1 -0
  65. package/dist/bootstrap/evaluators/relationshipExtraction.d.ts +3 -0
  66. package/dist/bootstrap/evaluators/relationshipExtraction.d.ts.map +1 -0
  67. package/dist/bootstrap/index.d.ts +64 -0
  68. package/dist/bootstrap/index.d.ts.map +1 -0
  69. package/dist/bootstrap/providers/actionState.d.ts +7 -0
  70. package/dist/bootstrap/providers/actionState.d.ts.map +1 -0
  71. package/dist/bootstrap/providers/actions.d.ts +4 -0
  72. package/dist/bootstrap/providers/actions.d.ts.map +1 -0
  73. package/dist/bootstrap/providers/attachments.d.ts +20 -0
  74. package/dist/bootstrap/providers/attachments.d.ts.map +1 -0
  75. package/dist/bootstrap/providers/capabilities.d.ts +13 -0
  76. package/dist/bootstrap/providers/capabilities.d.ts.map +1 -0
  77. package/dist/bootstrap/providers/character.d.ts +17 -0
  78. package/dist/bootstrap/providers/character.d.ts.map +1 -0
  79. package/dist/bootstrap/providers/choice.d.ts +10 -0
  80. package/dist/bootstrap/providers/choice.d.ts.map +1 -0
  81. package/dist/bootstrap/providers/contacts.d.ts +3 -0
  82. package/dist/bootstrap/providers/contacts.d.ts.map +1 -0
  83. package/dist/bootstrap/providers/contextBench.d.ts +12 -0
  84. package/dist/bootstrap/providers/contextBench.d.ts.map +1 -0
  85. package/dist/bootstrap/providers/entities.d.ts +7 -0
  86. package/dist/bootstrap/providers/entities.d.ts.map +1 -0
  87. package/dist/bootstrap/providers/evaluators.d.ts +3 -0
  88. package/dist/bootstrap/providers/evaluators.d.ts.map +1 -0
  89. package/dist/bootstrap/providers/facts.d.ts +11 -0
  90. package/dist/bootstrap/providers/facts.d.ts.map +1 -0
  91. package/dist/bootstrap/providers/followUps.d.ts +3 -0
  92. package/dist/bootstrap/providers/followUps.d.ts.map +1 -0
  93. package/dist/bootstrap/providers/index.d.ts +16 -0
  94. package/dist/bootstrap/providers/index.d.ts.map +1 -0
  95. package/dist/bootstrap/providers/knowledge.d.ts +9 -0
  96. package/dist/bootstrap/providers/knowledge.d.ts.map +1 -0
  97. package/dist/bootstrap/providers/providers.d.ts +18 -0
  98. package/dist/bootstrap/providers/providers.d.ts.map +1 -0
  99. package/dist/bootstrap/providers/recentMessages.d.ts +14 -0
  100. package/dist/bootstrap/providers/recentMessages.d.ts.map +1 -0
  101. package/dist/bootstrap/providers/relationships.d.ts +15 -0
  102. package/dist/bootstrap/providers/relationships.d.ts.map +1 -0
  103. package/dist/bootstrap/providers/roles.d.ts +18 -0
  104. package/dist/bootstrap/providers/roles.d.ts.map +1 -0
  105. package/dist/bootstrap/providers/settings.d.ts +7 -0
  106. package/dist/bootstrap/providers/settings.d.ts.map +1 -0
  107. package/dist/bootstrap/providers/time.d.ts +16 -0
  108. package/dist/bootstrap/providers/time.d.ts.map +1 -0
  109. package/dist/bootstrap/providers/world.d.ts +7 -0
  110. package/dist/bootstrap/providers/world.d.ts.map +1 -0
  111. package/dist/bootstrap/services/autoCompaction.d.ts +2 -0
  112. package/dist/bootstrap/services/autoCompaction.d.ts.map +1 -0
  113. package/dist/browser/index.browser.js +371 -368
  114. package/dist/browser/index.browser.js.map +16 -16
  115. package/dist/deterministic.d.ts +31 -0
  116. package/dist/deterministic.d.ts.map +1 -0
  117. package/dist/edge/index.edge.js +502 -745
  118. package/dist/edge/index.edge.js.map +19 -19
  119. package/dist/entities.d.ts.map +1 -1
  120. package/dist/generated/action-docs.d.ts.map +1 -1
  121. package/dist/network/sandbox-fetch-proxy.d.ts +25 -0
  122. package/dist/network/sandbox-fetch-proxy.d.ts.map +1 -0
  123. package/dist/node/index.node.js +516 -765
  124. package/dist/node/index.node.js.map +22 -22
  125. package/dist/packages/typescript/tsconfig.tsbuildinfo +1 -0
  126. package/dist/prompts.d.ts +14 -14
  127. package/dist/prompts.d.ts.map +1 -1
  128. package/dist/providers/sessionKeys.d.ts +24 -0
  129. package/dist/providers/sessionKeys.d.ts.map +1 -0
  130. package/dist/request-context.d.ts +143 -0
  131. package/dist/request-context.d.ts.map +1 -0
  132. package/dist/security/sandbox-token-manager.d.ts +33 -0
  133. package/dist/security/sandbox-token-manager.d.ts.map +1 -0
  134. package/dist/services/action-filter.d.ts +195 -0
  135. package/dist/services/action-filter.d.ts.map +1 -0
  136. package/dist/services/bm25.d.ts +51 -0
  137. package/dist/services/bm25.d.ts.map +1 -0
  138. package/dist/services/cosine-similarity.d.ts +5 -0
  139. package/dist/services/cosine-similarity.d.ts.map +1 -0
  140. package/dist/services/message.d.ts.map +1 -1
  141. package/dist/services/triggerScheduling.d.ts +29 -0
  142. package/dist/services/triggerScheduling.d.ts.map +1 -0
  143. package/dist/services/triggerWorker.d.ts +17 -0
  144. package/dist/services/triggerWorker.d.ts.map +1 -0
  145. package/dist/utils/time-format.d.ts +28 -0
  146. package/dist/utils/time-format.d.ts.map +1 -0
  147. package/dist/validation/keywords.d.ts +26 -0
  148. package/dist/validation/keywords.d.ts.map +1 -0
  149. package/package.json +3 -3
@@ -155,9 +155,7 @@ var init_action_docs = __esm(() => {
155
155
  name: "{{name2}}",
156
156
  content: {
157
157
  text: "Hi! How can I help you today?",
158
- actions: [
159
- "REPLY"
160
- ]
158
+ actions: ["REPLY"]
161
159
  }
162
160
  }
163
161
  ],
@@ -172,9 +170,7 @@ var init_action_docs = __esm(() => {
172
170
  name: "{{name2}}",
173
171
  content: {
174
172
  text: "I really like deep shades of blue. They remind me of the ocean and the night sky.",
175
- actions: [
176
- "REPLY"
177
- ]
173
+ actions: ["REPLY"]
178
174
  }
179
175
  }
180
176
  ],
@@ -189,9 +185,7 @@ var init_action_docs = __esm(() => {
189
185
  name: "{{name2}}",
190
186
  content: {
191
187
  text: "Let me break that down for you in simple terms...",
192
- actions: [
193
- "REPLY"
194
- ]
188
+ actions: ["REPLY"]
195
189
  }
196
190
  }
197
191
  ],
@@ -206,9 +200,7 @@ var init_action_docs = __esm(() => {
206
200
  name: "{{name2}}",
207
201
  content: {
208
202
  text: "Of course! Let's work through it step by step.",
209
- actions: [
210
- "REPLY"
211
- ]
203
+ actions: ["REPLY"]
212
204
  }
213
205
  }
214
206
  ]
@@ -217,11 +209,7 @@ var init_action_docs = __esm(() => {
217
209
  {
218
210
  name: "IGNORE",
219
211
  description: "Call this action if ignoring the user. If the user is aggressive, creepy or is finished with the conversation, use this action. Or, if both you and the user have already said goodbye, use this action instead of saying bye again. Use IGNORE any time the conversation has naturally ended. Do not use IGNORE if the user has engaged directly, or if something went wrong and you need to tell them. Only ignore if the user should be ignored.",
220
- similes: [
221
- "STOP_TALKING",
222
- "STOP_CHATTING",
223
- "STOP_CONVERSATION"
224
- ],
212
+ similes: ["STOP_TALKING", "STOP_CHATTING", "STOP_CONVERSATION"],
225
213
  parameters: [],
226
214
  examples: [
227
215
  [
@@ -235,9 +223,7 @@ var init_action_docs = __esm(() => {
235
223
  name: "{{name2}}",
236
224
  content: {
237
225
  text: "",
238
- actions: [
239
- "IGNORE"
240
- ]
226
+ actions: ["IGNORE"]
241
227
  }
242
228
  }
243
229
  ],
@@ -252,9 +238,7 @@ var init_action_docs = __esm(() => {
252
238
  name: "{{name2}}",
253
239
  content: {
254
240
  text: "",
255
- actions: [
256
- "IGNORE"
257
- ]
241
+ actions: ["IGNORE"]
258
242
  }
259
243
  }
260
244
  ],
@@ -281,9 +265,7 @@ var init_action_docs = __esm(() => {
281
265
  name: "{{name2}}",
282
266
  content: {
283
267
  text: "",
284
- actions: [
285
- "IGNORE"
286
- ]
268
+ actions: ["IGNORE"]
287
269
  }
288
270
  }
289
271
  ],
@@ -304,9 +286,7 @@ var init_action_docs = __esm(() => {
304
286
  name: "{{name1}}",
305
287
  content: {
306
288
  text: "",
307
- actions: [
308
- "IGNORE"
309
- ]
289
+ actions: ["IGNORE"]
310
290
  }
311
291
  }
312
292
  ],
@@ -321,9 +301,7 @@ var init_action_docs = __esm(() => {
321
301
  name: "{{name2}}",
322
302
  content: {
323
303
  text: "thats inappropriate",
324
- actions: [
325
- "IGNORE"
326
- ]
304
+ actions: ["IGNORE"]
327
305
  }
328
306
  }
329
307
  ]
@@ -332,13 +310,7 @@ var init_action_docs = __esm(() => {
332
310
  {
333
311
  name: "NONE",
334
312
  description: "Respond but perform no additional action. This is the default if the agent is speaking and not doing anything additional.",
335
- similes: [
336
- "NO_ACTION",
337
- "NO_RESPONSE",
338
- "NO_REACTION",
339
- "NOOP",
340
- "PASS"
341
- ],
313
+ similes: ["NO_ACTION", "NO_RESPONSE", "NO_REACTION", "NOOP", "PASS"],
342
314
  parameters: [],
343
315
  examples: [
344
316
  [
@@ -352,9 +324,7 @@ var init_action_docs = __esm(() => {
352
324
  name: "{{name2}}",
353
325
  content: {
354
326
  text: "oh hey",
355
- actions: [
356
- "NONE"
357
- ]
327
+ actions: ["NONE"]
358
328
  }
359
329
  }
360
330
  ],
@@ -369,9 +339,7 @@ var init_action_docs = __esm(() => {
369
339
  name: "{{name2}}",
370
340
  content: {
371
341
  text: "yeah but its a pain to get into node.js",
372
- actions: [
373
- "NONE"
374
- ]
342
+ actions: ["NONE"]
375
343
  }
376
344
  }
377
345
  ],
@@ -380,18 +348,14 @@ var init_action_docs = __esm(() => {
380
348
  name: "{{name1}}",
381
349
  content: {
382
350
  text: "u think aliens are real",
383
- actions: [
384
- "NONE"
385
- ]
351
+ actions: ["NONE"]
386
352
  }
387
353
  },
388
354
  {
389
355
  name: "{{name2}}",
390
356
  content: {
391
357
  text: "ya obviously",
392
- actions: [
393
- "NONE"
394
- ]
358
+ actions: ["NONE"]
395
359
  }
396
360
  }
397
361
  ],
@@ -400,18 +364,14 @@ var init_action_docs = __esm(() => {
400
364
  name: "{{name1}}",
401
365
  content: {
402
366
  text: "drop a joke on me",
403
- actions: [
404
- "NONE"
405
- ]
367
+ actions: ["NONE"]
406
368
  }
407
369
  },
408
370
  {
409
371
  name: "{{name2}}",
410
372
  content: {
411
373
  text: "why dont scientists trust atoms cuz they make up everything lmao",
412
- actions: [
413
- "NONE"
414
- ]
374
+ actions: ["NONE"]
415
375
  }
416
376
  }
417
377
  ]
@@ -435,15 +395,9 @@ var init_action_docs = __esm(() => {
435
395
  required: true,
436
396
  schema: {
437
397
  type: "string",
438
- enum: [
439
- "user",
440
- "room"
441
- ]
398
+ enum: ["user", "room"]
442
399
  },
443
- examples: [
444
- "user",
445
- "room"
446
- ]
400
+ examples: ["user", "room"]
447
401
  },
448
402
  {
449
403
  name: "source",
@@ -452,10 +406,7 @@ var init_action_docs = __esm(() => {
452
406
  schema: {
453
407
  type: "string"
454
408
  },
455
- examples: [
456
- "telegram",
457
- "discord"
458
- ]
409
+ examples: ["telegram", "discord"]
459
410
  },
460
411
  {
461
412
  name: "target",
@@ -464,10 +415,7 @@ var init_action_docs = __esm(() => {
464
415
  schema: {
465
416
  type: "string"
466
417
  },
467
- examples: [
468
- "dev_guru",
469
- "announcements"
470
- ]
418
+ examples: ["dev_guru", "announcements"]
471
419
  },
472
420
  {
473
421
  name: "text",
@@ -476,10 +424,7 @@ var init_action_docs = __esm(() => {
476
424
  schema: {
477
425
  type: "string"
478
426
  },
479
- examples: [
480
- "Hello!",
481
- "Important announcement!"
482
- ]
427
+ examples: ["Hello!", "Important announcement!"]
483
428
  }
484
429
  ],
485
430
  examples: [
@@ -494,9 +439,7 @@ var init_action_docs = __esm(() => {
494
439
  name: "{{name2}}",
495
440
  content: {
496
441
  text: "Message sent to dev_guru on telegram.",
497
- actions: [
498
- "SEND_MESSAGE"
499
- ]
442
+ actions: ["SEND_MESSAGE"]
500
443
  }
501
444
  }
502
445
  ],
@@ -511,9 +454,7 @@ var init_action_docs = __esm(() => {
511
454
  name: "{{name2}}",
512
455
  content: {
513
456
  text: "Message sent to announcements.",
514
- actions: [
515
- "SEND_MESSAGE"
516
- ]
457
+ actions: ["SEND_MESSAGE"]
517
458
  }
518
459
  }
519
460
  ],
@@ -528,9 +469,7 @@ var init_action_docs = __esm(() => {
528
469
  name: "{{name2}}",
529
470
  content: {
530
471
  text: "Message sent to Jimmy.",
531
- actions: [
532
- "SEND_MESSAGE"
533
- ]
472
+ actions: ["SEND_MESSAGE"]
534
473
  }
535
474
  }
536
475
  ]
@@ -538,10 +477,7 @@ var init_action_docs = __esm(() => {
538
477
  exampleCalls: [
539
478
  {
540
479
  user: 'Send a message to @dev_guru on telegram saying "Hello!"',
541
- actions: [
542
- "REPLY",
543
- "SEND_MESSAGE"
544
- ],
480
+ actions: ["REPLY", "SEND_MESSAGE"],
545
481
  params: {
546
482
  SEND_MESSAGE: {
547
483
  targetType: "user",
@@ -582,10 +518,7 @@ var init_action_docs = __esm(() => {
582
518
  schema: {
583
519
  type: "string"
584
520
  },
585
- examples: [
586
- "Sarah Chen",
587
- "John Smith"
588
- ]
521
+ examples: ["Sarah Chen", "John Smith"]
589
522
  },
590
523
  {
591
524
  name: "notes",
@@ -594,9 +527,7 @@ var init_action_docs = __esm(() => {
594
527
  schema: {
595
528
  type: "string"
596
529
  },
597
- examples: [
598
- "Met at the AI meetup; interested in agents"
599
- ]
530
+ examples: ["Met at the AI meetup; interested in agents"]
600
531
  }
601
532
  ],
602
533
  examples: [
@@ -647,11 +578,7 @@ var init_action_docs = __esm(() => {
647
578
  {
648
579
  name: "UPDATE_CONTACT",
649
580
  description: "Update an existing contact's details in the rolodex.",
650
- similes: [
651
- "EDIT_CONTACT",
652
- "MODIFY_CONTACT",
653
- "CHANGE_CONTACT_INFO"
654
- ],
581
+ similes: ["EDIT_CONTACT", "MODIFY_CONTACT", "CHANGE_CONTACT_INFO"],
655
582
  parameters: [
656
583
  {
657
584
  name: "name",
@@ -660,9 +587,7 @@ var init_action_docs = __esm(() => {
660
587
  schema: {
661
588
  type: "string"
662
589
  },
663
- examples: [
664
- "Sarah Chen"
665
- ]
590
+ examples: ["Sarah Chen"]
666
591
  },
667
592
  {
668
593
  name: "updates",
@@ -671,9 +596,7 @@ var init_action_docs = __esm(() => {
671
596
  schema: {
672
597
  type: "string"
673
598
  },
674
- examples: [
675
- '{"notes":"prefers email","tags":["friend"]}'
676
- ]
599
+ examples: ['{"notes":"prefers email","tags":["friend"]}']
677
600
  }
678
601
  ],
679
602
  examples: [
@@ -711,9 +634,7 @@ var init_action_docs = __esm(() => {
711
634
  schema: {
712
635
  type: "string"
713
636
  },
714
- examples: [
715
- "Sarah Chen"
716
- ]
637
+ examples: ["Sarah Chen"]
717
638
  }
718
639
  ],
719
640
  examples: [
@@ -767,10 +688,7 @@ var init_action_docs = __esm(() => {
767
688
  schema: {
768
689
  type: "string"
769
690
  },
770
- examples: [
771
- "sarah",
772
- "AI meetup"
773
- ]
691
+ examples: ["sarah", "AI meetup"]
774
692
  }
775
693
  ],
776
694
  examples: [
@@ -813,9 +731,7 @@ var init_action_docs = __esm(() => {
813
731
  schema: {
814
732
  type: "string"
815
733
  },
816
- examples: [
817
- "Sarah Chen"
818
- ]
734
+ examples: ["Sarah Chen"]
819
735
  },
820
736
  {
821
737
  name: "when",
@@ -824,9 +740,7 @@ var init_action_docs = __esm(() => {
824
740
  schema: {
825
741
  type: "string"
826
742
  },
827
- examples: [
828
- "2026-02-01T09:00:00Z"
829
- ]
743
+ examples: ["2026-02-01T09:00:00Z"]
830
744
  },
831
745
  {
832
746
  name: "reason",
@@ -835,9 +749,7 @@ var init_action_docs = __esm(() => {
835
749
  schema: {
836
750
  type: "string"
837
751
  },
838
- examples: [
839
- "Check in about the agent framework demo"
840
- ]
752
+ examples: ["Check in about the agent framework demo"]
841
753
  }
842
754
  ],
843
755
  examples: [
@@ -877,9 +789,7 @@ var init_action_docs = __esm(() => {
877
789
  schema: {
878
790
  type: "string"
879
791
  },
880
- examples: [
881
- "c0a8012e"
882
- ]
792
+ examples: ["c0a8012e"]
883
793
  },
884
794
  {
885
795
  name: "option",
@@ -888,10 +798,7 @@ var init_action_docs = __esm(() => {
888
798
  schema: {
889
799
  type: "string"
890
800
  },
891
- examples: [
892
- "APPROVE",
893
- "ABORT"
894
- ]
801
+ examples: ["APPROVE", "ABORT"]
895
802
  }
896
803
  ],
897
804
  examples: [
@@ -906,9 +813,7 @@ var init_action_docs = __esm(() => {
906
813
  name: "{{name2}}",
907
814
  content: {
908
815
  text: "I've selected option 1 for the pending task.",
909
- actions: [
910
- "CHOOSE_OPTION"
911
- ]
816
+ actions: ["CHOOSE_OPTION"]
912
817
  }
913
818
  }
914
819
  ]
@@ -935,9 +840,7 @@ var init_action_docs = __esm(() => {
935
840
  schema: {
936
841
  type: "string"
937
842
  },
938
- examples: [
939
- "00000000-0000-0000-0000-000000000000"
940
- ]
843
+ examples: ["00000000-0000-0000-0000-000000000000"]
941
844
  }
942
845
  ],
943
846
  examples: [
@@ -952,9 +855,7 @@ var init_action_docs = __esm(() => {
952
855
  name: "{{name2}}",
953
856
  content: {
954
857
  text: "Sure, I will now follow this room and chime in",
955
- actions: [
956
- "FOLLOW_ROOM"
957
- ]
858
+ actions: ["FOLLOW_ROOM"]
958
859
  }
959
860
  }
960
861
  ],
@@ -969,9 +870,7 @@ var init_action_docs = __esm(() => {
969
870
  name: "{{name2}}",
970
871
  content: {
971
872
  text: "you got it, i'm here",
972
- actions: [
973
- "FOLLOW_ROOM"
974
- ]
873
+ actions: ["FOLLOW_ROOM"]
975
874
  }
976
875
  }
977
876
  ]
@@ -998,9 +897,7 @@ var init_action_docs = __esm(() => {
998
897
  schema: {
999
898
  type: "string"
1000
899
  },
1001
- examples: [
1002
- "00000000-0000-0000-0000-000000000000"
1003
- ]
900
+ examples: ["00000000-0000-0000-0000-000000000000"]
1004
901
  }
1005
902
  ],
1006
903
  examples: [
@@ -1015,9 +912,7 @@ var init_action_docs = __esm(() => {
1015
912
  name: "{{name2}}",
1016
913
  content: {
1017
914
  text: "Okay, I'll stop following this room",
1018
- actions: [
1019
- "UNFOLLOW_ROOM"
1020
- ]
915
+ actions: ["UNFOLLOW_ROOM"]
1021
916
  }
1022
917
  }
1023
918
  ]
@@ -1044,9 +939,7 @@ var init_action_docs = __esm(() => {
1044
939
  schema: {
1045
940
  type: "string"
1046
941
  },
1047
- examples: [
1048
- "00000000-0000-0000-0000-000000000000"
1049
- ]
942
+ examples: ["00000000-0000-0000-0000-000000000000"]
1050
943
  }
1051
944
  ],
1052
945
  examples: [
@@ -1061,9 +954,7 @@ var init_action_docs = __esm(() => {
1061
954
  name: "{{name2}}",
1062
955
  content: {
1063
956
  text: "Got it",
1064
- actions: [
1065
- "MUTE_ROOM"
1066
- ]
957
+ actions: ["MUTE_ROOM"]
1067
958
  }
1068
959
  }
1069
960
  ],
@@ -1078,9 +969,7 @@ var init_action_docs = __esm(() => {
1078
969
  name: "{{name2}}",
1079
970
  content: {
1080
971
  text: "np going silent",
1081
- actions: [
1082
- "MUTE_ROOM"
1083
- ]
972
+ actions: ["MUTE_ROOM"]
1084
973
  }
1085
974
  }
1086
975
  ]
@@ -1107,9 +996,7 @@ var init_action_docs = __esm(() => {
1107
996
  schema: {
1108
997
  type: "string"
1109
998
  },
1110
- examples: [
1111
- "00000000-0000-0000-0000-000000000000"
1112
- ]
999
+ examples: ["00000000-0000-0000-0000-000000000000"]
1113
1000
  }
1114
1001
  ],
1115
1002
  examples: [
@@ -1124,9 +1011,7 @@ var init_action_docs = __esm(() => {
1124
1011
  name: "{{name2}}",
1125
1012
  content: {
1126
1013
  text: "I've unmuted this room and will respond again",
1127
- actions: [
1128
- "UNMUTE_ROOM"
1129
- ]
1014
+ actions: ["UNMUTE_ROOM"]
1130
1015
  }
1131
1016
  }
1132
1017
  ]
@@ -1154,9 +1039,7 @@ var init_action_docs = __esm(() => {
1154
1039
  schema: {
1155
1040
  type: "string"
1156
1041
  },
1157
- examples: [
1158
- '[{"key":"model","value":"gpt-5"}]'
1159
- ]
1042
+ examples: ['[{"key":"model","value":"gpt-5"}]']
1160
1043
  }
1161
1044
  ],
1162
1045
  examples: [
@@ -1171,9 +1054,7 @@ var init_action_docs = __esm(() => {
1171
1054
  name: "{{name2}}",
1172
1055
  content: {
1173
1056
  text: "I've updated your language setting to French.",
1174
- actions: [
1175
- "UPDATE_SETTINGS"
1176
- ]
1057
+ actions: ["UPDATE_SETTINGS"]
1177
1058
  }
1178
1059
  }
1179
1060
  ]
@@ -1199,9 +1080,7 @@ var init_action_docs = __esm(() => {
1199
1080
  schema: {
1200
1081
  type: "string"
1201
1082
  },
1202
- examples: [
1203
- "00000000-0000-0000-0000-000000000000"
1204
- ]
1083
+ examples: ["00000000-0000-0000-0000-000000000000"]
1205
1084
  },
1206
1085
  {
1207
1086
  name: "role",
@@ -1210,10 +1089,7 @@ var init_action_docs = __esm(() => {
1210
1089
  schema: {
1211
1090
  type: "string"
1212
1091
  },
1213
- examples: [
1214
- "admin",
1215
- "member"
1216
- ]
1092
+ examples: ["admin", "member"]
1217
1093
  }
1218
1094
  ],
1219
1095
  examples: [
@@ -1228,9 +1104,7 @@ var init_action_docs = __esm(() => {
1228
1104
  name: "{{name2}}",
1229
1105
  content: {
1230
1106
  text: "I've assigned the admin role to Sarah.",
1231
- actions: [
1232
- "UPDATE_ROLE"
1233
- ]
1107
+ actions: ["UPDATE_ROLE"]
1234
1108
  }
1235
1109
  }
1236
1110
  ]
@@ -1254,9 +1128,7 @@ var init_action_docs = __esm(() => {
1254
1128
  schema: {
1255
1129
  type: "string"
1256
1130
  },
1257
- examples: [
1258
- "00000000-0000-0000-0000-000000000000"
1259
- ]
1131
+ examples: ["00000000-0000-0000-0000-000000000000"]
1260
1132
  },
1261
1133
  {
1262
1134
  name: "updates",
@@ -1265,9 +1137,7 @@ var init_action_docs = __esm(() => {
1265
1137
  schema: {
1266
1138
  type: "string"
1267
1139
  },
1268
- examples: [
1269
- '[{"name":"bio","value":"Loves Rust"}]'
1270
- ]
1140
+ examples: ['[{"name":"bio","value":"Loves Rust"}]']
1271
1141
  }
1272
1142
  ],
1273
1143
  examples: [
@@ -1282,9 +1152,7 @@ var init_action_docs = __esm(() => {
1282
1152
  name: "{{name2}}",
1283
1153
  content: {
1284
1154
  text: "I've updated your profile bio.",
1285
- actions: [
1286
- "UPDATE_ENTITY"
1287
- ]
1155
+ actions: ["UPDATE_ENTITY"]
1288
1156
  }
1289
1157
  }
1290
1158
  ]
@@ -1310,9 +1178,7 @@ var init_action_docs = __esm(() => {
1310
1178
  schema: {
1311
1179
  type: "string"
1312
1180
  },
1313
- examples: [
1314
- "A futuristic cityscape at sunset, cinematic lighting"
1315
- ]
1181
+ examples: ["A futuristic cityscape at sunset, cinematic lighting"]
1316
1182
  }
1317
1183
  ],
1318
1184
  examples: [
@@ -1327,9 +1193,7 @@ var init_action_docs = __esm(() => {
1327
1193
  name: "{{name2}}",
1328
1194
  content: {
1329
1195
  text: "Sure, I'll create a futuristic city image for you. One moment...",
1330
- actions: [
1331
- "GENERATE_IMAGE"
1332
- ]
1196
+ actions: ["GENERATE_IMAGE"]
1333
1197
  }
1334
1198
  }
1335
1199
  ],
@@ -1344,9 +1208,7 @@ var init_action_docs = __esm(() => {
1344
1208
  name: "{{name2}}",
1345
1209
  content: {
1346
1210
  text: "I'll create a visualization of a neural network for you, one sec...",
1347
- actions: [
1348
- "GENERATE_IMAGE"
1349
- ]
1211
+ actions: ["GENERATE_IMAGE"]
1350
1212
  }
1351
1213
  }
1352
1214
  ],
@@ -1361,9 +1223,7 @@ var init_action_docs = __esm(() => {
1361
1223
  name: "{{name2}}",
1362
1224
  content: {
1363
1225
  text: "Creating an image to capture calmness for you, please wait a moment...",
1364
- actions: [
1365
- "GENERATE_IMAGE"
1366
- ]
1226
+ actions: ["GENERATE_IMAGE"]
1367
1227
  }
1368
1228
  }
1369
1229
  ]
@@ -1397,9 +1257,7 @@ var init_action_docs = __esm(() => {
1397
1257
  name: "{{name2}}",
1398
1258
  content: {
1399
1259
  text: "Hi! How can I help you today?",
1400
- actions: [
1401
- "REPLY"
1402
- ]
1260
+ actions: ["REPLY"]
1403
1261
  }
1404
1262
  }
1405
1263
  ],
@@ -1414,9 +1272,7 @@ var init_action_docs = __esm(() => {
1414
1272
  name: "{{name2}}",
1415
1273
  content: {
1416
1274
  text: "I really like deep shades of blue. They remind me of the ocean and the night sky.",
1417
- actions: [
1418
- "REPLY"
1419
- ]
1275
+ actions: ["REPLY"]
1420
1276
  }
1421
1277
  }
1422
1278
  ],
@@ -1431,9 +1287,7 @@ var init_action_docs = __esm(() => {
1431
1287
  name: "{{name2}}",
1432
1288
  content: {
1433
1289
  text: "Let me break that down for you in simple terms...",
1434
- actions: [
1435
- "REPLY"
1436
- ]
1290
+ actions: ["REPLY"]
1437
1291
  }
1438
1292
  }
1439
1293
  ],
@@ -1448,9 +1302,7 @@ var init_action_docs = __esm(() => {
1448
1302
  name: "{{name2}}",
1449
1303
  content: {
1450
1304
  text: "Of course! Let's work through it step by step.",
1451
- actions: [
1452
- "REPLY"
1453
- ]
1305
+ actions: ["REPLY"]
1454
1306
  }
1455
1307
  }
1456
1308
  ]
@@ -1459,11 +1311,7 @@ var init_action_docs = __esm(() => {
1459
1311
  {
1460
1312
  name: "IGNORE",
1461
1313
  description: "Call this action if ignoring the user. If the user is aggressive, creepy or is finished with the conversation, use this action. Or, if both you and the user have already said goodbye, use this action instead of saying bye again. Use IGNORE any time the conversation has naturally ended. Do not use IGNORE if the user has engaged directly, or if something went wrong and you need to tell them. Only ignore if the user should be ignored.",
1462
- similes: [
1463
- "STOP_TALKING",
1464
- "STOP_CHATTING",
1465
- "STOP_CONVERSATION"
1466
- ],
1314
+ similes: ["STOP_TALKING", "STOP_CHATTING", "STOP_CONVERSATION"],
1467
1315
  parameters: [],
1468
1316
  examples: [
1469
1317
  [
@@ -1477,9 +1325,7 @@ var init_action_docs = __esm(() => {
1477
1325
  name: "{{name2}}",
1478
1326
  content: {
1479
1327
  text: "",
1480
- actions: [
1481
- "IGNORE"
1482
- ]
1328
+ actions: ["IGNORE"]
1483
1329
  }
1484
1330
  }
1485
1331
  ],
@@ -1494,9 +1340,7 @@ var init_action_docs = __esm(() => {
1494
1340
  name: "{{name2}}",
1495
1341
  content: {
1496
1342
  text: "",
1497
- actions: [
1498
- "IGNORE"
1499
- ]
1343
+ actions: ["IGNORE"]
1500
1344
  }
1501
1345
  }
1502
1346
  ],
@@ -1523,9 +1367,7 @@ var init_action_docs = __esm(() => {
1523
1367
  name: "{{name2}}",
1524
1368
  content: {
1525
1369
  text: "",
1526
- actions: [
1527
- "IGNORE"
1528
- ]
1370
+ actions: ["IGNORE"]
1529
1371
  }
1530
1372
  }
1531
1373
  ],
@@ -1546,9 +1388,7 @@ var init_action_docs = __esm(() => {
1546
1388
  name: "{{name1}}",
1547
1389
  content: {
1548
1390
  text: "",
1549
- actions: [
1550
- "IGNORE"
1551
- ]
1391
+ actions: ["IGNORE"]
1552
1392
  }
1553
1393
  }
1554
1394
  ],
@@ -1563,9 +1403,7 @@ var init_action_docs = __esm(() => {
1563
1403
  name: "{{name2}}",
1564
1404
  content: {
1565
1405
  text: "thats inappropriate",
1566
- actions: [
1567
- "IGNORE"
1568
- ]
1406
+ actions: ["IGNORE"]
1569
1407
  }
1570
1408
  }
1571
1409
  ]
@@ -1574,13 +1412,7 @@ var init_action_docs = __esm(() => {
1574
1412
  {
1575
1413
  name: "NONE",
1576
1414
  description: "Respond but perform no additional action. This is the default if the agent is speaking and not doing anything additional.",
1577
- similes: [
1578
- "NO_ACTION",
1579
- "NO_RESPONSE",
1580
- "NO_REACTION",
1581
- "NOOP",
1582
- "PASS"
1583
- ],
1415
+ similes: ["NO_ACTION", "NO_RESPONSE", "NO_REACTION", "NOOP", "PASS"],
1584
1416
  parameters: [],
1585
1417
  examples: [
1586
1418
  [
@@ -1594,9 +1426,7 @@ var init_action_docs = __esm(() => {
1594
1426
  name: "{{name2}}",
1595
1427
  content: {
1596
1428
  text: "oh hey",
1597
- actions: [
1598
- "NONE"
1599
- ]
1429
+ actions: ["NONE"]
1600
1430
  }
1601
1431
  }
1602
1432
  ],
@@ -1611,9 +1441,7 @@ var init_action_docs = __esm(() => {
1611
1441
  name: "{{name2}}",
1612
1442
  content: {
1613
1443
  text: "yeah but its a pain to get into node.js",
1614
- actions: [
1615
- "NONE"
1616
- ]
1444
+ actions: ["NONE"]
1617
1445
  }
1618
1446
  }
1619
1447
  ],
@@ -1622,18 +1450,14 @@ var init_action_docs = __esm(() => {
1622
1450
  name: "{{name1}}",
1623
1451
  content: {
1624
1452
  text: "u think aliens are real",
1625
- actions: [
1626
- "NONE"
1627
- ]
1453
+ actions: ["NONE"]
1628
1454
  }
1629
1455
  },
1630
1456
  {
1631
1457
  name: "{{name2}}",
1632
1458
  content: {
1633
1459
  text: "ya obviously",
1634
- actions: [
1635
- "NONE"
1636
- ]
1460
+ actions: ["NONE"]
1637
1461
  }
1638
1462
  }
1639
1463
  ],
@@ -1642,18 +1466,14 @@ var init_action_docs = __esm(() => {
1642
1466
  name: "{{name1}}",
1643
1467
  content: {
1644
1468
  text: "drop a joke on me",
1645
- actions: [
1646
- "NONE"
1647
- ]
1469
+ actions: ["NONE"]
1648
1470
  }
1649
1471
  },
1650
1472
  {
1651
1473
  name: "{{name2}}",
1652
1474
  content: {
1653
1475
  text: "why dont scientists trust atoms cuz they make up everything lmao",
1654
- actions: [
1655
- "NONE"
1656
- ]
1476
+ actions: ["NONE"]
1657
1477
  }
1658
1478
  }
1659
1479
  ]
@@ -1677,15 +1497,9 @@ var init_action_docs = __esm(() => {
1677
1497
  required: true,
1678
1498
  schema: {
1679
1499
  type: "string",
1680
- enum: [
1681
- "user",
1682
- "room"
1683
- ]
1500
+ enum: ["user", "room"]
1684
1501
  },
1685
- examples: [
1686
- "user",
1687
- "room"
1688
- ]
1502
+ examples: ["user", "room"]
1689
1503
  },
1690
1504
  {
1691
1505
  name: "source",
@@ -1694,10 +1508,7 @@ var init_action_docs = __esm(() => {
1694
1508
  schema: {
1695
1509
  type: "string"
1696
1510
  },
1697
- examples: [
1698
- "telegram",
1699
- "discord"
1700
- ]
1511
+ examples: ["telegram", "discord"]
1701
1512
  },
1702
1513
  {
1703
1514
  name: "target",
@@ -1706,10 +1517,7 @@ var init_action_docs = __esm(() => {
1706
1517
  schema: {
1707
1518
  type: "string"
1708
1519
  },
1709
- examples: [
1710
- "dev_guru",
1711
- "announcements"
1712
- ]
1520
+ examples: ["dev_guru", "announcements"]
1713
1521
  },
1714
1522
  {
1715
1523
  name: "text",
@@ -1718,10 +1526,7 @@ var init_action_docs = __esm(() => {
1718
1526
  schema: {
1719
1527
  type: "string"
1720
1528
  },
1721
- examples: [
1722
- "Hello!",
1723
- "Important announcement!"
1724
- ]
1529
+ examples: ["Hello!", "Important announcement!"]
1725
1530
  }
1726
1531
  ],
1727
1532
  examples: [
@@ -1736,9 +1541,7 @@ var init_action_docs = __esm(() => {
1736
1541
  name: "{{name2}}",
1737
1542
  content: {
1738
1543
  text: "Message sent to dev_guru on telegram.",
1739
- actions: [
1740
- "SEND_MESSAGE"
1741
- ]
1544
+ actions: ["SEND_MESSAGE"]
1742
1545
  }
1743
1546
  }
1744
1547
  ],
@@ -1753,9 +1556,7 @@ var init_action_docs = __esm(() => {
1753
1556
  name: "{{name2}}",
1754
1557
  content: {
1755
1558
  text: "Message sent to announcements.",
1756
- actions: [
1757
- "SEND_MESSAGE"
1758
- ]
1559
+ actions: ["SEND_MESSAGE"]
1759
1560
  }
1760
1561
  }
1761
1562
  ],
@@ -1770,9 +1571,7 @@ var init_action_docs = __esm(() => {
1770
1571
  name: "{{name2}}",
1771
1572
  content: {
1772
1573
  text: "Message sent to Jimmy.",
1773
- actions: [
1774
- "SEND_MESSAGE"
1775
- ]
1574
+ actions: ["SEND_MESSAGE"]
1776
1575
  }
1777
1576
  }
1778
1577
  ]
@@ -1780,10 +1579,7 @@ var init_action_docs = __esm(() => {
1780
1579
  exampleCalls: [
1781
1580
  {
1782
1581
  user: 'Send a message to @dev_guru on telegram saying "Hello!"',
1783
- actions: [
1784
- "REPLY",
1785
- "SEND_MESSAGE"
1786
- ],
1582
+ actions: ["REPLY", "SEND_MESSAGE"],
1787
1583
  params: {
1788
1584
  SEND_MESSAGE: {
1789
1585
  targetType: "user",
@@ -1824,10 +1620,7 @@ var init_action_docs = __esm(() => {
1824
1620
  schema: {
1825
1621
  type: "string"
1826
1622
  },
1827
- examples: [
1828
- "Sarah Chen",
1829
- "John Smith"
1830
- ]
1623
+ examples: ["Sarah Chen", "John Smith"]
1831
1624
  },
1832
1625
  {
1833
1626
  name: "notes",
@@ -1836,9 +1629,7 @@ var init_action_docs = __esm(() => {
1836
1629
  schema: {
1837
1630
  type: "string"
1838
1631
  },
1839
- examples: [
1840
- "Met at the AI meetup; interested in agents"
1841
- ]
1632
+ examples: ["Met at the AI meetup; interested in agents"]
1842
1633
  }
1843
1634
  ],
1844
1635
  examples: [
@@ -1889,11 +1680,7 @@ var init_action_docs = __esm(() => {
1889
1680
  {
1890
1681
  name: "UPDATE_CONTACT",
1891
1682
  description: "Update an existing contact's details in the rolodex.",
1892
- similes: [
1893
- "EDIT_CONTACT",
1894
- "MODIFY_CONTACT",
1895
- "CHANGE_CONTACT_INFO"
1896
- ],
1683
+ similes: ["EDIT_CONTACT", "MODIFY_CONTACT", "CHANGE_CONTACT_INFO"],
1897
1684
  parameters: [
1898
1685
  {
1899
1686
  name: "name",
@@ -1902,9 +1689,7 @@ var init_action_docs = __esm(() => {
1902
1689
  schema: {
1903
1690
  type: "string"
1904
1691
  },
1905
- examples: [
1906
- "Sarah Chen"
1907
- ]
1692
+ examples: ["Sarah Chen"]
1908
1693
  },
1909
1694
  {
1910
1695
  name: "updates",
@@ -1913,9 +1698,7 @@ var init_action_docs = __esm(() => {
1913
1698
  schema: {
1914
1699
  type: "string"
1915
1700
  },
1916
- examples: [
1917
- '{"notes":"prefers email","tags":["friend"]}'
1918
- ]
1701
+ examples: ['{"notes":"prefers email","tags":["friend"]}']
1919
1702
  }
1920
1703
  ],
1921
1704
  examples: [
@@ -1953,9 +1736,7 @@ var init_action_docs = __esm(() => {
1953
1736
  schema: {
1954
1737
  type: "string"
1955
1738
  },
1956
- examples: [
1957
- "Sarah Chen"
1958
- ]
1739
+ examples: ["Sarah Chen"]
1959
1740
  }
1960
1741
  ],
1961
1742
  examples: [
@@ -2009,10 +1790,7 @@ var init_action_docs = __esm(() => {
2009
1790
  schema: {
2010
1791
  type: "string"
2011
1792
  },
2012
- examples: [
2013
- "sarah",
2014
- "AI meetup"
2015
- ]
1793
+ examples: ["sarah", "AI meetup"]
2016
1794
  }
2017
1795
  ],
2018
1796
  examples: [
@@ -2055,9 +1833,7 @@ var init_action_docs = __esm(() => {
2055
1833
  schema: {
2056
1834
  type: "string"
2057
1835
  },
2058
- examples: [
2059
- "Sarah Chen"
2060
- ]
1836
+ examples: ["Sarah Chen"]
2061
1837
  },
2062
1838
  {
2063
1839
  name: "when",
@@ -2066,9 +1842,7 @@ var init_action_docs = __esm(() => {
2066
1842
  schema: {
2067
1843
  type: "string"
2068
1844
  },
2069
- examples: [
2070
- "2026-02-01T09:00:00Z"
2071
- ]
1845
+ examples: ["2026-02-01T09:00:00Z"]
2072
1846
  },
2073
1847
  {
2074
1848
  name: "reason",
@@ -2077,9 +1851,7 @@ var init_action_docs = __esm(() => {
2077
1851
  schema: {
2078
1852
  type: "string"
2079
1853
  },
2080
- examples: [
2081
- "Check in about the agent framework demo"
2082
- ]
1854
+ examples: ["Check in about the agent framework demo"]
2083
1855
  }
2084
1856
  ],
2085
1857
  examples: [
@@ -2119,9 +1891,7 @@ var init_action_docs = __esm(() => {
2119
1891
  schema: {
2120
1892
  type: "string"
2121
1893
  },
2122
- examples: [
2123
- "c0a8012e"
2124
- ]
1894
+ examples: ["c0a8012e"]
2125
1895
  },
2126
1896
  {
2127
1897
  name: "option",
@@ -2130,10 +1900,7 @@ var init_action_docs = __esm(() => {
2130
1900
  schema: {
2131
1901
  type: "string"
2132
1902
  },
2133
- examples: [
2134
- "APPROVE",
2135
- "ABORT"
2136
- ]
1903
+ examples: ["APPROVE", "ABORT"]
2137
1904
  }
2138
1905
  ],
2139
1906
  examples: [
@@ -2148,9 +1915,7 @@ var init_action_docs = __esm(() => {
2148
1915
  name: "{{name2}}",
2149
1916
  content: {
2150
1917
  text: "I've selected option 1 for the pending task.",
2151
- actions: [
2152
- "CHOOSE_OPTION"
2153
- ]
1918
+ actions: ["CHOOSE_OPTION"]
2154
1919
  }
2155
1920
  }
2156
1921
  ]
@@ -2177,9 +1942,7 @@ var init_action_docs = __esm(() => {
2177
1942
  schema: {
2178
1943
  type: "string"
2179
1944
  },
2180
- examples: [
2181
- "00000000-0000-0000-0000-000000000000"
2182
- ]
1945
+ examples: ["00000000-0000-0000-0000-000000000000"]
2183
1946
  }
2184
1947
  ],
2185
1948
  examples: [
@@ -2194,9 +1957,7 @@ var init_action_docs = __esm(() => {
2194
1957
  name: "{{name2}}",
2195
1958
  content: {
2196
1959
  text: "Sure, I will now follow this room and chime in",
2197
- actions: [
2198
- "FOLLOW_ROOM"
2199
- ]
1960
+ actions: ["FOLLOW_ROOM"]
2200
1961
  }
2201
1962
  }
2202
1963
  ],
@@ -2211,9 +1972,7 @@ var init_action_docs = __esm(() => {
2211
1972
  name: "{{name2}}",
2212
1973
  content: {
2213
1974
  text: "you got it, i'm here",
2214
- actions: [
2215
- "FOLLOW_ROOM"
2216
- ]
1975
+ actions: ["FOLLOW_ROOM"]
2217
1976
  }
2218
1977
  }
2219
1978
  ]
@@ -2240,9 +1999,7 @@ var init_action_docs = __esm(() => {
2240
1999
  schema: {
2241
2000
  type: "string"
2242
2001
  },
2243
- examples: [
2244
- "00000000-0000-0000-0000-000000000000"
2245
- ]
2002
+ examples: ["00000000-0000-0000-0000-000000000000"]
2246
2003
  }
2247
2004
  ],
2248
2005
  examples: [
@@ -2257,9 +2014,7 @@ var init_action_docs = __esm(() => {
2257
2014
  name: "{{name2}}",
2258
2015
  content: {
2259
2016
  text: "Okay, I'll stop following this room",
2260
- actions: [
2261
- "UNFOLLOW_ROOM"
2262
- ]
2017
+ actions: ["UNFOLLOW_ROOM"]
2263
2018
  }
2264
2019
  }
2265
2020
  ]
@@ -2286,9 +2041,7 @@ var init_action_docs = __esm(() => {
2286
2041
  schema: {
2287
2042
  type: "string"
2288
2043
  },
2289
- examples: [
2290
- "00000000-0000-0000-0000-000000000000"
2291
- ]
2044
+ examples: ["00000000-0000-0000-0000-000000000000"]
2292
2045
  }
2293
2046
  ],
2294
2047
  examples: [
@@ -2303,9 +2056,7 @@ var init_action_docs = __esm(() => {
2303
2056
  name: "{{name2}}",
2304
2057
  content: {
2305
2058
  text: "Got it",
2306
- actions: [
2307
- "MUTE_ROOM"
2308
- ]
2059
+ actions: ["MUTE_ROOM"]
2309
2060
  }
2310
2061
  }
2311
2062
  ],
@@ -2320,9 +2071,7 @@ var init_action_docs = __esm(() => {
2320
2071
  name: "{{name2}}",
2321
2072
  content: {
2322
2073
  text: "np going silent",
2323
- actions: [
2324
- "MUTE_ROOM"
2325
- ]
2074
+ actions: ["MUTE_ROOM"]
2326
2075
  }
2327
2076
  }
2328
2077
  ]
@@ -2349,9 +2098,7 @@ var init_action_docs = __esm(() => {
2349
2098
  schema: {
2350
2099
  type: "string"
2351
2100
  },
2352
- examples: [
2353
- "00000000-0000-0000-0000-000000000000"
2354
- ]
2101
+ examples: ["00000000-0000-0000-0000-000000000000"]
2355
2102
  }
2356
2103
  ],
2357
2104
  examples: [
@@ -2366,9 +2113,7 @@ var init_action_docs = __esm(() => {
2366
2113
  name: "{{name2}}",
2367
2114
  content: {
2368
2115
  text: "I've unmuted this room and will respond again",
2369
- actions: [
2370
- "UNMUTE_ROOM"
2371
- ]
2116
+ actions: ["UNMUTE_ROOM"]
2372
2117
  }
2373
2118
  }
2374
2119
  ]
@@ -2396,9 +2141,7 @@ var init_action_docs = __esm(() => {
2396
2141
  schema: {
2397
2142
  type: "string"
2398
2143
  },
2399
- examples: [
2400
- '[{"key":"model","value":"gpt-5"}]'
2401
- ]
2144
+ examples: ['[{"key":"model","value":"gpt-5"}]']
2402
2145
  }
2403
2146
  ],
2404
2147
  examples: [
@@ -2413,9 +2156,7 @@ var init_action_docs = __esm(() => {
2413
2156
  name: "{{name2}}",
2414
2157
  content: {
2415
2158
  text: "I've updated your language setting to French.",
2416
- actions: [
2417
- "UPDATE_SETTINGS"
2418
- ]
2159
+ actions: ["UPDATE_SETTINGS"]
2419
2160
  }
2420
2161
  }
2421
2162
  ]
@@ -2441,9 +2182,7 @@ var init_action_docs = __esm(() => {
2441
2182
  schema: {
2442
2183
  type: "string"
2443
2184
  },
2444
- examples: [
2445
- "00000000-0000-0000-0000-000000000000"
2446
- ]
2185
+ examples: ["00000000-0000-0000-0000-000000000000"]
2447
2186
  },
2448
2187
  {
2449
2188
  name: "role",
@@ -2452,10 +2191,7 @@ var init_action_docs = __esm(() => {
2452
2191
  schema: {
2453
2192
  type: "string"
2454
2193
  },
2455
- examples: [
2456
- "admin",
2457
- "member"
2458
- ]
2194
+ examples: ["admin", "member"]
2459
2195
  }
2460
2196
  ],
2461
2197
  examples: [
@@ -2470,9 +2206,7 @@ var init_action_docs = __esm(() => {
2470
2206
  name: "{{name2}}",
2471
2207
  content: {
2472
2208
  text: "I've assigned the admin role to Sarah.",
2473
- actions: [
2474
- "UPDATE_ROLE"
2475
- ]
2209
+ actions: ["UPDATE_ROLE"]
2476
2210
  }
2477
2211
  }
2478
2212
  ]
@@ -2496,9 +2230,7 @@ var init_action_docs = __esm(() => {
2496
2230
  schema: {
2497
2231
  type: "string"
2498
2232
  },
2499
- examples: [
2500
- "00000000-0000-0000-0000-000000000000"
2501
- ]
2233
+ examples: ["00000000-0000-0000-0000-000000000000"]
2502
2234
  },
2503
2235
  {
2504
2236
  name: "updates",
@@ -2507,9 +2239,7 @@ var init_action_docs = __esm(() => {
2507
2239
  schema: {
2508
2240
  type: "string"
2509
2241
  },
2510
- examples: [
2511
- '[{"name":"bio","value":"Loves Rust"}]'
2512
- ]
2242
+ examples: ['[{"name":"bio","value":"Loves Rust"}]']
2513
2243
  }
2514
2244
  ],
2515
2245
  examples: [
@@ -2524,9 +2254,7 @@ var init_action_docs = __esm(() => {
2524
2254
  name: "{{name2}}",
2525
2255
  content: {
2526
2256
  text: "I've updated your profile bio.",
2527
- actions: [
2528
- "UPDATE_ENTITY"
2529
- ]
2257
+ actions: ["UPDATE_ENTITY"]
2530
2258
  }
2531
2259
  }
2532
2260
  ]
@@ -2552,9 +2280,7 @@ var init_action_docs = __esm(() => {
2552
2280
  schema: {
2553
2281
  type: "string"
2554
2282
  },
2555
- examples: [
2556
- "A futuristic cityscape at sunset, cinematic lighting"
2557
- ]
2283
+ examples: ["A futuristic cityscape at sunset, cinematic lighting"]
2558
2284
  }
2559
2285
  ],
2560
2286
  examples: [
@@ -2569,9 +2295,7 @@ var init_action_docs = __esm(() => {
2569
2295
  name: "{{name2}}",
2570
2296
  content: {
2571
2297
  text: "Sure, I'll create a futuristic city image for you. One moment...",
2572
- actions: [
2573
- "GENERATE_IMAGE"
2574
- ]
2298
+ actions: ["GENERATE_IMAGE"]
2575
2299
  }
2576
2300
  }
2577
2301
  ],
@@ -2586,9 +2310,7 @@ var init_action_docs = __esm(() => {
2586
2310
  name: "{{name2}}",
2587
2311
  content: {
2588
2312
  text: "I'll create a visualization of a neural network for you, one sec...",
2589
- actions: [
2590
- "GENERATE_IMAGE"
2591
- ]
2313
+ actions: ["GENERATE_IMAGE"]
2592
2314
  }
2593
2315
  }
2594
2316
  ],
@@ -2603,9 +2325,7 @@ var init_action_docs = __esm(() => {
2603
2325
  name: "{{name2}}",
2604
2326
  content: {
2605
2327
  text: "Creating an image to capture calmness for you, please wait a moment...",
2606
- actions: [
2607
- "GENERATE_IMAGE"
2608
- ]
2328
+ actions: ["GENERATE_IMAGE"]
2609
2329
  }
2610
2330
  }
2611
2331
  ]
@@ -3099,11 +2819,7 @@ Message Sender: Lisa (user-789)`,
3099
2819
  {
3100
2820
  name: "LONG_TERM_MEMORY_EXTRACTION",
3101
2821
  description: "Extracts long-term facts about users from conversations. Identifies and stores persistent information like preferences, interests, and personal details.",
3102
- similes: [
3103
- "MEMORY_EXTRACTION",
3104
- "FACT_LEARNING",
3105
- "USER_PROFILING"
3106
- ],
2822
+ similes: ["MEMORY_EXTRACTION", "FACT_LEARNING", "USER_PROFILING"],
3107
2823
  alwaysRun: true,
3108
2824
  examples: []
3109
2825
  }
@@ -3335,11 +3051,7 @@ Message Sender: Lisa (user-789)`,
3335
3051
  {
3336
3052
  name: "LONG_TERM_MEMORY_EXTRACTION",
3337
3053
  description: "Extracts long-term facts about users from conversations. Identifies and stores persistent information like preferences, interests, and personal details.",
3338
- similes: [
3339
- "MEMORY_EXTRACTION",
3340
- "FACT_LEARNING",
3341
- "USER_PROFILING"
3342
- ],
3054
+ similes: ["MEMORY_EXTRACTION", "FACT_LEARNING", "USER_PROFILING"],
3343
3055
  alwaysRun: true,
3344
3056
  examples: []
3345
3057
  }
@@ -3427,7 +3139,7 @@ var init_dist_node = __esm(() => {
3427
3139
  init_v4();
3428
3140
  });
3429
3141
 
3430
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.js
3142
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.js
3431
3143
  var __defProp2, __exportAll = (all, no_symbols) => {
3432
3144
  let target = {};
3433
3145
  for (var name in all)
@@ -3443,7 +3155,7 @@ var init_runtime = __esm(() => {
3443
3155
  __defProp2 = Object.defineProperty;
3444
3156
  });
3445
3157
 
3446
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/documents/document.js
3158
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/documents/document.js
3447
3159
  var Document = class {
3448
3160
  pageContent;
3449
3161
  metadata;
@@ -3456,7 +3168,7 @@ var Document = class {
3456
3168
  };
3457
3169
  var init_document = () => {};
3458
3170
 
3459
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tools/utils.js
3171
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tools/utils.js
3460
3172
  function _isToolCall(toolCall) {
3461
3173
  return !!(toolCall && typeof toolCall === "object" && ("type" in toolCall) && toolCall.type === "tool_call");
3462
3174
  }
@@ -3567,7 +3279,7 @@ var require_camelcase = __commonJS((exports, module) => {
3567
3279
  module.exports.default = camelCase;
3568
3280
  });
3569
3281
 
3570
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/load/map_keys.js
3282
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/load/map_keys.js
3571
3283
  function keyToJson(key, map) {
3572
3284
  return map?.[key] || import_decamelize.default(key);
3573
3285
  }
@@ -3584,7 +3296,7 @@ var init_map_keys = __esm(() => {
3584
3296
  import_camelcase = __toESM(require_camelcase(), 1);
3585
3297
  });
3586
3298
 
3587
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/load/validation.js
3299
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/load/validation.js
3588
3300
  function needsEscaping(obj) {
3589
3301
  return "lc" in obj || Object.keys(obj).length === 1 && "__lc_escaped__" in obj;
3590
3302
  }
@@ -3634,7 +3346,7 @@ function escapeIfNeeded(value, pathSet = /* @__PURE__ */ new WeakSet) {
3634
3346
  var LC_ESCAPED_KEY = "__lc_escaped__";
3635
3347
  var init_validation = () => {};
3636
3348
 
3637
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/load/serializable.js
3349
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/load/serializable.js
3638
3350
  function shallowCopy(obj) {
3639
3351
  return Array.isArray(obj) ? [...obj] : { ...obj };
3640
3352
  }
@@ -3746,7 +3458,7 @@ var init_serializable = __esm(() => {
3746
3458
  init_validation();
3747
3459
  });
3748
3460
 
3749
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.js
3461
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.js
3750
3462
  var TRACING_ALS_KEY, _CONTEXT_VARIABLES_KEY, setGlobalAsyncLocalStorageInstance = (instance) => {
3751
3463
  globalThis[TRACING_ALS_KEY] = instance;
3752
3464
  }, getGlobalAsyncLocalStorageInstance = () => {
@@ -3757,7 +3469,7 @@ var init_globals = __esm(() => {
3757
3469
  _CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
3758
3470
  });
3759
3471
 
3760
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/namespace.js
3472
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/namespace.js
3761
3473
  function createNamespace(path) {
3762
3474
  const symbol = Symbol.for(path);
3763
3475
  return {
@@ -3789,7 +3501,7 @@ var init_namespace = __esm(() => {
3789
3501
  ns = createNamespace("langchain");
3790
3502
  });
3791
3503
 
3792
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/errors/index.js
3504
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/errors/index.js
3793
3505
  var ns2, LangChainError, ModelAbortError, ContextOverflowError;
3794
3506
  var init_errors = __esm(() => {
3795
3507
  init_runtime();
@@ -3825,7 +3537,7 @@ var init_errors = __esm(() => {
3825
3537
  };
3826
3538
  });
3827
3539
 
3828
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/json.js
3540
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/json.js
3829
3541
  function strictParsePartialJson(s) {
3830
3542
  try {
3831
3543
  return JSON.parse(s);
@@ -4053,7 +3765,7 @@ function parsePartialJson(s) {
4053
3765
  }
4054
3766
  var init_json = () => {};
4055
3767
 
4056
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/content/data.js
3768
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/content/data.js
4057
3769
  function isDataContentBlock(content_block) {
4058
3770
  return typeof content_block === "object" && content_block !== null && "type" in content_block && typeof content_block.type === "string" && "source_type" in content_block && (content_block.source_type === "url" || content_block.source_type === "base64" || content_block.source_type === "text" || content_block.source_type === "id");
4059
3771
  }
@@ -4080,7 +3792,7 @@ function parseBase64DataUrl({ dataUrl: data_url, asTypedArray = false }) {
4080
3792
  }
4081
3793
  var init_data = () => {};
4082
3794
 
4083
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/utils.js
3795
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/utils.js
4084
3796
  function _isContentBlock(block, type) {
4085
3797
  return _isObject(block) && block.type === type;
4086
3798
  }
@@ -4109,7 +3821,7 @@ function safeParseJson(value) {
4109
3821
  var iife = (fn) => fn();
4110
3822
  var init_utils2 = () => {};
4111
3823
 
4112
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/anthropic.js
3824
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/anthropic.js
4113
3825
  function convertAnthropicAnnotation(citation) {
4114
3826
  if (citation.type === "char_location" && _isString(citation.document_title) && _isNumber(citation.start_char_index) && _isNumber(citation.end_char_index) && _isString(citation.cited_text)) {
4115
3827
  const { document_title, start_char_index, end_char_index, cited_text, ...rest } = citation;
@@ -4424,7 +4136,7 @@ var init_anthropic = __esm(() => {
4424
4136
  };
4425
4137
  });
4426
4138
 
4427
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/data.js
4139
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/data.js
4428
4140
  function convertToV1FromDataContentBlock(block) {
4429
4141
  if (isURLContentBlock(block))
4430
4142
  return {
@@ -4502,7 +4214,7 @@ var init_data2 = __esm(() => {
4502
4214
  init_utils2();
4503
4215
  });
4504
4216
 
4505
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/openai.js
4217
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/openai.js
4506
4218
  function convertToV1FromChatCompletions(message) {
4507
4219
  const blocks = [];
4508
4220
  if (typeof message.content === "string") {
@@ -4803,13 +4515,13 @@ var init_openai = __esm(() => {
4803
4515
  };
4804
4516
  });
4805
4517
 
4806
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/message.js
4518
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/message.js
4807
4519
  function isMessage(message) {
4808
4520
  return typeof message === "object" && message !== null && "type" in message && "content" in message && (typeof message.content === "string" || Array.isArray(message.content));
4809
4521
  }
4810
4522
  var init_message = () => {};
4811
4523
 
4812
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/format.js
4524
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/format.js
4813
4525
  function convertToFormattedString(message, format = "pretty") {
4814
4526
  if (format === "pretty")
4815
4527
  return convertToPrettyString(message);
@@ -4850,7 +4562,7 @@ function convertToPrettyString(message) {
4850
4562
  }
4851
4563
  var init_format = () => {};
4852
4564
 
4853
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/base.js
4565
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/base.js
4854
4566
  function mergeContent(firstContent, secondContent) {
4855
4567
  if (typeof firstContent === "string") {
4856
4568
  if (firstContent === "")
@@ -5123,7 +4835,7 @@ var init_base = __esm(() => {
5123
4835
  };
5124
4836
  });
5125
4837
 
5126
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/tool.js
4838
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/tool.js
5127
4839
  function defaultToolCallParser(rawToolCalls) {
5128
4840
  const toolCalls = [];
5129
4841
  const invalidToolCalls = [];
@@ -5155,7 +4867,7 @@ var init_tool = __esm(() => {
5155
4867
  init_base();
5156
4868
  });
5157
4869
 
5158
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.js
4870
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.js
5159
4871
  function convertFileFormatToMimeType(format) {
5160
4872
  switch (format) {
5161
4873
  case "csv":
@@ -5396,7 +5108,7 @@ var init_bedrock_converse = __esm(() => {
5396
5108
  };
5397
5109
  });
5398
5110
 
5399
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/deepseek.js
5111
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/deepseek.js
5400
5112
  function convertToV1FromDeepSeekMessage(message) {
5401
5113
  const blocks = [];
5402
5114
  const reasoningContent = message.additional_kwargs?.reasoning_content;
@@ -5436,7 +5148,7 @@ var init_deepseek = __esm(() => {
5436
5148
  };
5437
5149
  });
5438
5150
 
5439
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/google_genai.js
5151
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/google_genai.js
5440
5152
  function convertToV1FromChatGoogleMessage(message) {
5441
5153
  function* iterateContent() {
5442
5154
  const content = typeof message.content === "string" ? [{
@@ -5515,7 +5227,7 @@ var init_google_genai = __esm(() => {
5515
5227
  };
5516
5228
  });
5517
5229
 
5518
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.js
5230
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.js
5519
5231
  function convertToV1FromChatVertexMessage(message) {
5520
5232
  function* iterateContent() {
5521
5233
  const content = typeof message.content === "string" ? [{
@@ -5600,7 +5312,7 @@ var init_google_vertexai = __esm(() => {
5600
5312
  };
5601
5313
  });
5602
5314
 
5603
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/groq.js
5315
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/groq.js
5604
5316
  function convertToV1FromGroqMessage(message) {
5605
5317
  const blocks = [];
5606
5318
  const parsedReasoning = message.additional_kwargs?.reasoning;
@@ -5664,7 +5376,7 @@ var init_groq = __esm(() => {
5664
5376
  };
5665
5377
  });
5666
5378
 
5667
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/ollama.js
5379
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/ollama.js
5668
5380
  function convertToV1FromOllamaMessage(message) {
5669
5381
  const blocks = [];
5670
5382
  const reasoningContent = message.additional_kwargs?.reasoning_content;
@@ -5704,7 +5416,7 @@ var init_ollama = __esm(() => {
5704
5416
  };
5705
5417
  });
5706
5418
 
5707
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/xai.js
5419
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/xai.js
5708
5420
  function convertToV1FromXAIMessage(message) {
5709
5421
  const blocks = [];
5710
5422
  if (_isObject(message.additional_kwargs?.reasoning)) {
@@ -5759,7 +5471,7 @@ var init_xai = __esm(() => {
5759
5471
  };
5760
5472
  });
5761
5473
 
5762
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/google.js
5474
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/google.js
5763
5475
  function convertToV1FromChatGoogleMessage2(message) {
5764
5476
  function* iterateContent() {
5765
5477
  const content = iife(() => {
@@ -5870,7 +5582,7 @@ var init_google = __esm(() => {
5870
5582
  };
5871
5583
  });
5872
5584
 
5873
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/block_translators/index.js
5585
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/index.js
5874
5586
  function getTranslator(modelProvider) {
5875
5587
  return globalThis.lc_block_translators_registry.get(modelProvider);
5876
5588
  }
@@ -5899,7 +5611,7 @@ var init_block_translators = __esm(() => {
5899
5611
  ]);
5900
5612
  });
5901
5613
 
5902
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/metadata.js
5614
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/metadata.js
5903
5615
  function mergeResponseMetadata(a, b) {
5904
5616
  return _mergeDicts(a, b) ?? {};
5905
5617
  }
@@ -5944,7 +5656,7 @@ var init_metadata = __esm(() => {
5944
5656
  init_base();
5945
5657
  });
5946
5658
 
5947
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/ai.js
5659
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/ai.js
5948
5660
  var AIMessage, AIMessageChunk;
5949
5661
  var init_ai = __esm(() => {
5950
5662
  init_base();
@@ -6179,32 +5891,32 @@ Please upgrade your packages to versions that set`,
6179
5891
  };
6180
5892
  });
6181
5893
 
6182
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/chat.js
5894
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/chat.js
6183
5895
  var init_chat = __esm(() => {
6184
5896
  init_base();
6185
5897
  });
6186
5898
 
6187
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/function.js
5899
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/function.js
6188
5900
  var init_function = __esm(() => {
6189
5901
  init_base();
6190
5902
  });
6191
5903
 
6192
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/human.js
5904
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/human.js
6193
5905
  var init_human = __esm(() => {
6194
5906
  init_base();
6195
5907
  });
6196
5908
 
6197
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/modifier.js
5909
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/modifier.js
6198
5910
  var init_modifier = __esm(() => {
6199
5911
  init_base();
6200
5912
  });
6201
5913
 
6202
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/system.js
5914
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/system.js
6203
5915
  var init_system = __esm(() => {
6204
5916
  init_base();
6205
5917
  });
6206
5918
 
6207
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/messages/utils.js
5919
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/utils.js
6208
5920
  function _contentBlockToString(block) {
6209
5921
  if (typeof block === "string")
6210
5922
  return block;
@@ -6332,7 +6044,7 @@ var init_utils3 = __esm(() => {
6332
6044
  init_system();
6333
6045
  });
6334
6046
 
6335
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/env.js
6047
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/env.js
6336
6048
  function getRuntimeEnvironment() {
6337
6049
  if (runtimeEnvironment === undefined)
6338
6050
  runtimeEnvironment = {
@@ -6529,7 +6241,7 @@ var init_esm = __esm(() => {
6529
6241
  init_validate();
6530
6242
  });
6531
6243
 
6532
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/callbacks/base.js
6244
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/callbacks/base.js
6533
6245
  var BaseCallbackHandlerMethodsClass = class {
6534
6246
  }, BaseCallbackHandler, isBaseCallbackHandler = (x) => {
6535
6247
  const callbackHandler = x;
@@ -7285,11 +6997,11 @@ var init_wrapper = __esm(() => {
7285
6997
  parse = import_dist.default.parse;
7286
6998
  });
7287
6999
 
7288
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/experimental/otel/constants.js
7000
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/experimental/otel/constants.js
7289
7001
  var GEN_AI_OPERATION_NAME = "gen_ai.operation.name", GEN_AI_SYSTEM = "gen_ai.system", GEN_AI_REQUEST_MODEL = "gen_ai.request.model", GEN_AI_RESPONSE_MODEL = "gen_ai.response.model", GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens", GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens", GEN_AI_USAGE_TOTAL_TOKENS = "gen_ai.usage.total_tokens", GEN_AI_REQUEST_MAX_TOKENS = "gen_ai.request.max_tokens", GEN_AI_REQUEST_TEMPERATURE = "gen_ai.request.temperature", GEN_AI_REQUEST_TOP_P = "gen_ai.request.top_p", GEN_AI_REQUEST_FREQUENCY_PENALTY = "gen_ai.request.frequency_penalty", GEN_AI_REQUEST_PRESENCE_PENALTY = "gen_ai.request.presence_penalty", GEN_AI_RESPONSE_FINISH_REASONS = "gen_ai.response.finish_reasons", GENAI_PROMPT = "gen_ai.prompt", GENAI_COMPLETION = "gen_ai.completion", GEN_AI_REQUEST_EXTRA_QUERY = "gen_ai.request.extra_query", GEN_AI_REQUEST_EXTRA_BODY = "gen_ai.request.extra_body", GEN_AI_SERIALIZED_NAME = "gen_ai.serialized.name", GEN_AI_SERIALIZED_SIGNATURE = "gen_ai.serialized.signature", GEN_AI_SERIALIZED_DOC = "gen_ai.serialized.doc", GEN_AI_RESPONSE_ID = "gen_ai.response.id", GEN_AI_RESPONSE_SERVICE_TIER = "gen_ai.response.service_tier", GEN_AI_RESPONSE_SYSTEM_FINGERPRINT = "gen_ai.response.system_fingerprint", GEN_AI_USAGE_INPUT_TOKEN_DETAILS = "gen_ai.usage.input_token_details", GEN_AI_USAGE_OUTPUT_TOKEN_DETAILS = "gen_ai.usage.output_token_details", LANGSMITH_SESSION_ID = "langsmith.trace.session_id", LANGSMITH_SESSION_NAME = "langsmith.trace.session_name", LANGSMITH_RUN_TYPE = "langsmith.span.kind", LANGSMITH_NAME = "langsmith.trace.name", LANGSMITH_METADATA = "langsmith.metadata", LANGSMITH_TAGS = "langsmith.span.tags", LANGSMITH_REQUEST_STREAMING = "langsmith.request.streaming", LANGSMITH_REQUEST_HEADERS = "langsmith.request.headers";
7290
7002
  var init_constants = () => {};
7291
7003
 
7292
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/singletons/fetch.js
7004
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/fetch.js
7293
7005
  var DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args), globalFetchSupportsWebStreaming = undefined, LANGSMITH_FETCH_IMPLEMENTATION_KEY, _shouldStreamForGlobalFetchImplementation = () => {
7294
7006
  const overriddenFetchImpl = globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];
7295
7007
  if (overriddenFetchImpl === undefined) {
@@ -7314,7 +7026,7 @@ var init_fetch = __esm(() => {
7314
7026
  LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for("ls:fetch_implementation");
7315
7027
  });
7316
7028
 
7317
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/project.js
7029
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/project.js
7318
7030
  var getDefaultProjectName = () => {
7319
7031
  return getLangSmithEnvironmentVariable("PROJECT") ?? getEnvironmentVariable2("LANGCHAIN_SESSION") ?? "default";
7320
7032
  };
@@ -7322,7 +7034,7 @@ var init_project = __esm(() => {
7322
7034
  init_env2();
7323
7035
  });
7324
7036
 
7325
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/warn.js
7037
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/warn.js
7326
7038
  function warnOnce(message) {
7327
7039
  if (!warnedMessages[message]) {
7328
7040
  console.warn(message);
@@ -7334,7 +7046,7 @@ var init_warn = __esm(() => {
7334
7046
  warnedMessages = {};
7335
7047
  });
7336
7048
 
7337
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/xxhash/xxhash.js
7049
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/xxhash/xxhash.js
7338
7050
  function hexToBytes(hex) {
7339
7051
  const bytes = new Uint8Array(hex.length / 2);
7340
7052
  for (let i = 0;i < hex.length; i += 2) {
@@ -7609,7 +7321,7 @@ var init_xxhash = __esm(() => {
7609
7321
  ACC_NB = STRIPE_LEN / 8;
7610
7322
  });
7611
7323
 
7612
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/_uuid.js
7324
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/_uuid.js
7613
7325
  function assertUuid(str, which) {
7614
7326
  if (!UUID_REGEX.test(str)) {
7615
7327
  const msg = which !== undefined ? `Invalid UUID for ${which}: ${str}` : `Invalid UUID: ${str}`;
@@ -7677,12 +7389,12 @@ var init__uuid = __esm(() => {
7677
7389
  _textEncoder = new TextEncoder;
7678
7390
  });
7679
7391
 
7680
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/uuid.js
7392
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/uuid.js
7681
7393
  var init_uuid = __esm(() => {
7682
7394
  init__uuid();
7683
7395
  });
7684
7396
 
7685
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/fs.js
7397
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/fs.js
7686
7398
  import * as nodeFs from "node:fs";
7687
7399
  import * as nodeFsPromises from "node:fs/promises";
7688
7400
  import * as nodePath from "node:path";
@@ -7726,7 +7438,7 @@ var init_fs = __esm(() => {
7726
7438
  path = nodePath;
7727
7439
  });
7728
7440
 
7729
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/prompt_cache/index.js
7441
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/prompt_cache/index.js
7730
7442
  function isStale(entry, ttlSeconds) {
7731
7443
  if (ttlSeconds === null) {
7732
7444
  return false;
@@ -7951,8 +7663,8 @@ var init_prompt_cache = __esm(() => {
7951
7663
  promptCacheSingleton = new PromptCache;
7952
7664
  });
7953
7665
 
7954
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/index.js
7955
- var __version__ = "0.5.12";
7666
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/index.js
7667
+ var __version__ = "0.5.11";
7956
7668
  var init_dist = __esm(() => {
7957
7669
  init_client();
7958
7670
  init_run_trees();
@@ -7962,7 +7674,7 @@ var init_dist = __esm(() => {
7962
7674
  init_prompt_cache();
7963
7675
  });
7964
7676
 
7965
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/env.js
7677
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/env.js
7966
7678
  function getRuntimeEnvironment2() {
7967
7679
  if (runtimeEnvironment2 === undefined) {
7968
7680
  const env = getEnv2();
@@ -8093,7 +7805,7 @@ var init_env2 = __esm(() => {
8093
7805
  init_dist();
8094
7806
  });
8095
7807
 
8096
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/singletons/otel.js
7808
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/otel.js
8097
7809
  class MockTracer {
8098
7810
  constructor() {
8099
7811
  Object.defineProperty(this, "hasWarned", {
@@ -8206,7 +7918,7 @@ var init_otel = __esm(() => {
8206
7918
  OTELProviderSingleton = new OTELProvider;
8207
7919
  });
8208
7920
 
8209
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/experimental/otel/translator.js
7921
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/experimental/otel/translator.js
8210
7922
  function getOperationName(runType) {
8211
7923
  return WELL_KNOWN_OPERATION_NAMES[runType] || runType;
8212
7924
  }
@@ -8551,7 +8263,7 @@ var init_translator = __esm(() => {
8551
8263
  };
8552
8264
  });
8553
8265
 
8554
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/is-network-error/index.js
8266
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/is-network-error/index.js
8555
8267
  function isNetworkError(error) {
8556
8268
  const isValid = error && isError(error) && error.name === "TypeError" && typeof error.message === "string";
8557
8269
  if (!isValid) {
@@ -8582,7 +8294,7 @@ var init_is_network_error = __esm(() => {
8582
8294
  ]);
8583
8295
  });
8584
8296
 
8585
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/p-retry/index.js
8297
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/p-retry/index.js
8586
8298
  function validateRetries(retries) {
8587
8299
  if (typeof retries === "number") {
8588
8300
  if (retries < 0) {
@@ -9270,14 +8982,14 @@ var require_dist3 = __commonJS((exports) => {
9270
8982
  exports.default = PQueue;
9271
8983
  });
9272
8984
 
9273
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/p-queue.js
8985
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/p-queue.js
9274
8986
  var import_p_queue, PQueue;
9275
8987
  var init_p_queue = __esm(() => {
9276
8988
  import_p_queue = __toESM(require_dist3(), 1);
9277
8989
  PQueue = "default" in import_p_queue.default ? import_p_queue.default.default : import_p_queue.default;
9278
8990
  });
9279
8991
 
9280
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/async_caller.js
8992
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/async_caller.js
9281
8993
  class AsyncCaller {
9282
8994
  constructor(params) {
9283
8995
  Object.defineProperty(this, "maxConcurrency", {
@@ -9401,7 +9113,7 @@ var init_async_caller = __esm(() => {
9401
9113
  ];
9402
9114
  });
9403
9115
 
9404
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/messages.js
9116
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/messages.js
9405
9117
  function isLangChainMessage(message) {
9406
9118
  return typeof message?._getType === "function";
9407
9119
  }
@@ -11199,7 +10911,7 @@ var require_semver2 = __commonJS((exports, module) => {
11199
10911
  };
11200
10912
  });
11201
10913
 
11202
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/error.js
10914
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/error.js
11203
10915
  function getInvalidPromptIdentifierMsg(identifier) {
11204
10916
  return `Invalid prompt identifier format: "${identifier}". ` + `Expected one of:
11205
10917
  ` + ` - "prompt-name" (for private prompts)
@@ -11294,7 +11006,7 @@ var init_error = __esm(() => {
11294
11006
  };
11295
11007
  });
11296
11008
 
11297
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/prompts.js
11009
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/prompts.js
11298
11010
  function parsePromptIdentifier(identifier) {
11299
11011
  if (!identifier || identifier.split("/").length > 2 || identifier.startsWith("/") || identifier.endsWith("/") || identifier.split(":").length > 2) {
11300
11012
  throw new Error(getInvalidPromptIdentifierMsg(identifier));
@@ -11320,7 +11032,7 @@ var init_prompts = __esm(() => {
11320
11032
  import_semver = __toESM(require_semver2(), 1);
11321
11033
  });
11322
11034
 
11323
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js
11035
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js
11324
11036
  function defaultOptions() {
11325
11037
  return {
11326
11038
  depthLimit: Number.MAX_SAFE_INTEGER,
@@ -11475,7 +11187,7 @@ var init_fast_safe_stringify = __esm(() => {
11475
11187
  encoder = new TextEncoder;
11476
11188
  });
11477
11189
 
11478
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/client.js
11190
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/client.js
11479
11191
  function _ensureUTCTimestamp(ts) {
11480
11192
  if (typeof ts === "string" && ts.length > 0 && !ts.includes("Z") && !ts.includes("+") && !ts.includes("-", 10)) {
11481
11193
  return ts + "Z";
@@ -15188,7 +14900,7 @@ var init_client = __esm(() => {
15188
14900
  });
15189
14901
  });
15190
14902
 
15191
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/env.js
14903
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/env.js
15192
14904
  var isTracingEnabled = (tracingEnabled) => {
15193
14905
  if (tracingEnabled !== undefined) {
15194
14906
  return tracingEnabled;
@@ -15200,7 +14912,7 @@ var init_env3 = __esm(() => {
15200
14912
  init_env2();
15201
14913
  });
15202
14914
 
15203
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/singletons/constants.js
14915
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/constants.js
15204
14916
  var _LC_CONTEXT_VARIABLES_KEY, _LC_CHILD_RUN_END_PROMISES_KEY, _REPLICA_TRACE_ROOTS_KEY;
15205
14917
  var init_constants2 = __esm(() => {
15206
14918
  _LC_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
@@ -15208,7 +14920,7 @@ var init_constants2 = __esm(() => {
15208
14920
  _REPLICA_TRACE_ROOTS_KEY = Symbol.for("langsmith:replica_trace_roots");
15209
14921
  });
15210
14922
 
15211
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/utils/context_vars.js
14923
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/context_vars.js
15212
14924
  function getContextVar(runTree, key) {
15213
14925
  if (_LC_CONTEXT_VARIABLES_KEY in runTree) {
15214
14926
  const contextVars = runTree[_LC_CONTEXT_VARIABLES_KEY];
@@ -15225,7 +14937,7 @@ var init_context_vars = __esm(() => {
15225
14937
  init_constants2();
15226
14938
  });
15227
14939
 
15228
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/run_trees.js
14940
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/run_trees.js
15229
14941
  function getReplicaKey(replica) {
15230
14942
  const sortedKeys = Object.keys(replica).sort();
15231
14943
  const keyData = sortedKeys.map((key) => `${key}:${replica[key] ?? ""}`).join("|");
@@ -16133,12 +15845,12 @@ var init_run_trees = __esm(() => {
16133
15845
  });
16134
15846
  });
16135
15847
 
16136
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/run_trees.js
15848
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/run_trees.js
16137
15849
  var init_run_trees2 = __esm(() => {
16138
15850
  init_run_trees();
16139
15851
  });
16140
15852
 
16141
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tracers/base.js
15853
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/base.js
16142
15854
  function convertRunToRunTree(run, parentRun) {
16143
15855
  if (!run)
16144
15856
  return;
@@ -16712,7 +16424,7 @@ var require_ansi_styles = __commonJS((exports, module) => {
16712
16424
  });
16713
16425
  });
16714
16426
 
16715
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tracers/console.js
16427
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/console.js
16716
16428
  function wrap(style, text) {
16717
16429
  return `${style.open}${text}${style.close}`;
16718
16430
  }
@@ -16826,12 +16538,12 @@ var init_console = __esm(() => {
16826
16538
  };
16827
16539
  });
16828
16540
 
16829
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/index.js
16541
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/index.js
16830
16542
  var init_langsmith = __esm(() => {
16831
16543
  init_dist();
16832
16544
  });
16833
16545
 
16834
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/singletons/tracer.js
16546
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/tracer.js
16835
16547
  var client, getDefaultLangChainClientSingleton = () => {
16836
16548
  if (client === undefined)
16837
16549
  client = new Client(getEnvironmentVariable("LANGCHAIN_CALLBACKS_BACKGROUND") === "false" ? { blockOnRootRunFinalization: true } : {});
@@ -16842,7 +16554,7 @@ var init_tracer = __esm(() => {
16842
16554
  init_langsmith();
16843
16555
  });
16844
16556
 
16845
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/dist/singletons/traceable.js
16557
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/traceable.js
16846
16558
  class MockAsyncLocalStorage {
16847
16559
  getStore() {
16848
16560
  return;
@@ -16882,12 +16594,12 @@ var init_traceable = __esm(() => {
16882
16594
  ROOT = Symbol.for("langsmith:traceable:root");
16883
16595
  });
16884
16596
 
16885
- // ../../node_modules/.bun/langsmith@0.5.12+42cd84ef025c547b/node_modules/langsmith/singletons/traceable.js
16597
+ // ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/singletons/traceable.js
16886
16598
  var init_traceable2 = __esm(() => {
16887
16599
  init_traceable();
16888
16600
  });
16889
16601
 
16890
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tracers/tracer_langchain.js
16602
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/tracer_langchain.js
16891
16603
  function _getUsageMetadataFromGenerations(generations) {
16892
16604
  let output = undefined;
16893
16605
  for (const generationBatch of generations)
@@ -17002,7 +16714,7 @@ var init_tracer_langchain = __esm(() => {
17002
16714
  };
17003
16715
  });
17004
16716
 
17005
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/singletons/callbacks.js
16717
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/callbacks.js
17006
16718
  function createQueue() {
17007
16719
  return new ("default" in import_p_queue3.default ? import_p_queue3.default.default : import_p_queue3.default)({
17008
16720
  autoStart: true,
@@ -17039,13 +16751,13 @@ var init_callbacks = __esm(() => {
17039
16751
  import_p_queue3 = __toESM(require_dist3(), 1);
17040
16752
  });
17041
16753
 
17042
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/callbacks/promises.js
16754
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/callbacks/promises.js
17043
16755
  var init_promises = __esm(() => {
17044
16756
  init_runtime();
17045
16757
  init_callbacks();
17046
16758
  });
17047
16759
 
17048
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/callbacks.js
16760
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/callbacks.js
17049
16761
  var isTracingEnabled2 = (tracingEnabled) => {
17050
16762
  if (tracingEnabled !== undefined)
17051
16763
  return tracingEnabled;
@@ -17060,7 +16772,7 @@ var init_callbacks2 = __esm(() => {
17060
16772
  init_env();
17061
16773
  });
17062
16774
 
17063
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/singletons/async_local_storage/context.js
16775
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/async_local_storage/context.js
17064
16776
  function getContextVariable(name) {
17065
16777
  const asyncLocalStorageInstance = getGlobalAsyncLocalStorageInstance();
17066
16778
  if (asyncLocalStorageInstance === undefined)
@@ -17074,7 +16786,7 @@ var init_context = __esm(() => {
17074
16786
  LC_CONFIGURE_HOOKS_KEY = Symbol("lc:configure_hooks");
17075
16787
  });
17076
16788
 
17077
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/callbacks/manager.js
16789
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/callbacks/manager.js
17078
16790
  function ensureHandler(handler) {
17079
16791
  if ("name" in handler)
17080
16792
  return handler;
@@ -17600,7 +17312,7 @@ var init_manager = __esm(() => {
17600
17312
  };
17601
17313
  });
17602
17314
 
17603
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/singletons/async_local_storage/index.js
17315
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/async_local_storage/index.js
17604
17316
  var MockAsyncLocalStorage2 = class {
17605
17317
  getStore() {}
17606
17318
  run(_store, callback) {
@@ -17654,14 +17366,14 @@ var init_async_local_storage = __esm(() => {
17654
17366
  AsyncLocalStorageProviderSingleton2 = new AsyncLocalStorageProvider2;
17655
17367
  });
17656
17368
 
17657
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/singletons/index.js
17369
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/index.js
17658
17370
  var init_singletons = __esm(() => {
17659
17371
  init_runtime();
17660
17372
  init_globals();
17661
17373
  init_async_local_storage();
17662
17374
  });
17663
17375
 
17664
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/config.js
17376
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/config.js
17665
17377
  async function getCallbackManagerForConfig(config) {
17666
17378
  return CallbackManager._configureSync(config?.callbacks, undefined, config?.tags, undefined, config?.metadata);
17667
17379
  }
@@ -17830,7 +17542,7 @@ var init_config = __esm(() => {
17830
17542
  ]);
17831
17543
  });
17832
17544
 
17833
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/signal.js
17545
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/signal.js
17834
17546
  async function raceWithSignal(promise, signal) {
17835
17547
  if (signal === undefined)
17836
17548
  return promise;
@@ -17858,7 +17570,7 @@ function getAbortSignalError(signal) {
17858
17570
  }
17859
17571
  var init_signal = () => {};
17860
17572
 
17861
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/stream.js
17573
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/stream.js
17862
17574
  function atee(iter, length = 2) {
17863
17575
  const buffers = Array.from({ length }, () => []);
17864
17576
  return buffers.map(async function* makeIter(buffer) {
@@ -18048,7 +17760,7 @@ var init_stream = __esm(() => {
18048
17760
  };
18049
17761
  });
18050
17762
 
18051
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.js
17763
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.js
18052
17764
  function hasOwnProperty(obj, key) {
18053
17765
  return _hasOwnProperty.call(obj, key);
18054
17766
  }
@@ -18153,7 +17865,7 @@ var init_helpers = __esm(() => {
18153
17865
  };
18154
17866
  });
18155
17867
 
18156
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.js
17868
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.js
18157
17869
  function getValueByPointer(document2, pointer) {
18158
17870
  if (pointer == "")
18159
17871
  return document2;
@@ -18479,7 +18191,7 @@ var init_core = __esm(() => {
18479
18191
  };
18480
18192
  });
18481
18193
 
18482
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.js
18194
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.js
18483
18195
  var init_duplex = __esm(() => {
18484
18196
  init_helpers();
18485
18197
  init_core();
@@ -18490,7 +18202,7 @@ var init_duplex = __esm(() => {
18490
18202
  */
18491
18203
  });
18492
18204
 
18493
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/fast-json-patch/index.js
18205
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/index.js
18494
18206
  var init_fast_json_patch = __esm(() => {
18495
18207
  init_helpers();
18496
18208
  init_core();
@@ -18498,7 +18210,7 @@ var init_fast_json_patch = __esm(() => {
18498
18210
  ({ ...core_exports });
18499
18211
  });
18500
18212
 
18501
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tracers/log_stream.js
18213
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/log_stream.js
18502
18214
  async function _getStandardizedInputs(run, schemaFormat) {
18503
18215
  if (schemaFormat === "original")
18504
18216
  throw new Error("Do not assign inputs with original schema drop the key for now. When inputs are added to streamLog they should be added with standardized schema for streaming events.");
@@ -18755,7 +18467,7 @@ var init_log_stream = __esm(() => {
18755
18467
  };
18756
18468
  });
18757
18469
 
18758
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/outputs.js
18470
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/outputs.js
18759
18471
  var GenerationChunk = class GenerationChunk2 {
18760
18472
  text;
18761
18473
  generationInfo;
@@ -18777,7 +18489,7 @@ var init_outputs = __esm(() => {
18777
18489
  init_runtime();
18778
18490
  });
18779
18491
 
18780
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tracers/event_stream.js
18492
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/event_stream.js
18781
18493
  function assignName({ name, serialized }) {
18782
18494
  if (name !== undefined)
18783
18495
  return name;
@@ -19182,7 +18894,7 @@ var init_event_stream = __esm(() => {
19182
18894
  };
19183
18895
  });
19184
18896
 
19185
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/is-network-error/index.js
18897
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/is-network-error/index.js
19186
18898
  function isNetworkError2(error) {
19187
18899
  if (!(error && isError2(error) && error.name === "TypeError" && typeof error.message === "string"))
19188
18900
  return false;
@@ -19209,7 +18921,7 @@ var init_is_network_error2 = __esm(() => {
19209
18921
  ]);
19210
18922
  });
19211
18923
 
19212
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/p-retry/index.js
18924
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/p-retry/index.js
19213
18925
  function validateRetries2(retries) {
19214
18926
  if (typeof retries === "number") {
19215
18927
  if (retries < 0)
@@ -19367,7 +19079,7 @@ var init_p_retry2 = __esm(() => {
19367
19079
  };
19368
19080
  });
19369
19081
 
19370
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/async_caller.js
19082
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/async_caller.js
19371
19083
  var import_p_queue4, STATUS_NO_RETRY, defaultFailedAttemptHandler = (error) => {
19372
19084
  if (typeof error !== "object" || error === null)
19373
19085
  return;
@@ -19445,7 +19157,7 @@ var init_async_caller2 = __esm(() => {
19445
19157
  ];
19446
19158
  });
19447
19159
 
19448
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/tracers/root_listener.js
19160
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/root_listener.js
19449
19161
  var RootListenersTracer;
19450
19162
  var init_root_listener = __esm(() => {
19451
19163
  init_base3();
@@ -19485,7 +19197,7 @@ var init_root_listener = __esm(() => {
19485
19197
  };
19486
19198
  });
19487
19199
 
19488
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/utils.js
19200
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/utils.js
19489
19201
  function isRunnableInterface(thing) {
19490
19202
  return thing ? thing.lc_runnable : false;
19491
19203
  }
@@ -19526,7 +19238,7 @@ var _RootEventFilter = class {
19526
19238
  };
19527
19239
  var init_utils4 = () => {};
19528
19240
 
19529
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/types/zod.js
19241
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/types/zod.js
19530
19242
  import { $ZodNever, $ZodOptional, $ZodUnknown, _never, _unknown, clone, globalRegistry, parse as parse2, parseAsync, util } from "zod/v4/core";
19531
19243
  function isZodSchemaV4(schema) {
19532
19244
  if (typeof schema !== "object" || schema === null)
@@ -19581,11 +19293,6 @@ function isSimpleStringZodSchema(schema) {
19581
19293
  return schema._zod.def.type === "string";
19582
19294
  return false;
19583
19295
  }
19584
- function isZodObjectV3(obj) {
19585
- if (typeof obj === "object" && obj !== null && "_def" in obj && typeof obj._def === "object" && obj._def !== null && "typeName" in obj._def && obj._def.typeName === "ZodObject")
19586
- return true;
19587
- return false;
19588
- }
19589
19296
  function isZodObjectV4(obj) {
19590
19297
  if (!isZodSchemaV4(obj))
19591
19298
  return false;
@@ -19615,7 +19322,7 @@ function isZodNullableV4(obj) {
19615
19322
  return false;
19616
19323
  }
19617
19324
  function interopZodObjectStrict(schema, recursive = false) {
19618
- if (isZodObjectV3(schema))
19325
+ if (isZodSchemaV3(schema))
19619
19326
  return schema.strict();
19620
19327
  if (isZodObjectV4(schema)) {
19621
19328
  const outputShape = schema._zod.def.shape;
@@ -19710,7 +19417,7 @@ function interopZodTransformInputSchema(schema, recursive = false) {
19710
19417
  }
19711
19418
  var init_zod = () => {};
19712
19419
 
19713
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/graph_mermaid.js
19420
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/graph_mermaid.js
19714
19421
  function _escapeNodeLabel(nodeLabel) {
19715
19422
  return nodeLabel.replace(/[^a-zA-Z-_0-9]/g, "_");
19716
19423
  }
@@ -19828,7 +19535,7 @@ var init_graph_mermaid = __esm(() => {
19828
19535
  ];
19829
19536
  });
19830
19537
 
19831
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.js
19538
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.js
19832
19539
  var ignoreOverride, defaultOptions2, getDefaultOptions = (options) => typeof options === "string" ? {
19833
19540
  ...defaultOptions2,
19834
19541
  name: options
@@ -19864,7 +19571,7 @@ var init_Options = __esm(() => {
19864
19571
  };
19865
19572
  });
19866
19573
 
19867
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.js
19574
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.js
19868
19575
  var getRefs = (options) => {
19869
19576
  const _options = getDefaultOptions(options);
19870
19577
  const currentPath = _options.name !== undefined ? [
@@ -19892,7 +19599,7 @@ var init_Refs = __esm(() => {
19892
19599
  init_Options();
19893
19600
  });
19894
19601
 
19895
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.js
19602
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.js
19896
19603
  var getRelativePath = (pathA, pathB) => {
19897
19604
  let i = 0;
19898
19605
  for (;i < pathA.length && i < pathB.length; i++)
@@ -19902,7 +19609,7 @@ var getRelativePath = (pathA, pathB) => {
19902
19609
  };
19903
19610
  var init_getRelativePath = () => {};
19904
19611
 
19905
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.js
19612
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.js
19906
19613
  function parseAnyDef(refs) {
19907
19614
  if (refs.target !== "openAi")
19908
19615
  return {};
@@ -19918,7 +19625,7 @@ var init_any = __esm(() => {
19918
19625
  init_getRelativePath();
19919
19626
  });
19920
19627
 
19921
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.js
19628
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.js
19922
19629
  function addErrorMessage(res, key, errorMessage, refs) {
19923
19630
  if (!refs?.errorMessages)
19924
19631
  return;
@@ -19934,7 +19641,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
19934
19641
  }
19935
19642
  var init_errorMessages = () => {};
19936
19643
 
19937
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.js
19644
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.js
19938
19645
  import { ZodFirstPartyTypeKind } from "zod/v3";
19939
19646
  function parseArrayDef(def, refs) {
19940
19647
  const res = { type: "array" };
@@ -19958,7 +19665,7 @@ var init_array = __esm(() => {
19958
19665
  init_parseDef();
19959
19666
  });
19960
19667
 
19961
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.js
19668
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.js
19962
19669
  function parseBigintDef(def, refs) {
19963
19670
  const res = {
19964
19671
  type: "integer",
@@ -20002,13 +19709,13 @@ var init_bigint = __esm(() => {
20002
19709
  init_errorMessages();
20003
19710
  });
20004
19711
 
20005
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.js
19712
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.js
20006
19713
  function parseBooleanDef() {
20007
19714
  return { type: "boolean" };
20008
19715
  }
20009
19716
  var init_boolean = () => {};
20010
19717
 
20011
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.js
19718
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.js
20012
19719
  function parseBrandedDef(_def, refs) {
20013
19720
  return parseDef(_def.type._def, refs);
20014
19721
  }
@@ -20016,7 +19723,7 @@ var init_branded = __esm(() => {
20016
19723
  init_parseDef();
20017
19724
  });
20018
19725
 
20019
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.js
19726
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.js
20020
19727
  var parseCatchDef = (def, refs) => {
20021
19728
  return parseDef(def.innerType._def, refs);
20022
19729
  };
@@ -20024,7 +19731,7 @@ var init_catch = __esm(() => {
20024
19731
  init_parseDef();
20025
19732
  });
20026
19733
 
20027
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.js
19734
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.js
20028
19735
  function parseDateDef(def, refs, overrideDateStrategy) {
20029
19736
  const strategy = overrideDateStrategy ?? refs.dateStrategy;
20030
19737
  if (Array.isArray(strategy))
@@ -20067,7 +19774,7 @@ var init_date = __esm(() => {
20067
19774
  init_errorMessages();
20068
19775
  });
20069
19776
 
20070
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.js
19777
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.js
20071
19778
  function parseDefaultDef(_def, refs) {
20072
19779
  return {
20073
19780
  ...parseDef(_def.innerType._def, refs),
@@ -20078,7 +19785,7 @@ var init_default = __esm(() => {
20078
19785
  init_parseDef();
20079
19786
  });
20080
19787
 
20081
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.js
19788
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.js
20082
19789
  function parseEffectsDef(_def, refs) {
20083
19790
  return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
20084
19791
  }
@@ -20087,7 +19794,7 @@ var init_effects = __esm(() => {
20087
19794
  init_parseDef();
20088
19795
  });
20089
19796
 
20090
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.js
19797
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.js
20091
19798
  function parseEnumDef(def) {
20092
19799
  return {
20093
19800
  type: "string",
@@ -20096,7 +19803,7 @@ function parseEnumDef(def) {
20096
19803
  }
20097
19804
  var init_enum = () => {};
20098
19805
 
20099
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.js
19806
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.js
20100
19807
  function parseIntersectionDef(def, refs) {
20101
19808
  const allOf = [parseDef(def.left._def, {
20102
19809
  ...refs,
@@ -20144,7 +19851,7 @@ var init_intersection = __esm(() => {
20144
19851
  init_parseDef();
20145
19852
  });
20146
19853
 
20147
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.js
19854
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.js
20148
19855
  function parseLiteralDef(def, refs) {
20149
19856
  const parsedType = typeof def.value;
20150
19857
  if (parsedType !== "bigint" && parsedType !== "number" && parsedType !== "boolean" && parsedType !== "string")
@@ -20161,7 +19868,7 @@ function parseLiteralDef(def, refs) {
20161
19868
  }
20162
19869
  var init_literal = () => {};
20163
19870
 
20164
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.js
19871
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.js
20165
19872
  function parseStringDef(def, refs) {
20166
19873
  const res = { type: "string" };
20167
19874
  if (def.checks)
@@ -20430,7 +20137,7 @@ var init_string = __esm(() => {
20430
20137
  ALPHA_NUMERIC = /* @__PURE__ */ new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
20431
20138
  });
20432
20139
 
20433
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.js
20140
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.js
20434
20141
  import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind2 } from "zod/v3";
20435
20142
  function parseRecordDef(def, refs) {
20436
20143
  if (refs.target === "openAi")
@@ -20488,7 +20195,7 @@ var init_record = __esm(() => {
20488
20195
  init_parseDef();
20489
20196
  });
20490
20197
 
20491
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.js
20198
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.js
20492
20199
  function parseMapDef(def, refs) {
20493
20200
  if (refs.mapStrategy === "record")
20494
20201
  return parseRecordDef(def, refs);
@@ -20525,7 +20232,7 @@ var init_map = __esm(() => {
20525
20232
  init_parseDef();
20526
20233
  });
20527
20234
 
20528
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.js
20235
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.js
20529
20236
  function parseNativeEnumDef(def) {
20530
20237
  const object = def.values;
20531
20238
  const actualValues = Object.keys(def.values).filter((key) => {
@@ -20539,7 +20246,7 @@ function parseNativeEnumDef(def) {
20539
20246
  }
20540
20247
  var init_nativeEnum = () => {};
20541
20248
 
20542
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.js
20249
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.js
20543
20250
  function parseNeverDef(refs) {
20544
20251
  return refs.target === "openAi" ? undefined : { not: parseAnyDef({
20545
20252
  ...refs,
@@ -20550,7 +20257,7 @@ var init_never = __esm(() => {
20550
20257
  init_any();
20551
20258
  });
20552
20259
 
20553
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.js
20260
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.js
20554
20261
  function parseNullDef(refs) {
20555
20262
  return refs.target === "openApi3" ? {
20556
20263
  enum: ["null"],
@@ -20559,7 +20266,7 @@ function parseNullDef(refs) {
20559
20266
  }
20560
20267
  var init_null = () => {};
20561
20268
 
20562
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.js
20269
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.js
20563
20270
  function parseUnionDef(def, refs) {
20564
20271
  if (refs.target === "openApi3")
20565
20272
  return asAnyOf(def, refs);
@@ -20626,7 +20333,7 @@ var init_union = __esm(() => {
20626
20333
  };
20627
20334
  });
20628
20335
 
20629
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.js
20336
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.js
20630
20337
  function parseNullableDef(def, refs) {
20631
20338
  if ([
20632
20339
  "ZodString",
@@ -20672,7 +20379,7 @@ var init_nullable = __esm(() => {
20672
20379
  init_parseDef();
20673
20380
  });
20674
20381
 
20675
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.js
20382
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.js
20676
20383
  function parseNumberDef(def, refs) {
20677
20384
  const res = { type: "number" };
20678
20385
  if (!def.checks)
@@ -20717,7 +20424,7 @@ var init_number = __esm(() => {
20717
20424
  init_errorMessages();
20718
20425
  });
20719
20426
 
20720
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.js
20427
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.js
20721
20428
  function parseObjectDef(def, refs) {
20722
20429
  const forceOptionalIntoNullable = refs.target === "openAi";
20723
20430
  const result = {
@@ -20790,7 +20497,7 @@ var init_object = __esm(() => {
20790
20497
  init_parseDef();
20791
20498
  });
20792
20499
 
20793
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.js
20500
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.js
20794
20501
  var parseOptionalDef = (def, refs) => {
20795
20502
  if (refs.currentPath.toString() === refs.propertyPath?.toString())
20796
20503
  return parseDef(def.innerType._def, refs);
@@ -20809,7 +20516,7 @@ var init_optional = __esm(() => {
20809
20516
  init_parseDef();
20810
20517
  });
20811
20518
 
20812
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.js
20519
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.js
20813
20520
  var parsePipelineDef = (def, refs) => {
20814
20521
  if (refs.pipeStrategy === "input")
20815
20522
  return parseDef(def.in._def, refs);
@@ -20836,7 +20543,7 @@ var init_pipeline = __esm(() => {
20836
20543
  init_parseDef();
20837
20544
  });
20838
20545
 
20839
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.js
20546
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.js
20840
20547
  function parsePromiseDef(def, refs) {
20841
20548
  return parseDef(def.type._def, refs);
20842
20549
  }
@@ -20844,7 +20551,7 @@ var init_promise = __esm(() => {
20844
20551
  init_parseDef();
20845
20552
  });
20846
20553
 
20847
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.js
20554
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.js
20848
20555
  function parseSetDef(def, refs) {
20849
20556
  const schema = {
20850
20557
  type: "array",
@@ -20865,7 +20572,7 @@ var init_set = __esm(() => {
20865
20572
  init_parseDef();
20866
20573
  });
20867
20574
 
20868
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.js
20575
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.js
20869
20576
  function parseTupleDef(def, refs) {
20870
20577
  if (def.rest)
20871
20578
  return {
@@ -20903,7 +20610,7 @@ var init_tuple = __esm(() => {
20903
20610
  init_parseDef();
20904
20611
  });
20905
20612
 
20906
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.js
20613
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.js
20907
20614
  function parseUndefinedDef(refs) {
20908
20615
  return { not: parseAnyDef(refs) };
20909
20616
  }
@@ -20911,7 +20618,7 @@ var init_undefined = __esm(() => {
20911
20618
  init_any();
20912
20619
  });
20913
20620
 
20914
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.js
20621
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.js
20915
20622
  function parseUnknownDef(refs) {
20916
20623
  return parseAnyDef(refs);
20917
20624
  }
@@ -20919,7 +20626,7 @@ var init_unknown = __esm(() => {
20919
20626
  init_any();
20920
20627
  });
20921
20628
 
20922
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.js
20629
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.js
20923
20630
  var parseReadonlyDef = (def, refs) => {
20924
20631
  return parseDef(def.innerType._def, refs);
20925
20632
  };
@@ -20927,7 +20634,7 @@ var init_readonly = __esm(() => {
20927
20634
  init_parseDef();
20928
20635
  });
20929
20636
 
20930
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.js
20637
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.js
20931
20638
  import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind3 } from "zod/v3";
20932
20639
  var selectParser = (def, typeName, refs) => {
20933
20640
  switch (typeName) {
@@ -21038,7 +20745,7 @@ var init_selectParser = __esm(() => {
21038
20745
  init_readonly();
21039
20746
  });
21040
20747
 
21041
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.js
20748
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.js
21042
20749
  function parseDef(def, refs, forceResolution = false) {
21043
20750
  const seenItem = refs.seen.get(def);
21044
20751
  if (refs.override) {
@@ -21098,7 +20805,7 @@ var init_parseDef = __esm(() => {
21098
20805
  init_selectParser();
21099
20806
  });
21100
20807
 
21101
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.js
20808
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.js
21102
20809
  var zodToJsonSchema = (schema, options) => {
21103
20810
  const refs = getRefs(options);
21104
20811
  let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
@@ -21172,7 +20879,7 @@ var init_zodToJsonSchema = __esm(() => {
21172
20879
  init_parseDef();
21173
20880
  });
21174
20881
 
21175
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/zod-to-json-schema/index.js
20882
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/index.js
21176
20883
  var init_zod_to_json_schema = __esm(() => {
21177
20884
  init_Options();
21178
20885
  init_Refs();
@@ -21213,7 +20920,7 @@ var init_zod_to_json_schema = __esm(() => {
21213
20920
  init_zodToJsonSchema();
21214
20921
  });
21215
20922
 
21216
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/standard_schema.js
20923
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/standard_schema.js
21217
20924
  function isStandardJsonSchema(schema) {
21218
20925
  return (typeof schema === "object" || typeof schema === "function") && schema !== null && "~standard" in schema && typeof schema["~standard"] === "object" && schema["~standard"] !== null && "jsonSchema" in schema["~standard"];
21219
20926
  }
@@ -21221,7 +20928,7 @@ var init_standard_schema = __esm(() => {
21221
20928
  init_runtime();
21222
20929
  });
21223
20930
 
21224
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/json_schema.js
20931
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/json_schema.js
21225
20932
  import { toJSONSchema } from "zod/v4/core";
21226
20933
  function toJsonSchema(schema, params) {
21227
20934
  if (isStandardJsonSchema(schema) && !isZodSchemaV4(schema))
@@ -21245,7 +20952,7 @@ var init_json_schema = __esm(() => {
21245
20952
  init_standard_schema();
21246
20953
  });
21247
20954
 
21248
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/graph.js
20955
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/graph.js
21249
20956
  function nodeDataStr(id, data) {
21250
20957
  if (id !== undefined && !validate_default(id))
21251
20958
  return id;
@@ -21457,7 +21164,7 @@ var init_graph = __esm(() => {
21457
21164
  init_esm();
21458
21165
  });
21459
21166
 
21460
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/wrappers.js
21167
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/wrappers.js
21461
21168
  function convertToHttpEventStream(stream) {
21462
21169
  const encoder2 = new TextEncoder;
21463
21170
  const finalStream = new ReadableStream({ async start(controller) {
@@ -21477,7 +21184,7 @@ var init_wrappers = __esm(() => {
21477
21184
  init_stream();
21478
21185
  });
21479
21186
 
21480
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/iter.js
21187
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/iter.js
21481
21188
  function isIterableIterator(thing) {
21482
21189
  return typeof thing === "object" && thing !== null && typeof thing[Symbol.iterator] === "function" && typeof thing.next === "function";
21483
21190
  }
@@ -21510,7 +21217,7 @@ var init_iter = __esm(() => {
21510
21217
  init_config();
21511
21218
  });
21512
21219
 
21513
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/runnables/base.js
21220
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/base.js
21514
21221
  import { z } from "zod/v3";
21515
21222
  function _coerceToDict2(value, defaultKey) {
21516
21223
  return value && !Array.isArray(value) && !(value instanceof Date) && typeof value === "object" ? value : { [defaultKey]: value };
@@ -22858,7 +22565,7 @@ var init_base4 = __esm(() => {
22858
22565
  };
22859
22566
  });
22860
22567
 
22861
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/documents/transformers.js
22568
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/documents/transformers.js
22862
22569
  var BaseDocumentTransformer;
22863
22570
  var init_transformers = __esm(() => {
22864
22571
  init_base4();
@@ -22874,7 +22581,7 @@ var init_transformers = __esm(() => {
22874
22581
  };
22875
22582
  });
22876
22583
 
22877
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/documents/index.js
22584
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/documents/index.js
22878
22585
  var init_documents = __esm(() => {
22879
22586
  init_runtime();
22880
22587
  init_document();
@@ -23117,14 +22824,14 @@ var init_lite = __esm(() => {
23117
22824
  init_chunk_VL2OQCWN();
23118
22825
  });
23119
22826
 
23120
- // ../../node_modules/.bun/@langchain+core@1.1.35+a98553428946d7a2/node_modules/@langchain/core/dist/utils/tiktoken.js
22827
+ // ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/tiktoken.js
23121
22828
  var init_tiktoken = __esm(() => {
23122
22829
  init_runtime();
23123
22830
  init_async_caller2();
23124
22831
  init_lite();
23125
22832
  });
23126
22833
 
23127
- // ../../node_modules/.bun/@langchain+textsplitters@1.0.1+45928d26f2e2776a/node_modules/@langchain/textsplitters/dist/text_splitter.js
22834
+ // ../../node_modules/.bun/@langchain+textsplitters@1.0.1+f30ed4e969374662/node_modules/@langchain/textsplitters/dist/text_splitter.js
23128
22835
  var TextSplitter, RecursiveCharacterTextSplitter;
23129
22836
  var init_text_splitter = __esm(() => {
23130
22837
  init_documents();
@@ -23800,7 +23507,7 @@ assembly `,
23800
23507
  };
23801
23508
  });
23802
23509
 
23803
- // ../../node_modules/.bun/@langchain+textsplitters@1.0.1+45928d26f2e2776a/node_modules/@langchain/textsplitters/dist/index.js
23510
+ // ../../node_modules/.bun/@langchain+textsplitters@1.0.1+f30ed4e969374662/node_modules/@langchain/textsplitters/dist/index.js
23804
23511
  var init_dist2 = __esm(() => {
23805
23512
  init_text_splitter();
23806
23513
  });
@@ -40179,8 +39886,6 @@ Agent: {{agentName}} (ID: {{agentId}})
40179
39886
  5. If multiple matches exist, use context to disambiguate
40180
39887
  6. Consider recent interactions and relationship strength when resolving ambiguity
40181
39888
 
40182
- Do NOT include any thinking, reasoning, or <think> sections in your response.
40183
- Go directly to the XML response format without any preamble or explanation.
40184
39889
 
40185
39890
  Return an XML response with:
40186
39891
  <response>
@@ -57331,7 +57036,7 @@ https://github.com/browserify/crypto-browserify`);
57331
57036
  };
57332
57037
  });
57333
57038
 
57334
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js
57039
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.js
57335
57040
  var require_identity = __commonJS((exports) => {
57336
57041
  var ALIAS = Symbol.for("yaml.alias");
57337
57042
  var DOC = Symbol.for("yaml.document");
@@ -57385,7 +57090,7 @@ var require_identity = __commonJS((exports) => {
57385
57090
  exports.isSeq = isSeq;
57386
57091
  });
57387
57092
 
57388
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/visit.js
57093
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/visit.js
57389
57094
  var require_visit = __commonJS((exports) => {
57390
57095
  var identity = require_identity();
57391
57096
  var BREAK = Symbol("break visit");
@@ -57540,7 +57245,7 @@ var require_visit = __commonJS((exports) => {
57540
57245
  exports.visitAsync = visitAsync;
57541
57246
  });
57542
57247
 
57543
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/directives.js
57248
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/directives.js
57544
57249
  var require_directives = __commonJS((exports) => {
57545
57250
  var identity = require_identity();
57546
57251
  var visit = require_visit();
@@ -57692,7 +57397,7 @@ var require_directives = __commonJS((exports) => {
57692
57397
  exports.Directives = Directives;
57693
57398
  });
57694
57399
 
57695
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/anchors.js
57400
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.js
57696
57401
  var require_anchors = __commonJS((exports) => {
57697
57402
  var identity = require_identity();
57698
57403
  var visit = require_visit();
@@ -57754,7 +57459,7 @@ var require_anchors = __commonJS((exports) => {
57754
57459
  exports.findNewAnchor = findNewAnchor;
57755
57460
  });
57756
57461
 
57757
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/applyReviver.js
57462
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.js
57758
57463
  var require_applyReviver = __commonJS((exports) => {
57759
57464
  function applyReviver(reviver, obj, key, val) {
57760
57465
  if (val && typeof val === "object") {
@@ -57801,7 +57506,7 @@ var require_applyReviver = __commonJS((exports) => {
57801
57506
  exports.applyReviver = applyReviver;
57802
57507
  });
57803
57508
 
57804
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/toJS.js
57509
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.js
57805
57510
  var require_toJS = __commonJS((exports) => {
57806
57511
  var identity = require_identity();
57807
57512
  function toJS(value, arg, ctx) {
@@ -57828,7 +57533,7 @@ var require_toJS = __commonJS((exports) => {
57828
57533
  exports.toJS = toJS;
57829
57534
  });
57830
57535
 
57831
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Node.js
57536
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.js
57832
57537
  var require_Node = __commonJS((exports) => {
57833
57538
  var applyReviver = require_applyReviver();
57834
57539
  var identity = require_identity();
@@ -57865,7 +57570,7 @@ var require_Node = __commonJS((exports) => {
57865
57570
  exports.NodeBase = NodeBase;
57866
57571
  });
57867
57572
 
57868
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Alias.js
57573
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.js
57869
57574
  var require_Alias = __commonJS((exports) => {
57870
57575
  var anchors = require_anchors();
57871
57576
  var visit = require_visit();
@@ -57973,7 +57678,7 @@ var require_Alias = __commonJS((exports) => {
57973
57678
  exports.Alias = Alias;
57974
57679
  });
57975
57680
 
57976
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Scalar.js
57681
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.js
57977
57682
  var require_Scalar = __commonJS((exports) => {
57978
57683
  var identity = require_identity();
57979
57684
  var Node = require_Node();
@@ -58001,7 +57706,7 @@ var require_Scalar = __commonJS((exports) => {
58001
57706
  exports.isScalarValue = isScalarValue;
58002
57707
  });
58003
57708
 
58004
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/createNode.js
57709
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.js
58005
57710
  var require_createNode = __commonJS((exports) => {
58006
57711
  var Alias = require_Alias();
58007
57712
  var identity = require_identity();
@@ -58073,7 +57778,7 @@ var require_createNode = __commonJS((exports) => {
58073
57778
  exports.createNode = createNode;
58074
57779
  });
58075
57780
 
58076
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Collection.js
57781
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.js
58077
57782
  var require_Collection = __commonJS((exports) => {
58078
57783
  var createNode = require_createNode();
58079
57784
  var identity = require_identity();
@@ -58188,7 +57893,7 @@ var require_Collection = __commonJS((exports) => {
58188
57893
  exports.isEmptyPath = isEmptyPath;
58189
57894
  });
58190
57895
 
58191
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyComment.js
57896
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.js
58192
57897
  var require_stringifyComment = __commonJS((exports) => {
58193
57898
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
58194
57899
  function indentComment(comment, indent) {
@@ -58205,7 +57910,7 @@ var require_stringifyComment = __commonJS((exports) => {
58205
57910
  exports.stringifyComment = stringifyComment;
58206
57911
  });
58207
57912
 
58208
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/foldFlowLines.js
57913
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.js
58209
57914
  var require_foldFlowLines = __commonJS((exports) => {
58210
57915
  var FOLD_FLOW = "flow";
58211
57916
  var FOLD_BLOCK = "block";
@@ -58342,7 +58047,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
58342
58047
  exports.foldFlowLines = foldFlowLines;
58343
58048
  });
58344
58049
 
58345
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyString.js
58050
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.js
58346
58051
  var require_stringifyString = __commonJS((exports) => {
58347
58052
  var Scalar = require_Scalar();
58348
58053
  var foldFlowLines = require_foldFlowLines();
@@ -58640,7 +58345,7 @@ ${indent}`);
58640
58345
  exports.stringifyString = stringifyString;
58641
58346
  });
58642
58347
 
58643
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringify.js
58348
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.js
58644
58349
  var require_stringify3 = __commonJS((exports) => {
58645
58350
  var anchors = require_anchors();
58646
58351
  var identity = require_identity();
@@ -58663,7 +58368,6 @@ var require_stringify3 = __commonJS((exports) => {
58663
58368
  nullStr: "null",
58664
58369
  simpleKeys: false,
58665
58370
  singleQuote: null,
58666
- trailingComma: false,
58667
58371
  trueStr: "true",
58668
58372
  verifyAliasOrder: true
58669
58373
  }, doc.schema.toStringOptions, options);
@@ -58761,7 +58465,7 @@ ${ctx.indent}${str}`;
58761
58465
  exports.stringify = stringify2;
58762
58466
  });
58763
58467
 
58764
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyPair.js
58468
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.js
58765
58469
  var require_stringifyPair = __commonJS((exports) => {
58766
58470
  var identity = require_identity();
58767
58471
  var Scalar = require_Scalar();
@@ -58897,7 +58601,7 @@ ${ctx.indent}`;
58897
58601
  exports.stringifyPair = stringifyPair;
58898
58602
  });
58899
58603
 
58900
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/log.js
58604
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/log.js
58901
58605
  var require_log2 = __commonJS((exports) => {
58902
58606
  var node_process = __require("process");
58903
58607
  function debug(logLevel, ...messages) {
@@ -58916,7 +58620,7 @@ var require_log2 = __commonJS((exports) => {
58916
58620
  exports.warn = warn;
58917
58621
  });
58918
58622
 
58919
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/merge.js
58623
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.js
58920
58624
  var require_merge = __commonJS((exports) => {
58921
58625
  var identity = require_identity();
58922
58626
  var Scalar = require_Scalar();
@@ -58970,7 +58674,7 @@ var require_merge = __commonJS((exports) => {
58970
58674
  exports.merge = merge;
58971
58675
  });
58972
58676
 
58973
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/addPairToJSMap.js
58677
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.js
58974
58678
  var require_addPairToJSMap = __commonJS((exports) => {
58975
58679
  var log = require_log2();
58976
58680
  var merge = require_merge();
@@ -59031,7 +58735,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
59031
58735
  exports.addPairToJSMap = addPairToJSMap;
59032
58736
  });
59033
58737
 
59034
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/Pair.js
58738
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.js
59035
58739
  var require_Pair = __commonJS((exports) => {
59036
58740
  var createNode = require_createNode();
59037
58741
  var stringifyPair = require_stringifyPair();
@@ -59069,7 +58773,7 @@ var require_Pair = __commonJS((exports) => {
59069
58773
  exports.createPair = createPair;
59070
58774
  });
59071
58775
 
59072
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyCollection.js
58776
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.js
59073
58777
  var require_stringifyCollection = __commonJS((exports) => {
59074
58778
  var identity = require_identity();
59075
58779
  var stringify2 = require_stringify3();
@@ -59172,20 +58876,13 @@ ${indent}${line}` : `
59172
58876
  if (comment)
59173
58877
  reqNewline = true;
59174
58878
  let str = stringify2.stringify(item, itemCtx, () => comment = null);
59175
- reqNewline || (reqNewline = lines.length > linesAtValue || str.includes(`
59176
- `));
59177
- if (i < items.length - 1) {
58879
+ if (i < items.length - 1)
59178
58880
  str += ",";
59179
- } else if (ctx.options.trailingComma) {
59180
- if (ctx.options.lineWidth > 0) {
59181
- reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
59182
- }
59183
- if (reqNewline) {
59184
- str += ",";
59185
- }
59186
- }
59187
58881
  if (comment)
59188
58882
  str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
58883
+ if (!reqNewline && (lines.length > linesAtValue || str.includes(`
58884
+ `)))
58885
+ reqNewline = true;
59189
58886
  lines.push(str);
59190
58887
  linesAtValue = lines.length;
59191
58888
  }
@@ -59221,7 +58918,7 @@ ${indent}${end}`;
59221
58918
  exports.stringifyCollection = stringifyCollection;
59222
58919
  });
59223
58920
 
59224
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLMap.js
58921
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.js
59225
58922
  var require_YAMLMap = __commonJS((exports) => {
59226
58923
  var stringifyCollection = require_stringifyCollection();
59227
58924
  var addPairToJSMap = require_addPairToJSMap();
@@ -59348,7 +59045,7 @@ var require_YAMLMap = __commonJS((exports) => {
59348
59045
  exports.findPair = findPair;
59349
59046
  });
59350
59047
 
59351
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/map.js
59048
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.js
59352
59049
  var require_map = __commonJS((exports) => {
59353
59050
  var identity = require_identity();
59354
59051
  var YAMLMap = require_YAMLMap();
@@ -59367,7 +59064,7 @@ var require_map = __commonJS((exports) => {
59367
59064
  exports.map = map;
59368
59065
  });
59369
59066
 
59370
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/nodes/YAMLSeq.js
59067
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.js
59371
59068
  var require_YAMLSeq = __commonJS((exports) => {
59372
59069
  var createNode = require_createNode();
59373
59070
  var stringifyCollection = require_stringifyCollection();
@@ -59460,7 +59157,7 @@ var require_YAMLSeq = __commonJS((exports) => {
59460
59157
  exports.YAMLSeq = YAMLSeq;
59461
59158
  });
59462
59159
 
59463
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/seq.js
59160
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.js
59464
59161
  var require_seq = __commonJS((exports) => {
59465
59162
  var identity = require_identity();
59466
59163
  var YAMLSeq = require_YAMLSeq();
@@ -59479,7 +59176,7 @@ var require_seq = __commonJS((exports) => {
59479
59176
  exports.seq = seq;
59480
59177
  });
59481
59178
 
59482
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/string.js
59179
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.js
59483
59180
  var require_string = __commonJS((exports) => {
59484
59181
  var stringifyString = require_stringifyString();
59485
59182
  var string = {
@@ -59495,7 +59192,7 @@ var require_string = __commonJS((exports) => {
59495
59192
  exports.string = string;
59496
59193
  });
59497
59194
 
59498
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/common/null.js
59195
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.js
59499
59196
  var require_null = __commonJS((exports) => {
59500
59197
  var Scalar = require_Scalar();
59501
59198
  var nullTag = {
@@ -59510,7 +59207,7 @@ var require_null = __commonJS((exports) => {
59510
59207
  exports.nullTag = nullTag;
59511
59208
  });
59512
59209
 
59513
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/bool.js
59210
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.js
59514
59211
  var require_bool = __commonJS((exports) => {
59515
59212
  var Scalar = require_Scalar();
59516
59213
  var boolTag = {
@@ -59531,7 +59228,7 @@ var require_bool = __commonJS((exports) => {
59531
59228
  exports.boolTag = boolTag;
59532
59229
  });
59533
59230
 
59534
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyNumber.js
59231
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.js
59535
59232
  var require_stringifyNumber = __commonJS((exports) => {
59536
59233
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
59537
59234
  if (typeof value === "bigint")
@@ -59555,7 +59252,7 @@ var require_stringifyNumber = __commonJS((exports) => {
59555
59252
  exports.stringifyNumber = stringifyNumber;
59556
59253
  });
59557
59254
 
59558
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/float.js
59255
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.js
59559
59256
  var require_float = __commonJS((exports) => {
59560
59257
  var Scalar = require_Scalar();
59561
59258
  var stringifyNumber = require_stringifyNumber();
@@ -59598,7 +59295,7 @@ var require_float = __commonJS((exports) => {
59598
59295
  exports.floatNaN = floatNaN;
59599
59296
  });
59600
59297
 
59601
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/int.js
59298
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.js
59602
59299
  var require_int = __commonJS((exports) => {
59603
59300
  var stringifyNumber = require_stringifyNumber();
59604
59301
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -59640,7 +59337,7 @@ var require_int = __commonJS((exports) => {
59640
59337
  exports.intOct = intOct;
59641
59338
  });
59642
59339
 
59643
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/core/schema.js
59340
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.js
59644
59341
  var require_schema = __commonJS((exports) => {
59645
59342
  var map = require_map();
59646
59343
  var _null = require_null();
@@ -59665,7 +59362,7 @@ var require_schema = __commonJS((exports) => {
59665
59362
  exports.schema = schema2;
59666
59363
  });
59667
59364
 
59668
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/json/schema.js
59365
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.js
59669
59366
  var require_schema2 = __commonJS((exports) => {
59670
59367
  var Scalar = require_Scalar();
59671
59368
  var map = require_map();
@@ -59729,7 +59426,7 @@ var require_schema2 = __commonJS((exports) => {
59729
59426
  exports.schema = schema2;
59730
59427
  });
59731
59428
 
59732
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/binary.js
59429
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js
59733
59430
  var require_binary = __commonJS((exports) => {
59734
59431
  var node_buffer = __require("buffer");
59735
59432
  var Scalar = require_Scalar();
@@ -59784,7 +59481,7 @@ var require_binary = __commonJS((exports) => {
59784
59481
  exports.binary = binary;
59785
59482
  });
59786
59483
 
59787
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
59484
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
59788
59485
  var require_pairs = __commonJS((exports) => {
59789
59486
  var identity = require_identity();
59790
59487
  var Pair = require_Pair();
@@ -59859,7 +59556,7 @@ ${cn.comment}` : item.comment;
59859
59556
  exports.resolvePairs = resolvePairs;
59860
59557
  });
59861
59558
 
59862
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/omap.js
59559
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js
59863
59560
  var require_omap = __commonJS((exports) => {
59864
59561
  var identity = require_identity();
59865
59562
  var toJS = require_toJS();
@@ -59931,7 +59628,7 @@ var require_omap = __commonJS((exports) => {
59931
59628
  exports.omap = omap;
59932
59629
  });
59933
59630
 
59934
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/bool.js
59631
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js
59935
59632
  var require_bool2 = __commonJS((exports) => {
59936
59633
  var Scalar = require_Scalar();
59937
59634
  function boolStringify({ value, source }, ctx) {
@@ -59960,7 +59657,7 @@ var require_bool2 = __commonJS((exports) => {
59960
59657
  exports.trueTag = trueTag;
59961
59658
  });
59962
59659
 
59963
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/float.js
59660
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.js
59964
59661
  var require_float2 = __commonJS((exports) => {
59965
59662
  var Scalar = require_Scalar();
59966
59663
  var stringifyNumber = require_stringifyNumber();
@@ -60006,7 +59703,7 @@ var require_float2 = __commonJS((exports) => {
60006
59703
  exports.floatNaN = floatNaN;
60007
59704
  });
60008
59705
 
60009
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/int.js
59706
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.js
60010
59707
  var require_int2 = __commonJS((exports) => {
60011
59708
  var stringifyNumber = require_stringifyNumber();
60012
59709
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -60082,7 +59779,7 @@ var require_int2 = __commonJS((exports) => {
60082
59779
  exports.intOct = intOct;
60083
59780
  });
60084
59781
 
60085
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/set.js
59782
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.js
60086
59783
  var require_set = __commonJS((exports) => {
60087
59784
  var identity = require_identity();
60088
59785
  var Pair = require_Pair();
@@ -60165,7 +59862,7 @@ var require_set = __commonJS((exports) => {
60165
59862
  exports.set = set;
60166
59863
  });
60167
59864
 
60168
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
59865
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
60169
59866
  var require_timestamp = __commonJS((exports) => {
60170
59867
  var stringifyNumber = require_stringifyNumber();
60171
59868
  function parseSexagesimal(str, asBigInt) {
@@ -60247,7 +59944,7 @@ var require_timestamp = __commonJS((exports) => {
60247
59944
  exports.timestamp = timestamp2;
60248
59945
  });
60249
59946
 
60250
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/yaml-1.1/schema.js
59947
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js
60251
59948
  var require_schema3 = __commonJS((exports) => {
60252
59949
  var map = require_map();
60253
59950
  var _null = require_null();
@@ -60288,7 +59985,7 @@ var require_schema3 = __commonJS((exports) => {
60288
59985
  exports.schema = schema2;
60289
59986
  });
60290
59987
 
60291
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/tags.js
59988
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/tags.js
60292
59989
  var require_tags = __commonJS((exports) => {
60293
59990
  var map = require_map();
60294
59991
  var _null = require_null();
@@ -60379,7 +60076,7 @@ var require_tags = __commonJS((exports) => {
60379
60076
  exports.getTags = getTags;
60380
60077
  });
60381
60078
 
60382
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/schema/Schema.js
60079
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.js
60383
60080
  var require_Schema = __commonJS((exports) => {
60384
60081
  var identity = require_identity();
60385
60082
  var map = require_map();
@@ -60409,7 +60106,7 @@ var require_Schema = __commonJS((exports) => {
60409
60106
  exports.Schema = Schema;
60410
60107
  });
60411
60108
 
60412
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/stringify/stringifyDocument.js
60109
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.js
60413
60110
  var require_stringifyDocument = __commonJS((exports) => {
60414
60111
  var identity = require_identity();
60415
60112
  var stringify2 = require_stringify3();
@@ -60489,7 +60186,7 @@ var require_stringifyDocument = __commonJS((exports) => {
60489
60186
  exports.stringifyDocument = stringifyDocument;
60490
60187
  });
60491
60188
 
60492
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/doc/Document.js
60189
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/Document.js
60493
60190
  var require_Document = __commonJS((exports) => {
60494
60191
  var Alias = require_Alias();
60495
60192
  var Collection = require_Collection();
@@ -60724,7 +60421,7 @@ var require_Document = __commonJS((exports) => {
60724
60421
  exports.Document = Document2;
60725
60422
  });
60726
60423
 
60727
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/errors.js
60424
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/errors.js
60728
60425
  var require_errors = __commonJS((exports) => {
60729
60426
  class YAMLError extends Error {
60730
60427
  constructor(name, pos, code, message2) {
@@ -60789,7 +60486,7 @@ ${pointer}
60789
60486
  exports.prettifyError = prettifyError;
60790
60487
  });
60791
60488
 
60792
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-props.js
60489
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.js
60793
60490
  var require_resolve_props = __commonJS((exports) => {
60794
60491
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
60795
60492
  let spaceBefore = false;
@@ -60919,7 +60616,7 @@ var require_resolve_props = __commonJS((exports) => {
60919
60616
  exports.resolveProps = resolveProps;
60920
60617
  });
60921
60618
 
60922
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-contains-newline.js
60619
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.js
60923
60620
  var require_util_contains_newline = __commonJS((exports) => {
60924
60621
  function containsNewline(key) {
60925
60622
  if (!key)
@@ -60959,7 +60656,7 @@ var require_util_contains_newline = __commonJS((exports) => {
60959
60656
  exports.containsNewline = containsNewline;
60960
60657
  });
60961
60658
 
60962
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-flow-indent-check.js
60659
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.js
60963
60660
  var require_util_flow_indent_check = __commonJS((exports) => {
60964
60661
  var utilContainsNewline = require_util_contains_newline();
60965
60662
  function flowIndentCheck(indent, fc, onError) {
@@ -60974,7 +60671,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
60974
60671
  exports.flowIndentCheck = flowIndentCheck;
60975
60672
  });
60976
60673
 
60977
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-map-includes.js
60674
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.js
60978
60675
  var require_util_map_includes = __commonJS((exports) => {
60979
60676
  var identity = require_identity();
60980
60677
  function mapIncludes(ctx, items, search) {
@@ -60987,7 +60684,7 @@ var require_util_map_includes = __commonJS((exports) => {
60987
60684
  exports.mapIncludes = mapIncludes;
60988
60685
  });
60989
60686
 
60990
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-map.js
60687
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
60991
60688
  var require_resolve_block_map = __commonJS((exports) => {
60992
60689
  var Pair = require_Pair();
60993
60690
  var YAMLMap = require_YAMLMap();
@@ -61094,7 +60791,7 @@ var require_resolve_block_map = __commonJS((exports) => {
61094
60791
  exports.resolveBlockMap = resolveBlockMap;
61095
60792
  });
61096
60793
 
61097
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-seq.js
60794
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.js
61098
60795
  var require_resolve_block_seq = __commonJS((exports) => {
61099
60796
  var YAMLSeq = require_YAMLSeq();
61100
60797
  var resolveProps = require_resolve_props();
@@ -61142,7 +60839,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
61142
60839
  exports.resolveBlockSeq = resolveBlockSeq;
61143
60840
  });
61144
60841
 
61145
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-end.js
60842
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.js
61146
60843
  var require_resolve_end = __commonJS((exports) => {
61147
60844
  function resolveEnd(end, offset, reqSpace, onError) {
61148
60845
  let comment = "";
@@ -61182,7 +60879,7 @@ var require_resolve_end = __commonJS((exports) => {
61182
60879
  exports.resolveEnd = resolveEnd;
61183
60880
  });
61184
60881
 
61185
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-collection.js
60882
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.js
61186
60883
  var require_resolve_flow_collection = __commonJS((exports) => {
61187
60884
  var identity = require_identity();
61188
60885
  var Pair = require_Pair();
@@ -61373,7 +61070,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
61373
61070
  exports.resolveFlowCollection = resolveFlowCollection;
61374
61071
  });
61375
61072
 
61376
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-collection.js
61073
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.js
61377
61074
  var require_compose_collection = __commonJS((exports) => {
61378
61075
  var identity = require_identity();
61379
61076
  var Scalar = require_Scalar();
@@ -61435,7 +61132,7 @@ var require_compose_collection = __commonJS((exports) => {
61435
61132
  exports.composeCollection = composeCollection;
61436
61133
  });
61437
61134
 
61438
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-block-scalar.js
61135
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.js
61439
61136
  var require_resolve_block_scalar = __commonJS((exports) => {
61440
61137
  var Scalar = require_Scalar();
61441
61138
  function resolveBlockScalar(ctx, scalar2, onError) {
@@ -61628,7 +61325,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
61628
61325
  exports.resolveBlockScalar = resolveBlockScalar;
61629
61326
  });
61630
61327
 
61631
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/resolve-flow-scalar.js
61328
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js
61632
61329
  var require_resolve_flow_scalar = __commonJS((exports) => {
61633
61330
  var Scalar = require_Scalar();
61634
61331
  var resolveEnd = require_resolve_end();
@@ -61844,7 +61541,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
61844
61541
  exports.resolveFlowScalar = resolveFlowScalar;
61845
61542
  });
61846
61543
 
61847
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-scalar.js
61544
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.js
61848
61545
  var require_compose_scalar = __commonJS((exports) => {
61849
61546
  var identity = require_identity();
61850
61547
  var Scalar = require_Scalar();
@@ -61922,7 +61619,7 @@ var require_compose_scalar = __commonJS((exports) => {
61922
61619
  exports.composeScalar = composeScalar;
61923
61620
  });
61924
61621
 
61925
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/util-empty-scalar-position.js
61622
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js
61926
61623
  var require_util_empty_scalar_position = __commonJS((exports) => {
61927
61624
  function emptyScalarPosition(offset, before, pos) {
61928
61625
  if (before) {
@@ -61949,7 +61646,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
61949
61646
  exports.emptyScalarPosition = emptyScalarPosition;
61950
61647
  });
61951
61648
 
61952
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-node.js
61649
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.js
61953
61650
  var require_compose_node = __commonJS((exports) => {
61954
61651
  var Alias = require_Alias();
61955
61652
  var identity = require_identity();
@@ -61980,22 +61677,17 @@ var require_compose_node = __commonJS((exports) => {
61980
61677
  case "block-map":
61981
61678
  case "block-seq":
61982
61679
  case "flow-collection":
61983
- try {
61984
- node = composeCollection.composeCollection(CN, ctx, token, props, onError);
61985
- if (anchor)
61986
- node.anchor = anchor.source.substring(1);
61987
- } catch (error) {
61988
- const message2 = error instanceof Error ? error.message : String(error);
61989
- onError(token, "RESOURCE_EXHAUSTION", message2);
61990
- }
61680
+ node = composeCollection.composeCollection(CN, ctx, token, props, onError);
61681
+ if (anchor)
61682
+ node.anchor = anchor.source.substring(1);
61991
61683
  break;
61992
61684
  default: {
61993
61685
  const message2 = token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`;
61994
61686
  onError(token, "UNEXPECTED_TOKEN", message2);
61687
+ node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);
61995
61688
  isSrcToken = false;
61996
61689
  }
61997
61690
  }
61998
- node ?? (node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError));
61999
61691
  if (anchor && node.anchor === "")
62000
61692
  onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
62001
61693
  if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
@@ -62052,7 +61744,7 @@ var require_compose_node = __commonJS((exports) => {
62052
61744
  exports.composeNode = composeNode;
62053
61745
  });
62054
61746
 
62055
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/compose-doc.js
61747
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.js
62056
61748
  var require_compose_doc = __commonJS((exports) => {
62057
61749
  var Document2 = require_Document();
62058
61750
  var composeNode = require_compose_node();
@@ -62092,7 +61784,7 @@ var require_compose_doc = __commonJS((exports) => {
62092
61784
  exports.composeDoc = composeDoc;
62093
61785
  });
62094
61786
 
62095
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/compose/composer.js
61787
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
62096
61788
  var require_composer = __commonJS((exports) => {
62097
61789
  var node_process = __require("process");
62098
61790
  var directives = require_directives();
@@ -62281,7 +61973,7 @@ ${end.comment}` : end.comment;
62281
61973
  exports.Composer = Composer;
62282
61974
  });
62283
61975
 
62284
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-scalar.js
61976
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.js
62285
61977
  var require_cst_scalar = __commonJS((exports) => {
62286
61978
  var resolveBlockScalar = require_resolve_block_scalar();
62287
61979
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -62471,7 +62163,7 @@ var require_cst_scalar = __commonJS((exports) => {
62471
62163
  exports.setScalarValue = setScalarValue;
62472
62164
  });
62473
62165
 
62474
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-stringify.js
62166
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.js
62475
62167
  var require_cst_stringify = __commonJS((exports) => {
62476
62168
  var stringify2 = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
62477
62169
  function stringifyToken(token) {
@@ -62529,7 +62221,7 @@ var require_cst_stringify = __commonJS((exports) => {
62529
62221
  exports.stringify = stringify2;
62530
62222
  });
62531
62223
 
62532
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js
62224
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.js
62533
62225
  var require_cst_visit = __commonJS((exports) => {
62534
62226
  var BREAK = Symbol("break visit");
62535
62227
  var SKIP = Symbol("skip children");
@@ -62588,7 +62280,7 @@ var require_cst_visit = __commonJS((exports) => {
62588
62280
  exports.visit = visit;
62589
62281
  });
62590
62282
 
62591
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/cst.js
62283
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst.js
62592
62284
  var require_cst = __commonJS((exports) => {
62593
62285
  var cstScalar = require_cst_scalar();
62594
62286
  var cstStringify = require_cst_stringify();
@@ -62689,7 +62381,7 @@ var require_cst = __commonJS((exports) => {
62689
62381
  exports.tokenType = tokenType;
62690
62382
  });
62691
62383
 
62692
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/lexer.js
62384
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.js
62693
62385
  var require_lexer = __commonJS((exports) => {
62694
62386
  var cst = require_cst();
62695
62387
  function isEmpty(ch) {
@@ -63275,7 +62967,7 @@ var require_lexer = __commonJS((exports) => {
63275
62967
  exports.Lexer = Lexer;
63276
62968
  });
63277
62969
 
63278
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/line-counter.js
62970
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.js
63279
62971
  var require_line_counter = __commonJS((exports) => {
63280
62972
  class LineCounter {
63281
62973
  constructor() {
@@ -63303,7 +62995,7 @@ var require_line_counter = __commonJS((exports) => {
63303
62995
  exports.LineCounter = LineCounter;
63304
62996
  });
63305
62997
 
63306
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/parse/parser.js
62998
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
63307
62999
  var require_parser2 = __commonJS((exports) => {
63308
63000
  var node_process = __require("process");
63309
63001
  var cst = require_cst();
@@ -64152,7 +63844,7 @@ var require_parser2 = __commonJS((exports) => {
64152
63844
  exports.Parser = Parser;
64153
63845
  });
64154
63846
 
64155
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/public-api.js
63847
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/public-api.js
64156
63848
  var require_public_api = __commonJS((exports) => {
64157
63849
  var composer = require_composer();
64158
63850
  var Document2 = require_Document();
@@ -64246,7 +63938,7 @@ var require_public_api = __commonJS((exports) => {
64246
63938
  exports.stringify = stringify2;
64247
63939
  });
64248
63940
 
64249
- // ../../node_modules/.bun/yaml@2.8.3/node_modules/yaml/dist/index.js
63941
+ // ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/index.js
64250
63942
  var require_dist4 = __commonJS((exports) => {
64251
63943
  var composer = require_composer();
64252
63944
  var Document2 = require_Document();
@@ -64517,7 +64209,7 @@ var require_punycode = __commonJS((exports, module) => {
64517
64209
  module.exports = punycode;
64518
64210
  });
64519
64211
 
64520
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/Errors.js
64212
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/Errors.js
64521
64213
  var defaultMessages = "End-Of-Stream", EndOfStreamError, AbortError3;
64522
64214
  var init_Errors = __esm(() => {
64523
64215
  EndOfStreamError = class EndOfStreamError extends Error {
@@ -64534,7 +64226,7 @@ var init_Errors = __esm(() => {
64534
64226
  };
64535
64227
  });
64536
64228
 
64537
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/Deferred.js
64229
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/Deferred.js
64538
64230
  class Deferred {
64539
64231
  constructor() {
64540
64232
  this.resolve = () => null;
@@ -64546,7 +64238,7 @@ class Deferred {
64546
64238
  }
64547
64239
  }
64548
64240
 
64549
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/AbstractStreamReader.js
64241
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/AbstractStreamReader.js
64550
64242
  class AbstractStreamReader {
64551
64243
  constructor() {
64552
64244
  this.endOfStream = false;
@@ -64609,7 +64301,7 @@ var init_AbstractStreamReader = __esm(() => {
64609
64301
  init_Errors();
64610
64302
  });
64611
64303
 
64612
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/StreamReader.js
64304
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/StreamReader.js
64613
64305
  var StreamReader;
64614
64306
  var init_StreamReader = __esm(() => {
64615
64307
  init_Errors();
@@ -64678,7 +64370,7 @@ var init_StreamReader = __esm(() => {
64678
64370
  };
64679
64371
  });
64680
64372
 
64681
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/WebStreamReader.js
64373
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamReader.js
64682
64374
  var WebStreamReader;
64683
64375
  var init_WebStreamReader = __esm(() => {
64684
64376
  init_AbstractStreamReader();
@@ -64696,7 +64388,7 @@ var init_WebStreamReader = __esm(() => {
64696
64388
  };
64697
64389
  });
64698
64390
 
64699
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/WebStreamByobReader.js
64391
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamByobReader.js
64700
64392
  var WebStreamByobReader;
64701
64393
  var init_WebStreamByobReader = __esm(() => {
64702
64394
  init_WebStreamReader();
@@ -64717,7 +64409,7 @@ var init_WebStreamByobReader = __esm(() => {
64717
64409
  };
64718
64410
  });
64719
64411
 
64720
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js
64412
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js
64721
64413
  var WebStreamDefaultReader;
64722
64414
  var init_WebStreamDefaultReader = __esm(() => {
64723
64415
  init_Errors();
@@ -64771,7 +64463,7 @@ var init_WebStreamDefaultReader = __esm(() => {
64771
64463
  };
64772
64464
  });
64773
64465
 
64774
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js
64466
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js
64775
64467
  function makeWebStreamReader(stream) {
64776
64468
  try {
64777
64469
  const reader = stream.getReader({ mode: "byob" });
@@ -64791,7 +64483,7 @@ var init_WebStreamReaderFactory = __esm(() => {
64791
64483
  init_WebStreamDefaultReader();
64792
64484
  });
64793
64485
 
64794
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/stream/index.js
64486
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/index.js
64795
64487
  var init_stream2 = __esm(() => {
64796
64488
  init_Errors();
64797
64489
  init_StreamReader();
@@ -64800,7 +64492,7 @@ var init_stream2 = __esm(() => {
64800
64492
  init_WebStreamReaderFactory();
64801
64493
  });
64802
64494
 
64803
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/AbstractTokenizer.js
64495
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/AbstractTokenizer.js
64804
64496
  class AbstractTokenizer {
64805
64497
  constructor(options) {
64806
64498
  this.numBuffer = new Uint8Array(8);
@@ -64839,9 +64531,6 @@ class AbstractTokenizer {
64839
64531
  return token.get(this.numBuffer, 0);
64840
64532
  }
64841
64533
  async ignore(length) {
64842
- if (length < 0) {
64843
- throw new RangeError("ignore length must be ≥ 0 bytes");
64844
- }
64845
64534
  if (this.fileInfo.size !== undefined) {
64846
64535
  const bytesLeft = this.fileInfo.size - this.position;
64847
64536
  if (length > bytesLeft) {
@@ -64878,7 +64567,7 @@ var init_AbstractTokenizer = __esm(() => {
64878
64567
  init_stream2();
64879
64568
  });
64880
64569
 
64881
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/ReadStreamTokenizer.js
64570
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/ReadStreamTokenizer.js
64882
64571
  var maxBufferSize = 256000, ReadStreamTokenizer;
64883
64572
  var init_ReadStreamTokenizer = __esm(() => {
64884
64573
  init_AbstractTokenizer();
@@ -64940,9 +64629,6 @@ var init_ReadStreamTokenizer = __esm(() => {
64940
64629
  return bytesRead;
64941
64630
  }
64942
64631
  async ignore(length) {
64943
- if (length < 0) {
64944
- throw new RangeError("ignore length must be ≥ 0 bytes");
64945
- }
64946
64632
  const bufSize = Math.min(maxBufferSize, length);
64947
64633
  const buf = new Uint8Array(bufSize);
64948
64634
  let totBytesRead = 0;
@@ -64968,7 +64654,7 @@ var init_ReadStreamTokenizer = __esm(() => {
64968
64654
  };
64969
64655
  });
64970
64656
 
64971
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/BufferTokenizer.js
64657
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/BufferTokenizer.js
64972
64658
  var BufferTokenizer;
64973
64659
  var init_BufferTokenizer = __esm(() => {
64974
64660
  init_stream2();
@@ -65008,7 +64694,7 @@ var init_BufferTokenizer = __esm(() => {
65008
64694
  };
65009
64695
  });
65010
64696
 
65011
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/BlobTokenizer.js
64697
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/BlobTokenizer.js
65012
64698
  var BlobTokenizer;
65013
64699
  var init_BlobTokenizer = __esm(() => {
65014
64700
  init_stream2();
@@ -65049,7 +64735,7 @@ var init_BlobTokenizer = __esm(() => {
65049
64735
  };
65050
64736
  });
65051
64737
 
65052
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/core.js
64738
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/core.js
65053
64739
  function fromStream(stream, options) {
65054
64740
  const streamReader = new StreamReader(stream);
65055
64741
  const _options = options ?? {};
@@ -65089,7 +64775,7 @@ var init_core2 = __esm(() => {
65089
64775
  init_AbstractTokenizer();
65090
64776
  });
65091
64777
 
65092
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/FileTokenizer.js
64778
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/FileTokenizer.js
65093
64779
  import { open as fsOpen } from "node:fs/promises";
65094
64780
  var FileTokenizer;
65095
64781
  var init_FileTokenizer = __esm(() => {
@@ -65139,7 +64825,7 @@ var init_FileTokenizer = __esm(() => {
65139
64825
  };
65140
64826
  });
65141
64827
 
65142
- // ../../node_modules/.bun/strtok3@10.3.5/node_modules/strtok3/lib/index.js
64828
+ // ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/index.js
65143
64829
  import { stat as fsStat } from "node:fs/promises";
65144
64830
  async function fromStream2(stream, options) {
65145
64831
  const rst = fromStream(stream, options);
@@ -71553,29 +71239,32 @@ function escapeXmlText(text) {
71553
71239
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
71554
71240
  }
71555
71241
  function formatActionCallExample(example) {
71556
- const actionTags = example.actions.map((a) => ` <action>${escapeXmlText(a)}</action>`).join(`
71557
- `);
71558
71242
  const paramsByAction = example.params ?? {};
71559
- const paramsBlocks = Object.entries(paramsByAction).map(([actionName, params]) => {
71560
- const inner = Object.entries(params).map(([k, v]) => {
71561
- const raw = typeof v === "string" ? v : v === null ? "null" : JSON.stringify(v);
71562
- return ` <${k}>${escapeXmlText(raw)}</${k}>`;
71563
- }).join(`
71243
+ const actionElements = example.actions.map((actionName) => {
71244
+ const actionParams = paramsByAction[actionName];
71245
+ if (actionParams && Object.keys(actionParams).length > 0) {
71246
+ const paramsInner = Object.entries(actionParams).map(([k, v]) => {
71247
+ const raw = typeof v === "string" ? v : v === null ? "null" : JSON.stringify(v);
71248
+ return ` <${k}>${escapeXmlText(raw)}</${k}>`;
71249
+ }).join(`
71564
71250
  `);
71565
- return ` <${actionName}>
71566
- ${inner}
71567
- </${actionName}>`;
71251
+ return ` <action>
71252
+ <name>${escapeXmlText(actionName)}</name>
71253
+ <params>
71254
+ ${paramsInner}
71255
+ </params>
71256
+ </action>`;
71257
+ }
71258
+ return ` <action>
71259
+ <name>${escapeXmlText(actionName)}</name>
71260
+ </action>`;
71568
71261
  }).join(`
71569
71262
  `);
71570
- const paramsSection = paramsBlocks.length > 0 ? `
71571
- <params>
71572
- ${paramsBlocks}
71573
- </params>` : "";
71574
71263
  return `User: ${example.user}
71575
71264
  Assistant:
71576
71265
  <actions>
71577
- ${actionTags}
71578
- </actions>${paramsSection}`;
71266
+ ${actionElements}
71267
+ </actions>`;
71579
71268
  }
71580
71269
  function composeActionCallExamples(actionsData, maxExamples) {
71581
71270
  if (!actionsData.length || maxExamples <= 0)
@@ -71631,28 +71320,54 @@ function formatActionNames(actions) {
71631
71320
  function formatActions(actions) {
71632
71321
  if (!actions || !actions.length)
71633
71322
  return "";
71634
- return shuffleActions(actions).map((action) => {
71635
- let actionText = `- **${action.name}**: ${action.description || "No description available"}`;
71323
+ const actionElements = shuffleActions(actions).map((action) => {
71324
+ const descLine = ` <description>${escapeXmlText(action.description || "No description available")}</description>`;
71636
71325
  if (action.parameters && action.parameters.length > 0) {
71637
- const paramsText = formatActionParameters(action.parameters);
71638
- actionText += `
71639
- Parameters:
71640
- ${paramsText}`;
71326
+ const paramsXml = formatActionParameters(action.parameters);
71327
+ return ` <action>
71328
+ <name>${escapeXmlText(action.name)}</name>
71329
+ ${descLine}
71330
+ <params>
71331
+ ${paramsXml}
71332
+ </params>
71333
+ </action>`;
71641
71334
  }
71642
- return actionText;
71335
+ return ` <action>
71336
+ <name>${escapeXmlText(action.name)}</name>
71337
+ ${descLine}
71338
+ </action>`;
71643
71339
  }).join(`
71644
71340
  `);
71341
+ return `<actions>
71342
+ ${actionElements}
71343
+ </actions>`;
71645
71344
  }
71646
71345
  function formatActionParameters(parameters) {
71647
71346
  if (!parameters || !parameters.length)
71648
71347
  return "";
71649
71348
  return parameters.map((param) => {
71650
- const requiredStr = param.required ? " (required)" : " (optional)";
71349
+ const requiredStr = param.required ? "true" : "false";
71651
71350
  const typeStr = formatParameterType(param.schema);
71652
- const defaultStr = param.schema.default !== undefined ? ` [default: ${JSON.stringify(param.schema.default)}]` : "";
71653
- const enumStr = param.schema.enum ? ` [values: ${param.schema.enum.join(", ")}]` : "";
71654
- const examplesStr = param.examples && param.examples.length > 0 ? ` [examples: ${param.examples.map((v) => JSON.stringify(v)).join(", ")}]` : "";
71655
- return ` - ${param.name}${requiredStr}: ${param.description} (${typeStr}${enumStr}${defaultStr}${examplesStr})`;
71351
+ let paramXml = ` <param>
71352
+ <name>${escapeXmlText(param.name)}</name>
71353
+ <description>${escapeXmlText(param.description)}</description>
71354
+ <type>${escapeXmlText(typeStr)}</type>
71355
+ <required>${requiredStr}</required>`;
71356
+ if (param.schema.enum) {
71357
+ paramXml += `
71358
+ <values>${escapeXmlText(param.schema.enum.join(", "))}</values>`;
71359
+ }
71360
+ if (param.schema.default !== undefined) {
71361
+ paramXml += `
71362
+ <default>${escapeXmlText(JSON.stringify(param.schema.default))}</default>`;
71363
+ }
71364
+ if (param.examples && param.examples.length > 0) {
71365
+ paramXml += `
71366
+ <examples>${escapeXmlText(param.examples.map((v) => JSON.stringify(v)).join(", "))}</examples>`;
71367
+ }
71368
+ paramXml += `
71369
+ </param>`;
71370
+ return paramXml;
71656
71371
  }).join(`
71657
71372
  `);
71658
71373
  }
@@ -71677,8 +71392,32 @@ function parseActionParams(paramsXml) {
71677
71392
  if (!paramsXml || typeof paramsXml !== "string") {
71678
71393
  return result;
71679
71394
  }
71680
- const actionBlocks = extractXmlChildren(paramsXml);
71681
- for (const { key: actionName, value: actionParamsXml } of actionBlocks) {
71395
+ const actionChildren = extractXmlChildren(paramsXml);
71396
+ const actionElements = actionChildren.filter((c) => c.key === "action");
71397
+ if (actionElements.length > 0) {
71398
+ for (const { value: actionXml } of actionElements) {
71399
+ const children = extractXmlChildren(actionXml);
71400
+ const nameEntry = children.find((c) => c.key === "name");
71401
+ const paramsEntry = children.find((c) => c.key === "params");
71402
+ if (!nameEntry)
71403
+ continue;
71404
+ const actionName = nameEntry.value.trim().toUpperCase();
71405
+ if (!actionName)
71406
+ continue;
71407
+ if (paramsEntry) {
71408
+ const paramPairs = extractXmlChildren(paramsEntry.value);
71409
+ const actionParams = {};
71410
+ for (const { key: paramName, value: paramValue } of paramPairs) {
71411
+ actionParams[paramName] = parseParamValue(paramValue);
71412
+ }
71413
+ if (Object.keys(actionParams).length > 0) {
71414
+ result.set(actionName, actionParams);
71415
+ }
71416
+ }
71417
+ }
71418
+ return result;
71419
+ }
71420
+ for (const { key: actionName, value: actionParamsXml } of actionChildren) {
71682
71421
  const params = extractXmlChildren(actionParamsXml);
71683
71422
  const actionParams = {};
71684
71423
  for (const { key: paramName, value: paramValue } of params) {
@@ -71970,15 +71709,14 @@ IMPORTANT ACTION ORDERING RULES:
71970
71709
  - REPLY should come FIRST to acknowledge the user's request before executing other actions
71971
71710
  - Common patterns:
71972
71711
  - For requests requiring tool use: REPLY,CALL_MCP_TOOL (acknowledge first, then gather info)
71973
- - For task execution: REPLY,SEND_MESSAGE or REPLY,EVM_SWAP_TOKENS (acknowledge first, then do the task)
71974
- - For multi-step operations: REPLY,ACTION1,ACTION2 (acknowledge first, then complete all steps)
71712
+ - For task execution: REPLY,MAIN_TASK_ACTION (acknowledge first, then do the task)
71713
+ - For multi-step operations: REPLY,ACTION1,ACTION2,REPLY (acknowledge first, then complete all steps, then acknowledge all done)
71975
71714
  - REPLY is used to acknowledge and inform the user about what you're going to do
71976
71715
  - Follow-up actions execute the actual tasks after acknowledgment
71977
71716
  - Use IGNORE only when you should not respond at all
71978
71717
  - If you use IGNORE, do not include any other actions. IGNORE should be used alone when you should not respond or take any actions.
71979
71718
 
71980
71719
  IMPORTANT ACTION PARAMETERS:
71981
- - Some actions accept input parameters that you should extract from the conversation
71982
71720
  - When an action has parameters listed in its description, include a <params> block for that action
71983
71721
  - Extract parameter values from the user's message and conversation context
71984
71722
  - Required parameters MUST be provided; optional parameters can be omitted if not mentioned
@@ -71986,16 +71724,20 @@ IMPORTANT ACTION PARAMETERS:
71986
71724
 
71987
71725
  EXAMPLE (action parameters):
71988
71726
  User message: "Send a message to @dev_guru on telegram saying Hello!"
71989
- Actions: REPLY,SEND_MESSAGE
71990
- Params:
71991
- <params>
71992
- <SEND_MESSAGE>
71993
- <targetType>user</targetType>
71994
- <source>telegram</source>
71995
- <target>dev_guru</target>
71996
- <text>Hello!</text>
71997
- </SEND_MESSAGE>
71998
- </params>
71727
+ <actions>
71728
+ <action>
71729
+ <name>REPLY</name>
71730
+ </action>
71731
+ <action>
71732
+ <name>SEND_MESSAGE</name>
71733
+ <params>
71734
+ <targetType>user</targetType>
71735
+ <source>telegram</source>
71736
+ <target>dev_guru</target>
71737
+ <text>Hello!</text>
71738
+ </params>
71739
+ </action>
71740
+ </actions>
71999
71741
 
72000
71742
  IMPORTANT PROVIDER SELECTION RULES:
72001
71743
  - Only include providers if they are needed to respond accurately.
@@ -72011,41 +71753,43 @@ IMPORTANT CODE BLOCK FORMATTING RULES:
72011
71753
  - ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.
72012
71754
  - If including inline code (short single words or function names), use single backticks (\`) as appropriate.
72013
71755
  - This ensures the user sees clearly formatted and copyable code when relevant.
72014
-
72015
- First, think about what you want to do next and plan your actions. Then, write the next message and include the actions you plan to take.
72016
71756
  </instructions>
72017
71757
 
72018
71758
  <keys>
72019
71759
  "thought" should be a short description of what the agent is thinking about and planning.
72020
- "actions" should be a comma-separated list of the actions {{agentName}} plans to take based on the thought, IN THE ORDER THEY SHOULD BE EXECUTED (if none, use IGNORE, if simply responding with text, use REPLY)
71760
+ "actions" should be a list of <action> elements IN THE ORDER THEY SHOULD BE EXECUTED (if none, use a single <action><name>IGNORE</name></action>, if simply responding with text, use <action><name>REPLY</name></action>). Each action that requires parameters should include a <params> child element.
72021
71761
  "providers" should be a comma-separated list of the providers that {{agentName}} will use to have the right context for responding and acting (NEVER use "IGNORE" as a provider - use specific provider names like ATTACHMENTS, ENTITIES, FACTS, KNOWLEDGE, etc.)
72022
71762
  "text" should be the text of the next message for {{agentName}} which they will send to the conversation.
72023
- "params" (optional) should contain action parameters when actions require input. Format as nested XML with action name as wrapper.
72024
71763
  </keys>
72025
71764
 
72026
71765
  <output>
72027
- Do NOT include any thinking, reasoning, or <think> sections in your response.
71766
+ Do NOT include any thinking, reasoning, or <think> sections in your response.
72028
71767
  Go directly to the XML response format without any preamble or explanation.
72029
71768
 
72030
71769
  Respond using XML format like this:
72031
71770
  <response>
72032
71771
  <thought>Your thought here</thought>
72033
- <actions>ACTION1,ACTION2</actions>
71772
+ <actions>
71773
+ <action>
71774
+ <name>ACTION1</name>
71775
+ <params>
71776
+ <paramName1>value1</paramName1>
71777
+ <paramName2>value2</paramName2>
71778
+ </params>
71779
+ </action>
71780
+ <action>
71781
+ <name>ACTION2</name>
71782
+ <params>
71783
+ <paramName1>value1</paramName1>
71784
+ </params>
71785
+ </action>
71786
+ </actions>
72034
71787
  <providers>PROVIDER1,PROVIDER2</providers>
72035
71788
  <text>Your response text here</text>
72036
- <params>
72037
- <ACTION1>
72038
- <paramName1>value1</paramName1>
72039
- <paramName2>value2</paramName2>
72040
- </ACTION1>
72041
- <ACTION2>
72042
- <paramName1>value1</paramName1>
72043
- </ACTION2>
72044
- </params>
72045
71789
  </response>
72046
71790
 
72047
- The <params> block is optional - only include when actions require input parameters.
72048
- If an action has no parameters or you're only using REPLY/IGNORE, omit <params> entirely.
71791
+ The <params> block inside each <action> is optional - only include it when that action requires input parameters.
71792
+ If an action has no parameters (e.g. REPLY or IGNORE), omit the <params> child entirely.
72049
71793
 
72050
71794
  IMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.
72051
71795
  </output>`;
@@ -72090,7 +71834,7 @@ The "post" field should be the post you want to send. Do not including any think
72090
71834
  The "imagePrompt" field is optional and should be a prompt for an image that is relevant to the post. It should be a single sentence that captures the essence of the post. ONLY USE THIS FIELD if it makes sense that the post would benefit from an image.
72091
71835
  The "thought" field should be a short description of what the agent is thinking about before responding, including a brief justification for the response. Includate an explanation how the post is relevant to the topic but unique and different than other posts.
72092
71836
 
72093
- Do NOT include any thinking, reasoning, or <think> sections in your response.
71837
+ Do NOT include any thinking, reasoning, or <think> sections in your response.
72094
71838
  Go directly to the XML response format without any preamble or explanation.
72095
71839
 
72096
71840
  IMPORTANT: Your response must ONLY contain the <response></response> XML block above. Do not include any text, thinking, or reasoning before or after this XML block. Start your response immediately with <response> and end with </response>.`;
@@ -72107,7 +71851,7 @@ Be objective and descriptive. Focus on what you can actually see in the image ra
72107
71851
  </instructions>
72108
71852
 
72109
71853
  <output>
72110
- Do NOT include any thinking, reasoning, or <think> sections in your response.
71854
+ Do NOT include any thinking, reasoning, or <think> sections in your response.
72111
71855
  Go directly to the XML response format without any preamble or explanation.
72112
71856
 
72113
71857
  Respond using XML format like this:
@@ -72347,8 +72091,6 @@ var optionExtractionTemplate = `# Task: Extract selected task and option from us
72347
72091
  3. Return the task ID (shortened UUID) and selected option name exactly as listed above
72348
72092
  4. If no clear selection is made, return null for both fields
72349
72093
 
72350
- Do NOT include any thinking, reasoning, or <think> sections in your response.
72351
- Go directly to the XML response format without any preamble or explanation.
72352
72094
 
72353
72095
  Return in XML format:
72354
72096
  <response>
@@ -72765,8 +72507,6 @@ Message Sender: {{senderName}} (ID: {{senderId}})
72765
72507
  - The targetEntityId is the UUID of the entity being interacted with.
72766
72508
  - Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.
72767
72509
 
72768
- Do NOT include any thinking, reasoning, or <think> sections in your response.
72769
- Go directly to the XML response format without any preamble or explanation.
72770
72510
 
72771
72511
  Generate a response in the following format:
72772
72512
  <response>
@@ -72811,8 +72551,6 @@ Agent: {{agentName}} (ID: {{agentId}})
72811
72551
  5. If multiple matches exist, use context to disambiguate
72812
72552
  6. Consider recent interactions and relationship strength when resolving ambiguity
72813
72553
 
72814
- Do NOT include any thinking, reasoning, or <think> sections in your response.
72815
- Go directly to the XML response format without any preamble or explanation.
72816
72554
 
72817
72555
  Return an XML response with:
72818
72556
  <response>
@@ -72847,8 +72585,6 @@ var componentTemplate = `# Task: Extract Source and Update Component Data
72847
72585
  - Includes the new information from the conversation
72848
72586
  - Contains only valid data for this component type
72849
72587
 
72850
- Do NOT include any thinking, reasoning, or <think> sections in your response.
72851
- Go directly to the XML response format without any preamble or explanation.
72852
72588
 
72853
72589
  Return an XML response with the following structure:
72854
72590
  <response>
@@ -75674,7 +75410,7 @@ ${values}`;
75674
75410
  `);
75675
75411
  resultsText = addHeader("# Previous Action Results", formattedResults);
75676
75412
  } else {
75677
- resultsText = "No previous action results available.";
75413
+ resultsText = "";
75678
75414
  }
75679
75415
  let memoryText = "";
75680
75416
  if (workingMemory && Object.keys(workingMemory).length > 0) {
@@ -76473,7 +76209,7 @@ ${runText}`;
76473
76209
  const receivedMessageContent = message2.content.text;
76474
76210
  const hasReceivedMessage = !!receivedMessageContent?.trim();
76475
76211
  const receivedMessageHeader = hasReceivedMessage ? addHeader("# Received Message", `${senderName}: ${receivedMessageContent}`) : "";
76476
- const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message. Do not repeat earlier replies unless the sender asks again.`) : "";
76212
+ const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message, but include as context any previous messages in the thread from after your last reply.`) : "";
76477
76213
  const interactionEntityMap = new Map;
76478
76214
  if (recentInteractionsData.length > 0) {
76479
76215
  const uniqueEntityIds = [
@@ -78272,8 +78008,6 @@ The available role types are:
78272
78008
  # Current context:
78273
78009
  {{content}}
78274
78010
 
78275
- Do NOT include any thinking, reasoning, or <think> sections in your response.
78276
- Go directly to the XML response format without any preamble or explanation.
78277
78011
 
78278
78012
  Format your response as XML with multiple assignments:
78279
78013
  <response>
@@ -78716,8 +78450,6 @@ Analyze the conversation to identify:
78716
78450
  3. Any identifying information about the target
78717
78451
  4. The message text to send
78718
78452
 
78719
- Do NOT include any thinking, reasoning, or <think> sections in your response.
78720
- Go directly to the XML response format without any preamble or explanation.
78721
78453
 
78722
78454
  Return an XML response with:
78723
78455
  <response>
@@ -79814,8 +79546,6 @@ var spec27 = requireActionSpec("UPDATE_SETTINGS");
79814
79546
  var messageCompletionFooter = `
79815
79547
  # Instructions: Write the next message for {{agentName}}. Include the appropriate action from the list: {{actionNames}}
79816
79548
 
79817
- Do NOT include any thinking, reasoning, or <think> sections in your response.
79818
- Go directly to the XML response format without any preamble or explanation.
79819
79549
 
79820
79550
  Response format should be formatted in XML like this:
79821
79551
  <response>
@@ -80953,8 +80683,6 @@ var componentTemplate2 = `# Task: Extract Source and Update Component Data
80953
80683
  - Includes the new information from the conversation
80954
80684
  - Contains only valid data for this component type
80955
80685
 
80956
- Do NOT include any thinking, reasoning, or <think> sections in your response.
80957
- Go directly to the XML response format without any preamble or explanation.
80958
80686
 
80959
80687
  Return an XML response with the following structure:
80960
80688
  <response>
@@ -96815,12 +96543,35 @@ class DefaultMessageService {
96815
96543
  if (parsedXml) {
96816
96544
  streamingExtractor?.markComplete();
96817
96545
  const normalizedActions = (() => {
96546
+ if (typeof parsedXml.actions === "string") {
96547
+ const actionsXml = parsedXml.actions;
96548
+ if (actionsXml.includes("<action>") || actionsXml.includes("<action ")) {
96549
+ const actionEntries = [];
96550
+ for (const match2 of actionsXml.matchAll(/<action>([\s\S]*?)<\/action>/g)) {
96551
+ const inner = match2[1];
96552
+ const nameMatch = inner.match(/<name>([\s\S]*?)<\/name>/);
96553
+ const paramsMatch = inner.match(/<params>([\s\S]*?)<\/params>/);
96554
+ if (nameMatch) {
96555
+ const name = nameMatch[1].trim();
96556
+ const paramsXml = paramsMatch ? paramsMatch[1].trim() : undefined;
96557
+ if (name)
96558
+ actionEntries.push({ name, paramsXml });
96559
+ }
96560
+ }
96561
+ if (actionEntries.length > 0) {
96562
+ const inlineParamsXml = actionEntries.filter((e) => e.paramsXml).map((e) => `<${e.name.toUpperCase()}>${e.paramsXml}</${e.name.toUpperCase()}>`).join(`
96563
+ `);
96564
+ if (inlineParamsXml && (!parsedXml.params || parsedXml.params === "")) {
96565
+ parsedXml.params = inlineParamsXml;
96566
+ }
96567
+ return actionEntries.map((e) => e.name);
96568
+ }
96569
+ }
96570
+ return actionsXml.split(",").map((action) => String(action).trim()).filter((action) => action.length > 0);
96571
+ }
96818
96572
  if (Array.isArray(parsedXml.actions)) {
96819
96573
  return parsedXml.actions;
96820
96574
  }
96821
- if (typeof parsedXml.actions === "string") {
96822
- return parsedXml.actions.split(",").map((action) => String(action).trim()).filter((action) => action.length > 0);
96823
- }
96824
96575
  return [];
96825
96576
  })();
96826
96577
  const finalActions = !runtime2.isActionPlanningEnabled() && normalizedActions.length > 1 ? [normalizedActions[0]] : normalizedActions;
@@ -108385,5 +108136,5 @@ export {
108385
108136
  ADD_CONTACT_TEMPLATE
108386
108137
  };
108387
108138
 
108388
- //# debugId=ED50C80550B6F7A764756E2164756E21
108139
+ //# debugId=04350D2054E8960064756E2164756E21
108389
108140
  //# sourceMappingURL=index.node.js.map