Add JJ VCS driver support

- Detect and route jj repositories alongside git
- Thread VCS kind through status and UI labels
- Add jj driver contract coverage and shared freshness helper
This commit is contained in:
Julius Marminge committed 2026-05-02 19:03:07 -07:00
1 parent 0ce7e56e43
commit 1a5be6cc2b
30 files changed
+836 -86

No files matched your search

+2
View File
@@ -230,6 +230,7 @@ function toRemoteStatusPart(status: VcsStatusResult): VcsStatusRemoteResult {
function toLocalStatusPart(status: VcsStatusResult): VcsStatusLocalResult {
return {
kind: status.kind,
isRepo: status.isRepo,
...(status.sourceControlProvider
? { sourceControlProvider: status.sourceControlProvider }
@@ -255,6 +256,7 @@ export function applyGitStatusStreamEvent(
if (current === null) {
return mergeGitStatusParts(
{
kind: "unknown",
isRepo: true,
hasPrimaryRemote: false,
isDefaultRef: false,