@opennodes/registry 0.1.47 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/data/locations-ca.json +1 -1
- package/src/data/locations-eu.json +26 -0
- package/src/data/locations-world.json +2 -1
- package/src/locations.js +44 -0
- package/src/server.js +3 -1
- package/src/web/index.html +10 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opennodes/registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.49",
|
|
4
4
|
"description": "OpenNodes (ONP) reference registry: node registration with proof-of-resource qualification (Stage A/B/C), transparent ranking, enforceable estimates, catalog importers (OpenRouter, Hugging Face, models.dev, Ollama), MCP surface, and the web app (catalog, chat, advisor, Node Builder)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
],
|
|
155
155
|
"operator": { "name": "Bell Canada", "country": "CA" },
|
|
156
156
|
"sites": [
|
|
157
|
-
{ "id": "kamloops", "region": "CA-BC", "site": "Kamloops", "status": "live", "basis": "claimed", "facility_operator": "Groq", "source": "https://groq.com/
|
|
157
|
+
{ "id": "kamloops", "region": "CA-BC", "site": "Kamloops", "status": "live", "basis": "claimed", "facility_operator": "Groq", "source": "https://groq.com/newsroom/groq-becomes-exclusive-inference-provider-for-bell-canadas-sovereign-ai-network", "checked": "2026-11-02", "note": "Groq inference site. Announced 28 May 2025 as a 7 MW Groq facility \"coming online in June\"; neither Groq nor Bell has confirmed the opening since, and a third-party directory lists it as operational.", "geo": { "lat": 50.6745, "lon": -120.3273, "precision": "city" } },
|
|
158
158
|
{ "id": "merritt", "region": "CA-BC", "site": "Merritt", "status": "planned", "basis": "claimed", "facility_operator": "BUZZ HPC, Hypertec", "note": "For Cohere; expected late 2026 to early 2027 (news report)", "geo": { "lat": 50.1113, "lon": -120.7862, "precision": "city" } }
|
|
159
159
|
],
|
|
160
160
|
"models": [],
|
|
@@ -592,6 +592,32 @@
|
|
|
592
592
|
],
|
|
593
593
|
"models": [],
|
|
594
594
|
"models_note": "GPU capacity (about 10,000 NVIDIA Blackwell GPUs, with data-centre partner Polarise); no public list of models served there. Telekom's hosted models are listed under T-Systems AI Foundation Services."
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"id": "opennodes-demo",
|
|
598
|
+
"name": "OpenNodes demo node",
|
|
599
|
+
"nodes": ["io.opennodes.demo-node"],
|
|
600
|
+
"models_note": "Reference node: one small CPU-only model. Listed for where it runs, not offered in region search or recommendations.",
|
|
601
|
+
"operator": { "name": "OpenNodes Project", "country": "DE", "url": "https://opennodes.io" },
|
|
602
|
+
"sites": [
|
|
603
|
+
{ "id": "nur", "region": "DE-BY", "site": "Nuremberg", "status": "live", "basis": "claimed", "facility_operator": "Hetzner", "source": "https://demo-node.opennodes.io/.well-known/open-node.json", "checked": "2026-11-04", "note": "Stated in the node's own card description (Hetzner CPX22 VM).", "geo": { "lat": 49.4521, "lon": 11.0767, "precision": "city" } }
|
|
604
|
+
],
|
|
605
|
+
"residency": [
|
|
606
|
+
{ "commitment": "unstated", "scope": [], "availability": "default", "statement": "The card declares no retention and no training on inputs, but makes no promise about where data stays.", "source": "https://demo-node.opennodes.io/.well-known/open-node.json", "checked": "2026-11-04" }
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"id": "opennodes-helsinki",
|
|
611
|
+
"name": "OpenNodes reference node (Helsinki)",
|
|
612
|
+
"nodes": ["io.opennodes.helsinki"],
|
|
613
|
+
"models_note": "Reference node: one small CPU-only model. Listed for where it runs, not offered in region search or recommendations.",
|
|
614
|
+
"operator": { "name": "OpenNodes Project", "country": "FI", "url": "https://opennodes.io" },
|
|
615
|
+
"sites": [
|
|
616
|
+
{ "id": "hel", "region": "FI-18", "site": "Helsinki", "status": "live", "basis": "claimed", "facility_operator": "Hetzner", "source": "https://helsinki.opennodes.io/.well-known/open-node.json", "checked": "2026-11-04", "note": "Stated in the node's own card description (Hetzner CPX22 VM).", "geo": { "lat": 60.1699, "lon": 24.9384, "precision": "city" } }
|
|
617
|
+
],
|
|
618
|
+
"residency": [
|
|
619
|
+
{ "commitment": "unstated", "scope": [], "availability": "default", "statement": "The card declares no retention and no training on inputs, but makes no promise about where data stays.", "source": "https://helsinki.opennodes.io/.well-known/open-node.json", "checked": "2026-11-04" }
|
|
620
|
+
]
|
|
595
621
|
}
|
|
596
622
|
]
|
|
597
623
|
}
|
|
@@ -1220,7 +1220,8 @@
|
|
|
1220
1220
|
{ "id": "dal", "region": "US-TX", "site": "Dallas (Equinix)", "status": "live", "basis": "documented", "facility_operator": "Equinix", "source": "https://groq.com/newsroom/groq-becomes-exclusive-inference-provider-for-bell-canadas-sovereign-ai-network", "checked": "2026-11-03", "geo": { "lat": 32.7767, "lon": -96.797, "precision": "city" } },
|
|
1221
1221
|
{ "id": "hou", "region": "US-TX", "site": "Houston (DataBank)", "status": "live", "basis": "documented", "facility_operator": "DataBank", "source": "https://groq.com/newsroom/groq-becomes-exclusive-inference-provider-for-bell-canadas-sovereign-ai-network", "checked": "2026-11-03", "geo": { "lat": 29.7604, "lon": -95.3698, "precision": "city" } },
|
|
1222
1222
|
{ "id": "dmm", "region": "SA-04", "site": "Dammam", "status": "live", "basis": "documented", "facility_operator": "Aramco Digital", "source": "https://groq.com/saudi-arabia-announces-1-5-billion-expansion-to-fuel-ai-powered-economy-with-groq", "checked": "2026-11-03", "note": "GroqCloud region opened Feb 2025 with Aramco Digital; also serves HUMAIN", "geo": { "lat": 26.4207, "lon": 50.0888, "precision": "city" } },
|
|
1223
|
-
{ "id": "syd", "region": "AU-NSW", "site": "Sydney (Equinix)", "status": "live", "basis": "documented", "facility_operator": "Equinix", "source": "https://groq.com/newsroom/groq-expands-to-asia-pacific-with-sydney-data-center-to-power-the-next-generation-of-ai-inference", "checked": "2026-11-03", "note": "4.5 MW, announced 17 Nov 2025; press names Equinix SY5 (not confirmed by Groq)", "geo": { "lat": -33.8688, "lon": 151.2093, "precision": "city" } }
|
|
1223
|
+
{ "id": "syd", "region": "AU-NSW", "site": "Sydney (Equinix)", "status": "live", "basis": "documented", "facility_operator": "Equinix", "source": "https://groq.com/newsroom/groq-expands-to-asia-pacific-with-sydney-data-center-to-power-the-next-generation-of-ai-inference", "checked": "2026-11-03", "note": "4.5 MW, announced 17 Nov 2025; press names Equinix SY5 (not confirmed by Groq)", "geo": { "lat": -33.8688, "lon": 151.2093, "precision": "city" } },
|
|
1224
|
+
{ "id": "kam", "region": "CA-BC", "site": "Kamloops", "status": "live", "basis": "claimed", "facility_operator": "Groq", "source": "https://groq.com/newsroom/groq-becomes-exclusive-inference-provider-for-bell-canadas-sovereign-ai-network", "checked": "2026-11-04", "note": "Same facility as Bell AI Fabric Kamloops. Announced 28 May 2025 as a 7 MW Groq facility \"coming online in June\"; neither Groq nor Bell has confirmed the opening since, and a third-party directory lists it as operational.", "geo": { "lat": 50.6745, "lon": -120.3273, "precision": "city" } }
|
|
1224
1225
|
],
|
|
1225
1226
|
"models_note": "Groq does not say which models are served from which site.",
|
|
1226
1227
|
"residency": [
|
package/src/locations.js
CHANGED
|
@@ -47,6 +47,50 @@ export function seedPlacements(seeds) {
|
|
|
47
47
|
return out;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* What the seeds know about each node, for the directory (`/v0/nodes`): its entry's kind and the
|
|
52
|
+
* sites of that entry and the entries linked to it with `residency_of` or `serves_from`, which
|
|
53
|
+
* describe the same provider. A provider-level answer: it does not say which model runs where.
|
|
54
|
+
*/
|
|
55
|
+
export function seedNodeSites(seeds) {
|
|
56
|
+
const index = seedIndex(seeds);
|
|
57
|
+
const hubOf = (key) => (index.has(index.get(key)?.p.residency_of) ? index.get(key).p.residency_of : key);
|
|
58
|
+
const family = new Map(); // hub key -> sites
|
|
59
|
+
for (const [key, { p }] of index) family.set(hubOf(key), [...(family.get(hubOf(key)) ?? []), ...(p.sites ?? [])]);
|
|
60
|
+
const out = new Map(); // node id -> { kind, sites }
|
|
61
|
+
for (const [key, { seed, p }] of index) {
|
|
62
|
+
const sites = [...(family.get(hubOf(key)) ?? []), ...(family.get(hubOf(p.serves_from)) ?? [])];
|
|
63
|
+
for (const id of p.models?.length ? [`import.seed.${seed.seed}.${p.id}`] : p.nodes ?? []) {
|
|
64
|
+
const known = out.get(id);
|
|
65
|
+
out.set(id, { kind: known?.kind ?? p.kind ?? null, sites: [...new Set([...(known?.sites ?? []), ...sites])] });
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return out;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const LOOPBACK = /^https?:\/\/(127\.|localhost[:/]|\[::1\])/;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Where a node serves from, for the directory: the countries its card declares, else those of
|
|
75
|
+
* its seed sites (`seed` from seedNodeSites). With neither, `label` says why: local (seed kind, or
|
|
76
|
+
* a loopback endpoint with no seed entry: a client-side proxy can look the same), router, not_published (researched, nothing public), not_declared
|
|
77
|
+
* (registered card), unknown.
|
|
78
|
+
*/
|
|
79
|
+
export function nodeServes(node, card, seed) {
|
|
80
|
+
const countries = (locs) => [...new Set(locs.map((l) => countryOf(l.region)))].sort();
|
|
81
|
+
const locs = [...(card?.node?.locations ?? []), ...(card?.offerings ?? []).flatMap((o) => o.locations ?? [])];
|
|
82
|
+
const declared = [...locs, ...(card?.node?.regions ?? []).map((region) => ({ region }))];
|
|
83
|
+
const from = declared.length ? declared : seed?.sites ?? [];
|
|
84
|
+
const live = (l) => (l.status ?? 'live') === 'live';
|
|
85
|
+
const places = countries(from.filter(live));
|
|
86
|
+
const planned = countries(from.filter((l) => !live(l))).filter((c) => !places.includes(c));
|
|
87
|
+
const label = places.length || planned.length ? null
|
|
88
|
+
: seed?.kind === 'local' || (!seed && LOOPBACK.test(card?.endpoints?.openai ?? '')) ? 'local'
|
|
89
|
+
: seed?.kind === 'router' ? 'router'
|
|
90
|
+
: seed ? 'not_published' : node.source === 'import' ? 'unknown' : 'not_declared';
|
|
91
|
+
return { places, planned, source: !from.length ? null : declared.length ? 'card' : 'seed', label };
|
|
92
|
+
}
|
|
93
|
+
|
|
50
94
|
/** Visible nodes with their latest cards. */
|
|
51
95
|
async function listedCards(store) {
|
|
52
96
|
const cards = [];
|
package/src/server.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
importOpenRouterProviders, fetchOpenRouterEndpoints, importLocationSeed,
|
|
28
28
|
HF_ROUTER_URL, HF_HUB_URL, OPENROUTER_URL, OPENROUTER_PROVIDERS_URL, OLLAMA_LIBRARY_URL,
|
|
29
29
|
} from './importers.js';
|
|
30
|
-
import { locationRoutes, loadLocationSeeds, seedPlacements } from './locations.js';
|
|
30
|
+
import { locationRoutes, loadLocationSeeds, seedPlacements, seedNodeSites, nodeServes } from './locations.js';
|
|
31
31
|
|
|
32
32
|
/** Default basemap. OSM's tile policy asks for attribution and light use; busy registries set their own. */
|
|
33
33
|
export const OSM_TILES = {
|
|
@@ -317,6 +317,7 @@ export async function startRegistry({
|
|
|
317
317
|
// Node directory: every listed node with tier, source, offering count, availability.
|
|
318
318
|
['GET', '/v0/nodes', async (req, res) => {
|
|
319
319
|
const out = [];
|
|
320
|
+
const known = seedNodeSites(seeds);
|
|
320
321
|
for (const node of await store.allNodes()) {
|
|
321
322
|
if (['delisted', 'claimed'].includes(node.state)) continue;
|
|
322
323
|
const card = await store.latestCard(node.id);
|
|
@@ -333,6 +334,7 @@ export async function startRegistry({
|
|
|
333
334
|
country: card?.node?.operator?.country ?? null,
|
|
334
335
|
regions: card?.node?.regions ?? [],
|
|
335
336
|
locations: card?.node?.locations ?? [],
|
|
337
|
+
serves: nodeServes(node, card, known.get(node.id)),
|
|
336
338
|
offerings: card?.offerings?.length ?? 0,
|
|
337
339
|
availability,
|
|
338
340
|
});
|
package/src/web/index.html
CHANGED
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
<!-- ================= NODES ================= -->
|
|
413
413
|
<div id="view-nodes" hidden>
|
|
414
414
|
<div style="display:flex; align-items:baseline; gap:0.9rem"><h1>Nodes</h1><span class="counts" id="n-counts"></span></div>
|
|
415
|
-
<p class="sub">The supply side, first-class: every provider serving through OpenNodes, with the trust tier it has earned. <b>Verified</b> means identity-fingerprinted, context-verified, capacity-measured, and continuously probed — <a href="#/qualification">the qualification procedure</a> is automated and the same for everyone.</p>
|
|
415
|
+
<p class="sub">The supply side, first-class: every provider serving through OpenNodes, with the trust tier it has earned. <b>Verified</b> means identity-fingerprinted, context-verified, capacity-measured, and continuously probed — <a href="#/qualification">the qualification procedure</a> is automated and the same for everyone. <b>Region</b> lists the countries where a provider has known sites, not where each of its models runs: <a href="#/where">the map</a> has that detail.</p>
|
|
416
416
|
<div class="panel tablewrap" id="n-table"></div>
|
|
417
417
|
</div>
|
|
418
418
|
|
|
@@ -2251,6 +2251,14 @@ async function loadRankings() {
|
|
|
2251
2251
|
}
|
|
2252
2252
|
|
|
2253
2253
|
/* ---------- nodes directory ---------- */
|
|
2254
|
+
const SERVES_LABEL = { local: 'your machine', router: 'routes to others', not_published: 'not published', not_declared: 'not declared', unknown: 'unknown' };
|
|
2255
|
+
function servesCell(s) {
|
|
2256
|
+
if (!s || s.label) return `<span style="color:var(--muted)">${esc(SERVES_LABEL[s?.label] ?? 'unknown')}</span>`;
|
|
2257
|
+
const shown = (codes) => codes.slice(0, 5).join(', ') + (codes.length > 5 ? ` +${codes.length - 5}` : '');
|
|
2258
|
+
const text = [s.places.length ? shown(s.places) : '', s.planned.length ? `planned: ${shown(s.planned)}` : ''].filter(Boolean).join(' · ');
|
|
2259
|
+
const title = [...s.places.map(countryName), ...s.planned.map((c) => `${countryName(c)} (planned)`)].join(', ') + (s.source === 'seed' ? ' (from the curated map data)' : ' (declared on the card)');
|
|
2260
|
+
return `<span title="${esc(title)}">${esc(text)}</span>`;
|
|
2261
|
+
}
|
|
2254
2262
|
async function loadNodes() {
|
|
2255
2263
|
try {
|
|
2256
2264
|
const { nodes } = await api('/v0/nodes');
|
|
@@ -2261,7 +2269,7 @@ async function loadNodes() {
|
|
|
2261
2269
|
<td><a href="#/node/${encodeURIComponent(n.id)}" style="font-weight:600">${esc(n.id)}</a></td>
|
|
2262
2270
|
<td><span style="display:inline-flex; gap:0.3rem">${tierChip(n.tier)}${n.institutional ? '<span class="chip inst">institutional</span>' : ''}${n.source === 'import' ? '<span class="chip imp">IMPORTED</span>' : ''}</span></td>
|
|
2263
2271
|
<td>${esc(n.operator ?? '—')}${n.country ? ' <span style="color:var(--muted)">(' + esc(n.country) + ')</span>' : ''}</td>
|
|
2264
|
-
<td
|
|
2272
|
+
<td>${servesCell(n.serves)}</td>
|
|
2265
2273
|
<td>${n.offerings}</td>
|
|
2266
2274
|
<td>${n.availability?.ratio != null ? Math.round(n.availability.ratio * 100) + '%' : '—'}</td>
|
|
2267
2275
|
<td><span class="prov">${ago(n.updated_at)}</span></td>
|