@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
@@ -157,6 +157,11 @@
157
157
  "name": "duration",
158
158
  "type": "number",
159
159
  "default": 0
160
+ },
161
+ {
162
+ "name": "icon",
163
+ "type": "string",
164
+ "default": "circle"
160
165
  }
161
166
  ]
162
167
  },
@@ -339,7 +344,7 @@
339
344
  },
340
345
  {
341
346
  "type": "simple-grid",
342
- "columns": 3,
347
+ "cols": 3,
343
348
  "children": [
344
349
  {
345
350
  "type": "stat-display",
@@ -762,7 +767,7 @@
762
767
  },
763
768
  {
764
769
  "type": "simple-grid",
765
- "columns": 3,
770
+ "cols": 3,
766
771
  "children": [
767
772
  {
768
773
  "type": "stat-display",
@@ -892,7 +897,7 @@
892
897
  },
893
898
  {
894
899
  "type": "simple-grid",
895
- "columns": 3,
900
+ "cols": 3,
896
901
  "children": [
897
902
  {
898
903
  "type": "stat-display",
@@ -1022,7 +1027,7 @@
1022
1027
  },
1023
1028
  {
1024
1029
  "type": "simple-grid",
1025
- "columns": 3,
1030
+ "cols": 3,
1026
1031
  "children": [
1027
1032
  {
1028
1033
  "type": "stat-display",
@@ -1149,7 +1154,7 @@
1149
1154
  },
1150
1155
  {
1151
1156
  "type": "simple-grid",
1152
- "columns": 3,
1157
+ "cols": 3,
1153
1158
  "children": [
1154
1159
  {
1155
1160
  "type": "stat-display",
@@ -1236,546 +1241,6 @@
1236
1241
  ]
1237
1242
  }
1238
1243
  },
1239
- {
1240
- "name": "LearnerActivityLog",
1241
- "linkedEntity": "AgentLearner",
1242
- "category": "interaction",
1243
- "emits": [
1244
- {
1245
- "event": "LOG_ENTRY",
1246
- "scope": "internal",
1247
- "payload": [
1248
- {
1249
- "name": "action",
1250
- "type": "string"
1251
- },
1252
- {
1253
- "name": "detail",
1254
- "type": "string"
1255
- },
1256
- {
1257
- "name": "status",
1258
- "type": "string"
1259
- }
1260
- ]
1261
- }
1262
- ],
1263
- "stateMachine": {
1264
- "states": [
1265
- {
1266
- "name": "logging",
1267
- "isInitial": true
1268
- }
1269
- ],
1270
- "events": [
1271
- {
1272
- "key": "INIT",
1273
- "name": "Initialize"
1274
- },
1275
- {
1276
- "key": "LOG_ENTRY",
1277
- "name": "Log Entry",
1278
- "payload": [
1279
- {
1280
- "name": "action",
1281
- "type": "string",
1282
- "required": true
1283
- },
1284
- {
1285
- "name": "detail",
1286
- "type": "string",
1287
- "required": true
1288
- },
1289
- {
1290
- "name": "status",
1291
- "type": "string",
1292
- "required": true
1293
- }
1294
- ]
1295
- },
1296
- {
1297
- "key": "CLEAR",
1298
- "name": "Clear Log"
1299
- }
1300
- ],
1301
- "transitions": [
1302
- {
1303
- "from": "logging",
1304
- "to": "logging",
1305
- "event": "INIT",
1306
- "effects": [
1307
- [
1308
- "fetch",
1309
- "AgentLearner"
1310
- ],
1311
- [
1312
- "render-ui",
1313
- "main",
1314
- {
1315
- "type": "stack",
1316
- "direction": "vertical",
1317
- "gap": "lg",
1318
- "children": [
1319
- {
1320
- "type": "stack",
1321
- "direction": "horizontal",
1322
- "gap": "sm",
1323
- "justify": "space-between",
1324
- "align": "center",
1325
- "children": [
1326
- {
1327
- "type": "stack",
1328
- "direction": "horizontal",
1329
- "gap": "sm",
1330
- "align": "center",
1331
- "children": [
1332
- {
1333
- "type": "icon",
1334
- "name": "activity",
1335
- "size": "lg"
1336
- },
1337
- {
1338
- "type": "typography",
1339
- "content": "Activity Log",
1340
- "variant": "h2"
1341
- }
1342
- ]
1343
- },
1344
- {
1345
- "type": "button",
1346
- "label": "Clear",
1347
- "event": "CLEAR",
1348
- "variant": "ghost",
1349
- "icon": "trash"
1350
- }
1351
- ]
1352
- },
1353
- {
1354
- "type": "divider"
1355
- },
1356
- {
1357
- "type": "timeline",
1358
- "entity": "AgentLearner",
1359
- "emptyIcon": "activity",
1360
- "emptyTitle": "No activity yet",
1361
- "emptyDescription": "Agent actions will appear here as they occur.",
1362
- "renderItem": [
1363
- "fn",
1364
- "item",
1365
- {
1366
- "type": "stack",
1367
- "direction": "vertical",
1368
- "gap": "xs",
1369
- "children": [
1370
- {
1371
- "type": "stack",
1372
- "direction": "horizontal",
1373
- "gap": "sm",
1374
- "align": "center",
1375
- "children": [
1376
- {
1377
- "type": "badge",
1378
- "label": "@item.status"
1379
- },
1380
- {
1381
- "type": "typography",
1382
- "variant": "h4",
1383
- "content": "@item.action"
1384
- }
1385
- ]
1386
- },
1387
- {
1388
- "type": "typography",
1389
- "variant": "body",
1390
- "color": "muted",
1391
- "content": "@item.detail"
1392
- },
1393
- {
1394
- "type": "stack",
1395
- "direction": "horizontal",
1396
- "gap": "sm",
1397
- "align": "center",
1398
- "children": [
1399
- {
1400
- "type": "typography",
1401
- "variant": "caption",
1402
- "color": "muted",
1403
- "content": "@item.timestamp"
1404
- },
1405
- {
1406
- "type": "badge",
1407
- "label": "@item.duration",
1408
- "variant": "outline"
1409
- }
1410
- ]
1411
- }
1412
- ]
1413
- }
1414
- ],
1415
- "fields": [
1416
- "name",
1417
- "description",
1418
- "status",
1419
- "createdAt",
1420
- "outcome",
1421
- "category",
1422
- "impact",
1423
- "memoryId",
1424
- "isSuccess",
1425
- "provider",
1426
- "consecutiveFailures",
1427
- "totalSuccesses",
1428
- "totalFailures",
1429
- "error",
1430
- "content",
1431
- "scope",
1432
- "strength",
1433
- "pinned",
1434
- "prompt",
1435
- "response",
1436
- "model",
1437
- "currentProvider",
1438
- "currentModel",
1439
- "fallbackProvider",
1440
- "requestCount",
1441
- "action",
1442
- "detail",
1443
- "timestamp",
1444
- "duration"
1445
- ]
1446
- }
1447
- ]
1448
- }
1449
- ]
1450
- ]
1451
- },
1452
- {
1453
- "from": "logging",
1454
- "to": "logging",
1455
- "event": "LOG_ENTRY",
1456
- "effects": [
1457
- [
1458
- "persist",
1459
- "create",
1460
- "AgentLearner",
1461
- {
1462
- "action": "@payload.action",
1463
- "detail": "@payload.detail",
1464
- "status": "@payload.status",
1465
- "timestamp": "@now"
1466
- }
1467
- ],
1468
- [
1469
- "fetch",
1470
- "AgentLearner"
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": "AgentLearner",
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
- "outcome",
1582
- "category",
1583
- "impact",
1584
- "memoryId",
1585
- "isSuccess",
1586
- "provider",
1587
- "consecutiveFailures",
1588
- "totalSuccesses",
1589
- "totalFailures",
1590
- "error",
1591
- "content",
1592
- "scope",
1593
- "strength",
1594
- "pinned",
1595
- "prompt",
1596
- "response",
1597
- "model",
1598
- "currentProvider",
1599
- "currentModel",
1600
- "fallbackProvider",
1601
- "requestCount",
1602
- "action",
1603
- "detail",
1604
- "timestamp",
1605
- "duration"
1606
- ]
1607
- }
1608
- ]
1609
- }
1610
- ],
1611
- [
1612
- "notify",
1613
- "AgentLearner created successfully"
1614
- ]
1615
- ]
1616
- },
1617
- {
1618
- "from": "logging",
1619
- "to": "logging",
1620
- "event": "CLEAR",
1621
- "effects": [
1622
- [
1623
- "persist",
1624
- "delete",
1625
- "AgentLearner"
1626
- ],
1627
- [
1628
- "fetch",
1629
- "AgentLearner"
1630
- ],
1631
- [
1632
- "render-ui",
1633
- "main",
1634
- {
1635
- "type": "stack",
1636
- "direction": "vertical",
1637
- "gap": "lg",
1638
- "children": [
1639
- {
1640
- "type": "stack",
1641
- "direction": "horizontal",
1642
- "gap": "sm",
1643
- "justify": "space-between",
1644
- "align": "center",
1645
- "children": [
1646
- {
1647
- "type": "stack",
1648
- "direction": "horizontal",
1649
- "gap": "sm",
1650
- "align": "center",
1651
- "children": [
1652
- {
1653
- "type": "icon",
1654
- "name": "activity",
1655
- "size": "lg"
1656
- },
1657
- {
1658
- "type": "typography",
1659
- "content": "Activity Log",
1660
- "variant": "h2"
1661
- }
1662
- ]
1663
- },
1664
- {
1665
- "type": "button",
1666
- "label": "Clear",
1667
- "event": "CLEAR",
1668
- "variant": "ghost",
1669
- "icon": "trash"
1670
- }
1671
- ]
1672
- },
1673
- {
1674
- "type": "divider"
1675
- },
1676
- {
1677
- "type": "timeline",
1678
- "entity": "AgentLearner",
1679
- "emptyIcon": "activity",
1680
- "emptyTitle": "No activity yet",
1681
- "emptyDescription": "Agent actions will appear here as they occur.",
1682
- "renderItem": [
1683
- "fn",
1684
- "item",
1685
- {
1686
- "type": "stack",
1687
- "direction": "vertical",
1688
- "gap": "xs",
1689
- "children": [
1690
- {
1691
- "type": "stack",
1692
- "direction": "horizontal",
1693
- "gap": "sm",
1694
- "align": "center",
1695
- "children": [
1696
- {
1697
- "type": "badge",
1698
- "label": "@item.status"
1699
- },
1700
- {
1701
- "type": "typography",
1702
- "variant": "h4",
1703
- "content": "@item.action"
1704
- }
1705
- ]
1706
- },
1707
- {
1708
- "type": "typography",
1709
- "variant": "body",
1710
- "color": "muted",
1711
- "content": "@item.detail"
1712
- },
1713
- {
1714
- "type": "stack",
1715
- "direction": "horizontal",
1716
- "gap": "sm",
1717
- "align": "center",
1718
- "children": [
1719
- {
1720
- "type": "typography",
1721
- "variant": "caption",
1722
- "color": "muted",
1723
- "content": "@item.timestamp"
1724
- },
1725
- {
1726
- "type": "badge",
1727
- "label": "@item.duration",
1728
- "variant": "outline"
1729
- }
1730
- ]
1731
- }
1732
- ]
1733
- }
1734
- ],
1735
- "fields": [
1736
- "name",
1737
- "description",
1738
- "status",
1739
- "createdAt",
1740
- "outcome",
1741
- "category",
1742
- "impact",
1743
- "memoryId",
1744
- "isSuccess",
1745
- "provider",
1746
- "consecutiveFailures",
1747
- "totalSuccesses",
1748
- "totalFailures",
1749
- "error",
1750
- "content",
1751
- "scope",
1752
- "strength",
1753
- "pinned",
1754
- "prompt",
1755
- "response",
1756
- "model",
1757
- "currentProvider",
1758
- "currentModel",
1759
- "fallbackProvider",
1760
- "requestCount",
1761
- "action",
1762
- "detail",
1763
- "timestamp",
1764
- "duration"
1765
- ]
1766
- }
1767
- ]
1768
- }
1769
- ],
1770
- [
1771
- "notify",
1772
- "AgentLearner deleted successfully"
1773
- ]
1774
- ]
1775
- }
1776
- ]
1777
- }
1778
- },
1779
1244
  {
1780
1245
  "name": "LearnerRecordsBrowse",
1781
1246
  "linkedEntity": "AgentLearner",
@@ -1923,6 +1388,7 @@
1923
1388
  "name": "LearnerMemoryLifecycle",
1924
1389
  "linkedEntity": "AgentLearner",
1925
1390
  "category": "interaction",
1391
+ "listens": [],
1926
1392
  "stateMachine": {
1927
1393
  "states": [
1928
1394
  {
@@ -2575,7 +2041,8 @@
2575
2041
  ]
2576
2042
  }
2577
2043
  ]
2578
- }
2044
+ },
2045
+ "listens": []
2579
2046
  },
2580
2047
  {
2581
2048
  "name": "LearnerProviderManager",
@@ -2915,7 +2382,8 @@
2915
2382
  ]
2916
2383
  }
2917
2384
  ]
2918
- }
2385
+ },
2386
+ "listens": []
2919
2387
  }
2920
2388
  ],
2921
2389
  "pages": [
@@ -2926,9 +2394,6 @@
2926
2394
  {
2927
2395
  "ref": "AgentLearnerLearner"
2928
2396
  },
2929
- {
2930
- "ref": "LearnerActivityLog"
2931
- },
2932
2397
  {
2933
2398
  "ref": "LearnerRecordsBrowse"
2934
2399
  },