openvibers/openvibe.ai Commits

openvibe-shared v4.108.0 (was v4.107.4) (#286)

OP OpenVibers committed 10 days ago · bd36b59aea · 6 files, +37 −18

* openvibe-shared v4.108.0 (was v4.107.4)

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

* llms.txt links each page at its Markdown twin, with an ## Optional section (AGT-5)

Changes

ddiff --git a/README.md b/README.md
iindex 87cd726..68b9c9e 100644
---- a/README.md
++++ b/README.md
@@@ -57,7 +57,7 @@ owns publication truth: Wiki, Blog, News, Live, … decide what to publish.
- provider APIs configured by the operator (OpenAI-compatible, OpenAI Responses, Anthropic, the HTTP seam), whisper.cpp
and the local model server `openvibe-llm.service` on this host
- `openvibe-contracts` v0.252.0, `openvibe-sdk` v0.82.0 (service tokens, events outbox, redact),
-- `openvibe-shared` v4.107.4, pinned by release tarball
++ `openvibe-shared` v4.108.0, pinned by release tarball
## Capabilities
@@@ -755,5 +755,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
- openvibe-contracts: v0.262.0
- openvibe-sdk: v0.82.0
--- openvibe-shared: v4.107.4
++- openvibe-shared: v4.108.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex dfe23c2..4252ed5 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -9,7 +9,7 @@
"domain": "ai.openvibe.services (the old ai.openvibe.network address was retired on 2026-10-10); the service runs on openvibe-ovh (/opt/openvibe.ai, unit openvibe-ai) on 127.0.0.1:4700 behind nginx; OpenVibe.Live and OpenVibe.Network call it on loopback",
"contracts": "openvibe-contracts v0.262.0 (the ai.me.* schemas arrive in v0.257.0; the person routes also work without them until this pin moves)",
"sdk": "openvibe-sdk v0.82.0",
-- "shared": "openvibe-shared v4.107.4",
++ "shared": "openvibe-shared v4.108.0",
"capabilities": [
"ai.run.create",
"ai.run.read",
ddiff --git a/package-lock.json b/package-lock.json
iindex a124eda..4b63d97 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -15,7 +15,7 @@
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.262.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.107.4",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
"pg": "^8.23.0"
},
"devDependencies": {
@@@ -1584,9 +1584,9 @@
}
},
"node_modules/openvibe-shared": {
-- "version": "4.107.4",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.107.4",
-- "integrity": "sha512-tThN0m3KMncEHVcBOvE+ysHjsZTlVIDLG1P+/i2Mulmxfc/AUpebAXhpWWrut50OChZ8o+HeePxsSrPI8mUQOQ==",
++ "version": "4.108.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
++ "integrity": "sha512-NPzwjxpzGIpFpIm4uw3+VwHfsxbJ2+cD9yuhRzSwolSwqv2kCmwaVtHJ0DA9gKO3K8PCBfIP3UpKzpuSbYEJ+g==",
"license": "MIT",
"dependencies": {
"jsonwebtoken": "^9.0.0",
ddiff --git a/package.json b/package.json
iindex 45dce19..d0c3499 100644
---- a/package.json
++++ b/package.json
@@@ -27,7 +27,7 @@
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.262.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.107.4",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
"pg": "^8.23.0"
},
"optionalDependencies": {
ddiff --git a/server/home.js b/server/home.js
iindex 5462cef..12ba5cf 100644
---- a/server/home.js
++++ b/server/home.js
@@@ -409,18 +409,32 @@ function llmsFullTxt({ siteUrl }) {
});
}
++// llmstxt.org: the pages as links, each of this site's own at its Markdown twin (AGT-5, openvibe-shared 4.108.0's markdown
++// mode); the developer-app facts as plain lines; ## Optional last.
function llmsTxt({ siteUrl }) {
++ const head = seo.llmsTxt({
++ name: SITE_NAME,
++ summary: DESCRIPTION,
++ markdown: true,
++ base: siteUrl,
++ sections: [
++ { title: 'Start here', links: [
++ { title: 'Home', url: `${siteUrl}/` },
++ { title: 'Prices and measured latency per provider and model', url: `${siteUrl}/stats` },
++ { title: 'Developer guide (tokens, limits, billing, sandbox)', url: GUIDE },
++ { title: 'API reference (OpenAPI, generated from the contracts)', url: API_DOCS_URL },
++ { title: 'Create a project and an app', url: PROJECTS_URL },
++ ] },
++ ],
++ });
++ const optional = seo.llmsTxt({ name: '', sections: [], optional: [
++ { title: 'What shipped on OpenVibe.AI', url: `${siteUrl}/updates` },
++ { title: 'Source (AGPL-3.0)', url: SOURCE },
++ { title: 'Sitemap', url: `${siteUrl}/sitemap.xml` },
++ { title: 'Full text for language models', url: `${siteUrl}/llms-full.txt` },
++ ], markdown: true, base: siteUrl }).split('\n## Optional\n')[1];
return [
-- `# ${SITE_NAME}`,
-- '',
-- `> ${DESCRIPTION}`,
-- '',
-- `- Home: ${siteUrl}/`,
-- `- Prices and measured latency per provider and model: ${siteUrl}/stats`,
-- `- Developer guide (tokens, limits, billing, sandbox): ${GUIDE}`,
-- `- API reference (OpenAPI, generated from the contracts): ${API_DOCS_URL}`,
-- `- Create a project and an app: ${PROJECTS_URL}`,
-- `- Source (AGPL-3.0): ${SOURCE}`,
++ head.replace(/\n+$/, ''),
'',
'## Developer apps',
'',
@@@ -431,6 +445,7 @@ function llmsTxt({ siteUrl }) {
'- Every run response carries explain: the objective, the model selected and every candidate with its estimated cost, latency and excluded reason.',
'- Sandbox apps run on free and local capacity only; runs, usage and the free allowance are per project; a person\'s own provider key is never used for an app.',
'',
++ `## Optional\n${optional}`,
].join('\n');
}
ddiff --git a/test/home.test.js b/test/home.test.js
iindex 1e9619e..fc0ca88 100644
---- a/test/home.test.js
++++ b/test/home.test.js
@@@ -144,6 +144,10 @@ t.test('robots.txt, sitemap.xml and llms.txt name the public origin', async () =
assert.match(llms.headers.get('content-type'), /^text\/plain/);
assert.ok(llms.text.startsWith('# OpenVibe.AI'));
assert.ok(llms.text.includes(`${SITE}/stats`) && llms.text.includes(`POST ${SITE}/api/v1/chat`));
++ // AGT-5: the pages are links, each of this site's own at its Markdown twin; other sites keep theirs; Optional is last.
++ assert.ok(llms.text.includes(`[Home](${SITE}/index.md)`) && llms.text.includes(`(${SITE}/stats.md)`), llms.text.slice(0, 600));
++ assert.ok(llms.text.includes('(https://openvibe.services/docs/api)') && llms.text.includes(`(${SITE}/sitemap.xml)`));
++ assert.ok(llms.text.includes('\n## Optional\n') && llms.text.lastIndexOf('\n## ') === llms.text.indexOf('\n## Optional\n'), 'Optional is last');
const full = await request(h.base, 'GET', '/llms-full.txt');
assert.strictEqual(full.status, 200);
assert.match(full.headers.get('content-type'), /^text\/plain/);