rescue/hanzo.sh-std
- @hanzo/gui + whole @hanzogui/* graph 7.3.0 -> 8.0.0, @hanzo/ui -> 8.0.38, @hanzo/design -> 0.3.3; [email protected].5 declared directly ([email protected] imports it but no longer declares the peer). - Icons from the package root, not /icons/* subpaths: 8.0.0's per-icon exports entries carry no types condition, so subpaths typecheck as any. Root export is typed and sideEffects:false tree-shakes — JS bundle 647 kB -> 531 kB. - gui base sheet as a REAL cacheable stylesheet: scripts/gen-gui-css.mjs (first step of pnpm build) writes config.getCSS() to src/gui.css, main.tsx imports it, GuiProvider renders disableInjectCSS. ~43 kB gzip, fingerprinted. - TypeScript 7.0.2 for tsc; .pnpmfile.cjs gives @typescript-eslint/* their own [email protected] (side-by-side per typescript-eslint#10940) so lint runs. - next-theme shim STAYS: 8.0.38 lazily code-splits ThemeToggleNext, but Rollup still follows the dynamic import and the optional peer breaks the build (measured). SiteNav still authors $sm as phone, so the sm override stays too. - Measured: typecheck 0, lint 0, build 0, polyglot bash -n OK + --help prints usage, page verified at 1280px and 390px. Co-authored-by: Hanzo Dev <[email protected]>
hanzo.sh
The install surface. curl hanzo.sh | bash installs the Hanzo AI toolkit;
opening hanzo.sh in a browser renders the landing page. They are the same file —
see LLM.md for the polyglot, the installer and the serving chain.
Stack
Vite + React 19 on @hanzo/ui over the @hanzo/gui backend, with
@hanzo/design tokens (monochrome, dark-default, self-hosted Geist),
the @hanzo/logo mark via BrandMark, and the header/footer content from
@hanzo/products so this property cannot drift from the rest of the estate.
No Tailwind, no shadcn, no Radix. One route.
pnpm install
pnpm dev # vite, :8080
pnpm build # -> dist/, including the polyglot rewrite
pnpm typecheck
pnpm lint
src/site.ts is the page as data (install commands, bundles, per-language
packages); everything in src/components/ renders it.
Languages
TypeScript
86.5%
Shell
8.6%
JavaScript
2.6%
HTML
1.2%
CSS
1.1%