@openclaw/matrix 2026.5.30-beta.1 → 2026.5.31-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/api.js +4 -4
  2. package/dist/{approval-handler.runtime-nfyxbtVZ.js → approval-handler.runtime-Dzh_2MS1.js} +4 -4
  3. package/dist/{approval-ids-vw7teE3M.js → approval-ids-CXPPSyAr.js} +1 -1
  4. package/dist/{approval-reaction-auth-kAazIsvu.js → approval-reaction-auth-m-11_ajL.js} +2 -2
  5. package/dist/{channel-DwJf74NH.js → channel-BwpVY2Ne.js} +9 -9
  6. package/dist/channel-plugin-api.js +1 -1
  7. package/dist/{channel.runtime-6ITv13UJ.js → channel.runtime-CUBxoFwA.js} +1 -1
  8. package/dist/{cli-BXd9cN_x.js → cli-CaF5tlL-.js} +7 -7
  9. package/dist/{cli-metadata-CkMUnkMl.js → cli-metadata-gFTG9oJL.js} +1 -1
  10. package/dist/cli-metadata.js +1 -1
  11. package/dist/{client-CpSI5BON.js → client-D-t6CdHz.js} +1 -1
  12. package/dist/{config-schema-Bx-Pb1Kw.js → config-schema-DfjBrYch.js} +19 -2
  13. package/dist/contract-api.js +3 -3
  14. package/dist/{doctor-D3wfD2UP.js → doctor-BKjr6uua.js} +0 -1
  15. package/dist/{draft-stream-DQN43iqS.js → draft-stream-eaBWrjVK.js} +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/{media-text-C8b9cJiE.js → media-text-C2Wor3Gj.js} +1 -1
  18. package/dist/{messages-DyU_49Ws.js → messages-D0sumPNx.js} +3 -3
  19. package/dist/{monitor-C-w1IkPI.js → monitor-gDaABWfA.js} +20 -17
  20. package/dist/plugin-entry.handlers.runtime.js +1 -1
  21. package/dist/{profile-update-DON3UoVK.js → profile-update-Defy1W90.js} +2 -2
  22. package/dist/{reaction-events-Cf-zAwa6.js → reaction-events-Bh2u-_9j.js} +1 -1
  23. package/dist/{send-CAmsWgZ2.js → send-DHj1E9ji.js} +3 -1
  24. package/dist/{setup-bootstrap-5ki8dOiM.js → setup-bootstrap-kTPKb7jR.js} +2 -2
  25. package/dist/{setup-core-X-qaIzVT.js → setup-core-DRg3cgB8.js} +1 -1
  26. package/dist/setup-plugin-api.js +3 -3
  27. package/dist/{setup-surface-D6gS45Pz.js → setup-surface-soZQLgfu.js} +2 -2
  28. package/dist/{startup-verification-DdSXlCLn.js → startup-verification-CWLSyFen.js} +1 -1
  29. package/dist/{thread-bindings-yt8HTZo0.js → thread-bindings-DehFUArg.js} +3 -2
  30. package/dist/{tool-actions.runtime-DOh3pfFu.js → tool-actions.runtime-CU79qJ3e.js} +6 -6
  31. package/dist/{verification-BkvujZrn.js → verification-BJfjKMr8.js} +1 -1
  32. package/node_modules/@babel/runtime/package.json +1 -1
  33. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/.node-version +1 -1
  34. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/CHANGELOG.md +32 -1
  35. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/README.md +3 -3
  36. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.d.ts +195 -15
  37. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js +6 -1
  38. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/package.json +3 -3
  39. package/node_modules/typebox/build/type/script/mapping.d.mts +5 -2
  40. package/node_modules/typebox/build/type/script/mapping.mjs +15 -8
  41. package/node_modules/typebox/build/type/script/parser.d.mts +3 -1
  42. package/node_modules/typebox/build/type/script/parser.mjs +2 -1
  43. package/node_modules/typebox/package.json +29 -29
  44. package/npm-shrinkwrap.json +15 -15
  45. package/openclaw.plugin.json +46 -0
  46. package/package.json +6 -6
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@openclaw/matrix",
3
- "version": "2026.5.30-beta.1",
3
+ "version": "2026.5.31-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/matrix",
9
- "version": "2026.5.30-beta.1",
9
+ "version": "2026.5.31-beta.1",
10
10
  "dependencies": {
11
- "@matrix-org/matrix-sdk-crypto-nodejs": "0.4.0",
11
+ "@matrix-org/matrix-sdk-crypto-nodejs": "0.6.0",
12
12
  "@matrix-org/matrix-sdk-crypto-wasm": "18.3.0",
13
13
  "fake-indexeddb": "6.2.5",
14
14
  "markdown-it": "14.2.0",
15
15
  "matrix-js-sdk": "41.6.0",
16
16
  "music-metadata": "11.12.3",
17
- "typebox": "1.1.38",
17
+ "typebox": "1.1.39",
18
18
  "zod": "4.4.3"
19
19
  },
20
20
  "peerDependencies": {
21
- "openclaw": ">=2026.5.30-beta.1"
21
+ "openclaw": ">=2026.5.31-beta.1"
22
22
  },
23
23
  "peerDependenciesMeta": {
24
24
  "openclaw": {
@@ -27,9 +27,9 @@
27
27
  }
28
28
  },
29
29
  "node_modules/@babel/runtime": {
30
- "version": "7.29.2",
31
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",
32
- "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",
30
+ "version": "7.29.7",
31
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.7.tgz",
32
+ "integrity": "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==",
33
33
  "license": "MIT",
34
34
  "engines": {
35
35
  "node": ">=6.9.0"
@@ -46,9 +46,9 @@
46
46
  }
47
47
  },
48
48
  "node_modules/@matrix-org/matrix-sdk-crypto-nodejs": {
49
- "version": "0.4.0",
50
- "resolved": "https://registry.npmjs.org/@matrix-org/matrix-sdk-crypto-nodejs/-/matrix-sdk-crypto-nodejs-0.4.0.tgz",
51
- "integrity": "sha512-+qqgpn39XFSbsD0dFjssGO9vHEP7sTyfs8yTpt8vuqWpUpF20QMwpCZi0jpYw7GxjErNTsMshopuo8677DfGEA==",
49
+ "version": "0.6.0",
50
+ "resolved": "https://registry.npmjs.org/@matrix-org/matrix-sdk-crypto-nodejs/-/matrix-sdk-crypto-nodejs-0.6.0.tgz",
51
+ "integrity": "sha512-AndGryzkDtFbaDyPBAQ2B4pUhaA/q4HJf3wgiGpPa/70DsdY1Z3R5Wn9yp+56CeHOpk61mNHz/8WDPlzrZDSJw==",
52
52
  "hasInstallScript": true,
53
53
  "license": "Apache-2.0",
54
54
  "dependencies": {
@@ -56,7 +56,7 @@
56
56
  "node-downloader-helper": "^2.1.9"
57
57
  },
58
58
  "engines": {
59
- "node": ">= 22"
59
+ "node": ">= 24"
60
60
  }
61
61
  },
62
62
  "node_modules/@matrix-org/matrix-sdk-crypto-wasm": {
@@ -504,9 +504,9 @@
504
504
  }
505
505
  },
506
506
  "node_modules/typebox": {
507
- "version": "1.1.38",
508
- "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.1.38.tgz",
509
- "integrity": "sha512-pZ0aQPmMmXoUvSbeuWf/Hzsc+avNw/Zd6VeE8CFgkVGWyuHPJvqeJJDeJqLve+K70LvjYIoleGcoJHPT17cWoA==",
507
+ "version": "1.1.39",
508
+ "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.1.39.tgz",
509
+ "integrity": "sha512-vj0afVtOfLQvv0GR0VxVagYxsXN64btL7Z9XoaG0ZggH3mruMMkOO6hXdgMsjCY3shZgEvooAWVeznQVs5c43w==",
510
510
  "license": "MIT"
511
511
  },
512
512
  "node_modules/uc.micro": {
@@ -310,6 +310,36 @@
310
310
  "allowlist"
311
311
  ]
312
312
  },
313
+ "mentionPatterns": {
314
+ "type": "object",
315
+ "properties": {
316
+ "mode": {
317
+ "anyOf": [
318
+ {
319
+ "type": "string",
320
+ "const": "allow"
321
+ },
322
+ {
323
+ "type": "string",
324
+ "const": "deny"
325
+ }
326
+ ]
327
+ },
328
+ "allowIn": {
329
+ "type": "array",
330
+ "items": {
331
+ "type": "string"
332
+ }
333
+ },
334
+ "denyIn": {
335
+ "type": "array",
336
+ "items": {
337
+ "type": "string"
338
+ }
339
+ }
340
+ },
341
+ "additionalProperties": false
342
+ },
313
343
  "contextVisibility": {
314
344
  "type": "string",
315
345
  "enum": [
@@ -860,6 +890,22 @@
860
890
  "label": "Matrix",
861
891
  "description": "open protocol; install the plugin to enable.",
862
892
  "uiHints": {
893
+ "mentionPatterns": {
894
+ "label": "Matrix Mention Pattern Policy",
895
+ "help": "Scopes configured groupChat mentionPatterns to selected Matrix room IDs. Native Matrix mention evidence still triggers even when regex patterns are denied."
896
+ },
897
+ "mentionPatterns.mode": {
898
+ "label": "Matrix Mention Pattern Mode",
899
+ "help": "\"allow\" enables configured regex mention patterns unless denyIn matches; \"deny\" disables them unless allowIn matches."
900
+ },
901
+ "mentionPatterns.allowIn": {
902
+ "label": "Matrix Mention Pattern Allowlist",
903
+ "help": "Matrix room IDs where configured regex mention patterns are enabled when mode is deny."
904
+ },
905
+ "mentionPatterns.denyIn": {
906
+ "label": "Matrix Mention Pattern Denylist",
907
+ "help": "Matrix room IDs where configured regex mention patterns are disabled. Native mention evidence still triggers."
908
+ },
863
909
  "allowBots": {
864
910
  "label": "Matrix Allow Bot Messages",
865
911
  "help": "Allow messages from other configured Matrix bot accounts to trigger replies (default: false). Set \"mentions\" to require a visible room mention."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/matrix",
3
- "version": "2026.5.30-beta.1",
3
+ "version": "2026.5.31-beta.1",
4
4
  "description": "OpenClaw Matrix channel plugin for rooms and direct messages.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,17 +8,17 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@matrix-org/matrix-sdk-crypto-nodejs": "0.4.0",
11
+ "@matrix-org/matrix-sdk-crypto-nodejs": "0.6.0",
12
12
  "@matrix-org/matrix-sdk-crypto-wasm": "18.3.0",
13
13
  "fake-indexeddb": "6.2.5",
14
14
  "markdown-it": "14.2.0",
15
15
  "matrix-js-sdk": "41.6.0",
16
16
  "music-metadata": "11.12.3",
17
- "typebox": "1.1.38",
17
+ "typebox": "1.1.39",
18
18
  "zod": "4.4.3"
19
19
  },
20
20
  "peerDependencies": {
21
- "openclaw": ">=2026.5.30-beta.1"
21
+ "openclaw": ">=2026.5.31-beta.1"
22
22
  },
23
23
  "peerDependenciesMeta": {
24
24
  "openclaw": {
@@ -84,10 +84,10 @@
84
84
  "allowInvalidConfigRecovery": true
85
85
  },
86
86
  "compat": {
87
- "pluginApi": ">=2026.5.30-beta.1"
87
+ "pluginApi": ">=2026.5.31-beta.1"
88
88
  },
89
89
  "build": {
90
- "openclawVersion": "2026.5.30-beta.1"
90
+ "openclawVersion": "2026.5.31-beta.1"
91
91
  },
92
92
  "release": {
93
93
  "publishToClawHub": true,