683 Commits
Author SHA1 Message Date
zeekayandClaude Opus 5.5 3123592875 Send events with the keys that name live projects
@hanzo/event 0.3.39 and 0.3.40 carry a Hanzo key whose project no
longer exists, so the ingest door answers every beacon from gui with
403 ingest_key_unknown. 0.3.41 carries the current keys. The telemetry
package asks for it, and an override lifts the copy @hanzo/observe
pins to the same version.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 10:26:19 -07:00
zooqueenandHanzo Dev 31ad1f039e Team is its own repo now
apps/team moved to hanzo-apps/team with its history, and builds there
against the published @hanzo/gui. It leaves the workspace list, the
lockfile, and the Written-at-Hanzo list in every NOTICE (ten names
become nine).


Co-authored-by: Hanzo Dev <[email protected]>
2026-09-23 15:53:45 -07:00
zeekay c183da5389 Drop webpack from the stack
The loader and the Next plugin only existed to drive webpack; Next runs
on Turbopack and Vite has its own plugin. kitchen-sink and the
integration app serve through vite, the optimizer suite drops the
webpack name, and its fixture packages join the workspace so a fresh
checkout links @my/ui.
2026-09-06 08:17:57 -07:00
zeekayandHanzo Dev f185fd7bd6 Keep the browser and simulator apps out of the release gate
kitchen-sink and sandbox drive a browser against a dev server, and
kitchen-sink-go a Maestro run on an iOS simulator; each has its own
lane, and the release gates on the unit suites like CI.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-05 02:59:26 -07:00
zeekayandHanzo Dev cff111cd7c Gate the release on the same suites as CI
kitchen-sink drives a browser against a webpack dev server; hanzo.yml
already keeps it out of the unit gate, and the release now reads the
same list.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-05 02:49:58 -07:00
zeekayandHanzo Dev 42bd70986b Ship source, ESM, CommonJS and types from each package
Every published manifest now states the same exports: types, the
native emit where the package builds one, ESM under import and
CommonJS under require, with src, types and dist in files. The nine
packages that read import.meta do so in one here.ts each, with a
here.cjs.ts sibling for the CommonJS emit; the stragglers on bun,
esbuild, plain tsc or hand-written shims build with the runner like
everything else, and the root-level .cjs shims that pointed at emits
no build produces are gone, as is the vite-plugin-cjs mirror.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-04 21:07:06 -07:00
zeekay 834a904e48 Format with oxfmt 2026-09-04 09:04:51 -07:00
zeekay 77e8398deb Build every package with the TypeScript compiler alone
Babel and esbuild were never here for TypeScript. Babel carried the static
optimizing compiler and one plugin that appended extensions to esbuild's
emitted imports; source now names its own extensions and the compiler rewrites
them on emit. A sixty-line runner replaces the tool: an ESM emit with
declarations, a CommonJS emit where a manifest states a require entry, and a
native emit where a .native sibling takes its sibling's name. The compiler
packages keep Babel as their own substrate; nothing else runs over the code.
Eighteen packages still carry type errors the previous tool never checked.
2026-09-03 17:14:57 -07:00
zeekay 9f8d7c440f Align the build on Babel 8 and TypeScript 7 fixtures
Nothing in the repo declared Babel 7; the root override pinned it while every
package asked for 8. The fixture tsconfigs named downlevelIteration, which
TypeScript 7 removed, and the base-url flag named an option that no longer
exists.
2026-09-03 16:48:05 -07:00
zeekay 0243d68060 State a version once
A version written into a manifest is written into every manifest that wants it,
which is how eslint came to exist in a hundred and four forms across this estate
and how a package came to resolve twice at run time. The catalog moves the number
out of the manifest: a manifest names the package, the workspace names the
version.

Four are held below their latest because the newer release cannot be used, and
the reason is recorded rather than the version alone: @noble/hashes 2 renamed
every subpath the web3 stack imports, @splinetool/runtime 2 depends on a package
that was never published, @dynamic-labs 5.4.1 the same, and react-resizable-panels
3 points its types condition at the bundle.
2026-08-29 18:13:47 -07:00
zeekayandHanzo Dev 164489660a fix(shell): style the tenant chrome in tokens, not Tailwind it never had
Co-authored-by: Hanzo Dev <[email protected]>
2026-08-03 21:14:24 -07:00
zeekayandHanzo Dev 5a5724f20e build: typecheck on TypeScript 7 (tsgo), keep tsc for declaration emit
The config was written for a compiler that no longer accepts it: `module: System`,
`moduleResolution: node10`, `baseUrl` and `downlevelIteration` are all removed in
TypeScript 7, and non-relative `paths` targets now need a leading './'. tsgo
reported 692 config errors across ~115 project tsconfigs before this; it reports
zero after.

Measured, not assumed. On apps/kitchen-sink the two compilers agree exactly —
2321 errors at identical file:line:code — and tsgo runs it in 6.0s against tsc's
34.1s. The one diagnostic tsc lacks is TS2882 (side-effect import with no type
declaration), which apps/gui.hanzo.ai/css-modules.d.ts now answers for '*.css'
and for '@docsearch/css', whose specifier carries no extension for the wildcard
to match.

The change is also not the cause of this repo's standing type errors: the same
project reports 2335 errors under the old System/node10 settings and 2321 under
these, so the migration removes fourteen and adds none. Those ~2321 pre-existing
TS2322 errors are a separate problem — committed types/ has drifted from src/ —
and are unrelated to which compiler runs.

Emit is untouched: hanzogui-build still calls the TypeScript API for .d.ts.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-03 18:02:09 -07:00
zeekayandHanzo Dev de5169a8a8 build: pass SKIP_TYPES through turbo rather than a flag tsc rejects
Co-authored-by: Hanzo Dev <[email protected]>
2026-08-01 17:49:32 -07:00
zeekayandHanzo Dev 38a546e67c restore @hanzo_network packages and team app dropped by the transplant
The transplant rebuilt the tree on upstream tamagui and carried our own
packages forward by hand, which silently lost seven @hanzo_network/*
packages and apps/team — 735 files with no other home in the workspace.
They are back at the tip of the old lineage's content.

pkgs/ai is NOT restored: @hanzo/ai is published from hanzo-js/ai, so a
copy here would be the duplicate we are trying to avoid.
templates/expo-router is NOT restored: apps/starters/expo-router already
declares that exact package name upstream.

Also fixes a rebrand defect: the blanket tamagui->hanzogui rule rewrote
upstream's GitHub path into github.com/hanzogui/hanzogui, a repo that has
never existed, and it shipped in repository.url for every published
package. The transform now maps the remote to hanzoai/gui and repairs a
tree already branded wrong, so a future sync cannot reintroduce it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-30 19:53:12 -07:00
zeekayandHanzo Dev 69c6e860d7 transplant onto tamagui v2.6.0, brand as a re-runnable transform
This repo could never sync. There was NO merge-base with tamagui — 372 commits
here against 15,791 there, unrelated histories — because it began as a
copy-paste rebrand with a flattened layout. Every "sync" since was a hand
re-application that drifted, which is why the tree sat on 7.3.1 while upstream
shipped fixes we then rediscovered by hand.

This commit's PARENT IS TAMAGUI. A future sync is `git merge tama/main` then
`node scripts/rebrand.mjs` — a real merge, because the history is now shared.

174 packages: 166 upstream, our 8 restored (chrome, shell, telemetry, recipes,
get, font-geist-{sans,mono}, @hanzo/booker), bento-get gained. 170/170 build.

Our patches to files UPSTREAM ALSO OWNS are carried, which the package-level
delta missed and which was where the value actually was:
  - useMedia's server snapshot (`initState ?? getMedia()`). Upstream still
    returns undefined there, so every Tamagui Dialog kills a prerender — the
    exact crash hanzo.app spent a day on.
  - data-slot on web host nodes, absent upstream entirely.
Both applied ONTO upstream's newer files (it rewrote useMedia +150/-63 and
createComponent +160/-55), marked `PATCH (ours, carried across the transplant)`.

Seven traps are encoded in scripts/rebrand.mjs, each found by a gate:
skip itself and lockfiles; special-case the double-branded names in BOTH scoped
and bare form; map path strings, not just paths; drop a level for the flattened
group; check disk rather than a stale index.

Rust build artifacts are NOT committed. An earlier draft of this commit swept
apps/desktop/src-tauri/target/debug in via `git add -A` — 3,859 files including
a 272MB .a, over GitHub's 100MB cap, so the push could never have landed. They
are gitignored now.

Co-Authored-By: Hanzo Dev <[email protected]>
2026-07-30 18:25:06 -07:00
natew 74103bdeee fix: normalize npm package metadata
Agentbus-Session: m090
2026-07-22 19:36:10 -10:00
natew 05fb8f283d fix(deps): update websocket driver security patch
Agentbus-Session: ab-mrr29x1f-51747
2026-07-18 16:34:50 -10:00
Nate WienertandGitHub c5d843b4a8 chore(release): add beta/prerelease dist-tag path so prereleases never publish to latest (#4066)
Agentbus-Session: ab-mr2q8mh7-34714
2026-07-02 07:21:33 -10:00
natew ba504e93ef fix: patch detox to force-terminate ws clients before server close (ws 8 close() hangs on lingering app connection, causing iOS detox teardown to time out) 2026-06-16 12:35:53 -10:00
natew 56dd8b0d5d fix: patch brace-expansion 5.x CJS to be callable (react-native codegen does require('brace-expansion')() — fixes iOS pod install 'expand is not a function') 2026-06-16 10:45:46 -10:00
natew a5d673e7a1 chore: clear remaining bun audit advisories to zero
- unpin lodash to 4.18.1 (4.18.0 template.js bug fixed upstream)
- bento-get react-router-dom 7.3.0 -> ^7.18.0
- tamagui.dev: migrate Vercel AI SDK v4 -> v6 (ai/@ai-sdk/provider-utils), bump @discordjs/core + vite-plugin-inspect
- kitchen-sink: webpack-dev-server 4 -> 5
- overrides for upstream/transitive pins: uuid 11, ws 8.21, picomatch 4.0.4, fast-xml-parser 5.9, @opentelemetry/core 2.8, js-yaml 4.2, vite 8.0.16, @discordjs/rest 2.6.1
- patch gray-matter to use js-yaml 4 load/dump (enables js-yaml 4.2 override)
2026-06-16 10:30:21 -10:00
natew 6650fdbfb3 chore: pin patched versions for tmp/hono/protobufjs/brace-expansion/cross-spawn/launch-editor/babel (bun audit) 2026-06-16 09:39:15 -10:00
Nate WienertandGitHub 8bd6241962 fix: pin lodash to 4.17.23 (4.18.0 breaks kitchen-sink webpack build) (#4039)
Hotfix for #4037: lodash 4.18.0 breaks _.template (html-webpack-plugin) -> kitchen-sink build + all integration tests failed on main. Pinned to working 4.17.23. Verified: webpack 0 errors, 42 integration tests pass.
2026-06-14 18:15:00 -10:00
Nate WienertandGitHub 7f7e5c09c1 chore: remove dependabot, fix critical security advisories, add bun audit gate (#4037)
Replaces Dependabot with a bun audit CI gate; fixes all 5 critical advisories via root overrides (handlebars, protobufjs, shell-quote, vitest, happy-dom). Vulnerable modules 54->21, criticals 5->0. Gate: bun audit --audit-level critical, no ignores.
2026-06-14 17:38:03 -10:00
natew 6da6ff8c30 chore: update one and vite 2026-05-14 16:47:15 -10:00
natew 5c255c636c bump versions 2026-03-31 14:19:50 -10:00
natew c37cebe2c6 fix(ci): fix integration + sandbox tests, vite plugin improvements
- switch integration test to rnw-lite (avoids inline-style-prefixer CJS interop)
- fix integration test process cleanup (detached groups, separate ports)
- add inline-style-prefixer to vite plugin optimizeDeps
- enable fixVite8SymlinkExportResolutions in sandbox
- fix trailing comma in build package.json
- ignore UNSORTED_DEPENDENCIES manypkg rule
2026-03-19 10:31:37 -10:00
natew d57ee593c8 chore: upgrade to expo SDK 55, react-native 0.83.2, and align all RN ecosystem deps 2026-03-16 10:53:54 -10:00
natew b2a1bc0c92 chore: upgrade one, vxrn packages to canary 1.10.6-1773682031882 2026-03-16 07:29:06 -10:00
natew 7c9545a7ce canary2.0.0-rc.14-1771325841778 2026-02-17 00:59:23 -10:00
natew 87391aedf7 chore: add react-compiler-check script to scan for compiler compatibility issues 2026-02-16 22:20:51 -10:00
natew 2a8411d6eb email improve, fix deps 2026-02-16 12:38:25 -10:00
natew 56e0135520 cleanup exports 2026-02-16 12:38:25 -10:00
natew 50906f555b fix(exports): add browser condition and fix default export for web bundlers
- Add 'browser' condition to package exports for web bundler compatibility
- Change 'default' export from CJS native to ESM for proper web fallback
- Add test:web script to expo-router-starter for CI
- Add test:native task to turbo.json

This fixes module duplication issues where Metro and other bundlers would
load both ESM and CJS versions of tamagui packages, causing context mismatch
errors like 'Missing theme' during hydration.
2026-02-16 12:38:24 -10:00
natew 9384fa5da0 upgrade bun to v1.3.9 2026-02-15 16:34:39 -10:00
natew c9018b8223 add run script 2026-02-15 11:39:15 -10:00
natew c8c53d72a1 fix: pin [email protected] in Dockerfile and restore starters workspace 2026-02-12 02:06:36 -10:00
natew 0a950345d1 revert: rollback to pre-starters working state to fix site crash 2026-02-12 01:54:09 -10:00
natew 2ebd951796 move starters into workspace to add tests 2026-02-11 13:26:13 -10:00
natew 2f28561ea9 test: full tests for native + non-native AND* exports + non-export configurations 2026-02-10 11:45:09 -10:00
natew 7d0e5a791c chore: remove unused one dep from root devDependencies 2026-02-09 15:56:41 -10:00
natew 000c0bdff0 chore: move one dep to devDependencies, fix version for manypkg check 2026-02-09 15:24:23 -10:00
natew 5f06775755 up one 2026-02-09 14:48:35 -10:00
natew 33c60fc25b fix cancel api 2026-02-09 14:47:26 -10:00
natew ae0750adc4 cleanups 2026-02-07 12:44:53 -10:00
natew 82156f41d0 add parity debug view 2026-02-04 16:33:39 -10:00
natew e992dc1d55 canary2.0.0-rc.1-1770183079077 2026-02-03 19:33:16 -10:00
natew 7d814bd9f5 chore: slight adjustment of line heights on web to avoid too-large at small sizes, and on native to align to Apple HIG 2026-02-03 19:26:40 -10:00
natew 104309765d simplify access checks to just the new pro plan 2026-02-02 06:42:44 -10:00
natew 05efcb85c3 fix(deps): align dependency versions for manypkg check 2026-01-31 14:05:31 -10:00