openvibers/openvibe.wiki Commits
openvibe-shared v4.108.0 (was v4.107.4) (#210)
Changes
@@@ -316,7 +316,7 @@ Production: `/opt/openvibe.wiki`, env `/etc/openvibe/wiki.env`, unit- PostgreSQL 18 and Valkey 9 (OpenVibe.Host `roles/data/`, ADR-035): every read and write is async through`openvibe-sdk/db`; Valkey holds the per-actor limit counters (optional: without `VALKEY_URL` they count per process).- `openvibe-publishing` v1.3.0 (async PostgreSQL stores, ingest and publication chassis), `openvibe-contracts`-- v0.107.0, `openvibe-shared` v4.107.4++ v0.107.0, `openvibe-shared` v4.108.0(Frame, release, metrics, readiness, SEO helpers, legal pages), `openvibe-sdk` v0.82.0 (db, auth, PostgreSQLevents outbox, per-actor limits, account export and deletion, testing) — pinned release tarballs.- OpenVibe.Network (SSO, JWKS, service principal `wiki`), OpenVibe.Events, OpenVibe.Community,@@@ -446,6 +446,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [<!-- versions:start -->- openvibe-contracts: v0.222.0- openvibe-sdk: v0.82.0--- openvibe-shared: v4.107.4++- openvibe-shared: v4.108.0- openvibe-publishing: v1.3.0<!-- versions:end -->@@@ -9,10 +9,10 @@"domain": "openvibe.wiki","contracts": "openvibe-contracts v0.222.0","sdk": "openvibe-sdk v0.82.0",-- "shared": "openvibe-shared v4.107.4",++ "shared": "openvibe-shared v4.108.0","packages": ["openvibe-publishing v1.3.0",-- "openvibe-shared v4.107.4",++ "openvibe-shared v4.108.0","openvibe-sdk v0.82.0"],"capabilities": [@@@ -17,7 +17,7 @@"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.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": {@@@ -1196,9 +1196,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",@@@ -28,7 +28,7 @@"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.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"},"engines": {@@@ -155,16 +155,20 @@ function createMachine({ svc, config }) {setCache(res, 3600).type('text/plain').send(sharedSeo.llmsTxt({name: 'OpenVibe.Wiki',summary: AI_SUMMARY,++ // AGT-5: own pages link their Markdown twins (openvibe-shared 4.108.0); ## Optional is what an agent may skip.++ markdown: true,++ base: origin,details: 'Every public page has a JSON representation at the same address plus ".json" (same content, same visibility rules). Revision history and diffs are public for public pages. AI-generated revisions are labelled and are published only after a person approves them.',sections: [{ title: 'Spaces', links: spaces.map((s) => ({ title: s.name, url: `${origin}${svc.spacePath(s)}`, note: s.description || '' })) },-- { title: 'Machine-readable', links: [-- { title: 'Sitemap', url: `${origin}/sitemap.xml` },-- { title: 'Recent changes (Atom)', url: `${origin}/feed.atom` },-- { title: 'Recent changes (JSON Feed)', url: `${origin}/feed.json` },-- ] },{ title: 'API', links: [{ title: 'OpenAPI 3.1 document', url: `${origin}/openapi.json`, note: 'every /api/v1 route, with its fields' }] },],++ optional: [++ { title: 'Sitemap', url: `${origin}/sitemap.xml` },++ { title: 'Recent changes (Atom)', url: `${origin}/feed.atom` },++ { title: 'Recent changes (JSON Feed)', url: `${origin}/feed.json` },++ { title: 'Full text for language models', url: `${origin}/llms-full.txt` },++ ],}));}));@@@ -90,7 +90,12 @@ async function lastIndexEvent(h, pageId) {assert.ok(!(await H.req(h, 'GET', '/sitemaps/pages-1.xml')).text.includes('open-page'));assert.ok(!(await H.req(h, 'GET', '/feed.atom')).text.includes('open-page'));assert.ok(!(await H.req(h, 'GET', '/feed.json')).text.includes('open-page'));-- assert.ok(!(await H.req(h, 'GET', '/llms.txt')).text.includes('open-page'));++ const llms = (await H.req(h, 'GET', '/llms.txt')).text;++ assert.ok(!llms.includes('open-page'));++ // AGT-5: a wiki is linked at its Markdown twin, the feeds keep their URL, ## Optional is last.++ assert.ok(/\]\(https?:\/\/[^)]*\/s\/notes\.md\)/.test(llms), llms.slice(0, 900));++ assert.ok(/\(https?:\/\/[^)]*\/feed\.atom\)/.test(llms));++ assert.ok(llms.includes('\n## Optional\n') && llms.lastIndexOf('\n## ') === llms.indexOf('\n## Optional\n'), 'Optional is last');assert.ok(!(await H.req(h, 'GET', '/llms-full.txt')).text.includes('open-page'), 'a private page leaves the AI map too');r = await H.req(h, 'GET', '/w/notes/open-page');assert.strictEqual(r.status, 404);
@@ -316,7 +316,7 @@ Production: `/opt/openvibe.wiki`, env `/etc/openvibe/wiki.env`, unit
@@ -316,7 +316,7 @@ Production: `/opt/openvibe.wiki`, env `/etc/openvibe/wiki.env`, unit
- PostgreSQL 18 and Valkey 9 (OpenVibe.Host `roles/data/`, ADR-035): every read and write is async through
- PostgreSQL 18 and Valkey 9 (OpenVibe.Host `roles/data/`, ADR-035): every read and write is async through
`openvibe-sdk/db`; Valkey holds the per-actor limit counters (optional: without `VALKEY_URL` they count per process).
`openvibe-sdk/db`; Valkey holds the per-actor limit counters (optional: without `VALKEY_URL` they count per process).
- `openvibe-publishing` v1.3.0 (async PostgreSQL stores, ingest and publication chassis), `openvibe-contracts`
- `openvibe-publishing` v1.3.0 (async PostgreSQL stores, ingest and publication chassis), `openvibe-contracts`
- v0.107.0, `openvibe-shared` v4.107.4
+ v0.107.0, `openvibe-shared` v4.108.0
(Frame, release, metrics, readiness, SEO helpers, legal pages), `openvibe-sdk` v0.82.0 (db, auth, PostgreSQL
(Frame, release, metrics, readiness, SEO helpers, legal pages), `openvibe-sdk` v0.82.0 (db, auth, PostgreSQL
events outbox, per-actor limits, account export and deletion, testing) — pinned release tarballs.
events outbox, per-actor limits, account export and deletion, testing) — pinned release tarballs.
- OpenVibe.Network (SSO, JWKS, service principal `wiki`), OpenVibe.Events, OpenVibe.Community,
- OpenVibe.Network (SSO, JWKS, service principal `wiki`), OpenVibe.Events, OpenVibe.Community,
@@ -446,6 +446,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
@@ -446,6 +446,6 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.222.0
- openvibe-contracts: v0.222.0
- openvibe-sdk: v0.82.0
- openvibe-sdk: v0.82.0
-- openvibe-shared: v4.107.4
+- openvibe-shared: v4.108.0
- openvibe-publishing: v1.3.0
- openvibe-publishing: v1.3.0
<!-- versions:end -->
<!-- versions:end -->
@@ -9,10 +9,10 @@
@@ -9,10 +9,10 @@
"domain": "openvibe.wiki",
"domain": "openvibe.wiki",
"contracts": "openvibe-contracts v0.222.0",
"contracts": "openvibe-contracts v0.222.0",
"sdk": "openvibe-sdk v0.82.0",
"sdk": "openvibe-sdk v0.82.0",
- "shared": "openvibe-shared v4.107.4",
+ "shared": "openvibe-shared v4.108.0",
"packages": [
"packages": [
"openvibe-publishing v1.3.0",
"openvibe-publishing v1.3.0",
- "openvibe-shared v4.107.4",
+ "openvibe-shared v4.108.0",
"openvibe-sdk v0.82.0"
"openvibe-sdk v0.82.0"
],
],
"capabilities": [
"capabilities": [
@@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.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"
"pg": "^8.23.0"
},
},
"devDependencies": {
"devDependencies": {
@@ -1196,9 +1196,9 @@
@@ -1196,9 +1196,9 @@
}
}
},
},
"node_modules/openvibe-shared": {
"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",
"license": "MIT",
"dependencies": {
"dependencies": {
"jsonwebtoken": "^9.0.0",
"jsonwebtoken": "^9.0.0",
@@ -28,7 +28,7 @@
@@ -28,7 +28,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.3.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.82.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"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -155,16 +155,20 @@ function createMachine({ svc, config }) {
@@ -155,16 +155,20 @@ function createMachine({ svc, config }) {
setCache(res, 3600).type('text/plain').send(sharedSeo.llmsTxt({
setCache(res, 3600).type('text/plain').send(sharedSeo.llmsTxt({
name: 'OpenVibe.Wiki',
name: 'OpenVibe.Wiki',
summary: AI_SUMMARY,
summary: AI_SUMMARY,
+ // AGT-5: own pages link their Markdown twins (openvibe-shared 4.108.0); ## Optional is what an agent may skip.
+ markdown: true,
+ base: origin,
details: 'Every public page has a JSON representation at the same address plus ".json" (same content, same visibility rules). Revision history and diffs are public for public pages. AI-generated revisions are labelled and are published only after a person approves them.',
details: 'Every public page has a JSON representation at the same address plus ".json" (same content, same visibility rules). Revision history and diffs are public for public pages. AI-generated revisions are labelled and are published only after a person approves them.',
sections: [
sections: [
{ title: 'Spaces', links: spaces.map((s) => ({ title: s.name, url: `${origin}${svc.spacePath(s)}`, note: s.description || '' })) },
{ title: 'Spaces', links: spaces.map((s) => ({ title: s.name, url: `${origin}${svc.spacePath(s)}`, note: s.description || '' })) },
- { title: 'Machine-readable', links: [
- { title: 'Sitemap', url: `${origin}/sitemap.xml` },
- { title: 'Recent changes (Atom)', url: `${origin}/feed.atom` },
- { title: 'Recent changes (JSON Feed)', url: `${origin}/feed.json` },
- ] },
{ title: 'API', links: [{ title: 'OpenAPI 3.1 document', url: `${origin}/openapi.json`, note: 'every /api/v1 route, with its fields' }] },
{ title: 'API', links: [{ title: 'OpenAPI 3.1 document', url: `${origin}/openapi.json`, note: 'every /api/v1 route, with its fields' }] },
],
],
+ optional: [
+ { title: 'Sitemap', url: `${origin}/sitemap.xml` },
+ { title: 'Recent changes (Atom)', url: `${origin}/feed.atom` },
+ { title: 'Recent changes (JSON Feed)', url: `${origin}/feed.json` },
+ { title: 'Full text for language models', url: `${origin}/llms-full.txt` },
+ ],
}));
}));
}));
}));
@@ -90,7 +90,12 @@ async function lastIndexEvent(h, pageId) {
@@ -90,7 +90,12 @@ async function lastIndexEvent(h, pageId) {
assert.ok(!(await H.req(h, 'GET', '/sitemaps/pages-1.xml')).text.includes('open-page'));
assert.ok(!(await H.req(h, 'GET', '/sitemaps/pages-1.xml')).text.includes('open-page'));
assert.ok(!(await H.req(h, 'GET', '/feed.atom')).text.includes('open-page'));
assert.ok(!(await H.req(h, 'GET', '/feed.atom')).text.includes('open-page'));
assert.ok(!(await H.req(h, 'GET', '/feed.json')).text.includes('open-page'));
assert.ok(!(await H.req(h, 'GET', '/feed.json')).text.includes('open-page'));
- assert.ok(!(await H.req(h, 'GET', '/llms.txt')).text.includes('open-page'));
+ const llms = (await H.req(h, 'GET', '/llms.txt')).text;
+ assert.ok(!llms.includes('open-page'));
+ // AGT-5: a wiki is linked at its Markdown twin, the feeds keep their URL, ## Optional is last.
+ assert.ok(/\]\(https?:\/\/[^)]*\/s\/notes\.md\)/.test(llms), llms.slice(0, 900));
+ assert.ok(/\(https?:\/\/[^)]*\/feed\.atom\)/.test(llms));
+ assert.ok(llms.includes('\n## Optional\n') && llms.lastIndexOf('\n## ') === llms.indexOf('\n## Optional\n'), 'Optional is last');
assert.ok(!(await H.req(h, 'GET', '/llms-full.txt')).text.includes('open-page'), 'a private page leaves the AI map too');
assert.ok(!(await H.req(h, 'GET', '/llms-full.txt')).text.includes('open-page'), 'a private page leaves the AI map too');
r = await H.req(h, 'GET', '/w/notes/open-page');
r = await H.req(h, 'GET', '/w/notes/open-page');
assert.strictEqual(r.status, 404);
assert.strictEqual(r.status, 404);