openvibers/openvibe.network Commits

Chat may set a person's reminders on Today (today.reminder.write); contracts v0.267.0 (#474)

OP OpenVibers committed 12 days ago · 704e703c03 · 3 files, +7 −5

Changes

ddiff --git a/package-lock.json b/package-lock.json
iindex 0b8c4e9d..af4baf28 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -20,7 +20,7 @@
"iovalkey": "^0.4.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.265.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.267.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.74.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.67.0",
"pg": "^8.23.0",
@@@ -1595,9 +1595,9 @@
}
},
"node_modules/openvibe-contracts": {
-- "version": "0.265.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.265.0",
-- "integrity": "sha512-0KnKj1Rig6acZcv4U2uwaM2msarGUY36pNqFbqmKdLeOPPozf7haEDTam27A/WzSU9ii2yEZ6SnuusPPQoGZaA==",
++ "version": "0.267.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.267.0",
++ "integrity": "sha512-AoyZQuBztDzlLLkvHE+iV3o7aj4jPPw/JrE5LvUZSkPg0W4DOfGZvJ7zR3RqbuiMtwAlxp/q4iLS7yggJFY13w==",
"license": "AGPL-3.0-only",
"dependencies": {
"ajv": "^8.17.1",
ddiff --git a/package.json b/package.json
iindex 4a05c3d3..6ec9964c 100644
---- a/package.json
++++ b/package.json
@@@ -24,7 +24,7 @@
"iovalkey": "^0.4.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.265.0",
++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.267.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.74.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.67.0",
"pg": "^8.23.0",
ddiff --git a/server/identity/principals.js b/server/identity/principals.js
iindex e214acf7..dc824085 100644
---- a/server/identity/principals.js
++++ b/server/identity/principals.js
@@@ -134,6 +134,8 @@ const DEFAULT_GRANTS = [
// names them in X-OV-Subject, so the task is theirs (their allowance and list, Chat recorded as `via`), and reads the
// task it started for its answer (a delegated caller sees only the tasks it started).
['chat', 'actor.task.create', 'openvibe.actor', []],
++ // Vibe's "remind me…" (plan L48): Chat sets a person's own reminder on Today, naming them with X-OV-Subject.
++ ['chat', 'today.reminder.write', 'openvibe.today', []],
['chat', 'actor.task.read', 'openvibe.actor', []],
// Vibe sets up recurring work for the person it is talking with, in their own chat and after they agreed (Chat's
// set_up_agent and my_agents tools): one of their OpenVibe Agents, made and listed as them (X-OV-Subject).