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:
1 parent
128b432bee
commit
c31becadc7
30 files changed
+838
-44
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user