Commit d54826b
committed
feat(ai-chat): tag subagent tool events with parentToolId, style nested rows
Pairs with the phoenix-pro inline-subagent-steps renderer. The backend
now looks up the dispatching Agent's toolCounter from
_toolUseIdToCounter[message.parent_tool_use_id] and includes it on
both aiProgress and aiToolInfo events so the browser knows where to
render each step. Styling adds .ai-subagent-steps (left border +
indent for the nested block) and .ai-subagent-step / -icon / -label
(compact one-line rows with the secondary text size and ellipsis
truncation).1 parent 30490d2 commit d54826b
2 files changed
Lines changed: 38 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
| 1631 | + | |
1631 | 1632 | | |
1632 | 1633 | | |
1633 | 1634 | | |
1634 | 1635 | | |
1635 | 1636 | | |
1636 | 1637 | | |
1637 | | - | |
| 1638 | + | |
| 1639 | + | |
1638 | 1640 | | |
1639 | 1641 | | |
1640 | 1642 | | |
1641 | 1643 | | |
| 1644 | + | |
1642 | 1645 | | |
1643 | 1646 | | |
1644 | 1647 | | |
1645 | 1648 | | |
1646 | 1649 | | |
1647 | 1650 | | |
| 1651 | + | |
1648 | 1652 | | |
1649 | 1653 | | |
1650 | 1654 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1129 | 1162 | | |
1130 | 1163 | | |
1131 | 1164 | | |
| |||
0 commit comments