@myagentroam/protocol 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +90 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26758,6 +26758,20 @@ export declare const workspaceGitWorktreeSummarySchema: z.ZodObject<{
|
|
|
26758
26758
|
prunable: boolean;
|
|
26759
26759
|
}>;
|
|
26760
26760
|
export type WorkspaceGitWorktreeSummary = z.infer<typeof workspaceGitWorktreeSummarySchema>;
|
|
26761
|
+
export declare const workspaceGitTrackingSchema: z.ZodObject<{
|
|
26762
|
+
upstream: z.ZodString;
|
|
26763
|
+
ahead: z.ZodNumber;
|
|
26764
|
+
behind: z.ZodNumber;
|
|
26765
|
+
}, "strip", z.ZodTypeAny, {
|
|
26766
|
+
upstream: string;
|
|
26767
|
+
ahead: number;
|
|
26768
|
+
behind: number;
|
|
26769
|
+
}, {
|
|
26770
|
+
upstream: string;
|
|
26771
|
+
ahead: number;
|
|
26772
|
+
behind: number;
|
|
26773
|
+
}>;
|
|
26774
|
+
export type WorkspaceGitTracking = z.infer<typeof workspaceGitTrackingSchema>;
|
|
26761
26775
|
export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<{
|
|
26762
26776
|
repositoryPath: z.ZodString;
|
|
26763
26777
|
repositoryName: z.ZodString;
|
|
@@ -26766,6 +26780,19 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
|
|
|
26766
26780
|
physicalPath: z.ZodOptional<z.ZodString>;
|
|
26767
26781
|
current: z.ZodOptional<z.ZodBoolean>;
|
|
26768
26782
|
branch: z.ZodNullable<z.ZodString>;
|
|
26783
|
+
tracking: z.ZodOptional<z.ZodObject<{
|
|
26784
|
+
upstream: z.ZodString;
|
|
26785
|
+
ahead: z.ZodNumber;
|
|
26786
|
+
behind: z.ZodNumber;
|
|
26787
|
+
}, "strip", z.ZodTypeAny, {
|
|
26788
|
+
upstream: string;
|
|
26789
|
+
ahead: number;
|
|
26790
|
+
behind: number;
|
|
26791
|
+
}, {
|
|
26792
|
+
upstream: string;
|
|
26793
|
+
ahead: number;
|
|
26794
|
+
behind: number;
|
|
26795
|
+
}>>;
|
|
26769
26796
|
head: z.ZodOptional<z.ZodString>;
|
|
26770
26797
|
status: z.ZodOptional<z.ZodEnum<["CLEAN", "DIRTY", "UNAVAILABLE"]>>;
|
|
26771
26798
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -26838,6 +26865,11 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
|
|
|
26838
26865
|
locked?: boolean | undefined;
|
|
26839
26866
|
prunable?: boolean | undefined;
|
|
26840
26867
|
physicalPath?: string | undefined;
|
|
26868
|
+
tracking?: {
|
|
26869
|
+
upstream: string;
|
|
26870
|
+
ahead: number;
|
|
26871
|
+
behind: number;
|
|
26872
|
+
} | undefined;
|
|
26841
26873
|
}, {
|
|
26842
26874
|
source: "ROOT" | "SUBMODULE" | "WORKTREE";
|
|
26843
26875
|
repositoryPath: string;
|
|
@@ -26865,6 +26897,11 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
|
|
|
26865
26897
|
locked?: boolean | undefined;
|
|
26866
26898
|
prunable?: boolean | undefined;
|
|
26867
26899
|
physicalPath?: string | undefined;
|
|
26900
|
+
tracking?: {
|
|
26901
|
+
upstream: string;
|
|
26902
|
+
ahead: number;
|
|
26903
|
+
behind: number;
|
|
26904
|
+
} | undefined;
|
|
26868
26905
|
}>, {
|
|
26869
26906
|
source: "ROOT" | "SUBMODULE" | "WORKTREE";
|
|
26870
26907
|
repositoryPath: string;
|
|
@@ -26892,6 +26929,11 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
|
|
|
26892
26929
|
locked?: boolean | undefined;
|
|
26893
26930
|
prunable?: boolean | undefined;
|
|
26894
26931
|
physicalPath?: string | undefined;
|
|
26932
|
+
tracking?: {
|
|
26933
|
+
upstream: string;
|
|
26934
|
+
ahead: number;
|
|
26935
|
+
behind: number;
|
|
26936
|
+
} | undefined;
|
|
26895
26937
|
}, {
|
|
26896
26938
|
source: "ROOT" | "SUBMODULE" | "WORKTREE";
|
|
26897
26939
|
repositoryPath: string;
|
|
@@ -26919,6 +26961,11 @@ export declare const workspaceChangesRepositorySchema: z.ZodEffects<z.ZodObject<
|
|
|
26919
26961
|
locked?: boolean | undefined;
|
|
26920
26962
|
prunable?: boolean | undefined;
|
|
26921
26963
|
physicalPath?: string | undefined;
|
|
26964
|
+
tracking?: {
|
|
26965
|
+
upstream: string;
|
|
26966
|
+
ahead: number;
|
|
26967
|
+
behind: number;
|
|
26968
|
+
} | undefined;
|
|
26922
26969
|
}>;
|
|
26923
26970
|
export type WorkspaceChangesRepository = z.infer<typeof workspaceChangesRepositorySchema>;
|
|
26924
26971
|
export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
@@ -26956,6 +27003,19 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
26956
27003
|
physicalPath: z.ZodOptional<z.ZodString>;
|
|
26957
27004
|
current: z.ZodOptional<z.ZodBoolean>;
|
|
26958
27005
|
branch: z.ZodNullable<z.ZodString>;
|
|
27006
|
+
tracking: z.ZodOptional<z.ZodObject<{
|
|
27007
|
+
upstream: z.ZodString;
|
|
27008
|
+
ahead: z.ZodNumber;
|
|
27009
|
+
behind: z.ZodNumber;
|
|
27010
|
+
}, "strip", z.ZodTypeAny, {
|
|
27011
|
+
upstream: string;
|
|
27012
|
+
ahead: number;
|
|
27013
|
+
behind: number;
|
|
27014
|
+
}, {
|
|
27015
|
+
upstream: string;
|
|
27016
|
+
ahead: number;
|
|
27017
|
+
behind: number;
|
|
27018
|
+
}>>;
|
|
26959
27019
|
head: z.ZodOptional<z.ZodString>;
|
|
26960
27020
|
status: z.ZodOptional<z.ZodEnum<["CLEAN", "DIRTY", "UNAVAILABLE"]>>;
|
|
26961
27021
|
locked: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -27028,6 +27088,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
27028
27088
|
locked?: boolean | undefined;
|
|
27029
27089
|
prunable?: boolean | undefined;
|
|
27030
27090
|
physicalPath?: string | undefined;
|
|
27091
|
+
tracking?: {
|
|
27092
|
+
upstream: string;
|
|
27093
|
+
ahead: number;
|
|
27094
|
+
behind: number;
|
|
27095
|
+
} | undefined;
|
|
27031
27096
|
}, {
|
|
27032
27097
|
source: "ROOT" | "SUBMODULE" | "WORKTREE";
|
|
27033
27098
|
repositoryPath: string;
|
|
@@ -27055,6 +27120,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
27055
27120
|
locked?: boolean | undefined;
|
|
27056
27121
|
prunable?: boolean | undefined;
|
|
27057
27122
|
physicalPath?: string | undefined;
|
|
27123
|
+
tracking?: {
|
|
27124
|
+
upstream: string;
|
|
27125
|
+
ahead: number;
|
|
27126
|
+
behind: number;
|
|
27127
|
+
} | undefined;
|
|
27058
27128
|
}>, {
|
|
27059
27129
|
source: "ROOT" | "SUBMODULE" | "WORKTREE";
|
|
27060
27130
|
repositoryPath: string;
|
|
@@ -27082,6 +27152,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
27082
27152
|
locked?: boolean | undefined;
|
|
27083
27153
|
prunable?: boolean | undefined;
|
|
27084
27154
|
physicalPath?: string | undefined;
|
|
27155
|
+
tracking?: {
|
|
27156
|
+
upstream: string;
|
|
27157
|
+
ahead: number;
|
|
27158
|
+
behind: number;
|
|
27159
|
+
} | undefined;
|
|
27085
27160
|
}, {
|
|
27086
27161
|
source: "ROOT" | "SUBMODULE" | "WORKTREE";
|
|
27087
27162
|
repositoryPath: string;
|
|
@@ -27109,6 +27184,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
27109
27184
|
locked?: boolean | undefined;
|
|
27110
27185
|
prunable?: boolean | undefined;
|
|
27111
27186
|
physicalPath?: string | undefined;
|
|
27187
|
+
tracking?: {
|
|
27188
|
+
upstream: string;
|
|
27189
|
+
ahead: number;
|
|
27190
|
+
behind: number;
|
|
27191
|
+
} | undefined;
|
|
27112
27192
|
}>, "many">;
|
|
27113
27193
|
worktrees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27114
27194
|
directoryName: z.ZodString;
|
|
@@ -27191,6 +27271,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
27191
27271
|
locked?: boolean | undefined;
|
|
27192
27272
|
prunable?: boolean | undefined;
|
|
27193
27273
|
physicalPath?: string | undefined;
|
|
27274
|
+
tracking?: {
|
|
27275
|
+
upstream: string;
|
|
27276
|
+
ahead: number;
|
|
27277
|
+
behind: number;
|
|
27278
|
+
} | undefined;
|
|
27194
27279
|
}[];
|
|
27195
27280
|
partial?: boolean | undefined;
|
|
27196
27281
|
worktrees?: {
|
|
@@ -27247,6 +27332,11 @@ export declare const workspaceChangesSummarySchema: z.ZodObject<{
|
|
|
27247
27332
|
locked?: boolean | undefined;
|
|
27248
27333
|
prunable?: boolean | undefined;
|
|
27249
27334
|
physicalPath?: string | undefined;
|
|
27335
|
+
tracking?: {
|
|
27336
|
+
upstream: string;
|
|
27337
|
+
ahead: number;
|
|
27338
|
+
behind: number;
|
|
27339
|
+
} | undefined;
|
|
27250
27340
|
}[];
|
|
27251
27341
|
partial?: boolean | undefined;
|
|
27252
27342
|
worktrees?: {
|
package/dist/index.js
CHANGED
|
@@ -2613,6 +2613,11 @@ export const workspaceGitWorktreeSummarySchema = z
|
|
|
2613
2613
|
prunable: z.boolean()
|
|
2614
2614
|
})
|
|
2615
2615
|
.strict();
|
|
2616
|
+
export const workspaceGitTrackingSchema = z.object({
|
|
2617
|
+
upstream: z.string().min(1).max(512),
|
|
2618
|
+
ahead: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
2619
|
+
behind: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER)
|
|
2620
|
+
});
|
|
2616
2621
|
export const workspaceChangesRepositorySchema = z
|
|
2617
2622
|
.object({
|
|
2618
2623
|
repositoryPath: z.string().max(4096),
|
|
@@ -2622,6 +2627,7 @@ export const workspaceChangesRepositorySchema = z
|
|
|
2622
2627
|
physicalPath: z.string().min(1).max(4096).optional(),
|
|
2623
2628
|
current: z.boolean().optional(),
|
|
2624
2629
|
branch: z.string().max(512).nullable(),
|
|
2630
|
+
tracking: workspaceGitTrackingSchema.optional(),
|
|
2625
2631
|
head: z
|
|
2626
2632
|
.string()
|
|
2627
2633
|
.regex(/^[0-9a-f]{40,64}$/)
|