openvibers/openvibe.shared Commits

Bump README status and STATUS.json to 2.6.0 and document shell.page (#13)

OP OpenVibers committed 4 Oct 2026 · a0890a7ac0 · 2 files, +18 −2

checks run by GitHub CI (test) · CI ✓ 3/3 · review SHIP by DeepSeek harness

https://github.com/OpenVibers/OpenVibe.Shared/pull/13

Changes

ddiff --git a/README.md b/README.md
iindex f54142e..073369f 100644
---- a/README.md
++++ b/README.md
@@@ -2,7 +2,7 @@
> Versioned UI, the OpenVibe Frame (the navbar, footer and "shipped" views every site sits in), SEO, legal and release-client packages every OpenVibe site renders.
--**Status:** alpha, v2.5.0 (every release is a tag; see [CHANGELOG.md](CHANGELOG.md)). Every deployed
++**Status:** alpha, v2.6.0 (every release is a tag; see [CHANGELOG.md](CHANGELOG.md)). Every deployed
consumer installs a tagged release and none keeps a vendored copy
([docs/migration-plan.md](docs/migration-plan.md) is done); each repository's `package.json` names
the tag it pins.
@@@ -41,6 +41,22 @@ npm run create-site -- my-site
The command creates `./my-site` with a pinned Shared dependency, a small Express server,
discovery routes (`/robots.txt`, `/sitemap.xml`, `/llms.txt`, `/llms-full.txt`), and a smoke test. Set `SITE_URL` to the site's public origin before serving it.
++The generated server renders each page with `openvibe-shared/shell`, so the doctype, SEO head and the
++whole OpenVibe Frame come from one call instead of a hand-written layout:
++
++```js
++const shell = require('openvibe-shared/shell');
++res.type('html').send(shell.page({
++ name: 'example', title: 'Example', description: '…', canonical: 'https://example.com/',
++ summary: 'One line an AI can read',
++ body: '<main>…</main>',
++ features: { chat: { scripts: ['/js/chat.js'] } },
++ routes: [{ path: '^/chat', features: ['chat'] }],
++}));
++```
++
++See "The page shell" below for the rest of the options.
++
### Server side: pin a release tarball
```json
ddiff --git a/STATUS.json b/STATUS.json
iindex 286b61d..4297a3c 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -4,7 +4,7 @@
"code": true,
"wave": "W2",
"package": "openvibe-shared",
-- "version": "2.5.0",
++ "version": "2.6.0",
"plan": "OpenVibe End-to-End Realignment & Implementation Plan, revision 3 (20 Sep 2026)",
"deployed": false,
"deployment": "none of its own: a package released as git tags; OpenVibe.Network serves /shared/* from its pinned tag, and a site can serve its own pinned copy (openvibe-shared/serve)",