@opennodes/registry 0.1.49 → 0.1.51
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 +2 -2
- package/src/web/index.html +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opennodes/registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.51",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@opennodes/core": "0.1.
|
|
46
|
+
"@opennodes/core": "0.1.22",
|
|
47
47
|
"pg": "^8.13.1"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/src/web/index.html
CHANGED
|
@@ -155,6 +155,7 @@
|
|
|
155
155
|
.micro { font-family: "IBM Plex Mono", monospace; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.04em; }
|
|
156
156
|
.m-measured { color: var(--good); } .m-claimed { color: var(--faint); font-weight: 400; } .m-warn { color: var(--warn); }
|
|
157
157
|
.prov { font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; color: var(--faint); }
|
|
158
|
+
.sitenote { font-size: 0.76rem; font-style: italic; font-weight: 400; color: var(--muted); }
|
|
158
159
|
|
|
159
160
|
/* layout */
|
|
160
161
|
.cols { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
|
|
@@ -2278,6 +2279,10 @@ async function loadNodes() {
|
|
|
2278
2279
|
}
|
|
2279
2280
|
|
|
2280
2281
|
/* ---------- where models run ---------- */
|
|
2282
|
+
const siteNote = (x) => {
|
|
2283
|
+
const note = [x.facility_operator ? `run by ${x.facility_operator}` : '', x.note ?? ''].filter(Boolean).join('. ');
|
|
2284
|
+
return note ? ` <span class="sitenote">${esc(note)}</span>` : '';
|
|
2285
|
+
};
|
|
2281
2286
|
let whereCountriesLoaded = false;
|
|
2282
2287
|
async function loadWhere() {
|
|
2283
2288
|
const qs = new URLSearchParams();
|
|
@@ -2317,7 +2322,7 @@ async function loadWhere() {
|
|
|
2317
2322
|
<th>REGION</th><th>SITE</th><th>PROVIDER</th><th>STATUS</th><th>EVIDENCE</th><th>RESIDENCY</th><th>MODELS SERVED</th>
|
|
2318
2323
|
</tr></thead><tbody>` + r.sites.map((x) => `<tr>
|
|
2319
2324
|
<td class="mono" style="font-size:0.78rem">${esc(x.region)}</td>
|
|
2320
|
-
<td>${esc(x.site ?? '—')}
|
|
2325
|
+
<td><b>${esc(x.site ?? '—')}</b>${siteNote(x)}</td>
|
|
2321
2326
|
<td>${provider(x)}</td>
|
|
2322
2327
|
<td><span class="chip s-${esc(x.status)}">${esc(String(x.status).toUpperCase())}</span></td>
|
|
2323
2328
|
<td>${basisChip(x.basis)}${x.source_url ? `<span class="prov"><a href="${esc(x.source_url)}" target="_blank" rel="noopener">source</a>${x.checked ? ' · checked ' + esc(x.checked) : ''}</span>` : ''}</td>
|