@elizaos/core 2.0.0-alpha.91 → 2.0.0-alpha.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-capabilities/actions/roles.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/sendMessage.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/settings.d.ts.map +1 -1
- package/dist/advanced-capabilities/actions/updateEntity.d.ts.map +1 -1
- 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 +371 -368
- package/dist/browser/index.browser.js.map +16 -16
- package/dist/deterministic.d.ts +31 -0
- package/dist/deterministic.d.ts.map +1 -0
- package/dist/edge/index.edge.js +502 -745
- package/dist/edge/index.edge.js.map +19 -19
- package/dist/entities.d.ts.map +1 -1
- 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 +516 -765
- package/dist/node/index.node.js.map +22 -22
- package/dist/packages/typescript/tsconfig.tsbuildinfo +1 -0
- package/dist/prompts.d.ts +14 -14
- 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/edge/index.edge.js
CHANGED
|
@@ -150,9 +150,7 @@ var init_action_docs = __esm(() => {
|
|
|
150
150
|
name: "{{name2}}",
|
|
151
151
|
content: {
|
|
152
152
|
text: "Hi! How can I help you today?",
|
|
153
|
-
actions: [
|
|
154
|
-
"REPLY"
|
|
155
|
-
]
|
|
153
|
+
actions: ["REPLY"]
|
|
156
154
|
}
|
|
157
155
|
}
|
|
158
156
|
],
|
|
@@ -167,9 +165,7 @@ var init_action_docs = __esm(() => {
|
|
|
167
165
|
name: "{{name2}}",
|
|
168
166
|
content: {
|
|
169
167
|
text: "I really like deep shades of blue. They remind me of the ocean and the night sky.",
|
|
170
|
-
actions: [
|
|
171
|
-
"REPLY"
|
|
172
|
-
]
|
|
168
|
+
actions: ["REPLY"]
|
|
173
169
|
}
|
|
174
170
|
}
|
|
175
171
|
],
|
|
@@ -184,9 +180,7 @@ var init_action_docs = __esm(() => {
|
|
|
184
180
|
name: "{{name2}}",
|
|
185
181
|
content: {
|
|
186
182
|
text: "Let me break that down for you in simple terms...",
|
|
187
|
-
actions: [
|
|
188
|
-
"REPLY"
|
|
189
|
-
]
|
|
183
|
+
actions: ["REPLY"]
|
|
190
184
|
}
|
|
191
185
|
}
|
|
192
186
|
],
|
|
@@ -201,9 +195,7 @@ var init_action_docs = __esm(() => {
|
|
|
201
195
|
name: "{{name2}}",
|
|
202
196
|
content: {
|
|
203
197
|
text: "Of course! Let's work through it step by step.",
|
|
204
|
-
actions: [
|
|
205
|
-
"REPLY"
|
|
206
|
-
]
|
|
198
|
+
actions: ["REPLY"]
|
|
207
199
|
}
|
|
208
200
|
}
|
|
209
201
|
]
|
|
@@ -212,11 +204,7 @@ var init_action_docs = __esm(() => {
|
|
|
212
204
|
{
|
|
213
205
|
name: "IGNORE",
|
|
214
206
|
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.",
|
|
215
|
-
similes: [
|
|
216
|
-
"STOP_TALKING",
|
|
217
|
-
"STOP_CHATTING",
|
|
218
|
-
"STOP_CONVERSATION"
|
|
219
|
-
],
|
|
207
|
+
similes: ["STOP_TALKING", "STOP_CHATTING", "STOP_CONVERSATION"],
|
|
220
208
|
parameters: [],
|
|
221
209
|
examples: [
|
|
222
210
|
[
|
|
@@ -230,9 +218,7 @@ var init_action_docs = __esm(() => {
|
|
|
230
218
|
name: "{{name2}}",
|
|
231
219
|
content: {
|
|
232
220
|
text: "",
|
|
233
|
-
actions: [
|
|
234
|
-
"IGNORE"
|
|
235
|
-
]
|
|
221
|
+
actions: ["IGNORE"]
|
|
236
222
|
}
|
|
237
223
|
}
|
|
238
224
|
],
|
|
@@ -247,9 +233,7 @@ var init_action_docs = __esm(() => {
|
|
|
247
233
|
name: "{{name2}}",
|
|
248
234
|
content: {
|
|
249
235
|
text: "",
|
|
250
|
-
actions: [
|
|
251
|
-
"IGNORE"
|
|
252
|
-
]
|
|
236
|
+
actions: ["IGNORE"]
|
|
253
237
|
}
|
|
254
238
|
}
|
|
255
239
|
],
|
|
@@ -276,9 +260,7 @@ var init_action_docs = __esm(() => {
|
|
|
276
260
|
name: "{{name2}}",
|
|
277
261
|
content: {
|
|
278
262
|
text: "",
|
|
279
|
-
actions: [
|
|
280
|
-
"IGNORE"
|
|
281
|
-
]
|
|
263
|
+
actions: ["IGNORE"]
|
|
282
264
|
}
|
|
283
265
|
}
|
|
284
266
|
],
|
|
@@ -299,9 +281,7 @@ var init_action_docs = __esm(() => {
|
|
|
299
281
|
name: "{{name1}}",
|
|
300
282
|
content: {
|
|
301
283
|
text: "",
|
|
302
|
-
actions: [
|
|
303
|
-
"IGNORE"
|
|
304
|
-
]
|
|
284
|
+
actions: ["IGNORE"]
|
|
305
285
|
}
|
|
306
286
|
}
|
|
307
287
|
],
|
|
@@ -316,9 +296,7 @@ var init_action_docs = __esm(() => {
|
|
|
316
296
|
name: "{{name2}}",
|
|
317
297
|
content: {
|
|
318
298
|
text: "thats inappropriate",
|
|
319
|
-
actions: [
|
|
320
|
-
"IGNORE"
|
|
321
|
-
]
|
|
299
|
+
actions: ["IGNORE"]
|
|
322
300
|
}
|
|
323
301
|
}
|
|
324
302
|
]
|
|
@@ -327,13 +305,7 @@ var init_action_docs = __esm(() => {
|
|
|
327
305
|
{
|
|
328
306
|
name: "NONE",
|
|
329
307
|
description: "Respond but perform no additional action. This is the default if the agent is speaking and not doing anything additional.",
|
|
330
|
-
similes: [
|
|
331
|
-
"NO_ACTION",
|
|
332
|
-
"NO_RESPONSE",
|
|
333
|
-
"NO_REACTION",
|
|
334
|
-
"NOOP",
|
|
335
|
-
"PASS"
|
|
336
|
-
],
|
|
308
|
+
similes: ["NO_ACTION", "NO_RESPONSE", "NO_REACTION", "NOOP", "PASS"],
|
|
337
309
|
parameters: [],
|
|
338
310
|
examples: [
|
|
339
311
|
[
|
|
@@ -347,9 +319,7 @@ var init_action_docs = __esm(() => {
|
|
|
347
319
|
name: "{{name2}}",
|
|
348
320
|
content: {
|
|
349
321
|
text: "oh hey",
|
|
350
|
-
actions: [
|
|
351
|
-
"NONE"
|
|
352
|
-
]
|
|
322
|
+
actions: ["NONE"]
|
|
353
323
|
}
|
|
354
324
|
}
|
|
355
325
|
],
|
|
@@ -364,9 +334,7 @@ var init_action_docs = __esm(() => {
|
|
|
364
334
|
name: "{{name2}}",
|
|
365
335
|
content: {
|
|
366
336
|
text: "yeah but its a pain to get into node.js",
|
|
367
|
-
actions: [
|
|
368
|
-
"NONE"
|
|
369
|
-
]
|
|
337
|
+
actions: ["NONE"]
|
|
370
338
|
}
|
|
371
339
|
}
|
|
372
340
|
],
|
|
@@ -375,18 +343,14 @@ var init_action_docs = __esm(() => {
|
|
|
375
343
|
name: "{{name1}}",
|
|
376
344
|
content: {
|
|
377
345
|
text: "u think aliens are real",
|
|
378
|
-
actions: [
|
|
379
|
-
"NONE"
|
|
380
|
-
]
|
|
346
|
+
actions: ["NONE"]
|
|
381
347
|
}
|
|
382
348
|
},
|
|
383
349
|
{
|
|
384
350
|
name: "{{name2}}",
|
|
385
351
|
content: {
|
|
386
352
|
text: "ya obviously",
|
|
387
|
-
actions: [
|
|
388
|
-
"NONE"
|
|
389
|
-
]
|
|
353
|
+
actions: ["NONE"]
|
|
390
354
|
}
|
|
391
355
|
}
|
|
392
356
|
],
|
|
@@ -395,18 +359,14 @@ var init_action_docs = __esm(() => {
|
|
|
395
359
|
name: "{{name1}}",
|
|
396
360
|
content: {
|
|
397
361
|
text: "drop a joke on me",
|
|
398
|
-
actions: [
|
|
399
|
-
"NONE"
|
|
400
|
-
]
|
|
362
|
+
actions: ["NONE"]
|
|
401
363
|
}
|
|
402
364
|
},
|
|
403
365
|
{
|
|
404
366
|
name: "{{name2}}",
|
|
405
367
|
content: {
|
|
406
368
|
text: "why dont scientists trust atoms cuz they make up everything lmao",
|
|
407
|
-
actions: [
|
|
408
|
-
"NONE"
|
|
409
|
-
]
|
|
369
|
+
actions: ["NONE"]
|
|
410
370
|
}
|
|
411
371
|
}
|
|
412
372
|
]
|
|
@@ -430,15 +390,9 @@ var init_action_docs = __esm(() => {
|
|
|
430
390
|
required: true,
|
|
431
391
|
schema: {
|
|
432
392
|
type: "string",
|
|
433
|
-
enum: [
|
|
434
|
-
"user",
|
|
435
|
-
"room"
|
|
436
|
-
]
|
|
393
|
+
enum: ["user", "room"]
|
|
437
394
|
},
|
|
438
|
-
examples: [
|
|
439
|
-
"user",
|
|
440
|
-
"room"
|
|
441
|
-
]
|
|
395
|
+
examples: ["user", "room"]
|
|
442
396
|
},
|
|
443
397
|
{
|
|
444
398
|
name: "source",
|
|
@@ -447,10 +401,7 @@ var init_action_docs = __esm(() => {
|
|
|
447
401
|
schema: {
|
|
448
402
|
type: "string"
|
|
449
403
|
},
|
|
450
|
-
examples: [
|
|
451
|
-
"telegram",
|
|
452
|
-
"discord"
|
|
453
|
-
]
|
|
404
|
+
examples: ["telegram", "discord"]
|
|
454
405
|
},
|
|
455
406
|
{
|
|
456
407
|
name: "target",
|
|
@@ -459,10 +410,7 @@ var init_action_docs = __esm(() => {
|
|
|
459
410
|
schema: {
|
|
460
411
|
type: "string"
|
|
461
412
|
},
|
|
462
|
-
examples: [
|
|
463
|
-
"dev_guru",
|
|
464
|
-
"announcements"
|
|
465
|
-
]
|
|
413
|
+
examples: ["dev_guru", "announcements"]
|
|
466
414
|
},
|
|
467
415
|
{
|
|
468
416
|
name: "text",
|
|
@@ -471,10 +419,7 @@ var init_action_docs = __esm(() => {
|
|
|
471
419
|
schema: {
|
|
472
420
|
type: "string"
|
|
473
421
|
},
|
|
474
|
-
examples: [
|
|
475
|
-
"Hello!",
|
|
476
|
-
"Important announcement!"
|
|
477
|
-
]
|
|
422
|
+
examples: ["Hello!", "Important announcement!"]
|
|
478
423
|
}
|
|
479
424
|
],
|
|
480
425
|
examples: [
|
|
@@ -489,9 +434,7 @@ var init_action_docs = __esm(() => {
|
|
|
489
434
|
name: "{{name2}}",
|
|
490
435
|
content: {
|
|
491
436
|
text: "Message sent to dev_guru on telegram.",
|
|
492
|
-
actions: [
|
|
493
|
-
"SEND_MESSAGE"
|
|
494
|
-
]
|
|
437
|
+
actions: ["SEND_MESSAGE"]
|
|
495
438
|
}
|
|
496
439
|
}
|
|
497
440
|
],
|
|
@@ -506,9 +449,7 @@ var init_action_docs = __esm(() => {
|
|
|
506
449
|
name: "{{name2}}",
|
|
507
450
|
content: {
|
|
508
451
|
text: "Message sent to announcements.",
|
|
509
|
-
actions: [
|
|
510
|
-
"SEND_MESSAGE"
|
|
511
|
-
]
|
|
452
|
+
actions: ["SEND_MESSAGE"]
|
|
512
453
|
}
|
|
513
454
|
}
|
|
514
455
|
],
|
|
@@ -523,9 +464,7 @@ var init_action_docs = __esm(() => {
|
|
|
523
464
|
name: "{{name2}}",
|
|
524
465
|
content: {
|
|
525
466
|
text: "Message sent to Jimmy.",
|
|
526
|
-
actions: [
|
|
527
|
-
"SEND_MESSAGE"
|
|
528
|
-
]
|
|
467
|
+
actions: ["SEND_MESSAGE"]
|
|
529
468
|
}
|
|
530
469
|
}
|
|
531
470
|
]
|
|
@@ -533,10 +472,7 @@ var init_action_docs = __esm(() => {
|
|
|
533
472
|
exampleCalls: [
|
|
534
473
|
{
|
|
535
474
|
user: 'Send a message to @dev_guru on telegram saying "Hello!"',
|
|
536
|
-
actions: [
|
|
537
|
-
"REPLY",
|
|
538
|
-
"SEND_MESSAGE"
|
|
539
|
-
],
|
|
475
|
+
actions: ["REPLY", "SEND_MESSAGE"],
|
|
540
476
|
params: {
|
|
541
477
|
SEND_MESSAGE: {
|
|
542
478
|
targetType: "user",
|
|
@@ -577,10 +513,7 @@ var init_action_docs = __esm(() => {
|
|
|
577
513
|
schema: {
|
|
578
514
|
type: "string"
|
|
579
515
|
},
|
|
580
|
-
examples: [
|
|
581
|
-
"Sarah Chen",
|
|
582
|
-
"John Smith"
|
|
583
|
-
]
|
|
516
|
+
examples: ["Sarah Chen", "John Smith"]
|
|
584
517
|
},
|
|
585
518
|
{
|
|
586
519
|
name: "notes",
|
|
@@ -589,9 +522,7 @@ var init_action_docs = __esm(() => {
|
|
|
589
522
|
schema: {
|
|
590
523
|
type: "string"
|
|
591
524
|
},
|
|
592
|
-
examples: [
|
|
593
|
-
"Met at the AI meetup; interested in agents"
|
|
594
|
-
]
|
|
525
|
+
examples: ["Met at the AI meetup; interested in agents"]
|
|
595
526
|
}
|
|
596
527
|
],
|
|
597
528
|
examples: [
|
|
@@ -642,11 +573,7 @@ var init_action_docs = __esm(() => {
|
|
|
642
573
|
{
|
|
643
574
|
name: "UPDATE_CONTACT",
|
|
644
575
|
description: "Update an existing contact's details in the rolodex.",
|
|
645
|
-
similes: [
|
|
646
|
-
"EDIT_CONTACT",
|
|
647
|
-
"MODIFY_CONTACT",
|
|
648
|
-
"CHANGE_CONTACT_INFO"
|
|
649
|
-
],
|
|
576
|
+
similes: ["EDIT_CONTACT", "MODIFY_CONTACT", "CHANGE_CONTACT_INFO"],
|
|
650
577
|
parameters: [
|
|
651
578
|
{
|
|
652
579
|
name: "name",
|
|
@@ -655,9 +582,7 @@ var init_action_docs = __esm(() => {
|
|
|
655
582
|
schema: {
|
|
656
583
|
type: "string"
|
|
657
584
|
},
|
|
658
|
-
examples: [
|
|
659
|
-
"Sarah Chen"
|
|
660
|
-
]
|
|
585
|
+
examples: ["Sarah Chen"]
|
|
661
586
|
},
|
|
662
587
|
{
|
|
663
588
|
name: "updates",
|
|
@@ -666,9 +591,7 @@ var init_action_docs = __esm(() => {
|
|
|
666
591
|
schema: {
|
|
667
592
|
type: "string"
|
|
668
593
|
},
|
|
669
|
-
examples: [
|
|
670
|
-
'{"notes":"prefers email","tags":["friend"]}'
|
|
671
|
-
]
|
|
594
|
+
examples: ['{"notes":"prefers email","tags":["friend"]}']
|
|
672
595
|
}
|
|
673
596
|
],
|
|
674
597
|
examples: [
|
|
@@ -706,9 +629,7 @@ var init_action_docs = __esm(() => {
|
|
|
706
629
|
schema: {
|
|
707
630
|
type: "string"
|
|
708
631
|
},
|
|
709
|
-
examples: [
|
|
710
|
-
"Sarah Chen"
|
|
711
|
-
]
|
|
632
|
+
examples: ["Sarah Chen"]
|
|
712
633
|
}
|
|
713
634
|
],
|
|
714
635
|
examples: [
|
|
@@ -762,10 +683,7 @@ var init_action_docs = __esm(() => {
|
|
|
762
683
|
schema: {
|
|
763
684
|
type: "string"
|
|
764
685
|
},
|
|
765
|
-
examples: [
|
|
766
|
-
"sarah",
|
|
767
|
-
"AI meetup"
|
|
768
|
-
]
|
|
686
|
+
examples: ["sarah", "AI meetup"]
|
|
769
687
|
}
|
|
770
688
|
],
|
|
771
689
|
examples: [
|
|
@@ -808,9 +726,7 @@ var init_action_docs = __esm(() => {
|
|
|
808
726
|
schema: {
|
|
809
727
|
type: "string"
|
|
810
728
|
},
|
|
811
|
-
examples: [
|
|
812
|
-
"Sarah Chen"
|
|
813
|
-
]
|
|
729
|
+
examples: ["Sarah Chen"]
|
|
814
730
|
},
|
|
815
731
|
{
|
|
816
732
|
name: "when",
|
|
@@ -819,9 +735,7 @@ var init_action_docs = __esm(() => {
|
|
|
819
735
|
schema: {
|
|
820
736
|
type: "string"
|
|
821
737
|
},
|
|
822
|
-
examples: [
|
|
823
|
-
"2026-02-01T09:00:00Z"
|
|
824
|
-
]
|
|
738
|
+
examples: ["2026-02-01T09:00:00Z"]
|
|
825
739
|
},
|
|
826
740
|
{
|
|
827
741
|
name: "reason",
|
|
@@ -830,9 +744,7 @@ var init_action_docs = __esm(() => {
|
|
|
830
744
|
schema: {
|
|
831
745
|
type: "string"
|
|
832
746
|
},
|
|
833
|
-
examples: [
|
|
834
|
-
"Check in about the agent framework demo"
|
|
835
|
-
]
|
|
747
|
+
examples: ["Check in about the agent framework demo"]
|
|
836
748
|
}
|
|
837
749
|
],
|
|
838
750
|
examples: [
|
|
@@ -872,9 +784,7 @@ var init_action_docs = __esm(() => {
|
|
|
872
784
|
schema: {
|
|
873
785
|
type: "string"
|
|
874
786
|
},
|
|
875
|
-
examples: [
|
|
876
|
-
"c0a8012e"
|
|
877
|
-
]
|
|
787
|
+
examples: ["c0a8012e"]
|
|
878
788
|
},
|
|
879
789
|
{
|
|
880
790
|
name: "option",
|
|
@@ -883,10 +793,7 @@ var init_action_docs = __esm(() => {
|
|
|
883
793
|
schema: {
|
|
884
794
|
type: "string"
|
|
885
795
|
},
|
|
886
|
-
examples: [
|
|
887
|
-
"APPROVE",
|
|
888
|
-
"ABORT"
|
|
889
|
-
]
|
|
796
|
+
examples: ["APPROVE", "ABORT"]
|
|
890
797
|
}
|
|
891
798
|
],
|
|
892
799
|
examples: [
|
|
@@ -901,9 +808,7 @@ var init_action_docs = __esm(() => {
|
|
|
901
808
|
name: "{{name2}}",
|
|
902
809
|
content: {
|
|
903
810
|
text: "I've selected option 1 for the pending task.",
|
|
904
|
-
actions: [
|
|
905
|
-
"CHOOSE_OPTION"
|
|
906
|
-
]
|
|
811
|
+
actions: ["CHOOSE_OPTION"]
|
|
907
812
|
}
|
|
908
813
|
}
|
|
909
814
|
]
|
|
@@ -930,9 +835,7 @@ var init_action_docs = __esm(() => {
|
|
|
930
835
|
schema: {
|
|
931
836
|
type: "string"
|
|
932
837
|
},
|
|
933
|
-
examples: [
|
|
934
|
-
"00000000-0000-0000-0000-000000000000"
|
|
935
|
-
]
|
|
838
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
936
839
|
}
|
|
937
840
|
],
|
|
938
841
|
examples: [
|
|
@@ -947,9 +850,7 @@ var init_action_docs = __esm(() => {
|
|
|
947
850
|
name: "{{name2}}",
|
|
948
851
|
content: {
|
|
949
852
|
text: "Sure, I will now follow this room and chime in",
|
|
950
|
-
actions: [
|
|
951
|
-
"FOLLOW_ROOM"
|
|
952
|
-
]
|
|
853
|
+
actions: ["FOLLOW_ROOM"]
|
|
953
854
|
}
|
|
954
855
|
}
|
|
955
856
|
],
|
|
@@ -964,9 +865,7 @@ var init_action_docs = __esm(() => {
|
|
|
964
865
|
name: "{{name2}}",
|
|
965
866
|
content: {
|
|
966
867
|
text: "you got it, i'm here",
|
|
967
|
-
actions: [
|
|
968
|
-
"FOLLOW_ROOM"
|
|
969
|
-
]
|
|
868
|
+
actions: ["FOLLOW_ROOM"]
|
|
970
869
|
}
|
|
971
870
|
}
|
|
972
871
|
]
|
|
@@ -993,9 +892,7 @@ var init_action_docs = __esm(() => {
|
|
|
993
892
|
schema: {
|
|
994
893
|
type: "string"
|
|
995
894
|
},
|
|
996
|
-
examples: [
|
|
997
|
-
"00000000-0000-0000-0000-000000000000"
|
|
998
|
-
]
|
|
895
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
999
896
|
}
|
|
1000
897
|
],
|
|
1001
898
|
examples: [
|
|
@@ -1010,9 +907,7 @@ var init_action_docs = __esm(() => {
|
|
|
1010
907
|
name: "{{name2}}",
|
|
1011
908
|
content: {
|
|
1012
909
|
text: "Okay, I'll stop following this room",
|
|
1013
|
-
actions: [
|
|
1014
|
-
"UNFOLLOW_ROOM"
|
|
1015
|
-
]
|
|
910
|
+
actions: ["UNFOLLOW_ROOM"]
|
|
1016
911
|
}
|
|
1017
912
|
}
|
|
1018
913
|
]
|
|
@@ -1039,9 +934,7 @@ var init_action_docs = __esm(() => {
|
|
|
1039
934
|
schema: {
|
|
1040
935
|
type: "string"
|
|
1041
936
|
},
|
|
1042
|
-
examples: [
|
|
1043
|
-
"00000000-0000-0000-0000-000000000000"
|
|
1044
|
-
]
|
|
937
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
1045
938
|
}
|
|
1046
939
|
],
|
|
1047
940
|
examples: [
|
|
@@ -1056,9 +949,7 @@ var init_action_docs = __esm(() => {
|
|
|
1056
949
|
name: "{{name2}}",
|
|
1057
950
|
content: {
|
|
1058
951
|
text: "Got it",
|
|
1059
|
-
actions: [
|
|
1060
|
-
"MUTE_ROOM"
|
|
1061
|
-
]
|
|
952
|
+
actions: ["MUTE_ROOM"]
|
|
1062
953
|
}
|
|
1063
954
|
}
|
|
1064
955
|
],
|
|
@@ -1073,9 +964,7 @@ var init_action_docs = __esm(() => {
|
|
|
1073
964
|
name: "{{name2}}",
|
|
1074
965
|
content: {
|
|
1075
966
|
text: "np going silent",
|
|
1076
|
-
actions: [
|
|
1077
|
-
"MUTE_ROOM"
|
|
1078
|
-
]
|
|
967
|
+
actions: ["MUTE_ROOM"]
|
|
1079
968
|
}
|
|
1080
969
|
}
|
|
1081
970
|
]
|
|
@@ -1102,9 +991,7 @@ var init_action_docs = __esm(() => {
|
|
|
1102
991
|
schema: {
|
|
1103
992
|
type: "string"
|
|
1104
993
|
},
|
|
1105
|
-
examples: [
|
|
1106
|
-
"00000000-0000-0000-0000-000000000000"
|
|
1107
|
-
]
|
|
994
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
1108
995
|
}
|
|
1109
996
|
],
|
|
1110
997
|
examples: [
|
|
@@ -1119,9 +1006,7 @@ var init_action_docs = __esm(() => {
|
|
|
1119
1006
|
name: "{{name2}}",
|
|
1120
1007
|
content: {
|
|
1121
1008
|
text: "I've unmuted this room and will respond again",
|
|
1122
|
-
actions: [
|
|
1123
|
-
"UNMUTE_ROOM"
|
|
1124
|
-
]
|
|
1009
|
+
actions: ["UNMUTE_ROOM"]
|
|
1125
1010
|
}
|
|
1126
1011
|
}
|
|
1127
1012
|
]
|
|
@@ -1149,9 +1034,7 @@ var init_action_docs = __esm(() => {
|
|
|
1149
1034
|
schema: {
|
|
1150
1035
|
type: "string"
|
|
1151
1036
|
},
|
|
1152
|
-
examples: [
|
|
1153
|
-
'[{"key":"model","value":"gpt-5"}]'
|
|
1154
|
-
]
|
|
1037
|
+
examples: ['[{"key":"model","value":"gpt-5"}]']
|
|
1155
1038
|
}
|
|
1156
1039
|
],
|
|
1157
1040
|
examples: [
|
|
@@ -1166,9 +1049,7 @@ var init_action_docs = __esm(() => {
|
|
|
1166
1049
|
name: "{{name2}}",
|
|
1167
1050
|
content: {
|
|
1168
1051
|
text: "I've updated your language setting to French.",
|
|
1169
|
-
actions: [
|
|
1170
|
-
"UPDATE_SETTINGS"
|
|
1171
|
-
]
|
|
1052
|
+
actions: ["UPDATE_SETTINGS"]
|
|
1172
1053
|
}
|
|
1173
1054
|
}
|
|
1174
1055
|
]
|
|
@@ -1194,9 +1075,7 @@ var init_action_docs = __esm(() => {
|
|
|
1194
1075
|
schema: {
|
|
1195
1076
|
type: "string"
|
|
1196
1077
|
},
|
|
1197
|
-
examples: [
|
|
1198
|
-
"00000000-0000-0000-0000-000000000000"
|
|
1199
|
-
]
|
|
1078
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
1200
1079
|
},
|
|
1201
1080
|
{
|
|
1202
1081
|
name: "role",
|
|
@@ -1205,10 +1084,7 @@ var init_action_docs = __esm(() => {
|
|
|
1205
1084
|
schema: {
|
|
1206
1085
|
type: "string"
|
|
1207
1086
|
},
|
|
1208
|
-
examples: [
|
|
1209
|
-
"admin",
|
|
1210
|
-
"member"
|
|
1211
|
-
]
|
|
1087
|
+
examples: ["admin", "member"]
|
|
1212
1088
|
}
|
|
1213
1089
|
],
|
|
1214
1090
|
examples: [
|
|
@@ -1223,9 +1099,7 @@ var init_action_docs = __esm(() => {
|
|
|
1223
1099
|
name: "{{name2}}",
|
|
1224
1100
|
content: {
|
|
1225
1101
|
text: "I've assigned the admin role to Sarah.",
|
|
1226
|
-
actions: [
|
|
1227
|
-
"UPDATE_ROLE"
|
|
1228
|
-
]
|
|
1102
|
+
actions: ["UPDATE_ROLE"]
|
|
1229
1103
|
}
|
|
1230
1104
|
}
|
|
1231
1105
|
]
|
|
@@ -1249,9 +1123,7 @@ var init_action_docs = __esm(() => {
|
|
|
1249
1123
|
schema: {
|
|
1250
1124
|
type: "string"
|
|
1251
1125
|
},
|
|
1252
|
-
examples: [
|
|
1253
|
-
"00000000-0000-0000-0000-000000000000"
|
|
1254
|
-
]
|
|
1126
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
1255
1127
|
},
|
|
1256
1128
|
{
|
|
1257
1129
|
name: "updates",
|
|
@@ -1260,9 +1132,7 @@ var init_action_docs = __esm(() => {
|
|
|
1260
1132
|
schema: {
|
|
1261
1133
|
type: "string"
|
|
1262
1134
|
},
|
|
1263
|
-
examples: [
|
|
1264
|
-
'[{"name":"bio","value":"Loves Rust"}]'
|
|
1265
|
-
]
|
|
1135
|
+
examples: ['[{"name":"bio","value":"Loves Rust"}]']
|
|
1266
1136
|
}
|
|
1267
1137
|
],
|
|
1268
1138
|
examples: [
|
|
@@ -1277,9 +1147,7 @@ var init_action_docs = __esm(() => {
|
|
|
1277
1147
|
name: "{{name2}}",
|
|
1278
1148
|
content: {
|
|
1279
1149
|
text: "I've updated your profile bio.",
|
|
1280
|
-
actions: [
|
|
1281
|
-
"UPDATE_ENTITY"
|
|
1282
|
-
]
|
|
1150
|
+
actions: ["UPDATE_ENTITY"]
|
|
1283
1151
|
}
|
|
1284
1152
|
}
|
|
1285
1153
|
]
|
|
@@ -1305,9 +1173,7 @@ var init_action_docs = __esm(() => {
|
|
|
1305
1173
|
schema: {
|
|
1306
1174
|
type: "string"
|
|
1307
1175
|
},
|
|
1308
|
-
examples: [
|
|
1309
|
-
"A futuristic cityscape at sunset, cinematic lighting"
|
|
1310
|
-
]
|
|
1176
|
+
examples: ["A futuristic cityscape at sunset, cinematic lighting"]
|
|
1311
1177
|
}
|
|
1312
1178
|
],
|
|
1313
1179
|
examples: [
|
|
@@ -1322,9 +1188,7 @@ var init_action_docs = __esm(() => {
|
|
|
1322
1188
|
name: "{{name2}}",
|
|
1323
1189
|
content: {
|
|
1324
1190
|
text: "Sure, I'll create a futuristic city image for you. One moment...",
|
|
1325
|
-
actions: [
|
|
1326
|
-
"GENERATE_IMAGE"
|
|
1327
|
-
]
|
|
1191
|
+
actions: ["GENERATE_IMAGE"]
|
|
1328
1192
|
}
|
|
1329
1193
|
}
|
|
1330
1194
|
],
|
|
@@ -1339,9 +1203,7 @@ var init_action_docs = __esm(() => {
|
|
|
1339
1203
|
name: "{{name2}}",
|
|
1340
1204
|
content: {
|
|
1341
1205
|
text: "I'll create a visualization of a neural network for you, one sec...",
|
|
1342
|
-
actions: [
|
|
1343
|
-
"GENERATE_IMAGE"
|
|
1344
|
-
]
|
|
1206
|
+
actions: ["GENERATE_IMAGE"]
|
|
1345
1207
|
}
|
|
1346
1208
|
}
|
|
1347
1209
|
],
|
|
@@ -1356,9 +1218,7 @@ var init_action_docs = __esm(() => {
|
|
|
1356
1218
|
name: "{{name2}}",
|
|
1357
1219
|
content: {
|
|
1358
1220
|
text: "Creating an image to capture calmness for you, please wait a moment...",
|
|
1359
|
-
actions: [
|
|
1360
|
-
"GENERATE_IMAGE"
|
|
1361
|
-
]
|
|
1221
|
+
actions: ["GENERATE_IMAGE"]
|
|
1362
1222
|
}
|
|
1363
1223
|
}
|
|
1364
1224
|
]
|
|
@@ -1392,9 +1252,7 @@ var init_action_docs = __esm(() => {
|
|
|
1392
1252
|
name: "{{name2}}",
|
|
1393
1253
|
content: {
|
|
1394
1254
|
text: "Hi! How can I help you today?",
|
|
1395
|
-
actions: [
|
|
1396
|
-
"REPLY"
|
|
1397
|
-
]
|
|
1255
|
+
actions: ["REPLY"]
|
|
1398
1256
|
}
|
|
1399
1257
|
}
|
|
1400
1258
|
],
|
|
@@ -1409,9 +1267,7 @@ var init_action_docs = __esm(() => {
|
|
|
1409
1267
|
name: "{{name2}}",
|
|
1410
1268
|
content: {
|
|
1411
1269
|
text: "I really like deep shades of blue. They remind me of the ocean and the night sky.",
|
|
1412
|
-
actions: [
|
|
1413
|
-
"REPLY"
|
|
1414
|
-
]
|
|
1270
|
+
actions: ["REPLY"]
|
|
1415
1271
|
}
|
|
1416
1272
|
}
|
|
1417
1273
|
],
|
|
@@ -1426,9 +1282,7 @@ var init_action_docs = __esm(() => {
|
|
|
1426
1282
|
name: "{{name2}}",
|
|
1427
1283
|
content: {
|
|
1428
1284
|
text: "Let me break that down for you in simple terms...",
|
|
1429
|
-
actions: [
|
|
1430
|
-
"REPLY"
|
|
1431
|
-
]
|
|
1285
|
+
actions: ["REPLY"]
|
|
1432
1286
|
}
|
|
1433
1287
|
}
|
|
1434
1288
|
],
|
|
@@ -1443,9 +1297,7 @@ var init_action_docs = __esm(() => {
|
|
|
1443
1297
|
name: "{{name2}}",
|
|
1444
1298
|
content: {
|
|
1445
1299
|
text: "Of course! Let's work through it step by step.",
|
|
1446
|
-
actions: [
|
|
1447
|
-
"REPLY"
|
|
1448
|
-
]
|
|
1300
|
+
actions: ["REPLY"]
|
|
1449
1301
|
}
|
|
1450
1302
|
}
|
|
1451
1303
|
]
|
|
@@ -1454,11 +1306,7 @@ var init_action_docs = __esm(() => {
|
|
|
1454
1306
|
{
|
|
1455
1307
|
name: "IGNORE",
|
|
1456
1308
|
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.",
|
|
1457
|
-
similes: [
|
|
1458
|
-
"STOP_TALKING",
|
|
1459
|
-
"STOP_CHATTING",
|
|
1460
|
-
"STOP_CONVERSATION"
|
|
1461
|
-
],
|
|
1309
|
+
similes: ["STOP_TALKING", "STOP_CHATTING", "STOP_CONVERSATION"],
|
|
1462
1310
|
parameters: [],
|
|
1463
1311
|
examples: [
|
|
1464
1312
|
[
|
|
@@ -1472,9 +1320,7 @@ var init_action_docs = __esm(() => {
|
|
|
1472
1320
|
name: "{{name2}}",
|
|
1473
1321
|
content: {
|
|
1474
1322
|
text: "",
|
|
1475
|
-
actions: [
|
|
1476
|
-
"IGNORE"
|
|
1477
|
-
]
|
|
1323
|
+
actions: ["IGNORE"]
|
|
1478
1324
|
}
|
|
1479
1325
|
}
|
|
1480
1326
|
],
|
|
@@ -1489,9 +1335,7 @@ var init_action_docs = __esm(() => {
|
|
|
1489
1335
|
name: "{{name2}}",
|
|
1490
1336
|
content: {
|
|
1491
1337
|
text: "",
|
|
1492
|
-
actions: [
|
|
1493
|
-
"IGNORE"
|
|
1494
|
-
]
|
|
1338
|
+
actions: ["IGNORE"]
|
|
1495
1339
|
}
|
|
1496
1340
|
}
|
|
1497
1341
|
],
|
|
@@ -1518,9 +1362,7 @@ var init_action_docs = __esm(() => {
|
|
|
1518
1362
|
name: "{{name2}}",
|
|
1519
1363
|
content: {
|
|
1520
1364
|
text: "",
|
|
1521
|
-
actions: [
|
|
1522
|
-
"IGNORE"
|
|
1523
|
-
]
|
|
1365
|
+
actions: ["IGNORE"]
|
|
1524
1366
|
}
|
|
1525
1367
|
}
|
|
1526
1368
|
],
|
|
@@ -1541,9 +1383,7 @@ var init_action_docs = __esm(() => {
|
|
|
1541
1383
|
name: "{{name1}}",
|
|
1542
1384
|
content: {
|
|
1543
1385
|
text: "",
|
|
1544
|
-
actions: [
|
|
1545
|
-
"IGNORE"
|
|
1546
|
-
]
|
|
1386
|
+
actions: ["IGNORE"]
|
|
1547
1387
|
}
|
|
1548
1388
|
}
|
|
1549
1389
|
],
|
|
@@ -1558,9 +1398,7 @@ var init_action_docs = __esm(() => {
|
|
|
1558
1398
|
name: "{{name2}}",
|
|
1559
1399
|
content: {
|
|
1560
1400
|
text: "thats inappropriate",
|
|
1561
|
-
actions: [
|
|
1562
|
-
"IGNORE"
|
|
1563
|
-
]
|
|
1401
|
+
actions: ["IGNORE"]
|
|
1564
1402
|
}
|
|
1565
1403
|
}
|
|
1566
1404
|
]
|
|
@@ -1569,13 +1407,7 @@ var init_action_docs = __esm(() => {
|
|
|
1569
1407
|
{
|
|
1570
1408
|
name: "NONE",
|
|
1571
1409
|
description: "Respond but perform no additional action. This is the default if the agent is speaking and not doing anything additional.",
|
|
1572
|
-
similes: [
|
|
1573
|
-
"NO_ACTION",
|
|
1574
|
-
"NO_RESPONSE",
|
|
1575
|
-
"NO_REACTION",
|
|
1576
|
-
"NOOP",
|
|
1577
|
-
"PASS"
|
|
1578
|
-
],
|
|
1410
|
+
similes: ["NO_ACTION", "NO_RESPONSE", "NO_REACTION", "NOOP", "PASS"],
|
|
1579
1411
|
parameters: [],
|
|
1580
1412
|
examples: [
|
|
1581
1413
|
[
|
|
@@ -1589,9 +1421,7 @@ var init_action_docs = __esm(() => {
|
|
|
1589
1421
|
name: "{{name2}}",
|
|
1590
1422
|
content: {
|
|
1591
1423
|
text: "oh hey",
|
|
1592
|
-
actions: [
|
|
1593
|
-
"NONE"
|
|
1594
|
-
]
|
|
1424
|
+
actions: ["NONE"]
|
|
1595
1425
|
}
|
|
1596
1426
|
}
|
|
1597
1427
|
],
|
|
@@ -1606,9 +1436,7 @@ var init_action_docs = __esm(() => {
|
|
|
1606
1436
|
name: "{{name2}}",
|
|
1607
1437
|
content: {
|
|
1608
1438
|
text: "yeah but its a pain to get into node.js",
|
|
1609
|
-
actions: [
|
|
1610
|
-
"NONE"
|
|
1611
|
-
]
|
|
1439
|
+
actions: ["NONE"]
|
|
1612
1440
|
}
|
|
1613
1441
|
}
|
|
1614
1442
|
],
|
|
@@ -1617,18 +1445,14 @@ var init_action_docs = __esm(() => {
|
|
|
1617
1445
|
name: "{{name1}}",
|
|
1618
1446
|
content: {
|
|
1619
1447
|
text: "u think aliens are real",
|
|
1620
|
-
actions: [
|
|
1621
|
-
"NONE"
|
|
1622
|
-
]
|
|
1448
|
+
actions: ["NONE"]
|
|
1623
1449
|
}
|
|
1624
1450
|
},
|
|
1625
1451
|
{
|
|
1626
1452
|
name: "{{name2}}",
|
|
1627
1453
|
content: {
|
|
1628
1454
|
text: "ya obviously",
|
|
1629
|
-
actions: [
|
|
1630
|
-
"NONE"
|
|
1631
|
-
]
|
|
1455
|
+
actions: ["NONE"]
|
|
1632
1456
|
}
|
|
1633
1457
|
}
|
|
1634
1458
|
],
|
|
@@ -1637,18 +1461,14 @@ var init_action_docs = __esm(() => {
|
|
|
1637
1461
|
name: "{{name1}}",
|
|
1638
1462
|
content: {
|
|
1639
1463
|
text: "drop a joke on me",
|
|
1640
|
-
actions: [
|
|
1641
|
-
"NONE"
|
|
1642
|
-
]
|
|
1464
|
+
actions: ["NONE"]
|
|
1643
1465
|
}
|
|
1644
1466
|
},
|
|
1645
1467
|
{
|
|
1646
1468
|
name: "{{name2}}",
|
|
1647
1469
|
content: {
|
|
1648
1470
|
text: "why dont scientists trust atoms cuz they make up everything lmao",
|
|
1649
|
-
actions: [
|
|
1650
|
-
"NONE"
|
|
1651
|
-
]
|
|
1471
|
+
actions: ["NONE"]
|
|
1652
1472
|
}
|
|
1653
1473
|
}
|
|
1654
1474
|
]
|
|
@@ -1672,15 +1492,9 @@ var init_action_docs = __esm(() => {
|
|
|
1672
1492
|
required: true,
|
|
1673
1493
|
schema: {
|
|
1674
1494
|
type: "string",
|
|
1675
|
-
enum: [
|
|
1676
|
-
"user",
|
|
1677
|
-
"room"
|
|
1678
|
-
]
|
|
1495
|
+
enum: ["user", "room"]
|
|
1679
1496
|
},
|
|
1680
|
-
examples: [
|
|
1681
|
-
"user",
|
|
1682
|
-
"room"
|
|
1683
|
-
]
|
|
1497
|
+
examples: ["user", "room"]
|
|
1684
1498
|
},
|
|
1685
1499
|
{
|
|
1686
1500
|
name: "source",
|
|
@@ -1689,10 +1503,7 @@ var init_action_docs = __esm(() => {
|
|
|
1689
1503
|
schema: {
|
|
1690
1504
|
type: "string"
|
|
1691
1505
|
},
|
|
1692
|
-
examples: [
|
|
1693
|
-
"telegram",
|
|
1694
|
-
"discord"
|
|
1695
|
-
]
|
|
1506
|
+
examples: ["telegram", "discord"]
|
|
1696
1507
|
},
|
|
1697
1508
|
{
|
|
1698
1509
|
name: "target",
|
|
@@ -1701,10 +1512,7 @@ var init_action_docs = __esm(() => {
|
|
|
1701
1512
|
schema: {
|
|
1702
1513
|
type: "string"
|
|
1703
1514
|
},
|
|
1704
|
-
examples: [
|
|
1705
|
-
"dev_guru",
|
|
1706
|
-
"announcements"
|
|
1707
|
-
]
|
|
1515
|
+
examples: ["dev_guru", "announcements"]
|
|
1708
1516
|
},
|
|
1709
1517
|
{
|
|
1710
1518
|
name: "text",
|
|
@@ -1713,10 +1521,7 @@ var init_action_docs = __esm(() => {
|
|
|
1713
1521
|
schema: {
|
|
1714
1522
|
type: "string"
|
|
1715
1523
|
},
|
|
1716
|
-
examples: [
|
|
1717
|
-
"Hello!",
|
|
1718
|
-
"Important announcement!"
|
|
1719
|
-
]
|
|
1524
|
+
examples: ["Hello!", "Important announcement!"]
|
|
1720
1525
|
}
|
|
1721
1526
|
],
|
|
1722
1527
|
examples: [
|
|
@@ -1731,9 +1536,7 @@ var init_action_docs = __esm(() => {
|
|
|
1731
1536
|
name: "{{name2}}",
|
|
1732
1537
|
content: {
|
|
1733
1538
|
text: "Message sent to dev_guru on telegram.",
|
|
1734
|
-
actions: [
|
|
1735
|
-
"SEND_MESSAGE"
|
|
1736
|
-
]
|
|
1539
|
+
actions: ["SEND_MESSAGE"]
|
|
1737
1540
|
}
|
|
1738
1541
|
}
|
|
1739
1542
|
],
|
|
@@ -1748,9 +1551,7 @@ var init_action_docs = __esm(() => {
|
|
|
1748
1551
|
name: "{{name2}}",
|
|
1749
1552
|
content: {
|
|
1750
1553
|
text: "Message sent to announcements.",
|
|
1751
|
-
actions: [
|
|
1752
|
-
"SEND_MESSAGE"
|
|
1753
|
-
]
|
|
1554
|
+
actions: ["SEND_MESSAGE"]
|
|
1754
1555
|
}
|
|
1755
1556
|
}
|
|
1756
1557
|
],
|
|
@@ -1765,9 +1566,7 @@ var init_action_docs = __esm(() => {
|
|
|
1765
1566
|
name: "{{name2}}",
|
|
1766
1567
|
content: {
|
|
1767
1568
|
text: "Message sent to Jimmy.",
|
|
1768
|
-
actions: [
|
|
1769
|
-
"SEND_MESSAGE"
|
|
1770
|
-
]
|
|
1569
|
+
actions: ["SEND_MESSAGE"]
|
|
1771
1570
|
}
|
|
1772
1571
|
}
|
|
1773
1572
|
]
|
|
@@ -1775,10 +1574,7 @@ var init_action_docs = __esm(() => {
|
|
|
1775
1574
|
exampleCalls: [
|
|
1776
1575
|
{
|
|
1777
1576
|
user: 'Send a message to @dev_guru on telegram saying "Hello!"',
|
|
1778
|
-
actions: [
|
|
1779
|
-
"REPLY",
|
|
1780
|
-
"SEND_MESSAGE"
|
|
1781
|
-
],
|
|
1577
|
+
actions: ["REPLY", "SEND_MESSAGE"],
|
|
1782
1578
|
params: {
|
|
1783
1579
|
SEND_MESSAGE: {
|
|
1784
1580
|
targetType: "user",
|
|
@@ -1819,10 +1615,7 @@ var init_action_docs = __esm(() => {
|
|
|
1819
1615
|
schema: {
|
|
1820
1616
|
type: "string"
|
|
1821
1617
|
},
|
|
1822
|
-
examples: [
|
|
1823
|
-
"Sarah Chen",
|
|
1824
|
-
"John Smith"
|
|
1825
|
-
]
|
|
1618
|
+
examples: ["Sarah Chen", "John Smith"]
|
|
1826
1619
|
},
|
|
1827
1620
|
{
|
|
1828
1621
|
name: "notes",
|
|
@@ -1831,9 +1624,7 @@ var init_action_docs = __esm(() => {
|
|
|
1831
1624
|
schema: {
|
|
1832
1625
|
type: "string"
|
|
1833
1626
|
},
|
|
1834
|
-
examples: [
|
|
1835
|
-
"Met at the AI meetup; interested in agents"
|
|
1836
|
-
]
|
|
1627
|
+
examples: ["Met at the AI meetup; interested in agents"]
|
|
1837
1628
|
}
|
|
1838
1629
|
],
|
|
1839
1630
|
examples: [
|
|
@@ -1884,11 +1675,7 @@ var init_action_docs = __esm(() => {
|
|
|
1884
1675
|
{
|
|
1885
1676
|
name: "UPDATE_CONTACT",
|
|
1886
1677
|
description: "Update an existing contact's details in the rolodex.",
|
|
1887
|
-
similes: [
|
|
1888
|
-
"EDIT_CONTACT",
|
|
1889
|
-
"MODIFY_CONTACT",
|
|
1890
|
-
"CHANGE_CONTACT_INFO"
|
|
1891
|
-
],
|
|
1678
|
+
similes: ["EDIT_CONTACT", "MODIFY_CONTACT", "CHANGE_CONTACT_INFO"],
|
|
1892
1679
|
parameters: [
|
|
1893
1680
|
{
|
|
1894
1681
|
name: "name",
|
|
@@ -1897,9 +1684,7 @@ var init_action_docs = __esm(() => {
|
|
|
1897
1684
|
schema: {
|
|
1898
1685
|
type: "string"
|
|
1899
1686
|
},
|
|
1900
|
-
examples: [
|
|
1901
|
-
"Sarah Chen"
|
|
1902
|
-
]
|
|
1687
|
+
examples: ["Sarah Chen"]
|
|
1903
1688
|
},
|
|
1904
1689
|
{
|
|
1905
1690
|
name: "updates",
|
|
@@ -1908,9 +1693,7 @@ var init_action_docs = __esm(() => {
|
|
|
1908
1693
|
schema: {
|
|
1909
1694
|
type: "string"
|
|
1910
1695
|
},
|
|
1911
|
-
examples: [
|
|
1912
|
-
'{"notes":"prefers email","tags":["friend"]}'
|
|
1913
|
-
]
|
|
1696
|
+
examples: ['{"notes":"prefers email","tags":["friend"]}']
|
|
1914
1697
|
}
|
|
1915
1698
|
],
|
|
1916
1699
|
examples: [
|
|
@@ -1948,9 +1731,7 @@ var init_action_docs = __esm(() => {
|
|
|
1948
1731
|
schema: {
|
|
1949
1732
|
type: "string"
|
|
1950
1733
|
},
|
|
1951
|
-
examples: [
|
|
1952
|
-
"Sarah Chen"
|
|
1953
|
-
]
|
|
1734
|
+
examples: ["Sarah Chen"]
|
|
1954
1735
|
}
|
|
1955
1736
|
],
|
|
1956
1737
|
examples: [
|
|
@@ -2004,10 +1785,7 @@ var init_action_docs = __esm(() => {
|
|
|
2004
1785
|
schema: {
|
|
2005
1786
|
type: "string"
|
|
2006
1787
|
},
|
|
2007
|
-
examples: [
|
|
2008
|
-
"sarah",
|
|
2009
|
-
"AI meetup"
|
|
2010
|
-
]
|
|
1788
|
+
examples: ["sarah", "AI meetup"]
|
|
2011
1789
|
}
|
|
2012
1790
|
],
|
|
2013
1791
|
examples: [
|
|
@@ -2050,9 +1828,7 @@ var init_action_docs = __esm(() => {
|
|
|
2050
1828
|
schema: {
|
|
2051
1829
|
type: "string"
|
|
2052
1830
|
},
|
|
2053
|
-
examples: [
|
|
2054
|
-
"Sarah Chen"
|
|
2055
|
-
]
|
|
1831
|
+
examples: ["Sarah Chen"]
|
|
2056
1832
|
},
|
|
2057
1833
|
{
|
|
2058
1834
|
name: "when",
|
|
@@ -2061,9 +1837,7 @@ var init_action_docs = __esm(() => {
|
|
|
2061
1837
|
schema: {
|
|
2062
1838
|
type: "string"
|
|
2063
1839
|
},
|
|
2064
|
-
examples: [
|
|
2065
|
-
"2026-02-01T09:00:00Z"
|
|
2066
|
-
]
|
|
1840
|
+
examples: ["2026-02-01T09:00:00Z"]
|
|
2067
1841
|
},
|
|
2068
1842
|
{
|
|
2069
1843
|
name: "reason",
|
|
@@ -2072,9 +1846,7 @@ var init_action_docs = __esm(() => {
|
|
|
2072
1846
|
schema: {
|
|
2073
1847
|
type: "string"
|
|
2074
1848
|
},
|
|
2075
|
-
examples: [
|
|
2076
|
-
"Check in about the agent framework demo"
|
|
2077
|
-
]
|
|
1849
|
+
examples: ["Check in about the agent framework demo"]
|
|
2078
1850
|
}
|
|
2079
1851
|
],
|
|
2080
1852
|
examples: [
|
|
@@ -2114,9 +1886,7 @@ var init_action_docs = __esm(() => {
|
|
|
2114
1886
|
schema: {
|
|
2115
1887
|
type: "string"
|
|
2116
1888
|
},
|
|
2117
|
-
examples: [
|
|
2118
|
-
"c0a8012e"
|
|
2119
|
-
]
|
|
1889
|
+
examples: ["c0a8012e"]
|
|
2120
1890
|
},
|
|
2121
1891
|
{
|
|
2122
1892
|
name: "option",
|
|
@@ -2125,10 +1895,7 @@ var init_action_docs = __esm(() => {
|
|
|
2125
1895
|
schema: {
|
|
2126
1896
|
type: "string"
|
|
2127
1897
|
},
|
|
2128
|
-
examples: [
|
|
2129
|
-
"APPROVE",
|
|
2130
|
-
"ABORT"
|
|
2131
|
-
]
|
|
1898
|
+
examples: ["APPROVE", "ABORT"]
|
|
2132
1899
|
}
|
|
2133
1900
|
],
|
|
2134
1901
|
examples: [
|
|
@@ -2143,9 +1910,7 @@ var init_action_docs = __esm(() => {
|
|
|
2143
1910
|
name: "{{name2}}",
|
|
2144
1911
|
content: {
|
|
2145
1912
|
text: "I've selected option 1 for the pending task.",
|
|
2146
|
-
actions: [
|
|
2147
|
-
"CHOOSE_OPTION"
|
|
2148
|
-
]
|
|
1913
|
+
actions: ["CHOOSE_OPTION"]
|
|
2149
1914
|
}
|
|
2150
1915
|
}
|
|
2151
1916
|
]
|
|
@@ -2172,9 +1937,7 @@ var init_action_docs = __esm(() => {
|
|
|
2172
1937
|
schema: {
|
|
2173
1938
|
type: "string"
|
|
2174
1939
|
},
|
|
2175
|
-
examples: [
|
|
2176
|
-
"00000000-0000-0000-0000-000000000000"
|
|
2177
|
-
]
|
|
1940
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
2178
1941
|
}
|
|
2179
1942
|
],
|
|
2180
1943
|
examples: [
|
|
@@ -2189,9 +1952,7 @@ var init_action_docs = __esm(() => {
|
|
|
2189
1952
|
name: "{{name2}}",
|
|
2190
1953
|
content: {
|
|
2191
1954
|
text: "Sure, I will now follow this room and chime in",
|
|
2192
|
-
actions: [
|
|
2193
|
-
"FOLLOW_ROOM"
|
|
2194
|
-
]
|
|
1955
|
+
actions: ["FOLLOW_ROOM"]
|
|
2195
1956
|
}
|
|
2196
1957
|
}
|
|
2197
1958
|
],
|
|
@@ -2206,9 +1967,7 @@ var init_action_docs = __esm(() => {
|
|
|
2206
1967
|
name: "{{name2}}",
|
|
2207
1968
|
content: {
|
|
2208
1969
|
text: "you got it, i'm here",
|
|
2209
|
-
actions: [
|
|
2210
|
-
"FOLLOW_ROOM"
|
|
2211
|
-
]
|
|
1970
|
+
actions: ["FOLLOW_ROOM"]
|
|
2212
1971
|
}
|
|
2213
1972
|
}
|
|
2214
1973
|
]
|
|
@@ -2235,9 +1994,7 @@ var init_action_docs = __esm(() => {
|
|
|
2235
1994
|
schema: {
|
|
2236
1995
|
type: "string"
|
|
2237
1996
|
},
|
|
2238
|
-
examples: [
|
|
2239
|
-
"00000000-0000-0000-0000-000000000000"
|
|
2240
|
-
]
|
|
1997
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
2241
1998
|
}
|
|
2242
1999
|
],
|
|
2243
2000
|
examples: [
|
|
@@ -2252,9 +2009,7 @@ var init_action_docs = __esm(() => {
|
|
|
2252
2009
|
name: "{{name2}}",
|
|
2253
2010
|
content: {
|
|
2254
2011
|
text: "Okay, I'll stop following this room",
|
|
2255
|
-
actions: [
|
|
2256
|
-
"UNFOLLOW_ROOM"
|
|
2257
|
-
]
|
|
2012
|
+
actions: ["UNFOLLOW_ROOM"]
|
|
2258
2013
|
}
|
|
2259
2014
|
}
|
|
2260
2015
|
]
|
|
@@ -2281,9 +2036,7 @@ var init_action_docs = __esm(() => {
|
|
|
2281
2036
|
schema: {
|
|
2282
2037
|
type: "string"
|
|
2283
2038
|
},
|
|
2284
|
-
examples: [
|
|
2285
|
-
"00000000-0000-0000-0000-000000000000"
|
|
2286
|
-
]
|
|
2039
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
2287
2040
|
}
|
|
2288
2041
|
],
|
|
2289
2042
|
examples: [
|
|
@@ -2298,9 +2051,7 @@ var init_action_docs = __esm(() => {
|
|
|
2298
2051
|
name: "{{name2}}",
|
|
2299
2052
|
content: {
|
|
2300
2053
|
text: "Got it",
|
|
2301
|
-
actions: [
|
|
2302
|
-
"MUTE_ROOM"
|
|
2303
|
-
]
|
|
2054
|
+
actions: ["MUTE_ROOM"]
|
|
2304
2055
|
}
|
|
2305
2056
|
}
|
|
2306
2057
|
],
|
|
@@ -2315,9 +2066,7 @@ var init_action_docs = __esm(() => {
|
|
|
2315
2066
|
name: "{{name2}}",
|
|
2316
2067
|
content: {
|
|
2317
2068
|
text: "np going silent",
|
|
2318
|
-
actions: [
|
|
2319
|
-
"MUTE_ROOM"
|
|
2320
|
-
]
|
|
2069
|
+
actions: ["MUTE_ROOM"]
|
|
2321
2070
|
}
|
|
2322
2071
|
}
|
|
2323
2072
|
]
|
|
@@ -2344,9 +2093,7 @@ var init_action_docs = __esm(() => {
|
|
|
2344
2093
|
schema: {
|
|
2345
2094
|
type: "string"
|
|
2346
2095
|
},
|
|
2347
|
-
examples: [
|
|
2348
|
-
"00000000-0000-0000-0000-000000000000"
|
|
2349
|
-
]
|
|
2096
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
2350
2097
|
}
|
|
2351
2098
|
],
|
|
2352
2099
|
examples: [
|
|
@@ -2361,9 +2108,7 @@ var init_action_docs = __esm(() => {
|
|
|
2361
2108
|
name: "{{name2}}",
|
|
2362
2109
|
content: {
|
|
2363
2110
|
text: "I've unmuted this room and will respond again",
|
|
2364
|
-
actions: [
|
|
2365
|
-
"UNMUTE_ROOM"
|
|
2366
|
-
]
|
|
2111
|
+
actions: ["UNMUTE_ROOM"]
|
|
2367
2112
|
}
|
|
2368
2113
|
}
|
|
2369
2114
|
]
|
|
@@ -2391,9 +2136,7 @@ var init_action_docs = __esm(() => {
|
|
|
2391
2136
|
schema: {
|
|
2392
2137
|
type: "string"
|
|
2393
2138
|
},
|
|
2394
|
-
examples: [
|
|
2395
|
-
'[{"key":"model","value":"gpt-5"}]'
|
|
2396
|
-
]
|
|
2139
|
+
examples: ['[{"key":"model","value":"gpt-5"}]']
|
|
2397
2140
|
}
|
|
2398
2141
|
],
|
|
2399
2142
|
examples: [
|
|
@@ -2408,9 +2151,7 @@ var init_action_docs = __esm(() => {
|
|
|
2408
2151
|
name: "{{name2}}",
|
|
2409
2152
|
content: {
|
|
2410
2153
|
text: "I've updated your language setting to French.",
|
|
2411
|
-
actions: [
|
|
2412
|
-
"UPDATE_SETTINGS"
|
|
2413
|
-
]
|
|
2154
|
+
actions: ["UPDATE_SETTINGS"]
|
|
2414
2155
|
}
|
|
2415
2156
|
}
|
|
2416
2157
|
]
|
|
@@ -2436,9 +2177,7 @@ var init_action_docs = __esm(() => {
|
|
|
2436
2177
|
schema: {
|
|
2437
2178
|
type: "string"
|
|
2438
2179
|
},
|
|
2439
|
-
examples: [
|
|
2440
|
-
"00000000-0000-0000-0000-000000000000"
|
|
2441
|
-
]
|
|
2180
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
2442
2181
|
},
|
|
2443
2182
|
{
|
|
2444
2183
|
name: "role",
|
|
@@ -2447,10 +2186,7 @@ var init_action_docs = __esm(() => {
|
|
|
2447
2186
|
schema: {
|
|
2448
2187
|
type: "string"
|
|
2449
2188
|
},
|
|
2450
|
-
examples: [
|
|
2451
|
-
"admin",
|
|
2452
|
-
"member"
|
|
2453
|
-
]
|
|
2189
|
+
examples: ["admin", "member"]
|
|
2454
2190
|
}
|
|
2455
2191
|
],
|
|
2456
2192
|
examples: [
|
|
@@ -2465,9 +2201,7 @@ var init_action_docs = __esm(() => {
|
|
|
2465
2201
|
name: "{{name2}}",
|
|
2466
2202
|
content: {
|
|
2467
2203
|
text: "I've assigned the admin role to Sarah.",
|
|
2468
|
-
actions: [
|
|
2469
|
-
"UPDATE_ROLE"
|
|
2470
|
-
]
|
|
2204
|
+
actions: ["UPDATE_ROLE"]
|
|
2471
2205
|
}
|
|
2472
2206
|
}
|
|
2473
2207
|
]
|
|
@@ -2491,9 +2225,7 @@ var init_action_docs = __esm(() => {
|
|
|
2491
2225
|
schema: {
|
|
2492
2226
|
type: "string"
|
|
2493
2227
|
},
|
|
2494
|
-
examples: [
|
|
2495
|
-
"00000000-0000-0000-0000-000000000000"
|
|
2496
|
-
]
|
|
2228
|
+
examples: ["00000000-0000-0000-0000-000000000000"]
|
|
2497
2229
|
},
|
|
2498
2230
|
{
|
|
2499
2231
|
name: "updates",
|
|
@@ -2502,9 +2234,7 @@ var init_action_docs = __esm(() => {
|
|
|
2502
2234
|
schema: {
|
|
2503
2235
|
type: "string"
|
|
2504
2236
|
},
|
|
2505
|
-
examples: [
|
|
2506
|
-
'[{"name":"bio","value":"Loves Rust"}]'
|
|
2507
|
-
]
|
|
2237
|
+
examples: ['[{"name":"bio","value":"Loves Rust"}]']
|
|
2508
2238
|
}
|
|
2509
2239
|
],
|
|
2510
2240
|
examples: [
|
|
@@ -2519,9 +2249,7 @@ var init_action_docs = __esm(() => {
|
|
|
2519
2249
|
name: "{{name2}}",
|
|
2520
2250
|
content: {
|
|
2521
2251
|
text: "I've updated your profile bio.",
|
|
2522
|
-
actions: [
|
|
2523
|
-
"UPDATE_ENTITY"
|
|
2524
|
-
]
|
|
2252
|
+
actions: ["UPDATE_ENTITY"]
|
|
2525
2253
|
}
|
|
2526
2254
|
}
|
|
2527
2255
|
]
|
|
@@ -2547,9 +2275,7 @@ var init_action_docs = __esm(() => {
|
|
|
2547
2275
|
schema: {
|
|
2548
2276
|
type: "string"
|
|
2549
2277
|
},
|
|
2550
|
-
examples: [
|
|
2551
|
-
"A futuristic cityscape at sunset, cinematic lighting"
|
|
2552
|
-
]
|
|
2278
|
+
examples: ["A futuristic cityscape at sunset, cinematic lighting"]
|
|
2553
2279
|
}
|
|
2554
2280
|
],
|
|
2555
2281
|
examples: [
|
|
@@ -2564,9 +2290,7 @@ var init_action_docs = __esm(() => {
|
|
|
2564
2290
|
name: "{{name2}}",
|
|
2565
2291
|
content: {
|
|
2566
2292
|
text: "Sure, I'll create a futuristic city image for you. One moment...",
|
|
2567
|
-
actions: [
|
|
2568
|
-
"GENERATE_IMAGE"
|
|
2569
|
-
]
|
|
2293
|
+
actions: ["GENERATE_IMAGE"]
|
|
2570
2294
|
}
|
|
2571
2295
|
}
|
|
2572
2296
|
],
|
|
@@ -2581,9 +2305,7 @@ var init_action_docs = __esm(() => {
|
|
|
2581
2305
|
name: "{{name2}}",
|
|
2582
2306
|
content: {
|
|
2583
2307
|
text: "I'll create a visualization of a neural network for you, one sec...",
|
|
2584
|
-
actions: [
|
|
2585
|
-
"GENERATE_IMAGE"
|
|
2586
|
-
]
|
|
2308
|
+
actions: ["GENERATE_IMAGE"]
|
|
2587
2309
|
}
|
|
2588
2310
|
}
|
|
2589
2311
|
],
|
|
@@ -2598,9 +2320,7 @@ var init_action_docs = __esm(() => {
|
|
|
2598
2320
|
name: "{{name2}}",
|
|
2599
2321
|
content: {
|
|
2600
2322
|
text: "Creating an image to capture calmness for you, please wait a moment...",
|
|
2601
|
-
actions: [
|
|
2602
|
-
"GENERATE_IMAGE"
|
|
2603
|
-
]
|
|
2323
|
+
actions: ["GENERATE_IMAGE"]
|
|
2604
2324
|
}
|
|
2605
2325
|
}
|
|
2606
2326
|
]
|
|
@@ -3094,11 +2814,7 @@ Message Sender: Lisa (user-789)`,
|
|
|
3094
2814
|
{
|
|
3095
2815
|
name: "LONG_TERM_MEMORY_EXTRACTION",
|
|
3096
2816
|
description: "Extracts long-term facts about users from conversations. Identifies and stores persistent information like preferences, interests, and personal details.",
|
|
3097
|
-
similes: [
|
|
3098
|
-
"MEMORY_EXTRACTION",
|
|
3099
|
-
"FACT_LEARNING",
|
|
3100
|
-
"USER_PROFILING"
|
|
3101
|
-
],
|
|
2817
|
+
similes: ["MEMORY_EXTRACTION", "FACT_LEARNING", "USER_PROFILING"],
|
|
3102
2818
|
alwaysRun: true,
|
|
3103
2819
|
examples: []
|
|
3104
2820
|
}
|
|
@@ -3330,11 +3046,7 @@ Message Sender: Lisa (user-789)`,
|
|
|
3330
3046
|
{
|
|
3331
3047
|
name: "LONG_TERM_MEMORY_EXTRACTION",
|
|
3332
3048
|
description: "Extracts long-term facts about users from conversations. Identifies and stores persistent information like preferences, interests, and personal details.",
|
|
3333
|
-
similes: [
|
|
3334
|
-
"MEMORY_EXTRACTION",
|
|
3335
|
-
"FACT_LEARNING",
|
|
3336
|
-
"USER_PROFILING"
|
|
3337
|
-
],
|
|
3049
|
+
similes: ["MEMORY_EXTRACTION", "FACT_LEARNING", "USER_PROFILING"],
|
|
3338
3050
|
alwaysRun: true,
|
|
3339
3051
|
examples: []
|
|
3340
3052
|
}
|
|
@@ -3422,7 +3134,7 @@ var init_dist = __esm(() => {
|
|
|
3422
3134
|
init_v4();
|
|
3423
3135
|
});
|
|
3424
3136
|
|
|
3425
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3137
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/_virtual/_rolldown/runtime.js
|
|
3426
3138
|
var __defProp2, __exportAll = (all, no_symbols) => {
|
|
3427
3139
|
let target = {};
|
|
3428
3140
|
for (var name in all)
|
|
@@ -3438,7 +3150,7 @@ var init_runtime = __esm(() => {
|
|
|
3438
3150
|
__defProp2 = Object.defineProperty;
|
|
3439
3151
|
});
|
|
3440
3152
|
|
|
3441
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3153
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/documents/document.js
|
|
3442
3154
|
var Document = class {
|
|
3443
3155
|
pageContent;
|
|
3444
3156
|
metadata;
|
|
@@ -3451,7 +3163,7 @@ var Document = class {
|
|
|
3451
3163
|
};
|
|
3452
3164
|
var init_document = () => {};
|
|
3453
3165
|
|
|
3454
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3166
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tools/utils.js
|
|
3455
3167
|
function _isToolCall(toolCall) {
|
|
3456
3168
|
return !!(toolCall && typeof toolCall === "object" && ("type" in toolCall) && toolCall.type === "tool_call");
|
|
3457
3169
|
}
|
|
@@ -3562,7 +3274,7 @@ var require_camelcase = __commonJS((exports, module) => {
|
|
|
3562
3274
|
module.exports.default = camelCase;
|
|
3563
3275
|
});
|
|
3564
3276
|
|
|
3565
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3277
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/load/map_keys.js
|
|
3566
3278
|
function keyToJson(key, map) {
|
|
3567
3279
|
return map?.[key] || import_decamelize.default(key);
|
|
3568
3280
|
}
|
|
@@ -3579,7 +3291,7 @@ var init_map_keys = __esm(() => {
|
|
|
3579
3291
|
import_camelcase = __toESM(require_camelcase(), 1);
|
|
3580
3292
|
});
|
|
3581
3293
|
|
|
3582
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3294
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/load/validation.js
|
|
3583
3295
|
function needsEscaping(obj) {
|
|
3584
3296
|
return "lc" in obj || Object.keys(obj).length === 1 && "__lc_escaped__" in obj;
|
|
3585
3297
|
}
|
|
@@ -3629,7 +3341,7 @@ function escapeIfNeeded(value, pathSet = /* @__PURE__ */ new WeakSet) {
|
|
|
3629
3341
|
var LC_ESCAPED_KEY = "__lc_escaped__";
|
|
3630
3342
|
var init_validation = () => {};
|
|
3631
3343
|
|
|
3632
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3344
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/load/serializable.js
|
|
3633
3345
|
function shallowCopy(obj) {
|
|
3634
3346
|
return Array.isArray(obj) ? [...obj] : { ...obj };
|
|
3635
3347
|
}
|
|
@@ -3741,7 +3453,7 @@ var init_serializable = __esm(() => {
|
|
|
3741
3453
|
init_validation();
|
|
3742
3454
|
});
|
|
3743
3455
|
|
|
3744
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3456
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/async_local_storage/globals.js
|
|
3745
3457
|
var TRACING_ALS_KEY, _CONTEXT_VARIABLES_KEY, setGlobalAsyncLocalStorageInstance = (instance) => {
|
|
3746
3458
|
globalThis[TRACING_ALS_KEY] = instance;
|
|
3747
3459
|
}, getGlobalAsyncLocalStorageInstance = () => {
|
|
@@ -3752,7 +3464,7 @@ var init_globals = __esm(() => {
|
|
|
3752
3464
|
_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
|
|
3753
3465
|
});
|
|
3754
3466
|
|
|
3755
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3467
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/namespace.js
|
|
3756
3468
|
function createNamespace(path) {
|
|
3757
3469
|
const symbol = Symbol.for(path);
|
|
3758
3470
|
return {
|
|
@@ -3784,7 +3496,7 @@ var init_namespace = __esm(() => {
|
|
|
3784
3496
|
ns = createNamespace("langchain");
|
|
3785
3497
|
});
|
|
3786
3498
|
|
|
3787
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3499
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/errors/index.js
|
|
3788
3500
|
var ns2, LangChainError, ModelAbortError, ContextOverflowError;
|
|
3789
3501
|
var init_errors = __esm(() => {
|
|
3790
3502
|
init_runtime();
|
|
@@ -3820,7 +3532,7 @@ var init_errors = __esm(() => {
|
|
|
3820
3532
|
};
|
|
3821
3533
|
});
|
|
3822
3534
|
|
|
3823
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3535
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/json.js
|
|
3824
3536
|
function strictParsePartialJson(s) {
|
|
3825
3537
|
try {
|
|
3826
3538
|
return JSON.parse(s);
|
|
@@ -4048,7 +3760,7 @@ function parsePartialJson(s) {
|
|
|
4048
3760
|
}
|
|
4049
3761
|
var init_json = () => {};
|
|
4050
3762
|
|
|
4051
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3763
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/content/data.js
|
|
4052
3764
|
function isDataContentBlock(content_block) {
|
|
4053
3765
|
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");
|
|
4054
3766
|
}
|
|
@@ -4075,7 +3787,7 @@ function parseBase64DataUrl({ dataUrl: data_url, asTypedArray = false }) {
|
|
|
4075
3787
|
}
|
|
4076
3788
|
var init_data = () => {};
|
|
4077
3789
|
|
|
4078
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3790
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/utils.js
|
|
4079
3791
|
function _isContentBlock(block, type) {
|
|
4080
3792
|
return _isObject(block) && block.type === type;
|
|
4081
3793
|
}
|
|
@@ -4104,7 +3816,7 @@ function safeParseJson(value) {
|
|
|
4104
3816
|
var iife = (fn) => fn();
|
|
4105
3817
|
var init_utils2 = () => {};
|
|
4106
3818
|
|
|
4107
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
3819
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/anthropic.js
|
|
4108
3820
|
function convertAnthropicAnnotation(citation) {
|
|
4109
3821
|
if (citation.type === "char_location" && _isString(citation.document_title) && _isNumber(citation.start_char_index) && _isNumber(citation.end_char_index) && _isString(citation.cited_text)) {
|
|
4110
3822
|
const { document_title, start_char_index, end_char_index, cited_text, ...rest } = citation;
|
|
@@ -4419,7 +4131,7 @@ var init_anthropic = __esm(() => {
|
|
|
4419
4131
|
};
|
|
4420
4132
|
});
|
|
4421
4133
|
|
|
4422
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4134
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/data.js
|
|
4423
4135
|
function convertToV1FromDataContentBlock(block) {
|
|
4424
4136
|
if (isURLContentBlock(block))
|
|
4425
4137
|
return {
|
|
@@ -4497,7 +4209,7 @@ var init_data2 = __esm(() => {
|
|
|
4497
4209
|
init_utils2();
|
|
4498
4210
|
});
|
|
4499
4211
|
|
|
4500
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4212
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/openai.js
|
|
4501
4213
|
function convertToV1FromChatCompletions(message) {
|
|
4502
4214
|
const blocks = [];
|
|
4503
4215
|
if (typeof message.content === "string") {
|
|
@@ -4798,13 +4510,13 @@ var init_openai = __esm(() => {
|
|
|
4798
4510
|
};
|
|
4799
4511
|
});
|
|
4800
4512
|
|
|
4801
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4513
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/message.js
|
|
4802
4514
|
function isMessage(message) {
|
|
4803
4515
|
return typeof message === "object" && message !== null && "type" in message && "content" in message && (typeof message.content === "string" || Array.isArray(message.content));
|
|
4804
4516
|
}
|
|
4805
4517
|
var init_message = () => {};
|
|
4806
4518
|
|
|
4807
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4519
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/format.js
|
|
4808
4520
|
function convertToFormattedString(message, format = "pretty") {
|
|
4809
4521
|
if (format === "pretty")
|
|
4810
4522
|
return convertToPrettyString(message);
|
|
@@ -4845,7 +4557,7 @@ function convertToPrettyString(message) {
|
|
|
4845
4557
|
}
|
|
4846
4558
|
var init_format = () => {};
|
|
4847
4559
|
|
|
4848
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4560
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/base.js
|
|
4849
4561
|
function mergeContent(firstContent, secondContent) {
|
|
4850
4562
|
if (typeof firstContent === "string") {
|
|
4851
4563
|
if (firstContent === "")
|
|
@@ -5118,7 +4830,7 @@ var init_base = __esm(() => {
|
|
|
5118
4830
|
};
|
|
5119
4831
|
});
|
|
5120
4832
|
|
|
5121
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4833
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/tool.js
|
|
5122
4834
|
function defaultToolCallParser(rawToolCalls) {
|
|
5123
4835
|
const toolCalls = [];
|
|
5124
4836
|
const invalidToolCalls = [];
|
|
@@ -5150,7 +4862,7 @@ var init_tool = __esm(() => {
|
|
|
5150
4862
|
init_base();
|
|
5151
4863
|
});
|
|
5152
4864
|
|
|
5153
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
4865
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/bedrock_converse.js
|
|
5154
4866
|
function convertFileFormatToMimeType(format) {
|
|
5155
4867
|
switch (format) {
|
|
5156
4868
|
case "csv":
|
|
@@ -5391,7 +5103,7 @@ var init_bedrock_converse = __esm(() => {
|
|
|
5391
5103
|
};
|
|
5392
5104
|
});
|
|
5393
5105
|
|
|
5394
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5106
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/deepseek.js
|
|
5395
5107
|
function convertToV1FromDeepSeekMessage(message) {
|
|
5396
5108
|
const blocks = [];
|
|
5397
5109
|
const reasoningContent = message.additional_kwargs?.reasoning_content;
|
|
@@ -5431,7 +5143,7 @@ var init_deepseek = __esm(() => {
|
|
|
5431
5143
|
};
|
|
5432
5144
|
});
|
|
5433
5145
|
|
|
5434
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5146
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/google_genai.js
|
|
5435
5147
|
function convertToV1FromChatGoogleMessage(message) {
|
|
5436
5148
|
function* iterateContent() {
|
|
5437
5149
|
const content = typeof message.content === "string" ? [{
|
|
@@ -5510,7 +5222,7 @@ var init_google_genai = __esm(() => {
|
|
|
5510
5222
|
};
|
|
5511
5223
|
});
|
|
5512
5224
|
|
|
5513
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5225
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/google_vertexai.js
|
|
5514
5226
|
function convertToV1FromChatVertexMessage(message) {
|
|
5515
5227
|
function* iterateContent() {
|
|
5516
5228
|
const content = typeof message.content === "string" ? [{
|
|
@@ -5595,7 +5307,7 @@ var init_google_vertexai = __esm(() => {
|
|
|
5595
5307
|
};
|
|
5596
5308
|
});
|
|
5597
5309
|
|
|
5598
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5310
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/groq.js
|
|
5599
5311
|
function convertToV1FromGroqMessage(message) {
|
|
5600
5312
|
const blocks = [];
|
|
5601
5313
|
const parsedReasoning = message.additional_kwargs?.reasoning;
|
|
@@ -5659,7 +5371,7 @@ var init_groq = __esm(() => {
|
|
|
5659
5371
|
};
|
|
5660
5372
|
});
|
|
5661
5373
|
|
|
5662
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5374
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/ollama.js
|
|
5663
5375
|
function convertToV1FromOllamaMessage(message) {
|
|
5664
5376
|
const blocks = [];
|
|
5665
5377
|
const reasoningContent = message.additional_kwargs?.reasoning_content;
|
|
@@ -5699,7 +5411,7 @@ var init_ollama = __esm(() => {
|
|
|
5699
5411
|
};
|
|
5700
5412
|
});
|
|
5701
5413
|
|
|
5702
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5414
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/xai.js
|
|
5703
5415
|
function convertToV1FromXAIMessage(message) {
|
|
5704
5416
|
const blocks = [];
|
|
5705
5417
|
if (_isObject(message.additional_kwargs?.reasoning)) {
|
|
@@ -5754,7 +5466,7 @@ var init_xai = __esm(() => {
|
|
|
5754
5466
|
};
|
|
5755
5467
|
});
|
|
5756
5468
|
|
|
5757
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5469
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/google.js
|
|
5758
5470
|
function convertToV1FromChatGoogleMessage2(message) {
|
|
5759
5471
|
function* iterateContent() {
|
|
5760
5472
|
const content = iife(() => {
|
|
@@ -5865,7 +5577,7 @@ var init_google = __esm(() => {
|
|
|
5865
5577
|
};
|
|
5866
5578
|
});
|
|
5867
5579
|
|
|
5868
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5580
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/block_translators/index.js
|
|
5869
5581
|
function getTranslator(modelProvider) {
|
|
5870
5582
|
return globalThis.lc_block_translators_registry.get(modelProvider);
|
|
5871
5583
|
}
|
|
@@ -5894,7 +5606,7 @@ var init_block_translators = __esm(() => {
|
|
|
5894
5606
|
]);
|
|
5895
5607
|
});
|
|
5896
5608
|
|
|
5897
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5609
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/metadata.js
|
|
5898
5610
|
function mergeResponseMetadata(a2, b) {
|
|
5899
5611
|
return _mergeDicts(a2, b) ?? {};
|
|
5900
5612
|
}
|
|
@@ -5939,7 +5651,7 @@ var init_metadata = __esm(() => {
|
|
|
5939
5651
|
init_base();
|
|
5940
5652
|
});
|
|
5941
5653
|
|
|
5942
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5654
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/ai.js
|
|
5943
5655
|
var AIMessage, AIMessageChunk;
|
|
5944
5656
|
var init_ai = __esm(() => {
|
|
5945
5657
|
init_base();
|
|
@@ -6174,32 +5886,32 @@ Please upgrade your packages to versions that set`,
|
|
|
6174
5886
|
};
|
|
6175
5887
|
});
|
|
6176
5888
|
|
|
6177
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
5889
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/messages/chat.js
|
|
6178
5890
|
var init_chat = __esm(() => {
|
|
6179
5891
|
init_base();
|
|
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/function.js
|
|
6183
5895
|
var init_function = __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/human.js
|
|
6188
5900
|
var init_human = __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/modifier.js
|
|
6193
5905
|
var init_modifier = __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/system.js
|
|
6198
5910
|
var init_system = __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/utils.js
|
|
6203
5915
|
function _contentBlockToString(block) {
|
|
6204
5916
|
if (typeof block === "string")
|
|
6205
5917
|
return block;
|
|
@@ -6327,7 +6039,7 @@ var init_utils3 = __esm(() => {
|
|
|
6327
6039
|
init_system();
|
|
6328
6040
|
});
|
|
6329
6041
|
|
|
6330
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
6042
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/env.js
|
|
6331
6043
|
function getRuntimeEnvironment() {
|
|
6332
6044
|
if (runtimeEnvironment === undefined)
|
|
6333
6045
|
runtimeEnvironment = {
|
|
@@ -6524,7 +6236,7 @@ var init_esm_browser = __esm(() => {
|
|
|
6524
6236
|
init_validate();
|
|
6525
6237
|
});
|
|
6526
6238
|
|
|
6527
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
6239
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/callbacks/base.js
|
|
6528
6240
|
var BaseCallbackHandlerMethodsClass = class {
|
|
6529
6241
|
}, BaseCallbackHandler, isBaseCallbackHandler = (x) => {
|
|
6530
6242
|
const callbackHandler = x;
|
|
@@ -6918,11 +6630,11 @@ var init_esm_browser2 = __esm(() => {
|
|
|
6918
6630
|
init_v72();
|
|
6919
6631
|
});
|
|
6920
6632
|
|
|
6921
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
6633
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/experimental/otel/constants.js
|
|
6922
6634
|
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";
|
|
6923
6635
|
var init_constants = () => {};
|
|
6924
6636
|
|
|
6925
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
6637
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/fetch.js
|
|
6926
6638
|
var DEFAULT_FETCH_IMPLEMENTATION = (...args) => fetch(...args), globalFetchSupportsWebStreaming = undefined, LANGSMITH_FETCH_IMPLEMENTATION_KEY, _shouldStreamForGlobalFetchImplementation = () => {
|
|
6927
6639
|
const overriddenFetchImpl = globalThis[LANGSMITH_FETCH_IMPLEMENTATION_KEY];
|
|
6928
6640
|
if (overriddenFetchImpl === undefined) {
|
|
@@ -6947,7 +6659,7 @@ var init_fetch = __esm(() => {
|
|
|
6947
6659
|
LANGSMITH_FETCH_IMPLEMENTATION_KEY = Symbol.for("ls:fetch_implementation");
|
|
6948
6660
|
});
|
|
6949
6661
|
|
|
6950
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
6662
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/project.js
|
|
6951
6663
|
var getDefaultProjectName = () => {
|
|
6952
6664
|
return getLangSmithEnvironmentVariable("PROJECT") ?? getEnvironmentVariable2("LANGCHAIN_SESSION") ?? "default";
|
|
6953
6665
|
};
|
|
@@ -6955,7 +6667,7 @@ var init_project = __esm(() => {
|
|
|
6955
6667
|
init_env2();
|
|
6956
6668
|
});
|
|
6957
6669
|
|
|
6958
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
6670
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/warn.js
|
|
6959
6671
|
function warnOnce(message) {
|
|
6960
6672
|
if (!warnedMessages[message]) {
|
|
6961
6673
|
console.warn(message);
|
|
@@ -6967,7 +6679,7 @@ var init_warn = __esm(() => {
|
|
|
6967
6679
|
warnedMessages = {};
|
|
6968
6680
|
});
|
|
6969
6681
|
|
|
6970
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
6682
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/xxhash/xxhash.js
|
|
6971
6683
|
function hexToBytes(hex) {
|
|
6972
6684
|
const bytes = new Uint8Array(hex.length / 2);
|
|
6973
6685
|
for (let i3 = 0;i3 < hex.length; i3 += 2) {
|
|
@@ -7242,7 +6954,7 @@ var init_xxhash = __esm(() => {
|
|
|
7242
6954
|
ACC_NB = STRIPE_LEN / 8;
|
|
7243
6955
|
});
|
|
7244
6956
|
|
|
7245
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
6957
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/_uuid.js
|
|
7246
6958
|
function assertUuid(str, which) {
|
|
7247
6959
|
if (!UUID_REGEX.test(str)) {
|
|
7248
6960
|
const msg = which !== undefined ? `Invalid UUID for ${which}: ${str}` : `Invalid UUID: ${str}`;
|
|
@@ -7310,12 +7022,12 @@ var init__uuid = __esm(() => {
|
|
|
7310
7022
|
_textEncoder = new TextEncoder;
|
|
7311
7023
|
});
|
|
7312
7024
|
|
|
7313
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7025
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/uuid.js
|
|
7314
7026
|
var init_uuid = __esm(() => {
|
|
7315
7027
|
init__uuid();
|
|
7316
7028
|
});
|
|
7317
7029
|
|
|
7318
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7030
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/fs.browser.js
|
|
7319
7031
|
async function mkdir(_dir) {}
|
|
7320
7032
|
async function writeFileAtomic(_filePath, _content) {}
|
|
7321
7033
|
async function readdir(_dir) {
|
|
@@ -7342,7 +7054,7 @@ var init_fs_browser = __esm(() => {
|
|
|
7342
7054
|
};
|
|
7343
7055
|
});
|
|
7344
7056
|
|
|
7345
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7057
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/prompt_cache/index.js
|
|
7346
7058
|
function isStale(entry, ttlSeconds) {
|
|
7347
7059
|
if (ttlSeconds === null) {
|
|
7348
7060
|
return false;
|
|
@@ -7567,8 +7279,8 @@ var init_prompt_cache = __esm(() => {
|
|
|
7567
7279
|
promptCacheSingleton = new PromptCache;
|
|
7568
7280
|
});
|
|
7569
7281
|
|
|
7570
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7571
|
-
var __version__ = "0.5.
|
|
7282
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/index.js
|
|
7283
|
+
var __version__ = "0.5.11";
|
|
7572
7284
|
var init_dist2 = __esm(() => {
|
|
7573
7285
|
init_client();
|
|
7574
7286
|
init_run_trees();
|
|
@@ -7578,7 +7290,7 @@ var init_dist2 = __esm(() => {
|
|
|
7578
7290
|
init_prompt_cache();
|
|
7579
7291
|
});
|
|
7580
7292
|
|
|
7581
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7293
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/env.js
|
|
7582
7294
|
function getRuntimeEnvironment2() {
|
|
7583
7295
|
if (runtimeEnvironment2 === undefined) {
|
|
7584
7296
|
const env = getEnv2();
|
|
@@ -7709,7 +7421,7 @@ var init_env2 = __esm(() => {
|
|
|
7709
7421
|
init_dist2();
|
|
7710
7422
|
});
|
|
7711
7423
|
|
|
7712
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7424
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/otel.js
|
|
7713
7425
|
class MockTracer {
|
|
7714
7426
|
constructor() {
|
|
7715
7427
|
Object.defineProperty(this, "hasWarned", {
|
|
@@ -7822,7 +7534,7 @@ var init_otel = __esm(() => {
|
|
|
7822
7534
|
OTELProviderSingleton = new OTELProvider;
|
|
7823
7535
|
});
|
|
7824
7536
|
|
|
7825
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7537
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/experimental/otel/translator.js
|
|
7826
7538
|
function getOperationName(runType) {
|
|
7827
7539
|
return WELL_KNOWN_OPERATION_NAMES[runType] || runType;
|
|
7828
7540
|
}
|
|
@@ -8167,7 +7879,7 @@ var init_translator = __esm(() => {
|
|
|
8167
7879
|
};
|
|
8168
7880
|
});
|
|
8169
7881
|
|
|
8170
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7882
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/is-network-error/index.js
|
|
8171
7883
|
function isNetworkError(error) {
|
|
8172
7884
|
const isValid = error && isError(error) && error.name === "TypeError" && typeof error.message === "string";
|
|
8173
7885
|
if (!isValid) {
|
|
@@ -8198,7 +7910,7 @@ var init_is_network_error = __esm(() => {
|
|
|
8198
7910
|
]);
|
|
8199
7911
|
});
|
|
8200
7912
|
|
|
8201
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
7913
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/p-retry/index.js
|
|
8202
7914
|
function validateRetries(retries) {
|
|
8203
7915
|
if (typeof retries === "number") {
|
|
8204
7916
|
if (retries < 0) {
|
|
@@ -8886,14 +8598,14 @@ var require_dist = __commonJS((exports) => {
|
|
|
8886
8598
|
exports.default = PQueue;
|
|
8887
8599
|
});
|
|
8888
8600
|
|
|
8889
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
8601
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/p-queue.js
|
|
8890
8602
|
var import_p_queue, PQueue;
|
|
8891
8603
|
var init_p_queue = __esm(() => {
|
|
8892
8604
|
import_p_queue = __toESM(require_dist(), 1);
|
|
8893
8605
|
PQueue = "default" in import_p_queue.default ? import_p_queue.default.default : import_p_queue.default;
|
|
8894
8606
|
});
|
|
8895
8607
|
|
|
8896
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
8608
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/async_caller.js
|
|
8897
8609
|
class AsyncCaller {
|
|
8898
8610
|
constructor(params) {
|
|
8899
8611
|
Object.defineProperty(this, "maxConcurrency", {
|
|
@@ -9017,7 +8729,7 @@ var init_async_caller = __esm(() => {
|
|
|
9017
8729
|
];
|
|
9018
8730
|
});
|
|
9019
8731
|
|
|
9020
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
8732
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/messages.js
|
|
9021
8733
|
function isLangChainMessage(message) {
|
|
9022
8734
|
return typeof message?._getType === "function";
|
|
9023
8735
|
}
|
|
@@ -10815,7 +10527,7 @@ var require_semver2 = __commonJS((exports, module) => {
|
|
|
10815
10527
|
};
|
|
10816
10528
|
});
|
|
10817
10529
|
|
|
10818
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
10530
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/error.js
|
|
10819
10531
|
function getInvalidPromptIdentifierMsg(identifier) {
|
|
10820
10532
|
return `Invalid prompt identifier format: "${identifier}". ` + `Expected one of:
|
|
10821
10533
|
` + ` - "prompt-name" (for private prompts)
|
|
@@ -10910,7 +10622,7 @@ var init_error = __esm(() => {
|
|
|
10910
10622
|
};
|
|
10911
10623
|
});
|
|
10912
10624
|
|
|
10913
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
10625
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/prompts.js
|
|
10914
10626
|
function parsePromptIdentifier(identifier) {
|
|
10915
10627
|
if (!identifier || identifier.split("/").length > 2 || identifier.startsWith("/") || identifier.endsWith("/") || identifier.split(":").length > 2) {
|
|
10916
10628
|
throw new Error(getInvalidPromptIdentifierMsg(identifier));
|
|
@@ -10936,7 +10648,7 @@ var init_prompts = __esm(() => {
|
|
|
10936
10648
|
import_semver = __toESM(require_semver2(), 1);
|
|
10937
10649
|
});
|
|
10938
10650
|
|
|
10939
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
10651
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js
|
|
10940
10652
|
function defaultOptions() {
|
|
10941
10653
|
return {
|
|
10942
10654
|
depthLimit: Number.MAX_SAFE_INTEGER,
|
|
@@ -11091,7 +10803,7 @@ var init_fast_safe_stringify = __esm(() => {
|
|
|
11091
10803
|
encoder = new TextEncoder;
|
|
11092
10804
|
});
|
|
11093
10805
|
|
|
11094
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
10806
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/client.js
|
|
11095
10807
|
function _ensureUTCTimestamp(ts) {
|
|
11096
10808
|
if (typeof ts === "string" && ts.length > 0 && !ts.includes("Z") && !ts.includes("+") && !ts.includes("-", 10)) {
|
|
11097
10809
|
return ts + "Z";
|
|
@@ -14804,7 +14516,7 @@ var init_client = __esm(() => {
|
|
|
14804
14516
|
});
|
|
14805
14517
|
});
|
|
14806
14518
|
|
|
14807
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
14519
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/env.js
|
|
14808
14520
|
var isTracingEnabled = (tracingEnabled) => {
|
|
14809
14521
|
if (tracingEnabled !== undefined) {
|
|
14810
14522
|
return tracingEnabled;
|
|
@@ -14816,7 +14528,7 @@ var init_env3 = __esm(() => {
|
|
|
14816
14528
|
init_env2();
|
|
14817
14529
|
});
|
|
14818
14530
|
|
|
14819
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
14531
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/constants.js
|
|
14820
14532
|
var _LC_CONTEXT_VARIABLES_KEY, _LC_CHILD_RUN_END_PROMISES_KEY, _REPLICA_TRACE_ROOTS_KEY;
|
|
14821
14533
|
var init_constants2 = __esm(() => {
|
|
14822
14534
|
_LC_CONTEXT_VARIABLES_KEY = Symbol.for("lc:context_variables");
|
|
@@ -14824,7 +14536,7 @@ var init_constants2 = __esm(() => {
|
|
|
14824
14536
|
_REPLICA_TRACE_ROOTS_KEY = Symbol.for("langsmith:replica_trace_roots");
|
|
14825
14537
|
});
|
|
14826
14538
|
|
|
14827
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
14539
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/utils/context_vars.js
|
|
14828
14540
|
function getContextVar(runTree, key) {
|
|
14829
14541
|
if (_LC_CONTEXT_VARIABLES_KEY in runTree) {
|
|
14830
14542
|
const contextVars = runTree[_LC_CONTEXT_VARIABLES_KEY];
|
|
@@ -14841,7 +14553,7 @@ var init_context_vars = __esm(() => {
|
|
|
14841
14553
|
init_constants2();
|
|
14842
14554
|
});
|
|
14843
14555
|
|
|
14844
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
14556
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/run_trees.js
|
|
14845
14557
|
function getReplicaKey(replica) {
|
|
14846
14558
|
const sortedKeys = Object.keys(replica).sort();
|
|
14847
14559
|
const keyData = sortedKeys.map((key) => `${key}:${replica[key] ?? ""}`).join("|");
|
|
@@ -15749,12 +15461,12 @@ var init_run_trees = __esm(() => {
|
|
|
15749
15461
|
});
|
|
15750
15462
|
});
|
|
15751
15463
|
|
|
15752
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
15464
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/run_trees.js
|
|
15753
15465
|
var init_run_trees2 = __esm(() => {
|
|
15754
15466
|
init_run_trees();
|
|
15755
15467
|
});
|
|
15756
15468
|
|
|
15757
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
15469
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/base.js
|
|
15758
15470
|
function convertRunToRunTree(run, parentRun) {
|
|
15759
15471
|
if (!run)
|
|
15760
15472
|
return;
|
|
@@ -16328,7 +16040,7 @@ var require_ansi_styles = __commonJS((exports, module) => {
|
|
|
16328
16040
|
});
|
|
16329
16041
|
});
|
|
16330
16042
|
|
|
16331
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16043
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/console.js
|
|
16332
16044
|
function wrap(style, text) {
|
|
16333
16045
|
return `${style.open}${text}${style.close}`;
|
|
16334
16046
|
}
|
|
@@ -16442,12 +16154,12 @@ var init_console = __esm(() => {
|
|
|
16442
16154
|
};
|
|
16443
16155
|
});
|
|
16444
16156
|
|
|
16445
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
16157
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/index.js
|
|
16446
16158
|
var init_langsmith = __esm(() => {
|
|
16447
16159
|
init_dist2();
|
|
16448
16160
|
});
|
|
16449
16161
|
|
|
16450
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16162
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/tracer.js
|
|
16451
16163
|
var client, getDefaultLangChainClientSingleton = () => {
|
|
16452
16164
|
if (client === undefined)
|
|
16453
16165
|
client = new Client(getEnvironmentVariable("LANGCHAIN_CALLBACKS_BACKGROUND") === "false" ? { blockOnRootRunFinalization: true } : {});
|
|
@@ -16458,7 +16170,7 @@ var init_tracer = __esm(() => {
|
|
|
16458
16170
|
init_langsmith();
|
|
16459
16171
|
});
|
|
16460
16172
|
|
|
16461
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
16173
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/dist/singletons/traceable.js
|
|
16462
16174
|
class MockAsyncLocalStorage {
|
|
16463
16175
|
getStore() {
|
|
16464
16176
|
return;
|
|
@@ -16498,12 +16210,12 @@ var init_traceable = __esm(() => {
|
|
|
16498
16210
|
ROOT = Symbol.for("langsmith:traceable:root");
|
|
16499
16211
|
});
|
|
16500
16212
|
|
|
16501
|
-
// ../../node_modules/.bun/langsmith@0.5.
|
|
16213
|
+
// ../../node_modules/.bun/langsmith@0.5.11+2a8c511d497c1c85/node_modules/langsmith/singletons/traceable.js
|
|
16502
16214
|
var init_traceable2 = __esm(() => {
|
|
16503
16215
|
init_traceable();
|
|
16504
16216
|
});
|
|
16505
16217
|
|
|
16506
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16218
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/tracer_langchain.js
|
|
16507
16219
|
function _getUsageMetadataFromGenerations(generations) {
|
|
16508
16220
|
let output = undefined;
|
|
16509
16221
|
for (const generationBatch of generations)
|
|
@@ -16618,7 +16330,7 @@ var init_tracer_langchain = __esm(() => {
|
|
|
16618
16330
|
};
|
|
16619
16331
|
});
|
|
16620
16332
|
|
|
16621
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16333
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/callbacks.js
|
|
16622
16334
|
function createQueue() {
|
|
16623
16335
|
return new ("default" in import_p_queue3.default ? import_p_queue3.default.default : import_p_queue3.default)({
|
|
16624
16336
|
autoStart: true,
|
|
@@ -16655,13 +16367,13 @@ var init_callbacks = __esm(() => {
|
|
|
16655
16367
|
import_p_queue3 = __toESM(require_dist(), 1);
|
|
16656
16368
|
});
|
|
16657
16369
|
|
|
16658
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16370
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/callbacks/promises.js
|
|
16659
16371
|
var init_promises = __esm(() => {
|
|
16660
16372
|
init_runtime();
|
|
16661
16373
|
init_callbacks();
|
|
16662
16374
|
});
|
|
16663
16375
|
|
|
16664
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16376
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/callbacks.js
|
|
16665
16377
|
var isTracingEnabled2 = (tracingEnabled) => {
|
|
16666
16378
|
if (tracingEnabled !== undefined)
|
|
16667
16379
|
return tracingEnabled;
|
|
@@ -16676,7 +16388,7 @@ var init_callbacks2 = __esm(() => {
|
|
|
16676
16388
|
init_env();
|
|
16677
16389
|
});
|
|
16678
16390
|
|
|
16679
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16391
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/async_local_storage/context.js
|
|
16680
16392
|
function getContextVariable(name) {
|
|
16681
16393
|
const asyncLocalStorageInstance = getGlobalAsyncLocalStorageInstance();
|
|
16682
16394
|
if (asyncLocalStorageInstance === undefined)
|
|
@@ -16690,7 +16402,7 @@ var init_context = __esm(() => {
|
|
|
16690
16402
|
LC_CONFIGURE_HOOKS_KEY = Symbol("lc:configure_hooks");
|
|
16691
16403
|
});
|
|
16692
16404
|
|
|
16693
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16405
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/callbacks/manager.js
|
|
16694
16406
|
function ensureHandler(handler) {
|
|
16695
16407
|
if ("name" in handler)
|
|
16696
16408
|
return handler;
|
|
@@ -17216,7 +16928,7 @@ var init_manager = __esm(() => {
|
|
|
17216
16928
|
};
|
|
17217
16929
|
});
|
|
17218
16930
|
|
|
17219
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16931
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/async_local_storage/index.js
|
|
17220
16932
|
var MockAsyncLocalStorage2 = class {
|
|
17221
16933
|
getStore() {}
|
|
17222
16934
|
run(_store, callback) {
|
|
@@ -17270,14 +16982,14 @@ var init_async_local_storage = __esm(() => {
|
|
|
17270
16982
|
AsyncLocalStorageProviderSingleton2 = new AsyncLocalStorageProvider2;
|
|
17271
16983
|
});
|
|
17272
16984
|
|
|
17273
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16985
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/singletons/index.js
|
|
17274
16986
|
var init_singletons = __esm(() => {
|
|
17275
16987
|
init_runtime();
|
|
17276
16988
|
init_globals();
|
|
17277
16989
|
init_async_local_storage();
|
|
17278
16990
|
});
|
|
17279
16991
|
|
|
17280
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
16992
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/config.js
|
|
17281
16993
|
async function getCallbackManagerForConfig(config) {
|
|
17282
16994
|
return CallbackManager._configureSync(config?.callbacks, undefined, config?.tags, undefined, config?.metadata);
|
|
17283
16995
|
}
|
|
@@ -17446,7 +17158,7 @@ var init_config = __esm(() => {
|
|
|
17446
17158
|
]);
|
|
17447
17159
|
});
|
|
17448
17160
|
|
|
17449
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17161
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/signal.js
|
|
17450
17162
|
async function raceWithSignal(promise, signal) {
|
|
17451
17163
|
if (signal === undefined)
|
|
17452
17164
|
return promise;
|
|
@@ -17474,7 +17186,7 @@ function getAbortSignalError(signal) {
|
|
|
17474
17186
|
}
|
|
17475
17187
|
var init_signal = () => {};
|
|
17476
17188
|
|
|
17477
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17189
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/stream.js
|
|
17478
17190
|
function atee(iter, length = 2) {
|
|
17479
17191
|
const buffers = Array.from({ length }, () => []);
|
|
17480
17192
|
return buffers.map(async function* makeIter(buffer) {
|
|
@@ -17664,7 +17376,7 @@ var init_stream = __esm(() => {
|
|
|
17664
17376
|
};
|
|
17665
17377
|
});
|
|
17666
17378
|
|
|
17667
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17379
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/src/helpers.js
|
|
17668
17380
|
function hasOwnProperty(obj, key) {
|
|
17669
17381
|
return _hasOwnProperty.call(obj, key);
|
|
17670
17382
|
}
|
|
@@ -17769,7 +17481,7 @@ var init_helpers = __esm(() => {
|
|
|
17769
17481
|
};
|
|
17770
17482
|
});
|
|
17771
17483
|
|
|
17772
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17484
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/src/core.js
|
|
17773
17485
|
function getValueByPointer(document2, pointer) {
|
|
17774
17486
|
if (pointer == "")
|
|
17775
17487
|
return document2;
|
|
@@ -18095,7 +17807,7 @@ var init_core = __esm(() => {
|
|
|
18095
17807
|
};
|
|
18096
17808
|
});
|
|
18097
17809
|
|
|
18098
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17810
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/src/duplex.js
|
|
18099
17811
|
var init_duplex = __esm(() => {
|
|
18100
17812
|
init_helpers();
|
|
18101
17813
|
init_core();
|
|
@@ -18106,7 +17818,7 @@ var init_duplex = __esm(() => {
|
|
|
18106
17818
|
*/
|
|
18107
17819
|
});
|
|
18108
17820
|
|
|
18109
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17821
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/fast-json-patch/index.js
|
|
18110
17822
|
var init_fast_json_patch = __esm(() => {
|
|
18111
17823
|
init_helpers();
|
|
18112
17824
|
init_core();
|
|
@@ -18114,7 +17826,7 @@ var init_fast_json_patch = __esm(() => {
|
|
|
18114
17826
|
({ ...core_exports });
|
|
18115
17827
|
});
|
|
18116
17828
|
|
|
18117
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
17829
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/log_stream.js
|
|
18118
17830
|
async function _getStandardizedInputs(run, schemaFormat) {
|
|
18119
17831
|
if (schemaFormat === "original")
|
|
18120
17832
|
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.");
|
|
@@ -18371,7 +18083,7 @@ var init_log_stream = __esm(() => {
|
|
|
18371
18083
|
};
|
|
18372
18084
|
});
|
|
18373
18085
|
|
|
18374
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18086
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/outputs.js
|
|
18375
18087
|
var GenerationChunk = class GenerationChunk2 {
|
|
18376
18088
|
text;
|
|
18377
18089
|
generationInfo;
|
|
@@ -18393,7 +18105,7 @@ var init_outputs = __esm(() => {
|
|
|
18393
18105
|
init_runtime();
|
|
18394
18106
|
});
|
|
18395
18107
|
|
|
18396
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18108
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/event_stream.js
|
|
18397
18109
|
function assignName({ name, serialized }) {
|
|
18398
18110
|
if (name !== undefined)
|
|
18399
18111
|
return name;
|
|
@@ -18798,7 +18510,7 @@ var init_event_stream = __esm(() => {
|
|
|
18798
18510
|
};
|
|
18799
18511
|
});
|
|
18800
18512
|
|
|
18801
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18513
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/is-network-error/index.js
|
|
18802
18514
|
function isNetworkError2(error) {
|
|
18803
18515
|
if (!(error && isError2(error) && error.name === "TypeError" && typeof error.message === "string"))
|
|
18804
18516
|
return false;
|
|
@@ -18825,7 +18537,7 @@ var init_is_network_error2 = __esm(() => {
|
|
|
18825
18537
|
]);
|
|
18826
18538
|
});
|
|
18827
18539
|
|
|
18828
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18540
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/p-retry/index.js
|
|
18829
18541
|
function validateRetries2(retries) {
|
|
18830
18542
|
if (typeof retries === "number") {
|
|
18831
18543
|
if (retries < 0)
|
|
@@ -18983,7 +18695,7 @@ var init_p_retry2 = __esm(() => {
|
|
|
18983
18695
|
};
|
|
18984
18696
|
});
|
|
18985
18697
|
|
|
18986
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18698
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/async_caller.js
|
|
18987
18699
|
var import_p_queue4, STATUS_NO_RETRY, defaultFailedAttemptHandler = (error) => {
|
|
18988
18700
|
if (typeof error !== "object" || error === null)
|
|
18989
18701
|
return;
|
|
@@ -19061,7 +18773,7 @@ var init_async_caller2 = __esm(() => {
|
|
|
19061
18773
|
];
|
|
19062
18774
|
});
|
|
19063
18775
|
|
|
19064
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18776
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/tracers/root_listener.js
|
|
19065
18777
|
var RootListenersTracer;
|
|
19066
18778
|
var init_root_listener = __esm(() => {
|
|
19067
18779
|
init_base3();
|
|
@@ -19101,7 +18813,7 @@ var init_root_listener = __esm(() => {
|
|
|
19101
18813
|
};
|
|
19102
18814
|
});
|
|
19103
18815
|
|
|
19104
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
18816
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/utils.js
|
|
19105
18817
|
function isRunnableInterface(thing) {
|
|
19106
18818
|
return thing ? thing.lc_runnable : false;
|
|
19107
18819
|
}
|
|
@@ -30822,7 +30534,7 @@ var init_core3 = __esm(() => {
|
|
|
30822
30534
|
init_to_json_schema();
|
|
30823
30535
|
});
|
|
30824
30536
|
|
|
30825
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30537
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/types/zod.js
|
|
30826
30538
|
function isZodSchemaV4(schema) {
|
|
30827
30539
|
if (typeof schema !== "object" || schema === null)
|
|
30828
30540
|
return false;
|
|
@@ -30876,11 +30588,6 @@ function isSimpleStringZodSchema(schema) {
|
|
|
30876
30588
|
return schema._zod.def.type === "string";
|
|
30877
30589
|
return false;
|
|
30878
30590
|
}
|
|
30879
|
-
function isZodObjectV3(obj) {
|
|
30880
|
-
if (typeof obj === "object" && obj !== null && "_def" in obj && typeof obj._def === "object" && obj._def !== null && "typeName" in obj._def && obj._def.typeName === "ZodObject")
|
|
30881
|
-
return true;
|
|
30882
|
-
return false;
|
|
30883
|
-
}
|
|
30884
30591
|
function isZodObjectV4(obj) {
|
|
30885
30592
|
if (!isZodSchemaV4(obj))
|
|
30886
30593
|
return false;
|
|
@@ -30910,7 +30617,7 @@ function isZodNullableV4(obj) {
|
|
|
30910
30617
|
return false;
|
|
30911
30618
|
}
|
|
30912
30619
|
function interopZodObjectStrict(schema, recursive = false) {
|
|
30913
|
-
if (
|
|
30620
|
+
if (isZodSchemaV3(schema))
|
|
30914
30621
|
return schema.strict();
|
|
30915
30622
|
if (isZodObjectV4(schema)) {
|
|
30916
30623
|
const outputShape = schema._zod.def.shape;
|
|
@@ -31007,7 +30714,7 @@ var init_zod = __esm(() => {
|
|
|
31007
30714
|
init_core3();
|
|
31008
30715
|
});
|
|
31009
30716
|
|
|
31010
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30717
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/graph_mermaid.js
|
|
31011
30718
|
function _escapeNodeLabel(nodeLabel) {
|
|
31012
30719
|
return nodeLabel.replace(/[^a-zA-Z-_0-9]/g, "_");
|
|
31013
30720
|
}
|
|
@@ -31125,7 +30832,7 @@ var init_graph_mermaid = __esm(() => {
|
|
|
31125
30832
|
];
|
|
31126
30833
|
});
|
|
31127
30834
|
|
|
31128
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30835
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Options.js
|
|
31129
30836
|
var ignoreOverride, defaultOptions2, getDefaultOptions = (options) => typeof options === "string" ? {
|
|
31130
30837
|
...defaultOptions2,
|
|
31131
30838
|
name: options
|
|
@@ -31161,7 +30868,7 @@ var init_Options = __esm(() => {
|
|
|
31161
30868
|
};
|
|
31162
30869
|
});
|
|
31163
30870
|
|
|
31164
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30871
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/Refs.js
|
|
31165
30872
|
var getRefs = (options) => {
|
|
31166
30873
|
const _options = getDefaultOptions(options);
|
|
31167
30874
|
const currentPath = _options.name !== undefined ? [
|
|
@@ -31189,7 +30896,7 @@ var init_Refs = __esm(() => {
|
|
|
31189
30896
|
init_Options();
|
|
31190
30897
|
});
|
|
31191
30898
|
|
|
31192
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30899
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/getRelativePath.js
|
|
31193
30900
|
var getRelativePath = (pathA, pathB) => {
|
|
31194
30901
|
let i3 = 0;
|
|
31195
30902
|
for (;i3 < pathA.length && i3 < pathB.length; i3++)
|
|
@@ -31199,7 +30906,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
31199
30906
|
};
|
|
31200
30907
|
var init_getRelativePath = () => {};
|
|
31201
30908
|
|
|
31202
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30909
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/any.js
|
|
31203
30910
|
function parseAnyDef(refs) {
|
|
31204
30911
|
if (refs.target !== "openAi")
|
|
31205
30912
|
return {};
|
|
@@ -31215,7 +30922,7 @@ var init_any = __esm(() => {
|
|
|
31215
30922
|
init_getRelativePath();
|
|
31216
30923
|
});
|
|
31217
30924
|
|
|
31218
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
30925
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/errorMessages.js
|
|
31219
30926
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
31220
30927
|
if (!refs?.errorMessages)
|
|
31221
30928
|
return;
|
|
@@ -35197,7 +34904,7 @@ var init_v3 = __esm(() => {
|
|
|
35197
34904
|
init_external();
|
|
35198
34905
|
});
|
|
35199
34906
|
|
|
35200
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
34907
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/array.js
|
|
35201
34908
|
function parseArrayDef(def, refs) {
|
|
35202
34909
|
const res = { type: "array" };
|
|
35203
34910
|
if (def.type?._def && def.type?._def?.typeName !== ZodFirstPartyTypeKind.ZodAny)
|
|
@@ -35221,7 +34928,7 @@ var init_array = __esm(() => {
|
|
|
35221
34928
|
init_v3();
|
|
35222
34929
|
});
|
|
35223
34930
|
|
|
35224
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
34931
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/bigint.js
|
|
35225
34932
|
function parseBigintDef(def, refs) {
|
|
35226
34933
|
const res = {
|
|
35227
34934
|
type: "integer",
|
|
@@ -35265,13 +34972,13 @@ var init_bigint = __esm(() => {
|
|
|
35265
34972
|
init_errorMessages();
|
|
35266
34973
|
});
|
|
35267
34974
|
|
|
35268
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
34975
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/boolean.js
|
|
35269
34976
|
function parseBooleanDef() {
|
|
35270
34977
|
return { type: "boolean" };
|
|
35271
34978
|
}
|
|
35272
34979
|
var init_boolean = () => {};
|
|
35273
34980
|
|
|
35274
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
34981
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/branded.js
|
|
35275
34982
|
function parseBrandedDef(_def, refs) {
|
|
35276
34983
|
return parseDef(_def.type._def, refs);
|
|
35277
34984
|
}
|
|
@@ -35279,7 +34986,7 @@ var init_branded = __esm(() => {
|
|
|
35279
34986
|
init_parseDef();
|
|
35280
34987
|
});
|
|
35281
34988
|
|
|
35282
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
34989
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/catch.js
|
|
35283
34990
|
var parseCatchDef = (def, refs) => {
|
|
35284
34991
|
return parseDef(def.innerType._def, refs);
|
|
35285
34992
|
};
|
|
@@ -35287,7 +34994,7 @@ var init_catch = __esm(() => {
|
|
|
35287
34994
|
init_parseDef();
|
|
35288
34995
|
});
|
|
35289
34996
|
|
|
35290
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
34997
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/date.js
|
|
35291
34998
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
35292
34999
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
35293
35000
|
if (Array.isArray(strategy))
|
|
@@ -35330,7 +35037,7 @@ var init_date = __esm(() => {
|
|
|
35330
35037
|
init_errorMessages();
|
|
35331
35038
|
});
|
|
35332
35039
|
|
|
35333
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35040
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/default.js
|
|
35334
35041
|
function parseDefaultDef(_def, refs) {
|
|
35335
35042
|
return {
|
|
35336
35043
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -35341,7 +35048,7 @@ var init_default = __esm(() => {
|
|
|
35341
35048
|
init_parseDef();
|
|
35342
35049
|
});
|
|
35343
35050
|
|
|
35344
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35051
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/effects.js
|
|
35345
35052
|
function parseEffectsDef(_def, refs) {
|
|
35346
35053
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
35347
35054
|
}
|
|
@@ -35350,7 +35057,7 @@ var init_effects = __esm(() => {
|
|
|
35350
35057
|
init_parseDef();
|
|
35351
35058
|
});
|
|
35352
35059
|
|
|
35353
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35060
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/enum.js
|
|
35354
35061
|
function parseEnumDef(def) {
|
|
35355
35062
|
return {
|
|
35356
35063
|
type: "string",
|
|
@@ -35359,7 +35066,7 @@ function parseEnumDef(def) {
|
|
|
35359
35066
|
}
|
|
35360
35067
|
var init_enum = () => {};
|
|
35361
35068
|
|
|
35362
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35069
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/intersection.js
|
|
35363
35070
|
function parseIntersectionDef(def, refs) {
|
|
35364
35071
|
const allOf = [parseDef(def.left._def, {
|
|
35365
35072
|
...refs,
|
|
@@ -35407,7 +35114,7 @@ var init_intersection = __esm(() => {
|
|
|
35407
35114
|
init_parseDef();
|
|
35408
35115
|
});
|
|
35409
35116
|
|
|
35410
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35117
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/literal.js
|
|
35411
35118
|
function parseLiteralDef(def, refs) {
|
|
35412
35119
|
const parsedType2 = typeof def.value;
|
|
35413
35120
|
if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string")
|
|
@@ -35424,7 +35131,7 @@ function parseLiteralDef(def, refs) {
|
|
|
35424
35131
|
}
|
|
35425
35132
|
var init_literal = () => {};
|
|
35426
35133
|
|
|
35427
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35134
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/string.js
|
|
35428
35135
|
function parseStringDef(def, refs) {
|
|
35429
35136
|
const res = { type: "string" };
|
|
35430
35137
|
if (def.checks)
|
|
@@ -35693,7 +35400,7 @@ var init_string = __esm(() => {
|
|
|
35693
35400
|
ALPHA_NUMERIC = /* @__PURE__ */ new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
35694
35401
|
});
|
|
35695
35402
|
|
|
35696
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35403
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/record.js
|
|
35697
35404
|
function parseRecordDef(def, refs) {
|
|
35698
35405
|
if (refs.target === "openAi")
|
|
35699
35406
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -35751,7 +35458,7 @@ var init_record = __esm(() => {
|
|
|
35751
35458
|
init_v3();
|
|
35752
35459
|
});
|
|
35753
35460
|
|
|
35754
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35461
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/map.js
|
|
35755
35462
|
function parseMapDef(def, refs) {
|
|
35756
35463
|
if (refs.mapStrategy === "record")
|
|
35757
35464
|
return parseRecordDef(def, refs);
|
|
@@ -35788,7 +35495,7 @@ var init_map = __esm(() => {
|
|
|
35788
35495
|
init_parseDef();
|
|
35789
35496
|
});
|
|
35790
35497
|
|
|
35791
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35498
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nativeEnum.js
|
|
35792
35499
|
function parseNativeEnumDef(def) {
|
|
35793
35500
|
const object = def.values;
|
|
35794
35501
|
const actualValues = Object.keys(def.values).filter((key) => {
|
|
@@ -35802,7 +35509,7 @@ function parseNativeEnumDef(def) {
|
|
|
35802
35509
|
}
|
|
35803
35510
|
var init_nativeEnum = () => {};
|
|
35804
35511
|
|
|
35805
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35512
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/never.js
|
|
35806
35513
|
function parseNeverDef(refs) {
|
|
35807
35514
|
return refs.target === "openAi" ? undefined : { not: parseAnyDef({
|
|
35808
35515
|
...refs,
|
|
@@ -35813,7 +35520,7 @@ var init_never = __esm(() => {
|
|
|
35813
35520
|
init_any();
|
|
35814
35521
|
});
|
|
35815
35522
|
|
|
35816
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35523
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/null.js
|
|
35817
35524
|
function parseNullDef(refs) {
|
|
35818
35525
|
return refs.target === "openApi3" ? {
|
|
35819
35526
|
enum: ["null"],
|
|
@@ -35822,7 +35529,7 @@ function parseNullDef(refs) {
|
|
|
35822
35529
|
}
|
|
35823
35530
|
var init_null = () => {};
|
|
35824
35531
|
|
|
35825
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35532
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/union.js
|
|
35826
35533
|
function parseUnionDef(def, refs) {
|
|
35827
35534
|
if (refs.target === "openApi3")
|
|
35828
35535
|
return asAnyOf(def, refs);
|
|
@@ -35889,7 +35596,7 @@ var init_union = __esm(() => {
|
|
|
35889
35596
|
};
|
|
35890
35597
|
});
|
|
35891
35598
|
|
|
35892
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35599
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/nullable.js
|
|
35893
35600
|
function parseNullableDef(def, refs) {
|
|
35894
35601
|
if ([
|
|
35895
35602
|
"ZodString",
|
|
@@ -35935,7 +35642,7 @@ var init_nullable = __esm(() => {
|
|
|
35935
35642
|
init_parseDef();
|
|
35936
35643
|
});
|
|
35937
35644
|
|
|
35938
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35645
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/number.js
|
|
35939
35646
|
function parseNumberDef(def, refs) {
|
|
35940
35647
|
const res = { type: "number" };
|
|
35941
35648
|
if (!def.checks)
|
|
@@ -35980,7 +35687,7 @@ var init_number = __esm(() => {
|
|
|
35980
35687
|
init_errorMessages();
|
|
35981
35688
|
});
|
|
35982
35689
|
|
|
35983
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35690
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/object.js
|
|
35984
35691
|
function parseObjectDef(def, refs) {
|
|
35985
35692
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
35986
35693
|
const result = {
|
|
@@ -36053,7 +35760,7 @@ var init_object = __esm(() => {
|
|
|
36053
35760
|
init_parseDef();
|
|
36054
35761
|
});
|
|
36055
35762
|
|
|
36056
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35763
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/optional.js
|
|
36057
35764
|
var parseOptionalDef = (def, refs) => {
|
|
36058
35765
|
if (refs.currentPath.toString() === refs.propertyPath?.toString())
|
|
36059
35766
|
return parseDef(def.innerType._def, refs);
|
|
@@ -36072,7 +35779,7 @@ var init_optional = __esm(() => {
|
|
|
36072
35779
|
init_parseDef();
|
|
36073
35780
|
});
|
|
36074
35781
|
|
|
36075
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35782
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/pipeline.js
|
|
36076
35783
|
var parsePipelineDef = (def, refs) => {
|
|
36077
35784
|
if (refs.pipeStrategy === "input")
|
|
36078
35785
|
return parseDef(def.in._def, refs);
|
|
@@ -36099,7 +35806,7 @@ var init_pipeline = __esm(() => {
|
|
|
36099
35806
|
init_parseDef();
|
|
36100
35807
|
});
|
|
36101
35808
|
|
|
36102
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35809
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/promise.js
|
|
36103
35810
|
function parsePromiseDef(def, refs) {
|
|
36104
35811
|
return parseDef(def.type._def, refs);
|
|
36105
35812
|
}
|
|
@@ -36107,7 +35814,7 @@ var init_promise = __esm(() => {
|
|
|
36107
35814
|
init_parseDef();
|
|
36108
35815
|
});
|
|
36109
35816
|
|
|
36110
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35817
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/set.js
|
|
36111
35818
|
function parseSetDef(def, refs) {
|
|
36112
35819
|
const schema = {
|
|
36113
35820
|
type: "array",
|
|
@@ -36128,7 +35835,7 @@ var init_set = __esm(() => {
|
|
|
36128
35835
|
init_parseDef();
|
|
36129
35836
|
});
|
|
36130
35837
|
|
|
36131
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35838
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/tuple.js
|
|
36132
35839
|
function parseTupleDef(def, refs) {
|
|
36133
35840
|
if (def.rest)
|
|
36134
35841
|
return {
|
|
@@ -36166,7 +35873,7 @@ var init_tuple = __esm(() => {
|
|
|
36166
35873
|
init_parseDef();
|
|
36167
35874
|
});
|
|
36168
35875
|
|
|
36169
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35876
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/undefined.js
|
|
36170
35877
|
function parseUndefinedDef(refs) {
|
|
36171
35878
|
return { not: parseAnyDef(refs) };
|
|
36172
35879
|
}
|
|
@@ -36174,7 +35881,7 @@ var init_undefined = __esm(() => {
|
|
|
36174
35881
|
init_any();
|
|
36175
35882
|
});
|
|
36176
35883
|
|
|
36177
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35884
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/unknown.js
|
|
36178
35885
|
function parseUnknownDef(refs) {
|
|
36179
35886
|
return parseAnyDef(refs);
|
|
36180
35887
|
}
|
|
@@ -36182,7 +35889,7 @@ var init_unknown = __esm(() => {
|
|
|
36182
35889
|
init_any();
|
|
36183
35890
|
});
|
|
36184
35891
|
|
|
36185
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35892
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parsers/readonly.js
|
|
36186
35893
|
var parseReadonlyDef = (def, refs) => {
|
|
36187
35894
|
return parseDef(def.innerType._def, refs);
|
|
36188
35895
|
};
|
|
@@ -36190,7 +35897,7 @@ var init_readonly = __esm(() => {
|
|
|
36190
35897
|
init_parseDef();
|
|
36191
35898
|
});
|
|
36192
35899
|
|
|
36193
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
35900
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/selectParser.js
|
|
36194
35901
|
var selectParser = (def, typeName, refs) => {
|
|
36195
35902
|
switch (typeName) {
|
|
36196
35903
|
case ZodFirstPartyTypeKind.ZodString:
|
|
@@ -36301,7 +36008,7 @@ var init_selectParser = __esm(() => {
|
|
|
36301
36008
|
init_v3();
|
|
36302
36009
|
});
|
|
36303
36010
|
|
|
36304
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36011
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/parseDef.js
|
|
36305
36012
|
function parseDef(def, refs, forceResolution = false) {
|
|
36306
36013
|
const seenItem = refs.seen.get(def);
|
|
36307
36014
|
if (refs.override) {
|
|
@@ -36361,7 +36068,7 @@ var init_parseDef = __esm(() => {
|
|
|
36361
36068
|
init_selectParser();
|
|
36362
36069
|
});
|
|
36363
36070
|
|
|
36364
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36071
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/zodToJsonSchema.js
|
|
36365
36072
|
var zodToJsonSchema = (schema, options) => {
|
|
36366
36073
|
const refs = getRefs(options);
|
|
36367
36074
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
|
|
@@ -36435,7 +36142,7 @@ var init_zodToJsonSchema = __esm(() => {
|
|
|
36435
36142
|
init_parseDef();
|
|
36436
36143
|
});
|
|
36437
36144
|
|
|
36438
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36145
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/zod-to-json-schema/index.js
|
|
36439
36146
|
var init_zod_to_json_schema = __esm(() => {
|
|
36440
36147
|
init_Options();
|
|
36441
36148
|
init_Refs();
|
|
@@ -36476,7 +36183,7 @@ var init_zod_to_json_schema = __esm(() => {
|
|
|
36476
36183
|
init_zodToJsonSchema();
|
|
36477
36184
|
});
|
|
36478
36185
|
|
|
36479
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36186
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/standard_schema.js
|
|
36480
36187
|
function isStandardJsonSchema(schema) {
|
|
36481
36188
|
return (typeof schema === "object" || typeof schema === "function") && schema !== null && "~standard" in schema && typeof schema["~standard"] === "object" && schema["~standard"] !== null && "jsonSchema" in schema["~standard"];
|
|
36482
36189
|
}
|
|
@@ -36484,7 +36191,7 @@ var init_standard_schema = __esm(() => {
|
|
|
36484
36191
|
init_runtime();
|
|
36485
36192
|
});
|
|
36486
36193
|
|
|
36487
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36194
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/json_schema.js
|
|
36488
36195
|
function toJsonSchema(schema, params) {
|
|
36489
36196
|
if (isStandardJsonSchema(schema) && !isZodSchemaV4(schema))
|
|
36490
36197
|
return schema["~standard"].jsonSchema.input({ target: "draft-07" });
|
|
@@ -36508,7 +36215,7 @@ var init_json_schema2 = __esm(() => {
|
|
|
36508
36215
|
init_core3();
|
|
36509
36216
|
});
|
|
36510
36217
|
|
|
36511
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36218
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/graph.js
|
|
36512
36219
|
function nodeDataStr(id, data) {
|
|
36513
36220
|
if (id !== undefined && !validate_default(id))
|
|
36514
36221
|
return id;
|
|
@@ -36720,7 +36427,7 @@ var init_graph = __esm(() => {
|
|
|
36720
36427
|
init_esm_browser();
|
|
36721
36428
|
});
|
|
36722
36429
|
|
|
36723
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36430
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/wrappers.js
|
|
36724
36431
|
function convertToHttpEventStream(stream) {
|
|
36725
36432
|
const encoder2 = new TextEncoder;
|
|
36726
36433
|
const finalStream = new ReadableStream({ async start(controller) {
|
|
@@ -36740,7 +36447,7 @@ var init_wrappers = __esm(() => {
|
|
|
36740
36447
|
init_stream();
|
|
36741
36448
|
});
|
|
36742
36449
|
|
|
36743
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36450
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/iter.js
|
|
36744
36451
|
function isIterableIterator(thing) {
|
|
36745
36452
|
return typeof thing === "object" && thing !== null && typeof thing[Symbol.iterator] === "function" && typeof thing.next === "function";
|
|
36746
36453
|
}
|
|
@@ -36773,7 +36480,7 @@ var init_iter = __esm(() => {
|
|
|
36773
36480
|
init_config();
|
|
36774
36481
|
});
|
|
36775
36482
|
|
|
36776
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
36483
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/runnables/base.js
|
|
36777
36484
|
function _coerceToDict2(value, defaultKey) {
|
|
36778
36485
|
return value && !Array.isArray(value) && !(value instanceof Date) && typeof value === "object" ? value : { [defaultKey]: value };
|
|
36779
36486
|
}
|
|
@@ -38121,7 +37828,7 @@ var init_base4 = __esm(() => {
|
|
|
38121
37828
|
};
|
|
38122
37829
|
});
|
|
38123
37830
|
|
|
38124
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
37831
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/documents/transformers.js
|
|
38125
37832
|
var BaseDocumentTransformer;
|
|
38126
37833
|
var init_transformers = __esm(() => {
|
|
38127
37834
|
init_base4();
|
|
@@ -38137,7 +37844,7 @@ var init_transformers = __esm(() => {
|
|
|
38137
37844
|
};
|
|
38138
37845
|
});
|
|
38139
37846
|
|
|
38140
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
37847
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/documents/index.js
|
|
38141
37848
|
var init_documents = __esm(() => {
|
|
38142
37849
|
init_runtime();
|
|
38143
37850
|
init_document();
|
|
@@ -38380,14 +38087,14 @@ var init_lite = __esm(() => {
|
|
|
38380
38087
|
init_chunk_VL2OQCWN();
|
|
38381
38088
|
});
|
|
38382
38089
|
|
|
38383
|
-
// ../../node_modules/.bun/@langchain+core@1.1.
|
|
38090
|
+
// ../../node_modules/.bun/@langchain+core@1.1.34+60549e3a9e4e4118/node_modules/@langchain/core/dist/utils/tiktoken.js
|
|
38384
38091
|
var init_tiktoken = __esm(() => {
|
|
38385
38092
|
init_runtime();
|
|
38386
38093
|
init_async_caller2();
|
|
38387
38094
|
init_lite();
|
|
38388
38095
|
});
|
|
38389
38096
|
|
|
38390
|
-
// ../../node_modules/.bun/@langchain+textsplitters@1.0.1+
|
|
38097
|
+
// ../../node_modules/.bun/@langchain+textsplitters@1.0.1+f30ed4e969374662/node_modules/@langchain/textsplitters/dist/text_splitter.js
|
|
38391
38098
|
var TextSplitter, RecursiveCharacterTextSplitter;
|
|
38392
38099
|
var init_text_splitter = __esm(() => {
|
|
38393
38100
|
init_documents();
|
|
@@ -39063,7 +38770,7 @@ assembly `,
|
|
|
39063
38770
|
};
|
|
39064
38771
|
});
|
|
39065
38772
|
|
|
39066
|
-
// ../../node_modules/.bun/@langchain+textsplitters@1.0.1+
|
|
38773
|
+
// ../../node_modules/.bun/@langchain+textsplitters@1.0.1+f30ed4e969374662/node_modules/@langchain/textsplitters/dist/index.js
|
|
39067
38774
|
var init_dist3 = __esm(() => {
|
|
39068
38775
|
init_text_splitter();
|
|
39069
38776
|
});
|
|
@@ -76319,8 +76026,6 @@ Agent: {{agentName}} (ID: {{agentId}})
|
|
|
76319
76026
|
5. If multiple matches exist, use context to disambiguate
|
|
76320
76027
|
6. Consider recent interactions and relationship strength when resolving ambiguity
|
|
76321
76028
|
|
|
76322
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
76323
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
76324
76029
|
|
|
76325
76030
|
Return an XML response with:
|
|
76326
76031
|
<response>
|
|
@@ -78793,29 +78498,32 @@ function escapeXmlText(text) {
|
|
|
78793
78498
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
78794
78499
|
}
|
|
78795
78500
|
function formatActionCallExample(example) {
|
|
78796
|
-
const actionTags = example.actions.map((a2) => ` <action>${escapeXmlText(a2)}</action>`).join(`
|
|
78797
|
-
`);
|
|
78798
78501
|
const paramsByAction = example.params ?? {};
|
|
78799
|
-
const
|
|
78800
|
-
const
|
|
78801
|
-
|
|
78802
|
-
|
|
78803
|
-
|
|
78502
|
+
const actionElements = example.actions.map((actionName) => {
|
|
78503
|
+
const actionParams = paramsByAction[actionName];
|
|
78504
|
+
if (actionParams && Object.keys(actionParams).length > 0) {
|
|
78505
|
+
const paramsInner = Object.entries(actionParams).map(([k, v]) => {
|
|
78506
|
+
const raw = typeof v === "string" ? v : v === null ? "null" : JSON.stringify(v);
|
|
78507
|
+
return ` <${k}>${escapeXmlText(raw)}</${k}>`;
|
|
78508
|
+
}).join(`
|
|
78804
78509
|
`);
|
|
78805
|
-
|
|
78806
|
-
|
|
78807
|
-
|
|
78510
|
+
return ` <action>
|
|
78511
|
+
<name>${escapeXmlText(actionName)}</name>
|
|
78512
|
+
<params>
|
|
78513
|
+
${paramsInner}
|
|
78514
|
+
</params>
|
|
78515
|
+
</action>`;
|
|
78516
|
+
}
|
|
78517
|
+
return ` <action>
|
|
78518
|
+
<name>${escapeXmlText(actionName)}</name>
|
|
78519
|
+
</action>`;
|
|
78808
78520
|
}).join(`
|
|
78809
78521
|
`);
|
|
78810
|
-
const paramsSection = paramsBlocks.length > 0 ? `
|
|
78811
|
-
<params>
|
|
78812
|
-
${paramsBlocks}
|
|
78813
|
-
</params>` : "";
|
|
78814
78522
|
return `User: ${example.user}
|
|
78815
78523
|
Assistant:
|
|
78816
78524
|
<actions>
|
|
78817
|
-
${
|
|
78818
|
-
</actions
|
|
78525
|
+
${actionElements}
|
|
78526
|
+
</actions>`;
|
|
78819
78527
|
}
|
|
78820
78528
|
function composeActionCallExamples(actionsData, maxExamples) {
|
|
78821
78529
|
if (!actionsData.length || maxExamples <= 0)
|
|
@@ -78871,28 +78579,54 @@ function formatActionNames(actions) {
|
|
|
78871
78579
|
function formatActions(actions) {
|
|
78872
78580
|
if (!actions || !actions.length)
|
|
78873
78581
|
return "";
|
|
78874
|
-
|
|
78875
|
-
|
|
78582
|
+
const actionElements = shuffleActions(actions).map((action) => {
|
|
78583
|
+
const descLine = ` <description>${escapeXmlText(action.description || "No description available")}</description>`;
|
|
78876
78584
|
if (action.parameters && action.parameters.length > 0) {
|
|
78877
|
-
const
|
|
78878
|
-
|
|
78879
|
-
|
|
78880
|
-
${
|
|
78585
|
+
const paramsXml = formatActionParameters(action.parameters);
|
|
78586
|
+
return ` <action>
|
|
78587
|
+
<name>${escapeXmlText(action.name)}</name>
|
|
78588
|
+
${descLine}
|
|
78589
|
+
<params>
|
|
78590
|
+
${paramsXml}
|
|
78591
|
+
</params>
|
|
78592
|
+
</action>`;
|
|
78881
78593
|
}
|
|
78882
|
-
return
|
|
78594
|
+
return ` <action>
|
|
78595
|
+
<name>${escapeXmlText(action.name)}</name>
|
|
78596
|
+
${descLine}
|
|
78597
|
+
</action>`;
|
|
78883
78598
|
}).join(`
|
|
78884
78599
|
`);
|
|
78600
|
+
return `<actions>
|
|
78601
|
+
${actionElements}
|
|
78602
|
+
</actions>`;
|
|
78885
78603
|
}
|
|
78886
78604
|
function formatActionParameters(parameters) {
|
|
78887
78605
|
if (!parameters || !parameters.length)
|
|
78888
78606
|
return "";
|
|
78889
78607
|
return parameters.map((param) => {
|
|
78890
|
-
const requiredStr = param.required ? "
|
|
78608
|
+
const requiredStr = param.required ? "true" : "false";
|
|
78891
78609
|
const typeStr = formatParameterType(param.schema);
|
|
78892
|
-
|
|
78893
|
-
|
|
78894
|
-
|
|
78895
|
-
|
|
78610
|
+
let paramXml = ` <param>
|
|
78611
|
+
<name>${escapeXmlText(param.name)}</name>
|
|
78612
|
+
<description>${escapeXmlText(param.description)}</description>
|
|
78613
|
+
<type>${escapeXmlText(typeStr)}</type>
|
|
78614
|
+
<required>${requiredStr}</required>`;
|
|
78615
|
+
if (param.schema.enum) {
|
|
78616
|
+
paramXml += `
|
|
78617
|
+
<values>${escapeXmlText(param.schema.enum.join(", "))}</values>`;
|
|
78618
|
+
}
|
|
78619
|
+
if (param.schema.default !== undefined) {
|
|
78620
|
+
paramXml += `
|
|
78621
|
+
<default>${escapeXmlText(JSON.stringify(param.schema.default))}</default>`;
|
|
78622
|
+
}
|
|
78623
|
+
if (param.examples && param.examples.length > 0) {
|
|
78624
|
+
paramXml += `
|
|
78625
|
+
<examples>${escapeXmlText(param.examples.map((v) => JSON.stringify(v)).join(", "))}</examples>`;
|
|
78626
|
+
}
|
|
78627
|
+
paramXml += `
|
|
78628
|
+
</param>`;
|
|
78629
|
+
return paramXml;
|
|
78896
78630
|
}).join(`
|
|
78897
78631
|
`);
|
|
78898
78632
|
}
|
|
@@ -78917,8 +78651,32 @@ function parseActionParams(paramsXml) {
|
|
|
78917
78651
|
if (!paramsXml || typeof paramsXml !== "string") {
|
|
78918
78652
|
return result;
|
|
78919
78653
|
}
|
|
78920
|
-
const
|
|
78921
|
-
|
|
78654
|
+
const actionChildren = extractXmlChildren(paramsXml);
|
|
78655
|
+
const actionElements = actionChildren.filter((c) => c.key === "action");
|
|
78656
|
+
if (actionElements.length > 0) {
|
|
78657
|
+
for (const { value: actionXml } of actionElements) {
|
|
78658
|
+
const children = extractXmlChildren(actionXml);
|
|
78659
|
+
const nameEntry = children.find((c) => c.key === "name");
|
|
78660
|
+
const paramsEntry = children.find((c) => c.key === "params");
|
|
78661
|
+
if (!nameEntry)
|
|
78662
|
+
continue;
|
|
78663
|
+
const actionName = nameEntry.value.trim().toUpperCase();
|
|
78664
|
+
if (!actionName)
|
|
78665
|
+
continue;
|
|
78666
|
+
if (paramsEntry) {
|
|
78667
|
+
const paramPairs = extractXmlChildren(paramsEntry.value);
|
|
78668
|
+
const actionParams = {};
|
|
78669
|
+
for (const { key: paramName, value: paramValue } of paramPairs) {
|
|
78670
|
+
actionParams[paramName] = parseParamValue(paramValue);
|
|
78671
|
+
}
|
|
78672
|
+
if (Object.keys(actionParams).length > 0) {
|
|
78673
|
+
result.set(actionName, actionParams);
|
|
78674
|
+
}
|
|
78675
|
+
}
|
|
78676
|
+
}
|
|
78677
|
+
return result;
|
|
78678
|
+
}
|
|
78679
|
+
for (const { key: actionName, value: actionParamsXml } of actionChildren) {
|
|
78922
78680
|
const params = extractXmlChildren(actionParamsXml);
|
|
78923
78681
|
const actionParams = {};
|
|
78924
78682
|
for (const { key: paramName, value: paramValue } of params) {
|
|
@@ -79210,15 +78968,14 @@ IMPORTANT ACTION ORDERING RULES:
|
|
|
79210
78968
|
- REPLY should come FIRST to acknowledge the user's request before executing other actions
|
|
79211
78969
|
- Common patterns:
|
|
79212
78970
|
- For requests requiring tool use: REPLY,CALL_MCP_TOOL (acknowledge first, then gather info)
|
|
79213
|
-
- For task execution: REPLY,
|
|
79214
|
-
- For multi-step operations: REPLY,ACTION1,ACTION2 (acknowledge first, then complete all steps)
|
|
78971
|
+
- For task execution: REPLY,MAIN_TASK_ACTION (acknowledge first, then do the task)
|
|
78972
|
+
- For multi-step operations: REPLY,ACTION1,ACTION2,REPLY (acknowledge first, then complete all steps, then acknowledge all done)
|
|
79215
78973
|
- REPLY is used to acknowledge and inform the user about what you're going to do
|
|
79216
78974
|
- Follow-up actions execute the actual tasks after acknowledgment
|
|
79217
78975
|
- Use IGNORE only when you should not respond at all
|
|
79218
78976
|
- If you use IGNORE, do not include any other actions. IGNORE should be used alone when you should not respond or take any actions.
|
|
79219
78977
|
|
|
79220
78978
|
IMPORTANT ACTION PARAMETERS:
|
|
79221
|
-
- Some actions accept input parameters that you should extract from the conversation
|
|
79222
78979
|
- When an action has parameters listed in its description, include a <params> block for that action
|
|
79223
78980
|
- Extract parameter values from the user's message and conversation context
|
|
79224
78981
|
- Required parameters MUST be provided; optional parameters can be omitted if not mentioned
|
|
@@ -79226,16 +78983,20 @@ IMPORTANT ACTION PARAMETERS:
|
|
|
79226
78983
|
|
|
79227
78984
|
EXAMPLE (action parameters):
|
|
79228
78985
|
User message: "Send a message to @dev_guru on telegram saying Hello!"
|
|
79229
|
-
|
|
79230
|
-
|
|
79231
|
-
<
|
|
79232
|
-
|
|
79233
|
-
|
|
79234
|
-
|
|
79235
|
-
|
|
79236
|
-
|
|
79237
|
-
|
|
79238
|
-
</
|
|
78986
|
+
<actions>
|
|
78987
|
+
<action>
|
|
78988
|
+
<name>REPLY</name>
|
|
78989
|
+
</action>
|
|
78990
|
+
<action>
|
|
78991
|
+
<name>SEND_MESSAGE</name>
|
|
78992
|
+
<params>
|
|
78993
|
+
<targetType>user</targetType>
|
|
78994
|
+
<source>telegram</source>
|
|
78995
|
+
<target>dev_guru</target>
|
|
78996
|
+
<text>Hello!</text>
|
|
78997
|
+
</params>
|
|
78998
|
+
</action>
|
|
78999
|
+
</actions>
|
|
79239
79000
|
|
|
79240
79001
|
IMPORTANT PROVIDER SELECTION RULES:
|
|
79241
79002
|
- Only include providers if they are needed to respond accurately.
|
|
@@ -79251,41 +79012,43 @@ IMPORTANT CODE BLOCK FORMATTING RULES:
|
|
|
79251
79012
|
- ONLY use fenced code blocks for actual code. Do NOT wrap non-code text, instructions, or single words in fenced code blocks.
|
|
79252
79013
|
- If including inline code (short single words or function names), use single backticks (\`) as appropriate.
|
|
79253
79014
|
- This ensures the user sees clearly formatted and copyable code when relevant.
|
|
79254
|
-
|
|
79255
|
-
First, think about what you want to do next and plan your actions. Then, write the next message and include the actions you plan to take.
|
|
79256
79015
|
</instructions>
|
|
79257
79016
|
|
|
79258
79017
|
<keys>
|
|
79259
79018
|
"thought" should be a short description of what the agent is thinking about and planning.
|
|
79260
|
-
"actions" should be a
|
|
79019
|
+
"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.
|
|
79261
79020
|
"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.)
|
|
79262
79021
|
"text" should be the text of the next message for {{agentName}} which they will send to the conversation.
|
|
79263
|
-
"params" (optional) should contain action parameters when actions require input. Format as nested XML with action name as wrapper.
|
|
79264
79022
|
</keys>
|
|
79265
79023
|
|
|
79266
79024
|
<output>
|
|
79267
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79025
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79268
79026
|
Go directly to the XML response format without any preamble or explanation.
|
|
79269
79027
|
|
|
79270
79028
|
Respond using XML format like this:
|
|
79271
79029
|
<response>
|
|
79272
79030
|
<thought>Your thought here</thought>
|
|
79273
|
-
<actions>
|
|
79031
|
+
<actions>
|
|
79032
|
+
<action>
|
|
79033
|
+
<name>ACTION1</name>
|
|
79034
|
+
<params>
|
|
79035
|
+
<paramName1>value1</paramName1>
|
|
79036
|
+
<paramName2>value2</paramName2>
|
|
79037
|
+
</params>
|
|
79038
|
+
</action>
|
|
79039
|
+
<action>
|
|
79040
|
+
<name>ACTION2</name>
|
|
79041
|
+
<params>
|
|
79042
|
+
<paramName1>value1</paramName1>
|
|
79043
|
+
</params>
|
|
79044
|
+
</action>
|
|
79045
|
+
</actions>
|
|
79274
79046
|
<providers>PROVIDER1,PROVIDER2</providers>
|
|
79275
79047
|
<text>Your response text here</text>
|
|
79276
|
-
<params>
|
|
79277
|
-
<ACTION1>
|
|
79278
|
-
<paramName1>value1</paramName1>
|
|
79279
|
-
<paramName2>value2</paramName2>
|
|
79280
|
-
</ACTION1>
|
|
79281
|
-
<ACTION2>
|
|
79282
|
-
<paramName1>value1</paramName1>
|
|
79283
|
-
</ACTION2>
|
|
79284
|
-
</params>
|
|
79285
79048
|
</response>
|
|
79286
79049
|
|
|
79287
|
-
The <params> block is optional - only include when
|
|
79288
|
-
If an action has no parameters
|
|
79050
|
+
The <params> block inside each <action> is optional - only include it when that action requires input parameters.
|
|
79051
|
+
If an action has no parameters (e.g. REPLY or IGNORE), omit the <params> child entirely.
|
|
79289
79052
|
|
|
79290
79053
|
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>.
|
|
79291
79054
|
</output>`;
|
|
@@ -79330,7 +79093,7 @@ The "post" field should be the post you want to send. Do not including any think
|
|
|
79330
79093
|
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.
|
|
79331
79094
|
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.
|
|
79332
79095
|
|
|
79333
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79096
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79334
79097
|
Go directly to the XML response format without any preamble or explanation.
|
|
79335
79098
|
|
|
79336
79099
|
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>.`;
|
|
@@ -79347,7 +79110,7 @@ Be objective and descriptive. Focus on what you can actually see in the image ra
|
|
|
79347
79110
|
</instructions>
|
|
79348
79111
|
|
|
79349
79112
|
<output>
|
|
79350
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79113
|
+
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79351
79114
|
Go directly to the XML response format without any preamble or explanation.
|
|
79352
79115
|
|
|
79353
79116
|
Respond using XML format like this:
|
|
@@ -79587,8 +79350,6 @@ var optionExtractionTemplate = `# Task: Extract selected task and option from us
|
|
|
79587
79350
|
3. Return the task ID (shortened UUID) and selected option name exactly as listed above
|
|
79588
79351
|
4. If no clear selection is made, return null for both fields
|
|
79589
79352
|
|
|
79590
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
79591
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
79592
79353
|
|
|
79593
79354
|
Return in XML format:
|
|
79594
79355
|
<response>
|
|
@@ -80005,8 +79766,6 @@ Message Sender: {{senderName}} (ID: {{senderId}})
|
|
|
80005
79766
|
- The targetEntityId is the UUID of the entity being interacted with.
|
|
80006
79767
|
- Relationships are one-direction, so a friendship would be two entity relationships where each entity is both the source and the target of the other.
|
|
80007
79768
|
|
|
80008
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80009
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80010
79769
|
|
|
80011
79770
|
Generate a response in the following format:
|
|
80012
79771
|
<response>
|
|
@@ -80051,8 +79810,6 @@ Agent: {{agentName}} (ID: {{agentId}})
|
|
|
80051
79810
|
5. If multiple matches exist, use context to disambiguate
|
|
80052
79811
|
6. Consider recent interactions and relationship strength when resolving ambiguity
|
|
80053
79812
|
|
|
80054
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80055
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80056
79813
|
|
|
80057
79814
|
Return an XML response with:
|
|
80058
79815
|
<response>
|
|
@@ -80087,8 +79844,6 @@ var componentTemplate = `# Task: Extract Source and Update Component Data
|
|
|
80087
79844
|
- Includes the new information from the conversation
|
|
80088
79845
|
- Contains only valid data for this component type
|
|
80089
79846
|
|
|
80090
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
80091
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
80092
79847
|
|
|
80093
79848
|
Return an XML response with the following structure:
|
|
80094
79849
|
<response>
|
|
@@ -82864,7 +82619,7 @@ ${values}`;
|
|
|
82864
82619
|
`);
|
|
82865
82620
|
resultsText = addHeader("# Previous Action Results", formattedResults);
|
|
82866
82621
|
} else {
|
|
82867
|
-
resultsText = "
|
|
82622
|
+
resultsText = "";
|
|
82868
82623
|
}
|
|
82869
82624
|
let memoryText = "";
|
|
82870
82625
|
if (workingMemory && Object.keys(workingMemory).length > 0) {
|
|
@@ -83663,7 +83418,7 @@ ${runText}`;
|
|
|
83663
83418
|
const receivedMessageContent = message2.content.text;
|
|
83664
83419
|
const hasReceivedMessage = !!receivedMessageContent?.trim();
|
|
83665
83420
|
const receivedMessageHeader = hasReceivedMessage ? addHeader("# Received Message", `${senderName}: ${receivedMessageContent}`) : "";
|
|
83666
|
-
const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message
|
|
83421
|
+
const focusHeader = hasReceivedMessage ? addHeader("# Focus your response", `You are replying to the above message from **${senderName}**. Keep your answer relevant to that message, but include as context any previous messages in the thread from after your last reply.`) : "";
|
|
83667
83422
|
const interactionEntityMap = new Map;
|
|
83668
83423
|
if (recentInteractionsData.length > 0) {
|
|
83669
83424
|
const uniqueEntityIds = [
|
|
@@ -85462,8 +85217,6 @@ The available role types are:
|
|
|
85462
85217
|
# Current context:
|
|
85463
85218
|
{{content}}
|
|
85464
85219
|
|
|
85465
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
85466
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
85467
85220
|
|
|
85468
85221
|
Format your response as XML with multiple assignments:
|
|
85469
85222
|
<response>
|
|
@@ -85906,8 +85659,6 @@ Analyze the conversation to identify:
|
|
|
85906
85659
|
3. Any identifying information about the target
|
|
85907
85660
|
4. The message text to send
|
|
85908
85661
|
|
|
85909
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
85910
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
85911
85662
|
|
|
85912
85663
|
Return an XML response with:
|
|
85913
85664
|
<response>
|
|
@@ -87004,8 +86755,6 @@ var spec27 = requireActionSpec("UPDATE_SETTINGS");
|
|
|
87004
86755
|
var messageCompletionFooter = `
|
|
87005
86756
|
# Instructions: Write the next message for {{agentName}}. Include the appropriate action from the list: {{actionNames}}
|
|
87006
86757
|
|
|
87007
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
87008
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
87009
86758
|
|
|
87010
86759
|
Response format should be formatted in XML like this:
|
|
87011
86760
|
<response>
|
|
@@ -88143,8 +87892,6 @@ var componentTemplate2 = `# Task: Extract Source and Update Component Data
|
|
|
88143
87892
|
- Includes the new information from the conversation
|
|
88144
87893
|
- Contains only valid data for this component type
|
|
88145
87894
|
|
|
88146
|
-
Do NOT include any thinking, reasoning, or <think> sections in your response.
|
|
88147
|
-
Go directly to the XML response format without any preamble or explanation.
|
|
88148
87895
|
|
|
88149
87896
|
Return an XML response with the following structure:
|
|
88150
87897
|
<response>
|
|
@@ -92763,7 +92510,7 @@ function isInsideFenceSpan(index, spans) {
|
|
|
92763
92510
|
function isInsideInlineSpan(index, spans) {
|
|
92764
92511
|
return spans.some(([start, end]) => index >= start && index < end);
|
|
92765
92512
|
}
|
|
92766
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92513
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/index.js
|
|
92767
92514
|
var exports_dist = {};
|
|
92768
92515
|
__export(exports_dist, {
|
|
92769
92516
|
visitAsync: () => visitAsync,
|
|
@@ -92797,7 +92544,7 @@ __export(exports_dist, {
|
|
|
92797
92544
|
Alias: () => Alias
|
|
92798
92545
|
});
|
|
92799
92546
|
|
|
92800
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92547
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.js
|
|
92801
92548
|
var ALIAS = Symbol.for("yaml.alias");
|
|
92802
92549
|
var DOC = Symbol.for("yaml.document");
|
|
92803
92550
|
var MAP2 = Symbol.for("yaml.map");
|
|
@@ -92833,7 +92580,7 @@ function isNode3(node) {
|
|
|
92833
92580
|
}
|
|
92834
92581
|
var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;
|
|
92835
92582
|
|
|
92836
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92583
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/visit.js
|
|
92837
92584
|
var BREAK = Symbol("break visit");
|
|
92838
92585
|
var SKIP = Symbol("skip children");
|
|
92839
92586
|
var REMOVE = Symbol("remove node");
|
|
@@ -92983,7 +92730,7 @@ function replaceNode(key2, path2, node) {
|
|
|
92983
92730
|
}
|
|
92984
92731
|
}
|
|
92985
92732
|
|
|
92986
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92733
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.js
|
|
92987
92734
|
var escapeChars = {
|
|
92988
92735
|
"!": "%21",
|
|
92989
92736
|
",": "%2C",
|
|
@@ -93130,7 +92877,7 @@ class Directives {
|
|
|
93130
92877
|
Directives.defaultYaml = { explicit: false, version: "1.2" };
|
|
93131
92878
|
Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
|
|
93132
92879
|
|
|
93133
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92880
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.js
|
|
93134
92881
|
function anchorIsValid(anchor) {
|
|
93135
92882
|
if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
|
|
93136
92883
|
const sa = JSON.stringify(anchor);
|
|
@@ -93184,7 +92931,7 @@ function createNodeAnchors(doc2, prefix) {
|
|
|
93184
92931
|
};
|
|
93185
92932
|
}
|
|
93186
92933
|
|
|
93187
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92934
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.js
|
|
93188
92935
|
function applyReviver(reviver, obj, key2, val) {
|
|
93189
92936
|
if (val && typeof val === "object") {
|
|
93190
92937
|
if (Array.isArray(val)) {
|
|
@@ -93228,7 +92975,7 @@ function applyReviver(reviver, obj, key2, val) {
|
|
|
93228
92975
|
return reviver.call(obj, key2, val);
|
|
93229
92976
|
}
|
|
93230
92977
|
|
|
93231
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
92978
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.js
|
|
93232
92979
|
function toJS(value, arg, ctx) {
|
|
93233
92980
|
if (Array.isArray(value))
|
|
93234
92981
|
return value.map((v, i4) => toJS(v, String(i4), ctx));
|
|
@@ -93251,7 +92998,7 @@ function toJS(value, arg, ctx) {
|
|
|
93251
92998
|
return value;
|
|
93252
92999
|
}
|
|
93253
93000
|
|
|
93254
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93001
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.js
|
|
93255
93002
|
class NodeBase {
|
|
93256
93003
|
constructor(type2) {
|
|
93257
93004
|
Object.defineProperty(this, NODE_TYPE, { value: type2 });
|
|
@@ -93281,7 +93028,7 @@ class NodeBase {
|
|
|
93281
93028
|
}
|
|
93282
93029
|
}
|
|
93283
93030
|
|
|
93284
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93031
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.js
|
|
93285
93032
|
class Alias extends NodeBase {
|
|
93286
93033
|
constructor(source2) {
|
|
93287
93034
|
super(ALIAS);
|
|
@@ -93380,7 +93127,7 @@ function getAliasCount(doc2, node, anchors) {
|
|
|
93380
93127
|
return 1;
|
|
93381
93128
|
}
|
|
93382
93129
|
|
|
93383
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93130
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.js
|
|
93384
93131
|
var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
|
|
93385
93132
|
|
|
93386
93133
|
class Scalar extends NodeBase {
|
|
@@ -93401,7 +93148,7 @@ Scalar.PLAIN = "PLAIN";
|
|
|
93401
93148
|
Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE";
|
|
93402
93149
|
Scalar.QUOTE_SINGLE = "QUOTE_SINGLE";
|
|
93403
93150
|
|
|
93404
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93151
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.js
|
|
93405
93152
|
var defaultTagPrefix = "tag:yaml.org,2002:";
|
|
93406
93153
|
function findTagObject(value, tagName, tags) {
|
|
93407
93154
|
if (tagName) {
|
|
@@ -93467,7 +93214,7 @@ function createNode(value, tagName, ctx) {
|
|
|
93467
93214
|
return node;
|
|
93468
93215
|
}
|
|
93469
93216
|
|
|
93470
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93217
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.js
|
|
93471
93218
|
function collectionFromPath(schema2, path2, value) {
|
|
93472
93219
|
let v = value;
|
|
93473
93220
|
for (let i4 = path2.length - 1;i4 >= 0; --i4) {
|
|
@@ -93574,7 +93321,7 @@ class Collection extends NodeBase {
|
|
|
93574
93321
|
}
|
|
93575
93322
|
}
|
|
93576
93323
|
|
|
93577
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93324
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.js
|
|
93578
93325
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
93579
93326
|
function indentComment(comment, indent) {
|
|
93580
93327
|
if (/^\n+$/.test(comment))
|
|
@@ -93586,7 +93333,7 @@ var lineComment = (str, indent, comment) => str.endsWith(`
|
|
|
93586
93333
|
`) ? `
|
|
93587
93334
|
` + indentComment(comment, indent) : (str.endsWith(" ") ? "" : " ") + comment;
|
|
93588
93335
|
|
|
93589
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93336
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.js
|
|
93590
93337
|
var FOLD_FLOW = "flow";
|
|
93591
93338
|
var FOLD_BLOCK = "block";
|
|
93592
93339
|
var FOLD_QUOTED = "quoted";
|
|
@@ -93717,7 +93464,7 @@ function consumeMoreIndentedLines(text, i4, indent) {
|
|
|
93717
93464
|
return end;
|
|
93718
93465
|
}
|
|
93719
93466
|
|
|
93720
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93467
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.js
|
|
93721
93468
|
var getFoldOptions = (ctx, isBlock) => ({
|
|
93722
93469
|
indentAtStart: isBlock ? ctx.indent.length : ctx.indentAtStart,
|
|
93723
93470
|
lineWidth: ctx.options.lineWidth,
|
|
@@ -94010,7 +93757,7 @@ function stringifyString(item, ctx, onComment, onChompKeep) {
|
|
|
94010
93757
|
return res;
|
|
94011
93758
|
}
|
|
94012
93759
|
|
|
94013
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93760
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.js
|
|
94014
93761
|
function createStringifyContext(doc2, options) {
|
|
94015
93762
|
const opt = Object.assign({
|
|
94016
93763
|
blockQuote: true,
|
|
@@ -94028,7 +93775,6 @@ function createStringifyContext(doc2, options) {
|
|
|
94028
93775
|
nullStr: "null",
|
|
94029
93776
|
simpleKeys: false,
|
|
94030
93777
|
singleQuote: null,
|
|
94031
|
-
trailingComma: false,
|
|
94032
93778
|
trueStr: "true",
|
|
94033
93779
|
verifyAliasOrder: true
|
|
94034
93780
|
}, doc2.schema.toStringOptions, options);
|
|
@@ -94123,7 +93869,7 @@ function stringify3(item, ctx, onComment, onChompKeep) {
|
|
|
94123
93869
|
${ctx.indent}${str}`;
|
|
94124
93870
|
}
|
|
94125
93871
|
|
|
94126
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
93872
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.js
|
|
94127
93873
|
function stringifyPair({ key: key2, value }, ctx, onComment, onChompKeep) {
|
|
94128
93874
|
const { allNullValues, doc: doc2, indent, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
|
|
94129
93875
|
let keyComment = isNode3(key2) && key2.comment || null;
|
|
@@ -94252,14 +93998,14 @@ ${ctx.indent}`;
|
|
|
94252
93998
|
return str;
|
|
94253
93999
|
}
|
|
94254
94000
|
|
|
94255
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94001
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/log.js
|
|
94256
94002
|
function warn(logLevel, warning) {
|
|
94257
94003
|
if (logLevel === "debug" || logLevel === "warn") {
|
|
94258
94004
|
console.warn(warning);
|
|
94259
94005
|
}
|
|
94260
94006
|
}
|
|
94261
94007
|
|
|
94262
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94008
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
|
|
94263
94009
|
var MERGE_KEY = "<<";
|
|
94264
94010
|
var merge2 = {
|
|
94265
94011
|
identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
|
|
@@ -94306,7 +94052,7 @@ function mergeValue(ctx, map2, value) {
|
|
|
94306
94052
|
return map2;
|
|
94307
94053
|
}
|
|
94308
94054
|
|
|
94309
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94055
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
|
|
94310
94056
|
function addPairToJSMap(ctx, map2, { key: key2, value }) {
|
|
94311
94057
|
if (isNode3(key2) && key2.addToJSMap)
|
|
94312
94058
|
key2.addToJSMap(ctx, map2, value);
|
|
@@ -94359,7 +94105,7 @@ function stringifyKey(key2, jsKey, ctx) {
|
|
|
94359
94105
|
return JSON.stringify(jsKey);
|
|
94360
94106
|
}
|
|
94361
94107
|
|
|
94362
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94108
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.js
|
|
94363
94109
|
function createPair(key2, value, ctx) {
|
|
94364
94110
|
const k = createNode(key2, undefined, ctx);
|
|
94365
94111
|
const v = createNode(value, undefined, ctx);
|
|
@@ -94389,7 +94135,7 @@ class Pair {
|
|
|
94389
94135
|
}
|
|
94390
94136
|
}
|
|
94391
94137
|
|
|
94392
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94138
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.js
|
|
94393
94139
|
function stringifyCollection(collection, ctx, options) {
|
|
94394
94140
|
const flow = ctx.inFlow ?? collection.flow;
|
|
94395
94141
|
const stringify4 = flow ? stringifyFlowCollection : stringifyBlockCollection;
|
|
@@ -94488,20 +94234,13 @@ function stringifyFlowCollection({ items }, ctx, { flowChars, itemIndent }) {
|
|
|
94488
94234
|
if (comment)
|
|
94489
94235
|
reqNewline = true;
|
|
94490
94236
|
let str = stringify3(item, itemCtx, () => comment = null);
|
|
94491
|
-
|
|
94492
|
-
`));
|
|
94493
|
-
if (i4 < items.length - 1) {
|
|
94237
|
+
if (i4 < items.length - 1)
|
|
94494
94238
|
str += ",";
|
|
94495
|
-
} else if (ctx.options.trailingComma) {
|
|
94496
|
-
if (ctx.options.lineWidth > 0) {
|
|
94497
|
-
reqNewline || (reqNewline = lines.reduce((sum, line2) => sum + line2.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
|
|
94498
|
-
}
|
|
94499
|
-
if (reqNewline) {
|
|
94500
|
-
str += ",";
|
|
94501
|
-
}
|
|
94502
|
-
}
|
|
94503
94239
|
if (comment)
|
|
94504
94240
|
str += lineComment(str, itemIndent, commentString(comment));
|
|
94241
|
+
if (!reqNewline && (lines.length > linesAtValue || str.includes(`
|
|
94242
|
+
`)))
|
|
94243
|
+
reqNewline = true;
|
|
94505
94244
|
lines.push(str);
|
|
94506
94245
|
linesAtValue = lines.length;
|
|
94507
94246
|
}
|
|
@@ -94535,7 +94274,7 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment
|
|
|
94535
94274
|
}
|
|
94536
94275
|
}
|
|
94537
94276
|
|
|
94538
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94277
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.js
|
|
94539
94278
|
function findPair(items, key2) {
|
|
94540
94279
|
const k = isScalar(key2) ? key2.value : key2;
|
|
94541
94280
|
for (const it of items) {
|
|
@@ -94652,7 +94391,7 @@ class YAMLMap extends Collection {
|
|
|
94652
94391
|
}
|
|
94653
94392
|
}
|
|
94654
94393
|
|
|
94655
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94394
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.js
|
|
94656
94395
|
var map2 = {
|
|
94657
94396
|
collection: "map",
|
|
94658
94397
|
default: true,
|
|
@@ -94666,7 +94405,7 @@ var map2 = {
|
|
|
94666
94405
|
createNode: (schema2, obj, ctx) => YAMLMap.from(schema2, obj, ctx)
|
|
94667
94406
|
};
|
|
94668
94407
|
|
|
94669
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94408
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.js
|
|
94670
94409
|
class YAMLSeq extends Collection {
|
|
94671
94410
|
static get tagName() {
|
|
94672
94411
|
return "tag:yaml.org,2002:seq";
|
|
@@ -94749,7 +94488,7 @@ function asItemIndex(key2) {
|
|
|
94749
94488
|
return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
|
|
94750
94489
|
}
|
|
94751
94490
|
|
|
94752
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94491
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.js
|
|
94753
94492
|
var seq = {
|
|
94754
94493
|
collection: "seq",
|
|
94755
94494
|
default: true,
|
|
@@ -94763,7 +94502,7 @@ var seq = {
|
|
|
94763
94502
|
createNode: (schema2, obj, ctx) => YAMLSeq.from(schema2, obj, ctx)
|
|
94764
94503
|
};
|
|
94765
94504
|
|
|
94766
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94505
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.js
|
|
94767
94506
|
var string4 = {
|
|
94768
94507
|
identify: (value) => typeof value === "string",
|
|
94769
94508
|
default: true,
|
|
@@ -94775,7 +94514,7 @@ var string4 = {
|
|
|
94775
94514
|
}
|
|
94776
94515
|
};
|
|
94777
94516
|
|
|
94778
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94517
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.js
|
|
94779
94518
|
var nullTag = {
|
|
94780
94519
|
identify: (value) => value == null,
|
|
94781
94520
|
createNode: () => new Scalar(null),
|
|
@@ -94786,7 +94525,7 @@ var nullTag = {
|
|
|
94786
94525
|
stringify: ({ source: source2 }, ctx) => typeof source2 === "string" && nullTag.test.test(source2) ? source2 : ctx.options.nullStr
|
|
94787
94526
|
};
|
|
94788
94527
|
|
|
94789
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94528
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.js
|
|
94790
94529
|
var boolTag = {
|
|
94791
94530
|
identify: (value) => typeof value === "boolean",
|
|
94792
94531
|
default: true,
|
|
@@ -94803,7 +94542,7 @@ var boolTag = {
|
|
|
94803
94542
|
}
|
|
94804
94543
|
};
|
|
94805
94544
|
|
|
94806
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94545
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.js
|
|
94807
94546
|
function stringifyNumber({ format: format3, minFractionDigits, tag, value }) {
|
|
94808
94547
|
if (typeof value === "bigint")
|
|
94809
94548
|
return String(value);
|
|
@@ -94824,7 +94563,7 @@ function stringifyNumber({ format: format3, minFractionDigits, tag, value }) {
|
|
|
94824
94563
|
return n3;
|
|
94825
94564
|
}
|
|
94826
94565
|
|
|
94827
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94566
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.js
|
|
94828
94567
|
var floatNaN = {
|
|
94829
94568
|
identify: (value) => typeof value === "number",
|
|
94830
94569
|
default: true,
|
|
@@ -94860,7 +94599,7 @@ var float = {
|
|
|
94860
94599
|
stringify: stringifyNumber
|
|
94861
94600
|
};
|
|
94862
94601
|
|
|
94863
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94602
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.js
|
|
94864
94603
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
94865
94604
|
var intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
|
|
94866
94605
|
function intStringify(node, radix, prefix) {
|
|
@@ -94896,7 +94635,7 @@ var intHex = {
|
|
|
94896
94635
|
stringify: (node) => intStringify(node, 16, "0x")
|
|
94897
94636
|
};
|
|
94898
94637
|
|
|
94899
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94638
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.js
|
|
94900
94639
|
var schema2 = [
|
|
94901
94640
|
map2,
|
|
94902
94641
|
seq,
|
|
@@ -94911,7 +94650,7 @@ var schema2 = [
|
|
|
94911
94650
|
float
|
|
94912
94651
|
];
|
|
94913
94652
|
|
|
94914
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94653
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.js
|
|
94915
94654
|
function intIdentify2(value) {
|
|
94916
94655
|
return typeof value === "bigint" || Number.isInteger(value);
|
|
94917
94656
|
}
|
|
@@ -94969,7 +94708,7 @@ var jsonError = {
|
|
|
94969
94708
|
};
|
|
94970
94709
|
var schema3 = [map2, seq].concat(jsonScalars, jsonError);
|
|
94971
94710
|
|
|
94972
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94711
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
|
|
94973
94712
|
var binary = {
|
|
94974
94713
|
identify: (value) => value instanceof Uint8Array,
|
|
94975
94714
|
default: false,
|
|
@@ -95014,7 +94753,7 @@ var binary = {
|
|
|
95014
94753
|
}
|
|
95015
94754
|
};
|
|
95016
94755
|
|
|
95017
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94756
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js
|
|
95018
94757
|
function resolvePairs(seq2, onError) {
|
|
95019
94758
|
if (isSeq(seq2)) {
|
|
95020
94759
|
for (let i4 = 0;i4 < seq2.items.length; ++i4) {
|
|
@@ -95080,7 +94819,7 @@ var pairs = {
|
|
|
95080
94819
|
createNode: createPairs
|
|
95081
94820
|
};
|
|
95082
94821
|
|
|
95083
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94822
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
|
|
95084
94823
|
class YAMLOMap extends YAMLSeq {
|
|
95085
94824
|
constructor() {
|
|
95086
94825
|
super();
|
|
@@ -95142,7 +94881,7 @@ var omap = {
|
|
|
95142
94881
|
createNode: (schema4, iterable, ctx) => YAMLOMap.from(schema4, iterable, ctx)
|
|
95143
94882
|
};
|
|
95144
94883
|
|
|
95145
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94884
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
|
|
95146
94885
|
function boolStringify({ value, source: source2 }, ctx) {
|
|
95147
94886
|
const boolObj = value ? trueTag : falseTag;
|
|
95148
94887
|
if (source2 && boolObj.test.test(source2))
|
|
@@ -95166,7 +94905,7 @@ var falseTag = {
|
|
|
95166
94905
|
stringify: boolStringify
|
|
95167
94906
|
};
|
|
95168
94907
|
|
|
95169
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94908
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
|
|
95170
94909
|
var floatNaN2 = {
|
|
95171
94910
|
identify: (value) => typeof value === "number",
|
|
95172
94911
|
default: true,
|
|
@@ -95205,7 +94944,7 @@ var float2 = {
|
|
|
95205
94944
|
stringify: stringifyNumber
|
|
95206
94945
|
};
|
|
95207
94946
|
|
|
95208
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
94947
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
|
|
95209
94948
|
var intIdentify3 = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
95210
94949
|
function intResolve2(str, offset, radix, { intAsBigInt }) {
|
|
95211
94950
|
const sign2 = str[0];
|
|
@@ -95274,7 +95013,7 @@ var intHex2 = {
|
|
|
95274
95013
|
stringify: (node) => intStringify2(node, 16, "0x")
|
|
95275
95014
|
};
|
|
95276
95015
|
|
|
95277
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95016
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js
|
|
95278
95017
|
class YAMLSet extends YAMLMap {
|
|
95279
95018
|
constructor(schema4) {
|
|
95280
95019
|
super(schema4);
|
|
@@ -95349,7 +95088,7 @@ var set2 = {
|
|
|
95349
95088
|
}
|
|
95350
95089
|
};
|
|
95351
95090
|
|
|
95352
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95091
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js
|
|
95353
95092
|
function parseSexagesimal(str, asBigInt) {
|
|
95354
95093
|
const sign2 = str[0];
|
|
95355
95094
|
const parts = sign2 === "-" || sign2 === "+" ? str.substring(1) : str;
|
|
@@ -95425,7 +95164,7 @@ var timestamp3 = {
|
|
|
95425
95164
|
stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
|
|
95426
95165
|
};
|
|
95427
95166
|
|
|
95428
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95167
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js
|
|
95429
95168
|
var schema4 = [
|
|
95430
95169
|
map2,
|
|
95431
95170
|
seq,
|
|
@@ -95450,7 +95189,7 @@ var schema4 = [
|
|
|
95450
95189
|
timestamp3
|
|
95451
95190
|
];
|
|
95452
95191
|
|
|
95453
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95192
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.js
|
|
95454
95193
|
var schemas3 = new Map([
|
|
95455
95194
|
["core", schema2],
|
|
95456
95195
|
["failsafe", [map2, seq, string4]],
|
|
@@ -95521,7 +95260,7 @@ function getTags(customTags, schemaName, addMergeTag) {
|
|
|
95521
95260
|
}, []);
|
|
95522
95261
|
}
|
|
95523
95262
|
|
|
95524
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95263
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.js
|
|
95525
95264
|
var sortMapEntriesByKey = (a2, b) => a2.key < b.key ? -1 : a2.key > b.key ? 1 : 0;
|
|
95526
95265
|
|
|
95527
95266
|
class Schema {
|
|
@@ -95543,7 +95282,7 @@ class Schema {
|
|
|
95543
95282
|
}
|
|
95544
95283
|
}
|
|
95545
95284
|
|
|
95546
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95285
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.js
|
|
95547
95286
|
function stringifyDocument(doc2, options) {
|
|
95548
95287
|
const lines = [];
|
|
95549
95288
|
let hasDirectives = options.directives === true;
|
|
@@ -95617,7 +95356,7 @@ function stringifyDocument(doc2, options) {
|
|
|
95617
95356
|
`;
|
|
95618
95357
|
}
|
|
95619
95358
|
|
|
95620
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95359
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.js
|
|
95621
95360
|
class Document2 {
|
|
95622
95361
|
constructor(value, replacer, options) {
|
|
95623
95362
|
this.commentBefore = null;
|
|
@@ -95837,7 +95576,7 @@ function assertCollection(contents) {
|
|
|
95837
95576
|
throw new Error("Expected a YAML collection as document contents");
|
|
95838
95577
|
}
|
|
95839
95578
|
|
|
95840
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95579
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/errors.js
|
|
95841
95580
|
class YAMLError extends Error {
|
|
95842
95581
|
constructor(name, pos2, code2, message2) {
|
|
95843
95582
|
super();
|
|
@@ -95896,7 +95635,7 @@ ${pointer}
|
|
|
95896
95635
|
}
|
|
95897
95636
|
};
|
|
95898
95637
|
|
|
95899
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95638
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.js
|
|
95900
95639
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
95901
95640
|
let spaceBefore = false;
|
|
95902
95641
|
let atNewline = startOnNewline;
|
|
@@ -96023,7 +95762,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn
|
|
|
96023
95762
|
};
|
|
96024
95763
|
}
|
|
96025
95764
|
|
|
96026
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95765
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.js
|
|
96027
95766
|
function containsNewline(key2) {
|
|
96028
95767
|
if (!key2)
|
|
96029
95768
|
return null;
|
|
@@ -96060,7 +95799,7 @@ function containsNewline(key2) {
|
|
|
96060
95799
|
}
|
|
96061
95800
|
}
|
|
96062
95801
|
|
|
96063
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95802
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
|
|
96064
95803
|
function flowIndentCheck(indent, fc, onError) {
|
|
96065
95804
|
if (fc?.type === "flow-collection") {
|
|
96066
95805
|
const end = fc.end[0];
|
|
@@ -96071,7 +95810,7 @@ function flowIndentCheck(indent, fc, onError) {
|
|
|
96071
95810
|
}
|
|
96072
95811
|
}
|
|
96073
95812
|
|
|
96074
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95813
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.js
|
|
96075
95814
|
function mapIncludes(ctx, items, search) {
|
|
96076
95815
|
const { uniqueKeys } = ctx.options;
|
|
96077
95816
|
if (uniqueKeys === false)
|
|
@@ -96080,7 +95819,7 @@ function mapIncludes(ctx, items, search) {
|
|
|
96080
95819
|
return items.some((pair) => isEqual(pair.key, search));
|
|
96081
95820
|
}
|
|
96082
95821
|
|
|
96083
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95822
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.js
|
|
96084
95823
|
var startColMsg = "All mapping items must start at the same column";
|
|
96085
95824
|
function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {
|
|
96086
95825
|
const NodeClass = tag?.nodeClass ?? YAMLMap;
|
|
@@ -96178,7 +95917,7 @@ function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, ta
|
|
|
96178
95917
|
return map3;
|
|
96179
95918
|
}
|
|
96180
95919
|
|
|
96181
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95920
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.js
|
|
96182
95921
|
function resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, tag) {
|
|
96183
95922
|
const NodeClass = tag?.nodeClass ?? YAMLSeq;
|
|
96184
95923
|
const seq2 = new NodeClass(ctx.schema);
|
|
@@ -96220,7 +95959,7 @@ function resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, ta
|
|
|
96220
95959
|
return seq2;
|
|
96221
95960
|
}
|
|
96222
95961
|
|
|
96223
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95962
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.js
|
|
96224
95963
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
96225
95964
|
let comment = "";
|
|
96226
95965
|
if (end) {
|
|
@@ -96257,7 +95996,7 @@ function resolveEnd(end, offset, reqSpace, onError) {
|
|
|
96257
95996
|
return { comment, offset };
|
|
96258
95997
|
}
|
|
96259
95998
|
|
|
96260
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
95999
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
|
|
96261
96000
|
var blockMsg = "Block collections are not allowed within flow collections";
|
|
96262
96001
|
var isBlock = (token2) => token2 && (token2.type === "block-map" || token2.type === "block-seq");
|
|
96263
96002
|
function resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onError, tag) {
|
|
@@ -96437,7 +96176,7 @@ function resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onErr
|
|
|
96437
96176
|
return coll;
|
|
96438
96177
|
}
|
|
96439
96178
|
|
|
96440
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96179
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.js
|
|
96441
96180
|
function resolveCollection(CN, ctx, token2, onError, tagName, tag) {
|
|
96442
96181
|
const coll = token2.type === "block-map" ? resolveBlockMap(CN, ctx, token2, onError, tag) : token2.type === "block-seq" ? resolveBlockSeq(CN, ctx, token2, onError, tag) : resolveFlowCollection(CN, ctx, token2, onError, tag);
|
|
96443
96182
|
const Coll = coll.constructor;
|
|
@@ -96489,7 +96228,7 @@ function composeCollection(CN, ctx, token2, props, onError) {
|
|
|
96489
96228
|
return node;
|
|
96490
96229
|
}
|
|
96491
96230
|
|
|
96492
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96231
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
|
|
96493
96232
|
function resolveBlockScalar(ctx, scalar2, onError) {
|
|
96494
96233
|
const start = scalar2.offset;
|
|
96495
96234
|
const header = parseBlockScalarHeader(scalar2, ctx.options.strict, onError);
|
|
@@ -96678,7 +96417,7 @@ function splitLines(source2) {
|
|
|
96678
96417
|
return lines;
|
|
96679
96418
|
}
|
|
96680
96419
|
|
|
96681
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96420
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
|
|
96682
96421
|
function resolveFlowScalar(scalar2, strict, onError) {
|
|
96683
96422
|
const { offset, type: type2, source: source2, end } = scalar2;
|
|
96684
96423
|
let _type;
|
|
@@ -96889,7 +96628,7 @@ function parseCharCode(source2, offset, length, onError) {
|
|
|
96889
96628
|
return String.fromCodePoint(code2);
|
|
96890
96629
|
}
|
|
96891
96630
|
|
|
96892
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96631
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.js
|
|
96893
96632
|
function composeScalar(ctx, token2, tagToken, onError) {
|
|
96894
96633
|
const { value, type: type2, comment, range } = token2.type === "block-scalar" ? resolveBlockScalar(ctx, token2, onError) : resolveFlowScalar(token2, ctx.options.strict, onError);
|
|
96895
96634
|
const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null;
|
|
@@ -96960,7 +96699,7 @@ function findScalarTagByTest({ atKey, directives, schema: schema5 }, value, toke
|
|
|
96960
96699
|
return tag;
|
|
96961
96700
|
}
|
|
96962
96701
|
|
|
96963
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96702
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
|
|
96964
96703
|
function emptyScalarPosition(offset, before, pos2) {
|
|
96965
96704
|
if (before) {
|
|
96966
96705
|
pos2 ?? (pos2 = before.length);
|
|
@@ -96984,7 +96723,7 @@ function emptyScalarPosition(offset, before, pos2) {
|
|
|
96984
96723
|
return offset;
|
|
96985
96724
|
}
|
|
96986
96725
|
|
|
96987
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96726
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.js
|
|
96988
96727
|
var CN = { composeNode, composeEmptyNode };
|
|
96989
96728
|
function composeNode(ctx, token2, props, onError) {
|
|
96990
96729
|
const atKey = ctx.atKey;
|
|
@@ -97008,22 +96747,17 @@ function composeNode(ctx, token2, props, onError) {
|
|
|
97008
96747
|
case "block-map":
|
|
97009
96748
|
case "block-seq":
|
|
97010
96749
|
case "flow-collection":
|
|
97011
|
-
|
|
97012
|
-
|
|
97013
|
-
|
|
97014
|
-
node.anchor = anchor.source.substring(1);
|
|
97015
|
-
} catch (error48) {
|
|
97016
|
-
const message2 = error48 instanceof Error ? error48.message : String(error48);
|
|
97017
|
-
onError(token2, "RESOURCE_EXHAUSTION", message2);
|
|
97018
|
-
}
|
|
96750
|
+
node = composeCollection(CN, ctx, token2, props, onError);
|
|
96751
|
+
if (anchor)
|
|
96752
|
+
node.anchor = anchor.source.substring(1);
|
|
97019
96753
|
break;
|
|
97020
96754
|
default: {
|
|
97021
96755
|
const message2 = token2.type === "error" ? token2.message : `Unsupported token (type: ${token2.type})`;
|
|
97022
96756
|
onError(token2, "UNEXPECTED_TOKEN", message2);
|
|
96757
|
+
node = composeEmptyNode(ctx, token2.offset, undefined, null, props, onError);
|
|
97023
96758
|
isSrcToken = false;
|
|
97024
96759
|
}
|
|
97025
96760
|
}
|
|
97026
|
-
node ?? (node = composeEmptyNode(ctx, token2.offset, undefined, null, props, onError));
|
|
97027
96761
|
if (anchor && node.anchor === "")
|
|
97028
96762
|
onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
|
|
97029
96763
|
if (atKey && ctx.options.stringKeys && (!isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) {
|
|
@@ -97077,7 +96811,7 @@ function composeAlias({ options }, { offset, source: source2, end }, onError) {
|
|
|
97077
96811
|
return alias;
|
|
97078
96812
|
}
|
|
97079
96813
|
|
|
97080
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96814
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.js
|
|
97081
96815
|
function composeDoc(options, directives, { offset, start, value, end }, onError) {
|
|
97082
96816
|
const opts = Object.assign({ _directives: directives }, options);
|
|
97083
96817
|
const doc2 = new Document2(undefined, opts);
|
|
@@ -97110,7 +96844,7 @@ function composeDoc(options, directives, { offset, start, value, end }, onError)
|
|
|
97110
96844
|
return doc2;
|
|
97111
96845
|
}
|
|
97112
96846
|
|
|
97113
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
96847
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.js
|
|
97114
96848
|
function getErrorPos(src) {
|
|
97115
96849
|
if (typeof src === "number")
|
|
97116
96850
|
return [src, src + 1];
|
|
@@ -97286,7 +97020,7 @@ ${end.comment}` : end.comment;
|
|
|
97286
97020
|
}
|
|
97287
97021
|
}
|
|
97288
97022
|
}
|
|
97289
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97023
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js
|
|
97290
97024
|
var exports_cst = {};
|
|
97291
97025
|
__export(exports_cst, {
|
|
97292
97026
|
visit: () => visit2,
|
|
@@ -97304,7 +97038,7 @@ __export(exports_cst, {
|
|
|
97304
97038
|
BOM: () => BOM
|
|
97305
97039
|
});
|
|
97306
97040
|
|
|
97307
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97041
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst-scalar.js
|
|
97308
97042
|
function resolveAsScalar(token2, strict = true, onError) {
|
|
97309
97043
|
if (token2) {
|
|
97310
97044
|
const _onError = (pos2, code2, message2) => {
|
|
@@ -97484,7 +97218,7 @@ function setFlowScalarValue(token2, source2, type2) {
|
|
|
97484
97218
|
}
|
|
97485
97219
|
}
|
|
97486
97220
|
}
|
|
97487
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97221
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst-stringify.js
|
|
97488
97222
|
var stringify4 = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
97489
97223
|
function stringifyToken(token2) {
|
|
97490
97224
|
switch (token2.type) {
|
|
@@ -97538,7 +97272,7 @@ function stringifyItem({ start, key: key2, sep: sep2, value }) {
|
|
|
97538
97272
|
res += stringifyToken(value);
|
|
97539
97273
|
return res;
|
|
97540
97274
|
}
|
|
97541
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97275
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst-visit.js
|
|
97542
97276
|
var BREAK2 = Symbol("break visit");
|
|
97543
97277
|
var SKIP2 = Symbol("skip children");
|
|
97544
97278
|
var REMOVE2 = Symbol("remove item");
|
|
@@ -97594,7 +97328,7 @@ function _visit(path2, item, visitor) {
|
|
|
97594
97328
|
return typeof ctrl === "function" ? ctrl(item, path2) : ctrl;
|
|
97595
97329
|
}
|
|
97596
97330
|
|
|
97597
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97331
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js
|
|
97598
97332
|
var BOM = "\uFEFF";
|
|
97599
97333
|
var DOCUMENT = "\x02";
|
|
97600
97334
|
var FLOW_END = "\x18";
|
|
@@ -97677,7 +97411,7 @@ function tokenType(source2) {
|
|
|
97677
97411
|
return null;
|
|
97678
97412
|
}
|
|
97679
97413
|
|
|
97680
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97414
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.js
|
|
97681
97415
|
function isEmpty(ch) {
|
|
97682
97416
|
switch (ch) {
|
|
97683
97417
|
case undefined:
|
|
@@ -98258,7 +97992,7 @@ class Lexer {
|
|
|
98258
97992
|
return yield* this.pushToIndex(i4, false);
|
|
98259
97993
|
}
|
|
98260
97994
|
}
|
|
98261
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
97995
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.js
|
|
98262
97996
|
class LineCounter {
|
|
98263
97997
|
constructor() {
|
|
98264
97998
|
this.lineStarts = [];
|
|
@@ -98282,7 +98016,7 @@ class LineCounter {
|
|
|
98282
98016
|
};
|
|
98283
98017
|
}
|
|
98284
98018
|
}
|
|
98285
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
98019
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.js
|
|
98286
98020
|
function includesToken(list, type2) {
|
|
98287
98021
|
for (let i4 = 0;i4 < list.length; ++i4)
|
|
98288
98022
|
if (list[i4].type === type2)
|
|
@@ -99122,7 +98856,7 @@ class Parser {
|
|
|
99122
98856
|
}
|
|
99123
98857
|
}
|
|
99124
98858
|
}
|
|
99125
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
98859
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.js
|
|
99126
98860
|
function parseOptions(options) {
|
|
99127
98861
|
const prettyErrors = options.prettyErrors !== false;
|
|
99128
98862
|
const lineCounter = options.lineCounter || prettyErrors && new LineCounter || null;
|
|
@@ -99202,7 +98936,7 @@ function stringify5(value, replacer, options) {
|
|
|
99202
98936
|
return value.toString(options);
|
|
99203
98937
|
return new Document2(value, _replacer, options).toString(options);
|
|
99204
98938
|
}
|
|
99205
|
-
// ../../node_modules/.bun/yaml@2.8.
|
|
98939
|
+
// ../../node_modules/.bun/yaml@2.8.2/node_modules/yaml/browser/index.js
|
|
99206
98940
|
var browser_default = exports_dist;
|
|
99207
98941
|
|
|
99208
98942
|
// src/markdown/frontmatter.ts
|
|
@@ -108675,12 +108409,35 @@ class DefaultMessageService {
|
|
|
108675
108409
|
if (parsedXml) {
|
|
108676
108410
|
streamingExtractor?.markComplete();
|
|
108677
108411
|
const normalizedActions = (() => {
|
|
108412
|
+
if (typeof parsedXml.actions === "string") {
|
|
108413
|
+
const actionsXml = parsedXml.actions;
|
|
108414
|
+
if (actionsXml.includes("<action>") || actionsXml.includes("<action ")) {
|
|
108415
|
+
const actionEntries = [];
|
|
108416
|
+
for (const match2 of actionsXml.matchAll(/<action>([\s\S]*?)<\/action>/g)) {
|
|
108417
|
+
const inner = match2[1];
|
|
108418
|
+
const nameMatch = inner.match(/<name>([\s\S]*?)<\/name>/);
|
|
108419
|
+
const paramsMatch = inner.match(/<params>([\s\S]*?)<\/params>/);
|
|
108420
|
+
if (nameMatch) {
|
|
108421
|
+
const name = nameMatch[1].trim();
|
|
108422
|
+
const paramsXml = paramsMatch ? paramsMatch[1].trim() : undefined;
|
|
108423
|
+
if (name)
|
|
108424
|
+
actionEntries.push({ name, paramsXml });
|
|
108425
|
+
}
|
|
108426
|
+
}
|
|
108427
|
+
if (actionEntries.length > 0) {
|
|
108428
|
+
const inlineParamsXml = actionEntries.filter((e2) => e2.paramsXml).map((e2) => `<${e2.name.toUpperCase()}>${e2.paramsXml}</${e2.name.toUpperCase()}>`).join(`
|
|
108429
|
+
`);
|
|
108430
|
+
if (inlineParamsXml && (!parsedXml.params || parsedXml.params === "")) {
|
|
108431
|
+
parsedXml.params = inlineParamsXml;
|
|
108432
|
+
}
|
|
108433
|
+
return actionEntries.map((e2) => e2.name);
|
|
108434
|
+
}
|
|
108435
|
+
}
|
|
108436
|
+
return actionsXml.split(",").map((action) => String(action).trim()).filter((action) => action.length > 0);
|
|
108437
|
+
}
|
|
108678
108438
|
if (Array.isArray(parsedXml.actions)) {
|
|
108679
108439
|
return parsedXml.actions;
|
|
108680
108440
|
}
|
|
108681
|
-
if (typeof parsedXml.actions === "string") {
|
|
108682
|
-
return parsedXml.actions.split(",").map((action) => String(action).trim()).filter((action) => action.length > 0);
|
|
108683
|
-
}
|
|
108684
108441
|
return [];
|
|
108685
108442
|
})();
|
|
108686
108443
|
const finalActions = !runtime2.isActionPlanningEnabled() && normalizedActions.length > 1 ? [normalizedActions[0]] : normalizedActions;
|
|
@@ -118628,5 +118385,5 @@ export {
|
|
|
118628
118385
|
ADD_CONTACT_TEMPLATE
|
|
118629
118386
|
};
|
|
118630
118387
|
|
|
118631
|
-
//# debugId=
|
|
118388
|
+
//# debugId=4A476CBD0404AF7A64756E2164756E21
|
|
118632
118389
|
//# sourceMappingURL=index.edge.js.map
|