Skip to content

feat(vscode): proposal for WendyOS#1202 - #48

Merged
Joannis merged 1 commit into
mainfrom
vscode-update/WendyOS-1202
Jul 4, 2026
Merged

feat(vscode): proposal for WendyOS#1202#48
Joannis merged 1 commit into
mainfrom
vscode-update/WendyOS-1202

Conversation

@Joannis

@Joannis Joannis commented Jun 27, 2026

Copy link
Copy Markdown
Member

The CLI PR adds wendy project optimize — a new subcommand under wendy project that 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 --arch flags, 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:

  1. ProjectManager.ts: Add an optimizeProject method that wraps wendy project optimize, accepting an options bag for --fix, --json, --severity, and --arch, and returning the raw stdout (JSON or human text).
  2. package.json: Register a wendy.optimizeProject palette command and a wendy.optimizeProjectFix palette command (for the common --fix variant).
  3. extension.ts: Register both commands — wendy.optimizeProject runs the analyzer and surfaces findings in the output channel; wendy.optimizeProjectFix also passes --fix and reports applied fixes.

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
Joannis force-pushed the vscode-update/WendyOS-1202 branch from fa61cd5 to 101ffd0 Compare July 4, 2026 17:14
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown

Test build ready

Download the .vsix from the workflow run artifacts.

@Joannis
Joannis merged commit c9a2515 into main Jul 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant