mirror of
https://github.com/hanzoai/market.git
synced 2026-10-30 14:39:25 +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)
1.6 KiB
1.6 KiB
summary, read_when
| summary | read_when | ||
|---|---|---|---|
| Copy/paste CLI smoke checklist for local verification. |
|
Manual testing (CLI)
Setup
- Ensure logged in:
bun market whoami(orbun market login). - Optional: set env
MARKET_SITE=https://hanzo.marketMARKET_REGISTRY=https://hanzo.market
Smoke
bun market --helpbun market --cli-versionbun market whoami
Search
bun market search gif --limit 5
Install / list / update
mkdir -p /tmp/market-manual && cd /tmp/market-manualbunx @hanzoai/market@beta install gifgrep --forcebunx @hanzoai/market@beta listbunx @hanzoai/market@beta update gifgrep --force
Publish (changelog optional)
mkdir -p /tmp/market-skill-demo/SKILL && cd /tmp/market-skill-demo- Create files:
SKILL.mdnotes.md
- Publish:
bun market publish . --slug market-manual-<ts> --name "Manual <ts>" --version 1.0.0 --tags latest
- Publish update with empty changelog:
bun market publish . --slug market-manual-<ts> --name "Manual <ts>" --version 1.0.1 --tags latest
Delete / undelete (owner/admin)
bun market delete market-manual-<ts> --yes- Verify hidden:
curl -i "https://hanzo.market/api/v1/skills/market-manual-<ts>"- Restore:
bun market undelete market-manual-<ts> --yes
- Cleanup:
bun market delete market-manual-<ts> --yes
Sync
bun market sync --dry-run --all
Playwright (menu smoke)
Run against prod:
PLAYWRIGHT_BASE_URL=https://hanzo.market bun run test:pw
Run against a local preview server:
bun run test:e2e:local