mirror of
https://github.com/hanzoai/desktop.git
synced 2026-10-30 14:58:42 +00:00
* fix: source DialogClose from the UI lib (one radix context) to fix wallet-creation crash
* fix: target hanzo's sovereign L1 chainId 36963 (was 36900 drift / 96369 Lux C-Chain)
* feat: native Rust on-chain claim signer (mining/claim.rs) — secp256k1 EIP-1559 tx to 0x0300 verifyAndMintWork
* fix(hanzo-auth): PKCE public client — drop hardcoded client_secret
Native desktop OAuth must not ship a client_secret. Switch to PKCE (S256) and
POST the canonical /v1/iam/oauth/token. Removes a plaintext OAuth secret from
the frontend bundle. Same {login} hook contract — no consumer change.
* fix(hanzo): web3.hanzo.ai endpoints + Zen ensō logo + render guards
- brand-config/brand.ts/wallet.ts: hanzo web3 surface → web3.hanzo.ai
(rpc api.web3.hanzo.ai, explorer explorer.hanzo.network — verified live)
- llm-provider.tsx: Zen ensō for local Zen models (not OpenAI knot)
- main-layout.tsx: Box/Boxes/Coins lucide imports (fix nav ReferenceError)
- main.rs/tauri.conf.json: WEBKIT_DISABLE_DMABUF guard + devUrl :1420
* fix(keygen): inject sha512 for noble-ed25519 v2 (WebKit has no crypto.subtle)
@noble/ed25519 v2.x ships no hashing impl; getPublicKeyAsync/sign throw in
the WebKit webview, silently stalling onboarding. Inject SHA-512 via the
already-present @noble/hashes dependency.
Extracted from PR #12 (local-gpu-engine-zen-branding, commit 4f69e7005) — the
only self-contained, non-superseded fix from that branch; the rest of its Rust
backend (embedded engine, ollama, command renames) is superseded by main's
native engine + mining + machines, and its brand/i18n/model-catalog changes are
older than main + the dep stream (would regress chainId 36963, web3.hanzo.ai,
Zen4-first catalog, and blank {{appName}} strings).