Files
ui/pkgs/products/package.json
zeekay e95e89e470 fix(products): resolve every shell address against the live properties
The draft pinned 23 addresses that 404: the installs pointed at hanzo.app
/download/*, the SDK index at docs.hanzo.ai/developers/sdks, the CLI and
quickstart references at docs.hanzo.ai/{cli,quickstarts}, the legal bar at a
/legal/<slug> namespace that is not served, and the App/Bot headers at nav
paths those properties do not have. Host-only assertions passed because they
never checked a path.

Every address now resolves (200, or 401 where the app is behind sign-in) and
agrees with the independent U table in @hanzogui/shell:

  installs      -> hanzo.ai/{download,extension,desktop,cli}
  sdks          -> hanzo.ai/sdks
  cli reference -> docs.hanzo.ai/docs/cli
  quickstarts   -> docs.hanzo.ai/docs/getting-started
  learn         -> hanzo.ai/learn
  apps          -> docs.hanzo.ai/docs/apps
  community     -> hanzo.app/community
  legal         -> hanzo.ai/{privacy,terms,cookies}

Drops the VS Code install and the showcase/changelog resources (no such pages
exist); support takes the freed slot. Corrects the hanzo.app and hanzo.bot
local nav and Bot's CTA to /get-started.

Adds addresses.ts — the one enumeration of every address the spec claims, each
tagged with the surface claiming it — so shell.test.ts guards resolve relative
nav against its own property, and addresses.live.test.ts (HANZO_LIVE_LINKS=1)
fetches all of them. That live check is what pins paths.

Resolves the platform launcher hosts from ORIGIN instead of six inline
literals, and derives each surface's subtitle from its own href, making
ORIGIN's "only place a host lives" invariant true and testable.
2026-07-26 15:18:26 -07:00

67 lines
1.5 KiB
JSON

{
"name": "@hanzo/products",
"version": "0.2.0",
"description": "The canonical Hanzo product catalog: one typed contract + icon/color code-maps + a commerce-backed client with a checked-in snapshot fallback. Single source of truth for console, docs, site, and pricing.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./icons": {
"types": "./dist/icons.d.ts",
"import": "./dist/icons.mjs",
"require": "./dist/icons.js"
},
"./snapshot": "./snapshot/catalog.json"
},
"files": [
"dist",
"snapshot"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist"
},
"keywords": [
"hanzo",
"products",
"catalog",
"registry",
"taxonomy"
],
"author": "Hanzo AI",
"license": "MIT",
"peerDependencies": {
"@hanzogui/lucide-icons-2": ">=7",
"react": ">=18"
},
"peerDependenciesMeta": {
"@hanzogui/lucide-icons-2": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@hanzogui/lucide-icons-2": "7.3.0",
"@types/node": "^25.9.5",
"@types/react": "^19.0.0",
"react": "^19.0.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.8"
},
"publishConfig": {
"access": "public"
}
}