Commit 1feddff
fix(desktop+acp): wake agents on edit-added @mentions
Issue #2540: editing a kind-9 message to add @agent never fired a turn
because (1) Mentions-mode ACP only subscribed to kind 9 (not 40003 edits)
and (2) build_message_edit emitted `p` tags but not explicit `mention`
reference tags that send already attaches.
- Default Mentions subscription kinds include KIND_STREAM_MESSAGE_EDIT
- build_message_edit emits matching `mention` refs with newly added `p`s
- Unit test asserts mention ref on edit-added audience
Closes #2540
Signed-off-by: Bartok9 <danielrpike9@gmail.com>
(cherry picked from commit 4935102)
Signed-off-by: Bartok9 <259807879+Bartok9@users.noreply.github.com>
(cherry picked from commit d3cfe82)
Signed-off-by: Bartok9 <259807879+Bartok9@users.noreply.github.com>
(cherry picked from commit d516ed0)
Signed-off-by: Bartok9 <259807879+Bartok9@users.noreply.github.com>
(cherry picked from commit 0c8ec32)
Signed-off-by: Bartok9 <259807879+Bartok9@users.noreply.github.com>1 parent b1f6b7e commit 1feddff
2 files changed
Lines changed: 42 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
2674 | 2674 | | |
2675 | 2675 | | |
2676 | 2676 | | |
| 2677 | + | |
| 2678 | + | |
| 2679 | + | |
2677 | 2680 | | |
2678 | 2681 | | |
| 2682 | + | |
2679 | 2683 | | |
2680 | 2684 | | |
2681 | 2685 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
359 | 371 | | |
360 | 372 | | |
361 | 373 | | |
| |||
368 | 380 | | |
369 | 381 | | |
370 | 382 | | |
371 | | - | |
372 | | - | |
373 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
374 | 389 | | |
375 | 390 | | |
376 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
377 | 404 | | |
| 405 | + | |
| 406 | + | |
378 | 407 | | |
379 | 408 | | |
380 | 409 | | |
| |||
893 | 922 | | |
894 | 923 | | |
895 | 924 | | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
896 | 930 | | |
897 | 931 | | |
898 | 932 | | |
| |||
0 commit comments