mirror of
https://github.com/hanzoai/market.git
synced 2026-11-03 01:29:00 +00:00
- Repo transferred hanzobot/hub → hanzoai/market (matches owned hanzo.market domain) - npm package: bothub → @hanzoai/market, packages/bothub → packages/market - bothub-schema → @hanzoai/market-schema - CLI binary: bothub → market - Brand: Bot Hub → Hanzo Market across ~95 user-facing surfaces (README, docs, k8s, Dockerfile, public/manifest.json, OG image, CLI banner, site config, theme) - Brand-neutral white-label: src/brand/ owns BrandConfig + BrandTheme + loader, public/brands/<id>.json presets for hanzo, zoo, lux, pars, liquidity, generic - BRAND_ID env at build picks default; ConfigMap-mounted brand.json overrides at runtime - Legacy paths retained for compat: ~/.bothub, .bothubignore, /.well-known/bothub.json, bothub-theme localStorage key, LEGACY_HOSTS for hub.hanzo.bot/clawhub.ai - Fixed broken sed-replace artifacts in packages/market/src/cli/botConfig.test.ts - Drops Clawd/OpenClaw dead brand surface, keeps Clawdis* schema types and clawd skill directory paths (backward compat for installed bot products)
@hanzoai/market
Hanzo Market CLI — install, update, search, and publish agent skills as folders.
Install
# From this repo (shortcut script at repo root)
bun market --help
# Once published to npm
# npm i -g @hanzoai/market
Auth (publish)
market login
# or
market auth login
# Headless / token paste
# or (token paste / headless)
market login --token clh_...
Notes:
- Browser login opens
https://hanzo.market/cli/authand completes via a loopback callback. - Token stored in
~/Library/Application Support/market/config.jsonon macOS (override viaMARKET_CONFIG_PATH, legacyBOTHUB_CONFIG_PATH/CLAWDHUB_CONFIG_PATH).
Examples
market search "postgres backups"
market install my-skill-pack
market update --all
market update --all --no-input --force
market publish ./my-skill-pack --slug my-skill-pack --name "My Skill Pack" --version 1.2.0 --changelog "Fixes + docs"
Sync (upload local skills)
# Start anywhere; scans workdir first, then legacy bot install locations.
market sync
# Explicit roots + non-interactive dry-run
market sync --root ../clawdis/skills --all --dry-run
Defaults
- Site:
https://hanzo.market(override via--siteorMARKET_SITE, legacyBOTHUB_SITE/CLAWDHUB_SITE) - Registry: discovered from
/.well-known/bothub.jsonon the site (legacy filename retained for older CLIs; override via--registryorMARKET_REGISTRY) - Workdir: current directory (falls back to Hanzo Bot workspace if configured; override via
--workdirorMARKET_WORKDIR) - Install dir:
./skillsunder workdir (override via--dir)