Commit 6cb871e
committed
fix: handle custom-agents endpoint in replay proxy for CLI 1.0.11
CLI 1.0.11 makes a GET request to /agents/*/custom-agents/* during
startup. The replay proxy had no handler for this endpoint, causing
it to call onError and hang new CLI processes. This broke the
'should resume a session using a new client' and 'should produce
deltas after session resume' E2E tests which spawn a second
CopilotClient.
Add a stub handler (returning empty agents list) matching the
existing pattern used for memory endpoints.1 parent 1689bc7 commit 6cb871e
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
233 | 246 | | |
234 | 247 | | |
235 | 248 | | |
| |||
0 commit comments