Skip to content

fix(automation): launch agent desktop npm script on windows - #978

Merged
nixuuu merged 1 commit into
devfrom
fix/launch-agent-desktop-windows
Nov 18, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/launch-agent-desktop-windows

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Resolve the Windows npm shim through the package manifest and run the extensionless Agent Desktop 1.3.1 launcher through Node.js when its shebang identifies it as a Node script. This covers version checks, readiness, and normal tool invocations.
  • Compare the reported CLI version with the pinned version and report launch failures separately from version mismatches.
  • Add regression coverage for the Windows npm layout, a prefix containing spaces, version and readiness probes, and rejection of a prerelease.

Fixes: #846

Verification

  • On nix-pc (Linux), commit ae652824 passed all 24 tests in install.test.ts and adapters.test.ts under apps/worker/src/agent-tools via check:tmp.
  • Targeted lint and worker typecheck passed. The published launcher also returned agent-desktop 1.3.1 when run through Node.js on Linux.
  • Native Windows 11 installation, execution of the Windows binary, and GUI readiness still need verification. GitHub CI and review remain the merge gates.

@nixuuu
nixuuu enabled auto-merge (squash) November 18, 2026 16:27
@nixuuu
nixuuu merged commit c2d6ca9 into dev Nov 18, 2026
27 of 29 checks passed
@nixuuu
nixuuu deleted the fix/launch-agent-desktop-windows branch November 18, 2026 18:15
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