feat(pm-desktop): validate required tools on launch - #12
Merged
Conversation
…so users know they can work before opening a project
Contributor
Author
|
@devintern-internal bump the version of the pm-desktop for release |
added 2 commits
August 18, 2026 12:23
- Honor active harness CLI overrides from process and remembered project environments before gating startup.\n- Refetch required-tool validation whenever the desktop app regains focus.\n- Verify the resolved Git executable with a bounded git --version probe.
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.
Summary
DAN-6: PM Desktop is not a self-contained agent runtime — ticket work needs Git and at least one supported agent CLI on PATH. Until now that only failed later, as a spawn error after the user had already opened a project.
On launch the app now probes the same PATH it uses to spawn agents (including common GUI-launch locations that a dock/launcher start would otherwise miss). If a required tool is missing, a blocking screen names it and how to install it. Check again (or focusing the window after installing) re-runs the probe. When the check passes there is no extra confirmation step — the usual welcome / last-project restore continues.
pm:validate-required-toolsTest plan
bun run --filter '*' testand typecheck)bun run --filter @devintern/pm-desktop test(coversvalidate-tools,tool-validation,RequiredToolsGate)bun run devinpackages/pm-desktopwith Git + an agent CLI present — no gate, last project restores as before~/.local/bin/ Homebrew) — gate lists the missing tool and install hint