openvibers/openvibe.design Commits

openvibe-shared v4.87.0 (was v4.86.0) (#113)

OP OpenVibers committed 12 days ago · 6996ff310c · 5 files, +9 −8

* openvibe-shared v4.87.0 (was v4.86.0)

Opened by scripts/pin-bump.js in OpenVibers/OpenVibe.Shared after the v4.87.0 release.

* The kit page lists kit.mediaW (openvibe-shared 4.87.0)

Changes

ddiff --git a/README.md b/README.md
iindex f7ff9d2..b3516e3 100644
---- a/README.md
++++ b/README.md
@@@ -229,5 +229,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by
<!-- versions:start -->
- openvibe-contracts: v0.236.0
- openvibe-sdk: v0.74.0
--- openvibe-shared: v4.86.0
++- openvibe-shared: v4.87.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex 67a3345..2a6e082 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -10,11 +10,11 @@
"domain": "openvibe.design",
"contracts": "openvibe-contracts v0.236.0",
"sdk": "openvibe-sdk v0.74.0",
-- "shared": "openvibe-shared v4.86.0",
++ "shared": "openvibe-shared v4.87.0",
"packages": [
"openvibe-contracts v0.236.0",
"openvibe-sdk v0.74.0",
-- "openvibe-shared v4.86.0"
++ "openvibe-shared v4.87.0"
],
"summary": "The service skeleton for openvibe.design: Network sign-in as OAuth client `design` (PKCE S256, httpOnly design_at/design_rt cookies) and a theme API proxy to OpenVibe.Network's /api/themes. The proxy serves the public catalogue (cached 5 minutes), one theme, the person's active theme and custom variables, saving a theme with source 'studio', its history and a restore by id, and a submission to the gallery. Writes need this site's own Origin; Network 4xx answers pass through and a Network failure is 502. The studio is designed: a gallery, previews on a Live channel, a Chat room and a shop's grid (with colour-vision views), a six-colour editor that derives the full token set, WCAG checks that gate Use, sharing to the gallery, and History with Restore. The Arena queues one prompt for three models through OpenVibe.AI (client credentials, ai.run.create), stores sanitized HTML with reported model/provider/cost/time/tokens, renders it only in sandboxed CSP-capped iframes, draws blind pairs, records one vote per person per round, and keeps Elo ratings per category plus median cost and time. The prompts, outputs and votes are an open JSONL dataset; rounds and votes follow ADR-033 export and deletion.",
"works": [
ddiff --git a/package-lock.json b/package-lock.json
iindex 3ca38df..fb05c6b 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -17,7 +17,7 @@
"helmet": "^8.1.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.236.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.86.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.87.0",
"pg": "^8.23.1",
"subset-font": "^2.9.0"
},
@@@ -1365,9 +1365,9 @@
}
},
"node_modules/openvibe-shared": {
-- "version": "4.86.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.86.0",
-- "integrity": "sha512-i3wZaFwTiWlgOi/3pKmF/Mcvl7i9pOC2/MvI5qgOAbQw4GxfZ9Zh1h5sSS2W8WUF8lLoCFjnrpxlf53W1Rgvqw==",
++ "version": "4.87.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.87.0",
++ "integrity": "sha512-m+PM0SFlZOmeH0C/fKya49Lb2CYl7TfJ7hvsxGtBMrcQog+zCd93so3dwH0EF4BI9crpNkGoZOOe0L50Vn6U+g==",
"license": "MIT",
"dependencies": {
"jsonwebtoken": "^9.0.0",
ddiff --git a/package.json b/package.json
iindex 48e7bbd..ef62677 100644
---- a/package.json
++++ b/package.json
@@@ -23,7 +23,7 @@
"helmet": "^8.1.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.236.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.86.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.87.0",
"pg": "^8.23.1",
"subset-font": "^2.9.0"
},
ddiff --git a/server/kit/parts.js b/server/kit/parts.js
iindex cf3b0ef..7bf07a4 100644
---- a/server/kit/parts.js
++++ b/server/kit/parts.js
@@@ -134,6 +134,7 @@ const PARTS = [
const HELPERS = [
['kit.esc(text)', 'Escapes text for HTML. Every builder already does it for its text arguments.'],
['kit.url(href)', 'Keeps http(s) and same-site links; anything else becomes #.'],
++ ['kit.mediaW(url, width)', 'A Media picture at a width from its resize ladder (64, 96, 160, 320, 480, 640), so an avatar is not its full upload; any other URL as kit.url gives it.'],
['kit.icon(name)', 'One of kit.ICONS as inline SVG, in the text\'s colour. The full set is at /icons.'],
['kit.when(ts)', '{ iso, text }: 14:05 today, Yesterday, a weekday this week, Oct 20 this year, else the date.'],
['kit.hueOf(key)', 'The colour a mark wears for a name: the same name, the same hue, everywhere.'],