Repository navigation
Commit 83e045f
fix(provider-pi): running shell output no longer stores a snapshot row per update
Pi resends the whole output tail of a running bash or powershell call
about ten times a second, and the adapter turned each one into a
turn_item.updated that was stored as its own event row. Forward only the
newly added bytes as an unpersisted command_output.delta instead, as the
Claude, Codex and Cursor adapters do; the completed item still carries
the final output.
Fixes #36425
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 04d6686 commit 83e045f
2 files changed
Lines changed: 55 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4079 | 4079 | | |
4080 | 4080 | | |
4081 | 4081 | | |
4082 | | - | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
| 4086 | + | |
| 4087 | + | |
4083 | 4088 | | |
4084 | 4089 | | |
4085 | 4090 | | |
4086 | 4091 | | |
4087 | | - | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
4088 | 4096 | | |
4089 | 4097 | | |
4090 | 4098 | | |
| |||
4098 | 4106 | | |
4099 | 4107 | | |
4100 | 4108 | | |
4101 | | - | |
4102 | | - | |
4103 | | - | |
4104 | | - | |
| 4109 | + | |
| 4110 | + | |
| 4111 | + | |
| 4112 | + | |
| 4113 | + | |
| 4114 | + | |
| 4115 | + | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
4105 | 4121 | | |
4106 | 4122 | | |
4107 | 4123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| |||
1193 | 1194 | | |
1194 | 1195 | | |
1195 | 1196 | | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1196 | 1224 | | |
1197 | 1225 | | |
1198 | 1226 | | |
| |||
1203 | 1231 | | |
1204 | 1232 | | |
1205 | 1233 | | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1206 | 1238 | | |
1207 | 1239 | | |
1208 | 1240 | | |
| |||
2906 | 2938 | | |
2907 | 2939 | | |
2908 | 2940 | | |
| 2941 | + | |
2909 | 2942 | | |
2910 | 2943 | | |
2911 | 2944 | | |
| |||
0 commit comments