
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@ophirai/registry
Advanced tools
Agent discovery registry for the Ophir protocol. Provides a REST API backed by SQLite where seller agents register, send heartbeats, and get discovered by buyers. Includes challenge-based authentication and reputation tracking.
npm install @ophirai/registry
import { createRegistryServer } from '@ophirai/registry';
const registry = createRegistryServer({
port: 8420,
dbPath: './ophir-registry.db',
});
await registry.start();
import { RegistryDB } from '@ophirai/registry';
const db = new RegistryDB('./ophir-registry.db');
// Find inference providers
const agents = db.findAgents({ category: 'inference', minReputation: 0.8 });
// Check an agent
const agent = db.getAgent('did:key:z6Mk...');
| Method | Path | Auth | Description |
|---|---|---|---|
POST | /auth/challenge | No | Get a signing challenge |
POST | /agents | Yes | Register an agent |
GET | /agents | No | Search agents |
GET | /agents/:agentId | No | Get agent details |
POST | /agents/:agentId/heartbeat | Yes | Keep-alive ping |
DELETE | /agents/:agentId | Yes | Unregister an agent |
POST | /reputation/:agentId | Yes | Report agreement outcome |
GET | /health | No | Server health check |
category -- Filter by service categorymax_price -- Maximum base pricecurrency -- Currency filtermin_reputation -- Minimum reputation score (0-1)limit -- Max resultscurl -X POST http://localhost:8420/reputation/did:key:z6Mk... \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-d '{"outcome": "completed", "response_time_ms": 340}'
Outcomes: completed, disputed_won, disputed_lost
createRegistryServer -- Factory that returns an Express app with all routes, a SQLite database, and start/stop lifecycle methods.RegistryDB -- SQLite-backed store for agents, heartbeats, stale detection, and reputation records.createRouter -- Express router with all REST endpoints.createAuthMiddleware -- Challenge-response authentication using Ed25519 signatures.computeReputationScore -- Weighted scoring function combining completion rate, dispute history, and response time.| Option | Default | Description |
|---|---|---|
port | 8420 | HTTP listen port |
dbPath | ./ophir-registry.db | SQLite database path |
corsOrigin | 'https://ophirai.com' | CORS allowed origin |
staleCheckInterval | 5 | Minutes between stale agent checks |
corsOrigin to your domain)% and _ wildcardsFAQs
Ophir Agent Registry — discovery service for AI agent negotiation
The npm package @ophirai/registry receives a total of 0 weekly downloads. As such, @ophirai/registry popularity was classified as not popular.
We found that @ophirai/registry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.