Files
market/docs/manual-testing.md
zeekay 661a6a28d5 rebrand: Bot Hub → Hanzo Market, white-label via @luxfi/brand schema
- 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)
2026-05-29 13:46:09 -07:00

1.6 KiB

summary, read_when
summary read_when
Copy/paste CLI smoke checklist for local verification.
Pre-merge validation
Reproducing a reported CLI bug

Manual testing (CLI)

Setup

  • Ensure logged in: bun market whoami (or bun market login).
  • Optional: set env
    • MARKET_SITE=https://hanzo.market
    • MARKET_REGISTRY=https://hanzo.market

Smoke

  • bun market --help
  • bun market --cli-version
  • bun market whoami
  • bun market search gif --limit 5

Install / list / update

  • mkdir -p /tmp/market-manual && cd /tmp/market-manual
  • bunx @hanzoai/market@beta install gifgrep --force
  • bunx @hanzoai/market@beta list
  • bunx @hanzoai/market@beta update gifgrep --force

Publish (changelog optional)

  • mkdir -p /tmp/market-skill-demo/SKILL && cd /tmp/market-skill-demo
  • Create files:
    • SKILL.md
    • notes.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