@almadar/std 3.13.1 → 3.14.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 (49) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +11 -3
  2. package/behaviors/exports/atoms/std-agent-step-progress.orb +162 -23
  3. package/behaviors/exports/atoms/std-agent-tool-call.orb +0 -499
  4. package/behaviors/exports/molecules/std-agent-fix-loop.orb +173 -25
  5. package/behaviors/exports/molecules/std-agent-learner.orb +15 -550
  6. package/behaviors/exports/molecules/std-agent-planner.orb +10 -530
  7. package/behaviors/exports/molecules/std-agent-rag.orb +4 -1
  8. package/behaviors/exports/molecules/std-agent-tool-loop.orb +169 -573
  9. package/behaviors/exports/organisms/std-agent-builder.orb +905 -1453
  10. package/behaviors/exports/organisms/std-agent-pipeline.orb +806 -1502
  11. package/behaviors/exports/organisms/std-agent-reviewer.orb +4 -1
  12. package/behaviors/exports/validation-report.json +2 -2
  13. package/dist/behaviors/behaviors-registry.json +11173 -5568
  14. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +11 -3
  15. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +162 -23
  16. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +0 -499
  17. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +173 -25
  18. package/dist/behaviors/exports/molecules/std-agent-learner.orb +15 -550
  19. package/dist/behaviors/exports/molecules/std-agent-planner.orb +10 -530
  20. package/dist/behaviors/exports/molecules/std-agent-rag.orb +4 -1
  21. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +169 -573
  22. package/dist/behaviors/exports/organisms/std-agent-builder.orb +905 -1453
  23. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +806 -1502
  24. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +4 -1
  25. package/dist/behaviors/exports/validation-report.json +2 -2
  26. package/dist/behaviors/exports-reader.js +257 -302
  27. package/dist/behaviors/exports-reader.js.map +1 -1
  28. package/dist/behaviors/functions/index.js +257 -302
  29. package/dist/behaviors/functions/index.js.map +1 -1
  30. package/dist/behaviors/index.js +257 -302
  31. package/dist/behaviors/index.js.map +1 -1
  32. package/dist/behaviors/query.js +257 -302
  33. package/dist/behaviors/query.js.map +1 -1
  34. package/dist/behaviors-registry.json +11173 -5568
  35. package/dist/exports/atoms/std-agent-activity-log.orb +11 -3
  36. package/dist/exports/atoms/std-agent-step-progress.orb +162 -23
  37. package/dist/exports/atoms/std-agent-tool-call.orb +0 -499
  38. package/dist/exports/molecules/std-agent-fix-loop.orb +173 -25
  39. package/dist/exports/molecules/std-agent-learner.orb +15 -550
  40. package/dist/exports/molecules/std-agent-planner.orb +10 -530
  41. package/dist/exports/molecules/std-agent-rag.orb +4 -1
  42. package/dist/exports/molecules/std-agent-tool-loop.orb +169 -573
  43. package/dist/exports/organisms/std-agent-builder.orb +905 -1453
  44. package/dist/exports/organisms/std-agent-pipeline.orb +806 -1502
  45. package/dist/exports/organisms/std-agent-reviewer.orb +4 -1
  46. package/dist/exports/validation-report.json +2 -2
  47. package/dist/index.js +257 -302
  48. package/dist/index.js.map +1 -1
  49. package/package.json +1 -1
@@ -132,6 +132,11 @@
132
132
  "name": "duration",
133
133
  "type": "number",
134
134
  "default": 0
135
+ },
136
+ {
137
+ "name": "icon",
138
+ "type": "string",
139
+ "default": "circle"
135
140
  }
136
141
  ]
137
142
  },
@@ -1087,531 +1092,6 @@
1087
1092
  ]
1088
1093
  }
1089
1094
  },
1090
- {
1091
- "name": "PlannerActivityLog",
1092
- "linkedEntity": "AgentPlanner",
1093
- "category": "interaction",
1094
- "emits": [
1095
- {
1096
- "event": "LOG_ENTRY",
1097
- "scope": "internal",
1098
- "payload": [
1099
- {
1100
- "name": "action",
1101
- "type": "string"
1102
- },
1103
- {
1104
- "name": "detail",
1105
- "type": "string"
1106
- },
1107
- {
1108
- "name": "status",
1109
- "type": "string"
1110
- }
1111
- ]
1112
- }
1113
- ],
1114
- "stateMachine": {
1115
- "states": [
1116
- {
1117
- "name": "logging",
1118
- "isInitial": true
1119
- }
1120
- ],
1121
- "events": [
1122
- {
1123
- "key": "INIT",
1124
- "name": "Initialize"
1125
- },
1126
- {
1127
- "key": "LOG_ENTRY",
1128
- "name": "Log Entry",
1129
- "payload": [
1130
- {
1131
- "name": "action",
1132
- "type": "string",
1133
- "required": true
1134
- },
1135
- {
1136
- "name": "detail",
1137
- "type": "string",
1138
- "required": true
1139
- },
1140
- {
1141
- "name": "status",
1142
- "type": "string",
1143
- "required": true
1144
- }
1145
- ]
1146
- },
1147
- {
1148
- "key": "CLEAR",
1149
- "name": "Clear Log"
1150
- }
1151
- ],
1152
- "transitions": [
1153
- {
1154
- "from": "logging",
1155
- "to": "logging",
1156
- "event": "INIT",
1157
- "effects": [
1158
- [
1159
- "fetch",
1160
- "AgentPlanner"
1161
- ],
1162
- [
1163
- "render-ui",
1164
- "main",
1165
- {
1166
- "type": "stack",
1167
- "direction": "vertical",
1168
- "gap": "lg",
1169
- "children": [
1170
- {
1171
- "type": "stack",
1172
- "direction": "horizontal",
1173
- "gap": "sm",
1174
- "justify": "space-between",
1175
- "align": "center",
1176
- "children": [
1177
- {
1178
- "type": "stack",
1179
- "direction": "horizontal",
1180
- "gap": "sm",
1181
- "align": "center",
1182
- "children": [
1183
- {
1184
- "type": "icon",
1185
- "name": "activity",
1186
- "size": "lg"
1187
- },
1188
- {
1189
- "type": "typography",
1190
- "content": "Activity Log",
1191
- "variant": "h2"
1192
- }
1193
- ]
1194
- },
1195
- {
1196
- "type": "button",
1197
- "label": "Clear",
1198
- "event": "CLEAR",
1199
- "variant": "ghost",
1200
- "icon": "trash"
1201
- }
1202
- ]
1203
- },
1204
- {
1205
- "type": "divider"
1206
- },
1207
- {
1208
- "type": "timeline",
1209
- "entity": "AgentPlanner",
1210
- "emptyIcon": "activity",
1211
- "emptyTitle": "No activity yet",
1212
- "emptyDescription": "Agent actions will appear here as they occur.",
1213
- "renderItem": [
1214
- "fn",
1215
- "item",
1216
- {
1217
- "type": "stack",
1218
- "direction": "vertical",
1219
- "gap": "xs",
1220
- "children": [
1221
- {
1222
- "type": "stack",
1223
- "direction": "horizontal",
1224
- "gap": "sm",
1225
- "align": "center",
1226
- "children": [
1227
- {
1228
- "type": "badge",
1229
- "label": "@item.status"
1230
- },
1231
- {
1232
- "type": "typography",
1233
- "variant": "h4",
1234
- "content": "@item.action"
1235
- }
1236
- ]
1237
- },
1238
- {
1239
- "type": "typography",
1240
- "variant": "body",
1241
- "color": "muted",
1242
- "content": "@item.detail"
1243
- },
1244
- {
1245
- "type": "stack",
1246
- "direction": "horizontal",
1247
- "gap": "sm",
1248
- "align": "center",
1249
- "children": [
1250
- {
1251
- "type": "typography",
1252
- "variant": "caption",
1253
- "color": "muted",
1254
- "content": "@item.timestamp"
1255
- },
1256
- {
1257
- "type": "badge",
1258
- "label": "@item.duration",
1259
- "variant": "outline"
1260
- }
1261
- ]
1262
- }
1263
- ]
1264
- }
1265
- ],
1266
- "fields": [
1267
- "name",
1268
- "description",
1269
- "status",
1270
- "createdAt",
1271
- "task",
1272
- "category",
1273
- "steps",
1274
- "confidence",
1275
- "relevantMemories",
1276
- "memoryCount",
1277
- "error",
1278
- "input",
1279
- "prompt",
1280
- "response",
1281
- "provider",
1282
- "model",
1283
- "content",
1284
- "scope",
1285
- "strength",
1286
- "pinned",
1287
- "action",
1288
- "detail",
1289
- "timestamp",
1290
- "duration"
1291
- ]
1292
- }
1293
- ]
1294
- }
1295
- ]
1296
- ]
1297
- },
1298
- {
1299
- "from": "logging",
1300
- "to": "logging",
1301
- "event": "LOG_ENTRY",
1302
- "effects": [
1303
- [
1304
- "persist",
1305
- "create",
1306
- "AgentPlanner",
1307
- {
1308
- "action": "@payload.action",
1309
- "detail": "@payload.detail",
1310
- "status": "@payload.status",
1311
- "timestamp": "@now"
1312
- }
1313
- ],
1314
- [
1315
- "fetch",
1316
- "AgentPlanner"
1317
- ],
1318
- [
1319
- "render-ui",
1320
- "main",
1321
- {
1322
- "type": "stack",
1323
- "direction": "vertical",
1324
- "gap": "lg",
1325
- "children": [
1326
- {
1327
- "type": "stack",
1328
- "direction": "horizontal",
1329
- "gap": "sm",
1330
- "justify": "space-between",
1331
- "align": "center",
1332
- "children": [
1333
- {
1334
- "type": "stack",
1335
- "direction": "horizontal",
1336
- "gap": "sm",
1337
- "align": "center",
1338
- "children": [
1339
- {
1340
- "type": "icon",
1341
- "name": "activity",
1342
- "size": "lg"
1343
- },
1344
- {
1345
- "type": "typography",
1346
- "content": "Activity Log",
1347
- "variant": "h2"
1348
- }
1349
- ]
1350
- },
1351
- {
1352
- "type": "button",
1353
- "label": "Clear",
1354
- "event": "CLEAR",
1355
- "variant": "ghost",
1356
- "icon": "trash"
1357
- }
1358
- ]
1359
- },
1360
- {
1361
- "type": "divider"
1362
- },
1363
- {
1364
- "type": "timeline",
1365
- "entity": "AgentPlanner",
1366
- "emptyIcon": "activity",
1367
- "emptyTitle": "No activity yet",
1368
- "emptyDescription": "Agent actions will appear here as they occur.",
1369
- "renderItem": [
1370
- "fn",
1371
- "item",
1372
- {
1373
- "type": "stack",
1374
- "direction": "vertical",
1375
- "gap": "xs",
1376
- "children": [
1377
- {
1378
- "type": "stack",
1379
- "direction": "horizontal",
1380
- "gap": "sm",
1381
- "align": "center",
1382
- "children": [
1383
- {
1384
- "type": "badge",
1385
- "label": "@item.status"
1386
- },
1387
- {
1388
- "type": "typography",
1389
- "variant": "h4",
1390
- "content": "@item.action"
1391
- }
1392
- ]
1393
- },
1394
- {
1395
- "type": "typography",
1396
- "variant": "body",
1397
- "color": "muted",
1398
- "content": "@item.detail"
1399
- },
1400
- {
1401
- "type": "stack",
1402
- "direction": "horizontal",
1403
- "gap": "sm",
1404
- "align": "center",
1405
- "children": [
1406
- {
1407
- "type": "typography",
1408
- "variant": "caption",
1409
- "color": "muted",
1410
- "content": "@item.timestamp"
1411
- },
1412
- {
1413
- "type": "badge",
1414
- "label": "@item.duration",
1415
- "variant": "outline"
1416
- }
1417
- ]
1418
- }
1419
- ]
1420
- }
1421
- ],
1422
- "fields": [
1423
- "name",
1424
- "description",
1425
- "status",
1426
- "createdAt",
1427
- "task",
1428
- "category",
1429
- "steps",
1430
- "confidence",
1431
- "relevantMemories",
1432
- "memoryCount",
1433
- "error",
1434
- "input",
1435
- "prompt",
1436
- "response",
1437
- "provider",
1438
- "model",
1439
- "content",
1440
- "scope",
1441
- "strength",
1442
- "pinned",
1443
- "action",
1444
- "detail",
1445
- "timestamp",
1446
- "duration"
1447
- ]
1448
- }
1449
- ]
1450
- }
1451
- ],
1452
- [
1453
- "notify",
1454
- "AgentPlanner created successfully"
1455
- ]
1456
- ]
1457
- },
1458
- {
1459
- "from": "logging",
1460
- "to": "logging",
1461
- "event": "CLEAR",
1462
- "effects": [
1463
- [
1464
- "persist",
1465
- "delete",
1466
- "AgentPlanner"
1467
- ],
1468
- [
1469
- "fetch",
1470
- "AgentPlanner"
1471
- ],
1472
- [
1473
- "render-ui",
1474
- "main",
1475
- {
1476
- "type": "stack",
1477
- "direction": "vertical",
1478
- "gap": "lg",
1479
- "children": [
1480
- {
1481
- "type": "stack",
1482
- "direction": "horizontal",
1483
- "gap": "sm",
1484
- "justify": "space-between",
1485
- "align": "center",
1486
- "children": [
1487
- {
1488
- "type": "stack",
1489
- "direction": "horizontal",
1490
- "gap": "sm",
1491
- "align": "center",
1492
- "children": [
1493
- {
1494
- "type": "icon",
1495
- "name": "activity",
1496
- "size": "lg"
1497
- },
1498
- {
1499
- "type": "typography",
1500
- "content": "Activity Log",
1501
- "variant": "h2"
1502
- }
1503
- ]
1504
- },
1505
- {
1506
- "type": "button",
1507
- "label": "Clear",
1508
- "event": "CLEAR",
1509
- "variant": "ghost",
1510
- "icon": "trash"
1511
- }
1512
- ]
1513
- },
1514
- {
1515
- "type": "divider"
1516
- },
1517
- {
1518
- "type": "timeline",
1519
- "entity": "AgentPlanner",
1520
- "emptyIcon": "activity",
1521
- "emptyTitle": "No activity yet",
1522
- "emptyDescription": "Agent actions will appear here as they occur.",
1523
- "renderItem": [
1524
- "fn",
1525
- "item",
1526
- {
1527
- "type": "stack",
1528
- "direction": "vertical",
1529
- "gap": "xs",
1530
- "children": [
1531
- {
1532
- "type": "stack",
1533
- "direction": "horizontal",
1534
- "gap": "sm",
1535
- "align": "center",
1536
- "children": [
1537
- {
1538
- "type": "badge",
1539
- "label": "@item.status"
1540
- },
1541
- {
1542
- "type": "typography",
1543
- "variant": "h4",
1544
- "content": "@item.action"
1545
- }
1546
- ]
1547
- },
1548
- {
1549
- "type": "typography",
1550
- "variant": "body",
1551
- "color": "muted",
1552
- "content": "@item.detail"
1553
- },
1554
- {
1555
- "type": "stack",
1556
- "direction": "horizontal",
1557
- "gap": "sm",
1558
- "align": "center",
1559
- "children": [
1560
- {
1561
- "type": "typography",
1562
- "variant": "caption",
1563
- "color": "muted",
1564
- "content": "@item.timestamp"
1565
- },
1566
- {
1567
- "type": "badge",
1568
- "label": "@item.duration",
1569
- "variant": "outline"
1570
- }
1571
- ]
1572
- }
1573
- ]
1574
- }
1575
- ],
1576
- "fields": [
1577
- "name",
1578
- "description",
1579
- "status",
1580
- "createdAt",
1581
- "task",
1582
- "category",
1583
- "steps",
1584
- "confidence",
1585
- "relevantMemories",
1586
- "memoryCount",
1587
- "error",
1588
- "input",
1589
- "prompt",
1590
- "response",
1591
- "provider",
1592
- "model",
1593
- "content",
1594
- "scope",
1595
- "strength",
1596
- "pinned",
1597
- "action",
1598
- "detail",
1599
- "timestamp",
1600
- "duration"
1601
- ]
1602
- }
1603
- ]
1604
- }
1605
- ],
1606
- [
1607
- "notify",
1608
- "AgentPlanner deleted successfully"
1609
- ]
1610
- ]
1611
- }
1612
- ]
1613
- }
1614
- },
1615
1095
  {
1616
1096
  "name": "PlannerClassifierFlow",
1617
1097
  "linkedEntity": "AgentPlanner",
@@ -1962,7 +1442,8 @@
1962
1442
  ]
1963
1443
  }
1964
1444
  ]
1965
- }
1445
+ },
1446
+ "listens": []
1966
1447
  },
1967
1448
  {
1968
1449
  "name": "PlannerCompletionFlow",
@@ -2292,12 +1773,14 @@
2292
1773
  ]
2293
1774
  }
2294
1775
  ]
2295
- }
1776
+ },
1777
+ "listens": []
2296
1778
  },
2297
1779
  {
2298
1780
  "name": "PlannerMemoryLifecycle",
2299
1781
  "linkedEntity": "AgentPlanner",
2300
1782
  "category": "interaction",
1783
+ "listens": [],
2301
1784
  "stateMachine": {
2302
1785
  "states": [
2303
1786
  {
@@ -2634,9 +2117,6 @@
2634
2117
  {
2635
2118
  "ref": "PlannerTaskInput"
2636
2119
  },
2637
- {
2638
- "ref": "PlannerActivityLog"
2639
- },
2640
2120
  {
2641
2121
  "ref": "PlannerClassifierFlow"
2642
2122
  },
@@ -1000,6 +1000,7 @@
1000
1000
  "name": "RagMemoryLifecycle",
1001
1001
  "linkedEntity": "AgentRag",
1002
1002
  "category": "interaction",
1003
+ "listens": [],
1003
1004
  "stateMachine": {
1004
1005
  "states": [
1005
1006
  {
@@ -1328,6 +1329,7 @@
1328
1329
  "name": "RagSearchLifecycle",
1329
1330
  "linkedEntity": "AgentRag",
1330
1331
  "category": "interaction",
1332
+ "listens": [],
1331
1333
  "stateMachine": {
1332
1334
  "states": [
1333
1335
  {
@@ -1839,7 +1841,8 @@
1839
1841
  ]
1840
1842
  }
1841
1843
  ]
1842
- }
1844
+ },
1845
+ "listens": []
1843
1846
  }
1844
1847
  ],
1845
1848
  "pages": [