Repository navigation
Complete Phase 4 VS Code Deep Integration - #6
Merged
Merged
Conversation
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.
Complete Phase 4 VS Code Deep Integration
Summary
This PR completes the Phase 4 VS Code deep integration work for ProleCoder, moving the extension from the Phase 3 RPC foundation into a fuller editor experience with native VS Code chat, richer run control, approval UX, packaging smoke checks, and deterministic extension-host coverage.
It adds shared protocol support for provider capabilities, event batching, cancellation, run list/resume, FIM previews, persistent approvals, and hunk-level patch approvals, then wires those capabilities through the Rust RPC server, Agent Core, CLI, and VS Code extension.
What Changed
Added native VS Code integration paths:
@proleChat Participant registration and turn runneragent.sendTurn/agent.cancelagent.resumereplay supportagent.sendTurn.attachmentsExpanded approval and tool-control behavior:
apply_patchhunk-level approval metadata and filtering are implementedAdded model/provider integration:
agent.initializeagent.previewFimRPC method and VS Code inline completion providerImproved RPC and event infrastructure:
agent.eventBatchnotification supportAdded packaging and E2E validation:
@vscode/test-electronextension-host harnessUpdated documentation:
Testing
cargo test --workspacepnpm -r typecheckpnpm -r lintpnpm -r testpnpm run vscode:test-electronpnpm run vsix:smokepnpm run vsix:alphagit diff --checkNotes
DEEPSEEK_API_KEYto be provided through the existing CLI/RPC environment path.apply_patchunified diff workflows.