Enhance Apple Silicon Support and Implement Code Diff Review
What's Changed
This release improves support for newer M4 Macs with Apple Silicon (arm64) architecture and a new interactive code diff review system within the editor.
- Apple Silicon (arm64) Support for M4:
- The backend installer now detects the system architecture and uses a dedicated Python bundle for Apple Silicon (
python_aarch64), ensuring native performance and compatibility.
- The backend installer now detects the system architecture and uses a dedicated Python bundle for Apple Silicon (
- Interactive Code Diff Review:
- A new feature allows users to review, accept, or reject changes proposed by the agent directly within the code editor.
- This is powered by a new CodeMirror extension (
diffHighlight) that visually highlights proposed changes. - A new review UI has been added to the inline editor, providing controls to navigate between diffs, accept/reject individual changes, or apply/discard all changes at once.
- WYSIWYG Editor Enhancements:
- Added support for task lists (checkboxes) in the markdown editor.
- Dependency Updates:
- Added
diff-match-patchandunist-util-visitto support the new diffing and AST traversal functionalities.
- Added
- General Refinements:
- Improved file type detection for
json,xml,yaml, andymlfiles, now correctly categorizing them as code.
- Improved file type detection for
Impact
- Improved Performance on Apple Silicon: Users on M-series Macs will now run a native arm64 version of the Python backend, leading to better performance and lower resource consumption.
- Enhanced User Workflow: The new diff review system provides a much more intuitive and controlled way for users to manage agent-proposed code changes.
- New Dependencies: This PR adds
diff-match-patchandunist-util-visit.
PRs
- feat: Enhance Apple Silicon Support and Implement Code Diff Review by @damianvtran in #72
Full Changelog: v0.12.2...v0.12.3