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 09:34:41 -07:00
1 parent 128b432bee
commit c31becadc7
30 files changed
+838 -44

No files matched your search

+2
View File
@@ -1,6 +1,7 @@
import { Schema } from "effect";
import { NonNegativeInt, PositiveInt, ThreadId, TrimmedNonEmptyString } from "./baseSchemas.ts";
import { SourceControlProviderError, SourceControlProviderInfo } from "./sourceControl.ts";
import { VcsDriverKind } from "./vcs.ts";
const TrimmedNonEmptyStringSchema = TrimmedNonEmptyString;
const GIT_LIST_BRANCHES_MAX_LIMIT = 200;
@@ -194,6 +195,7 @@ const VcsStatusChangeRequest = Schema.Struct({
});
const VcsStatusLocalShape = {
kind: VcsDriverKind,
isRepo: Schema.Boolean,
sourceControlProvider: Schema.optional(SourceControlProviderInfo),
hasPrimaryRemote: Schema.Boolean,