Fix bypass permissions + dependency upgrades #81
Merged
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
This PR contains a bug fix for the VSCode extension and dependency upgrades.
Bug Fix: Bypass Permissions
Fixed the "bypass permissions" feature in the VSCode extension which was not working due to two issues:
Wrong key for settings lookup - The code was using the agent's display name (e.g., "Claude Code") instead of the agentId (e.g., "zed-claude-code") when storing/retrieving bypass permission settings.
Missing entry creation - The code assumed the agent already had a settings entry. If it didn't exist, the conditional check failed silently and the setting was never saved.
Both the main approval handler and the test helper now correctly use agentId and create the settings entry if needed.
Dependency Upgrades
Updated to latest versions:
elizacp: 10.0.0 → 11.0.0 (includes API change:ElizaAgent::new()now takes adeterministic: boolparameter)sacp: 10.0.0 → 10.1.0sacp-tokio: 10.0.0 → 10.1.0sacp-conductor: 10.0.0 → 10.0.1sacp-rmcp: 10.0.0 → 10.0.1sacp-tee: 10.0.0 → 10.0.1yopo: 10.0.0 → 10.0.1Also removed unused
sacp-testworkspace dependency.