@almadar/std 3.14.0 → 4.0.0

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