openvibers/openvibe.fun Commits

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

OP OpenVibers committed 10 days ago · d41a49f1c8 · 6 files, +26 −16

* 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 e04ded8..71d8689 100644
---- a/README.md
++++ b/README.md
@@@ -235,6 +235,6 @@ AGPL-3.0-only. See [LICENSE](LICENSE).
<!-- versions:start -->
- openvibe-contracts: v0.236.0
- openvibe-sdk: v0.82.0
--- openvibe-shared: v4.107.4
++- openvibe-shared: v4.108.0
- openvibe-publishing: v1.5.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex cecfeea..ff20d69 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -10,11 +10,11 @@
"domain": "openvibe.fun",
"contracts": "openvibe-contracts v0.236.0",
"sdk": "openvibe-sdk v0.82.0",
-- "shared": "openvibe-shared v4.107.4",
++ "shared": "openvibe-shared v4.108.0",
"packages": [
"openvibe-contracts v0.236.0",
"openvibe-sdk v0.82.0",
-- "openvibe-shared v4.107.4"
++ "openvibe-shared v4.108.0"
],
"summary": "OpenVibe.Fun is the Fun room. A streamer opens an IRL quest board on their public Live channel, viewers suggest safe challenges and chat votes with !quest vote, the streamer accepts one and marks it live/completed, and the chat or a moderator verifies it; a local badge is paid and OpenCoins are credited only when the wallet is configured. The local guide reads OpenStreetMap (Nominatim/Overpass with a contact User-Agent, one request a second per host, a seven-day cache and a bounded around: query) and Ticketmaster only when a key is configured. Group plans have options, one vote each, a tie refused, and a winner the viewer can add to their own Today with their own token. No route needs a service token; Fun never posts to Chat or Live.",
"works": [
ddiff --git a/package-lock.json b/package-lock.json
iindex 2bdce77..d8b4e84 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.236.0",
"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.107.4",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
"pg": "^8.23.0"
},
"devDependencies": {
@@@ -1213,9 +1213,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 3b73191..531f9d0 100644
---- a/package.json
++++ b/package.json
@@@ -25,7 +25,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.236.0",
"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.107.4",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.108.0",
"pg": "^8.23.0"
},
"engines": {
ddiff --git a/server/http/discovery.js b/server/http/discovery.js
iindex 6608f1f..1acf4bc 100644
---- a/server/http/discovery.js
++++ b/server/http/discovery.js
@@@ -58,9 +58,13 @@ function createDiscoveryRoutes(ctx) {
+ `# Agent manifest: ${abs('/.well-known/agent.json')}\n`);
});
++ // Every one of Fun's own pages is linked at its Markdown twin (AGT-5; openvibe-shared 4.108.0 leaves files, /api/
++ // paths and other sites' links as they are). What an agent may skip for a shorter context is in `optional`, last.
r.get('/llms.txt', (_req, res) => {
res.type('text/plain').set('Cache-Control', TEXT).send(seo.llmsTxt({
name: SITE_NAME,
++ markdown: true,
++ base: site,
summary: 'OpenVibe.Fun is the room for something to do. IRL quests let a streamer\'s chat suggest safe real-world challenges, vote with !quest vote, and have the completion checked by chat or a moderator; the badge is paid locally and OpenCoins are loyalty points only when configured. The local guide answers "what\'s fun near me" from OpenStreetMap (Nominatim and Overpass, with a contact User-Agent, one request a second per host, a bounded radius and a seven-day cache) and Ticketmaster when a key is configured (off by default). Group plans have options, one vote per person, and a winner that the viewer can add to their own OpenVibe.Today with their own token.',
details: 'GET /api/v1/guide?q=&kind=&accessible=&rainy=&kids=&cheap= answers with places (ODbL, © OpenStreetMap contributors) and, only when configured, Ticketmaster events. GET /api/v1/quests lists public IRL quests; GET /api/v1/quests/:slug adds votes and checks. GET /api/v1/plans lists public plans; GET /api/v1/plans/:slug adds options and votes. Chat votes are read from the public OpenVibe.Chat history; Fun never posts. No route needs a service token, and the one outbound write to Today uses the signed-in person\'s own token.',
sections: [
@@@ -74,16 +78,17 @@ function createDiscoveryRoutes(ctx) {
{ title: 'Machine-readable', links: [
{ title: 'Public quests (JSON)', url: abs('/api/v1/quests') },
{ title: 'Public plans (JSON)', url: abs('/api/v1/plans') },
-- { title: 'Sitemap', url: abs('/sitemap.xml') },
-- { title: 'Full text for language models', url: abs('/llms-full.txt') },
{ title: 'Release metadata (JSON)', url: abs('/release.json') },
] },
-- { title: 'Elsewhere', links: [
-- { title: 'OpenVibe.Live', url: 'https://openvibe.live', note: 'the streamer and the chat' },
-- { title: 'OpenVibe.Chat', url: 'https://openvibe.chat', note: 'where !quest and !plan votes are typed' },
-- { title: 'OpenVibe.Today', url: 'https://openvibe.today', note: 'the plan goes to your own calendar' },
-- { title: 'OpenVibe.Network', url: 'https://openvibe.network', note: 'accounts and staff roles' },
-- ] },
++ ],
++ // llmstxt.org's "## Optional": what an agent may skip when it needs a shorter context.
++ optional: [
++ { title: 'Sitemap', url: abs('/sitemap.xml') },
++ { title: 'Full text for language models', url: abs('/llms-full.txt') },
++ { title: 'OpenVibe.Live', url: 'https://openvibe.live', note: 'the streamer and the chat' },
++ { title: 'OpenVibe.Chat', url: 'https://openvibe.chat', note: 'where !quest and !plan votes are typed' },
++ { title: 'OpenVibe.Today', url: 'https://openvibe.today', note: 'the plan goes to your own calendar' },
++ { title: 'OpenVibe.Network', url: 'https://openvibe.network', note: 'accounts and staff roles' },
],
}));
});
ddiff --git a/test/pages.test.js b/test/pages.test.js
iindex 5954098..e8a68f8 100644
---- a/test/pages.test.js
++++ b/test/pages.test.js
@@@ -140,6 +140,11 @@ function jsonLd(html) {
const llms = await t.get('/llms.txt');
assert.strictEqual(llms.status, 200);
assert.ok(llms.text.includes('OpenVibe.Fun'));
++ // AGT-5: each of Fun's own pages is linked at its Markdown twin, and the secondary links are Optional.
++ assert.match(llms.text, /\]\(https:\/\/openvibe\.fun\/index\.md\)/, 'the home link is its twin');
++ assert.match(llms.text, /\]\(https:\/\/openvibe\.fun\/quests\.md\)/);
++ assert.match(llms.text, /\n## Optional\n/);
++ assert.match(llms.text, /\]\(https:\/\/openvibe\.fun\/llms-full\.txt\)/, 'a file keeps its URL');
const full = await t.get('/llms-full.txt');
assert.strictEqual(full.status, 200);
assert.ok(full.text.includes('Find the best bench with a view'));