feat(vscode): proposal for WendyOS#1202 - #48
Merged
Conversation
Re-implemented on current main. Adds ProjectManager.optimizeProject wrapping `wendy project optimize` (options for --fix/--json/--severity/ --arch, tolerating the exit-code-1 "findings present" case), and two palette commands: wendy.optimizeProject (analyze) and wendy.optimizeProjectFix (analyze + --fix), surfacing output in the WendyOS output channel. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017pMd7DjVxc1dut3LspLcsS
Joannis
force-pushed
the
vscode-update/WendyOS-1202
branch
from
July 4, 2026 17:14
fa61cd5 to
101ffd0
Compare
Test build readyDownload the |
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.
The CLI PR adds
wendy project optimize— a new subcommand underwendy projectthat statically analyzes a project's build configuration for missed optimizations. It supports--fix(apply safe deterministic fixes),--agentic(emit a context bundle),--json,--severity <info|warning|error>, and--archflags, and exits 0 (no findings), 1 (findings ≥ threshold), or 2 (error).The extension should expose this command so developers can invoke it from VS Code's command palette without switching to the terminal. Specifically:
ProjectManager.ts: Add anoptimizeProjectmethod that wrapswendy project optimize, accepting an options bag for--fix,--json,--severity, and--arch, and returning the raw stdout (JSON or human text).package.json: Register awendy.optimizeProjectpalette command and awendy.optimizeProjectFixpalette command (for the common--fixvariant).extension.ts: Register both commands —wendy.optimizeProjectruns the analyzer and surfaces findings in the output channel;wendy.optimizeProjectFixalso passes--fixand reports applied fixes.