Repository navigation
feat(desktop): Dev works in a folder on this computer, Auto picks the one used last (1.1.58) - #11
Merged
Merged
Conversation
… one used last (1.1.58) hanzo-inc/app issues 309 and 310. - @hanzo/app 0.3.109 and @hanzo/build 0.2.132. Dev's New on the desktop now starts on This computer with Folder: Auto, the folder used most recently; Choose folder... opens the window's dialog. The run is the existing local_workspace_run_dev (`dev exec -C <folder>`): no repository, no GitHub, nothing sent to the platform. Dev also no longer stops a run on one of the org's machines to ask for a repository. - The @hanzo/app patch moves to 0.3.109 with the same changes; Chat.js's hunks only moved, and pnpm's patcher takes no offset, so it is regenerated against the published 0.3.109. - 1.1.58 in package.json, Cargo.toml and Cargo.lock. 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#309 and hanzo-inc/app#310.
What changes
local_workspace_run_dev(dev exec --skip-git-repo-check -C <folder>). It needs no repository and no GitHub, stays in that folder (the agent's workspace-write sandbox), and sends nothing to the platform. Its output shows under the composer.fix_path_env::fix()already gives the window the login shell's PATH, so annpm install -g @hanzo/devagent is found. The main window already grantsallow-local-workspace-open-dialogandallow-local-workspace-run-dev; no Rust change.patches/@hanzo__app@0.3.109.patchhas exactly the same changed lines as the 0.3.107 one. Chat.js's hunks moved (0.3.108 edited Chat), and pnpm's patcher takes no offset, so it is regenerated against the published 0.3.109.minimumReleaseAgeExcludekeeps the previous pins beside the new ones, as it does for earlier versions.Checked
scripts/version.sh check: declared 1.1.58, published 1.1.57, OK.pnpm install --frozen-lockfile: the patch applies;node_modules/@hanzo/app/dist/Chat.jscarries it.pnpm typecheck: pass.pnpm -F hanzo-desktop build:ci: builds. The bundle has the This computer path and no longer has the "Choose the project this run works on" stop.src/e2e/local.spec.ts, which runs New against a stub computer (4/4). The adapter is covered in @hanzo/app'ssrc/lib/local-fs.test.ts, which stubs the window's IPC with the desktop's real{session_id, output, success}answer (7/7).