@almadar/std 3.13.0 → 3.13.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.
Files changed (86) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +559 -0
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +774 -0
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +606 -137
  4. package/behaviors/exports/atoms/std-agent-completion.orb +646 -182
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +1762 -258
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +652 -369
  7. package/behaviors/exports/atoms/std-agent-memory.orb +574 -322
  8. package/behaviors/exports/atoms/std-agent-provider.orb +632 -136
  9. package/behaviors/exports/atoms/std-agent-search.orb +228 -198
  10. package/behaviors/exports/atoms/std-agent-session.orb +569 -559
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +850 -0
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +1616 -0
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +983 -126
  14. package/behaviors/exports/molecules/std-agent-fix-loop.orb +1985 -21
  15. package/behaviors/exports/molecules/std-agent-learner.orb +1830 -23
  16. package/behaviors/exports/molecules/std-agent-planner.orb +1776 -19
  17. package/behaviors/exports/molecules/std-agent-rag.orb +1150 -15
  18. package/behaviors/exports/molecules/std-agent-tool-loop.orb +3643 -23
  19. package/behaviors/exports/organisms/std-agent-assistant.orb +5308 -1156
  20. package/behaviors/exports/organisms/std-agent-builder.orb +13525 -1326
  21. package/behaviors/exports/organisms/std-agent-pipeline.orb +10731 -1088
  22. package/behaviors/exports/organisms/std-agent-reviewer.orb +4187 -525
  23. package/behaviors/exports/organisms/std-agent-tutor.orb +3126 -322
  24. package/behaviors/exports/validation-report.json +1 -1426
  25. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +559 -0
  26. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +774 -0
  27. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +606 -137
  28. package/dist/behaviors/exports/atoms/std-agent-completion.orb +646 -182
  29. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +1762 -258
  30. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +652 -369
  31. package/dist/behaviors/exports/atoms/std-agent-memory.orb +574 -322
  32. package/dist/behaviors/exports/atoms/std-agent-provider.orb +632 -136
  33. package/dist/behaviors/exports/atoms/std-agent-search.orb +228 -198
  34. package/dist/behaviors/exports/atoms/std-agent-session.orb +569 -559
  35. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +850 -0
  36. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +1616 -0
  37. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +983 -126
  38. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +1985 -21
  39. package/dist/behaviors/exports/molecules/std-agent-learner.orb +1830 -23
  40. package/dist/behaviors/exports/molecules/std-agent-planner.orb +1776 -19
  41. package/dist/behaviors/exports/molecules/std-agent-rag.orb +1150 -15
  42. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +3643 -23
  43. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +5308 -1156
  44. package/dist/behaviors/exports/organisms/std-agent-builder.orb +13525 -1326
  45. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +10731 -1088
  46. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +4187 -525
  47. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +3126 -322
  48. package/dist/behaviors/exports/validation-report.json +1 -1426
  49. package/dist/behaviors/exports-reader.js +4860 -4176
  50. package/dist/behaviors/exports-reader.js.map +1 -1
  51. package/dist/behaviors/functions/index.d.ts +259 -98
  52. package/dist/behaviors/functions/index.js +4845 -4177
  53. package/dist/behaviors/functions/index.js.map +1 -1
  54. package/dist/behaviors/index.d.ts +1 -1
  55. package/dist/behaviors/index.js +4863 -4179
  56. package/dist/behaviors/index.js.map +1 -1
  57. package/dist/behaviors/query.js +4862 -4178
  58. package/dist/behaviors/query.js.map +1 -1
  59. package/dist/exports/atoms/std-agent-activity-log.orb +559 -0
  60. package/dist/exports/atoms/std-agent-chat-thread.orb +774 -0
  61. package/dist/exports/atoms/std-agent-classifier.orb +606 -137
  62. package/dist/exports/atoms/std-agent-completion.orb +646 -182
  63. package/dist/exports/atoms/std-agent-context-window.orb +1762 -258
  64. package/dist/exports/atoms/std-agent-conversation.orb +652 -369
  65. package/dist/exports/atoms/std-agent-memory.orb +574 -322
  66. package/dist/exports/atoms/std-agent-provider.orb +632 -136
  67. package/dist/exports/atoms/std-agent-search.orb +228 -198
  68. package/dist/exports/atoms/std-agent-session.orb +569 -559
  69. package/dist/exports/atoms/std-agent-step-progress.orb +850 -0
  70. package/dist/exports/atoms/std-agent-token-gauge.orb +1616 -0
  71. package/dist/exports/atoms/std-agent-tool-call.orb +983 -126
  72. package/dist/exports/molecules/std-agent-fix-loop.orb +1985 -21
  73. package/dist/exports/molecules/std-agent-learner.orb +1830 -23
  74. package/dist/exports/molecules/std-agent-planner.orb +1776 -19
  75. package/dist/exports/molecules/std-agent-rag.orb +1150 -15
  76. package/dist/exports/molecules/std-agent-tool-loop.orb +3643 -23
  77. package/dist/exports/organisms/std-agent-assistant.orb +5308 -1156
  78. package/dist/exports/organisms/std-agent-builder.orb +13525 -1326
  79. package/dist/exports/organisms/std-agent-pipeline.orb +10731 -1088
  80. package/dist/exports/organisms/std-agent-reviewer.orb +4187 -525
  81. package/dist/exports/organisms/std-agent-tutor.orb +3126 -322
  82. package/dist/exports/validation-report.json +1 -1426
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.js +4864 -4180
  85. package/dist/index.js.map +1 -1
  86. package/package.json +1 -1
@@ -0,0 +1,559 @@
1
+ {
2
+ "name": "AgentActivityLogOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "AgentActivityLogOrbital",
6
+ "entity": {
7
+ "name": "AgentActivityLog",
8
+ "persistence": "persistent",
9
+ "collection": "agentactivitylogs",
10
+ "fields": [
11
+ {
12
+ "name": "id",
13
+ "type": "string"
14
+ },
15
+ {
16
+ "name": "name",
17
+ "type": "string"
18
+ },
19
+ {
20
+ "name": "description",
21
+ "type": "string"
22
+ },
23
+ {
24
+ "name": "status",
25
+ "type": "string",
26
+ "default": "active",
27
+ "values": [
28
+ "active",
29
+ "inactive",
30
+ "pending"
31
+ ]
32
+ },
33
+ {
34
+ "name": "createdAt",
35
+ "type": "string"
36
+ },
37
+ {
38
+ "name": "action",
39
+ "type": "string",
40
+ "default": ""
41
+ },
42
+ {
43
+ "name": "detail",
44
+ "type": "string",
45
+ "default": ""
46
+ },
47
+ {
48
+ "name": "timestamp",
49
+ "type": "string",
50
+ "default": ""
51
+ },
52
+ {
53
+ "name": "duration",
54
+ "type": "number",
55
+ "default": 0
56
+ }
57
+ ]
58
+ },
59
+ "traits": [
60
+ {
61
+ "name": "AgentActivityLogLog",
62
+ "linkedEntity": "AgentActivityLog",
63
+ "category": "interaction",
64
+ "emits": [
65
+ {
66
+ "event": "LOG_ENTRY",
67
+ "scope": "external",
68
+ "payload": [
69
+ {
70
+ "name": "action",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "detail",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "name": "status",
79
+ "type": "string"
80
+ }
81
+ ]
82
+ }
83
+ ],
84
+ "listens": [
85
+ {
86
+ "event": "LOG_ENTRY",
87
+ "triggers": "LOG_ENTRY",
88
+ "scope": "external"
89
+ }
90
+ ],
91
+ "stateMachine": {
92
+ "states": [
93
+ {
94
+ "name": "logging",
95
+ "isInitial": true
96
+ }
97
+ ],
98
+ "events": [
99
+ {
100
+ "key": "INIT",
101
+ "name": "Initialize"
102
+ },
103
+ {
104
+ "key": "LOG_ENTRY",
105
+ "name": "Log Entry",
106
+ "payload": [
107
+ {
108
+ "name": "action",
109
+ "type": "string",
110
+ "required": true
111
+ },
112
+ {
113
+ "name": "detail",
114
+ "type": "string",
115
+ "required": true
116
+ },
117
+ {
118
+ "name": "status",
119
+ "type": "string",
120
+ "required": true
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "key": "CLEAR",
126
+ "name": "Clear Log"
127
+ }
128
+ ],
129
+ "transitions": [
130
+ {
131
+ "from": "logging",
132
+ "to": "logging",
133
+ "event": "INIT",
134
+ "effects": [
135
+ [
136
+ "fetch",
137
+ "AgentActivityLog"
138
+ ],
139
+ [
140
+ "render-ui",
141
+ "main",
142
+ {
143
+ "type": "stack",
144
+ "direction": "vertical",
145
+ "gap": "lg",
146
+ "children": [
147
+ {
148
+ "type": "stack",
149
+ "direction": "horizontal",
150
+ "gap": "sm",
151
+ "justify": "space-between",
152
+ "align": "center",
153
+ "children": [
154
+ {
155
+ "type": "stack",
156
+ "direction": "horizontal",
157
+ "gap": "sm",
158
+ "align": "center",
159
+ "children": [
160
+ {
161
+ "type": "icon",
162
+ "name": "activity",
163
+ "size": "lg"
164
+ },
165
+ {
166
+ "type": "typography",
167
+ "content": "Activity Log",
168
+ "variant": "h2"
169
+ }
170
+ ]
171
+ },
172
+ {
173
+ "type": "button",
174
+ "label": "Clear",
175
+ "event": "CLEAR",
176
+ "variant": "ghost",
177
+ "icon": "trash"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "type": "divider"
183
+ },
184
+ {
185
+ "type": "timeline",
186
+ "entity": "AgentActivityLog",
187
+ "emptyIcon": "activity",
188
+ "emptyTitle": "No activity yet",
189
+ "emptyDescription": "Agent actions will appear here as they occur.",
190
+ "renderItem": [
191
+ "fn",
192
+ "item",
193
+ {
194
+ "type": "stack",
195
+ "direction": "vertical",
196
+ "gap": "xs",
197
+ "children": [
198
+ {
199
+ "type": "stack",
200
+ "direction": "horizontal",
201
+ "gap": "sm",
202
+ "align": "center",
203
+ "children": [
204
+ {
205
+ "type": "badge",
206
+ "label": "@item.status"
207
+ },
208
+ {
209
+ "type": "typography",
210
+ "variant": "h4",
211
+ "content": "@item.action"
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "type": "typography",
217
+ "variant": "body",
218
+ "color": "muted",
219
+ "content": "@item.detail"
220
+ },
221
+ {
222
+ "type": "stack",
223
+ "direction": "horizontal",
224
+ "gap": "sm",
225
+ "align": "center",
226
+ "children": [
227
+ {
228
+ "type": "typography",
229
+ "variant": "caption",
230
+ "color": "muted",
231
+ "content": "@item.timestamp"
232
+ },
233
+ {
234
+ "type": "badge",
235
+ "label": "@item.duration",
236
+ "variant": "outline"
237
+ }
238
+ ]
239
+ }
240
+ ]
241
+ }
242
+ ],
243
+ "fields": [
244
+ "name",
245
+ "description",
246
+ "status",
247
+ "createdAt",
248
+ "action",
249
+ "detail",
250
+ "timestamp",
251
+ "duration"
252
+ ]
253
+ }
254
+ ]
255
+ }
256
+ ]
257
+ ]
258
+ },
259
+ {
260
+ "from": "logging",
261
+ "to": "logging",
262
+ "event": "LOG_ENTRY",
263
+ "effects": [
264
+ [
265
+ "persist",
266
+ "create",
267
+ "AgentActivityLog",
268
+ {
269
+ "action": "@payload.action",
270
+ "detail": "@payload.detail",
271
+ "status": "@payload.status",
272
+ "timestamp": "@now"
273
+ }
274
+ ],
275
+ [
276
+ "fetch",
277
+ "AgentActivityLog"
278
+ ],
279
+ [
280
+ "render-ui",
281
+ "main",
282
+ {
283
+ "type": "stack",
284
+ "direction": "vertical",
285
+ "gap": "lg",
286
+ "children": [
287
+ {
288
+ "type": "stack",
289
+ "direction": "horizontal",
290
+ "gap": "sm",
291
+ "justify": "space-between",
292
+ "align": "center",
293
+ "children": [
294
+ {
295
+ "type": "stack",
296
+ "direction": "horizontal",
297
+ "gap": "sm",
298
+ "align": "center",
299
+ "children": [
300
+ {
301
+ "type": "icon",
302
+ "name": "activity",
303
+ "size": "lg"
304
+ },
305
+ {
306
+ "type": "typography",
307
+ "content": "Activity Log",
308
+ "variant": "h2"
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "type": "button",
314
+ "label": "Clear",
315
+ "event": "CLEAR",
316
+ "variant": "ghost",
317
+ "icon": "trash"
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "type": "divider"
323
+ },
324
+ {
325
+ "type": "timeline",
326
+ "entity": "AgentActivityLog",
327
+ "emptyIcon": "activity",
328
+ "emptyTitle": "No activity yet",
329
+ "emptyDescription": "Agent actions will appear here as they occur.",
330
+ "renderItem": [
331
+ "fn",
332
+ "item",
333
+ {
334
+ "type": "stack",
335
+ "direction": "vertical",
336
+ "gap": "xs",
337
+ "children": [
338
+ {
339
+ "type": "stack",
340
+ "direction": "horizontal",
341
+ "gap": "sm",
342
+ "align": "center",
343
+ "children": [
344
+ {
345
+ "type": "badge",
346
+ "label": "@item.status"
347
+ },
348
+ {
349
+ "type": "typography",
350
+ "variant": "h4",
351
+ "content": "@item.action"
352
+ }
353
+ ]
354
+ },
355
+ {
356
+ "type": "typography",
357
+ "variant": "body",
358
+ "color": "muted",
359
+ "content": "@item.detail"
360
+ },
361
+ {
362
+ "type": "stack",
363
+ "direction": "horizontal",
364
+ "gap": "sm",
365
+ "align": "center",
366
+ "children": [
367
+ {
368
+ "type": "typography",
369
+ "variant": "caption",
370
+ "color": "muted",
371
+ "content": "@item.timestamp"
372
+ },
373
+ {
374
+ "type": "badge",
375
+ "label": "@item.duration",
376
+ "variant": "outline"
377
+ }
378
+ ]
379
+ }
380
+ ]
381
+ }
382
+ ],
383
+ "fields": [
384
+ "name",
385
+ "description",
386
+ "status",
387
+ "createdAt",
388
+ "action",
389
+ "detail",
390
+ "timestamp",
391
+ "duration"
392
+ ]
393
+ }
394
+ ]
395
+ }
396
+ ],
397
+ [
398
+ "notify",
399
+ "AgentActivityLog created successfully"
400
+ ]
401
+ ]
402
+ },
403
+ {
404
+ "from": "logging",
405
+ "to": "logging",
406
+ "event": "CLEAR",
407
+ "effects": [
408
+ [
409
+ "persist",
410
+ "delete",
411
+ "AgentActivityLog"
412
+ ],
413
+ [
414
+ "fetch",
415
+ "AgentActivityLog"
416
+ ],
417
+ [
418
+ "render-ui",
419
+ "main",
420
+ {
421
+ "type": "stack",
422
+ "direction": "vertical",
423
+ "gap": "lg",
424
+ "children": [
425
+ {
426
+ "type": "stack",
427
+ "direction": "horizontal",
428
+ "gap": "sm",
429
+ "justify": "space-between",
430
+ "align": "center",
431
+ "children": [
432
+ {
433
+ "type": "stack",
434
+ "direction": "horizontal",
435
+ "gap": "sm",
436
+ "align": "center",
437
+ "children": [
438
+ {
439
+ "type": "icon",
440
+ "name": "activity",
441
+ "size": "lg"
442
+ },
443
+ {
444
+ "type": "typography",
445
+ "content": "Activity Log",
446
+ "variant": "h2"
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "type": "button",
452
+ "label": "Clear",
453
+ "event": "CLEAR",
454
+ "variant": "ghost",
455
+ "icon": "trash"
456
+ }
457
+ ]
458
+ },
459
+ {
460
+ "type": "divider"
461
+ },
462
+ {
463
+ "type": "timeline",
464
+ "entity": "AgentActivityLog",
465
+ "emptyIcon": "activity",
466
+ "emptyTitle": "No activity yet",
467
+ "emptyDescription": "Agent actions will appear here as they occur.",
468
+ "renderItem": [
469
+ "fn",
470
+ "item",
471
+ {
472
+ "type": "stack",
473
+ "direction": "vertical",
474
+ "gap": "xs",
475
+ "children": [
476
+ {
477
+ "type": "stack",
478
+ "direction": "horizontal",
479
+ "gap": "sm",
480
+ "align": "center",
481
+ "children": [
482
+ {
483
+ "type": "badge",
484
+ "label": "@item.status"
485
+ },
486
+ {
487
+ "type": "typography",
488
+ "variant": "h4",
489
+ "content": "@item.action"
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "type": "typography",
495
+ "variant": "body",
496
+ "color": "muted",
497
+ "content": "@item.detail"
498
+ },
499
+ {
500
+ "type": "stack",
501
+ "direction": "horizontal",
502
+ "gap": "sm",
503
+ "align": "center",
504
+ "children": [
505
+ {
506
+ "type": "typography",
507
+ "variant": "caption",
508
+ "color": "muted",
509
+ "content": "@item.timestamp"
510
+ },
511
+ {
512
+ "type": "badge",
513
+ "label": "@item.duration",
514
+ "variant": "outline"
515
+ }
516
+ ]
517
+ }
518
+ ]
519
+ }
520
+ ],
521
+ "fields": [
522
+ "name",
523
+ "description",
524
+ "status",
525
+ "createdAt",
526
+ "action",
527
+ "detail",
528
+ "timestamp",
529
+ "duration"
530
+ ]
531
+ }
532
+ ]
533
+ }
534
+ ],
535
+ [
536
+ "notify",
537
+ "AgentActivityLog deleted successfully"
538
+ ]
539
+ ]
540
+ }
541
+ ]
542
+ }
543
+ }
544
+ ],
545
+ "pages": [
546
+ {
547
+ "name": "AgentActivityLogPage",
548
+ "path": "/agentactivitylogs",
549
+ "traits": [
550
+ {
551
+ "ref": "AgentActivityLogLog"
552
+ }
553
+ ]
554
+ }
555
+ ]
556
+ }
557
+ ],
558
+ "description": "Chronological action log atom for tracking agent operations. Provides a timeline view of agent actions with status indicators, duration tracking, and clear functionality. Listens for LOG_ENTRY events from sibling traits."
559
+ }