@superdurable/dex-agents 0.3.0 → 0.4.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 (41) hide show
  1. package/README.md +99 -0
  2. package/dist/src/agent-framework-runner.d.ts +89 -0
  3. package/dist/src/agent-framework-runner.js +26 -0
  4. package/dist/src/agent-framework-runner.js.map +1 -1
  5. package/dist/src/agent-session-codecs.js +8 -0
  6. package/dist/src/agent-session-codecs.js.map +1 -1
  7. package/dist/src/agent-session-flow-graph.json +98 -81
  8. package/dist/src/agent-session-steps.d.ts +7 -0
  9. package/dist/src/agent-session-steps.js +167 -31
  10. package/dist/src/agent-session-steps.js.map +1 -1
  11. package/dist/src/agent-session-transitions.d.ts +2 -0
  12. package/dist/src/agent-session-transitions.js +8 -0
  13. package/dist/src/agent-session-transitions.js.map +1 -1
  14. package/dist/src/agent-session-values.d.ts +36 -0
  15. package/dist/src/agent-session-values.js +6 -0
  16. package/dist/src/agent-session-values.js.map +1 -1
  17. package/dist/src/agent-session-wait-steps.js +3 -3
  18. package/dist/src/agent-session-wait-steps.js.map +1 -1
  19. package/dist/src/connectors/connector-input-schema.d.ts +19 -0
  20. package/dist/src/connectors/connector-input-schema.js +228 -0
  21. package/dist/src/connectors/connector-input-schema.js.map +1 -0
  22. package/dist/src/connectors/connector-step-context.d.ts +77 -0
  23. package/dist/src/connectors/connector-step-context.js +124 -0
  24. package/dist/src/connectors/connector-step-context.js.map +1 -0
  25. package/dist/src/connectors/connector-tool-source.d.ts +353 -0
  26. package/dist/src/connectors/connector-tool-source.js +541 -0
  27. package/dist/src/connectors/connector-tool-source.js.map +1 -0
  28. package/dist/src/connectors/index.d.ts +3 -0
  29. package/dist/src/connectors/index.js +11 -0
  30. package/dist/src/connectors/index.js.map +1 -0
  31. package/dist/src/index.d.ts +4 -2
  32. package/dist/src/index.js +3 -2
  33. package/dist/src/index.js.map +1 -1
  34. package/dist/src/stepwise/stepwise-agent-runner.d.ts +13 -12
  35. package/dist/src/stepwise/stepwise-agent-runner.js +35 -171
  36. package/dist/src/stepwise/stepwise-agent-runner.js.map +1 -1
  37. package/dist/src/stepwise/tool-source.d.ts +11 -1
  38. package/dist/src/tool-source-router.d.ts +211 -0
  39. package/dist/src/tool-source-router.js +380 -0
  40. package/dist/src/tool-source-router.js.map +1 -0
  41. package/package.json +10 -1
@@ -426,6 +426,16 @@
426
426
  "type": "goTo"
427
427
  }
428
428
  },
429
+ {
430
+ "id": "decision:step:RunModel:goTo:RunModel",
431
+ "kind": "decision",
432
+ "name": "goTo",
433
+ "parentId": "step:RunModel",
434
+ "phase": "execute",
435
+ "decision": {
436
+ "type": "goTo"
437
+ }
438
+ },
429
439
  {
430
440
  "id": "step:CompactContext",
431
441
  "kind": "step",
@@ -1347,6 +1357,13 @@
1347
1357
  },
1348
1358
  {
1349
1359
  "id": "edge:0020",
1360
+ "kind": "transition",
1361
+ "from": "decision:step:RunModel:goTo:RunModel",
1362
+ "to": "step:RunModel",
1363
+ "label": "GoTo"
1364
+ },
1365
+ {
1366
+ "id": "edge:0021",
1350
1367
  "kind": "resource_publish",
1351
1368
  "from": "step:RunModel",
1352
1369
  "to": "resource:channel:ToolCallResults",
@@ -1356,21 +1373,21 @@
1356
1373
  }
1357
1374
  },
1358
1375
  {
1359
- "id": "edge:0021",
1376
+ "id": "edge:0022",
1360
1377
  "kind": "transition",
1361
1378
  "from": "decision:step:CompactContext:goTo:RecordTurnFailure",
1362
1379
  "to": "step:RecordTurnFailure",
1363
1380
  "label": "GoTo"
1364
1381
  },
1365
1382
  {
1366
- "id": "edge:0022",
1383
+ "id": "edge:0023",
1367
1384
  "kind": "transition",
1368
1385
  "from": "decision:step:CompactContext:goTo:RunModel",
1369
1386
  "to": "step:RunModel",
1370
1387
  "label": "GoTo"
1371
1388
  },
1372
1389
  {
1373
- "id": "edge:0023",
1390
+ "id": "edge:0024",
1374
1391
  "kind": "wait_condition",
1375
1392
  "from": "resource:channel:ToolCallCancellations",
1376
1393
  "to": "wait:AwaitToolApproval",
@@ -1380,7 +1397,7 @@
1380
1397
  }
1381
1398
  },
1382
1399
  {
1383
- "id": "edge:0024",
1400
+ "id": "edge:0025",
1384
1401
  "kind": "wait_condition",
1385
1402
  "from": "resource:channel:InterruptResolutions",
1386
1403
  "to": "wait:AwaitToolApproval",
@@ -1390,28 +1407,28 @@
1390
1407
  }
1391
1408
  },
1392
1409
  {
1393
- "id": "edge:0025",
1410
+ "id": "edge:0026",
1394
1411
  "kind": "transition",
1395
1412
  "from": "decision:step:AwaitToolApproval:goTo:AwaitToolApproval",
1396
1413
  "to": "step:AwaitToolApproval",
1397
1414
  "label": "GoTo"
1398
1415
  },
1399
1416
  {
1400
- "id": "edge:0026",
1417
+ "id": "edge:0027",
1401
1418
  "kind": "transition",
1402
1419
  "from": "decision:step:AwaitToolApproval:goTo:CallSingleAttemptTool",
1403
1420
  "to": "step:CallSingleAttemptTool",
1404
1421
  "label": "GoTo"
1405
1422
  },
1406
1423
  {
1407
- "id": "edge:0027",
1424
+ "id": "edge:0028",
1408
1425
  "kind": "transition",
1409
1426
  "from": "decision:step:AwaitToolApproval:goTo:CallTool",
1410
1427
  "to": "step:CallTool",
1411
1428
  "label": "GoTo"
1412
1429
  },
1413
1430
  {
1414
- "id": "edge:0028",
1431
+ "id": "edge:0029",
1415
1432
  "kind": "resource_lock",
1416
1433
  "from": "step:AwaitToolApproval",
1417
1434
  "to": "resource:attribute:PendingInterrupts",
@@ -1421,7 +1438,7 @@
1421
1438
  }
1422
1439
  },
1423
1440
  {
1424
- "id": "edge:0029",
1441
+ "id": "edge:0030",
1425
1442
  "kind": "resource_publish",
1426
1443
  "from": "step:AwaitToolApproval",
1427
1444
  "to": "resource:channel:ToolCallResults",
@@ -1431,7 +1448,7 @@
1431
1448
  }
1432
1449
  },
1433
1450
  {
1434
- "id": "edge:0030",
1451
+ "id": "edge:0031",
1435
1452
  "kind": "wait_condition",
1436
1453
  "from": "resource:channel:ToolCallCancellations",
1437
1454
  "to": "wait:AwaitQuestionAnswer",
@@ -1441,7 +1458,7 @@
1441
1458
  }
1442
1459
  },
1443
1460
  {
1444
- "id": "edge:0031",
1461
+ "id": "edge:0032",
1445
1462
  "kind": "wait_condition",
1446
1463
  "from": "resource:channel:InterruptResolutions",
1447
1464
  "to": "wait:AwaitQuestionAnswer",
@@ -1451,42 +1468,42 @@
1451
1468
  }
1452
1469
  },
1453
1470
  {
1454
- "id": "edge:0032",
1471
+ "id": "edge:0033",
1455
1472
  "kind": "transition",
1456
1473
  "from": "decision:step:AwaitQuestionAnswer:goTo:AwaitQuestionAnswer",
1457
1474
  "to": "step:AwaitQuestionAnswer",
1458
1475
  "label": "GoTo"
1459
1476
  },
1460
1477
  {
1461
- "id": "edge:0033",
1478
+ "id": "edge:0034",
1462
1479
  "kind": "transition",
1463
1480
  "from": "decision:step:AwaitQuestionAnswer:goTo:CallSingleAttemptTool",
1464
1481
  "to": "step:CallSingleAttemptTool",
1465
1482
  "label": "GoTo"
1466
1483
  },
1467
1484
  {
1468
- "id": "edge:0034",
1485
+ "id": "edge:0035",
1469
1486
  "kind": "transition",
1470
1487
  "from": "decision:step:AwaitQuestionAnswer:goTo:CallTool",
1471
1488
  "to": "step:CallTool",
1472
1489
  "label": "GoTo"
1473
1490
  },
1474
1491
  {
1475
- "id": "edge:0035",
1492
+ "id": "edge:0036",
1476
1493
  "kind": "transition",
1477
1494
  "from": "decision:step:AwaitQuestionAnswer:goTo:FinishTurnCancellation",
1478
1495
  "to": "step:FinishTurnCancellation",
1479
1496
  "label": "GoTo"
1480
1497
  },
1481
1498
  {
1482
- "id": "edge:0036",
1499
+ "id": "edge:0037",
1483
1500
  "kind": "transition",
1484
1501
  "from": "decision:step:AwaitQuestionAnswer:goTo:PollToolTask",
1485
1502
  "to": "step:PollToolTask",
1486
1503
  "label": "GoTo"
1487
1504
  },
1488
1505
  {
1489
- "id": "edge:0037",
1506
+ "id": "edge:0038",
1490
1507
  "kind": "resource_lock",
1491
1508
  "from": "step:AwaitQuestionAnswer",
1492
1509
  "to": "resource:attribute:PendingInterrupts",
@@ -1496,7 +1513,7 @@
1496
1513
  }
1497
1514
  },
1498
1515
  {
1499
- "id": "edge:0038",
1516
+ "id": "edge:0039",
1500
1517
  "kind": "resource_publish",
1501
1518
  "from": "step:AwaitQuestionAnswer",
1502
1519
  "to": "resource:channel:ToolCallResults",
@@ -1506,7 +1523,7 @@
1506
1523
  }
1507
1524
  },
1508
1525
  {
1509
- "id": "edge:0039",
1526
+ "id": "edge:0040",
1510
1527
  "kind": "wait_condition",
1511
1528
  "from": "resource:channel:ToolCallCancellations",
1512
1529
  "to": "wait:AwaitTimer",
@@ -1516,14 +1533,14 @@
1516
1533
  }
1517
1534
  },
1518
1535
  {
1519
- "id": "edge:0040",
1536
+ "id": "edge:0041",
1520
1537
  "kind": "transition",
1521
1538
  "from": "decision:step:AwaitTimer:goTo:AwaitTimer",
1522
1539
  "to": "step:AwaitTimer",
1523
1540
  "label": "GoTo"
1524
1541
  },
1525
1542
  {
1526
- "id": "edge:0041",
1543
+ "id": "edge:0042",
1527
1544
  "kind": "resource_publish",
1528
1545
  "from": "step:AwaitTimer",
1529
1546
  "to": "resource:channel:ToolCallResults",
@@ -1533,21 +1550,21 @@
1533
1550
  }
1534
1551
  },
1535
1552
  {
1536
- "id": "edge:0042",
1553
+ "id": "edge:0043",
1537
1554
  "kind": "transition",
1538
1555
  "from": "decision:step:CallTool:goTo:AwaitQuestionAnswer",
1539
1556
  "to": "step:AwaitQuestionAnswer",
1540
1557
  "label": "GoTo"
1541
1558
  },
1542
1559
  {
1543
- "id": "edge:0043",
1560
+ "id": "edge:0044",
1544
1561
  "kind": "transition",
1545
1562
  "from": "decision:step:CallTool:goTo:PollToolTask",
1546
1563
  "to": "step:PollToolTask",
1547
1564
  "label": "GoTo"
1548
1565
  },
1549
1566
  {
1550
- "id": "edge:0044",
1567
+ "id": "edge:0045",
1551
1568
  "kind": "resource_publish",
1552
1569
  "from": "step:CallTool",
1553
1570
  "to": "resource:channel:ToolCallResults",
@@ -1557,21 +1574,21 @@
1557
1574
  }
1558
1575
  },
1559
1576
  {
1560
- "id": "edge:0045",
1577
+ "id": "edge:0046",
1561
1578
  "kind": "transition",
1562
1579
  "from": "decision:step:CallSingleAttemptTool:goTo:AwaitQuestionAnswer",
1563
1580
  "to": "step:AwaitQuestionAnswer",
1564
1581
  "label": "GoTo"
1565
1582
  },
1566
1583
  {
1567
- "id": "edge:0046",
1584
+ "id": "edge:0047",
1568
1585
  "kind": "transition",
1569
1586
  "from": "decision:step:CallSingleAttemptTool:goTo:PollToolTask",
1570
1587
  "to": "step:PollToolTask",
1571
1588
  "label": "GoTo"
1572
1589
  },
1573
1590
  {
1574
- "id": "edge:0047",
1591
+ "id": "edge:0048",
1575
1592
  "kind": "resource_publish",
1576
1593
  "from": "step:CallSingleAttemptTool",
1577
1594
  "to": "resource:channel:ToolCallResults",
@@ -1581,28 +1598,28 @@
1581
1598
  }
1582
1599
  },
1583
1600
  {
1584
- "id": "edge:0048",
1601
+ "id": "edge:0049",
1585
1602
  "kind": "transition",
1586
1603
  "from": "decision:step:PollToolTask:goTo:AwaitQuestionAnswer",
1587
1604
  "to": "step:AwaitQuestionAnswer",
1588
1605
  "label": "GoTo"
1589
1606
  },
1590
1607
  {
1591
- "id": "edge:0049",
1608
+ "id": "edge:0050",
1592
1609
  "kind": "transition",
1593
1610
  "from": "decision:step:PollToolTask:goTo:FinishTurnCancellation",
1594
1611
  "to": "step:FinishTurnCancellation",
1595
1612
  "label": "GoTo"
1596
1613
  },
1597
1614
  {
1598
- "id": "edge:0050",
1615
+ "id": "edge:0051",
1599
1616
  "kind": "transition",
1600
1617
  "from": "decision:step:PollToolTask:goTo:PollToolTask",
1601
1618
  "to": "step:PollToolTask",
1602
1619
  "label": "GoTo"
1603
1620
  },
1604
1621
  {
1605
- "id": "edge:0051",
1622
+ "id": "edge:0052",
1606
1623
  "kind": "resource_publish",
1607
1624
  "from": "step:PollToolTask",
1608
1625
  "to": "resource:channel:ToolCallResults",
@@ -1612,7 +1629,7 @@
1612
1629
  }
1613
1630
  },
1614
1631
  {
1615
- "id": "edge:0052",
1632
+ "id": "edge:0053",
1616
1633
  "kind": "resource_publish",
1617
1634
  "from": "step:RecordToolFailure",
1618
1635
  "to": "resource:channel:ToolCallResults",
@@ -1622,7 +1639,7 @@
1622
1639
  }
1623
1640
  },
1624
1641
  {
1625
- "id": "edge:0053",
1642
+ "id": "edge:0054",
1626
1643
  "kind": "resource_publish",
1627
1644
  "from": "step:RecordToolOutcomeUnknown",
1628
1645
  "to": "resource:channel:ToolCallResults",
@@ -1632,7 +1649,7 @@
1632
1649
  }
1633
1650
  },
1634
1651
  {
1635
- "id": "edge:0054",
1652
+ "id": "edge:0055",
1636
1653
  "kind": "wait_condition",
1637
1654
  "from": "resource:channel:ToolCallResults",
1638
1655
  "to": "wait:ResumeTurn",
@@ -1642,7 +1659,7 @@
1642
1659
  }
1643
1660
  },
1644
1661
  {
1645
- "id": "edge:0055",
1662
+ "id": "edge:0056",
1646
1663
  "kind": "wait_condition",
1647
1664
  "from": "resource:channel:TurnControlRequests",
1648
1665
  "to": "wait:ResumeTurn",
@@ -1652,28 +1669,28 @@
1652
1669
  }
1653
1670
  },
1654
1671
  {
1655
- "id": "edge:0056",
1672
+ "id": "edge:0057",
1656
1673
  "kind": "transition",
1657
1674
  "from": "decision:step:ResumeTurn:goTo:ApplyTurnControl",
1658
1675
  "to": "step:ApplyTurnControl",
1659
1676
  "label": "GoTo"
1660
1677
  },
1661
1678
  {
1662
- "id": "edge:0057",
1679
+ "id": "edge:0058",
1663
1680
  "kind": "transition",
1664
1681
  "from": "decision:step:ResumeTurn:goTo:ResumeTurn",
1665
1682
  "to": "step:ResumeTurn",
1666
1683
  "label": "GoTo"
1667
1684
  },
1668
1685
  {
1669
- "id": "edge:0058",
1686
+ "id": "edge:0059",
1670
1687
  "kind": "transition",
1671
1688
  "from": "decision:step:ResumeTurn:goTo:RunModel",
1672
1689
  "to": "step:RunModel",
1673
1690
  "label": "GoTo"
1674
1691
  },
1675
1692
  {
1676
- "id": "edge:0059",
1693
+ "id": "edge:0060",
1677
1694
  "kind": "resource_lock",
1678
1695
  "from": "step:ResumeTurn",
1679
1696
  "to": "resource:attribute:PendingInterrupts",
@@ -1683,7 +1700,7 @@
1683
1700
  }
1684
1701
  },
1685
1702
  {
1686
- "id": "edge:0060",
1703
+ "id": "edge:0061",
1687
1704
  "kind": "resource_publish",
1688
1705
  "from": "step:ResumeTurn",
1689
1706
  "to": "resource:channel:ToolCallCancellations",
@@ -1693,7 +1710,7 @@
1693
1710
  }
1694
1711
  },
1695
1712
  {
1696
- "id": "edge:0061",
1713
+ "id": "edge:0062",
1697
1714
  "kind": "wait_condition",
1698
1715
  "from": "resource:channel:SteeredUserMessages",
1699
1716
  "to": "wait:ApplyTurnControl",
@@ -1703,7 +1720,7 @@
1703
1720
  }
1704
1721
  },
1705
1722
  {
1706
- "id": "edge:0062",
1723
+ "id": "edge:0063",
1707
1724
  "kind": "wait_condition",
1708
1725
  "from": "resource:channel:TurnControlRequests",
1709
1726
  "to": "wait:ApplyTurnControl",
@@ -1713,21 +1730,21 @@
1713
1730
  }
1714
1731
  },
1715
1732
  {
1716
- "id": "edge:0063",
1733
+ "id": "edge:0064",
1717
1734
  "kind": "transition",
1718
1735
  "from": "decision:step:ApplyTurnControl:goTo:AwaitUserMessage",
1719
1736
  "to": "step:AwaitUserMessage",
1720
1737
  "label": "GoTo"
1721
1738
  },
1722
1739
  {
1723
- "id": "edge:0064",
1740
+ "id": "edge:0065",
1724
1741
  "kind": "transition",
1725
1742
  "from": "decision:step:ApplyTurnControl:goTo:RunModel",
1726
1743
  "to": "step:RunModel",
1727
1744
  "label": "GoTo"
1728
1745
  },
1729
1746
  {
1730
- "id": "edge:0065",
1747
+ "id": "edge:0066",
1731
1748
  "kind": "resource_lock",
1732
1749
  "from": "step:ApplyTurnControl",
1733
1750
  "to": "resource:attribute:TurnCancellationRequest",
@@ -1737,42 +1754,42 @@
1737
1754
  }
1738
1755
  },
1739
1756
  {
1740
- "id": "edge:0066",
1757
+ "id": "edge:0067",
1741
1758
  "kind": "transition",
1742
1759
  "from": "decision:step:RecordTurnFailure:goTo:AwaitUserMessage",
1743
1760
  "to": "step:AwaitUserMessage",
1744
1761
  "label": "GoTo"
1745
1762
  },
1746
1763
  {
1747
- "id": "edge:0067",
1764
+ "id": "edge:0068",
1748
1765
  "kind": "transition",
1749
1766
  "from": "decision:step:FinishTurnCancellation:goTo:ApplyTurnControl",
1750
1767
  "to": "step:ApplyTurnControl",
1751
1768
  "label": "GoTo"
1752
1769
  },
1753
1770
  {
1754
- "id": "edge:0068",
1771
+ "id": "edge:0069",
1755
1772
  "kind": "transition",
1756
1773
  "from": "decision:step:FinishTurnCancellation:goTo:AwaitQuestionAnswer",
1757
1774
  "to": "step:AwaitQuestionAnswer",
1758
1775
  "label": "GoTo"
1759
1776
  },
1760
1777
  {
1761
- "id": "edge:0069",
1778
+ "id": "edge:0070",
1762
1779
  "kind": "transition",
1763
1780
  "from": "decision:step:FinishTurnCancellation:goTo:AwaitToolApproval",
1764
1781
  "to": "step:AwaitToolApproval",
1765
1782
  "label": "GoTo"
1766
1783
  },
1767
1784
  {
1768
- "id": "edge:0070",
1785
+ "id": "edge:0071",
1769
1786
  "kind": "transition",
1770
1787
  "from": "decision:step:FinishTurnCancellation:goTo:CancelToolTask",
1771
1788
  "to": "step:CancelToolTask",
1772
1789
  "label": "GoTo"
1773
1790
  },
1774
1791
  {
1775
- "id": "edge:0071",
1792
+ "id": "edge:0072",
1776
1793
  "kind": "resource_lock",
1777
1794
  "from": "step:FinishTurnCancellation",
1778
1795
  "to": "resource:attribute:TurnCancellationRequest",
@@ -1782,7 +1799,7 @@
1782
1799
  }
1783
1800
  },
1784
1801
  {
1785
- "id": "edge:0072",
1802
+ "id": "edge:0073",
1786
1803
  "kind": "resource_lock",
1787
1804
  "from": "step:FinishTurnCancellation",
1788
1805
  "to": "resource:attribute:PendingInterrupts",
@@ -1792,7 +1809,7 @@
1792
1809
  }
1793
1810
  },
1794
1811
  {
1795
- "id": "edge:0073",
1812
+ "id": "edge:0074",
1796
1813
  "kind": "resource_publish",
1797
1814
  "from": "step:FinishTurnCancellation",
1798
1815
  "to": "resource:channel:ToolCallResults",
@@ -1802,7 +1819,7 @@
1802
1819
  }
1803
1820
  },
1804
1821
  {
1805
- "id": "edge:0074",
1822
+ "id": "edge:0075",
1806
1823
  "kind": "resource_publish",
1807
1824
  "from": "step:CancelToolTask",
1808
1825
  "to": "resource:channel:ToolCallResults",
@@ -1812,7 +1829,7 @@
1812
1829
  }
1813
1830
  },
1814
1831
  {
1815
- "id": "edge:0075",
1832
+ "id": "edge:0076",
1816
1833
  "kind": "failure_transition",
1817
1834
  "from": "step:CallSingleAttemptTool",
1818
1835
  "to": "step:RecordToolOutcomeUnknown",
@@ -1822,7 +1839,7 @@
1822
1839
  }
1823
1840
  },
1824
1841
  {
1825
- "id": "edge:0076",
1842
+ "id": "edge:0077",
1826
1843
  "kind": "failure_transition",
1827
1844
  "from": "step:CallTool",
1828
1845
  "to": "step:RecordToolFailure",
@@ -1832,7 +1849,7 @@
1832
1849
  }
1833
1850
  },
1834
1851
  {
1835
- "id": "edge:0077",
1852
+ "id": "edge:0078",
1836
1853
  "kind": "failure_transition",
1837
1854
  "from": "step:CancelToolTask",
1838
1855
  "to": "step:RecordToolOutcomeUnknown",
@@ -1842,7 +1859,7 @@
1842
1859
  }
1843
1860
  },
1844
1861
  {
1845
- "id": "edge:0078",
1862
+ "id": "edge:0079",
1846
1863
  "kind": "failure_transition",
1847
1864
  "from": "step:CompactContext",
1848
1865
  "to": "step:RecordTurnFailure",
@@ -1852,7 +1869,7 @@
1852
1869
  }
1853
1870
  },
1854
1871
  {
1855
- "id": "edge:0079",
1872
+ "id": "edge:0080",
1856
1873
  "kind": "failure_transition",
1857
1874
  "from": "step:PollToolTask",
1858
1875
  "to": "step:RecordToolFailure",
@@ -1862,7 +1879,7 @@
1862
1879
  }
1863
1880
  },
1864
1881
  {
1865
- "id": "edge:0080",
1882
+ "id": "edge:0081",
1866
1883
  "kind": "failure_transition",
1867
1884
  "from": "step:PollToolTask",
1868
1885
  "to": "step:RecordToolOutcomeUnknown",
@@ -1872,7 +1889,7 @@
1872
1889
  }
1873
1890
  },
1874
1891
  {
1875
- "id": "edge:0081",
1892
+ "id": "edge:0082",
1876
1893
  "kind": "failure_transition",
1877
1894
  "from": "step:RunModel",
1878
1895
  "to": "step:RecordTurnFailure",
@@ -1882,140 +1899,140 @@
1882
1899
  }
1883
1900
  },
1884
1901
  {
1885
- "id": "edge:0082",
1902
+ "id": "edge:0083",
1886
1903
  "kind": "resource_lock",
1887
1904
  "from": "rpc:answer_question",
1888
1905
  "to": "resource:attribute:PendingInterrupts",
1889
1906
  "label": "Lock"
1890
1907
  },
1891
1908
  {
1892
- "id": "edge:0083",
1909
+ "id": "edge:0084",
1893
1910
  "kind": "resource_publish",
1894
1911
  "from": "rpc:answer_question",
1895
1912
  "to": "resource:channel:InterruptResolutions",
1896
1913
  "label": "Publish"
1897
1914
  },
1898
1915
  {
1899
- "id": "edge:0084",
1916
+ "id": "edge:0085",
1900
1917
  "kind": "resource_lock",
1901
1918
  "from": "rpc:cancel_turn",
1902
1919
  "to": "resource:attribute:PendingInterrupts",
1903
1920
  "label": "Lock"
1904
1921
  },
1905
1922
  {
1906
- "id": "edge:0085",
1923
+ "id": "edge:0086",
1907
1924
  "kind": "resource_lock",
1908
1925
  "from": "rpc:cancel_turn",
1909
1926
  "to": "resource:attribute:TurnCancellationRequest",
1910
1927
  "label": "Lock"
1911
1928
  },
1912
1929
  {
1913
- "id": "edge:0086",
1930
+ "id": "edge:0087",
1914
1931
  "kind": "transition",
1915
1932
  "from": "decision:rpc:cancel_turn:rpcResult",
1916
1933
  "to": "step:FinishTurnCancellation",
1917
1934
  "label": "GoTo"
1918
1935
  },
1919
1936
  {
1920
- "id": "edge:0087",
1937
+ "id": "edge:0088",
1921
1938
  "kind": "cancel",
1922
1939
  "from": "decision:rpc:cancel_turn:rpcResult",
1923
1940
  "to": "step:RunModel",
1924
1941
  "label": "Cancel"
1925
1942
  },
1926
1943
  {
1927
- "id": "edge:0088",
1944
+ "id": "edge:0089",
1928
1945
  "kind": "cancel",
1929
1946
  "from": "decision:rpc:cancel_turn:rpcResult",
1930
1947
  "to": "step:CompactContext",
1931
1948
  "label": "Cancel"
1932
1949
  },
1933
1950
  {
1934
- "id": "edge:0089",
1951
+ "id": "edge:0090",
1935
1952
  "kind": "cancel",
1936
1953
  "from": "decision:rpc:cancel_turn:rpcResult",
1937
1954
  "to": "step:RecordTurnFailure",
1938
1955
  "label": "Cancel"
1939
1956
  },
1940
1957
  {
1941
- "id": "edge:0090",
1958
+ "id": "edge:0091",
1942
1959
  "kind": "cancel",
1943
1960
  "from": "decision:rpc:cancel_turn:rpcResult",
1944
1961
  "to": "step:AwaitToolApproval",
1945
1962
  "label": "Cancel"
1946
1963
  },
1947
1964
  {
1948
- "id": "edge:0091",
1965
+ "id": "edge:0092",
1949
1966
  "kind": "cancel",
1950
1967
  "from": "decision:rpc:cancel_turn:rpcResult",
1951
1968
  "to": "step:AwaitQuestionAnswer",
1952
1969
  "label": "Cancel"
1953
1970
  },
1954
1971
  {
1955
- "id": "edge:0092",
1972
+ "id": "edge:0093",
1956
1973
  "kind": "cancel",
1957
1974
  "from": "decision:rpc:cancel_turn:rpcResult",
1958
1975
  "to": "step:AwaitTimer",
1959
1976
  "label": "Cancel"
1960
1977
  },
1961
1978
  {
1962
- "id": "edge:0093",
1979
+ "id": "edge:0094",
1963
1980
  "kind": "cancel",
1964
1981
  "from": "decision:rpc:cancel_turn:rpcResult",
1965
1982
  "to": "step:PollToolTask",
1966
1983
  "label": "Cancel"
1967
1984
  },
1968
1985
  {
1969
- "id": "edge:0094",
1986
+ "id": "edge:0095",
1970
1987
  "kind": "resource_lock",
1971
1988
  "from": "rpc:execute_plan",
1972
1989
  "to": "resource:attribute:PendingPlanExecution",
1973
1990
  "label": "Lock"
1974
1991
  },
1975
1992
  {
1976
- "id": "edge:0095",
1993
+ "id": "edge:0096",
1977
1994
  "kind": "resource_publish",
1978
1995
  "from": "rpc:execute_plan",
1979
1996
  "to": "resource:channel:PlanExecutions",
1980
1997
  "label": "Publish"
1981
1998
  },
1982
1999
  {
1983
- "id": "edge:0096",
2000
+ "id": "edge:0097",
1984
2001
  "kind": "resource_lock",
1985
2002
  "from": "rpc:resolve_interrupt",
1986
2003
  "to": "resource:attribute:PendingInterrupts",
1987
2004
  "label": "Lock"
1988
2005
  },
1989
2006
  {
1990
- "id": "edge:0097",
2007
+ "id": "edge:0098",
1991
2008
  "kind": "resource_publish",
1992
2009
  "from": "rpc:resolve_interrupt",
1993
2010
  "to": "resource:channel:InterruptResolutions",
1994
2011
  "label": "Publish"
1995
2012
  },
1996
2013
  {
1997
- "id": "edge:0098",
2014
+ "id": "edge:0099",
1998
2015
  "kind": "resource_publish",
1999
2016
  "from": "rpc:send_user_message",
2000
2017
  "to": "resource:channel:QueuedUserMessages",
2001
2018
  "label": "Publish"
2002
2019
  },
2003
2020
  {
2004
- "id": "edge:0099",
2021
+ "id": "edge:0100",
2005
2022
  "kind": "resource_publish",
2006
2023
  "from": "rpc:steer_user_message",
2007
2024
  "to": "resource:channel:QueuedUserMessages",
2008
2025
  "label": "Publish"
2009
2026
  },
2010
2027
  {
2011
- "id": "edge:0100",
2028
+ "id": "edge:0101",
2012
2029
  "kind": "resource_publish",
2013
2030
  "from": "rpc:steer_user_message",
2014
2031
  "to": "resource:channel:SteeredUserMessages",
2015
2032
  "label": "Publish"
2016
2033
  },
2017
2034
  {
2018
- "id": "edge:0101",
2035
+ "id": "edge:0102",
2019
2036
  "kind": "resource_publish",
2020
2037
  "from": "rpc:steer_user_message",
2021
2038
  "to": "resource:channel:TurnControlRequests",