Files
zooqueen eae8f52412 hanzo-public-catalog: CF edge-cached daily-refreshed public catalog
Serves the public read-only catalog (models, pricing, plans; extensible via
src/registry.js) from a Cloudflare Worker at catalog.hanzo.ai, so cloud-api can
drop AUTH_PUBLIC_PATHS and be fully authenticated. Serving order (never empty):
Cache API -> KV -> origin (pricing.hanzo.ai) read-through -> bundled snapshot.
Daily cron refreshes KV + warms the edge. Authorization-bearing requests are
proxied to authed cloud-api (auth-branch).
2026-06-30 20:42:39 -07:00

16 lines
419 B
JSON

{
"name": "hanzo-public-catalog",
"private": true,
"type": "module",
"description": "Cloudflare edge-cached, daily-refreshed public read-only catalog (models, pricing, plans) for Hanzo.",
"scripts": {
"test": "node --test 'test/*.test.mjs'",
"snapshot": "node scripts/snapshot.mjs",
"dev": "wrangler dev",
"deploy": "wrangler deploy"
},
"devDependencies": {
"wrangler": "^4.0.0"
}
}