Repository navigation
Commit 08af5cb
committed
fix(webview): rebuild active task handlers when a pinned profile is saved
A non-activating save refreshed the pinned views' buffers but not their
active tasks' API handlers, and the posted state prefers the task's own
apiConfiguration: a conversation running in a view pinned to the saved
profile kept sending the old token (e.g. after the Zoo Gateway callback
rotated it) even though the view's buffer had caught up. The refresh now
rebuilds the affected tasks' handlers in the sibling views, and the
non-activating branch rebuilds this view's own handler when it holds the
pin.
Proofs: ClineProvider.spec 258/258 (the pinned-sibling refresh test now
asserts the active task's handler is rebuilt with the saved settings, not
just the private buffer); negative control: dropping the rebuild from the
refresh reddens exactly that assertion, restores byte-exact (hash match);
sticky-mode 32/32, webviewMessageHandler 82/82; eslint
--max-warnings=0 clean; prettier clean.1 parent 74825b2 commit 08af5cb
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2418 | 2418 | | |
2419 | 2419 | | |
2420 | 2420 | | |
| 2421 | + | |
2421 | 2422 | | |
2422 | 2423 | | |
2423 | 2424 | | |
| |||
2672 | 2673 | | |
2673 | 2674 | | |
2674 | 2675 | | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
2675 | 2683 | | |
2676 | 2684 | | |
2677 | 2685 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8286 | 8286 | | |
8287 | 8287 | | |
8288 | 8288 | | |
| 8289 | + | |
| 8290 | + | |
| 8291 | + | |
| 8292 | + | |
| 8293 | + | |
| 8294 | + | |
| 8295 | + | |
| 8296 | + | |
| 8297 | + | |
| 8298 | + | |
| 8299 | + | |
8289 | 8300 | | |
8290 | 8301 | | |
8291 | 8302 | | |
| |||
8306 | 8317 | | |
8307 | 8318 | | |
8308 | 8319 | | |
| 8320 | + | |
| 8321 | + | |
| 8322 | + | |
| 8323 | + | |
| 8324 | + | |
| 8325 | + | |
| 8326 | + | |
8309 | 8327 | | |
8310 | 8328 | | |
8311 | 8329 | | |
| |||
0 commit comments