@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
@@ -117,6 +117,11 @@
117
117
  "name": "duration",
118
118
  "type": "number",
119
119
  "default": 0
120
+ },
121
+ {
122
+ "name": "icon",
123
+ "type": "string",
124
+ "default": "circle"
120
125
  }
121
126
  ]
122
127
  },
@@ -1296,35 +1301,23 @@
1296
1301
  }
1297
1302
  },
1298
1303
  {
1299
- "name": "PlannerActivityLog",
1304
+ "name": "PlannerClassifierFlow",
1300
1305
  "linkedEntity": "PipelinePlan",
1301
1306
  "category": "interaction",
1302
1307
  "emits": [
1303
1308
  {
1304
- "event": "LOG_ENTRY",
1305
- "scope": "internal",
1306
- "payload": [
1307
- {
1308
- "name": "action",
1309
- "type": "string"
1310
- },
1311
- {
1312
- "name": "detail",
1313
- "type": "string"
1314
- },
1315
- {
1316
- "name": "status",
1317
- "type": "string"
1318
- }
1319
- ]
1309
+ "event": "CLASSIFIED",
1310
+ "scope": "internal"
1320
1311
  }
1321
1312
  ],
1322
- "listens": [],
1323
1313
  "stateMachine": {
1324
1314
  "states": [
1325
1315
  {
1326
- "name": "logging",
1316
+ "name": "closed",
1327
1317
  "isInitial": true
1318
+ },
1319
+ {
1320
+ "name": "open"
1328
1321
  }
1329
1322
  ],
1330
1323
  "events": [
@@ -1333,39 +1326,33 @@
1333
1326
  "name": "Initialize"
1334
1327
  },
1335
1328
  {
1336
- "key": "LOG_ENTRY",
1337
- "name": "Log Entry",
1329
+ "key": "CLASSIFY",
1330
+ "name": "Open"
1331
+ },
1332
+ {
1333
+ "key": "CLOSE",
1334
+ "name": "Close"
1335
+ },
1336
+ {
1337
+ "key": "SAVE",
1338
+ "name": "Save",
1338
1339
  "payload": [
1339
1340
  {
1340
- "name": "action",
1341
- "type": "string",
1342
- "required": true
1343
- },
1344
- {
1345
- "name": "detail",
1346
- "type": "string",
1347
- "required": true
1348
- },
1349
- {
1350
- "name": "status",
1351
- "type": "string",
1341
+ "name": "data",
1342
+ "type": "object",
1352
1343
  "required": true
1353
1344
  }
1354
1345
  ]
1355
- },
1356
- {
1357
- "key": "CLEAR",
1358
- "name": "Clear Log"
1359
1346
  }
1360
1347
  ],
1361
1348
  "transitions": [
1362
1349
  {
1363
- "from": "logging",
1364
- "to": "logging",
1350
+ "from": "closed",
1351
+ "to": "closed",
1365
1352
  "event": "INIT",
1366
1353
  "effects": [
1367
1354
  [
1368
- "fetch",
1355
+ "ref",
1369
1356
  "PipelinePlan"
1370
1357
  ],
1371
1358
  [
@@ -1400,34 +1387,32 @@
1400
1387
  {
1401
1388
  "type": "stack",
1402
1389
  "direction": "horizontal",
1403
- "gap": "sm",
1390
+ "gap": "md",
1404
1391
  "justify": "space-between",
1405
- "align": "center",
1406
1392
  "children": [
1407
1393
  {
1408
1394
  "type": "stack",
1409
1395
  "direction": "horizontal",
1410
- "gap": "sm",
1411
- "align": "center",
1396
+ "gap": "md",
1412
1397
  "children": [
1413
1398
  {
1414
1399
  "type": "icon",
1415
- "name": "activity",
1400
+ "name": "tag",
1416
1401
  "size": "lg"
1417
1402
  },
1418
1403
  {
1419
1404
  "type": "typography",
1420
- "content": "Activity Log",
1405
+ "content": "PipelinePlan",
1421
1406
  "variant": "h2"
1422
1407
  }
1423
1408
  ]
1424
1409
  },
1425
1410
  {
1426
1411
  "type": "button",
1427
- "label": "Clear",
1428
- "event": "CLEAR",
1429
- "variant": "ghost",
1430
- "icon": "trash"
1412
+ "label": "Open",
1413
+ "event": "CLASSIFY",
1414
+ "variant": "primary",
1415
+ "icon": "tag"
1431
1416
  }
1432
1417
  ]
1433
1418
  },
@@ -1435,64 +1420,10 @@
1435
1420
  "type": "divider"
1436
1421
  },
1437
1422
  {
1438
- "type": "timeline",
1439
- "entity": "PipelinePlan",
1440
- "emptyIcon": "activity",
1441
- "emptyTitle": "No activity yet",
1442
- "emptyDescription": "Agent actions will appear here as they occur.",
1443
- "renderItem": [
1444
- "fn",
1445
- "item",
1446
- {
1447
- "type": "stack",
1448
- "direction": "vertical",
1449
- "gap": "xs",
1450
- "children": [
1451
- {
1452
- "type": "stack",
1453
- "direction": "horizontal",
1454
- "gap": "sm",
1455
- "align": "center",
1456
- "children": [
1457
- {
1458
- "type": "badge",
1459
- "label": "@item.status"
1460
- },
1461
- {
1462
- "type": "typography",
1463
- "variant": "h4",
1464
- "content": "@item.action"
1465
- }
1466
- ]
1467
- },
1468
- {
1469
- "type": "typography",
1470
- "variant": "body",
1471
- "color": "muted",
1472
- "content": "@item.detail"
1473
- },
1474
- {
1475
- "type": "stack",
1476
- "direction": "horizontal",
1477
- "gap": "sm",
1478
- "align": "center",
1479
- "children": [
1480
- {
1481
- "type": "typography",
1482
- "variant": "caption",
1483
- "color": "muted",
1484
- "content": "@item.timestamp"
1485
- },
1486
- {
1487
- "type": "badge",
1488
- "label": "@item.duration",
1489
- "variant": "outline"
1490
- }
1491
- ]
1492
- }
1493
- ]
1494
- }
1495
- ]
1423
+ "type": "empty-state",
1424
+ "icon": "tag",
1425
+ "title": "Nothing open",
1426
+ "description": "Click Open to view details in a modal overlay."
1496
1427
  }
1497
1428
  ]
1498
1429
  }
@@ -1502,23 +1433,107 @@
1502
1433
  ]
1503
1434
  },
1504
1435
  {
1505
- "from": "logging",
1506
- "to": "logging",
1507
- "event": "LOG_ENTRY",
1436
+ "from": "closed",
1437
+ "to": "open",
1438
+ "event": "CLASSIFY",
1508
1439
  "effects": [
1509
1440
  [
1510
- "persist",
1511
- "create",
1512
- "PipelinePlan",
1441
+ "render-ui",
1442
+ "modal",
1513
1443
  {
1514
- "action": "@payload.action",
1515
- "detail": "@payload.detail",
1516
- "status": "@payload.status",
1517
- "timestamp": "@now"
1444
+ "type": "stack",
1445
+ "direction": "vertical",
1446
+ "gap": "md",
1447
+ "children": [
1448
+ {
1449
+ "type": "stack",
1450
+ "direction": "horizontal",
1451
+ "gap": "sm",
1452
+ "children": [
1453
+ {
1454
+ "type": "icon",
1455
+ "name": "tag",
1456
+ "size": "md"
1457
+ },
1458
+ {
1459
+ "type": "typography",
1460
+ "content": "PipelinePlan",
1461
+ "variant": "h3"
1462
+ }
1463
+ ]
1464
+ },
1465
+ {
1466
+ "type": "divider"
1467
+ },
1468
+ {
1469
+ "type": "stack",
1470
+ "direction": "horizontal",
1471
+ "gap": "sm",
1472
+ "children": [
1473
+ {
1474
+ "type": "typography",
1475
+ "variant": "caption",
1476
+ "content": "Categories:"
1477
+ },
1478
+ {
1479
+ "type": "badge",
1480
+ "label": "data",
1481
+ "variant": "secondary"
1482
+ },
1483
+ {
1484
+ "type": "badge",
1485
+ "label": "transform",
1486
+ "variant": "secondary"
1487
+ },
1488
+ {
1489
+ "type": "badge",
1490
+ "label": "validate",
1491
+ "variant": "secondary"
1492
+ },
1493
+ {
1494
+ "type": "badge",
1495
+ "label": "deploy",
1496
+ "variant": "secondary"
1497
+ },
1498
+ {
1499
+ "type": "badge",
1500
+ "label": "test",
1501
+ "variant": "secondary"
1502
+ }
1503
+ ]
1504
+ },
1505
+ {
1506
+ "type": "form-section",
1507
+ "entity": "PipelinePlan",
1508
+ "mode": "create",
1509
+ "submitEvent": "SAVE",
1510
+ "cancelEvent": "CLOSE",
1511
+ "fields": [
1512
+ "input"
1513
+ ]
1514
+ }
1515
+ ]
1518
1516
  }
1517
+ ]
1518
+ ]
1519
+ },
1520
+ {
1521
+ "from": "open",
1522
+ "to": "closed",
1523
+ "event": "CLOSE",
1524
+ "effects": [
1525
+ [
1526
+ "render-ui",
1527
+ "modal",
1528
+ null
1519
1529
  ],
1520
1530
  [
1521
- "fetch",
1531
+ "notify",
1532
+ "Cancelled",
1533
+ "info"
1534
+ ],
1535
+ [
1536
+ "ref",
1522
1537
  "PipelinePlan"
1523
1538
  ],
1524
1539
  [
@@ -1553,34 +1568,32 @@
1553
1568
  {
1554
1569
  "type": "stack",
1555
1570
  "direction": "horizontal",
1556
- "gap": "sm",
1571
+ "gap": "md",
1557
1572
  "justify": "space-between",
1558
- "align": "center",
1559
1573
  "children": [
1560
1574
  {
1561
1575
  "type": "stack",
1562
1576
  "direction": "horizontal",
1563
- "gap": "sm",
1564
- "align": "center",
1577
+ "gap": "md",
1565
1578
  "children": [
1566
1579
  {
1567
1580
  "type": "icon",
1568
- "name": "activity",
1581
+ "name": "tag",
1569
1582
  "size": "lg"
1570
1583
  },
1571
1584
  {
1572
1585
  "type": "typography",
1573
- "content": "Activity Log",
1586
+ "content": "PipelinePlan",
1574
1587
  "variant": "h2"
1575
1588
  }
1576
1589
  ]
1577
1590
  },
1578
1591
  {
1579
1592
  "type": "button",
1580
- "label": "Clear",
1581
- "event": "CLEAR",
1582
- "variant": "ghost",
1583
- "icon": "trash"
1593
+ "label": "Open",
1594
+ "event": "CLASSIFY",
1595
+ "variant": "primary",
1596
+ "icon": "tag"
1584
1597
  }
1585
1598
  ]
1586
1599
  },
@@ -1588,88 +1601,40 @@
1588
1601
  "type": "divider"
1589
1602
  },
1590
1603
  {
1591
- "type": "timeline",
1592
- "entity": "PipelinePlan",
1593
- "emptyIcon": "activity",
1594
- "emptyTitle": "No activity yet",
1595
- "emptyDescription": "Agent actions will appear here as they occur.",
1596
- "renderItem": [
1597
- "fn",
1598
- "item",
1599
- {
1600
- "type": "stack",
1601
- "direction": "vertical",
1602
- "gap": "xs",
1603
- "children": [
1604
- {
1605
- "type": "stack",
1606
- "direction": "horizontal",
1607
- "gap": "sm",
1608
- "align": "center",
1609
- "children": [
1610
- {
1611
- "type": "badge",
1612
- "label": "@item.status"
1613
- },
1614
- {
1615
- "type": "typography",
1616
- "variant": "h4",
1617
- "content": "@item.action"
1618
- }
1619
- ]
1620
- },
1621
- {
1622
- "type": "typography",
1623
- "variant": "body",
1624
- "color": "muted",
1625
- "content": "@item.detail"
1626
- },
1627
- {
1628
- "type": "stack",
1629
- "direction": "horizontal",
1630
- "gap": "sm",
1631
- "align": "center",
1632
- "children": [
1633
- {
1634
- "type": "typography",
1635
- "variant": "caption",
1636
- "color": "muted",
1637
- "content": "@item.timestamp"
1638
- },
1639
- {
1640
- "type": "badge",
1641
- "label": "@item.duration",
1642
- "variant": "outline"
1643
- }
1644
- ]
1645
- }
1646
- ]
1647
- }
1648
- ]
1604
+ "type": "empty-state",
1605
+ "icon": "tag",
1606
+ "title": "Nothing open",
1607
+ "description": "Click Open to view details in a modal overlay."
1649
1608
  }
1650
1609
  ]
1651
1610
  }
1652
1611
  ]
1653
1612
  }
1654
- ],
1655
- [
1656
- "notify",
1657
- "PipelinePlan created successfully"
1658
1613
  ]
1659
1614
  ]
1660
1615
  },
1661
1616
  {
1662
- "from": "logging",
1663
- "to": "logging",
1664
- "event": "CLEAR",
1617
+ "from": "open",
1618
+ "to": "closed",
1619
+ "event": "SAVE",
1665
1620
  "effects": [
1666
1621
  [
1667
1622
  "persist",
1668
- "delete",
1669
- "PipelinePlan"
1623
+ "create",
1624
+ "PipelinePlan",
1625
+ "@payload.data"
1670
1626
  ],
1671
1627
  [
1672
- "fetch",
1628
+ "render-ui",
1629
+ "modal",
1630
+ null
1631
+ ],
1632
+ [
1633
+ "emit",
1634
+ "CLASSIFIED"
1635
+ ],
1636
+ [
1637
+ "ref",
1673
1638
  "PipelinePlan"
1674
1639
  ],
1675
1640
  [
@@ -1704,34 +1669,32 @@
1704
1669
  {
1705
1670
  "type": "stack",
1706
1671
  "direction": "horizontal",
1707
- "gap": "sm",
1672
+ "gap": "md",
1708
1673
  "justify": "space-between",
1709
- "align": "center",
1710
1674
  "children": [
1711
1675
  {
1712
1676
  "type": "stack",
1713
1677
  "direction": "horizontal",
1714
- "gap": "sm",
1715
- "align": "center",
1678
+ "gap": "md",
1716
1679
  "children": [
1717
1680
  {
1718
1681
  "type": "icon",
1719
- "name": "activity",
1682
+ "name": "tag",
1720
1683
  "size": "lg"
1721
1684
  },
1722
1685
  {
1723
1686
  "type": "typography",
1724
- "content": "Activity Log",
1687
+ "content": "PipelinePlan",
1725
1688
  "variant": "h2"
1726
1689
  }
1727
1690
  ]
1728
1691
  },
1729
1692
  {
1730
1693
  "type": "button",
1731
- "label": "Clear",
1732
- "event": "CLEAR",
1733
- "variant": "ghost",
1734
- "icon": "trash"
1694
+ "label": "Open",
1695
+ "event": "CLASSIFY",
1696
+ "variant": "primary",
1697
+ "icon": "tag"
1735
1698
  }
1736
1699
  ]
1737
1700
  },
@@ -1739,64 +1702,10 @@
1739
1702
  "type": "divider"
1740
1703
  },
1741
1704
  {
1742
- "type": "timeline",
1743
- "entity": "PipelinePlan",
1744
- "emptyIcon": "activity",
1745
- "emptyTitle": "No activity yet",
1746
- "emptyDescription": "Agent actions will appear here as they occur.",
1747
- "renderItem": [
1748
- "fn",
1749
- "item",
1750
- {
1751
- "type": "stack",
1752
- "direction": "vertical",
1753
- "gap": "xs",
1754
- "children": [
1755
- {
1756
- "type": "stack",
1757
- "direction": "horizontal",
1758
- "gap": "sm",
1759
- "align": "center",
1760
- "children": [
1761
- {
1762
- "type": "badge",
1763
- "label": "@item.status"
1764
- },
1765
- {
1766
- "type": "typography",
1767
- "variant": "h4",
1768
- "content": "@item.action"
1769
- }
1770
- ]
1771
- },
1772
- {
1773
- "type": "typography",
1774
- "variant": "body",
1775
- "color": "muted",
1776
- "content": "@item.detail"
1777
- },
1778
- {
1779
- "type": "stack",
1780
- "direction": "horizontal",
1781
- "gap": "sm",
1782
- "align": "center",
1783
- "children": [
1784
- {
1785
- "type": "typography",
1786
- "variant": "caption",
1787
- "color": "muted",
1788
- "content": "@item.timestamp"
1789
- },
1790
- {
1791
- "type": "badge",
1792
- "label": "@item.duration",
1793
- "variant": "outline"
1794
- }
1795
- ]
1796
- }
1797
- ]
1798
- }
1799
- ]
1705
+ "type": "empty-state",
1706
+ "icon": "tag",
1707
+ "title": "Nothing open",
1708
+ "description": "Click Open to view details in a modal overlay."
1800
1709
  }
1801
1710
  ]
1802
1711
  }
@@ -1805,20 +1714,21 @@
1805
1714
  ],
1806
1715
  [
1807
1716
  "notify",
1808
- "PipelinePlan deleted successfully"
1717
+ "PipelinePlan created successfully"
1809
1718
  ]
1810
1719
  ]
1811
1720
  }
1812
1721
  ]
1813
- }
1722
+ },
1723
+ "listens": []
1814
1724
  },
1815
1725
  {
1816
- "name": "PlannerClassifierFlow",
1726
+ "name": "PlannerCompletionFlow",
1817
1727
  "linkedEntity": "PipelinePlan",
1818
1728
  "category": "interaction",
1819
1729
  "emits": [
1820
1730
  {
1821
- "event": "CLASSIFIED",
1731
+ "event": "GENERATED",
1822
1732
  "scope": "internal"
1823
1733
  }
1824
1734
  ],
@@ -1838,7 +1748,7 @@
1838
1748
  "name": "Initialize"
1839
1749
  },
1840
1750
  {
1841
- "key": "CLASSIFY",
1751
+ "key": "GENERATE",
1842
1752
  "name": "Open"
1843
1753
  },
1844
1754
  {
@@ -1909,7 +1819,7 @@
1909
1819
  "children": [
1910
1820
  {
1911
1821
  "type": "icon",
1912
- "name": "tag",
1822
+ "name": "sparkles",
1913
1823
  "size": "lg"
1914
1824
  },
1915
1825
  {
@@ -1922,9 +1832,9 @@
1922
1832
  {
1923
1833
  "type": "button",
1924
1834
  "label": "Open",
1925
- "event": "CLASSIFY",
1835
+ "event": "GENERATE",
1926
1836
  "variant": "primary",
1927
- "icon": "tag"
1837
+ "icon": "sparkles"
1928
1838
  }
1929
1839
  ]
1930
1840
  },
@@ -1933,7 +1843,7 @@
1933
1843
  },
1934
1844
  {
1935
1845
  "type": "empty-state",
1936
- "icon": "tag",
1846
+ "icon": "sparkles",
1937
1847
  "title": "Nothing open",
1938
1848
  "description": "Click Open to view details in a modal overlay."
1939
1849
  }
@@ -1947,7 +1857,7 @@
1947
1857
  {
1948
1858
  "from": "closed",
1949
1859
  "to": "open",
1950
- "event": "CLASSIFY",
1860
+ "event": "GENERATE",
1951
1861
  "effects": [
1952
1862
  [
1953
1863
  "render-ui",
@@ -1964,7 +1874,7 @@
1964
1874
  "children": [
1965
1875
  {
1966
1876
  "type": "icon",
1967
- "name": "tag",
1877
+ "name": "sparkles",
1968
1878
  "size": "md"
1969
1879
  },
1970
1880
  {
@@ -1982,35 +1892,13 @@
1982
1892
  "direction": "horizontal",
1983
1893
  "gap": "sm",
1984
1894
  "children": [
1985
- {
1986
- "type": "typography",
1987
- "variant": "caption",
1988
- "content": "Categories:"
1989
- },
1990
- {
1991
- "type": "badge",
1992
- "label": "data",
1993
- "variant": "secondary"
1994
- },
1995
- {
1996
- "type": "badge",
1997
- "label": "transform",
1998
- "variant": "secondary"
1999
- },
2000
- {
2001
- "type": "badge",
2002
- "label": "validate",
2003
- "variant": "secondary"
2004
- },
2005
1895
  {
2006
1896
  "type": "badge",
2007
- "label": "deploy",
2008
- "variant": "secondary"
1897
+ "label": "@entity.provider"
2009
1898
  },
2010
1899
  {
2011
1900
  "type": "badge",
2012
- "label": "test",
2013
- "variant": "secondary"
1901
+ "label": "@entity.model"
2014
1902
  }
2015
1903
  ]
2016
1904
  },
@@ -2021,7 +1909,7 @@
2021
1909
  "submitEvent": "SAVE",
2022
1910
  "cancelEvent": "CLOSE",
2023
1911
  "fields": [
2024
- "input"
1912
+ "prompt"
2025
1913
  ]
2026
1914
  }
2027
1915
  ]
@@ -2090,7 +1978,7 @@
2090
1978
  "children": [
2091
1979
  {
2092
1980
  "type": "icon",
2093
- "name": "tag",
1981
+ "name": "sparkles",
2094
1982
  "size": "lg"
2095
1983
  },
2096
1984
  {
@@ -2103,9 +1991,9 @@
2103
1991
  {
2104
1992
  "type": "button",
2105
1993
  "label": "Open",
2106
- "event": "CLASSIFY",
1994
+ "event": "GENERATE",
2107
1995
  "variant": "primary",
2108
- "icon": "tag"
1996
+ "icon": "sparkles"
2109
1997
  }
2110
1998
  ]
2111
1999
  },
@@ -2114,7 +2002,7 @@
2114
2002
  },
2115
2003
  {
2116
2004
  "type": "empty-state",
2117
- "icon": "tag",
2005
+ "icon": "sparkles",
2118
2006
  "title": "Nothing open",
2119
2007
  "description": "Click Open to view details in a modal overlay."
2120
2008
  }
@@ -2143,7 +2031,7 @@
2143
2031
  ],
2144
2032
  [
2145
2033
  "emit",
2146
- "CLASSIFIED"
2034
+ "GENERATED"
2147
2035
  ],
2148
2036
  [
2149
2037
  "ref",
@@ -2191,7 +2079,7 @@
2191
2079
  "children": [
2192
2080
  {
2193
2081
  "type": "icon",
2194
- "name": "tag",
2082
+ "name": "sparkles",
2195
2083
  "size": "lg"
2196
2084
  },
2197
2085
  {
@@ -2204,9 +2092,9 @@
2204
2092
  {
2205
2093
  "type": "button",
2206
2094
  "label": "Open",
2207
- "event": "CLASSIFY",
2095
+ "event": "GENERATE",
2208
2096
  "variant": "primary",
2209
- "icon": "tag"
2097
+ "icon": "sparkles"
2210
2098
  }
2211
2099
  ]
2212
2100
  },
@@ -2215,7 +2103,7 @@
2215
2103
  },
2216
2104
  {
2217
2105
  "type": "empty-state",
2218
- "icon": "tag",
2106
+ "icon": "sparkles",
2219
2107
  "title": "Nothing open",
2220
2108
  "description": "Click Open to view details in a modal overlay."
2221
2109
  }
@@ -2235,23 +2123,15 @@
2235
2123
  "listens": []
2236
2124
  },
2237
2125
  {
2238
- "name": "PlannerCompletionFlow",
2126
+ "name": "PlannerMemoryLifecycle",
2239
2127
  "linkedEntity": "PipelinePlan",
2240
2128
  "category": "interaction",
2241
- "emits": [
2242
- {
2243
- "event": "GENERATED",
2244
- "scope": "internal"
2245
- }
2246
- ],
2129
+ "listens": [],
2247
2130
  "stateMachine": {
2248
2131
  "states": [
2249
2132
  {
2250
- "name": "closed",
2133
+ "name": "browsing",
2251
2134
  "isInitial": true
2252
- },
2253
- {
2254
- "name": "open"
2255
2135
  }
2256
2136
  ],
2257
2137
  "events": [
@@ -2260,16 +2140,109 @@
2260
2140
  "name": "Initialize"
2261
2141
  },
2262
2142
  {
2263
- "key": "GENERATE",
2264
- "name": "Open"
2143
+ "key": "MEMORIZE",
2144
+ "name": "MEMORIZE"
2265
2145
  },
2266
2146
  {
2267
- "key": "CLOSE",
2268
- "name": "Close"
2147
+ "key": "RECALL",
2148
+ "name": "RECALL"
2269
2149
  },
2270
2150
  {
2271
- "key": "SAVE",
2272
- "name": "Save",
2151
+ "key": "DECAY",
2152
+ "name": "DECAY"
2153
+ },
2154
+ {
2155
+ "key": "PIN",
2156
+ "name": "PIN",
2157
+ "payload": [
2158
+ {
2159
+ "name": "id",
2160
+ "type": "string",
2161
+ "required": true
2162
+ },
2163
+ {
2164
+ "name": "row",
2165
+ "type": "object"
2166
+ }
2167
+ ]
2168
+ },
2169
+ {
2170
+ "key": "REINFORCE",
2171
+ "name": "REINFORCE",
2172
+ "payload": [
2173
+ {
2174
+ "name": "id",
2175
+ "type": "string",
2176
+ "required": true
2177
+ },
2178
+ {
2179
+ "name": "row",
2180
+ "type": "object"
2181
+ }
2182
+ ]
2183
+ },
2184
+ {
2185
+ "key": "FORGET",
2186
+ "name": "FORGET",
2187
+ "payload": [
2188
+ {
2189
+ "name": "id",
2190
+ "type": "string",
2191
+ "required": true
2192
+ },
2193
+ {
2194
+ "name": "row",
2195
+ "type": "object"
2196
+ }
2197
+ ]
2198
+ },
2199
+ {
2200
+ "key": "MEMORIZED",
2201
+ "name": "MEMORIZED",
2202
+ "payload": [
2203
+ {
2204
+ "name": "data",
2205
+ "type": "object",
2206
+ "required": true
2207
+ }
2208
+ ]
2209
+ },
2210
+ {
2211
+ "key": "PINNED",
2212
+ "name": "PINNED",
2213
+ "payload": [
2214
+ {
2215
+ "name": "data",
2216
+ "type": "object",
2217
+ "required": true
2218
+ }
2219
+ ]
2220
+ },
2221
+ {
2222
+ "key": "FORGOT",
2223
+ "name": "FORGOT",
2224
+ "payload": [
2225
+ {
2226
+ "name": "data",
2227
+ "type": "object",
2228
+ "required": true
2229
+ }
2230
+ ]
2231
+ },
2232
+ {
2233
+ "key": "REINFORCED",
2234
+ "name": "REINFORCED",
2235
+ "payload": [
2236
+ {
2237
+ "name": "data",
2238
+ "type": "object",
2239
+ "required": true
2240
+ }
2241
+ ]
2242
+ },
2243
+ {
2244
+ "key": "DECAYED",
2245
+ "name": "DECAYED",
2273
2246
  "payload": [
2274
2247
  {
2275
2248
  "name": "data",
@@ -2281,8 +2254,8 @@
2281
2254
  ],
2282
2255
  "transitions": [
2283
2256
  {
2284
- "from": "closed",
2285
- "to": "closed",
2257
+ "from": "browsing",
2258
+ "to": "browsing",
2286
2259
  "event": "INIT",
2287
2260
  "effects": [
2288
2261
  [
@@ -2317,545 +2290,60 @@
2317
2290
  "type": "stack",
2318
2291
  "direction": "vertical",
2319
2292
  "gap": "lg",
2293
+ "className": "max-w-5xl mx-auto w-full",
2320
2294
  "children": [
2321
2295
  {
2322
2296
  "type": "stack",
2323
2297
  "direction": "horizontal",
2324
2298
  "gap": "md",
2325
2299
  "justify": "space-between",
2300
+ "align": "center",
2326
2301
  "children": [
2327
2302
  {
2328
2303
  "type": "stack",
2329
2304
  "direction": "horizontal",
2330
- "gap": "md",
2305
+ "gap": "sm",
2306
+ "align": "center",
2331
2307
  "children": [
2332
2308
  {
2333
2309
  "type": "icon",
2334
- "name": "sparkles",
2310
+ "name": "brain",
2335
2311
  "size": "lg"
2336
2312
  },
2337
2313
  {
2338
2314
  "type": "typography",
2339
- "content": "PipelinePlan",
2315
+ "content": "PipelinePlan Manager",
2340
2316
  "variant": "h2"
2341
2317
  }
2342
2318
  ]
2343
2319
  },
2344
2320
  {
2345
- "type": "button",
2346
- "label": "Open",
2347
- "event": "GENERATE",
2348
- "variant": "primary",
2349
- "icon": "sparkles"
2350
- }
2351
- ]
2352
- },
2353
- {
2354
- "type": "divider"
2355
- },
2356
- {
2357
- "type": "empty-state",
2358
- "icon": "sparkles",
2359
- "title": "Nothing open",
2360
- "description": "Click Open to view details in a modal overlay."
2361
- }
2362
- ]
2363
- }
2364
- ]
2365
- }
2366
- ]
2367
- ]
2368
- },
2369
- {
2370
- "from": "closed",
2371
- "to": "open",
2372
- "event": "GENERATE",
2373
- "effects": [
2374
- [
2375
- "render-ui",
2376
- "modal",
2377
- {
2378
- "type": "stack",
2379
- "direction": "vertical",
2380
- "gap": "md",
2381
- "children": [
2382
- {
2383
- "type": "stack",
2384
- "direction": "horizontal",
2385
- "gap": "sm",
2386
- "children": [
2387
- {
2388
- "type": "icon",
2389
- "name": "sparkles",
2390
- "size": "md"
2391
- },
2392
- {
2393
- "type": "typography",
2394
- "content": "PipelinePlan",
2395
- "variant": "h3"
2396
- }
2397
- ]
2398
- },
2399
- {
2400
- "type": "divider"
2401
- },
2402
- {
2403
- "type": "stack",
2404
- "direction": "horizontal",
2405
- "gap": "sm",
2406
- "children": [
2407
- {
2408
- "type": "badge",
2409
- "label": "@entity.provider"
2410
- },
2411
- {
2412
- "type": "badge",
2413
- "label": "@entity.model"
2414
- }
2415
- ]
2416
- },
2417
- {
2418
- "type": "form-section",
2419
- "entity": "PipelinePlan",
2420
- "mode": "create",
2421
- "submitEvent": "SAVE",
2422
- "cancelEvent": "CLOSE",
2423
- "fields": [
2424
- "prompt"
2425
- ]
2426
- }
2427
- ]
2428
- }
2429
- ]
2430
- ]
2431
- },
2432
- {
2433
- "from": "open",
2434
- "to": "closed",
2435
- "event": "CLOSE",
2436
- "effects": [
2437
- [
2438
- "render-ui",
2439
- "modal",
2440
- null
2441
- ],
2442
- [
2443
- "notify",
2444
- "Cancelled",
2445
- "info"
2446
- ],
2447
- [
2448
- "ref",
2449
- "PipelinePlan"
2450
- ],
2451
- [
2452
- "render-ui",
2453
- "main",
2454
- {
2455
- "type": "dashboard-layout",
2456
- "appName": "Agent Pipeline",
2457
- "navItems": [
2458
- {
2459
- "label": "Pipeline",
2460
- "href": "/pipeline",
2461
- "icon": "git-branch"
2462
- },
2463
- {
2464
- "label": "Execution",
2465
- "href": "/execution",
2466
- "icon": "play"
2467
- },
2468
- {
2469
- "label": "Logs",
2470
- "href": "/logs",
2471
- "icon": "terminal"
2472
- }
2473
- ],
2474
- "children": [
2475
- {
2476
- "type": "stack",
2477
- "direction": "vertical",
2478
- "gap": "lg",
2479
- "children": [
2480
- {
2481
- "type": "stack",
2482
- "direction": "horizontal",
2483
- "gap": "md",
2484
- "justify": "space-between",
2485
- "children": [
2486
- {
2487
- "type": "stack",
2488
- "direction": "horizontal",
2489
- "gap": "md",
2490
- "children": [
2491
- {
2492
- "type": "icon",
2493
- "name": "sparkles",
2494
- "size": "lg"
2495
- },
2496
- {
2497
- "type": "typography",
2498
- "content": "PipelinePlan",
2499
- "variant": "h2"
2500
- }
2501
- ]
2502
- },
2503
- {
2504
- "type": "button",
2505
- "label": "Open",
2506
- "event": "GENERATE",
2507
- "variant": "primary",
2508
- "icon": "sparkles"
2509
- }
2510
- ]
2511
- },
2512
- {
2513
- "type": "divider"
2514
- },
2515
- {
2516
- "type": "empty-state",
2517
- "icon": "sparkles",
2518
- "title": "Nothing open",
2519
- "description": "Click Open to view details in a modal overlay."
2520
- }
2521
- ]
2522
- }
2523
- ]
2524
- }
2525
- ]
2526
- ]
2527
- },
2528
- {
2529
- "from": "open",
2530
- "to": "closed",
2531
- "event": "SAVE",
2532
- "effects": [
2533
- [
2534
- "persist",
2535
- "create",
2536
- "PipelinePlan",
2537
- "@payload.data"
2538
- ],
2539
- [
2540
- "render-ui",
2541
- "modal",
2542
- null
2543
- ],
2544
- [
2545
- "emit",
2546
- "GENERATED"
2547
- ],
2548
- [
2549
- "ref",
2550
- "PipelinePlan"
2551
- ],
2552
- [
2553
- "render-ui",
2554
- "main",
2555
- {
2556
- "type": "dashboard-layout",
2557
- "appName": "Agent Pipeline",
2558
- "navItems": [
2559
- {
2560
- "label": "Pipeline",
2561
- "href": "/pipeline",
2562
- "icon": "git-branch"
2563
- },
2564
- {
2565
- "label": "Execution",
2566
- "href": "/execution",
2567
- "icon": "play"
2568
- },
2569
- {
2570
- "label": "Logs",
2571
- "href": "/logs",
2572
- "icon": "terminal"
2573
- }
2574
- ],
2575
- "children": [
2576
- {
2577
- "type": "stack",
2578
- "direction": "vertical",
2579
- "gap": "lg",
2580
- "children": [
2581
- {
2582
- "type": "stack",
2583
- "direction": "horizontal",
2584
- "gap": "md",
2585
- "justify": "space-between",
2586
- "children": [
2587
- {
2588
- "type": "stack",
2589
- "direction": "horizontal",
2590
- "gap": "md",
2591
- "children": [
2592
- {
2593
- "type": "icon",
2594
- "name": "sparkles",
2595
- "size": "lg"
2596
- },
2597
- {
2598
- "type": "typography",
2599
- "content": "PipelinePlan",
2600
- "variant": "h2"
2601
- }
2602
- ]
2603
- },
2604
- {
2605
- "type": "button",
2606
- "label": "Open",
2607
- "event": "GENERATE",
2608
- "variant": "primary",
2609
- "icon": "sparkles"
2610
- }
2611
- ]
2612
- },
2613
- {
2614
- "type": "divider"
2615
- },
2616
- {
2617
- "type": "empty-state",
2618
- "icon": "sparkles",
2619
- "title": "Nothing open",
2620
- "description": "Click Open to view details in a modal overlay."
2621
- }
2622
- ]
2623
- }
2624
- ]
2625
- }
2626
- ],
2627
- [
2628
- "notify",
2629
- "PipelinePlan created successfully"
2630
- ]
2631
- ]
2632
- }
2633
- ]
2634
- },
2635
- "listens": []
2636
- },
2637
- {
2638
- "name": "PlannerMemoryLifecycle",
2639
- "linkedEntity": "PipelinePlan",
2640
- "category": "interaction",
2641
- "listens": [],
2642
- "stateMachine": {
2643
- "states": [
2644
- {
2645
- "name": "browsing",
2646
- "isInitial": true
2647
- }
2648
- ],
2649
- "events": [
2650
- {
2651
- "key": "INIT",
2652
- "name": "Initialize"
2653
- },
2654
- {
2655
- "key": "MEMORIZE",
2656
- "name": "MEMORIZE"
2657
- },
2658
- {
2659
- "key": "RECALL",
2660
- "name": "RECALL"
2661
- },
2662
- {
2663
- "key": "DECAY",
2664
- "name": "DECAY"
2665
- },
2666
- {
2667
- "key": "PIN",
2668
- "name": "PIN",
2669
- "payload": [
2670
- {
2671
- "name": "id",
2672
- "type": "string",
2673
- "required": true
2674
- },
2675
- {
2676
- "name": "row",
2677
- "type": "object"
2678
- }
2679
- ]
2680
- },
2681
- {
2682
- "key": "REINFORCE",
2683
- "name": "REINFORCE",
2684
- "payload": [
2685
- {
2686
- "name": "id",
2687
- "type": "string",
2688
- "required": true
2689
- },
2690
- {
2691
- "name": "row",
2692
- "type": "object"
2693
- }
2694
- ]
2695
- },
2696
- {
2697
- "key": "FORGET",
2698
- "name": "FORGET",
2699
- "payload": [
2700
- {
2701
- "name": "id",
2702
- "type": "string",
2703
- "required": true
2704
- },
2705
- {
2706
- "name": "row",
2707
- "type": "object"
2708
- }
2709
- ]
2710
- },
2711
- {
2712
- "key": "MEMORIZED",
2713
- "name": "MEMORIZED",
2714
- "payload": [
2715
- {
2716
- "name": "data",
2717
- "type": "object",
2718
- "required": true
2719
- }
2720
- ]
2721
- },
2722
- {
2723
- "key": "PINNED",
2724
- "name": "PINNED",
2725
- "payload": [
2726
- {
2727
- "name": "data",
2728
- "type": "object",
2729
- "required": true
2730
- }
2731
- ]
2732
- },
2733
- {
2734
- "key": "FORGOT",
2735
- "name": "FORGOT",
2736
- "payload": [
2737
- {
2738
- "name": "data",
2739
- "type": "object",
2740
- "required": true
2741
- }
2742
- ]
2743
- },
2744
- {
2745
- "key": "REINFORCED",
2746
- "name": "REINFORCED",
2747
- "payload": [
2748
- {
2749
- "name": "data",
2750
- "type": "object",
2751
- "required": true
2752
- }
2753
- ]
2754
- },
2755
- {
2756
- "key": "DECAYED",
2757
- "name": "DECAYED",
2758
- "payload": [
2759
- {
2760
- "name": "data",
2761
- "type": "object",
2762
- "required": true
2763
- }
2764
- ]
2765
- }
2766
- ],
2767
- "transitions": [
2768
- {
2769
- "from": "browsing",
2770
- "to": "browsing",
2771
- "event": "INIT",
2772
- "effects": [
2773
- [
2774
- "ref",
2775
- "PipelinePlan"
2776
- ],
2777
- [
2778
- "render-ui",
2779
- "main",
2780
- {
2781
- "type": "dashboard-layout",
2782
- "appName": "Agent Pipeline",
2783
- "navItems": [
2784
- {
2785
- "label": "Pipeline",
2786
- "href": "/pipeline",
2787
- "icon": "git-branch"
2788
- },
2789
- {
2790
- "label": "Execution",
2791
- "href": "/execution",
2792
- "icon": "play"
2793
- },
2794
- {
2795
- "label": "Logs",
2796
- "href": "/logs",
2797
- "icon": "terminal"
2798
- }
2799
- ],
2800
- "children": [
2801
- {
2802
- "type": "stack",
2803
- "direction": "vertical",
2804
- "gap": "lg",
2805
- "className": "max-w-5xl mx-auto w-full",
2806
- "children": [
2807
- {
2808
- "type": "stack",
2809
- "direction": "horizontal",
2810
- "gap": "md",
2811
- "justify": "space-between",
2812
- "align": "center",
2813
- "children": [
2814
- {
2815
- "type": "stack",
2816
- "direction": "horizontal",
2817
- "gap": "sm",
2818
- "align": "center",
2819
- "children": [
2820
- {
2821
- "type": "icon",
2822
- "name": "brain",
2823
- "size": "lg"
2824
- },
2825
- {
2826
- "type": "typography",
2827
- "content": "PipelinePlan Manager",
2828
- "variant": "h2"
2829
- }
2830
- ]
2831
- },
2832
- {
2833
- "type": "stack",
2834
- "direction": "horizontal",
2835
- "gap": "sm",
2836
- "children": [
2837
- {
2838
- "type": "button",
2839
- "label": "Memorize",
2840
- "event": "MEMORIZE",
2841
- "variant": "primary",
2842
- "icon": "plus"
2843
- },
2844
- {
2845
- "type": "button",
2846
- "label": "Recall",
2847
- "event": "RECALL",
2848
- "variant": "secondary",
2849
- "icon": "search"
2850
- },
2851
- {
2852
- "type": "button",
2853
- "label": "Decay All",
2854
- "event": "DECAY",
2855
- "variant": "ghost",
2856
- "icon": "clock"
2857
- }
2858
- ]
2321
+ "type": "stack",
2322
+ "direction": "horizontal",
2323
+ "gap": "sm",
2324
+ "children": [
2325
+ {
2326
+ "type": "button",
2327
+ "label": "Memorize",
2328
+ "event": "MEMORIZE",
2329
+ "variant": "primary",
2330
+ "icon": "plus"
2331
+ },
2332
+ {
2333
+ "type": "button",
2334
+ "label": "Recall",
2335
+ "event": "RECALL",
2336
+ "variant": "secondary",
2337
+ "icon": "search"
2338
+ },
2339
+ {
2340
+ "type": "button",
2341
+ "label": "Decay All",
2342
+ "event": "DECAY",
2343
+ "variant": "ghost",
2344
+ "icon": "clock"
2345
+ }
2346
+ ]
2859
2347
  }
2860
2348
  ]
2861
2349
  },
@@ -3784,7 +3272,7 @@
3784
3272
  },
3785
3273
  {
3786
3274
  "type": "simple-grid",
3787
- "columns": 2,
3275
+ "cols": 2,
3788
3276
  "children": [
3789
3277
  {
3790
3278
  "type": "stat-display",
@@ -4086,7 +3574,7 @@
4086
3574
  },
4087
3575
  {
4088
3576
  "type": "simple-grid",
4089
- "columns": 2,
3577
+ "cols": 2,
4090
3578
  "children": [
4091
3579
  {
4092
3580
  "type": "stat-display",
@@ -4178,7 +3666,7 @@
4178
3666
  },
4179
3667
  {
4180
3668
  "type": "simple-grid",
4181
- "columns": 2,
3669
+ "cols": 2,
4182
3670
  "children": [
4183
3671
  {
4184
3672
  "type": "stat-display",
@@ -4270,7 +3758,7 @@
4270
3758
  },
4271
3759
  {
4272
3760
  "type": "simple-grid",
4273
- "columns": 2,
3761
+ "cols": 2,
4274
3762
  "children": [
4275
3763
  {
4276
3764
  "type": "stat-display",
@@ -4753,8 +4241,24 @@
4753
4241
  {
4754
4242
  "type": "wizard-progress",
4755
4243
  "currentStep": "@entity.currentStep",
4756
- "totalSteps": "@entity.totalSteps",
4757
- "steps": "@entity.steps"
4244
+ "steps": [
4245
+ {
4246
+ "id": "0",
4247
+ "title": "Plan"
4248
+ },
4249
+ {
4250
+ "id": "1",
4251
+ "title": "Execute"
4252
+ },
4253
+ {
4254
+ "id": "2",
4255
+ "title": "Check"
4256
+ },
4257
+ {
4258
+ "id": "3",
4259
+ "title": "Complete"
4260
+ }
4261
+ ]
4758
4262
  },
4759
4263
  {
4760
4264
  "type": "button",
@@ -4843,8 +4347,24 @@
4843
4347
  {
4844
4348
  "type": "wizard-progress",
4845
4349
  "currentStep": "@entity.currentStep",
4846
- "totalSteps": "@entity.totalSteps",
4847
- "steps": "@entity.steps"
4350
+ "steps": [
4351
+ {
4352
+ "id": "0",
4353
+ "title": "Plan"
4354
+ },
4355
+ {
4356
+ "id": "1",
4357
+ "title": "Execute"
4358
+ },
4359
+ {
4360
+ "id": "2",
4361
+ "title": "Check"
4362
+ },
4363
+ {
4364
+ "id": "3",
4365
+ "title": "Complete"
4366
+ }
4367
+ ]
4848
4368
  },
4849
4369
  {
4850
4370
  "type": "stack",
@@ -4969,8 +4489,24 @@
4969
4489
  {
4970
4490
  "type": "wizard-progress",
4971
4491
  "currentStep": "@entity.currentStep",
4972
- "totalSteps": "@entity.totalSteps",
4973
- "steps": "@entity.steps"
4492
+ "steps": [
4493
+ {
4494
+ "id": "0",
4495
+ "title": "Plan"
4496
+ },
4497
+ {
4498
+ "id": "1",
4499
+ "title": "Execute"
4500
+ },
4501
+ {
4502
+ "id": "2",
4503
+ "title": "Check"
4504
+ },
4505
+ {
4506
+ "id": "3",
4507
+ "title": "Complete"
4508
+ }
4509
+ ]
4974
4510
  },
4975
4511
  {
4976
4512
  "type": "stack",
@@ -5019,216 +4555,19 @@
5019
4555
  ]
5020
4556
  },
5021
4557
  {
5022
- "from": "in_progress",
5023
- "to": "completed",
5024
- "event": "COMPLETE",
5025
- "effects": [
5026
- [
5027
- "set",
5028
- "@entity.status",
5029
- "completed"
5030
- ],
5031
- [
5032
- "set",
5033
- "@entity.currentStep",
5034
- "@entity.totalSteps"
5035
- ],
5036
- [
5037
- "render-ui",
5038
- "main",
5039
- {
5040
- "type": "dashboard-layout",
5041
- "appName": "Agent Pipeline",
5042
- "navItems": [
5043
- {
5044
- "label": "Pipeline",
5045
- "href": "/pipeline",
5046
- "icon": "git-branch"
5047
- },
5048
- {
5049
- "label": "Execution",
5050
- "href": "/execution",
5051
- "icon": "play"
5052
- },
5053
- {
5054
- "label": "Logs",
5055
- "href": "/logs",
5056
- "icon": "terminal"
5057
- }
5058
- ],
5059
- "children": [
5060
- {
5061
- "type": "stack",
5062
- "direction": "vertical",
5063
- "gap": "lg",
5064
- "children": [
5065
- {
5066
- "type": "stack",
5067
- "direction": "horizontal",
5068
- "gap": "sm",
5069
- "align": "center",
5070
- "children": [
5071
- {
5072
- "type": "icon",
5073
- "name": "check-circle",
5074
- "size": "lg"
5075
- },
5076
- {
5077
- "type": "typography",
5078
- "content": "PipelineExec",
5079
- "variant": "h2"
5080
- },
5081
- {
5082
- "type": "badge",
5083
- "label": "Completed",
5084
- "variant": "success"
5085
- }
5086
- ]
5087
- },
5088
- {
5089
- "type": "divider"
5090
- },
5091
- {
5092
- "type": "wizard-progress",
5093
- "currentStep": "@entity.totalSteps",
5094
- "totalSteps": "@entity.totalSteps",
5095
- "steps": "@entity.steps"
5096
- },
5097
- {
5098
- "type": "alert",
5099
- "variant": "success",
5100
- "message": "All steps completed successfully."
5101
- },
5102
- {
5103
- "type": "button",
5104
- "label": "Reset",
5105
- "event": "RESET",
5106
- "variant": "ghost",
5107
- "icon": "rotate-ccw"
5108
- }
5109
- ]
5110
- }
5111
- ]
5112
- }
5113
- ]
5114
- ]
5115
- },
5116
- {
5117
- "from": "in_progress",
5118
- "to": "failed",
5119
- "event": "FAIL",
5120
- "effects": [
5121
- [
5122
- "set",
5123
- "@entity.status",
5124
- "failed"
5125
- ],
5126
- [
5127
- "render-ui",
5128
- "main",
5129
- {
5130
- "type": "dashboard-layout",
5131
- "appName": "Agent Pipeline",
5132
- "navItems": [
5133
- {
5134
- "label": "Pipeline",
5135
- "href": "/pipeline",
5136
- "icon": "git-branch"
5137
- },
5138
- {
5139
- "label": "Execution",
5140
- "href": "/execution",
5141
- "icon": "play"
5142
- },
5143
- {
5144
- "label": "Logs",
5145
- "href": "/logs",
5146
- "icon": "terminal"
5147
- }
5148
- ],
5149
- "children": [
5150
- {
5151
- "type": "stack",
5152
- "direction": "vertical",
5153
- "gap": "lg",
5154
- "children": [
5155
- {
5156
- "type": "stack",
5157
- "direction": "horizontal",
5158
- "gap": "sm",
5159
- "align": "center",
5160
- "children": [
5161
- {
5162
- "type": "icon",
5163
- "name": "x-circle",
5164
- "size": "lg"
5165
- },
5166
- {
5167
- "type": "typography",
5168
- "content": "PipelineExec",
5169
- "variant": "h2"
5170
- },
5171
- {
5172
- "type": "badge",
5173
- "label": "Failed",
5174
- "variant": "destructive"
5175
- }
5176
- ]
5177
- },
5178
- {
5179
- "type": "divider"
5180
- },
5181
- {
5182
- "type": "wizard-progress",
5183
- "currentStep": "@entity.currentStep",
5184
- "totalSteps": "@entity.totalSteps",
5185
- "steps": "@entity.steps"
5186
- },
5187
- {
5188
- "type": "alert",
5189
- "variant": "error",
5190
- "message": "Pipeline failed at the current step."
5191
- },
5192
- {
5193
- "type": "stack",
5194
- "direction": "horizontal",
5195
- "gap": "sm",
5196
- "children": [
5197
- {
5198
- "type": "stat-display",
5199
- "label": "Failed At Step",
5200
- "value": "@entity.currentStep"
5201
- }
5202
- ]
5203
- },
5204
- {
5205
- "type": "button",
5206
- "label": "Reset",
5207
- "event": "RESET",
5208
- "variant": "ghost",
5209
- "icon": "rotate-ccw"
5210
- }
5211
- ]
5212
- }
5213
- ]
5214
- }
5215
- ]
5216
- ]
5217
- },
5218
- {
5219
- "from": "idle",
5220
- "to": "idle",
5221
- "event": "RESET",
4558
+ "from": "in_progress",
4559
+ "to": "completed",
4560
+ "event": "COMPLETE",
5222
4561
  "effects": [
5223
4562
  [
5224
4563
  "set",
5225
4564
  "@entity.status",
5226
- "idle"
4565
+ "completed"
5227
4566
  ],
5228
4567
  [
5229
4568
  "set",
5230
4569
  "@entity.currentStep",
5231
- 0
4570
+ "@entity.totalSteps"
5232
4571
  ],
5233
4572
  [
5234
4573
  "render-ui",
@@ -5267,7 +4606,7 @@
5267
4606
  "children": [
5268
4607
  {
5269
4608
  "type": "icon",
5270
- "name": "list-ordered",
4609
+ "name": "check-circle",
5271
4610
  "size": "lg"
5272
4611
  },
5273
4612
  {
@@ -5277,8 +4616,8 @@
5277
4616
  },
5278
4617
  {
5279
4618
  "type": "badge",
5280
- "label": "Idle",
5281
- "variant": "default"
4619
+ "label": "Completed",
4620
+ "variant": "success"
5282
4621
  }
5283
4622
  ]
5284
4623
  },
@@ -5287,16 +4626,37 @@
5287
4626
  },
5288
4627
  {
5289
4628
  "type": "wizard-progress",
5290
- "currentStep": "@entity.currentStep",
5291
- "totalSteps": "@entity.totalSteps",
5292
- "steps": "@entity.steps"
4629
+ "currentStep": "@entity.totalSteps",
4630
+ "steps": [
4631
+ {
4632
+ "id": "0",
4633
+ "title": "Plan"
4634
+ },
4635
+ {
4636
+ "id": "1",
4637
+ "title": "Execute"
4638
+ },
4639
+ {
4640
+ "id": "2",
4641
+ "title": "Check"
4642
+ },
4643
+ {
4644
+ "id": "3",
4645
+ "title": "Complete"
4646
+ }
4647
+ ]
4648
+ },
4649
+ {
4650
+ "type": "alert",
4651
+ "variant": "success",
4652
+ "message": "All steps completed successfully."
5293
4653
  },
5294
4654
  {
5295
4655
  "type": "button",
5296
- "label": "Start",
5297
- "event": "START",
5298
- "variant": "primary",
5299
- "icon": "play"
4656
+ "label": "Reset",
4657
+ "event": "RESET",
4658
+ "variant": "ghost",
4659
+ "icon": "rotate-ccw"
5300
4660
  }
5301
4661
  ]
5302
4662
  }
@@ -5307,18 +4667,13 @@
5307
4667
  },
5308
4668
  {
5309
4669
  "from": "in_progress",
5310
- "to": "idle",
5311
- "event": "RESET",
4670
+ "to": "failed",
4671
+ "event": "FAIL",
5312
4672
  "effects": [
5313
4673
  [
5314
4674
  "set",
5315
4675
  "@entity.status",
5316
- "idle"
5317
- ],
5318
- [
5319
- "set",
5320
- "@entity.currentStep",
5321
- 0
4676
+ "failed"
5322
4677
  ],
5323
4678
  [
5324
4679
  "render-ui",
@@ -5357,7 +4712,7 @@
5357
4712
  "children": [
5358
4713
  {
5359
4714
  "type": "icon",
5360
- "name": "list-ordered",
4715
+ "name": "x-circle",
5361
4716
  "size": "lg"
5362
4717
  },
5363
4718
  {
@@ -5367,8 +4722,8 @@
5367
4722
  },
5368
4723
  {
5369
4724
  "type": "badge",
5370
- "label": "Idle",
5371
- "variant": "default"
4725
+ "label": "Failed",
4726
+ "variant": "destructive"
5372
4727
  }
5373
4728
  ]
5374
4729
  },
@@ -5378,15 +4733,48 @@
5378
4733
  {
5379
4734
  "type": "wizard-progress",
5380
4735
  "currentStep": "@entity.currentStep",
5381
- "totalSteps": "@entity.totalSteps",
5382
- "steps": "@entity.steps"
4736
+ "steps": [
4737
+ {
4738
+ "id": "0",
4739
+ "title": "Plan"
4740
+ },
4741
+ {
4742
+ "id": "1",
4743
+ "title": "Execute"
4744
+ },
4745
+ {
4746
+ "id": "2",
4747
+ "title": "Check"
4748
+ },
4749
+ {
4750
+ "id": "3",
4751
+ "title": "Complete"
4752
+ }
4753
+ ]
4754
+ },
4755
+ {
4756
+ "type": "alert",
4757
+ "variant": "error",
4758
+ "message": "Pipeline failed at the current step."
4759
+ },
4760
+ {
4761
+ "type": "stack",
4762
+ "direction": "horizontal",
4763
+ "gap": "sm",
4764
+ "children": [
4765
+ {
4766
+ "type": "stat-display",
4767
+ "label": "Failed At Step",
4768
+ "value": "@entity.currentStep"
4769
+ }
4770
+ ]
5383
4771
  },
5384
4772
  {
5385
4773
  "type": "button",
5386
- "label": "Start",
5387
- "event": "START",
5388
- "variant": "primary",
5389
- "icon": "play"
4774
+ "label": "Reset",
4775
+ "event": "RESET",
4776
+ "variant": "ghost",
4777
+ "icon": "rotate-ccw"
5390
4778
  }
5391
4779
  ]
5392
4780
  }
@@ -5396,7 +4784,7 @@
5396
4784
  ]
5397
4785
  },
5398
4786
  {
5399
- "from": "completed",
4787
+ "from": "idle",
5400
4788
  "to": "idle",
5401
4789
  "event": "RESET",
5402
4790
  "effects": [
@@ -5468,8 +4856,24 @@
5468
4856
  {
5469
4857
  "type": "wizard-progress",
5470
4858
  "currentStep": "@entity.currentStep",
5471
- "totalSteps": "@entity.totalSteps",
5472
- "steps": "@entity.steps"
4859
+ "steps": [
4860
+ {
4861
+ "id": "0",
4862
+ "title": "Plan"
4863
+ },
4864
+ {
4865
+ "id": "1",
4866
+ "title": "Execute"
4867
+ },
4868
+ {
4869
+ "id": "2",
4870
+ "title": "Check"
4871
+ },
4872
+ {
4873
+ "id": "3",
4874
+ "title": "Complete"
4875
+ }
4876
+ ]
5473
4877
  },
5474
4878
  {
5475
4879
  "type": "button",
@@ -5486,7 +4890,7 @@
5486
4890
  ]
5487
4891
  },
5488
4892
  {
5489
- "from": "failed",
4893
+ "from": "in_progress",
5490
4894
  "to": "idle",
5491
4895
  "event": "RESET",
5492
4896
  "effects": [
@@ -5558,224 +4962,31 @@
5558
4962
  {
5559
4963
  "type": "wizard-progress",
5560
4964
  "currentStep": "@entity.currentStep",
5561
- "totalSteps": "@entity.totalSteps",
5562
- "steps": "@entity.steps"
5563
- },
5564
- {
5565
- "type": "button",
5566
- "label": "Start",
5567
- "event": "START",
5568
- "variant": "primary",
5569
- "icon": "play"
5570
- }
5571
- ]
5572
- }
5573
- ]
5574
- }
5575
- ]
5576
- ]
5577
- }
5578
- ]
5579
- }
5580
- },
5581
- {
5582
- "name": "ToolLoopActivityLog",
5583
- "linkedEntity": "PipelineExec",
5584
- "category": "interaction",
5585
- "emits": [
5586
- {
5587
- "event": "LOG_ENTRY",
5588
- "scope": "internal",
5589
- "payload": [
5590
- {
5591
- "name": "action",
5592
- "type": "string"
5593
- },
5594
- {
5595
- "name": "detail",
5596
- "type": "string"
5597
- },
5598
- {
5599
- "name": "status",
5600
- "type": "string"
5601
- }
5602
- ]
5603
- }
5604
- ],
5605
- "listens": [],
5606
- "stateMachine": {
5607
- "states": [
5608
- {
5609
- "name": "logging",
5610
- "isInitial": true
5611
- }
5612
- ],
5613
- "events": [
5614
- {
5615
- "key": "INIT",
5616
- "name": "Initialize"
5617
- },
5618
- {
5619
- "key": "LOG_ENTRY",
5620
- "name": "Log Entry",
5621
- "payload": [
5622
- {
5623
- "name": "action",
5624
- "type": "string",
5625
- "required": true
5626
- },
5627
- {
5628
- "name": "detail",
5629
- "type": "string",
5630
- "required": true
5631
- },
5632
- {
5633
- "name": "status",
5634
- "type": "string",
5635
- "required": true
5636
- }
5637
- ]
5638
- },
5639
- {
5640
- "key": "CLEAR",
5641
- "name": "Clear Log"
5642
- }
5643
- ],
5644
- "transitions": [
5645
- {
5646
- "from": "logging",
5647
- "to": "logging",
5648
- "event": "INIT",
5649
- "effects": [
5650
- [
5651
- "fetch",
5652
- "PipelineExec"
5653
- ],
5654
- [
5655
- "render-ui",
5656
- "main",
5657
- {
5658
- "type": "dashboard-layout",
5659
- "appName": "Agent Pipeline",
5660
- "navItems": [
5661
- {
5662
- "label": "Pipeline",
5663
- "href": "/pipeline",
5664
- "icon": "git-branch"
5665
- },
5666
- {
5667
- "label": "Execution",
5668
- "href": "/execution",
5669
- "icon": "play"
5670
- },
5671
- {
5672
- "label": "Logs",
5673
- "href": "/logs",
5674
- "icon": "terminal"
5675
- }
5676
- ],
5677
- "children": [
5678
- {
5679
- "type": "stack",
5680
- "direction": "vertical",
5681
- "gap": "lg",
5682
- "children": [
5683
- {
5684
- "type": "stack",
5685
- "direction": "horizontal",
5686
- "gap": "sm",
5687
- "justify": "space-between",
5688
- "align": "center",
5689
- "children": [
4965
+ "steps": [
5690
4966
  {
5691
- "type": "stack",
5692
- "direction": "horizontal",
5693
- "gap": "sm",
5694
- "align": "center",
5695
- "children": [
5696
- {
5697
- "type": "icon",
5698
- "name": "activity",
5699
- "size": "lg"
5700
- },
5701
- {
5702
- "type": "typography",
5703
- "content": "Activity Log",
5704
- "variant": "h2"
5705
- }
5706
- ]
4967
+ "id": "0",
4968
+ "title": "Plan"
5707
4969
  },
5708
4970
  {
5709
- "type": "button",
5710
- "label": "Clear",
5711
- "event": "CLEAR",
5712
- "variant": "ghost",
5713
- "icon": "trash"
5714
- }
5715
- ]
5716
- },
5717
- {
5718
- "type": "divider"
5719
- },
5720
- {
5721
- "type": "timeline",
5722
- "entity": "PipelineExec",
5723
- "emptyIcon": "activity",
5724
- "emptyTitle": "No activity yet",
5725
- "emptyDescription": "Agent actions will appear here as they occur.",
5726
- "renderItem": [
5727
- "fn",
5728
- "item",
4971
+ "id": "1",
4972
+ "title": "Execute"
4973
+ },
5729
4974
  {
5730
- "type": "stack",
5731
- "direction": "vertical",
5732
- "gap": "xs",
5733
- "children": [
5734
- {
5735
- "type": "stack",
5736
- "direction": "horizontal",
5737
- "gap": "sm",
5738
- "align": "center",
5739
- "children": [
5740
- {
5741
- "type": "badge",
5742
- "label": "@item.status"
5743
- },
5744
- {
5745
- "type": "typography",
5746
- "variant": "h4",
5747
- "content": "@item.action"
5748
- }
5749
- ]
5750
- },
5751
- {
5752
- "type": "typography",
5753
- "variant": "body",
5754
- "color": "muted",
5755
- "content": "@item.detail"
5756
- },
5757
- {
5758
- "type": "stack",
5759
- "direction": "horizontal",
5760
- "gap": "sm",
5761
- "align": "center",
5762
- "children": [
5763
- {
5764
- "type": "typography",
5765
- "variant": "caption",
5766
- "color": "muted",
5767
- "content": "@item.timestamp"
5768
- },
5769
- {
5770
- "type": "badge",
5771
- "label": "@item.duration",
5772
- "variant": "outline"
5773
- }
5774
- ]
5775
- }
5776
- ]
4975
+ "id": "2",
4976
+ "title": "Check"
4977
+ },
4978
+ {
4979
+ "id": "3",
4980
+ "title": "Complete"
5777
4981
  }
5778
4982
  ]
4983
+ },
4984
+ {
4985
+ "type": "button",
4986
+ "label": "Start",
4987
+ "event": "START",
4988
+ "variant": "primary",
4989
+ "icon": "play"
5779
4990
  }
5780
4991
  ]
5781
4992
  }
@@ -5785,24 +4996,19 @@
5785
4996
  ]
5786
4997
  },
5787
4998
  {
5788
- "from": "logging",
5789
- "to": "logging",
5790
- "event": "LOG_ENTRY",
4999
+ "from": "completed",
5000
+ "to": "idle",
5001
+ "event": "RESET",
5791
5002
  "effects": [
5792
5003
  [
5793
- "persist",
5794
- "create",
5795
- "PipelineExec",
5796
- {
5797
- "action": "@payload.action",
5798
- "detail": "@payload.detail",
5799
- "status": "@payload.status",
5800
- "timestamp": "@now"
5801
- }
5004
+ "set",
5005
+ "@entity.status",
5006
+ "idle"
5802
5007
  ],
5803
5008
  [
5804
- "fetch",
5805
- "PipelineExec"
5009
+ "set",
5010
+ "@entity.currentStep",
5011
+ 0
5806
5012
  ],
5807
5013
  [
5808
5014
  "render-ui",
@@ -5837,33 +5043,22 @@
5837
5043
  "type": "stack",
5838
5044
  "direction": "horizontal",
5839
5045
  "gap": "sm",
5840
- "justify": "space-between",
5841
5046
  "align": "center",
5842
5047
  "children": [
5843
5048
  {
5844
- "type": "stack",
5845
- "direction": "horizontal",
5846
- "gap": "sm",
5847
- "align": "center",
5848
- "children": [
5849
- {
5850
- "type": "icon",
5851
- "name": "activity",
5852
- "size": "lg"
5853
- },
5854
- {
5855
- "type": "typography",
5856
- "content": "Activity Log",
5857
- "variant": "h2"
5858
- }
5859
- ]
5049
+ "type": "icon",
5050
+ "name": "list-ordered",
5051
+ "size": "lg"
5860
5052
  },
5861
5053
  {
5862
- "type": "button",
5863
- "label": "Clear",
5864
- "event": "CLEAR",
5865
- "variant": "ghost",
5866
- "icon": "trash"
5054
+ "type": "typography",
5055
+ "content": "PipelineExec",
5056
+ "variant": "h2"
5057
+ },
5058
+ {
5059
+ "type": "badge",
5060
+ "label": "Idle",
5061
+ "variant": "default"
5867
5062
  }
5868
5063
  ]
5869
5064
  },
@@ -5871,89 +5066,55 @@
5871
5066
  "type": "divider"
5872
5067
  },
5873
5068
  {
5874
- "type": "timeline",
5875
- "entity": "PipelineExec",
5876
- "emptyIcon": "activity",
5877
- "emptyTitle": "No activity yet",
5878
- "emptyDescription": "Agent actions will appear here as they occur.",
5879
- "renderItem": [
5880
- "fn",
5881
- "item",
5069
+ "type": "wizard-progress",
5070
+ "currentStep": "@entity.currentStep",
5071
+ "steps": [
5882
5072
  {
5883
- "type": "stack",
5884
- "direction": "vertical",
5885
- "gap": "xs",
5886
- "children": [
5887
- {
5888
- "type": "stack",
5889
- "direction": "horizontal",
5890
- "gap": "sm",
5891
- "align": "center",
5892
- "children": [
5893
- {
5894
- "type": "badge",
5895
- "label": "@item.status"
5896
- },
5897
- {
5898
- "type": "typography",
5899
- "variant": "h4",
5900
- "content": "@item.action"
5901
- }
5902
- ]
5903
- },
5904
- {
5905
- "type": "typography",
5906
- "variant": "body",
5907
- "color": "muted",
5908
- "content": "@item.detail"
5909
- },
5910
- {
5911
- "type": "stack",
5912
- "direction": "horizontal",
5913
- "gap": "sm",
5914
- "align": "center",
5915
- "children": [
5916
- {
5917
- "type": "typography",
5918
- "variant": "caption",
5919
- "color": "muted",
5920
- "content": "@item.timestamp"
5921
- },
5922
- {
5923
- "type": "badge",
5924
- "label": "@item.duration",
5925
- "variant": "outline"
5926
- }
5927
- ]
5928
- }
5929
- ]
5073
+ "id": "0",
5074
+ "title": "Plan"
5075
+ },
5076
+ {
5077
+ "id": "1",
5078
+ "title": "Execute"
5079
+ },
5080
+ {
5081
+ "id": "2",
5082
+ "title": "Check"
5083
+ },
5084
+ {
5085
+ "id": "3",
5086
+ "title": "Complete"
5930
5087
  }
5931
5088
  ]
5089
+ },
5090
+ {
5091
+ "type": "button",
5092
+ "label": "Start",
5093
+ "event": "START",
5094
+ "variant": "primary",
5095
+ "icon": "play"
5932
5096
  }
5933
5097
  ]
5934
5098
  }
5935
5099
  ]
5936
5100
  }
5937
- ],
5938
- [
5939
- "notify",
5940
- "PipelineExec created successfully"
5941
5101
  ]
5942
5102
  ]
5943
5103
  },
5944
5104
  {
5945
- "from": "logging",
5946
- "to": "logging",
5947
- "event": "CLEAR",
5105
+ "from": "failed",
5106
+ "to": "idle",
5107
+ "event": "RESET",
5948
5108
  "effects": [
5949
5109
  [
5950
- "persist",
5951
- "delete",
5952
- "PipelineExec"
5110
+ "set",
5111
+ "@entity.status",
5112
+ "idle"
5953
5113
  ],
5954
5114
  [
5955
- "fetch",
5956
- "PipelineExec"
5115
+ "set",
5116
+ "@entity.currentStep",
5117
+ 0
5957
5118
  ],
5958
5119
  [
5959
5120
  "render-ui",
@@ -5988,33 +5149,22 @@
5988
5149
  "type": "stack",
5989
5150
  "direction": "horizontal",
5990
5151
  "gap": "sm",
5991
- "justify": "space-between",
5992
5152
  "align": "center",
5993
5153
  "children": [
5994
5154
  {
5995
- "type": "stack",
5996
- "direction": "horizontal",
5997
- "gap": "sm",
5998
- "align": "center",
5999
- "children": [
6000
- {
6001
- "type": "icon",
6002
- "name": "activity",
6003
- "size": "lg"
6004
- },
6005
- {
6006
- "type": "typography",
6007
- "content": "Activity Log",
6008
- "variant": "h2"
6009
- }
6010
- ]
5155
+ "type": "icon",
5156
+ "name": "list-ordered",
5157
+ "size": "lg"
6011
5158
  },
6012
5159
  {
6013
- "type": "button",
6014
- "label": "Clear",
6015
- "event": "CLEAR",
6016
- "variant": "ghost",
6017
- "icon": "trash"
5160
+ "type": "typography",
5161
+ "content": "PipelineExec",
5162
+ "variant": "h2"
5163
+ },
5164
+ {
5165
+ "type": "badge",
5166
+ "label": "Idle",
5167
+ "variant": "default"
6018
5168
  }
6019
5169
  ]
6020
5170
  },
@@ -6022,73 +5172,38 @@
6022
5172
  "type": "divider"
6023
5173
  },
6024
5174
  {
6025
- "type": "timeline",
6026
- "entity": "PipelineExec",
6027
- "emptyIcon": "activity",
6028
- "emptyTitle": "No activity yet",
6029
- "emptyDescription": "Agent actions will appear here as they occur.",
6030
- "renderItem": [
6031
- "fn",
6032
- "item",
5175
+ "type": "wizard-progress",
5176
+ "currentStep": "@entity.currentStep",
5177
+ "steps": [
6033
5178
  {
6034
- "type": "stack",
6035
- "direction": "vertical",
6036
- "gap": "xs",
6037
- "children": [
6038
- {
6039
- "type": "stack",
6040
- "direction": "horizontal",
6041
- "gap": "sm",
6042
- "align": "center",
6043
- "children": [
6044
- {
6045
- "type": "badge",
6046
- "label": "@item.status"
6047
- },
6048
- {
6049
- "type": "typography",
6050
- "variant": "h4",
6051
- "content": "@item.action"
6052
- }
6053
- ]
6054
- },
6055
- {
6056
- "type": "typography",
6057
- "variant": "body",
6058
- "color": "muted",
6059
- "content": "@item.detail"
6060
- },
6061
- {
6062
- "type": "stack",
6063
- "direction": "horizontal",
6064
- "gap": "sm",
6065
- "align": "center",
6066
- "children": [
6067
- {
6068
- "type": "typography",
6069
- "variant": "caption",
6070
- "color": "muted",
6071
- "content": "@item.timestamp"
6072
- },
6073
- {
6074
- "type": "badge",
6075
- "label": "@item.duration",
6076
- "variant": "outline"
6077
- }
6078
- ]
6079
- }
6080
- ]
5179
+ "id": "0",
5180
+ "title": "Plan"
5181
+ },
5182
+ {
5183
+ "id": "1",
5184
+ "title": "Execute"
5185
+ },
5186
+ {
5187
+ "id": "2",
5188
+ "title": "Check"
5189
+ },
5190
+ {
5191
+ "id": "3",
5192
+ "title": "Complete"
6081
5193
  }
6082
5194
  ]
5195
+ },
5196
+ {
5197
+ "type": "button",
5198
+ "label": "Start",
5199
+ "event": "START",
5200
+ "variant": "primary",
5201
+ "icon": "play"
6083
5202
  }
6084
5203
  ]
6085
5204
  }
6086
5205
  ]
6087
5206
  }
6088
- ],
6089
- [
6090
- "notify",
6091
- "PipelineExec deleted successfully"
6092
5207
  ]
6093
5208
  ]
6094
5209
  }
@@ -10797,8 +9912,28 @@
10797
9912
  {
10798
9913
  "type": "wizard-progress",
10799
9914
  "currentStep": "@entity.currentStep",
10800
- "totalSteps": "@entity.totalSteps",
10801
- "steps": "@entity.steps"
9915
+ "steps": [
9916
+ {
9917
+ "id": "0",
9918
+ "title": "Plan"
9919
+ },
9920
+ {
9921
+ "id": "1",
9922
+ "title": "Execute"
9923
+ },
9924
+ {
9925
+ "id": "2",
9926
+ "title": "Checkpoint"
9927
+ },
9928
+ {
9929
+ "id": "3",
9930
+ "title": "Verify"
9931
+ },
9932
+ {
9933
+ "id": "4",
9934
+ "title": "Done"
9935
+ }
9936
+ ]
10802
9937
  },
10803
9938
  {
10804
9939
  "type": "button",
@@ -10887,8 +10022,28 @@
10887
10022
  {
10888
10023
  "type": "wizard-progress",
10889
10024
  "currentStep": "@entity.currentStep",
10890
- "totalSteps": "@entity.totalSteps",
10891
- "steps": "@entity.steps"
10025
+ "steps": [
10026
+ {
10027
+ "id": "0",
10028
+ "title": "Plan"
10029
+ },
10030
+ {
10031
+ "id": "1",
10032
+ "title": "Execute"
10033
+ },
10034
+ {
10035
+ "id": "2",
10036
+ "title": "Checkpoint"
10037
+ },
10038
+ {
10039
+ "id": "3",
10040
+ "title": "Verify"
10041
+ },
10042
+ {
10043
+ "id": "4",
10044
+ "title": "Done"
10045
+ }
10046
+ ]
10892
10047
  },
10893
10048
  {
10894
10049
  "type": "stack",
@@ -11013,8 +10168,28 @@
11013
10168
  {
11014
10169
  "type": "wizard-progress",
11015
10170
  "currentStep": "@entity.currentStep",
11016
- "totalSteps": "@entity.totalSteps",
11017
- "steps": "@entity.steps"
10171
+ "steps": [
10172
+ {
10173
+ "id": "0",
10174
+ "title": "Plan"
10175
+ },
10176
+ {
10177
+ "id": "1",
10178
+ "title": "Execute"
10179
+ },
10180
+ {
10181
+ "id": "2",
10182
+ "title": "Checkpoint"
10183
+ },
10184
+ {
10185
+ "id": "3",
10186
+ "title": "Verify"
10187
+ },
10188
+ {
10189
+ "id": "4",
10190
+ "title": "Done"
10191
+ }
10192
+ ]
11018
10193
  },
11019
10194
  {
11020
10195
  "type": "stack",
@@ -11135,8 +10310,28 @@
11135
10310
  {
11136
10311
  "type": "wizard-progress",
11137
10312
  "currentStep": "@entity.totalSteps",
11138
- "totalSteps": "@entity.totalSteps",
11139
- "steps": "@entity.steps"
10313
+ "steps": [
10314
+ {
10315
+ "id": "0",
10316
+ "title": "Plan"
10317
+ },
10318
+ {
10319
+ "id": "1",
10320
+ "title": "Execute"
10321
+ },
10322
+ {
10323
+ "id": "2",
10324
+ "title": "Checkpoint"
10325
+ },
10326
+ {
10327
+ "id": "3",
10328
+ "title": "Verify"
10329
+ },
10330
+ {
10331
+ "id": "4",
10332
+ "title": "Done"
10333
+ }
10334
+ ]
11140
10335
  },
11141
10336
  {
11142
10337
  "type": "alert",
@@ -11225,8 +10420,28 @@
11225
10420
  {
11226
10421
  "type": "wizard-progress",
11227
10422
  "currentStep": "@entity.currentStep",
11228
- "totalSteps": "@entity.totalSteps",
11229
- "steps": "@entity.steps"
10423
+ "steps": [
10424
+ {
10425
+ "id": "0",
10426
+ "title": "Plan"
10427
+ },
10428
+ {
10429
+ "id": "1",
10430
+ "title": "Execute"
10431
+ },
10432
+ {
10433
+ "id": "2",
10434
+ "title": "Checkpoint"
10435
+ },
10436
+ {
10437
+ "id": "3",
10438
+ "title": "Verify"
10439
+ },
10440
+ {
10441
+ "id": "4",
10442
+ "title": "Done"
10443
+ }
10444
+ ]
11230
10445
  },
11231
10446
  {
11232
10447
  "type": "alert",
@@ -11332,8 +10547,28 @@
11332
10547
  {
11333
10548
  "type": "wizard-progress",
11334
10549
  "currentStep": "@entity.currentStep",
11335
- "totalSteps": "@entity.totalSteps",
11336
- "steps": "@entity.steps"
10550
+ "steps": [
10551
+ {
10552
+ "id": "0",
10553
+ "title": "Plan"
10554
+ },
10555
+ {
10556
+ "id": "1",
10557
+ "title": "Execute"
10558
+ },
10559
+ {
10560
+ "id": "2",
10561
+ "title": "Checkpoint"
10562
+ },
10563
+ {
10564
+ "id": "3",
10565
+ "title": "Verify"
10566
+ },
10567
+ {
10568
+ "id": "4",
10569
+ "title": "Done"
10570
+ }
10571
+ ]
11337
10572
  },
11338
10573
  {
11339
10574
  "type": "button",
@@ -11422,8 +10657,28 @@
11422
10657
  {
11423
10658
  "type": "wizard-progress",
11424
10659
  "currentStep": "@entity.currentStep",
11425
- "totalSteps": "@entity.totalSteps",
11426
- "steps": "@entity.steps"
10660
+ "steps": [
10661
+ {
10662
+ "id": "0",
10663
+ "title": "Plan"
10664
+ },
10665
+ {
10666
+ "id": "1",
10667
+ "title": "Execute"
10668
+ },
10669
+ {
10670
+ "id": "2",
10671
+ "title": "Checkpoint"
10672
+ },
10673
+ {
10674
+ "id": "3",
10675
+ "title": "Verify"
10676
+ },
10677
+ {
10678
+ "id": "4",
10679
+ "title": "Done"
10680
+ }
10681
+ ]
11427
10682
  },
11428
10683
  {
11429
10684
  "type": "button",
@@ -11512,8 +10767,28 @@
11512
10767
  {
11513
10768
  "type": "wizard-progress",
11514
10769
  "currentStep": "@entity.currentStep",
11515
- "totalSteps": "@entity.totalSteps",
11516
- "steps": "@entity.steps"
10770
+ "steps": [
10771
+ {
10772
+ "id": "0",
10773
+ "title": "Plan"
10774
+ },
10775
+ {
10776
+ "id": "1",
10777
+ "title": "Execute"
10778
+ },
10779
+ {
10780
+ "id": "2",
10781
+ "title": "Checkpoint"
10782
+ },
10783
+ {
10784
+ "id": "3",
10785
+ "title": "Verify"
10786
+ },
10787
+ {
10788
+ "id": "4",
10789
+ "title": "Done"
10790
+ }
10791
+ ]
11517
10792
  },
11518
10793
  {
11519
10794
  "type": "button",
@@ -11602,8 +10877,28 @@
11602
10877
  {
11603
10878
  "type": "wizard-progress",
11604
10879
  "currentStep": "@entity.currentStep",
11605
- "totalSteps": "@entity.totalSteps",
11606
- "steps": "@entity.steps"
10880
+ "steps": [
10881
+ {
10882
+ "id": "0",
10883
+ "title": "Plan"
10884
+ },
10885
+ {
10886
+ "id": "1",
10887
+ "title": "Execute"
10888
+ },
10889
+ {
10890
+ "id": "2",
10891
+ "title": "Checkpoint"
10892
+ },
10893
+ {
10894
+ "id": "3",
10895
+ "title": "Verify"
10896
+ },
10897
+ {
10898
+ "id": "4",
10899
+ "title": "Done"
10900
+ }
10901
+ ]
11607
10902
  },
11608
10903
  {
11609
10904
  "type": "button",