Repository navigation
feat(desktop): draw @hanzo/app 0.3.107, the shell hanzo.app runs - #10
Merged
Merged
Conversation
The window drew @hanzo/app 0.2.63, so the rail's captions (hanzo-inc/app issue 315), short device and shell names with Rename (issue 311) and pins never reached it. It now pins the stack hanzo-inc/app's catalog does: @hanzo/app 0.3.107, ai 0.7.0, ui 8.33.6 (with that repo's patch), build 0.2.130, studio 0.1.15, design 0.5.44, event 0.3.69, iam 0.21.42, appearance 0.2.15, i18n 0.6.1, and @hanzo/tabs at the hanzo-inc/tabs commit its lock holds (npm stops at 0.1.7, under 0.3's floor of 0.1.8). The 0.2.63 patch is rebuilt for 0.3.107 with only what 0.3 lacks: - A signed-out window chats with the local engine through the signed-in lane. 0.3 sends a visitor's turn to /v1/chat/public as enso, alone, for a few turns and then asks for a sign-in; here `sendAnon` queues the turn instead, so the whole conversation, the picked local model and any pictures go to the window's fetch bridge as before. - Pictures and text files a signed-out reader attaches are read in the window (pane.js), and a failed turn offers Select / Download Local Model and Manage Local Node. - The shortcut list names the window's ⌘N and ⌘⇧M; Google Workspace stays off in the window. The rest of the old patch is in 0.3 or replaced by it (the rail's More, the in-app upgrade, usage banners, Setup's GitHub fixes, ⌘K's defaultPrevented), so it goes. @hanzo/build 0.2.130 carries its patch. The window's own side: `Bar` is `Titlebar`, whose `controls` slot holds Local AI (and keeps 0.3's own window buttons off Windows and Linux, which have the native title bar). ⌘N and ⌘⇧M are the window's (windowKey), since 0.3 binds neither. The bundled window opens on /index.html, which 0.3's Gate does not treat as Chat, so it is renamed /chat at start. Folded, 0.3 sizes the bar's start to the rail and Back and Forward sat over the page's title; the start now takes what the inset and marks need. version.sh: Cargo.toml now repeats package.json's version (f7b0bac and src-tauri/build.rs require it), so the drift gate checks equality rather than 0.0.0, which turned main red. Testing: pnpm typecheck; pnpm test (19 files, 191 tests); vite build; scripts/version.sh check on a branch and as tag v1.1.57; the window drawn signed out in a browser: the folded rail reads Chat, Dev, Library, a message goes to the local lane and its failure offers the local engine. Part of hanzo-inc/app#315 and hanzo-inc/app#311. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of hanzo-inc/app#315 and hanzo-inc/app#311.
Hanzo Desktop drew
@hanzo/app0.2.63, so the folded rail's captions (hanzo-inc/app#315), the short device and shell names with Rename (hanzo-inc/app#311), and pinned sidebar items never reached the window. This moves the window to 0.3.107, the shell hanzo.app runs, with the same stack hanzo-inc/app's catalog pins.Stack
@hanzo/app@hanzo/ai@hanzo/ui@hanzo/build@hanzo/studio@hanzo/design/event/iam/appearance@hanzo/i18n@hanzo/tabsThe @hanzo/app patch, rebuilt for 0.3.107
Kept, because 0.3 does not do it:
/v1/chat/publicasenso, without the conversation, for a few turns, then asks for a sign-in. HeresendAnonqueues the turn instead, so the whole conversation, the picked local model and any pictures reach the window's fetch bridge (host.tsx) as they did on 0.2.pane.js). A failed turn offers Select / Download Local Model and Manage Local Node.Dropped, because 0.3 has it or replaces it:
defaultPrevented@hanzo/build0.2.130 already carries its patch. Studio's patch applies to 0.1.15 unchanged.The window's side
Baris nowTitlebar. Itscontrolsslot holds the Local AI button. It also keeps 0.3's own minimise/maximise/close off Windows and Linux, which keep the native title bar.windowKey), since 0.3 binds neither./index.html. 0.3's Gate only treats/chatas Chat for a guest, so that address is renamed/chatat start.Version gate
f7b0bac set
Cargo.tomlto 1.1.57 and madebuild.rsrequire it to equalpackage.json.scripts/version.shstill required 0.0.0, which turned main's CI red. It now checks equality.Testing
pnpm typecheck: clean.pnpm test: 19 files, 191 tests pass.vite build(build:ci): succeeds.scripts/version.sh checkpasses on a branch and withGITHUB_REF_TYPE=tag GITHUB_REF_NAME=v1.1.57./becomes/chat.rail-caption).Risk
Chat.jsandpane.js. A later@hanzo/appbump has to carry the patch again. It fails loudly: pnpm refuses an unapplicable patch, and the tests read the patched files.app.css). This change does not affect that.How to revert
Revert the squash commit. That restores 0.2.63 and its patch; the lockfile reverts with it.