Skip to content

Conversation

ClayWarren
Copy link

This PR introduces support for Jujutsu as a new VCS option in Claude Squad.
2
3 ### Changes
4 - VCS Abstraction: Introduced a VCS interface to abstract version control operations, allowing for easy integration of new VCS types.
5 - GitWorktree Implementation: The existing Git functionality has been refactored to implement the new VCS interface.
6 - JujutsuVCS Implementation: Implemented basic Jujutsu operations (diff, commit, push, branch management) using jj commands.
7 - Configuration: Added a VCSType field to the application configuration, allowing users to select their preferred VCS.
8 - Application Integration: Modified core application logic to use the VCS interface, ensuring compatibility with different VCS types.
9 - Test Updates: Updated existing tests and added new ones to cover the VCS abstraction and Jujutsu integration.
10
11 This allows users to leverage Jujutsu's capabilities within the existing Claude Squad workflow, expanding the tool's versatility.
12
13 Closes #104

This commit refactors the GitWorktree implementation by consolidating
its methods and struct definition into a single file. It also
corrects various import paths and field access issues across the
codebase, ensuring consistency with the  module name.

Key changes include:
- Consolidated  struct and methods into .
- Updated  struct in  with public fields and  method.
- Corrected import paths from  to  across relevant files.
- Adjusted  to correctly handle  return.
- Updated  to reflect changes in 's  function.
- Added missing imports and fixed variable declarations in .
Copy link

github-actions bot commented Jun 29, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@ClayWarren
Copy link
Author

I have read the CLA Document and I hereby sign the CLA


return nil
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting all the vcs implementations in the same file seems suboptimal.

@tskimmett
Copy link

You didn't actually implement the JujutsuVCS though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: jujutsu support

2 participants