@getmateo/protocol 0.18.0 → 0.19.1
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/daemon-auth.d.ts +32 -0
- package/dist/daemon-auth.js +2 -0
- package/dist/generated/validation/ws-outbound-schema-metadata.d.ts +66 -0
- package/dist/generated/validation/ws-outbound.aot.js +1215 -1035
- package/dist/messages.d.ts +251 -0
- package/dist/messages.js +8 -0
- package/dist/plugin-browser-consent-copy.d.ts +18 -0
- package/dist/plugin-browser-consent-copy.js +9 -0
- package/dist/validation/ws-outbound-envelope.d.ts +66 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -3207,6 +3207,7 @@ export declare const CheckoutPullRequestSchema: z.ZodObject<{
|
|
|
3207
3207
|
export declare const CheckoutPushRequestSchema: z.ZodObject<{
|
|
3208
3208
|
type: z.ZodLiteral<"checkout_push_request">;
|
|
3209
3209
|
cwd: z.ZodString;
|
|
3210
|
+
firstPushBranch: z.ZodOptional<z.ZodString>;
|
|
3210
3211
|
requestId: z.ZodString;
|
|
3211
3212
|
}, z.core.$strip>;
|
|
3212
3213
|
export declare const CheckoutRefreshRequestSchema: z.ZodObject<{
|
|
@@ -4566,6 +4567,7 @@ export declare const HubExecutionAgentValidateRequestSchema: z.ZodObject<{
|
|
|
4566
4567
|
type: z.ZodLiteral<"hub.execution.agent.validate.request">;
|
|
4567
4568
|
requestId: z.ZodString;
|
|
4568
4569
|
provider: z.ZodString;
|
|
4570
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
4569
4571
|
model: z.ZodOptional<z.ZodString>;
|
|
4570
4572
|
modeId: z.ZodOptional<z.ZodString>;
|
|
4571
4573
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
@@ -5017,6 +5019,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
5017
5019
|
type: z.ZodLiteral<"hub.execution.agent.validate.request">;
|
|
5018
5020
|
requestId: z.ZodString;
|
|
5019
5021
|
provider: z.ZodString;
|
|
5022
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
5020
5023
|
model: z.ZodOptional<z.ZodString>;
|
|
5021
5024
|
modeId: z.ZodOptional<z.ZodString>;
|
|
5022
5025
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
@@ -6440,6 +6443,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
6440
6443
|
}, z.core.$strip>, z.ZodObject<{
|
|
6441
6444
|
type: z.ZodLiteral<"checkout_push_request">;
|
|
6442
6445
|
cwd: z.ZodString;
|
|
6446
|
+
firstPushBranch: z.ZodOptional<z.ZodString>;
|
|
6443
6447
|
requestId: z.ZodString;
|
|
6444
6448
|
}, z.core.$strip>, z.ZodObject<{
|
|
6445
6449
|
type: z.ZodLiteral<"checkout.refresh.request">;
|
|
@@ -8019,6 +8023,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8019
8023
|
workspaceProjectMerge: z.ZodOptional<z.ZodBoolean>;
|
|
8020
8024
|
workspaceSetupRun: z.ZodOptional<z.ZodBoolean>;
|
|
8021
8025
|
workspaceTerminals: z.ZodOptional<z.ZodBoolean>;
|
|
8026
|
+
checkoutFirstPush: z.ZodOptional<z.ZodBoolean>;
|
|
8022
8027
|
checkoutForgeSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
|
|
8023
8028
|
checkoutGithubSetAutoMerge: z.ZodOptional<z.ZodBoolean>;
|
|
8024
8029
|
githubCheckDetails: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8163,6 +8168,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8163
8168
|
workspaceProjectMerge?: boolean | undefined;
|
|
8164
8169
|
workspaceSetupRun?: boolean | undefined;
|
|
8165
8170
|
workspaceTerminals?: boolean | undefined;
|
|
8171
|
+
checkoutFirstPush?: boolean | undefined;
|
|
8166
8172
|
checkoutForgeSetAutoMerge?: boolean | undefined;
|
|
8167
8173
|
checkoutGithubSetAutoMerge?: boolean | undefined;
|
|
8168
8174
|
githubCheckDetails?: boolean | undefined;
|
|
@@ -8308,6 +8314,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
|
8308
8314
|
workspaceProjectMerge?: boolean | undefined;
|
|
8309
8315
|
workspaceSetupRun?: boolean | undefined;
|
|
8310
8316
|
workspaceTerminals?: boolean | undefined;
|
|
8317
|
+
checkoutFirstPush?: boolean | undefined;
|
|
8311
8318
|
checkoutForgeSetAutoMerge?: boolean | undefined;
|
|
8312
8319
|
checkoutGithubSetAutoMerge?: boolean | undefined;
|
|
8313
8320
|
githubCheckDetails?: boolean | undefined;
|
|
@@ -18307,6 +18314,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
18307
18314
|
}, z.core.$strip>>;
|
|
18308
18315
|
requestId: z.ZodString;
|
|
18309
18316
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18317
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
18318
|
+
unknown: "unknown";
|
|
18319
|
+
none: "none";
|
|
18320
|
+
tracked: "tracked";
|
|
18321
|
+
gone: "gone";
|
|
18322
|
+
}>>;
|
|
18323
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18310
18324
|
isGit: z.ZodLiteral<false>;
|
|
18311
18325
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
18312
18326
|
repoRoot: z.ZodNull;
|
|
@@ -18331,6 +18345,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
18331
18345
|
}, z.core.$strip>>;
|
|
18332
18346
|
requestId: z.ZodString;
|
|
18333
18347
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18348
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
18349
|
+
unknown: "unknown";
|
|
18350
|
+
none: "none";
|
|
18351
|
+
tracked: "tracked";
|
|
18352
|
+
gone: "gone";
|
|
18353
|
+
}>>;
|
|
18354
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18334
18355
|
isGit: z.ZodLiteral<true>;
|
|
18335
18356
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
18336
18357
|
repoRoot: z.ZodString;
|
|
@@ -18359,6 +18380,13 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
18359
18380
|
}, z.core.$strip>>;
|
|
18360
18381
|
requestId: z.ZodString;
|
|
18361
18382
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18383
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
18384
|
+
unknown: "unknown";
|
|
18385
|
+
none: "none";
|
|
18386
|
+
tracked: "tracked";
|
|
18387
|
+
gone: "gone";
|
|
18388
|
+
}>>;
|
|
18389
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18362
18390
|
isGit: z.ZodLiteral<true>;
|
|
18363
18391
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
18364
18392
|
repoRoot: z.ZodString;
|
|
@@ -18446,6 +18474,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
18446
18474
|
}, z.core.$strip>>;
|
|
18447
18475
|
requestId: z.ZodString;
|
|
18448
18476
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18477
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
18478
|
+
unknown: "unknown";
|
|
18479
|
+
none: "none";
|
|
18480
|
+
tracked: "tracked";
|
|
18481
|
+
gone: "gone";
|
|
18482
|
+
}>>;
|
|
18483
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18449
18484
|
isGit: z.ZodLiteral<false>;
|
|
18450
18485
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
18451
18486
|
repoRoot: z.ZodNull;
|
|
@@ -18470,6 +18505,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
18470
18505
|
}, z.core.$strip>>;
|
|
18471
18506
|
requestId: z.ZodString;
|
|
18472
18507
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18508
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
18509
|
+
unknown: "unknown";
|
|
18510
|
+
none: "none";
|
|
18511
|
+
tracked: "tracked";
|
|
18512
|
+
gone: "gone";
|
|
18513
|
+
}>>;
|
|
18514
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18473
18515
|
isGit: z.ZodLiteral<true>;
|
|
18474
18516
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
18475
18517
|
repoRoot: z.ZodString;
|
|
@@ -18498,6 +18540,13 @@ export declare const CheckoutStatusUpdateSchema: z.ZodObject<{
|
|
|
18498
18540
|
}, z.core.$strip>>;
|
|
18499
18541
|
requestId: z.ZodString;
|
|
18500
18542
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18543
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
18544
|
+
unknown: "unknown";
|
|
18545
|
+
none: "none";
|
|
18546
|
+
tracked: "tracked";
|
|
18547
|
+
gone: "gone";
|
|
18548
|
+
}>>;
|
|
18549
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18501
18550
|
isGit: z.ZodLiteral<true>;
|
|
18502
18551
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
18503
18552
|
repoRoot: z.ZodString;
|
|
@@ -23382,6 +23431,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23382
23431
|
peer: "peer";
|
|
23383
23432
|
service: "service";
|
|
23384
23433
|
}>;
|
|
23434
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
23435
|
+
serverId: z.ZodString;
|
|
23436
|
+
label: z.ZodNullable<z.ZodString>;
|
|
23437
|
+
}, z.core.$strip>>;
|
|
23385
23438
|
connectedAt: z.ZodString;
|
|
23386
23439
|
current: z.ZodBoolean;
|
|
23387
23440
|
alwaysKept: z.ZodBoolean;
|
|
@@ -23442,6 +23495,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23442
23495
|
peer: "peer";
|
|
23443
23496
|
service: "service";
|
|
23444
23497
|
}>;
|
|
23498
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
23499
|
+
serverId: z.ZodString;
|
|
23500
|
+
label: z.ZodNullable<z.ZodString>;
|
|
23501
|
+
}, z.core.$strip>>;
|
|
23445
23502
|
connectedAt: z.ZodString;
|
|
23446
23503
|
current: z.ZodBoolean;
|
|
23447
23504
|
alwaysKept: z.ZodBoolean;
|
|
@@ -23503,6 +23560,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23503
23560
|
peer: "peer";
|
|
23504
23561
|
service: "service";
|
|
23505
23562
|
}>;
|
|
23563
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
23564
|
+
serverId: z.ZodString;
|
|
23565
|
+
label: z.ZodNullable<z.ZodString>;
|
|
23566
|
+
}, z.core.$strip>>;
|
|
23506
23567
|
connectedAt: z.ZodString;
|
|
23507
23568
|
current: z.ZodBoolean;
|
|
23508
23569
|
alwaysKept: z.ZodBoolean;
|
|
@@ -23576,6 +23637,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23576
23637
|
peer: "peer";
|
|
23577
23638
|
service: "service";
|
|
23578
23639
|
}>;
|
|
23640
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
23641
|
+
serverId: z.ZodString;
|
|
23642
|
+
label: z.ZodNullable<z.ZodString>;
|
|
23643
|
+
}, z.core.$strip>>;
|
|
23579
23644
|
connectedAt: z.ZodString;
|
|
23580
23645
|
current: z.ZodBoolean;
|
|
23581
23646
|
alwaysKept: z.ZodBoolean;
|
|
@@ -23637,6 +23702,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23637
23702
|
peer: "peer";
|
|
23638
23703
|
service: "service";
|
|
23639
23704
|
}>;
|
|
23705
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
23706
|
+
serverId: z.ZodString;
|
|
23707
|
+
label: z.ZodNullable<z.ZodString>;
|
|
23708
|
+
}, z.core.$strip>>;
|
|
23640
23709
|
connectedAt: z.ZodString;
|
|
23641
23710
|
current: z.ZodBoolean;
|
|
23642
23711
|
alwaysKept: z.ZodBoolean;
|
|
@@ -23697,6 +23766,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
23697
23766
|
peer: "peer";
|
|
23698
23767
|
service: "service";
|
|
23699
23768
|
}>;
|
|
23769
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
23770
|
+
serverId: z.ZodString;
|
|
23771
|
+
label: z.ZodNullable<z.ZodString>;
|
|
23772
|
+
}, z.core.$strip>>;
|
|
23700
23773
|
connectedAt: z.ZodString;
|
|
23701
23774
|
current: z.ZodBoolean;
|
|
23702
23775
|
alwaysKept: z.ZodBoolean;
|
|
@@ -33305,6 +33378,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
33305
33378
|
}, z.core.$strip>>;
|
|
33306
33379
|
requestId: z.ZodString;
|
|
33307
33380
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33381
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
33382
|
+
unknown: "unknown";
|
|
33383
|
+
none: "none";
|
|
33384
|
+
tracked: "tracked";
|
|
33385
|
+
gone: "gone";
|
|
33386
|
+
}>>;
|
|
33387
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33308
33388
|
isGit: z.ZodLiteral<false>;
|
|
33309
33389
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
33310
33390
|
repoRoot: z.ZodNull;
|
|
@@ -33329,6 +33409,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
33329
33409
|
}, z.core.$strip>>;
|
|
33330
33410
|
requestId: z.ZodString;
|
|
33331
33411
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33412
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
33413
|
+
unknown: "unknown";
|
|
33414
|
+
none: "none";
|
|
33415
|
+
tracked: "tracked";
|
|
33416
|
+
gone: "gone";
|
|
33417
|
+
}>>;
|
|
33418
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33332
33419
|
isGit: z.ZodLiteral<true>;
|
|
33333
33420
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
33334
33421
|
repoRoot: z.ZodString;
|
|
@@ -33357,6 +33444,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
33357
33444
|
}, z.core.$strip>>;
|
|
33358
33445
|
requestId: z.ZodString;
|
|
33359
33446
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33447
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
33448
|
+
unknown: "unknown";
|
|
33449
|
+
none: "none";
|
|
33450
|
+
tracked: "tracked";
|
|
33451
|
+
gone: "gone";
|
|
33452
|
+
}>>;
|
|
33453
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33360
33454
|
isGit: z.ZodLiteral<true>;
|
|
33361
33455
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
33362
33456
|
repoRoot: z.ZodString;
|
|
@@ -33388,6 +33482,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
33388
33482
|
}, z.core.$strip>>;
|
|
33389
33483
|
requestId: z.ZodString;
|
|
33390
33484
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33485
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
33486
|
+
unknown: "unknown";
|
|
33487
|
+
none: "none";
|
|
33488
|
+
tracked: "tracked";
|
|
33489
|
+
gone: "gone";
|
|
33490
|
+
}>>;
|
|
33491
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33391
33492
|
isGit: z.ZodLiteral<false>;
|
|
33392
33493
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
33393
33494
|
repoRoot: z.ZodNull;
|
|
@@ -33412,6 +33513,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
33412
33513
|
}, z.core.$strip>>;
|
|
33413
33514
|
requestId: z.ZodString;
|
|
33414
33515
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33516
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
33517
|
+
unknown: "unknown";
|
|
33518
|
+
none: "none";
|
|
33519
|
+
tracked: "tracked";
|
|
33520
|
+
gone: "gone";
|
|
33521
|
+
}>>;
|
|
33522
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33415
33523
|
isGit: z.ZodLiteral<true>;
|
|
33416
33524
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
33417
33525
|
repoRoot: z.ZodString;
|
|
@@ -33440,6 +33548,13 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
33440
33548
|
}, z.core.$strip>>;
|
|
33441
33549
|
requestId: z.ZodString;
|
|
33442
33550
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33551
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
33552
|
+
unknown: "unknown";
|
|
33553
|
+
none: "none";
|
|
33554
|
+
tracked: "tracked";
|
|
33555
|
+
gone: "gone";
|
|
33556
|
+
}>>;
|
|
33557
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33443
33558
|
isGit: z.ZodLiteral<true>;
|
|
33444
33559
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
33445
33560
|
repoRoot: z.ZodString;
|
|
@@ -37481,6 +37596,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
37481
37596
|
type: z.ZodLiteral<"hub.execution.agent.validate.request">;
|
|
37482
37597
|
requestId: z.ZodString;
|
|
37483
37598
|
provider: z.ZodString;
|
|
37599
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
37484
37600
|
model: z.ZodOptional<z.ZodString>;
|
|
37485
37601
|
modeId: z.ZodOptional<z.ZodString>;
|
|
37486
37602
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
@@ -38904,6 +39020,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
38904
39020
|
}, z.core.$strip>, z.ZodObject<{
|
|
38905
39021
|
type: z.ZodLiteral<"checkout_push_request">;
|
|
38906
39022
|
cwd: z.ZodString;
|
|
39023
|
+
firstPushBranch: z.ZodOptional<z.ZodString>;
|
|
38907
39024
|
requestId: z.ZodString;
|
|
38908
39025
|
}, z.core.$strip>, z.ZodObject<{
|
|
38909
39026
|
type: z.ZodLiteral<"checkout.refresh.request">;
|
|
@@ -40302,6 +40419,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40302
40419
|
peer: "peer";
|
|
40303
40420
|
service: "service";
|
|
40304
40421
|
}>;
|
|
40422
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
40423
|
+
serverId: z.ZodString;
|
|
40424
|
+
label: z.ZodNullable<z.ZodString>;
|
|
40425
|
+
}, z.core.$strip>>;
|
|
40305
40426
|
connectedAt: z.ZodString;
|
|
40306
40427
|
current: z.ZodBoolean;
|
|
40307
40428
|
alwaysKept: z.ZodBoolean;
|
|
@@ -40362,6 +40483,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40362
40483
|
peer: "peer";
|
|
40363
40484
|
service: "service";
|
|
40364
40485
|
}>;
|
|
40486
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
40487
|
+
serverId: z.ZodString;
|
|
40488
|
+
label: z.ZodNullable<z.ZodString>;
|
|
40489
|
+
}, z.core.$strip>>;
|
|
40365
40490
|
connectedAt: z.ZodString;
|
|
40366
40491
|
current: z.ZodBoolean;
|
|
40367
40492
|
alwaysKept: z.ZodBoolean;
|
|
@@ -40423,6 +40548,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40423
40548
|
peer: "peer";
|
|
40424
40549
|
service: "service";
|
|
40425
40550
|
}>;
|
|
40551
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
40552
|
+
serverId: z.ZodString;
|
|
40553
|
+
label: z.ZodNullable<z.ZodString>;
|
|
40554
|
+
}, z.core.$strip>>;
|
|
40426
40555
|
connectedAt: z.ZodString;
|
|
40427
40556
|
current: z.ZodBoolean;
|
|
40428
40557
|
alwaysKept: z.ZodBoolean;
|
|
@@ -40496,6 +40625,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40496
40625
|
peer: "peer";
|
|
40497
40626
|
service: "service";
|
|
40498
40627
|
}>;
|
|
40628
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
40629
|
+
serverId: z.ZodString;
|
|
40630
|
+
label: z.ZodNullable<z.ZodString>;
|
|
40631
|
+
}, z.core.$strip>>;
|
|
40499
40632
|
connectedAt: z.ZodString;
|
|
40500
40633
|
current: z.ZodBoolean;
|
|
40501
40634
|
alwaysKept: z.ZodBoolean;
|
|
@@ -40557,6 +40690,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40557
40690
|
peer: "peer";
|
|
40558
40691
|
service: "service";
|
|
40559
40692
|
}>;
|
|
40693
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
40694
|
+
serverId: z.ZodString;
|
|
40695
|
+
label: z.ZodNullable<z.ZodString>;
|
|
40696
|
+
}, z.core.$strip>>;
|
|
40560
40697
|
connectedAt: z.ZodString;
|
|
40561
40698
|
current: z.ZodBoolean;
|
|
40562
40699
|
alwaysKept: z.ZodBoolean;
|
|
@@ -40617,6 +40754,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
40617
40754
|
peer: "peer";
|
|
40618
40755
|
service: "service";
|
|
40619
40756
|
}>;
|
|
40757
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
40758
|
+
serverId: z.ZodString;
|
|
40759
|
+
label: z.ZodNullable<z.ZodString>;
|
|
40760
|
+
}, z.core.$strip>>;
|
|
40620
40761
|
connectedAt: z.ZodString;
|
|
40621
40762
|
current: z.ZodBoolean;
|
|
40622
40763
|
alwaysKept: z.ZodBoolean;
|
|
@@ -50225,6 +50366,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50225
50366
|
}, z.core.$strip>>;
|
|
50226
50367
|
requestId: z.ZodString;
|
|
50227
50368
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50369
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
50370
|
+
unknown: "unknown";
|
|
50371
|
+
none: "none";
|
|
50372
|
+
tracked: "tracked";
|
|
50373
|
+
gone: "gone";
|
|
50374
|
+
}>>;
|
|
50375
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50228
50376
|
isGit: z.ZodLiteral<false>;
|
|
50229
50377
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
50230
50378
|
repoRoot: z.ZodNull;
|
|
@@ -50249,6 +50397,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50249
50397
|
}, z.core.$strip>>;
|
|
50250
50398
|
requestId: z.ZodString;
|
|
50251
50399
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50400
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
50401
|
+
unknown: "unknown";
|
|
50402
|
+
none: "none";
|
|
50403
|
+
tracked: "tracked";
|
|
50404
|
+
gone: "gone";
|
|
50405
|
+
}>>;
|
|
50406
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50252
50407
|
isGit: z.ZodLiteral<true>;
|
|
50253
50408
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
50254
50409
|
repoRoot: z.ZodString;
|
|
@@ -50277,6 +50432,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50277
50432
|
}, z.core.$strip>>;
|
|
50278
50433
|
requestId: z.ZodString;
|
|
50279
50434
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50435
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
50436
|
+
unknown: "unknown";
|
|
50437
|
+
none: "none";
|
|
50438
|
+
tracked: "tracked";
|
|
50439
|
+
gone: "gone";
|
|
50440
|
+
}>>;
|
|
50441
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50280
50442
|
isGit: z.ZodLiteral<true>;
|
|
50281
50443
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
50282
50444
|
repoRoot: z.ZodString;
|
|
@@ -50308,6 +50470,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50308
50470
|
}, z.core.$strip>>;
|
|
50309
50471
|
requestId: z.ZodString;
|
|
50310
50472
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50473
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
50474
|
+
unknown: "unknown";
|
|
50475
|
+
none: "none";
|
|
50476
|
+
tracked: "tracked";
|
|
50477
|
+
gone: "gone";
|
|
50478
|
+
}>>;
|
|
50479
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50311
50480
|
isGit: z.ZodLiteral<false>;
|
|
50312
50481
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
50313
50482
|
repoRoot: z.ZodNull;
|
|
@@ -50332,6 +50501,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50332
50501
|
}, z.core.$strip>>;
|
|
50333
50502
|
requestId: z.ZodString;
|
|
50334
50503
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50504
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
50505
|
+
unknown: "unknown";
|
|
50506
|
+
none: "none";
|
|
50507
|
+
tracked: "tracked";
|
|
50508
|
+
gone: "gone";
|
|
50509
|
+
}>>;
|
|
50510
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50335
50511
|
isGit: z.ZodLiteral<true>;
|
|
50336
50512
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
50337
50513
|
repoRoot: z.ZodString;
|
|
@@ -50360,6 +50536,13 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
50360
50536
|
}, z.core.$strip>>;
|
|
50361
50537
|
requestId: z.ZodString;
|
|
50362
50538
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50539
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
50540
|
+
unknown: "unknown";
|
|
50541
|
+
none: "none";
|
|
50542
|
+
tracked: "tracked";
|
|
50543
|
+
gone: "gone";
|
|
50544
|
+
}>>;
|
|
50545
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50363
50546
|
isGit: z.ZodLiteral<true>;
|
|
50364
50547
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
50365
50548
|
repoRoot: z.ZodString;
|
|
@@ -54043,6 +54226,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
54043
54226
|
type: z.ZodLiteral<"hub.execution.agent.validate.request">;
|
|
54044
54227
|
requestId: z.ZodString;
|
|
54045
54228
|
provider: z.ZodString;
|
|
54229
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
54046
54230
|
model: z.ZodOptional<z.ZodString>;
|
|
54047
54231
|
modeId: z.ZodOptional<z.ZodString>;
|
|
54048
54232
|
thinkingOptionId: z.ZodOptional<z.ZodString>;
|
|
@@ -55466,6 +55650,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
55466
55650
|
}, z.core.$strip>, z.ZodObject<{
|
|
55467
55651
|
type: z.ZodLiteral<"checkout_push_request">;
|
|
55468
55652
|
cwd: z.ZodString;
|
|
55653
|
+
firstPushBranch: z.ZodOptional<z.ZodString>;
|
|
55469
55654
|
requestId: z.ZodString;
|
|
55470
55655
|
}, z.core.$strip>, z.ZodObject<{
|
|
55471
55656
|
type: z.ZodLiteral<"checkout.refresh.request">;
|
|
@@ -56866,6 +57051,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
56866
57051
|
peer: "peer";
|
|
56867
57052
|
service: "service";
|
|
56868
57053
|
}>;
|
|
57054
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
57055
|
+
serverId: z.ZodString;
|
|
57056
|
+
label: z.ZodNullable<z.ZodString>;
|
|
57057
|
+
}, z.core.$strip>>;
|
|
56869
57058
|
connectedAt: z.ZodString;
|
|
56870
57059
|
current: z.ZodBoolean;
|
|
56871
57060
|
alwaysKept: z.ZodBoolean;
|
|
@@ -56926,6 +57115,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
56926
57115
|
peer: "peer";
|
|
56927
57116
|
service: "service";
|
|
56928
57117
|
}>;
|
|
57118
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
57119
|
+
serverId: z.ZodString;
|
|
57120
|
+
label: z.ZodNullable<z.ZodString>;
|
|
57121
|
+
}, z.core.$strip>>;
|
|
56929
57122
|
connectedAt: z.ZodString;
|
|
56930
57123
|
current: z.ZodBoolean;
|
|
56931
57124
|
alwaysKept: z.ZodBoolean;
|
|
@@ -56987,6 +57180,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
56987
57180
|
peer: "peer";
|
|
56988
57181
|
service: "service";
|
|
56989
57182
|
}>;
|
|
57183
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
57184
|
+
serverId: z.ZodString;
|
|
57185
|
+
label: z.ZodNullable<z.ZodString>;
|
|
57186
|
+
}, z.core.$strip>>;
|
|
56990
57187
|
connectedAt: z.ZodString;
|
|
56991
57188
|
current: z.ZodBoolean;
|
|
56992
57189
|
alwaysKept: z.ZodBoolean;
|
|
@@ -57060,6 +57257,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
57060
57257
|
peer: "peer";
|
|
57061
57258
|
service: "service";
|
|
57062
57259
|
}>;
|
|
57260
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
57261
|
+
serverId: z.ZodString;
|
|
57262
|
+
label: z.ZodNullable<z.ZodString>;
|
|
57263
|
+
}, z.core.$strip>>;
|
|
57063
57264
|
connectedAt: z.ZodString;
|
|
57064
57265
|
current: z.ZodBoolean;
|
|
57065
57266
|
alwaysKept: z.ZodBoolean;
|
|
@@ -57121,6 +57322,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
57121
57322
|
peer: "peer";
|
|
57122
57323
|
service: "service";
|
|
57123
57324
|
}>;
|
|
57325
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
57326
|
+
serverId: z.ZodString;
|
|
57327
|
+
label: z.ZodNullable<z.ZodString>;
|
|
57328
|
+
}, z.core.$strip>>;
|
|
57124
57329
|
connectedAt: z.ZodString;
|
|
57125
57330
|
current: z.ZodBoolean;
|
|
57126
57331
|
alwaysKept: z.ZodBoolean;
|
|
@@ -57181,6 +57386,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
57181
57386
|
peer: "peer";
|
|
57182
57387
|
service: "service";
|
|
57183
57388
|
}>;
|
|
57389
|
+
fleetPeer: z.ZodOptional<z.ZodObject<{
|
|
57390
|
+
serverId: z.ZodString;
|
|
57391
|
+
label: z.ZodNullable<z.ZodString>;
|
|
57392
|
+
}, z.core.$strip>>;
|
|
57184
57393
|
connectedAt: z.ZodString;
|
|
57185
57394
|
current: z.ZodBoolean;
|
|
57186
57395
|
alwaysKept: z.ZodBoolean;
|
|
@@ -66789,6 +66998,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
66789
66998
|
}, z.core.$strip>>;
|
|
66790
66999
|
requestId: z.ZodString;
|
|
66791
67000
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67001
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
67002
|
+
unknown: "unknown";
|
|
67003
|
+
none: "none";
|
|
67004
|
+
tracked: "tracked";
|
|
67005
|
+
gone: "gone";
|
|
67006
|
+
}>>;
|
|
67007
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66792
67008
|
isGit: z.ZodLiteral<false>;
|
|
66793
67009
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
66794
67010
|
repoRoot: z.ZodNull;
|
|
@@ -66813,6 +67029,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
66813
67029
|
}, z.core.$strip>>;
|
|
66814
67030
|
requestId: z.ZodString;
|
|
66815
67031
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67032
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
67033
|
+
unknown: "unknown";
|
|
67034
|
+
none: "none";
|
|
67035
|
+
tracked: "tracked";
|
|
67036
|
+
gone: "gone";
|
|
67037
|
+
}>>;
|
|
67038
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66816
67039
|
isGit: z.ZodLiteral<true>;
|
|
66817
67040
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
66818
67041
|
repoRoot: z.ZodString;
|
|
@@ -66841,6 +67064,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
66841
67064
|
}, z.core.$strip>>;
|
|
66842
67065
|
requestId: z.ZodString;
|
|
66843
67066
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67067
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
67068
|
+
unknown: "unknown";
|
|
67069
|
+
none: "none";
|
|
67070
|
+
tracked: "tracked";
|
|
67071
|
+
gone: "gone";
|
|
67072
|
+
}>>;
|
|
67073
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66844
67074
|
isGit: z.ZodLiteral<true>;
|
|
66845
67075
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
66846
67076
|
repoRoot: z.ZodString;
|
|
@@ -66872,6 +67102,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
66872
67102
|
}, z.core.$strip>>;
|
|
66873
67103
|
requestId: z.ZodString;
|
|
66874
67104
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67105
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
67106
|
+
unknown: "unknown";
|
|
67107
|
+
none: "none";
|
|
67108
|
+
tracked: "tracked";
|
|
67109
|
+
gone: "gone";
|
|
67110
|
+
}>>;
|
|
67111
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66875
67112
|
isGit: z.ZodLiteral<false>;
|
|
66876
67113
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
66877
67114
|
repoRoot: z.ZodNull;
|
|
@@ -66896,6 +67133,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
66896
67133
|
}, z.core.$strip>>;
|
|
66897
67134
|
requestId: z.ZodString;
|
|
66898
67135
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67136
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
67137
|
+
unknown: "unknown";
|
|
67138
|
+
none: "none";
|
|
67139
|
+
tracked: "tracked";
|
|
67140
|
+
gone: "gone";
|
|
67141
|
+
}>>;
|
|
67142
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66899
67143
|
isGit: z.ZodLiteral<true>;
|
|
66900
67144
|
isMateoOwnedWorktree: z.ZodLiteral<false>;
|
|
66901
67145
|
repoRoot: z.ZodString;
|
|
@@ -66924,6 +67168,13 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
66924
67168
|
}, z.core.$strip>>;
|
|
66925
67169
|
requestId: z.ZodString;
|
|
66926
67170
|
upstreamRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67171
|
+
upstreamState: z.ZodOptional<z.ZodEnum<{
|
|
67172
|
+
unknown: "unknown";
|
|
67173
|
+
none: "none";
|
|
67174
|
+
tracked: "tracked";
|
|
67175
|
+
gone: "gone";
|
|
67176
|
+
}>>;
|
|
67177
|
+
firstPushRemote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66927
67178
|
isGit: z.ZodLiteral<true>;
|
|
66928
67179
|
isMateoOwnedWorktree: z.ZodLiteral<true>;
|
|
66929
67180
|
repoRoot: z.ZodString;
|
package/dist/messages.js
CHANGED
|
@@ -1957,6 +1957,8 @@ export const CheckoutPullRequestSchema = z.object({
|
|
|
1957
1957
|
export const CheckoutPushRequestSchema = z.object({
|
|
1958
1958
|
type: z.literal("checkout_push_request"),
|
|
1959
1959
|
cwd: z.string(),
|
|
1960
|
+
// Only a first Push sets this: do not reinterpret stale UI intent as a tracked or mapped push.
|
|
1961
|
+
firstPushBranch: z.string().optional(),
|
|
1960
1962
|
requestId: z.string(),
|
|
1961
1963
|
});
|
|
1962
1964
|
export const CheckoutRefreshRequestSchema = z.object({
|
|
@@ -2736,6 +2738,7 @@ export const HubExecutionAgentValidateRequestSchema = z.object({
|
|
|
2736
2738
|
type: z.literal("hub.execution.agent.validate.request"),
|
|
2737
2739
|
requestId: z.string(),
|
|
2738
2740
|
provider: z.string(),
|
|
2741
|
+
cwd: z.string().optional(),
|
|
2739
2742
|
model: z.string().optional(),
|
|
2740
2743
|
modeId: z.string().optional(),
|
|
2741
2744
|
thinkingOptionId: z.string().optional(),
|
|
@@ -3263,6 +3266,7 @@ export const ServerInfoStatusPayloadSchema = z
|
|
|
3263
3266
|
workspaceSetupRun: z.boolean().optional(),
|
|
3264
3267
|
// COMPAT(workspaceTerminals): added in v0.8.0, remove gate after 2027-09-05.
|
|
3265
3268
|
workspaceTerminals: z.boolean().optional(),
|
|
3269
|
+
checkoutFirstPush: z.boolean().optional(),
|
|
3266
3270
|
// COMPAT(checkoutForgeSetAutoMerge): added in v0.2.0-beta.1. Remove the
|
|
3267
3271
|
// feature gate and checkoutGithubSetAutoMerge fallback after 2027-01-17
|
|
3268
3272
|
// once the supported daemon floor is >= v0.2.0.
|
|
@@ -4839,6 +4843,10 @@ const CheckoutStatusCommonSchema = z.object({
|
|
|
4839
4843
|
// upstream branch name is not necessarily currentBranch, so composing one is wrong.
|
|
4840
4844
|
// aheadOfOrigin/behindOfOrigin are measured against exactly this ref.
|
|
4841
4845
|
upstreamRef: z.string().nullable().optional(),
|
|
4846
|
+
// A missing tracking ref can mean no upstream, a pruned upstream, or a limited fetch refspec.
|
|
4847
|
+
upstreamState: z.enum(["tracked", "none", "gone", "unknown"]).optional(),
|
|
4848
|
+
// For a regular checkout's first push, null unless Git's destination agrees with Mateo's.
|
|
4849
|
+
firstPushRemote: z.string().nullable().optional(),
|
|
4842
4850
|
});
|
|
4843
4851
|
const CheckoutStatusNotGitSchema = CheckoutStatusCommonSchema.extend({
|
|
4844
4852
|
isGit: z.literal(false),
|