fix(vscode): persist Agent Manager dialog selections - #12927
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Both previous warnings (unvalidated restored agent/model) are resolved in Files Reviewed (1 file)
Previous Review Summary (commit 58f8b02)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 58f8b02)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Files Reviewed (2 files)
The persistence mechanism itself is solid: type validation in Reviewed by kimi-k3 · Input: 68.8K · Output: 10.4K · Cached: 842.6K Review guidance: REVIEW.md from base branch |
…-state fix(vscode): persist Agent Manager dialog selections
The Agent Manager New Worktree dialog reset model, variant, mode, and sandbox selections whenever it closed, forcing repeated setup while the prompt draft remained. Persist these selections in webview state and restore them on the next open. Stored values are validated before use, and the server sandbox response remains authoritative. This includes a patch changeset for the user-facing fix.