openvibers/openvibe.design Commits

openvibe-shared v4.114.0 (was v4.113.0) (#158)

OP OpenVibers committed 7 days ago · 8208af78c6 · 5 files, +10 −8

* openvibe-shared v4.114.0 (was v4.113.0)

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

* Add the Share part to the kit

openvibe-shared 4.114.0 adds kit.share, the one Share button that opens the
network's Share sheet, and the kit page lists every builder: give it a part.

Changes

ddiff --git a/README.md b/README.md
iindex a5b5530..869a938 100644
---- a/README.md
++++ b/README.md
@@@ -229,6 +229,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by
<!-- versions:start -->
- openvibe-contracts: v0.289.1
- openvibe-sdk: v0.82.0
--- openvibe-shared: v4.113.0
++- openvibe-shared: v4.114.0
- openvibe-publishing: v1.5.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex 8177fd3..21873a6 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -10,12 +10,12 @@
"domain": "openvibe.design",
"contracts": "openvibe-contracts v0.289.1",
"sdk": "openvibe-sdk v0.82.0",
-- "shared": "openvibe-shared v4.113.0",
++ "shared": "openvibe-shared v4.114.0",
"packages": [
"openvibe-contracts v0.289.1",
"openvibe-publishing v1.5.0",
"openvibe-sdk v0.82.0",
-- "openvibe-shared v4.113.0"
++ "openvibe-shared v4.114.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 a27a527..b431866 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -18,7 +18,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.5.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",
-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.113.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.114.0",
"pg": "^8.23.1",
"subset-font": "^2.9.0"
},
@@@ -1384,9 +1384,9 @@
}
},
"node_modules/openvibe-shared": {
-- "version": "4.113.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.113.0",
-- "integrity": "sha512-sYZ5bwT2YdBCDhckJEEhRUM+dgu35v5cvxAFAugMpxrPMbp31uvGgl+bNQYZsZZya65y+1pyRG44FHQyzgcTcA==",
++ "version": "4.114.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.114.0",
++ "integrity": "sha512-ch13CRI9xZNU/mW906kP1aouMju81O2Tmm6+OEteCQ5CCShP0yCFKSAuiXp8wUxzlHAXZ7i2vIRuetlXcJS3ng==",
"license": "MIT",
"dependencies": {
"jsonwebtoken": "^9.0.0",
ddiff --git a/package.json b/package.json
iindex a227299..7b82983 100644
---- a/package.json
++++ b/package.json
@@@ -24,7 +24,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.289.1",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.5.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.0",
-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.113.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.114.0",
"pg": "^8.23.1",
"subset-font": "^2.9.0"
},
ddiff --git a/server/kit/parts.js b/server/kit/parts.js
iindex cc9c41e..97b0852 100644
---- a/server/kit/parts.js
++++ b/server/kit/parts.js
@@@ -35,6 +35,8 @@ const PARTS = [
code: `kit.action({ action: '/s/night-owls/leave', icon: 'leave', label: 'Leave', kind: 'quiet', confirm: 'Leave Night owls?' })` },
{ id: 'more', fn: 'more', group: 'actions', name: 'More menu', line: 'The rest of a row\'s actions, behind one button. Dangerous ones confirm.', web: true,
code: `kit.more({ label: 'More', items: [{ href: '/r/night-owls/edit', label: 'Edit the room', icon: 'pencil' }, { href: '/r/night-owls/invite', label: 'Invite', icon: 'invite' }, { action: '/r/night-owls/delete', label: 'Delete the room', icon: 'trash', danger: true, confirm: 'Delete Night owls for everyone?' }] })` },
++ { id: 'share', fn: 'share', group: 'actions', name: 'Share', line: 'The one Share button: it opens the network\'s Share sheet, or copies the link where there is no sheet.', web: true,
++ code: `kit.share({ title: 'Night owls', url: '/r/night-owls' }) + kit.share({ title: 'Goosely is live', url: '/goosely', text: 'Come watch', small: true })` },
{ id: 'badge', fn: 'badge', group: 'actions', name: 'Badge', line: 'A word beside a title: live, new, a state. Five tones.',
code: `kit.badge('live', 'live') + kit.badge('new', 'accent') + kit.badge('paid', 'ok') + kit.badge('expiring', 'warn') + kit.badge('failed', 'bad')` },
{ id: 'dot', fn: 'dot', group: 'actions', name: 'Unread dot', line: 'How many are new. Nothing at zero; 9+ past nine.',