Skip to content

feat(desktop): Dev works in a folder on this computer, Auto picks the one used last (1.1.58) - #11

Merged
Darkhorse7stars merged 1 commit into
mainfrom
feat/309-310-local-folder
Nov 21, 2026
Merged

Darkhorse7stars merged 1 commit into
mainfrom
feat/309-310-local-folder

Conversation

@Darkhorse7stars

Copy link
Copy Markdown
Member

Part of hanzo-inc/app#309 and hanzo-inc/app#310.

What changes

  • @hanzo/app 0.3.109 + @hanzo/build 0.2.132 (@hanzo/app 0.3.109: Dev on Hanzo Desktop works in a folder on this computer, no repository needed app#77, @hanzo/build 0.2.132: a run needs no repository; This computer runs in a folder, Auto picks the one used last build#36). In the window, Dev's New now starts on This computer with Folder: Auto, the folder used most recently. Any folder opened before is one choice away, and Choose folder… opens the window's own dialog. A first send with no folder asks for one.
  • The run is the window's existing 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 an npm install -g @hanzo/dev agent is found. The main window already grants allow-local-workspace-open-dialog and allow-local-workspace-run-dev; no Rust change.
  • Dev also no longer stops a run on one of the org's machines to ask for a repository.
  • Patch: patches/@hanzo__app@0.3.109.patch has 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.
  • 1.1.58 in package.json, Cargo.toml and Cargo.lock. minimumReleaseAgeExclude keeps 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.js carries 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.
  • The UI flow itself is covered in @hanzo/build's src/e2e/local.spec.ts, which runs New against a stub computer (4/4). The adapter is covered in @hanzo/app's src/lib/local-fs.test.ts, which stubs the window's IPC with the desktop's real {session_id, output, success} answer (7/7).

… 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>
@Darkhorse7stars
Darkhorse7stars merged commit fbc579a into main Nov 21, 2026
5 checks passed
@Darkhorse7stars
Darkhorse7stars deleted the feat/309-310-local-folder branch November 21, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant