Commit d200780
committed
fix: address round-2 PR review feedback
ampServerManager:
- Emit turn.completed when AMP process dies with active turn
- Reject concurrent turns in sendTurn
- Consistent tool item types between start/completion events
- Sanitize raw provider output in JSONL parse logging
- Guard against duplicate turn.completed emissions
geminiCliServerManager:
- Reject overlapping turns in sendTurn
- Always emit terminal turn.completed on child close
- Respect input.model override, reject unsupported attachments
- Fix test to simulate closed-but-present session path
- Add tests for concurrent turn rejection and attachment rejection
kiloServerManager:
- Reject unsupported attachments in sendTurn
- Clean up listeners on server start promise resolve/reject
- Remove double-cast by using ProviderRuntimeEvent directly
- Remove no-op readJsonData pass-through function
CopilotAdapter:
- Reorder reconfigureSession to create new before destroying old
- Guard against NaN percentUsed when limit is 0
- Clean up client on createSession/resumeSession failure
- Update stale runtimeMode on session reuse early return
Types and registry:
- Replace any with unknown in SDKMessage for stricter typing
- Use Effect.die for idiomatic duplicate registration error
- Add comment explaining global usage accumulator intent
- Fix test to use different thread for cross-thread verification
Other:
- Merge discovered models by slug preserving metadata in ChatView
- Fix deriveRepoUrl .git suffix handling
- Expand plan docs: credential security, rollback criteria, chaos testing1 parent 3057152 commit d200780
12 files changed
Lines changed: 313 additions & 150 deletions
File tree
- .plans
- apps
- server/src
- orchestration/Layers
- provider
- Layers
- web/src/components
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| |||
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
344 | 355 | | |
345 | 356 | | |
346 | 357 | | |
| |||
434 | 445 | | |
435 | 446 | | |
436 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
437 | 451 | | |
438 | 452 | | |
439 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
211 | 215 | | |
212 | 216 | | |
213 | 217 | | |
| 218 | + | |
214 | 219 | | |
215 | 220 | | |
216 | 221 | | |
| |||
237 | 242 | | |
238 | 243 | | |
239 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
240 | 256 | | |
241 | 257 | | |
242 | 258 | | |
| |||
252 | 268 | | |
253 | 269 | | |
254 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
255 | 282 | | |
256 | 283 | | |
257 | 284 | | |
258 | | - | |
| 285 | + | |
259 | 286 | | |
260 | 287 | | |
261 | 288 | | |
| |||
285 | 312 | | |
286 | 313 | | |
287 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
288 | 320 | | |
289 | 321 | | |
290 | 322 | | |
| |||
419 | 451 | | |
420 | 452 | | |
421 | 453 | | |
422 | | - | |
| 454 | + | |
423 | 455 | | |
424 | 456 | | |
425 | 457 | | |
| |||
533 | 565 | | |
534 | 566 | | |
535 | 567 | | |
536 | | - | |
| 568 | + | |
| 569 | + | |
537 | 570 | | |
538 | 571 | | |
539 | 572 | | |
| |||
595 | 628 | | |
596 | 629 | | |
597 | 630 | | |
| 631 | + | |
598 | 632 | | |
599 | 633 | | |
600 | 634 | | |
| |||
680 | 714 | | |
681 | 715 | | |
682 | 716 | | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
683 | 720 | | |
684 | 721 | | |
685 | 722 | | |
686 | 723 | | |
687 | 724 | | |
688 | 725 | | |
689 | | - | |
| 726 | + | |
690 | 727 | | |
691 | 728 | | |
692 | 729 | | |
| |||
705 | 742 | | |
706 | 743 | | |
707 | 744 | | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
708 | 749 | | |
709 | 750 | | |
710 | 751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
137 | 145 | | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
142 | 150 | | |
143 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
144 | 197 | | |
145 | 198 | | |
146 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
242 | 250 | | |
243 | 251 | | |
244 | 252 | | |
| |||
249 | 257 | | |
250 | 258 | | |
251 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
252 | 263 | | |
253 | 264 | | |
254 | 265 | | |
| |||
259 | 270 | | |
260 | 271 | | |
261 | 272 | | |
262 | | - | |
263 | | - | |
| 273 | + | |
| 274 | + | |
264 | 275 | | |
265 | 276 | | |
266 | 277 | | |
| |||
296 | 307 | | |
297 | 308 | | |
298 | 309 | | |
299 | | - | |
| 310 | + | |
300 | 311 | | |
301 | 312 | | |
302 | 313 | | |
303 | 314 | | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
313 | 325 | | |
314 | 326 | | |
315 | 327 | | |
| |||
0 commit comments