Gustavo Madeira Santana
2b3d776403
Matrix: ignore stale history after room eviction
2026-03-30 15:09:54 -04:00
Gustavo Madeira Santana
e03327203c
Matrix: clean monitor history helpers
2026-03-30 15:09:54 -04:00
Gustavo Madeira Santana
c7052853f3
Matrix: narrow history ingress lock
2026-03-30 15:09:54 -04:00
Gustavo Madeira Santana
ba922701e3
Matrix: stabilize group history snapshots
2026-03-30 15:09:53 -04:00
chain710
6f7825a3a9
feat(matrix): add group chat history context for agent triggers
...
Implement per-room message queue with per-agent watermarks so each agent
in a Matrix room independently tracks which messages it has consumed.
- Non-trigger messages accumulate in a shared per-room queue
- When an agent is triggered, it receives InboundHistory of pending messages
since its last reply (capped at historyLimit)
- Watermark only advances to the snapshot taken at dispatch time, so messages
arriving during async processing are visible on the next trigger (race safety)
- Each agent has an independent watermark, so multiple agents in the same room
see independent history windows
Configure via channels.matrix.historyLimit (or messages.groupChat.historyLimit).
Default is 0 (disabled, preserving existing behavior).
2026-03-30 15:09:53 -04:00
Gustavo Madeira Santana
dd17dae3e5
Matrix: drop unused MatrixClient constructor params
2026-03-30 13:17:02 -04:00
Gustavo Madeira Santana
1ea85a5d0b
Matrix: remove stale monitor mention regex param
2026-03-30 13:17:02 -04:00
Patrick Yingxi Pan
1ad88b58d1
feat(matrix): add explicit channels.matrix.proxy config ( #56930 ) ( #56931 )
...
Merged via squash.
Prepared head SHA: facdf94b65
Co-authored-by: patrick-yingxi-pan <5210631+patrick-yingxi-pan@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-30 02:51:33 -04:00
Gustavo Madeira Santana
ecb14338d4
Matrix: keep runtime wrapper off monolithic sdk root
2026-03-29 22:38:44 -04:00
Gustavo Madeira Santana
6fe24a6f2c
Matrix: fix source-checkout runtime wrapper
2026-03-29 22:20:41 -04:00
Vincent Koc
8657b65b05
fix(ci): rename extension test support for boundary guards
2026-03-30 09:31:33 +09:00
Peter Steinberger
c2cbdea28c
refactor: add approval auth capabilities to more channels
2026-03-30 09:04:08 +09:00
Peter Steinberger
63cbc097b5
refactor(channels): route core through registered plugin capabilities
2026-03-30 01:03:42 +01:00
Vincent Koc
408f6a5b0b
test(matrix): stabilize file sync store persistence checks
2026-03-30 08:43:37 +09:00
Peter Steinberger
cfac0e8698
refactor: move plugin-owned test support into plugins
2026-03-30 08:03:04 +09:00
Peter Steinberger
8861cdbb6f
refactor(plugin-sdk): untangle extension test seams
2026-03-29 23:43:53 +01:00
Peter Steinberger
35233bae96
refactor: decouple bundled plugin sdk surfaces
2026-03-29 21:20:46 +01:00
Gustavo Madeira Santana
dc192d7b2f
Build: mirror Matrix crypto WASM runtime deps ( #57163 )
...
Merged via squash.
Prepared head SHA: b3aeb9d08a
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-29 15:57:28 -04:00
Keith Elliott
2d2e386b94
fix(matrix): resolve crypto bootstrap failure and multi-extension idHint warning ( #53298 )
...
Merged via squash.
Prepared head SHA: 6f5813ffff
Co-authored-by: keithce <2086282+keithce@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-29 12:38:10 -04:00
Peter Steinberger
8e0ab35b0e
refactor(plugins): decouple bundled plugin runtime loading
2026-03-29 09:10:38 +01:00
Jakub Rusz
7e7e45c2f3
feat(matrix): add draft streaming (edit-in-place partial replies) ( #56387 )
...
Merged via squash.
Prepared head SHA: 53e566bf30
Co-authored-by: jrusz <55534579+jrusz@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-29 01:43:02 -04:00
frischeDaten
81432d6b7e
fix(matrix): encrypt thumbnails in E2EE rooms using thumbnail_file ( #54711 )
...
Merged via squash.
Prepared head SHA: 92be0e1ac2
Co-authored-by: frischeDaten <5878058+frischeDaten@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-28 18:41:23 -04:00
OfflynAI
cb00d44ae4
fix(matrix): load crypto-nodejs via createRequire to fix __dirname in ESM ( #54566 )
...
Merged via squash.
Prepared head SHA: 61d99628f9
Co-authored-by: joelnishanth <140015627+joelnishanth@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-28 17:43:44 -04:00
Peter Steinberger
3bb199aa43
refactor: lazy-load matrix setup bootstrap surfaces
2026-03-28 12:46:54 +00:00
Ayaan Zaidi
8ea5c22985
fix(matrix): avoid heavy jiti runtime barrels
2026-03-28 15:35:05 +05:30
Kenny Xie
cb5afdf108
fix: prevent matrix-js-sdk plugin load crash ( #56273 ) (thanks @aquaright1)
...
* Fix matrix-js-sdk multiple entrypoint crash on plugin load
* test(matrix): cover runtime bundle import regression
* fix: prevent matrix-js-sdk plugin load crash (#56273 ) (thanks @aquaright1)
* fix: widen matrix-js-sdk bundle import guard (#56273 ) (thanks @aquaright1)
---------
Co-authored-by: Kenny Xie <kennyxie@Mac-mini-von-Kenny.local>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-03-28 14:27:54 +05:30
Peter Steinberger
83135c31c9
refactor(acp): extract generic current conversation binding store
2026-03-28 05:53:07 +00:00
Gustavo Madeira Santana
1e4241c34a
Matrix: fix directory auth and credentials fallback
2026-03-28 01:52:55 -04:00
Peter Steinberger
f01f2ddc6d
test(matrix): restore sdk mock ordering
2026-03-28 05:04:07 +00:00
Gustavo Madeira Santana
59535e3414
Matrix: align default account secret handling
2026-03-28 00:34:48 -04:00
kakahu
158e7c517e
fix(matrix): resolve env SecretRef fallback in clean() for channel startup ( #54980 )
...
Merged via squash.
Prepared head SHA: b71a86e68e
Co-authored-by: kakahu2015 <17962485+kakahu2015@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-28 00:21:57 -04:00
Peter Steinberger
df4fd12225
test(matrix): mock chunkTextForOutbound in monitor registration test
2026-03-28 04:12:26 +00:00
Peter Steinberger
68416fdf83
refactor(acp): generalize message-channel binds
2026-03-28 02:53:54 +00:00
Tak Hoffman
23d5bad3ae
fix(regression): restore matrix cold-runtime chunking
2026-03-27 21:14:38 -05:00
Gustavo Madeira Santana
86d8b06da9
Matrix: preserve strict DM SAS fallback
2026-03-27 21:42:12 -04:00
Gustavo Madeira Santana
b6ead2dd3b
fix(matrix): align outbound direct-room selection ( #56076 )
...
Merged via squash.
Prepared head SHA: bbd9afdd5c
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-27 20:35:55 -04:00
Gustavo Madeira Santana
5ca8be7323
matrix: guard invalid HTML entity mention labels
2026-03-27 19:37:58 -04:00
Nick Ludlam
5d82534af7
fix(matrix): mentions should work with displayName labels (with help from Antigravity) ( #55393 )
...
Merged via squash.
Prepared head SHA: c6df37ce14
Co-authored-by: nickludlam <7568+nickludlam@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-27 19:16:33 -04:00
private-peter
0558f2470d
fix(matrix): only use 2-member DM fallback when dm refresh fails ( #54890 )
...
Merged via squash.
Prepared head SHA: e32d220ef0
Co-authored-by: private-peter <251383182+private-peter@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-27 19:08:40 -04:00
alberthild
c7fbd51890
fix(matrix): resolve reply context body and sender for quoted messages ( #55056 )
...
Merged via squash.
Prepared head SHA: 6fd580bb03
Co-authored-by: alberthild <3729342+alberthild@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-27 19:03:21 -04:00
esrehmki
f7934d7024
fix(matrix): pass originalFilename to saveMediaBuffer and expose path via MEDIA tag ( #55692 )
...
Merged via squash.
Prepared head SHA: a68dc0841b
Co-authored-by: esrehmki <20036971+esrehmki@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
2026-03-27 18:53:52 -04:00
Peter Steinberger
992b30604d
refactor: move extension-owned tests to extensions
2026-03-27 21:37:09 +00:00
Peter Steinberger
605c9306ab
fix(ci): repair extension and discord test gates
2026-03-27 19:26:25 +00:00
Peter Steinberger
1086acf3c2
fix: repair latest-main ci gate
2026-03-27 17:57:23 +00:00
Peter Steinberger
ed055f44ae
refactor: route plugin runtime through bundled seams
2026-03-27 16:40:27 +00:00
Peter Steinberger
351a931a62
fix(ci): restore runtime-api guardrails
2026-03-27 15:56:54 +00:00
Ayaan Zaidi
8b13710c09
refactor(plugin-sdk): expose zod subpath
2026-03-27 09:55:47 +05:30
Peter Steinberger
4890656d9d
refactor: share matrix state file path helper
2026-03-26 23:20:26 +00:00
Peter Steinberger
bfad32aa16
refactor: share directory config listers
2026-03-26 23:20:26 +00:00
Peter Steinberger
7bb95354c4
test: dedupe matrix setup seams
2026-03-26 17:04:23 +00:00