Commit 157a16c
authored
[app-server] feat: add thread_id and turn_id to item and error notifications (#7124)
Add `thread_id` and `turn_id` to `item/started`, `item/completed`, and
`error` notifications. Otherwise the client will have a hard time
knowing which thread & turn (if multiple threads are running in
parallel) a new item/error is for.
Also add `thread_id` to `turn/started` and `turn/completed`.1 parent 37d83e0 commit 157a16c
File tree
5 files changed
+149
-22
lines changed- codex-rs
- app-server-protocol/src/protocol
- app-server
- src
- tests/suite/v2
5 files changed
+149
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| 810 | + | |
| 811 | + | |
810 | 812 | | |
811 | 813 | | |
812 | 814 | | |
| |||
1118 | 1120 | | |
1119 | 1121 | | |
1120 | 1122 | | |
| 1123 | + | |
1121 | 1124 | | |
1122 | 1125 | | |
1123 | 1126 | | |
| |||
1134 | 1137 | | |
1135 | 1138 | | |
1136 | 1139 | | |
| 1140 | + | |
1137 | 1141 | | |
1138 | 1142 | | |
1139 | 1143 | | |
| |||
1142 | 1146 | | |
1143 | 1147 | | |
1144 | 1148 | | |
| 1149 | + | |
| 1150 | + | |
1145 | 1151 | | |
1146 | 1152 | | |
1147 | 1153 | | |
1148 | 1154 | | |
1149 | 1155 | | |
1150 | 1156 | | |
1151 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
1152 | 1160 | | |
1153 | 1161 | | |
1154 | 1162 | | |
| |||
0 commit comments