Commit d46e8ef
feat: add approval handler for VM vsock communication (#495)
* feat: add approval handler for VM vsock communication
- Create ApprovalHandler that implements VsockMessageHandler
- Allow guest VMs to request approval for red actions via vsock
- Support all change types: file_create, file_edit, file_delete, command_exec, email_send, external_call, asset_transfer
- Add test mode for auto-approval in testing scenarios
- Integrate with existing ApprovalManager and TUI system
Closes #493
* fix: gate approval_handler module with cfg(unix) for Windows compatibility
The approval_handler module imports VsockMessageHandler from the vsock
module, which is only available on Unix systems. This fix gates the
approval_handler module with #[cfg(unix)] to prevent Windows build failures.
---------
Co-authored-by: Auto Merge Bot <auto-merge@ironclaw.app>1 parent f307f5c commit d46e8ef
2 files changed
Lines changed: 424 additions & 0 deletions
0 commit comments