Commit 6afa421
Forward chatId on chat selection notifications
The bridge's outbound handler now prefers an explicit data.chatId
(supplied by the webview after the per-chat scoping fix) when
forwarding chat/selectedModelChanged, chat/selectedAgentChanged, and
chat/selectedVariantChanged to the remote REST endpoints, falling
back to ctx.getCurrentChatId() when the webview omits it. Forward-
compatible: works against both the previous webview submodule (which
did not emit chatId) and the new one.
Bumps eca-webview submodule to pick up the matching webview-side
changes (Phase A drops the 'EMPTY' chat-id sentinel and mints a UUID
upfront; Phase B includes chatId in the host messages and applies
config/updated per-chat when scoped).
editor-code-assistant/eca-emacs#231
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca-agent <git@eca.dev>1 parent 536f208 commit 6afa421
3 files changed
Lines changed: 17 additions & 12 deletions
Submodule eca-webview updated 10 files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | | - | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | | - | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | | - | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
303 | 305 | | |
304 | 306 | | |
305 | 307 | | |
306 | | - | |
307 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
308 | 312 | | |
309 | | - | |
| 313 | + | |
310 | 314 | | |
| 315 | + | |
311 | 316 | | |
312 | 317 | | |
313 | | - | |
| 318 | + | |
314 | 319 | | |
315 | 320 | | |
316 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments