@opennodes/registry 0.1.41 → 0.1.43

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/README.md CHANGED
@@ -13,12 +13,13 @@ What it does:
13
13
  - **Registration with proof of resource** — namespace challenge (HTTP or DNS TXT), Stage A conformance probes, Stage B identity fingerprinting / context verification / capacity ramp, Stage C continuous liveness and blind probes. Trust tiers: `unverified → community → verified` (+ `disputed`, `suspended`). Claimed ≠ measured ≠ attested — always labeled, never blended.
14
14
  - **Search and transparent ranking** (`/v0/offerings`, `sort=rank|price|ttft|tps`) with per-result `rank_explanation`; **enforceable estimates** (`POST /v0/estimate`) pinned to card revisions; the **advisor** (`POST /v0/recommend`).
15
15
  - **Catalog importers** — OpenRouter, Hugging Face Inference Providers, models.dev, the Ollama library — so search is useful on day one, with imported listings labeled and claimable by their operators.
16
- - **Where models run** (`/v0/locations`, `?format=csv` or `?format=geojson`): serving sites by country with their evidence (`claimed`, `documented`, `measured`, `attested`), a map point, and the models each serves (ONP-2 §3a, ONP-3 §5c). `near=lat,lon&within_km=` finds what runs close to a point. The GeoJSON opens directly in QGIS, ArcGIS, kepler.gl or any web map; the web app draws it on an interactive map. Built from card locations, the per-provider OpenRouter import (the headquarters, datacentres and region tags providers declare there) and curated seeds in [`src/data/`](src/data/) (Canada first). Search takes `region=`, `location_basis=` and `exclude_lineage=`.
17
- - **MCP surface** at `/mcp` (including `find_locations`) and a signed **export feed** for federation.
16
+ - **Where models run** (`/v0/locations`, `?format=csv` or `?format=geojson`): serving sites by country with their evidence (`claimed`, `documented`, `measured`, `attested`), a map point, and the models each serves (ONP-2 §3a, ONP-3 §5c). `near=lat,lon&within_km=` finds what runs close to a point. The GeoJSON opens directly in QGIS, ArcGIS, kepler.gl or any web map; the web app draws it on an interactive map. Built from card locations, the per-provider OpenRouter import (the headquarters, datacentres and region tags providers declare there) and curated seeds in [`src/data/`](src/data/) (Canada, Europe, and every registry provider worldwide). Search takes `region=`, `location_basis=` and `exclude_lineage=`.
17
+ - **Residency commitments** (`/v0/residency`, `?format=csv`): what each provider officially promises about where prompts, outputs and stored data stay (`processing`, `storage`, `none` or `unstated`; scope; `default`, `opt_in` or `enterprise`), with source and date (ONP-2 §3b, ONP-3 §5d). Each site in `/v0/locations` carries the commitments that cover it, and `residency=processing|storage` filters by them.
18
+ - **MCP surface** at `/mcp` (including `find_locations` and `find_residency`) and a signed **export feed** for federation.
18
19
  - **Web app** at `/`: OpenRouter-style catalog with model and node pages, hardware and measured performance, playground, multi-model chat (compare / jury / pipeline / iterative), the advisor, the Node Builder, and the "Where models run" page.
19
20
 
20
21
  Environment: `PORT`, `ONP_DB`, `ONP_REGISTRY_KEY`, `ONP_ADMIN_TOKEN`, `ONP_ALLOW_PRIVATE=1` (dev only: permit localhost nodes), `ONP_STAGE_C=0`, `ONP_REIMPORT=1`, `ONP_REIMPORT_SOURCES` (default `openrouter,huggingface`; also `models-dev`, `ollama`, and `openrouter-providers`, which makes one request per OpenRouter model, so give it a long `ONP_REIMPORT_MS`), `ONP_LOCATION_SEEDS=0` (skip the curated location seeds), `ONP_MAP_TILES` (basemap for the locations map: unset = OpenStreetMap, `off` = no map, or an XYZ URL template with `ONP_MAP_ATTRIBUTION`). The map loads Leaflet from cdnjs, pinned with subresource integrity, only on the "Where models run" page. Viewers' browsers then fetch tiles from the tile server. OpenStreetMap's tile policy asks for light use, so a busy registry should point `ONP_MAP_TILES` at its own or a commercial tile service.
21
22
 
22
- Location seeds are dated JSON files (`locations-{seed}.json`): providers, their sites with `basis`, `source` and `checked`, and the models each site serves. A provider whose models are listed becomes a listing-only node `import.seed.{seed}.{id}`; one that publishes no model list is shown with a note. Corrections and new countries are welcome by pull request: cite the provider's own page for `documented`, anything else is `claimed`.
23
+ Location seeds are dated JSON files (`locations-{seed}.json`): providers, their sites with `basis`, `source` and `checked`, and the models each site serves. A provider whose models are listed becomes a listing-only node `import.seed.{seed}.{id}`; one that publishes no model list is shown with a note. An entry with `nodes` describes existing registry nodes instead: its sites are shown under the first of them, with that node's models when `placement` is `all`. Providers carry `kind` and `residency`; `residency_of: "{seed}:{id}"` reuses another entry's commitments (the Canadian and European regions of a cloud share the cloud's). Corrections and new countries are welcome by pull request: cite the provider's own page for `documented`, anything else is `claimed`.
23
24
 
24
25
  Part of [OpenNodes](https://opennodes.io) · [specification](https://github.com/opennodes-io/opennodes/tree/main/spec) · Apache-2.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opennodes/registry",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
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.18",
46
+ "@opennodes/core": "0.1.19",
47
47
  "pg": "^8.13.1"
48
48
  }
49
49
  }
@@ -7,6 +7,7 @@
7
7
  {
8
8
  "id": "aws-bedrock",
9
9
  "name": "Amazon Bedrock (Canadian regions)",
10
+ "residency_of": "world:aws-bedrock",
10
11
  "operator": { "name": "Amazon Web Services", "country": "US", "url": "https://docs.aws.amazon.com/bedrock/latest/userguide/models-region-compatibility.html" },
11
12
  "note": "In-region processing only. Newer models (recent Claude, GPT, Grok, Nova, Kimi) reach the Canadian regions only through Geo or Global cross-region routing and are not listed.",
12
13
  "sites": [
@@ -31,6 +32,7 @@
31
32
  {
32
33
  "id": "google-vertex",
33
34
  "name": "Google Vertex AI (Montréal)",
35
+ "residency_of": "world:google-vertex",
34
36
  "operator": { "name": "Google Cloud", "country": "US", "url": "https://cloud.google.com/vertex-ai/generative-ai/docs/learn/data-residency" },
35
37
  "note": "Only Google models are processed in Canada; partner and open models on Vertex AI are not. Toronto (northamerica-northeast2) is not listed for generative AI.",
36
38
  "sites": [
@@ -47,6 +49,7 @@
47
49
  {
48
50
  "id": "azure-openai",
49
51
  "name": "Azure OpenAI in Foundry (Canadian regions)",
52
+ "residency_of": "world:azure-openai",
50
53
  "operator": { "name": "Microsoft", "country": "US", "url": "https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/models" },
51
54
  "note": "OpenAI models only; no Canada data zone. Standard deployments in Canada East; the rest is provisioned (reserved) capacity. Region tables not re-checked on Microsoft's page, so claimed.",
52
55
  "sites": [
@@ -71,6 +74,7 @@
71
74
  {
72
75
  "id": "cohere",
73
76
  "name": "Cohere",
77
+ "residency_of": "world:cohere",
74
78
  "operator": { "name": "Cohere", "country": "CA", "url": "https://docs.cohere.com/docs/models" },
75
79
  "note": "Cohere's hosted API runs in the US (Trust Center: no servers outside the US). Canadian serving needs Model Vault Canada, a partner such as Bell, or self-hosted weights.",
76
80
  "sites": [
@@ -92,6 +96,10 @@
92
96
  {
93
97
  "id": "denvr-dataworks",
94
98
  "name": "Denvr Dataworks",
99
+ "kind": "inference",
100
+ "residency": [
101
+ { "commitment": "processing", "scope": ["CA"], "availability": "opt_in", "statement": "Claimed (not on the provider's own pages): Dedicated inference endpoints can be placed in Canadian data centres; the Canada AI Platform material says all its zones are in Canada and offers Canadian data residency.", "source": "https://denvrcaip.pages.dev/", "checked": "2026-11-03" }
102
+ ],
95
103
  "operator": { "name": "Denvr Dataworks", "country": "CA", "url": "https://www.denvr.com/ai-inference" },
96
104
  "note": "Dedicated endpoints in Canadian and US data centres; the customer chooses the site, so each listing covers both countries.",
97
105
  "sites": [
@@ -109,6 +117,7 @@
109
117
  {
110
118
  "id": "cerebras",
111
119
  "name": "Cerebras Inference",
120
+ "residency_of": "world:cerebras",
112
121
  "operator": { "name": "Cerebras Systems", "country": "US", "url": "https://inference-docs.cerebras.ai/models/overview" },
113
122
  "note": "Which site serves which model is not stated, so each listing covers both countries.",
114
123
  "sites": [
@@ -123,6 +132,10 @@
123
132
  {
124
133
  "id": "telus-sovereign-ai-factory",
125
134
  "name": "TELUS Sovereign AI Factory",
135
+ "kind": "inference",
136
+ "residency": [
137
+ { "commitment": "processing", "scope": ["CA"], "availability": "default", "statement": "TELUS says all data processing and storage stays inside Canada, in facilities that are Canadian-controlled and operated.", "source": "https://www.telus.com/business/medium-large/sovereign-ai-factory", "checked": "2026-11-03" }
138
+ ],
126
139
  "operator": { "name": "TELUS", "country": "CA", "url": "https://www.telus.com/business/medium-large/sovereign-ai-factory" },
127
140
  "sites": [
128
141
  { "id": "rimouski", "region": "CA-QC", "site": "Rimouski", "status": "live", "basis": "claimed", "source": "https://www.rcrwireless.com/20260512/carriers/telus-ai-data-centers", "checked": "2026-11-02", "note": "Live since Sep 2025; reported sold out (news report)", "geo": { "lat": 48.4489, "lon": -68.523, "precision": "city" } },
@@ -135,6 +148,10 @@
135
148
  {
136
149
  "id": "bell-ai-fabric",
137
150
  "name": "Bell AI Fabric",
151
+ "kind": "inference",
152
+ "residency": [
153
+ { "commitment": "processing", "scope": ["CA"], "availability": "default", "statement": "Bell says its AI Fabric data centres keep data and AI compute in Canada.", "source": "https://businessmarkets.bell.ca/sovereign-AI", "checked": "2026-11-03" }
154
+ ],
138
155
  "operator": { "name": "Bell Canada", "country": "CA" },
139
156
  "sites": [
140
157
  { "id": "kamloops", "region": "CA-BC", "site": "Kamloops", "status": "live", "basis": "claimed", "facility_operator": "Groq", "source": "https://groq.com/blog/groq-becomes-exclusive-inference-provider-for-bell-canadas-sovereign-ai-network", "checked": "2026-11-02", "note": "Groq inference site", "geo": { "lat": 50.6745, "lon": -120.3273, "precision": "city" } },
@@ -146,6 +163,10 @@
146
163
  {
147
164
  "id": "thinkon",
148
165
  "name": "ThinkOn",
166
+ "kind": "cloud",
167
+ "residency": [
168
+ { "commitment": "processing", "scope": ["CA"], "availability": "default", "programme": "Canada's Sovereign AI Platform", "statement": "The platform runs entirely in Canada under Canadian operational and legal control, on Canadian-owned and operated infrastructure.", "source": "https://thinkon.com/blogs/selected-to-power-canadas-sovereign-ai-platform/", "checked": "2026-11-03" }
169
+ ],
149
170
  "operator": { "name": "ThinkOn", "country": "CA", "url": "https://thinkon.com" },
150
171
  "sites": [
151
172
  { "id": "ca", "region": "CA", "site": "Canadian data centres (not named)", "status": "live", "basis": "documented", "source": "https://thinkon.com/blogs/selected-to-power-canadas-sovereign-ai-platform/", "checked": "2026-11-02" }
@@ -156,6 +177,7 @@
156
177
  {
157
178
  "id": "oracle-oci",
158
179
  "name": "Oracle OCI Generative AI (Canadian regions)",
180
+ "residency_of": "world:oci-genai",
159
181
  "operator": { "name": "Oracle", "country": "US", "url": "https://docs.oracle.com/en-us/iaas/Content/generative-ai/regions-without-local-on-demand-model-hosting.htm" },
160
182
  "sites": [
161
183
  { "id": "yyz", "region": "CA-ON", "site": "Toronto", "status": "live", "basis": "documented", "source": "https://docs.oracle.com/en-us/iaas/Content/generative-ai/regions-without-local-on-demand-model-hosting.htm", "checked": "2026-11-02", "geo": { "lat": 43.6532, "lon": -79.3832, "precision": "city" } },
@@ -167,6 +189,7 @@
167
189
  {
168
190
  "id": "ovhcloud",
169
191
  "name": "OVHcloud (Beauharnois)",
192
+ "residency_of": "world:ovhcloud",
170
193
  "operator": { "name": "OVHcloud", "country": "FR", "url": "https://help.ovhcloud.com/csm/en-public-cloud-ai-endpoints-capabilities?id=kb_article_view" },
171
194
  "sites": [
172
195
  { "id": "bhs", "region": "CA-QC", "site": "Beauharnois", "status": "live", "basis": "documented", "source": "https://help.ovhcloud.com/csm/en-public-cloud-ai-endpoints-capabilities?id=kb_article_view", "checked": "2026-11-02", "note": "General cloud region", "geo": { "lat": 45.3151, "lon": -73.8724, "precision": "city" } }
@@ -177,6 +200,10 @@
177
200
  {
178
201
  "id": "isaic",
179
202
  "name": "ISAIC (University of Alberta)",
203
+ "kind": "cloud",
204
+ "residency": [
205
+ { "commitment": "processing", "scope": ["CA"], "availability": "default", "statement": "GPUs are provisioned on Canadian infrastructure. This describes the service; it is not a contractual promise.", "source": "https://isaic.ca", "checked": "2026-11-03" }
206
+ ],
180
207
  "operator": { "name": "University of Alberta", "country": "CA", "url": "https://isaic.ca" },
181
208
  "sites": [
182
209
  { "id": "edmonton", "region": "CA-AB", "site": "Edmonton", "status": "live", "basis": "documented", "source": "https://isaic.ca", "checked": "2026-11-02", "geo": { "lat": 53.5461, "lon": -113.4938, "precision": "city" } }
@@ -187,6 +214,7 @@
187
214
  {
188
215
  "id": "coreweave-cambridge",
189
216
  "name": "CoreWeave (Cambridge, Ontario)",
217
+ "residency_of": "world:wandb",
190
218
  "operator": { "name": "CoreWeave", "country": "US" },
191
219
  "sites": [
192
220
  { "id": "cambridge", "region": "CA-ON", "site": "Cambridge", "status": "live", "basis": "claimed", "note": "Cohere is the anchor tenant (news report)", "geo": { "lat": 43.3616, "lon": -80.3144, "precision": "city" } }
@@ -197,6 +225,10 @@
197
225
  {
198
226
  "id": "qscale",
199
227
  "name": "QScale (Lévis)",
228
+ "kind": "cloud",
229
+ "residency": [
230
+ { "commitment": "unstated", "scope": [], "availability": "default", "statement": "Colocation provider; no statement on model data residency.", "source": "https://www.qscale.com", "checked": "2026-11-03" }
231
+ ],
200
232
  "operator": { "name": "QScale" },
201
233
  "sites": [
202
234
  { "id": "levis", "region": "CA-QC", "site": "Lévis", "status": "live", "basis": "claimed", "note": "Bought by Goldman Sachs Alternatives in May 2026 (news report)", "geo": { "lat": 46.8033, "lon": -71.1779, "precision": "city" } }