openvibers/openvibe.work Commits

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

OP OpenVibers committed 10 days ago · 509f3bdfd3 · 7 files, +26 −20

* 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 3c97c72..705062e 100644
---- a/README.md
++++ b/README.md
@@@ -91,7 +91,7 @@ Its own PostgreSQL tables, created by [migrations/](migrations/) and written by
- **PostgreSQL** (`DATABASE_URL`, `DATABASE_DIRECT_URL`; an embedded PGlite database in development via
`WORK_PGLITE_DIR`) and **Valkey** for shared limit counters (`VALKEY_URL`, `VALKEY_PREFIX`).
- **Packages**: `openvibe-contracts` v0.222.0, `openvibe-sdk` v0.82.0 (`db`, `auth`, `account-data`, `limits`,
-- `valkey`, `service`) and `openvibe-shared` v4.107.4 (`frame`, `legal`, `serve`, `release`, `metrics`, `ready`,
++ `valkey`, `service`) and `openvibe-shared` v4.108.0 (`frame`, `legal`, `serve`, `release`, `metrics`, `ready`,
`seo`, `shell`, `cache-policy`, `showcase`, `app-icon`).
## Capabilities
@@@ -274,6 +274,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.4.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex 07626c0..3bdb9a7 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -9,11 +9,11 @@
"domain": "openvibe.work",
"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-contracts v0.222.0",
"openvibe-sdk v0.82.0",
-- "openvibe-shared v4.107.4",
++ "openvibe-shared v4.108.0",
"openvibe-publishing v1.4.0"
],
"summary": "OpenVibe.Work gathers job listings from three public job boards (Arbeitnow, Remotive, RemoteOK) under their terms — the source is named and the original listing is linked on every page, and only a short excerpt is kept. It searches them with facets, shows one listing with a schema.org JobPosting whose url is the original, and lets a signed-in person keep a search, see what is new since they last looked, get alerts through OpenVibe.Watch, track the jobs they apply to with a status history, and ask their OpenVibe.Actor agent to help prepare an application. Public reads need no token.",
ddiff --git a/package-lock.json b/package-lock.json
iindex e8d636b..1e7a722 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.222.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.4.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": {
@@@ -1209,9 +1209,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 d3412ca..60b7d40 100644
---- a/package.json
++++ b/package.json
@@@ -26,7 +26,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.4.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 21df58d..e5d78d7 100644
---- a/server/http/discovery.js
++++ b/server/http/discovery.js
@@@ -76,26 +76,29 @@ function createDiscoveryRoutes(ctx) {
res.type('text/plain').set('Cache-Control', TEXT).send(seo.llmsTxt({
name: SITE_NAME,
summary: DESCRIPTION,
++ // AGT-5: own pages link their Markdown twins (openvibe-shared 4.108.0); ## Optional is what an agent may skip.
++ markdown: true,
++ base: site,
details: 'Every page is server-rendered and readable without JavaScript. Listings come from public job boards under their terms: the source is named and the original listing is linked; only a short excerpt is kept here.',
sections: [
{ title: 'Start here', links: [
{ title: 'OpenVibe.Work', url: abs('/'), note: 'Find work on open job boards.' },
{ title: 'Search the listings', url: abs('/jobs'), note: 'Filter by words, workplace, job type and location.' },
{ title: 'Where the listings come from', url: abs('/sources'), note: `${sources.SOURCES.map((x) => x.name).join(', ')}, with the terms each is used under.` },
-- { title: 'What shipped on OpenVibe.Work', url: abs('/updates') },
] },
{ title: 'For machines', links: [
{ title: 'The API', url: abs('/docs'), note: 'GET /api/v1/jobs, /jobs/:id, /sources — public.' },
{ title: 'The API, live', url: abs('/api/v1/jobs'), note: 'JSON listings with their source and the original URL.' },
-- { 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.Network', url: 'https://openvibe.network', note: 'accounts, apps and grants' },
-- { title: 'OpenVibe.Services', url: 'https://openvibe.services', note: 'apps, keys and capability grants' },
] },
],
++ optional: [
++ { title: 'What shipped on OpenVibe.Work', url: abs('/updates') },
++ { 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: 'OpenVibe.Network', url: 'https://openvibe.network', note: 'accounts, apps and grants' },
++ { title: 'OpenVibe.Services', url: 'https://openvibe.services', note: 'apps, keys and capability grants' },
++ ],
}));
});
ddiff --git a/test/discovery.test.js b/test/discovery.test.js
iindex 8164bef..c011a02 100644
---- a/test/discovery.test.js
++++ b/test/discovery.test.js
@@@ -48,7 +48,10 @@ const PRIVATE = ['/auth/', '/api/'];
assert.match(r.headers.get('content-type'), /^text\/plain/);
assert.match(r.headers.get('cache-control') || '', /public, max-age=\d+/);
assert.ok(r.text.startsWith('# OpenVibe.Work'), 'no title');
-- assert.ok(r.text.includes('(https://openvibe.work/updates)'), 'no updates link');
++ // AGT-5: own pages are linked at their Markdown twins; ## Optional is last.
++ assert.ok(r.text.includes('(https://openvibe.work/updates.md)'), 'no updates link');
++ assert.ok(r.text.includes('(https://openvibe.work/index.md)') && r.text.includes('(https://openvibe.work/api/v1/jobs)'), 'the home at its twin, the API as it is');
++ assert.ok(r.text.includes('\n## Optional\n') && r.text.lastIndexOf('\n## ') === r.text.indexOf('\n## Optional\n'), 'Optional is last');
assert.ok(r.text.includes('(https://openvibe.services)'), 'no pointer to the developer platform');
assert.ok(r.text.includes('https://openvibe.work/sitemap.xml'), 'sitemap not listed');
assert.ok(r.text.includes('(https://openvibe.work/llms-full.txt)'), 'llms-full.txt not listed');
ddiff --git a/test/jobs.test.js b/test/jobs.test.js
iindex eb3cf04..11a0f75 100644
---- a/test/jobs.test.js
++++ b/test/jobs.test.js
@@@ -213,8 +213,8 @@ const first = async (t, path) => (await t.get(path)).json();
await check('llms.txt sends a crawler to the listings and the sources, and robots keeps /saved out', async () => {
const llms = (await t.get('/llms.txt')).text;
-- assert.ok(llms.includes('(https://openvibe.work/jobs)'));
-- assert.ok(llms.includes('(https://openvibe.work/sources)'));
++ assert.ok(llms.includes('(https://openvibe.work/jobs.md)'));
++ assert.ok(llms.includes('(https://openvibe.work/sources.md)'));
assert.ok(llms.includes('Arbeitnow, We Work Remotely, Hacker News: Who is hiring, Remotive, RemoteOK'), 'the sources are not named for a crawler');
assert.ok(!llms.includes('/saved'), 'llms.txt names a private page');
const robots = (await t.get('/robots.txt')).text;