openvibers/openvibe.network Commits

Chat grants (Wave 6): chat reads Live's chat context/effects/mirror; Live bridges to Chat and reads presence; openvibe-contracts v0.13.0

OP OpenVibers committed 23 Sept 2026 · c3537c4cc3 · 3 files, +12 −5


Changes

ddiff --git a/package-lock.json b/package-lock.json
iindex ce09fb3a..bb52d63d 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -20,7 +20,7 @@
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1",
"uuid": "^11.1.0",
"web-push": "^3.6.7"
@@@ -1464,9 +1464,9 @@
}
},
"node_modules/openvibe-contracts": {
-- "version": "0.8.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",
-- "integrity": "sha512-2Msdb+k+fJZf9kQTPS2jdY8+o9FhL9tBuu3FzArHs3JcBcc06ReHpOi2sgnSBgQcSvZSaSsWT2YVbmhjnEplqQ==",
++ "version": "0.13.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",
++ "integrity": "sha512-MeIGJYHQsbr6ISeEErduUw/PD52X5IBclH2ht/G/t4lSX5X4o2AwcZYLEzOZrcbaXQyplgC7r86RCGFvi1ifUA==",
"license": "AGPL-3.0-only",
"dependencies": {
"ajv": "^8.17.1",
ddiff --git a/package.json b/package.json
iindex 6e3df39b..80afd18e 100644
---- a/package.json
++++ b/package.json
@@@ -23,7 +23,7 @@
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1",
"uuid": "^11.1.0",
"web-push": "^3.6.7"
ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex 55074172..c366fe24 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -49,6 +49,13 @@ const DEFAULT_GRANTS = [
['live', 'community.comment.write', 'openvibe.community', []],
['live', 'community.comment.moderate', 'openvibe.community', []],
['live', 'community.pulse.write', 'openvibe.community', []],
++ // Wave 6: OpenVibe.Chat reads Live's chat context, asks Live for effects and mirrors chat rows
++ // back; Live bridges its remaining chat writers to Chat and reads presence.
++ ['chat', 'live.chat_context.read', 'openvibe.live', []],
++ ['chat', 'live.chat_effects.write', 'openvibe.live', []],
++ ['chat', 'live.chat_mirror.write', 'openvibe.live', []],
++ ['live', 'chat.live_bridge.write', 'openvibe.chat', []],
++ ['live', 'chat.presence.read', 'openvibe.chat', []],
];
// Grants withdrawn by decision; applied at every boot so an old default can't come back.