@almadar/std 16.243.0 → 16.244.1
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/behaviors/behaviors-registry.json +72537 -31220
- package/behaviors/lolo/agent/atoms/std-agent-context.lolo +24 -4
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +20 -5
- package/behaviors/lolo/agent/atoms/std-agent-proposal.lolo +550 -0
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +284 -25
- package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +841 -0
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +58 -8
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +1 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +28 -1
- package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +22 -0
- package/behaviors/lolo/ui/avl/atoms/ui-avl-transition-explainer.lolo +175 -0
- package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +22 -0
- package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +23 -4
- package/behaviors/lolo/ui/core/atoms/std-hero.lolo +72 -33
- package/behaviors/lolo/ui/core/molecules/ui-agent-chat-feed.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-markdown-content.lolo +54 -0
- package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +5 -0
- package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +127 -3
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +22 -0
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +2 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +87 -17
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +172 -37
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +183 -70
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +78 -13
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +58 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +107 -12
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +83 -10
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +130 -9
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +143 -59
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +96 -22
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +66 -5
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +84 -6
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +80 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +99 -5
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +81 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +83 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +224 -99
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +63 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +99 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +7 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +69 -4
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-context.orb +205 -6
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +146 -4
- package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1972 -0
- package/behaviors/registry/agent/atoms/std-agent-session.orb +2021 -597
- package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +5079 -0
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +287 -5
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +7 -0
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-treat.orb +327 -2
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +134 -0
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +678 -0
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +122 -0
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +73 -4
- package/behaviors/registry/ui/core/atoms/std-hero.orb +174 -97
- package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +204 -1
- package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +12 -0
- package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +683 -30
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +748 -21
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1429 -41
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1031 -185
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +807 -132
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +553 -6
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +987 -21
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +582 -16
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +954 -13
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +828 -88
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +730 -28
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +479 -9
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +797 -46
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +757 -58
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1176 -164
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +599 -12
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +832 -150
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1561 -127
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +655 -6
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +634 -43
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +85 -31
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +425 -9
- package/canonical-operators.json +45 -2
- package/dist/behaviors/exports-reader.js +16667 -7868
- package/dist/behaviors/functions/index.d.ts +711 -32
- package/dist/behaviors/functions/index.js +16651 -7869
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +16668 -7869
- package/dist/behaviors/query.js +16667 -7868
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +77 -53
- package/dist/behaviors-registry.json +72537 -31220
- package/dist/index.d.ts +3 -3
- package/dist/index.js +16101 -7275
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +11617 -1225
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +29 -2
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/i18n.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +29 -2
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +2 -2
- package/dist/registry.js +29 -2
- package/dist/{types-Cdb321uM.d.ts → types-Y-yYWEOX.d.ts} +1 -1
- package/i18n/ar.json +3 -1
- package/i18n/en.json +2 -0
- package/i18n/sl.json +3 -1
- package/package.json +3 -3
|
@@ -123,6 +123,47 @@
|
|
|
123
123
|
"name": "lastSize",
|
|
124
124
|
"synonyms": "size, length",
|
|
125
125
|
"type": "number"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"default": "",
|
|
129
|
+
"description": "The ephemeral conversation's own instructions, carried through a summarizing.",
|
|
130
|
+
"name": "pendingInstructions",
|
|
131
|
+
"type": "string"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"default": [],
|
|
135
|
+
"description": "The ephemeral conversation's own tools, carried through a summarizing.",
|
|
136
|
+
"items": {
|
|
137
|
+
"properties": {
|
|
138
|
+
"event": {
|
|
139
|
+
"name": "event",
|
|
140
|
+
"required": false,
|
|
141
|
+
"type": "event"
|
|
142
|
+
},
|
|
143
|
+
"read": {
|
|
144
|
+
"name": "read",
|
|
145
|
+
"required": false,
|
|
146
|
+
"type": "string"
|
|
147
|
+
},
|
|
148
|
+
"scope": {
|
|
149
|
+
"name": "scope",
|
|
150
|
+
"required": false,
|
|
151
|
+
"type": "string",
|
|
152
|
+
"values": [
|
|
153
|
+
"declared"
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"type": "object"
|
|
158
|
+
},
|
|
159
|
+
"name": "pendingTools",
|
|
160
|
+
"type": "array"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"default": false,
|
|
164
|
+
"description": "The conversation being compacted is ephemeral.",
|
|
165
|
+
"name": "pendingEphemeral",
|
|
166
|
+
"type": "boolean"
|
|
126
167
|
}
|
|
127
168
|
],
|
|
128
169
|
"id": "ent_01M3TYMQJMGY8DD73YX22WEW07",
|
|
@@ -174,14 +215,26 @@
|
|
|
174
215
|
"kind": "set",
|
|
175
216
|
"resource": "@entity.lastSize"
|
|
176
217
|
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "set",
|
|
220
|
+
"resource": "@entity.pendingEphemeral"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"kind": "set",
|
|
224
|
+
"resource": "@entity.pendingInstructions"
|
|
225
|
+
},
|
|
177
226
|
{
|
|
178
227
|
"kind": "set",
|
|
179
228
|
"resource": "@entity.pendingMessages"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "set",
|
|
232
|
+
"resource": "@entity.pendingTools"
|
|
180
233
|
}
|
|
181
234
|
],
|
|
182
235
|
"emits": [
|
|
183
236
|
{
|
|
184
|
-
"description": "The conversation, bounded: recent turns verbatim, older turns as one summary note.",
|
|
237
|
+
"description": "The conversation, bounded: recent turns verbatim, older turns as one summary note. An ephemeral conversation's own `instructions`, `tools` and `ephemeral` flag pass through untouched.",
|
|
185
238
|
"event": "COMPACTED",
|
|
186
239
|
"eventId": "evt_01M3TYMQJM2ZA1HG90KARCHVXQ",
|
|
187
240
|
"payloadSchema": [
|
|
@@ -201,6 +254,33 @@
|
|
|
201
254
|
],
|
|
202
255
|
"required": true,
|
|
203
256
|
"type": "[object]"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "instructions",
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"entity": "AgentTool",
|
|
264
|
+
"name": "tools",
|
|
265
|
+
"properties": [
|
|
266
|
+
{
|
|
267
|
+
"name": "event",
|
|
268
|
+
"type": "event"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "read",
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "scope",
|
|
276
|
+
"type": "string"
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"type": "[object]"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "ephemeral",
|
|
283
|
+
"type": "boolean"
|
|
204
284
|
}
|
|
205
285
|
],
|
|
206
286
|
"scope": "external",
|
|
@@ -252,7 +332,7 @@
|
|
|
252
332
|
"name": "Initialize"
|
|
253
333
|
},
|
|
254
334
|
{
|
|
255
|
-
"description": "Bound this conversation for the model.",
|
|
335
|
+
"description": "Bound this conversation for the model. An ephemeral conversation's own `instructions`, `tools` and `ephemeral` flag ride along.",
|
|
256
336
|
"id": "evt_01M3TYMQJMSZDFZ983H5ZFRA80",
|
|
257
337
|
"key": "COMPACT",
|
|
258
338
|
"name": "Compact",
|
|
@@ -272,6 +352,32 @@
|
|
|
272
352
|
],
|
|
273
353
|
"required": true,
|
|
274
354
|
"type": "[object]"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "instructions",
|
|
358
|
+
"type": "string"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"name": "tools",
|
|
362
|
+
"properties": [
|
|
363
|
+
{
|
|
364
|
+
"name": "event",
|
|
365
|
+
"type": "event"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "read",
|
|
369
|
+
"type": "string"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "scope",
|
|
373
|
+
"type": "string"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"type": "[object]"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "ephemeral",
|
|
380
|
+
"type": "boolean"
|
|
275
381
|
}
|
|
276
382
|
]
|
|
277
383
|
},
|
|
@@ -304,7 +410,7 @@
|
|
|
304
410
|
"tier": "internal"
|
|
305
411
|
},
|
|
306
412
|
{
|
|
307
|
-
"description": "The conversation, bounded: recent turns verbatim, older turns as one summary note.",
|
|
413
|
+
"description": "The conversation, bounded: recent turns verbatim, older turns as one summary note. An ephemeral conversation's own `instructions`, `tools` and `ephemeral` flag pass through untouched.",
|
|
308
414
|
"id": "evt_01M3TYMQJM2ZA1HG90KARCHVXQ",
|
|
309
415
|
"key": "COMPACTED",
|
|
310
416
|
"name": "Compacted",
|
|
@@ -325,6 +431,33 @@
|
|
|
325
431
|
],
|
|
326
432
|
"required": true,
|
|
327
433
|
"type": "[object]"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "instructions",
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"entity": "AgentTool",
|
|
441
|
+
"name": "tools",
|
|
442
|
+
"properties": [
|
|
443
|
+
{
|
|
444
|
+
"name": "event",
|
|
445
|
+
"type": "event"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "read",
|
|
449
|
+
"type": "string"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "scope",
|
|
453
|
+
"type": "string"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"type": "[object]"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "ephemeral",
|
|
460
|
+
"type": "boolean"
|
|
328
461
|
}
|
|
329
462
|
],
|
|
330
463
|
"synonyms": "compacted, trimmed, bounded",
|
|
@@ -368,7 +501,24 @@
|
|
|
368
501
|
"emit",
|
|
369
502
|
"COMPACTED",
|
|
370
503
|
{
|
|
371
|
-
"
|
|
504
|
+
"ephemeral": [
|
|
505
|
+
"if",
|
|
506
|
+
"@payload.ephemeral",
|
|
507
|
+
true,
|
|
508
|
+
false
|
|
509
|
+
],
|
|
510
|
+
"instructions": [
|
|
511
|
+
"str/default",
|
|
512
|
+
"@payload.instructions",
|
|
513
|
+
""
|
|
514
|
+
],
|
|
515
|
+
"messages": "@payload.messages",
|
|
516
|
+
"tools": [
|
|
517
|
+
"object/get",
|
|
518
|
+
"@payload",
|
|
519
|
+
"tools",
|
|
520
|
+
[]
|
|
521
|
+
]
|
|
372
522
|
}
|
|
373
523
|
]
|
|
374
524
|
],
|
|
@@ -400,6 +550,35 @@
|
|
|
400
550
|
"@entity.pendingMessages",
|
|
401
551
|
"@payload.messages"
|
|
402
552
|
],
|
|
553
|
+
[
|
|
554
|
+
"set",
|
|
555
|
+
"@entity.pendingInstructions",
|
|
556
|
+
[
|
|
557
|
+
"str/default",
|
|
558
|
+
"@payload.instructions",
|
|
559
|
+
""
|
|
560
|
+
]
|
|
561
|
+
],
|
|
562
|
+
[
|
|
563
|
+
"set",
|
|
564
|
+
"@entity.pendingTools",
|
|
565
|
+
[
|
|
566
|
+
"object/get",
|
|
567
|
+
"@payload",
|
|
568
|
+
"tools",
|
|
569
|
+
[]
|
|
570
|
+
]
|
|
571
|
+
],
|
|
572
|
+
[
|
|
573
|
+
"set",
|
|
574
|
+
"@entity.pendingEphemeral",
|
|
575
|
+
[
|
|
576
|
+
"if",
|
|
577
|
+
"@payload.ephemeral",
|
|
578
|
+
true,
|
|
579
|
+
false
|
|
580
|
+
]
|
|
581
|
+
],
|
|
403
582
|
[
|
|
404
583
|
"call-service",
|
|
405
584
|
"llm",
|
|
@@ -455,6 +634,8 @@
|
|
|
455
634
|
"emit",
|
|
456
635
|
"COMPACTED",
|
|
457
636
|
{
|
|
637
|
+
"ephemeral": "@entity.pendingEphemeral",
|
|
638
|
+
"instructions": "@entity.pendingInstructions",
|
|
458
639
|
"messages": [
|
|
459
640
|
"array/prepend",
|
|
460
641
|
[
|
|
@@ -470,7 +651,8 @@
|
|
|
470
651
|
],
|
|
471
652
|
"role": "assistant"
|
|
472
653
|
}
|
|
473
|
-
]
|
|
654
|
+
],
|
|
655
|
+
"tools": "@entity.pendingTools"
|
|
474
656
|
}
|
|
475
657
|
]
|
|
476
658
|
],
|
|
@@ -485,11 +667,14 @@
|
|
|
485
667
|
"emit",
|
|
486
668
|
"COMPACTED",
|
|
487
669
|
{
|
|
670
|
+
"ephemeral": "@entity.pendingEphemeral",
|
|
671
|
+
"instructions": "@entity.pendingInstructions",
|
|
488
672
|
"messages": [
|
|
489
673
|
"array/takeLast",
|
|
490
674
|
"@entity.pendingMessages",
|
|
491
675
|
"@config.keepMessages"
|
|
492
|
-
]
|
|
676
|
+
],
|
|
677
|
+
"tools": "@entity.pendingTools"
|
|
493
678
|
}
|
|
494
679
|
],
|
|
495
680
|
[
|
|
@@ -522,6 +707,20 @@
|
|
|
522
707
|
"required": true,
|
|
523
708
|
"type": "string"
|
|
524
709
|
}
|
|
710
|
+
],
|
|
711
|
+
"AgentTool": [
|
|
712
|
+
{
|
|
713
|
+
"name": "event",
|
|
714
|
+
"type": "event"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "read",
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "scope",
|
|
722
|
+
"type": "string"
|
|
723
|
+
}
|
|
525
724
|
]
|
|
526
725
|
}
|
|
527
726
|
}
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
],
|
|
370
370
|
"emits": [
|
|
371
371
|
{
|
|
372
|
-
"description": "The conversation, with what the assistant remembers that is closest to its last turn.",
|
|
372
|
+
"description": "The conversation, with what the assistant remembers that is closest to its last turn. An ephemeral conversation is never recalled for: empty `context`, its own `instructions`, `tools` and `ephemeral` flag pass through.",
|
|
373
373
|
"event": "RECALLED",
|
|
374
374
|
"eventId": "evt_01M3TYMQKZGPZ3GDV9SZ5ZSC80",
|
|
375
375
|
"payloadSchema": [
|
|
@@ -393,6 +393,33 @@
|
|
|
393
393
|
{
|
|
394
394
|
"name": "context",
|
|
395
395
|
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "instructions",
|
|
399
|
+
"type": "string"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"entity": "AgentTool",
|
|
403
|
+
"name": "tools",
|
|
404
|
+
"properties": [
|
|
405
|
+
{
|
|
406
|
+
"name": "event",
|
|
407
|
+
"type": "event"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "read",
|
|
411
|
+
"type": "string"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "scope",
|
|
415
|
+
"type": "string"
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"type": "[object]"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "ephemeral",
|
|
422
|
+
"type": "boolean"
|
|
396
423
|
}
|
|
397
424
|
],
|
|
398
425
|
"scope": "external",
|
|
@@ -756,7 +783,7 @@
|
|
|
756
783
|
"tier": "internal"
|
|
757
784
|
},
|
|
758
785
|
{
|
|
759
|
-
"description": "Recall what is relevant to this conversation's last turn.",
|
|
786
|
+
"description": "Recall what is relevant to this conversation's last turn. An ephemeral conversation skips the recall.",
|
|
760
787
|
"id": "evt_01M3TYMQKZXAVRV1YVNJS591F0",
|
|
761
788
|
"key": "RECALL",
|
|
762
789
|
"name": "Recall",
|
|
@@ -776,11 +803,37 @@
|
|
|
776
803
|
],
|
|
777
804
|
"required": true,
|
|
778
805
|
"type": "[object]"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "instructions",
|
|
809
|
+
"type": "string"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "tools",
|
|
813
|
+
"properties": [
|
|
814
|
+
{
|
|
815
|
+
"name": "event",
|
|
816
|
+
"type": "event"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "read",
|
|
820
|
+
"type": "string"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "scope",
|
|
824
|
+
"type": "string"
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"type": "[object]"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "ephemeral",
|
|
831
|
+
"type": "boolean"
|
|
779
832
|
}
|
|
780
833
|
]
|
|
781
834
|
},
|
|
782
835
|
{
|
|
783
|
-
"description": "Remember the exchange just answered.",
|
|
836
|
+
"description": "Remember the exchange just answered. An ephemeral conversation is never remembered.",
|
|
784
837
|
"id": "evt_01M3TYMQKZQ5TXMDMH5X7V7VQ4",
|
|
785
838
|
"key": "REMEMBER",
|
|
786
839
|
"name": "Remember",
|
|
@@ -789,6 +842,10 @@
|
|
|
789
842
|
"name": "reply",
|
|
790
843
|
"required": true,
|
|
791
844
|
"type": "string"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "ephemeral",
|
|
848
|
+
"type": "boolean"
|
|
792
849
|
}
|
|
793
850
|
]
|
|
794
851
|
},
|
|
@@ -898,7 +955,7 @@
|
|
|
898
955
|
"tier": "internal"
|
|
899
956
|
},
|
|
900
957
|
{
|
|
901
|
-
"description": "The conversation, with what the assistant remembers that is closest to its last turn.",
|
|
958
|
+
"description": "The conversation, with what the assistant remembers that is closest to its last turn. An ephemeral conversation is never recalled for: empty `context`, its own `instructions`, `tools` and `ephemeral` flag pass through.",
|
|
902
959
|
"id": "evt_01M3TYMQKZGPZ3GDV9SZ5ZSC80",
|
|
903
960
|
"key": "RECALLED",
|
|
904
961
|
"name": "Recalled",
|
|
@@ -923,6 +980,33 @@
|
|
|
923
980
|
{
|
|
924
981
|
"name": "context",
|
|
925
982
|
"type": "string"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"name": "instructions",
|
|
986
|
+
"type": "string"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"entity": "AgentTool",
|
|
990
|
+
"name": "tools",
|
|
991
|
+
"properties": [
|
|
992
|
+
{
|
|
993
|
+
"name": "event",
|
|
994
|
+
"type": "event"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "read",
|
|
998
|
+
"type": "string"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "scope",
|
|
1002
|
+
"type": "string"
|
|
1003
|
+
}
|
|
1004
|
+
],
|
|
1005
|
+
"type": "[object]"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "ephemeral",
|
|
1009
|
+
"type": "boolean"
|
|
926
1010
|
}
|
|
927
1011
|
],
|
|
928
1012
|
"synonyms": "recalled, remembered, context ready",
|
|
@@ -1074,6 +1158,35 @@
|
|
|
1074
1158
|
"from": "ready",
|
|
1075
1159
|
"to": "ready"
|
|
1076
1160
|
},
|
|
1161
|
+
{
|
|
1162
|
+
"effects": [
|
|
1163
|
+
[
|
|
1164
|
+
"emit",
|
|
1165
|
+
"RECALLED",
|
|
1166
|
+
{
|
|
1167
|
+
"context": "",
|
|
1168
|
+
"ephemeral": true,
|
|
1169
|
+
"instructions": [
|
|
1170
|
+
"str/default",
|
|
1171
|
+
"@payload.instructions",
|
|
1172
|
+
""
|
|
1173
|
+
],
|
|
1174
|
+
"messages": "@payload.messages",
|
|
1175
|
+
"tools": [
|
|
1176
|
+
"object/get",
|
|
1177
|
+
"@payload",
|
|
1178
|
+
"tools",
|
|
1179
|
+
[]
|
|
1180
|
+
]
|
|
1181
|
+
}
|
|
1182
|
+
]
|
|
1183
|
+
],
|
|
1184
|
+
"event": "RECALL",
|
|
1185
|
+
"eventId": "evt_01M3TYMQKZXAVRV1YVNJS591F0",
|
|
1186
|
+
"from": "ready",
|
|
1187
|
+
"guard": "@payload.ephemeral",
|
|
1188
|
+
"to": "ready"
|
|
1189
|
+
},
|
|
1077
1190
|
{
|
|
1078
1191
|
"effects": [
|
|
1079
1192
|
[
|
|
@@ -1120,8 +1233,19 @@
|
|
|
1120
1233
|
"event": "RECALL",
|
|
1121
1234
|
"eventId": "evt_01M3TYMQKZXAVRV1YVNJS591F0",
|
|
1122
1235
|
"from": "ready",
|
|
1236
|
+
"guard": [
|
|
1237
|
+
"not",
|
|
1238
|
+
"@payload.ephemeral"
|
|
1239
|
+
],
|
|
1123
1240
|
"to": "recalling"
|
|
1124
1241
|
},
|
|
1242
|
+
{
|
|
1243
|
+
"event": "REMEMBER",
|
|
1244
|
+
"eventId": "evt_01M3TYMQKZQ5TXMDMH5X7V7VQ4",
|
|
1245
|
+
"from": "ready",
|
|
1246
|
+
"guard": "@payload.ephemeral",
|
|
1247
|
+
"to": "ready"
|
|
1248
|
+
},
|
|
1125
1249
|
{
|
|
1126
1250
|
"effects": [
|
|
1127
1251
|
[
|
|
@@ -1161,6 +1285,10 @@
|
|
|
1161
1285
|
"event": "REMEMBER",
|
|
1162
1286
|
"eventId": "evt_01M3TYMQKZQ5TXMDMH5X7V7VQ4",
|
|
1163
1287
|
"from": "ready",
|
|
1288
|
+
"guard": [
|
|
1289
|
+
"not",
|
|
1290
|
+
"@payload.ephemeral"
|
|
1291
|
+
],
|
|
1164
1292
|
"to": "remembering"
|
|
1165
1293
|
},
|
|
1166
1294
|
{
|
|
@@ -1716,6 +1844,20 @@
|
|
|
1716
1844
|
"name": "createdAt",
|
|
1717
1845
|
"type": "number"
|
|
1718
1846
|
}
|
|
1847
|
+
],
|
|
1848
|
+
"AgentTool": [
|
|
1849
|
+
{
|
|
1850
|
+
"name": "event",
|
|
1851
|
+
"type": "event"
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "read",
|
|
1855
|
+
"type": "string"
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"name": "scope",
|
|
1859
|
+
"type": "string"
|
|
1860
|
+
}
|
|
1719
1861
|
]
|
|
1720
1862
|
}
|
|
1721
1863
|
}
|