Skip to content

Enhance Apple Silicon Support and Implement Code Diff Review

Choose a tag to compare

@damianvtran damianvtran released this 15 Jun 21:34
· 31 commits to main since this release
d3a4f02

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.
  • 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-patch and unist-util-visit to support the new diffing and AST traversal functionalities.
  • General Refinements:
    • Improved file type detection for json, xml, yaml, and yml files, now correctly categorizing them as code.

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-patch and unist-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