@elizaos/core 2.0.0-alpha.92 → 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.
- package/dist/actions.d.ts +11 -0
- package/dist/actions.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/createTask.d.ts +3 -0
- package/dist/advanced-capabilities/actions/createTask.d.ts.map +1 -0
- package/dist/advanced-memory/actions/resetSession.d.ts +11 -0
- package/dist/advanced-memory/actions/resetSession.d.ts.map +1 -0
- package/dist/advanced-memory/services/autoCompaction.d.ts +24 -0
- package/dist/advanced-memory/services/autoCompaction.d.ts.map +1 -0
- package/dist/autonomy/autonomousState.d.ts +5 -0
- package/dist/autonomy/autonomousState.d.ts.map +1 -0
- package/dist/basic-capabilities/actions/status.d.ts +10 -0
- package/dist/basic-capabilities/actions/status.d.ts.map +1 -0
- package/dist/basic-capabilities/providers/capabilities.d.ts +14 -0
- package/dist/basic-capabilities/providers/capabilities.d.ts.map +1 -0
- package/dist/bootstrap/actions/addContact.d.ts +3 -0
- package/dist/bootstrap/actions/addContact.d.ts.map +1 -0
- package/dist/bootstrap/actions/choice.d.ts +3 -0
- package/dist/bootstrap/actions/choice.d.ts.map +1 -0
- package/dist/bootstrap/actions/followRoom.d.ts +3 -0
- package/dist/bootstrap/actions/followRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/ignore.d.ts +3 -0
- package/dist/bootstrap/actions/ignore.d.ts.map +1 -0
- package/dist/bootstrap/actions/imageGeneration.d.ts +2 -0
- package/dist/bootstrap/actions/imageGeneration.d.ts.map +1 -0
- package/dist/bootstrap/actions/index.d.ts +14 -0
- package/dist/bootstrap/actions/index.d.ts.map +1 -0
- package/dist/bootstrap/actions/muteRoom.d.ts +3 -0
- package/dist/bootstrap/actions/muteRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/none.d.ts +3 -0
- package/dist/bootstrap/actions/none.d.ts.map +1 -0
- package/dist/bootstrap/actions/removeContact.d.ts +3 -0
- package/dist/bootstrap/actions/removeContact.d.ts.map +1 -0
- package/dist/bootstrap/actions/reply.d.ts +3 -0
- package/dist/bootstrap/actions/reply.d.ts.map +1 -0
- package/dist/bootstrap/actions/resetSession.d.ts +2 -0
- package/dist/bootstrap/actions/resetSession.d.ts.map +1 -0
- package/dist/bootstrap/actions/roles.d.ts +13 -0
- package/dist/bootstrap/actions/roles.d.ts.map +1 -0
- package/dist/bootstrap/actions/scheduleFollowUp.d.ts +3 -0
- package/dist/bootstrap/actions/scheduleFollowUp.d.ts.map +1 -0
- package/dist/bootstrap/actions/searchContacts.d.ts +3 -0
- package/dist/bootstrap/actions/searchContacts.d.ts.map +1 -0
- package/dist/bootstrap/actions/sendMessage.d.ts +14 -0
- package/dist/bootstrap/actions/sendMessage.d.ts.map +1 -0
- package/dist/bootstrap/actions/settings.d.ts +7 -0
- package/dist/bootstrap/actions/settings.d.ts.map +1 -0
- package/dist/bootstrap/actions/status.d.ts +10 -0
- package/dist/bootstrap/actions/status.d.ts.map +1 -0
- package/dist/bootstrap/actions/unfollowRoom.d.ts +13 -0
- package/dist/bootstrap/actions/unfollowRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/unmuteRoom.d.ts +14 -0
- package/dist/bootstrap/actions/unmuteRoom.d.ts.map +1 -0
- package/dist/bootstrap/actions/updateContact.d.ts +3 -0
- package/dist/bootstrap/actions/updateContact.d.ts.map +1 -0
- package/dist/bootstrap/actions/updateEntity.d.ts +42 -0
- package/dist/bootstrap/actions/updateEntity.d.ts.map +1 -0
- package/dist/bootstrap/evaluators/index.d.ts +2 -0
- package/dist/bootstrap/evaluators/index.d.ts.map +1 -0
- package/dist/bootstrap/evaluators/reflection.d.ts +3 -0
- package/dist/bootstrap/evaluators/reflection.d.ts.map +1 -0
- package/dist/bootstrap/evaluators/relationshipExtraction.d.ts +3 -0
- package/dist/bootstrap/evaluators/relationshipExtraction.d.ts.map +1 -0
- package/dist/bootstrap/index.d.ts +64 -0
- package/dist/bootstrap/index.d.ts.map +1 -0
- package/dist/bootstrap/providers/actionState.d.ts +7 -0
- package/dist/bootstrap/providers/actionState.d.ts.map +1 -0
- package/dist/bootstrap/providers/actions.d.ts +4 -0
- package/dist/bootstrap/providers/actions.d.ts.map +1 -0
- package/dist/bootstrap/providers/attachments.d.ts +20 -0
- package/dist/bootstrap/providers/attachments.d.ts.map +1 -0
- package/dist/bootstrap/providers/capabilities.d.ts +13 -0
- package/dist/bootstrap/providers/capabilities.d.ts.map +1 -0
- package/dist/bootstrap/providers/character.d.ts +17 -0
- package/dist/bootstrap/providers/character.d.ts.map +1 -0
- package/dist/bootstrap/providers/choice.d.ts +10 -0
- package/dist/bootstrap/providers/choice.d.ts.map +1 -0
- package/dist/bootstrap/providers/contacts.d.ts +3 -0
- package/dist/bootstrap/providers/contacts.d.ts.map +1 -0
- package/dist/bootstrap/providers/contextBench.d.ts +12 -0
- package/dist/bootstrap/providers/contextBench.d.ts.map +1 -0
- package/dist/bootstrap/providers/entities.d.ts +7 -0
- package/dist/bootstrap/providers/entities.d.ts.map +1 -0
- package/dist/bootstrap/providers/evaluators.d.ts +3 -0
- package/dist/bootstrap/providers/evaluators.d.ts.map +1 -0
- package/dist/bootstrap/providers/facts.d.ts +11 -0
- package/dist/bootstrap/providers/facts.d.ts.map +1 -0
- package/dist/bootstrap/providers/followUps.d.ts +3 -0
- package/dist/bootstrap/providers/followUps.d.ts.map +1 -0
- package/dist/bootstrap/providers/index.d.ts +16 -0
- package/dist/bootstrap/providers/index.d.ts.map +1 -0
- package/dist/bootstrap/providers/knowledge.d.ts +9 -0
- package/dist/bootstrap/providers/knowledge.d.ts.map +1 -0
- package/dist/bootstrap/providers/providers.d.ts +18 -0
- package/dist/bootstrap/providers/providers.d.ts.map +1 -0
- package/dist/bootstrap/providers/recentMessages.d.ts +14 -0
- package/dist/bootstrap/providers/recentMessages.d.ts.map +1 -0
- package/dist/bootstrap/providers/relationships.d.ts +15 -0
- package/dist/bootstrap/providers/relationships.d.ts.map +1 -0
- package/dist/bootstrap/providers/roles.d.ts +18 -0
- package/dist/bootstrap/providers/roles.d.ts.map +1 -0
- package/dist/bootstrap/providers/settings.d.ts +7 -0
- package/dist/bootstrap/providers/settings.d.ts.map +1 -0
- package/dist/bootstrap/providers/time.d.ts +16 -0
- package/dist/bootstrap/providers/time.d.ts.map +1 -0
- package/dist/bootstrap/providers/world.d.ts +7 -0
- package/dist/bootstrap/providers/world.d.ts.map +1 -0
- package/dist/bootstrap/services/autoCompaction.d.ts +2 -0
- package/dist/bootstrap/services/autoCompaction.d.ts.map +1 -0
- package/dist/browser/index.browser.js +376 -331
- package/dist/browser/index.browser.js.map +11 -11
- package/dist/deterministic.d.ts +31 -0
- package/dist/deterministic.d.ts.map +1 -0
- package/dist/edge/index.edge.js +503 -720
- package/dist/edge/index.edge.js.map +14 -14
- package/dist/generated/action-docs.d.ts.map +1 -1
- package/dist/network/sandbox-fetch-proxy.d.ts +25 -0
- package/dist/network/sandbox-fetch-proxy.d.ts.map +1 -0
- package/dist/node/index.node.js +517 -740
- package/dist/node/index.node.js.map +17 -17
- package/dist/packages/typescript/tsconfig.tsbuildinfo +1 -0
- package/dist/prompts.d.ts +6 -6
- package/dist/prompts.d.ts.map +1 -1
- package/dist/providers/sessionKeys.d.ts +24 -0
- package/dist/providers/sessionKeys.d.ts.map +1 -0
- package/dist/request-context.d.ts +143 -0
- package/dist/request-context.d.ts.map +1 -0
- package/dist/security/sandbox-token-manager.d.ts +33 -0
- package/dist/security/sandbox-token-manager.d.ts.map +1 -0
- package/dist/services/action-filter.d.ts +195 -0
- package/dist/services/action-filter.d.ts.map +1 -0
- package/dist/services/bm25.d.ts +51 -0
- package/dist/services/bm25.d.ts.map +1 -0
- package/dist/services/cosine-similarity.d.ts +5 -0
- package/dist/services/cosine-similarity.d.ts.map +1 -0
- package/dist/services/message.d.ts.map +1 -1
- package/dist/services/triggerScheduling.d.ts +29 -0
- package/dist/services/triggerScheduling.d.ts.map +1 -0
- package/dist/services/triggerWorker.d.ts +17 -0
- package/dist/services/triggerWorker.d.ts.map +1 -0
- package/dist/utils/time-format.d.ts +28 -0
- package/dist/utils/time-format.d.ts.map +1 -0
- package/dist/validation/keywords.d.ts +26 -0
- package/dist/validation/keywords.d.ts.map +1 -0
- package/package.json +3 -3
package/dist/node/index.node.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
7955
|
-
var __version__ = "0.5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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 (
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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+
|
|
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+
|
|
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
|
});
|
|
@@ -57329,7 +57036,7 @@ https://github.com/browserify/crypto-browserify`);
|
|
|
57329
57036
|
};
|
|
57330
57037
|
});
|
|
57331
57038
|
|
|
57332
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57039
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.js
|
|
57333
57040
|
var require_identity = __commonJS((exports) => {
|
|
57334
57041
|
var ALIAS = Symbol.for("yaml.alias");
|
|
57335
57042
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -57383,7 +57090,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
57383
57090
|
exports.isSeq = isSeq;
|
|
57384
57091
|
});
|
|
57385
57092
|
|
|
57386
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57093
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/visit.js
|
|
57387
57094
|
var require_visit = __commonJS((exports) => {
|
|
57388
57095
|
var identity = require_identity();
|
|
57389
57096
|
var BREAK = Symbol("break visit");
|
|
@@ -57538,7 +57245,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
57538
57245
|
exports.visitAsync = visitAsync;
|
|
57539
57246
|
});
|
|
57540
57247
|
|
|
57541
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57248
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/directives.js
|
|
57542
57249
|
var require_directives = __commonJS((exports) => {
|
|
57543
57250
|
var identity = require_identity();
|
|
57544
57251
|
var visit = require_visit();
|
|
@@ -57690,7 +57397,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
57690
57397
|
exports.Directives = Directives;
|
|
57691
57398
|
});
|
|
57692
57399
|
|
|
57693
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57400
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.js
|
|
57694
57401
|
var require_anchors = __commonJS((exports) => {
|
|
57695
57402
|
var identity = require_identity();
|
|
57696
57403
|
var visit = require_visit();
|
|
@@ -57752,7 +57459,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
57752
57459
|
exports.findNewAnchor = findNewAnchor;
|
|
57753
57460
|
});
|
|
57754
57461
|
|
|
57755
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57462
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.js
|
|
57756
57463
|
var require_applyReviver = __commonJS((exports) => {
|
|
57757
57464
|
function applyReviver(reviver, obj, key, val) {
|
|
57758
57465
|
if (val && typeof val === "object") {
|
|
@@ -57799,7 +57506,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
57799
57506
|
exports.applyReviver = applyReviver;
|
|
57800
57507
|
});
|
|
57801
57508
|
|
|
57802
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57509
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.js
|
|
57803
57510
|
var require_toJS = __commonJS((exports) => {
|
|
57804
57511
|
var identity = require_identity();
|
|
57805
57512
|
function toJS(value, arg, ctx) {
|
|
@@ -57826,7 +57533,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
57826
57533
|
exports.toJS = toJS;
|
|
57827
57534
|
});
|
|
57828
57535
|
|
|
57829
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57536
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.js
|
|
57830
57537
|
var require_Node = __commonJS((exports) => {
|
|
57831
57538
|
var applyReviver = require_applyReviver();
|
|
57832
57539
|
var identity = require_identity();
|
|
@@ -57863,7 +57570,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
57863
57570
|
exports.NodeBase = NodeBase;
|
|
57864
57571
|
});
|
|
57865
57572
|
|
|
57866
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57573
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.js
|
|
57867
57574
|
var require_Alias = __commonJS((exports) => {
|
|
57868
57575
|
var anchors = require_anchors();
|
|
57869
57576
|
var visit = require_visit();
|
|
@@ -57971,7 +57678,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
57971
57678
|
exports.Alias = Alias;
|
|
57972
57679
|
});
|
|
57973
57680
|
|
|
57974
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57681
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.js
|
|
57975
57682
|
var require_Scalar = __commonJS((exports) => {
|
|
57976
57683
|
var identity = require_identity();
|
|
57977
57684
|
var Node = require_Node();
|
|
@@ -57999,7 +57706,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
57999
57706
|
exports.isScalarValue = isScalarValue;
|
|
58000
57707
|
});
|
|
58001
57708
|
|
|
58002
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57709
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.js
|
|
58003
57710
|
var require_createNode = __commonJS((exports) => {
|
|
58004
57711
|
var Alias = require_Alias();
|
|
58005
57712
|
var identity = require_identity();
|
|
@@ -58071,7 +57778,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
58071
57778
|
exports.createNode = createNode;
|
|
58072
57779
|
});
|
|
58073
57780
|
|
|
58074
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57781
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.js
|
|
58075
57782
|
var require_Collection = __commonJS((exports) => {
|
|
58076
57783
|
var createNode = require_createNode();
|
|
58077
57784
|
var identity = require_identity();
|
|
@@ -58186,7 +57893,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
58186
57893
|
exports.isEmptyPath = isEmptyPath;
|
|
58187
57894
|
});
|
|
58188
57895
|
|
|
58189
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57896
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
58190
57897
|
var require_stringifyComment = __commonJS((exports) => {
|
|
58191
57898
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
58192
57899
|
function indentComment(comment, indent) {
|
|
@@ -58203,7 +57910,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
58203
57910
|
exports.stringifyComment = stringifyComment;
|
|
58204
57911
|
});
|
|
58205
57912
|
|
|
58206
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
57913
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
58207
57914
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
58208
57915
|
var FOLD_FLOW = "flow";
|
|
58209
57916
|
var FOLD_BLOCK = "block";
|
|
@@ -58340,7 +58047,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
58340
58047
|
exports.foldFlowLines = foldFlowLines;
|
|
58341
58048
|
});
|
|
58342
58049
|
|
|
58343
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58050
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.js
|
|
58344
58051
|
var require_stringifyString = __commonJS((exports) => {
|
|
58345
58052
|
var Scalar = require_Scalar();
|
|
58346
58053
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -58638,7 +58345,7 @@ ${indent}`);
|
|
|
58638
58345
|
exports.stringifyString = stringifyString;
|
|
58639
58346
|
});
|
|
58640
58347
|
|
|
58641
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58348
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.js
|
|
58642
58349
|
var require_stringify3 = __commonJS((exports) => {
|
|
58643
58350
|
var anchors = require_anchors();
|
|
58644
58351
|
var identity = require_identity();
|
|
@@ -58661,7 +58368,6 @@ var require_stringify3 = __commonJS((exports) => {
|
|
|
58661
58368
|
nullStr: "null",
|
|
58662
58369
|
simpleKeys: false,
|
|
58663
58370
|
singleQuote: null,
|
|
58664
|
-
trailingComma: false,
|
|
58665
58371
|
trueStr: "true",
|
|
58666
58372
|
verifyAliasOrder: true
|
|
58667
58373
|
}, doc.schema.toStringOptions, options);
|
|
@@ -58759,7 +58465,7 @@ ${ctx.indent}${str}`;
|
|
|
58759
58465
|
exports.stringify = stringify2;
|
|
58760
58466
|
});
|
|
58761
58467
|
|
|
58762
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58468
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
58763
58469
|
var require_stringifyPair = __commonJS((exports) => {
|
|
58764
58470
|
var identity = require_identity();
|
|
58765
58471
|
var Scalar = require_Scalar();
|
|
@@ -58895,7 +58601,7 @@ ${ctx.indent}`;
|
|
|
58895
58601
|
exports.stringifyPair = stringifyPair;
|
|
58896
58602
|
});
|
|
58897
58603
|
|
|
58898
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58604
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/log.js
|
|
58899
58605
|
var require_log2 = __commonJS((exports) => {
|
|
58900
58606
|
var node_process = __require("process");
|
|
58901
58607
|
function debug(logLevel, ...messages) {
|
|
@@ -58914,7 +58620,7 @@ var require_log2 = __commonJS((exports) => {
|
|
|
58914
58620
|
exports.warn = warn;
|
|
58915
58621
|
});
|
|
58916
58622
|
|
|
58917
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58623
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
58918
58624
|
var require_merge = __commonJS((exports) => {
|
|
58919
58625
|
var identity = require_identity();
|
|
58920
58626
|
var Scalar = require_Scalar();
|
|
@@ -58968,7 +58674,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
58968
58674
|
exports.merge = merge;
|
|
58969
58675
|
});
|
|
58970
58676
|
|
|
58971
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58677
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
58972
58678
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
58973
58679
|
var log = require_log2();
|
|
58974
58680
|
var merge = require_merge();
|
|
@@ -59029,7 +58735,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
59029
58735
|
exports.addPairToJSMap = addPairToJSMap;
|
|
59030
58736
|
});
|
|
59031
58737
|
|
|
59032
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58738
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.js
|
|
59033
58739
|
var require_Pair = __commonJS((exports) => {
|
|
59034
58740
|
var createNode = require_createNode();
|
|
59035
58741
|
var stringifyPair = require_stringifyPair();
|
|
@@ -59067,7 +58773,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
59067
58773
|
exports.createPair = createPair;
|
|
59068
58774
|
});
|
|
59069
58775
|
|
|
59070
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58776
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
59071
58777
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
59072
58778
|
var identity = require_identity();
|
|
59073
58779
|
var stringify2 = require_stringify3();
|
|
@@ -59170,20 +58876,13 @@ ${indent}${line}` : `
|
|
|
59170
58876
|
if (comment)
|
|
59171
58877
|
reqNewline = true;
|
|
59172
58878
|
let str = stringify2.stringify(item, itemCtx, () => comment = null);
|
|
59173
|
-
|
|
59174
|
-
`));
|
|
59175
|
-
if (i < items.length - 1) {
|
|
58879
|
+
if (i < items.length - 1)
|
|
59176
58880
|
str += ",";
|
|
59177
|
-
} else if (ctx.options.trailingComma) {
|
|
59178
|
-
if (ctx.options.lineWidth > 0) {
|
|
59179
|
-
reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
|
|
59180
|
-
}
|
|
59181
|
-
if (reqNewline) {
|
|
59182
|
-
str += ",";
|
|
59183
|
-
}
|
|
59184
|
-
}
|
|
59185
58881
|
if (comment)
|
|
59186
58882
|
str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
|
|
58883
|
+
if (!reqNewline && (lines.length > linesAtValue || str.includes(`
|
|
58884
|
+
`)))
|
|
58885
|
+
reqNewline = true;
|
|
59187
58886
|
lines.push(str);
|
|
59188
58887
|
linesAtValue = lines.length;
|
|
59189
58888
|
}
|
|
@@ -59219,7 +58918,7 @@ ${indent}${end}`;
|
|
|
59219
58918
|
exports.stringifyCollection = stringifyCollection;
|
|
59220
58919
|
});
|
|
59221
58920
|
|
|
59222
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
58921
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
59223
58922
|
var require_YAMLMap = __commonJS((exports) => {
|
|
59224
58923
|
var stringifyCollection = require_stringifyCollection();
|
|
59225
58924
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -59346,7 +59045,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
59346
59045
|
exports.findPair = findPair;
|
|
59347
59046
|
});
|
|
59348
59047
|
|
|
59349
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59048
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.js
|
|
59350
59049
|
var require_map = __commonJS((exports) => {
|
|
59351
59050
|
var identity = require_identity();
|
|
59352
59051
|
var YAMLMap = require_YAMLMap();
|
|
@@ -59365,7 +59064,7 @@ var require_map = __commonJS((exports) => {
|
|
|
59365
59064
|
exports.map = map;
|
|
59366
59065
|
});
|
|
59367
59066
|
|
|
59368
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59067
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
59369
59068
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
59370
59069
|
var createNode = require_createNode();
|
|
59371
59070
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -59458,7 +59157,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
59458
59157
|
exports.YAMLSeq = YAMLSeq;
|
|
59459
59158
|
});
|
|
59460
59159
|
|
|
59461
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59160
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.js
|
|
59462
59161
|
var require_seq = __commonJS((exports) => {
|
|
59463
59162
|
var identity = require_identity();
|
|
59464
59163
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -59477,7 +59176,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
59477
59176
|
exports.seq = seq;
|
|
59478
59177
|
});
|
|
59479
59178
|
|
|
59480
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59179
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.js
|
|
59481
59180
|
var require_string = __commonJS((exports) => {
|
|
59482
59181
|
var stringifyString = require_stringifyString();
|
|
59483
59182
|
var string = {
|
|
@@ -59493,7 +59192,7 @@ var require_string = __commonJS((exports) => {
|
|
|
59493
59192
|
exports.string = string;
|
|
59494
59193
|
});
|
|
59495
59194
|
|
|
59496
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59195
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.js
|
|
59497
59196
|
var require_null = __commonJS((exports) => {
|
|
59498
59197
|
var Scalar = require_Scalar();
|
|
59499
59198
|
var nullTag = {
|
|
@@ -59508,7 +59207,7 @@ var require_null = __commonJS((exports) => {
|
|
|
59508
59207
|
exports.nullTag = nullTag;
|
|
59509
59208
|
});
|
|
59510
59209
|
|
|
59511
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59210
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.js
|
|
59512
59211
|
var require_bool = __commonJS((exports) => {
|
|
59513
59212
|
var Scalar = require_Scalar();
|
|
59514
59213
|
var boolTag = {
|
|
@@ -59529,7 +59228,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
59529
59228
|
exports.boolTag = boolTag;
|
|
59530
59229
|
});
|
|
59531
59230
|
|
|
59532
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59231
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
59533
59232
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
59534
59233
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
59535
59234
|
if (typeof value === "bigint")
|
|
@@ -59553,7 +59252,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
59553
59252
|
exports.stringifyNumber = stringifyNumber;
|
|
59554
59253
|
});
|
|
59555
59254
|
|
|
59556
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59255
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.js
|
|
59557
59256
|
var require_float = __commonJS((exports) => {
|
|
59558
59257
|
var Scalar = require_Scalar();
|
|
59559
59258
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -59596,7 +59295,7 @@ var require_float = __commonJS((exports) => {
|
|
|
59596
59295
|
exports.floatNaN = floatNaN;
|
|
59597
59296
|
});
|
|
59598
59297
|
|
|
59599
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59298
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.js
|
|
59600
59299
|
var require_int = __commonJS((exports) => {
|
|
59601
59300
|
var stringifyNumber = require_stringifyNumber();
|
|
59602
59301
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -59638,7 +59337,7 @@ var require_int = __commonJS((exports) => {
|
|
|
59638
59337
|
exports.intOct = intOct;
|
|
59639
59338
|
});
|
|
59640
59339
|
|
|
59641
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59340
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.js
|
|
59642
59341
|
var require_schema = __commonJS((exports) => {
|
|
59643
59342
|
var map = require_map();
|
|
59644
59343
|
var _null = require_null();
|
|
@@ -59663,7 +59362,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
59663
59362
|
exports.schema = schema2;
|
|
59664
59363
|
});
|
|
59665
59364
|
|
|
59666
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59365
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.js
|
|
59667
59366
|
var require_schema2 = __commonJS((exports) => {
|
|
59668
59367
|
var Scalar = require_Scalar();
|
|
59669
59368
|
var map = require_map();
|
|
@@ -59727,7 +59426,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
59727
59426
|
exports.schema = schema2;
|
|
59728
59427
|
});
|
|
59729
59428
|
|
|
59730
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59429
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
59731
59430
|
var require_binary = __commonJS((exports) => {
|
|
59732
59431
|
var node_buffer = __require("buffer");
|
|
59733
59432
|
var Scalar = require_Scalar();
|
|
@@ -59782,7 +59481,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
59782
59481
|
exports.binary = binary;
|
|
59783
59482
|
});
|
|
59784
59483
|
|
|
59785
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59484
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
59786
59485
|
var require_pairs = __commonJS((exports) => {
|
|
59787
59486
|
var identity = require_identity();
|
|
59788
59487
|
var Pair = require_Pair();
|
|
@@ -59857,7 +59556,7 @@ ${cn.comment}` : item.comment;
|
|
|
59857
59556
|
exports.resolvePairs = resolvePairs;
|
|
59858
59557
|
});
|
|
59859
59558
|
|
|
59860
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59559
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
59861
59560
|
var require_omap = __commonJS((exports) => {
|
|
59862
59561
|
var identity = require_identity();
|
|
59863
59562
|
var toJS = require_toJS();
|
|
@@ -59929,7 +59628,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
59929
59628
|
exports.omap = omap;
|
|
59930
59629
|
});
|
|
59931
59630
|
|
|
59932
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59631
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
59933
59632
|
var require_bool2 = __commonJS((exports) => {
|
|
59934
59633
|
var Scalar = require_Scalar();
|
|
59935
59634
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -59958,7 +59657,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
59958
59657
|
exports.trueTag = trueTag;
|
|
59959
59658
|
});
|
|
59960
59659
|
|
|
59961
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59660
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
59962
59661
|
var require_float2 = __commonJS((exports) => {
|
|
59963
59662
|
var Scalar = require_Scalar();
|
|
59964
59663
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -60004,7 +59703,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
60004
59703
|
exports.floatNaN = floatNaN;
|
|
60005
59704
|
});
|
|
60006
59705
|
|
|
60007
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59706
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
60008
59707
|
var require_int2 = __commonJS((exports) => {
|
|
60009
59708
|
var stringifyNumber = require_stringifyNumber();
|
|
60010
59709
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -60080,7 +59779,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
60080
59779
|
exports.intOct = intOct;
|
|
60081
59780
|
});
|
|
60082
59781
|
|
|
60083
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59782
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
60084
59783
|
var require_set = __commonJS((exports) => {
|
|
60085
59784
|
var identity = require_identity();
|
|
60086
59785
|
var Pair = require_Pair();
|
|
@@ -60163,7 +59862,7 @@ var require_set = __commonJS((exports) => {
|
|
|
60163
59862
|
exports.set = set;
|
|
60164
59863
|
});
|
|
60165
59864
|
|
|
60166
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59865
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
60167
59866
|
var require_timestamp = __commonJS((exports) => {
|
|
60168
59867
|
var stringifyNumber = require_stringifyNumber();
|
|
60169
59868
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -60245,7 +59944,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
60245
59944
|
exports.timestamp = timestamp2;
|
|
60246
59945
|
});
|
|
60247
59946
|
|
|
60248
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59947
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
60249
59948
|
var require_schema3 = __commonJS((exports) => {
|
|
60250
59949
|
var map = require_map();
|
|
60251
59950
|
var _null = require_null();
|
|
@@ -60286,7 +59985,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
60286
59985
|
exports.schema = schema2;
|
|
60287
59986
|
});
|
|
60288
59987
|
|
|
60289
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
59988
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/tags.js
|
|
60290
59989
|
var require_tags = __commonJS((exports) => {
|
|
60291
59990
|
var map = require_map();
|
|
60292
59991
|
var _null = require_null();
|
|
@@ -60377,7 +60076,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
60377
60076
|
exports.getTags = getTags;
|
|
60378
60077
|
});
|
|
60379
60078
|
|
|
60380
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60079
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.js
|
|
60381
60080
|
var require_Schema = __commonJS((exports) => {
|
|
60382
60081
|
var identity = require_identity();
|
|
60383
60082
|
var map = require_map();
|
|
@@ -60407,7 +60106,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
60407
60106
|
exports.Schema = Schema;
|
|
60408
60107
|
});
|
|
60409
60108
|
|
|
60410
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60109
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
60411
60110
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
60412
60111
|
var identity = require_identity();
|
|
60413
60112
|
var stringify2 = require_stringify3();
|
|
@@ -60487,7 +60186,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
60487
60186
|
exports.stringifyDocument = stringifyDocument;
|
|
60488
60187
|
});
|
|
60489
60188
|
|
|
60490
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60189
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/doc/Document.js
|
|
60491
60190
|
var require_Document = __commonJS((exports) => {
|
|
60492
60191
|
var Alias = require_Alias();
|
|
60493
60192
|
var Collection = require_Collection();
|
|
@@ -60722,7 +60421,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
60722
60421
|
exports.Document = Document2;
|
|
60723
60422
|
});
|
|
60724
60423
|
|
|
60725
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60424
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/errors.js
|
|
60726
60425
|
var require_errors = __commonJS((exports) => {
|
|
60727
60426
|
class YAMLError extends Error {
|
|
60728
60427
|
constructor(name, pos, code, message2) {
|
|
@@ -60787,7 +60486,7 @@ ${pointer}
|
|
|
60787
60486
|
exports.prettifyError = prettifyError;
|
|
60788
60487
|
});
|
|
60789
60488
|
|
|
60790
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60489
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.js
|
|
60791
60490
|
var require_resolve_props = __commonJS((exports) => {
|
|
60792
60491
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
60793
60492
|
let spaceBefore = false;
|
|
@@ -60917,7 +60616,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
60917
60616
|
exports.resolveProps = resolveProps;
|
|
60918
60617
|
});
|
|
60919
60618
|
|
|
60920
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60619
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
60921
60620
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
60922
60621
|
function containsNewline(key) {
|
|
60923
60622
|
if (!key)
|
|
@@ -60957,7 +60656,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
60957
60656
|
exports.containsNewline = containsNewline;
|
|
60958
60657
|
});
|
|
60959
60658
|
|
|
60960
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60659
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
60961
60660
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
60962
60661
|
var utilContainsNewline = require_util_contains_newline();
|
|
60963
60662
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -60972,7 +60671,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
60972
60671
|
exports.flowIndentCheck = flowIndentCheck;
|
|
60973
60672
|
});
|
|
60974
60673
|
|
|
60975
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60674
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.js
|
|
60976
60675
|
var require_util_map_includes = __commonJS((exports) => {
|
|
60977
60676
|
var identity = require_identity();
|
|
60978
60677
|
function mapIncludes(ctx, items, search) {
|
|
@@ -60985,7 +60684,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
60985
60684
|
exports.mapIncludes = mapIncludes;
|
|
60986
60685
|
});
|
|
60987
60686
|
|
|
60988
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60687
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
60989
60688
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
60990
60689
|
var Pair = require_Pair();
|
|
60991
60690
|
var YAMLMap = require_YAMLMap();
|
|
@@ -61092,7 +60791,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
61092
60791
|
exports.resolveBlockMap = resolveBlockMap;
|
|
61093
60792
|
});
|
|
61094
60793
|
|
|
61095
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60794
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
61096
60795
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
61097
60796
|
var YAMLSeq = require_YAMLSeq();
|
|
61098
60797
|
var resolveProps = require_resolve_props();
|
|
@@ -61140,7 +60839,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
61140
60839
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
61141
60840
|
});
|
|
61142
60841
|
|
|
61143
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60842
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.js
|
|
61144
60843
|
var require_resolve_end = __commonJS((exports) => {
|
|
61145
60844
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
61146
60845
|
let comment = "";
|
|
@@ -61180,7 +60879,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
61180
60879
|
exports.resolveEnd = resolveEnd;
|
|
61181
60880
|
});
|
|
61182
60881
|
|
|
61183
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
60882
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
61184
60883
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
61185
60884
|
var identity = require_identity();
|
|
61186
60885
|
var Pair = require_Pair();
|
|
@@ -61371,7 +61070,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
61371
61070
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
61372
61071
|
});
|
|
61373
61072
|
|
|
61374
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61073
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.js
|
|
61375
61074
|
var require_compose_collection = __commonJS((exports) => {
|
|
61376
61075
|
var identity = require_identity();
|
|
61377
61076
|
var Scalar = require_Scalar();
|
|
@@ -61433,7 +61132,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
61433
61132
|
exports.composeCollection = composeCollection;
|
|
61434
61133
|
});
|
|
61435
61134
|
|
|
61436
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61135
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
61437
61136
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
61438
61137
|
var Scalar = require_Scalar();
|
|
61439
61138
|
function resolveBlockScalar(ctx, scalar2, onError) {
|
|
@@ -61626,7 +61325,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
61626
61325
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
61627
61326
|
});
|
|
61628
61327
|
|
|
61629
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61328
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
61630
61329
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
61631
61330
|
var Scalar = require_Scalar();
|
|
61632
61331
|
var resolveEnd = require_resolve_end();
|
|
@@ -61842,7 +61541,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
61842
61541
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
61843
61542
|
});
|
|
61844
61543
|
|
|
61845
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61544
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.js
|
|
61846
61545
|
var require_compose_scalar = __commonJS((exports) => {
|
|
61847
61546
|
var identity = require_identity();
|
|
61848
61547
|
var Scalar = require_Scalar();
|
|
@@ -61920,7 +61619,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
61920
61619
|
exports.composeScalar = composeScalar;
|
|
61921
61620
|
});
|
|
61922
61621
|
|
|
61923
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61622
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
61924
61623
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
61925
61624
|
function emptyScalarPosition(offset, before, pos) {
|
|
61926
61625
|
if (before) {
|
|
@@ -61947,7 +61646,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
61947
61646
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
61948
61647
|
});
|
|
61949
61648
|
|
|
61950
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61649
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.js
|
|
61951
61650
|
var require_compose_node = __commonJS((exports) => {
|
|
61952
61651
|
var Alias = require_Alias();
|
|
61953
61652
|
var identity = require_identity();
|
|
@@ -61978,22 +61677,17 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
61978
61677
|
case "block-map":
|
|
61979
61678
|
case "block-seq":
|
|
61980
61679
|
case "flow-collection":
|
|
61981
|
-
|
|
61982
|
-
|
|
61983
|
-
|
|
61984
|
-
node.anchor = anchor.source.substring(1);
|
|
61985
|
-
} catch (error) {
|
|
61986
|
-
const message2 = error instanceof Error ? error.message : String(error);
|
|
61987
|
-
onError(token, "RESOURCE_EXHAUSTION", message2);
|
|
61988
|
-
}
|
|
61680
|
+
node = composeCollection.composeCollection(CN, ctx, token, props, onError);
|
|
61681
|
+
if (anchor)
|
|
61682
|
+
node.anchor = anchor.source.substring(1);
|
|
61989
61683
|
break;
|
|
61990
61684
|
default: {
|
|
61991
61685
|
const message2 = token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`;
|
|
61992
61686
|
onError(token, "UNEXPECTED_TOKEN", message2);
|
|
61687
|
+
node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError);
|
|
61993
61688
|
isSrcToken = false;
|
|
61994
61689
|
}
|
|
61995
61690
|
}
|
|
61996
|
-
node ?? (node = composeEmptyNode(ctx, token.offset, undefined, null, props, onError));
|
|
61997
61691
|
if (anchor && node.anchor === "")
|
|
61998
61692
|
onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
|
|
61999
61693
|
if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
|
|
@@ -62050,7 +61744,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
62050
61744
|
exports.composeNode = composeNode;
|
|
62051
61745
|
});
|
|
62052
61746
|
|
|
62053
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61747
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.js
|
|
62054
61748
|
var require_compose_doc = __commonJS((exports) => {
|
|
62055
61749
|
var Document2 = require_Document();
|
|
62056
61750
|
var composeNode = require_compose_node();
|
|
@@ -62090,7 +61784,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
62090
61784
|
exports.composeDoc = composeDoc;
|
|
62091
61785
|
});
|
|
62092
61786
|
|
|
62093
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61787
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
|
|
62094
61788
|
var require_composer = __commonJS((exports) => {
|
|
62095
61789
|
var node_process = __require("process");
|
|
62096
61790
|
var directives = require_directives();
|
|
@@ -62279,7 +61973,7 @@ ${end.comment}` : end.comment;
|
|
|
62279
61973
|
exports.Composer = Composer;
|
|
62280
61974
|
});
|
|
62281
61975
|
|
|
62282
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
61976
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.js
|
|
62283
61977
|
var require_cst_scalar = __commonJS((exports) => {
|
|
62284
61978
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
62285
61979
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -62469,7 +62163,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
62469
62163
|
exports.setScalarValue = setScalarValue;
|
|
62470
62164
|
});
|
|
62471
62165
|
|
|
62472
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
62166
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.js
|
|
62473
62167
|
var require_cst_stringify = __commonJS((exports) => {
|
|
62474
62168
|
var stringify2 = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
62475
62169
|
function stringifyToken(token) {
|
|
@@ -62527,7 +62221,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
62527
62221
|
exports.stringify = stringify2;
|
|
62528
62222
|
});
|
|
62529
62223
|
|
|
62530
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
62224
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.js
|
|
62531
62225
|
var require_cst_visit = __commonJS((exports) => {
|
|
62532
62226
|
var BREAK = Symbol("break visit");
|
|
62533
62227
|
var SKIP = Symbol("skip children");
|
|
@@ -62586,7 +62280,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
62586
62280
|
exports.visit = visit;
|
|
62587
62281
|
});
|
|
62588
62282
|
|
|
62589
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
62283
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/cst.js
|
|
62590
62284
|
var require_cst = __commonJS((exports) => {
|
|
62591
62285
|
var cstScalar = require_cst_scalar();
|
|
62592
62286
|
var cstStringify = require_cst_stringify();
|
|
@@ -62687,7 +62381,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
62687
62381
|
exports.tokenType = tokenType;
|
|
62688
62382
|
});
|
|
62689
62383
|
|
|
62690
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
62384
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.js
|
|
62691
62385
|
var require_lexer = __commonJS((exports) => {
|
|
62692
62386
|
var cst = require_cst();
|
|
62693
62387
|
function isEmpty(ch) {
|
|
@@ -63273,7 +62967,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
63273
62967
|
exports.Lexer = Lexer;
|
|
63274
62968
|
});
|
|
63275
62969
|
|
|
63276
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
62970
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.js
|
|
63277
62971
|
var require_line_counter = __commonJS((exports) => {
|
|
63278
62972
|
class LineCounter {
|
|
63279
62973
|
constructor() {
|
|
@@ -63301,7 +62995,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
63301
62995
|
exports.LineCounter = LineCounter;
|
|
63302
62996
|
});
|
|
63303
62997
|
|
|
63304
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
62998
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
|
|
63305
62999
|
var require_parser2 = __commonJS((exports) => {
|
|
63306
63000
|
var node_process = __require("process");
|
|
63307
63001
|
var cst = require_cst();
|
|
@@ -64150,7 +63844,7 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
64150
63844
|
exports.Parser = Parser;
|
|
64151
63845
|
});
|
|
64152
63846
|
|
|
64153
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
63847
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/public-api.js
|
|
64154
63848
|
var require_public_api = __commonJS((exports) => {
|
|
64155
63849
|
var composer = require_composer();
|
|
64156
63850
|
var Document2 = require_Document();
|
|
@@ -64244,7 +63938,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
64244
63938
|
exports.stringify = stringify2;
|
|
64245
63939
|
});
|
|
64246
63940
|
|
|
64247
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
63941
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/dist/index.js
|
|
64248
63942
|
var require_dist4 = __commonJS((exports) => {
|
|
64249
63943
|
var composer = require_composer();
|
|
64250
63944
|
var Document2 = require_Document();
|
|
@@ -64515,7 +64209,7 @@ var require_punycode = __commonJS((exports, module) => {
|
|
|
64515
64209
|
module.exports = punycode;
|
|
64516
64210
|
});
|
|
64517
64211
|
|
|
64518
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64212
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/Errors.js
|
|
64519
64213
|
var defaultMessages = "End-Of-Stream", EndOfStreamError, AbortError3;
|
|
64520
64214
|
var init_Errors = __esm(() => {
|
|
64521
64215
|
EndOfStreamError = class EndOfStreamError extends Error {
|
|
@@ -64532,7 +64226,7 @@ var init_Errors = __esm(() => {
|
|
|
64532
64226
|
};
|
|
64533
64227
|
});
|
|
64534
64228
|
|
|
64535
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64229
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/Deferred.js
|
|
64536
64230
|
class Deferred {
|
|
64537
64231
|
constructor() {
|
|
64538
64232
|
this.resolve = () => null;
|
|
@@ -64544,7 +64238,7 @@ class Deferred {
|
|
|
64544
64238
|
}
|
|
64545
64239
|
}
|
|
64546
64240
|
|
|
64547
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64241
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/AbstractStreamReader.js
|
|
64548
64242
|
class AbstractStreamReader {
|
|
64549
64243
|
constructor() {
|
|
64550
64244
|
this.endOfStream = false;
|
|
@@ -64607,7 +64301,7 @@ var init_AbstractStreamReader = __esm(() => {
|
|
|
64607
64301
|
init_Errors();
|
|
64608
64302
|
});
|
|
64609
64303
|
|
|
64610
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64304
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/StreamReader.js
|
|
64611
64305
|
var StreamReader;
|
|
64612
64306
|
var init_StreamReader = __esm(() => {
|
|
64613
64307
|
init_Errors();
|
|
@@ -64676,7 +64370,7 @@ var init_StreamReader = __esm(() => {
|
|
|
64676
64370
|
};
|
|
64677
64371
|
});
|
|
64678
64372
|
|
|
64679
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64373
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamReader.js
|
|
64680
64374
|
var WebStreamReader;
|
|
64681
64375
|
var init_WebStreamReader = __esm(() => {
|
|
64682
64376
|
init_AbstractStreamReader();
|
|
@@ -64694,7 +64388,7 @@ var init_WebStreamReader = __esm(() => {
|
|
|
64694
64388
|
};
|
|
64695
64389
|
});
|
|
64696
64390
|
|
|
64697
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64391
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamByobReader.js
|
|
64698
64392
|
var WebStreamByobReader;
|
|
64699
64393
|
var init_WebStreamByobReader = __esm(() => {
|
|
64700
64394
|
init_WebStreamReader();
|
|
@@ -64715,7 +64409,7 @@ var init_WebStreamByobReader = __esm(() => {
|
|
|
64715
64409
|
};
|
|
64716
64410
|
});
|
|
64717
64411
|
|
|
64718
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64412
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js
|
|
64719
64413
|
var WebStreamDefaultReader;
|
|
64720
64414
|
var init_WebStreamDefaultReader = __esm(() => {
|
|
64721
64415
|
init_Errors();
|
|
@@ -64769,7 +64463,7 @@ var init_WebStreamDefaultReader = __esm(() => {
|
|
|
64769
64463
|
};
|
|
64770
64464
|
});
|
|
64771
64465
|
|
|
64772
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64466
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js
|
|
64773
64467
|
function makeWebStreamReader(stream) {
|
|
64774
64468
|
try {
|
|
64775
64469
|
const reader = stream.getReader({ mode: "byob" });
|
|
@@ -64789,7 +64483,7 @@ var init_WebStreamReaderFactory = __esm(() => {
|
|
|
64789
64483
|
init_WebStreamDefaultReader();
|
|
64790
64484
|
});
|
|
64791
64485
|
|
|
64792
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64486
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/stream/index.js
|
|
64793
64487
|
var init_stream2 = __esm(() => {
|
|
64794
64488
|
init_Errors();
|
|
64795
64489
|
init_StreamReader();
|
|
@@ -64798,7 +64492,7 @@ var init_stream2 = __esm(() => {
|
|
|
64798
64492
|
init_WebStreamReaderFactory();
|
|
64799
64493
|
});
|
|
64800
64494
|
|
|
64801
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64495
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/AbstractTokenizer.js
|
|
64802
64496
|
class AbstractTokenizer {
|
|
64803
64497
|
constructor(options) {
|
|
64804
64498
|
this.numBuffer = new Uint8Array(8);
|
|
@@ -64837,9 +64531,6 @@ class AbstractTokenizer {
|
|
|
64837
64531
|
return token.get(this.numBuffer, 0);
|
|
64838
64532
|
}
|
|
64839
64533
|
async ignore(length) {
|
|
64840
|
-
if (length < 0) {
|
|
64841
|
-
throw new RangeError("ignore length must be ≥ 0 bytes");
|
|
64842
|
-
}
|
|
64843
64534
|
if (this.fileInfo.size !== undefined) {
|
|
64844
64535
|
const bytesLeft = this.fileInfo.size - this.position;
|
|
64845
64536
|
if (length > bytesLeft) {
|
|
@@ -64876,7 +64567,7 @@ var init_AbstractTokenizer = __esm(() => {
|
|
|
64876
64567
|
init_stream2();
|
|
64877
64568
|
});
|
|
64878
64569
|
|
|
64879
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64570
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/ReadStreamTokenizer.js
|
|
64880
64571
|
var maxBufferSize = 256000, ReadStreamTokenizer;
|
|
64881
64572
|
var init_ReadStreamTokenizer = __esm(() => {
|
|
64882
64573
|
init_AbstractTokenizer();
|
|
@@ -64938,9 +64629,6 @@ var init_ReadStreamTokenizer = __esm(() => {
|
|
|
64938
64629
|
return bytesRead;
|
|
64939
64630
|
}
|
|
64940
64631
|
async ignore(length) {
|
|
64941
|
-
if (length < 0) {
|
|
64942
|
-
throw new RangeError("ignore length must be ≥ 0 bytes");
|
|
64943
|
-
}
|
|
64944
64632
|
const bufSize = Math.min(maxBufferSize, length);
|
|
64945
64633
|
const buf = new Uint8Array(bufSize);
|
|
64946
64634
|
let totBytesRead = 0;
|
|
@@ -64966,7 +64654,7 @@ var init_ReadStreamTokenizer = __esm(() => {
|
|
|
64966
64654
|
};
|
|
64967
64655
|
});
|
|
64968
64656
|
|
|
64969
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64657
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/BufferTokenizer.js
|
|
64970
64658
|
var BufferTokenizer;
|
|
64971
64659
|
var init_BufferTokenizer = __esm(() => {
|
|
64972
64660
|
init_stream2();
|
|
@@ -65006,7 +64694,7 @@ var init_BufferTokenizer = __esm(() => {
|
|
|
65006
64694
|
};
|
|
65007
64695
|
});
|
|
65008
64696
|
|
|
65009
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64697
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/BlobTokenizer.js
|
|
65010
64698
|
var BlobTokenizer;
|
|
65011
64699
|
var init_BlobTokenizer = __esm(() => {
|
|
65012
64700
|
init_stream2();
|
|
@@ -65047,7 +64735,7 @@ var init_BlobTokenizer = __esm(() => {
|
|
|
65047
64735
|
};
|
|
65048
64736
|
});
|
|
65049
64737
|
|
|
65050
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64738
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/core.js
|
|
65051
64739
|
function fromStream(stream, options) {
|
|
65052
64740
|
const streamReader = new StreamReader(stream);
|
|
65053
64741
|
const _options = options ?? {};
|
|
@@ -65087,7 +64775,7 @@ var init_core2 = __esm(() => {
|
|
|
65087
64775
|
init_AbstractTokenizer();
|
|
65088
64776
|
});
|
|
65089
64777
|
|
|
65090
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64778
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/FileTokenizer.js
|
|
65091
64779
|
import { open as fsOpen } from "node:fs/promises";
|
|
65092
64780
|
var FileTokenizer;
|
|
65093
64781
|
var init_FileTokenizer = __esm(() => {
|
|
@@ -65137,7 +64825,7 @@ var init_FileTokenizer = __esm(() => {
|
|
|
65137
64825
|
};
|
|
65138
64826
|
});
|
|
65139
64827
|
|
|
65140
|
-
// ../../node_modules/.bun/strtok3@10.3.
|
|
64828
|
+
// ../../node_modules/.bun/strtok3@10.3.4/node_modules/strtok3/lib/index.js
|
|
65141
64829
|
import { stat as fsStat } from "node:fs/promises";
|
|
65142
64830
|
async function fromStream2(stream, options) {
|
|
65143
64831
|
const rst = fromStream(stream, options);
|
|
@@ -71551,29 +71239,32 @@ function escapeXmlText(text) {
|
|
|
71551
71239
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
71552
71240
|
}
|
|
71553
71241
|
function formatActionCallExample(example) {
|
|
71554
|
-
const actionTags = example.actions.map((a) => ` <action>${escapeXmlText(a)}</action>`).join(`
|
|
71555
|
-
`);
|
|
71556
71242
|
const paramsByAction = example.params ?? {};
|
|
71557
|
-
const
|
|
71558
|
-
const
|
|
71559
|
-
|
|
71560
|
-
|
|
71561
|
-
|
|
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(`
|
|
71562
71250
|
`);
|
|
71563
|
-
|
|
71564
|
-
|
|
71565
|
-
|
|
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>`;
|
|
71566
71261
|
}).join(`
|
|
71567
71262
|
`);
|
|
71568
|
-
const paramsSection = paramsBlocks.length > 0 ? `
|
|
71569
|
-
<params>
|
|
71570
|
-
${paramsBlocks}
|
|
71571
|
-
</params>` : "";
|
|
71572
71263
|
return `User: ${example.user}
|
|
71573
71264
|
Assistant:
|
|
71574
71265
|
<actions>
|
|
71575
|
-
${
|
|
71576
|
-
</actions
|
|
71266
|
+
${actionElements}
|
|
71267
|
+
</actions>`;
|
|
71577
71268
|
}
|
|
71578
71269
|
function composeActionCallExamples(actionsData, maxExamples) {
|
|
71579
71270
|
if (!actionsData.length || maxExamples <= 0)
|
|
@@ -71629,28 +71320,54 @@ function formatActionNames(actions) {
|
|
|
71629
71320
|
function formatActions(actions) {
|
|
71630
71321
|
if (!actions || !actions.length)
|
|
71631
71322
|
return "";
|
|
71632
|
-
|
|
71633
|
-
|
|
71323
|
+
const actionElements = shuffleActions(actions).map((action) => {
|
|
71324
|
+
const descLine = ` <description>${escapeXmlText(action.description || "No description available")}</description>`;
|
|
71634
71325
|
if (action.parameters && action.parameters.length > 0) {
|
|
71635
|
-
const
|
|
71636
|
-
|
|
71637
|
-
|
|
71638
|
-
${
|
|
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>`;
|
|
71639
71334
|
}
|
|
71640
|
-
return
|
|
71335
|
+
return ` <action>
|
|
71336
|
+
<name>${escapeXmlText(action.name)}</name>
|
|
71337
|
+
${descLine}
|
|
71338
|
+
</action>`;
|
|
71641
71339
|
}).join(`
|
|
71642
71340
|
`);
|
|
71341
|
+
return `<actions>
|
|
71342
|
+
${actionElements}
|
|
71343
|
+
</actions>`;
|
|
71643
71344
|
}
|
|
71644
71345
|
function formatActionParameters(parameters) {
|
|
71645
71346
|
if (!parameters || !parameters.length)
|
|
71646
71347
|
return "";
|
|
71647
71348
|
return parameters.map((param) => {
|
|
71648
|
-
const requiredStr = param.required ? "
|
|
71349
|
+
const requiredStr = param.required ? "true" : "false";
|
|
71649
71350
|
const typeStr = formatParameterType(param.schema);
|
|
71650
|
-
|
|
71651
|
-
|
|
71652
|
-
|
|
71653
|
-
|
|
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;
|
|
71654
71371
|
}).join(`
|
|
71655
71372
|
`);
|
|
71656
71373
|
}
|
|
@@ -71675,8 +71392,32 @@ function parseActionParams(paramsXml) {
|
|
|
71675
71392
|
if (!paramsXml || typeof paramsXml !== "string") {
|
|
71676
71393
|
return result;
|
|
71677
71394
|
}
|
|
71678
|
-
const
|
|
71679
|
-
|
|
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) {
|
|
71680
71421
|
const params = extractXmlChildren(actionParamsXml);
|
|
71681
71422
|
const actionParams = {};
|
|
71682
71423
|
for (const { key: paramName, value: paramValue } of params) {
|
|
@@ -71968,15 +71709,14 @@ IMPORTANT ACTION ORDERING RULES:
|
|
|
71968
71709
|
- REPLY should come FIRST to acknowledge the user's request before executing other actions
|
|
71969
71710
|
- Common patterns:
|
|
71970
71711
|
- For requests requiring tool use: REPLY,CALL_MCP_TOOL (acknowledge first, then gather info)
|
|
71971
|
-
- For task execution: REPLY,
|
|
71972
|
-
- 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)
|
|
71973
71714
|
- REPLY is used to acknowledge and inform the user about what you're going to do
|
|
71974
71715
|
- Follow-up actions execute the actual tasks after acknowledgment
|
|
71975
71716
|
- Use IGNORE only when you should not respond at all
|
|
71976
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.
|
|
71977
71718
|
|
|
71978
71719
|
IMPORTANT ACTION PARAMETERS:
|
|
71979
|
-
- Some actions accept input parameters that you should extract from the conversation
|
|
71980
71720
|
- When an action has parameters listed in its description, include a <params> block for that action
|
|
71981
71721
|
- Extract parameter values from the user's message and conversation context
|
|
71982
71722
|
- Required parameters MUST be provided; optional parameters can be omitted if not mentioned
|
|
@@ -71984,16 +71724,20 @@ IMPORTANT ACTION PARAMETERS:
|
|
|
71984
71724
|
|
|
71985
71725
|
EXAMPLE (action parameters):
|
|
71986
71726
|
User message: "Send a message to @dev_guru on telegram saying Hello!"
|
|
71987
|
-
|
|
71988
|
-
|
|
71989
|
-
<
|
|
71990
|
-
|
|
71991
|
-
|
|
71992
|
-
|
|
71993
|
-
|
|
71994
|
-
|
|
71995
|
-
|
|
71996
|
-
</
|
|
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>
|
|
71997
71741
|
|
|
71998
71742
|
IMPORTANT PROVIDER SELECTION RULES:
|
|
71999
71743
|
- Only include providers if they are needed to respond accurately.
|
|
@@ -72013,33 +71757,39 @@ IMPORTANT CODE BLOCK FORMATTING RULES:
|
|
|
72013
71757
|
|
|
72014
71758
|
<keys>
|
|
72015
71759
|
"thought" should be a short description of what the agent is thinking about and planning.
|
|
72016
|
-
"actions" should be a
|
|
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.
|
|
72017
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.)
|
|
72018
71762
|
"text" should be the text of the next message for {{agentName}} which they will send to the conversation.
|
|
72019
|
-
"params" (optional) should contain action parameters when actions require input. Format as nested XML with action name as wrapper.
|
|
72020
71763
|
</keys>
|
|
72021
71764
|
|
|
72022
71765
|
<output>
|
|
71766
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
71767
|
+
Go directly to the XML response format without any preamble or explanation.
|
|
72023
71768
|
|
|
72024
71769
|
Respond using XML format like this:
|
|
72025
71770
|
<response>
|
|
72026
71771
|
<thought>Your thought here</thought>
|
|
72027
|
-
<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>
|
|
72028
71787
|
<providers>PROVIDER1,PROVIDER2</providers>
|
|
72029
71788
|
<text>Your response text here</text>
|
|
72030
|
-
<params>
|
|
72031
|
-
<ACTION1>
|
|
72032
|
-
<paramName1>value1</paramName1>
|
|
72033
|
-
<paramName2>value2</paramName2>
|
|
72034
|
-
</ACTION1>
|
|
72035
|
-
<ACTION2>
|
|
72036
|
-
<paramName1>value1</paramName1>
|
|
72037
|
-
</ACTION2>
|
|
72038
|
-
</params>
|
|
72039
71789
|
</response>
|
|
72040
71790
|
|
|
72041
|
-
The <params> block is optional - only include when
|
|
72042
|
-
If an action has no parameters
|
|
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.
|
|
72043
71793
|
|
|
72044
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>.
|
|
72045
71795
|
</output>`;
|
|
@@ -72084,6 +71834,8 @@ The "post" field should be the post you want to send. Do not including any think
|
|
|
72084
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.
|
|
72085
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.
|
|
72086
71836
|
|
|
71837
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
71838
|
+
Go directly to the XML response format without any preamble or explanation.
|
|
72087
71839
|
|
|
72088
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>.`;
|
|
72089
71841
|
var booleanFooter = "Respond with only a YES or a NO.";
|
|
@@ -72099,6 +71851,8 @@ Be objective and descriptive. Focus on what you can actually see in the image ra
|
|
|
72099
71851
|
</instructions>
|
|
72100
71852
|
|
|
72101
71853
|
<output>
|
|
71854
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
71855
|
+
Go directly to the XML response format without any preamble or explanation.
|
|
72102
71856
|
|
|
72103
71857
|
Respond using XML format like this:
|
|
72104
71858
|
<response>
|
|
@@ -96789,12 +96543,35 @@ class DefaultMessageService {
|
|
|
96789
96543
|
if (parsedXml) {
|
|
96790
96544
|
streamingExtractor?.markComplete();
|
|
96791
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
|
+
}
|
|
96792
96572
|
if (Array.isArray(parsedXml.actions)) {
|
|
96793
96573
|
return parsedXml.actions;
|
|
96794
96574
|
}
|
|
96795
|
-
if (typeof parsedXml.actions === "string") {
|
|
96796
|
-
return parsedXml.actions.split(",").map((action) => String(action).trim()).filter((action) => action.length > 0);
|
|
96797
|
-
}
|
|
96798
96575
|
return [];
|
|
96799
96576
|
})();
|
|
96800
96577
|
const finalActions = !runtime2.isActionPlanningEnabled() && normalizedActions.length > 1 ? [normalizedActions[0]] : normalizedActions;
|
|
@@ -108359,5 +108136,5 @@ export {
|
|
|
108359
108136
|
ADD_CONTACT_TEMPLATE
|
|
108360
108137
|
};
|
|
108361
108138
|
|
|
108362
|
-
//# debugId=
|
|
108139
|
+
//# debugId=04350D2054E8960064756E2164756E21
|
|
108363
108140
|
//# sourceMappingURL=index.node.js.map
|