@opennodes/registry 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/bin.js +1 -0
  2. package/package.json +41 -10
package/bin.js CHANGED
@@ -5,6 +5,7 @@ const dbPath = process.env.ONP_DB ?? ':memory:'; // sqlite path/:memory: or post
5
5
  const persistent = dbPath !== ':memory:' && !dbPath.startsWith('postgres');
6
6
  const registry = await startRegistry({
7
7
  port: Number(process.env.PORT ?? 4300),
8
+ host: process.env.HOST ?? '127.0.0.1', // 0.0.0.0 inside containers / behind a reverse proxy
8
9
  dbPath,
9
10
  // Persistent signing identity: explicit path, or derived from a file db; pg deployments set ONP_REGISTRY_KEY.
10
11
  keyPath: process.env.ONP_REGISTRY_KEY ?? (persistent ? `${dbPath}.key.pem` : (dbPath.startsWith('postgres') ? 'onp-registry-key.pem' : null)),
package/package.json CHANGED
@@ -1,18 +1,49 @@
1
1
  {
2
2
  "name": "@opennodes/registry",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
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",
7
7
  "main": "src/server.js",
8
- "exports": { ".": "./src/server.js", "./src/*": "./src/*" },
9
- "bin": { "onp-registry": "bin.js" },
10
- "files": ["bin.js", "src", "README.md"],
11
- "keywords": ["opennodes", "onp", "registry", "ai", "inference", "discovery", "mcp", "catalog"],
8
+ "exports": {
9
+ ".": "./src/server.js",
10
+ "./src/*": "./src/*"
11
+ },
12
+ "bin": {
13
+ "onp-registry": "bin.js"
14
+ },
15
+ "files": [
16
+ "bin.js",
17
+ "src",
18
+ "README.md"
19
+ ],
20
+ "keywords": [
21
+ "opennodes",
22
+ "onp",
23
+ "registry",
24
+ "ai",
25
+ "inference",
26
+ "discovery",
27
+ "mcp",
28
+ "catalog"
29
+ ],
12
30
  "homepage": "https://opennodes.io",
13
- "repository": { "type": "git", "url": "git+https://github.com/opennodes-io/opennodes.git", "directory": "impl/packages/registry" },
14
- "bugs": { "url": "https://github.com/opennodes-io/opennodes/issues" },
15
- "engines": { "node": ">=22.5" },
16
- "publishConfig": { "access": "public" },
17
- "dependencies": { "@opennodes/core": "0.1.0", "pg": "^8.13.1" }
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/opennodes-io/opennodes.git",
34
+ "directory": "impl/packages/registry"
35
+ },
36
+ "bugs": {
37
+ "url": "https://github.com/opennodes-io/opennodes/issues"
38
+ },
39
+ "engines": {
40
+ "node": ">=22.5"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "dependencies": {
46
+ "@opennodes/core": "0.1.0",
47
+ "pg": "^8.13.1"
48
+ }
18
49
  }