Commit Graph
37 Commits
Author SHA1 Message Date
zeekay abd252a178 chore(docs-rag): client paths /api/* -> /v1/*
Move the docs and bot-docs RAG clients (search/chat/index) off the
residual /api/ prefix to top-level /v1/, matching the cloud-api route
rename and the openapi v1.0.0 lock-in (no /api/ prefix):

  /api/search-docs -> /v1/search-docs
  /api/chat-docs   -> /v1/chat-docs
  /api/index-docs  -> /v1/index-docs

Touched: apps/{docs,bot-docs}/lib/hanzo/client.ts,
apps/docs/scripts/update-hanzo-index.ts, the .env.example (also
corrects the stale cloud-api.hanzo.ai host -> api.hanzo.ai front door),
and the two generate-search-index.py docstrings.

Server-side these are served at /v1/ by hanzoai/ai (bare search/chat/
index-docs); deeper product GETs by hanzoai/cloud productsvc. Hard
cutover, coordinated with cloud, universe cloud-api-v1 AUTH_PUBLIC_PATHS,
python-sdk, and the openapi cloud spec.
2026-06-30 17:00:02 -07:00
db7ee41151 Point docs clients + samples at canonical api.hanzo.ai front door (#20)
The cloud API now sits behind one front door (ingress -> gateway -> cloud).
api.cloud.hanzo.ai / cloud-api.hanzo.ai / functions.hanzo.ai are redundant
aliases routing to the same backend, so migrate clients to api.hanzo.ai.

- docs + bot-docs lib/hanzo/client.ts, scripts/update-hanzo-index.ts:
  search/index/chat-docs default base cloud-api|api.cloud.hanzo.ai ->
  api.hanzo.ai (RAG paths stay /api/* — served there per cloud AUTH_PUBLIC_PATHS)
- cloud landing page.tsx: curl base + request-flow label api.cloud.hanzo.ai ->
  api.hanzo.ai
- functions.mdx (x2): collapse Endpoint+Gateway to one canonical
  api.hanzo.ai/v1/functions/*
- hanzo-openapi.mdx: Cloud endpoint label api.cloud.hanzo.ai -> api.hanzo.ai

Non-breaking: the aliases still resolve to the same backend.

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-30 16:49:04 -07:00
zeekay 084b847d33 rebrand: complete white-label — all packages @hanzo/docs-* (one brand)
Finish the fumadocs→Hanzo Docs rebrand: rename the remaining fuma-named
workspace packages and every reference so the framework is uniformly
@hanzo/docs-*. One brand, no Fuma in package names or product surface.

Package renames (name field + all refs: deps, imports, CSS @import,
configs, .changeset, next/vite build config):
  fumadocs-core        → @hanzo/docs-core
  fumadocs-mdx         → @hanzo/docs-mdx
  fumadocs-ui          → @hanzo/docs-ui          (packages/radix-ui)
  fumadocs-openapi     → @hanzo/docs-openapi
  fumadocs-preview     → @hanzo/docs-preview
  @fumadocs/base-ui    → @hanzo/docs-base-ui
  @fumadocs/basehub    → @hanzo/docs-basehub
  @fumadocs/language   → @hanzo/docs-language
  @fumadocs/local-md   → @hanzo/docs-local-md
  @fumadocs/sanity     → @hanzo/docs-sanity
  @fumadocs/shadcn     → @hanzo/docs-shadcn
  @fumadocs/vite       → @hanzo/docs-vite
  @fumari/stf          → @hanzo/docs-stf
  create-fumadocs-app  → @hanzo/create-docs
  create-fumadocs-versions → @hanzo/docs-create-versions

Stale @fumadocs/{cli,story,tailwind,mdx-remote,...} references collapsed to
their existing @hanzo/docs-* canonical packages (no dup created).

De-branded product strings: Fumadocs/Fuma prose → Hanzo Docs/Hanzo; site
branding, CLI output, doc copy, AI-assistant name, metadata. URLs
fumadocs.dev → docs.hanzo.ai, repo fuma-nama/fumadocs → hanzoai/docs.
Filesystem renames: packages/python/fumapy → hanzodocs_py, preview config,
what-is-fumadocs.mdx → what-is-hanzo-docs.mdx, api/fumadocs-ui route.

KEPT (real external npm deps / attribution — NOT renamed):
  fuma-cli, fuma-content, @fumari/json-schema-ts (published upstream pkgs),
  typesense-/trieve-fumadocs-adapter (3rd-party search adapters),
  LICENSE "Copyright (c) 2023 Fuma" (OSS attribution, all 7 LICENSE files
  untouched), CHANGELOG.md history (accurate release records, left as-is).

Build: node 24, pnpm install clean; all 4 target apps next build GREEN
(spec, gui-docs, zen-docs, base-docs) + full package closure (18/18 turbo).
Gate: zero @hanzo-package fumadocs-/@fumadocs/ references remain.
2026-06-24 23:21:42 -07:00
zeekay 7593cddcf7 fix(docs): normalize phantom names in CSS/astro/changeset/next-config (red review)
Follow-up to 4b114df1: the package-name normalization covered JS/TS imports +
package.json but missed four other surfaces that name the same phantom packages,
relocating the breakage from 'pnpm install' to 'next/vite/astro build':
- H1: 46 CSS @import strings (@hanzo/docs-{base-ui,ui,openapi}/css/*) → real pkgs
  (preserved legit @hanzo/docs-{twoslash,story} CSS)
- H2: examples/astro .astro imports (base-ui/mdx→fumadocs-ui/mdx, docs-core/toc→fumadocs-core/toc)
- L1: .changeset/config.json fixed-array lockstep names
- L2: removed apps/docs/next.config.mts dead phantom→phantom self-alias + dup keys
Found by adversarial red review of 4b114df1.
2026-06-24 15:52:22 -07:00
zeekay bb90824285 fix(docs): normalize phantom workspace package names — monorepo installs again
The fumadocs-fork rebrand left ~13 apps + examples referencing packages under
names that don't exist in the workspace (in BOTH directions: some kept
fumadocs-*, some became @hanzo/docs-*). pnpm install failed outright. Mapped
every reference (deps + imports, 607 source + 61 package.json) to the package
that actually exists, by suffix:
  @hanzo/docs-{core,mdx,ui,base-ui} → fumadocs-{core,mdx,ui} / @fumadocs/base-ui
  @fumadocs/{story,cli,mdx-remote,tailwind} → @hanzo/docs-{story,cli,...}
  fumadocs-{docgen,epub,twoslash,typescript} → @hanzo/docs-{...}
  drop phantom eslint-config-custom
Guarded @hanzo/docs-mdx vs -mdx-remote. Also fixes a pre-existing cli bug
(createConfigSchema referenced undefined isSrc) that blocked the package build.

Verified: pnpm install resolves clean (46.8s, was broken); package dist
regenerates phantom-free from the corrected source (hanzo-docs 430→0). Full
app build-green is blocked only by a node v26 toolchain bug in fumadocs-mdx's
config loader (repo targets node >=24.14; CI node builds it).
2026-06-24 15:17:27 -07:00
zeekay 9c363e3912 chore: cleanup k8s + workflow configs 2026-03-25 12:07:05 -07:00
zeekay bb665af27c fix: remove TODO comments, replace nginx with hanzoai/static in Dockerfiles
- Remove TODO comments from base-ui, radix-ui, core, mdx packages
- Replace nginx:alpine with ghcr.io/hanzoai/static in all app Dockerfiles
  (bot-docs, cloud, flow, visor)
2026-03-25 01:06:41 -07:00
Fuma Namaandzeekay 55a5cb25c9 AI: improve defaults 2026-03-24 18:57:24 -07:00
github-actions[bot] 1f9e91420b Version Packages 2026-03-25 01:42:39 +00:00
zeekay 0103894aa6 feat: merge upstream fumadocs 16.6+ (182 commits) and rename to @hanzo/docs-*
Upstream changes include:
- UI: improved TOC detection, clerk variant, slot support
- Base UI: redesigned home layout navigation menu
- CLI: slot support in customise command
- OpenAPI: unsetting auth fields in playground
- Multiple version package releases

All fumadocs-* imports renamed to @hanzo/docs-* namespace.
2026-03-22 18:43:20 -07:00
zooqueen 93afe4c498 feat: add Hanzo AI system prompt to docs chat widgets
- Main docs: Techstars-backed applied AI lab, Zen LLMs, full platform desc
- Bot-docs: Hanzo Bot personal AI assistant description
- System prompt sent via initialMessages, parsed server-side from AI SDK format
2026-03-03 05:02:23 -08:00
zooqueen 02bfe9eaad fix: connect chat widget to cloud-api with correct domain and auth
- Fix docs client.ts domain from api.cloud.hanzo.ai to cloud-api.hanzo.ai
- Fix docs search.tsx to use chatEndpoint from client config instead of
  broken /api/chat local route
- Add pk-* publishable key Authorization header to both docs and bot-docs
  chat transports for cloud-api auth
2026-03-02 16:50:29 -08:00
zooqueen d64c35f03a merge: incorporate main branch zen-docs/zenlm changes into dev
Resolves conflicts between search integration (dev) and
zen-docs/zenlm package additions (main).
2026-03-02 14:01:53 -08:00
zooqueen 28e904a4f8 feat: use pk-hanzo-docs-search-2026 publishable key for browser search
Set real IAM publishable key as fallback in both docs and bot-docs
search clients. Add bot-docs search index generation script.
2026-03-02 12:50:13 -08:00
zooqueen 30f02bfa90 feat: add Hanzo Search + AI chat integration to bot-docs
Wire up full-text search and RAG chat for docs.hanzo.bot using the
Hanzo Search cloud-api endpoints with store=bot-docs. Includes search
dialog, page tree jump-to, and direct browser-to-API chat transport.
2026-03-02 11:36:03 -08:00
zeekay 70706df51e fix(docs): neutralize amber warning colors and force dark fd- vars across all apps
- Add --color-fd-warning/idea/info/error/success: hsl(0,0%,96%) to all 7 apps
  to override neutral.css @theme static amber (oklch 76.9% 0.188 70.08)
- base-docs, zap-docs, zt-docs: add full dark :root { color-scheme: dark; --color-fd-* }
  block (were missing dark fumadocs variable overrides, defaulted to light)
- bot-docs, dev-docs, platform, visor: amber fix only (already had dark overrides)
- Fix base-docs sitemap.ts: add export const dynamic = 'force-static' for static export
2026-02-28 18:24:37 -08:00
zeekay 977bc9090f feat: add Hanzo Analytics tracking to all docs apps 2026-02-28 11:33:04 -08:00
zeekay 5aeaf64bf9 Make all model pricing dynamic via pricing.hanzo.ai API
Replace hardcoded model prices across all docs surfaces with
client-side fetches from pricing.hanzo.ai/v1/pricing. Static
fallback values remain in zen-models for SSR/build time.

Changes:
- zen-models: fix 10 wrong static prices, add fetchPricing() API
- zen-docs: new DynamicModelTable component for MDX pages
- zen-docs: pricing.mdx, models.mdx, api/models.mdx, index.mdx
  all use dynamic tables instead of hardcoded price columns
- platform: extract DynamicAiModels component, remove static array
- bot-docs: extract DynamicTokenPricing, fetch live per-1K rates
2026-02-27 11:44:28 -08:00
zeekay 319f2bb7be fix: rebrand PostHog to Hanzo Insights, remove upstream model refs 2026-02-27 10:38:13 -08:00
zooqueen 39d050a1eb feat(bot-docs): add marketplace & economy documentation
Five new docs pages: marketplace overview, bot wallets, auto-purchase rules,
marketplace listings, and confidential computing with NVIDIA Blackwell TEE.
Added marketplace section to docs navigation.
2026-02-26 21:55:14 -08:00
zooqueen 2302525816 feat(bot-docs): add marketplace, bot wallets, and confidential computing to landing page
New sections: AI Capacity Marketplace (buy/sell compute, bot wallets, auto-purchase
rules, confidential computing), updated Why Hanzo Bot with wallet and TEE cards,
updated ecosystem links with Marketplace and Commerce, updated pricing tiers with
marketplace features.
2026-02-26 21:52:14 -08:00
zeekay 6f3722bd54 fix: add OG image and fix base URL for docs.hanzo.bot
- Create proper SVG OG image for social sharing
- Fix metadata base URL from hanzo.bot to docs.hanzo.bot
- Add explicit OG image refs to metadata config
2026-02-26 14:06:24 -08:00
zeekay 1b4c67afc6 refactor: use @hanzo/logo for nav icon and favicon
Replace inline SVGs with @hanzo/logo imports. Single source of
truth for the Hanzo H mark across all doc sites.
2026-02-26 13:42:54 -08:00
zooqueenandzeekay 576e7a8a2c feat(bot-docs): add Login button to nav, move GitHub to footer
Replace the GitHub icon in the main nav with a Login link pointing to
app.hanzo.bot. Add a footer with copyright and GitHub link.
2026-02-22 14:56:04 -08:00
zeekay 632d7201e0 fix: remove papers deploy workflow, sync workspace packages for CI
- Remove deploy-papers.yml (papers app already removed)
- Update bot-docs with AI chat deps (ai-sdk, remark, etc.)
- Rename zen-docs models from zen/zen2 to zen3/zen4 naming
- Add chat and services docs content
- Add .code/ to gitignore
2026-02-22 14:56:03 -08:00
zeekay 831c6e5d82 feat(bot-docs): add Solutions and Platform pages, update nav
Add 7 solution pages (index, customer-support, sales, engineering,
marketing, operations) and platform overview page. Update navigation
to show Solutions, Platform, Pricing, Docs, GitHub.
2026-02-16 09:41:12 -08:00
zeekay 179dbb0120 feat(bot-docs): add billing flow, pricing comparison, get-started page
- Pricing page: 3-tier cards, 15-row feature comparison table, usage-based pricing section
- Get-started page: plan selection, setup steps, quick install commands
- Billing FAQ: 11 questions covering plans, payment methods (Square/crypto/wire), credits
- Payment methods note: Visa/MC/Amex/Discover via Square, BTC/ETH/SOL/USDC, wire transfers
- All signup links point to app.hanzo.bot/auth/signup?plan=X
- Zero TODOs, zero placeholder content
2026-02-14 12:32:12 -08:00
zeekay 7d10fe2fab fix(bot-docs): mobile responsive - fix text overflow and heading scale
- Add overflow-hidden to prevent horizontal scroll on mobile
- Scale heading from text-3xl (mobile) to text-6xl (desktop)
- Reduce padding on mobile (px-4 vs px-6)
- Scale body text from text-base (mobile) to text-lg (desktop)
2026-02-14 11:57:07 -08:00
zeekay e23d5b16ab feat(bot-docs): add K8s deployment and service manifests
Add deployment.yaml with 2-replica nginx deployment and ClusterIP service
for bot-docs, enabling ingress routing from hanzo.bot domain.
2026-02-14 11:41:53 -08:00
zeekay bc73c48859 feat(bot-docs): revamp landing page with ninja hero, pricing, and H logo
- Add ninja emoji poof animation cycling through team roles (devops, reviewer, etc.)
- Update hero copy: "Your AI Team. In a Box." with compelling value props
- Add pricing section (Free/$5 Cloud/$25 Cloud Pro) with feature comparison
- Create dedicated /pricing page with FAQ and enterprise CTA
- Replace BotIcon with Hanzo H logo in navigation
- Add Pricing link to nav alongside Skills, Integrations, Showcase, Docs
- Add Hanzo ecosystem section linking to LLM Gateway, MCP, Dev, etc.
- Full responsive design for mobile/tablet/desktop
2026-02-14 11:35:15 -08:00
zeekay 31b89c277e chore: update bot-docs, cloud, SDKs, and project index
Sync uncommitted changes across bot-docs, cloud, and docs apps.
Add SDK documentation and project registry.
2026-02-14 07:13:19 -08:00
zeekay cf4bbfb69c fix: escape {media} JSX expression in media-understanding.mdx
Wrap the template literal in backticks to prevent MDX from interpreting
{media} as a JavaScript expression during prerendering.
2026-02-13 14:24:29 -08:00
zeekay a5af29d820 fix: add missing frontmatter and remove broken SVG ref in bot-docs
- creating-skills.mdx: add required title/description frontmatter
- groups.mdx: remove reference to non-existent groups-flow.svg image
- groups.mdx: escape <group-id> template variable in table
2026-02-13 14:20:10 -08:00
zeekay fede21e5d7 fix: MDX syntax errors breaking bot-docs build
- Escape <gateway-host> in ASCII art (index.mdx)
- Replace <- arrow with em dash (index.mdx)
- Fix unsupported shiki languages: ssh→bash, lobster→bash, caddy→text, gitignore→text
- Fix <REMOTE_IP> in prose text (remote-gateway-readme.mdx)
2026-02-13 14:09:06 -08:00
zeekay 259f493a14 feat: sync bot docs from upstream with complete Hanzo rebrand
- 128 docs synced from bot repo with updated branding
- Fixed discord links → discord.gg/XthHQQj
- All OpenClaw/clawd references → Hanzo Bot
- ~/.bot → ~/.hanzo/bot paths
- docs.bot.ai → docs.hanzo.bot
- Updated convert-docs.ts with proper discord rebranding
2026-02-13 14:01:38 -08:00
zeekay f31144be30 fix: resolve docs-mdx bin directly in pre-build script
pnpm install creates workspace symlinks but skips bin link creation
when dist files don't exist yet. After turbo builds the packages,
the dist files exist through the workspace symlink but the bin links
remain missing. Using node directly bypasses the bin link entirely.
2026-02-13 12:32:53 -08:00
zeekay 852e74a6e6 feat: add bot-docs app — Hanzo Bot documentation site
Fumadocs-based docs site migrated from OpenClaw (285 MDX files, 15 categories).
Rebranded to Hanzo Bot with red theme, landing page, CI workflow.

- 261 static pages (install, concepts, CLI, channels, providers, tools, gateway, etc.)
- Mintlify compatibility components (CardGroup, Card, Info, Warning, Note)
- CI: deploy-bot-docs.yml builds + pushes to GHCR + deploys to K8s
- Static export via nginx:alpine Docker image
- Deploys to docs.hanzo.bot
2026-02-13 12:20:57 -08:00