@junctionpanel/server 0.1.16 → 0.1.19
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/server/client/daemon-client.d.ts +4 -0
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +25 -0
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/agent-storage.d.ts +48 -0
- package/dist/server/server/agent/agent-storage.d.ts.map +1 -1
- package/dist/server/server/agent/agent-storage.js +16 -0
- package/dist/server/server/agent/agent-storage.js.map +1 -1
- package/dist/server/server/cli-runtime-exports.d.ts +7 -0
- package/dist/server/server/cli-runtime-exports.d.ts.map +1 -0
- package/dist/server/server/cli-runtime-exports.js +8 -0
- package/dist/server/server/cli-runtime-exports.js.map +1 -0
- package/dist/server/server/session.d.ts +4 -0
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +359 -91
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +296 -106
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +14 -0
- package/dist/server/shared/messages.js.map +1 -1
- package/dist/server/shared/project-grouping.d.ts +6 -0
- package/dist/server/shared/project-grouping.d.ts.map +1 -0
- package/dist/server/shared/project-grouping.js +62 -0
- package/dist/server/shared/project-grouping.js.map +1 -0
- package/dist/server/utils/worktree.d.ts +8 -0
- package/dist/server/utils/worktree.d.ts.map +1 -1
- package/dist/server/utils/worktree.js +61 -0
- package/dist/server/utils/worktree.js.map +1 -1
- package/package.json +10 -3
|
@@ -281,6 +281,19 @@ export declare const ArchiveAgentRequestMessageSchema: z.ZodObject<{
|
|
|
281
281
|
type: "archive_agent_request";
|
|
282
282
|
requestId: string;
|
|
283
283
|
}>;
|
|
284
|
+
export declare const UnarchiveAgentRequestMessageSchema: z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
286
|
+
agentId: z.ZodString;
|
|
287
|
+
requestId: z.ZodString;
|
|
288
|
+
}, "strip", z.ZodTypeAny, {
|
|
289
|
+
agentId: string;
|
|
290
|
+
type: "unarchive_agent_request";
|
|
291
|
+
requestId: string;
|
|
292
|
+
}, {
|
|
293
|
+
agentId: string;
|
|
294
|
+
type: "unarchive_agent_request";
|
|
295
|
+
requestId: string;
|
|
296
|
+
}>;
|
|
284
297
|
export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{
|
|
285
298
|
type: z.ZodLiteral<"update_agent_request">;
|
|
286
299
|
agentId: z.ZodString;
|
|
@@ -508,16 +521,16 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
|
|
|
508
521
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
509
522
|
}, "strip", z.ZodTypeAny, {
|
|
510
523
|
baseBranch?: string | undefined;
|
|
524
|
+
worktreeSlug?: string | undefined;
|
|
511
525
|
createNewBranch?: boolean | undefined;
|
|
512
526
|
newBranchName?: string | undefined;
|
|
513
527
|
createWorktree?: boolean | undefined;
|
|
514
|
-
worktreeSlug?: string | undefined;
|
|
515
528
|
}, {
|
|
516
529
|
baseBranch?: string | undefined;
|
|
530
|
+
worktreeSlug?: string | undefined;
|
|
517
531
|
createNewBranch?: boolean | undefined;
|
|
518
532
|
newBranchName?: string | undefined;
|
|
519
533
|
createWorktree?: boolean | undefined;
|
|
520
|
-
worktreeSlug?: string | undefined;
|
|
521
534
|
}>;
|
|
522
535
|
export type GitSetupOptions = z.infer<typeof GitSetupOptionsSchema>;
|
|
523
536
|
export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
@@ -667,16 +680,16 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
667
680
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
668
681
|
}, "strip", z.ZodTypeAny, {
|
|
669
682
|
baseBranch?: string | undefined;
|
|
683
|
+
worktreeSlug?: string | undefined;
|
|
670
684
|
createNewBranch?: boolean | undefined;
|
|
671
685
|
newBranchName?: string | undefined;
|
|
672
686
|
createWorktree?: boolean | undefined;
|
|
673
|
-
worktreeSlug?: string | undefined;
|
|
674
687
|
}, {
|
|
675
688
|
baseBranch?: string | undefined;
|
|
689
|
+
worktreeSlug?: string | undefined;
|
|
676
690
|
createNewBranch?: boolean | undefined;
|
|
677
691
|
newBranchName?: string | undefined;
|
|
678
692
|
createWorktree?: boolean | undefined;
|
|
679
|
-
worktreeSlug?: string | undefined;
|
|
680
693
|
}>>;
|
|
681
694
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
682
695
|
requestId: z.ZodString;
|
|
@@ -725,10 +738,10 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
725
738
|
outputSchema?: Record<string, unknown> | undefined;
|
|
726
739
|
git?: {
|
|
727
740
|
baseBranch?: string | undefined;
|
|
741
|
+
worktreeSlug?: string | undefined;
|
|
728
742
|
createNewBranch?: boolean | undefined;
|
|
729
743
|
newBranchName?: string | undefined;
|
|
730
744
|
createWorktree?: boolean | undefined;
|
|
731
|
-
worktreeSlug?: string | undefined;
|
|
732
745
|
} | undefined;
|
|
733
746
|
}, {
|
|
734
747
|
type: "create_agent_request";
|
|
@@ -775,10 +788,10 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
775
788
|
outputSchema?: Record<string, unknown> | undefined;
|
|
776
789
|
git?: {
|
|
777
790
|
baseBranch?: string | undefined;
|
|
791
|
+
worktreeSlug?: string | undefined;
|
|
778
792
|
createNewBranch?: boolean | undefined;
|
|
779
793
|
newBranchName?: string | undefined;
|
|
780
794
|
createWorktree?: boolean | undefined;
|
|
781
|
-
worktreeSlug?: string | undefined;
|
|
782
795
|
} | undefined;
|
|
783
796
|
}>;
|
|
784
797
|
export declare const ListProviderModelsRequestMessageSchema: z.ZodObject<{
|
|
@@ -1590,15 +1603,15 @@ export declare const JunctionWorktreeArchiveRequestSchema: z.ZodObject<{
|
|
|
1590
1603
|
}, "strip", z.ZodTypeAny, {
|
|
1591
1604
|
type: "junction_worktree_archive_request";
|
|
1592
1605
|
requestId: string;
|
|
1593
|
-
worktreePath?: string | undefined;
|
|
1594
|
-
branchName?: string | undefined;
|
|
1595
1606
|
repoRoot?: string | undefined;
|
|
1607
|
+
branchName?: string | undefined;
|
|
1608
|
+
worktreePath?: string | undefined;
|
|
1596
1609
|
}, {
|
|
1597
1610
|
type: "junction_worktree_archive_request";
|
|
1598
1611
|
requestId: string;
|
|
1599
|
-
worktreePath?: string | undefined;
|
|
1600
|
-
branchName?: string | undefined;
|
|
1601
1612
|
repoRoot?: string | undefined;
|
|
1613
|
+
branchName?: string | undefined;
|
|
1614
|
+
worktreePath?: string | undefined;
|
|
1602
1615
|
}>;
|
|
1603
1616
|
export declare const FileExplorerRequestSchema: z.ZodObject<{
|
|
1604
1617
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
@@ -2095,6 +2108,18 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2095
2108
|
agentId: string;
|
|
2096
2109
|
type: "archive_agent_request";
|
|
2097
2110
|
requestId: string;
|
|
2111
|
+
}>, z.ZodObject<{
|
|
2112
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
2113
|
+
agentId: z.ZodString;
|
|
2114
|
+
requestId: z.ZodString;
|
|
2115
|
+
}, "strip", z.ZodTypeAny, {
|
|
2116
|
+
agentId: string;
|
|
2117
|
+
type: "unarchive_agent_request";
|
|
2118
|
+
requestId: string;
|
|
2119
|
+
}, {
|
|
2120
|
+
agentId: string;
|
|
2121
|
+
type: "unarchive_agent_request";
|
|
2122
|
+
requestId: string;
|
|
2098
2123
|
}>, z.ZodObject<{
|
|
2099
2124
|
type: z.ZodLiteral<"update_agent_request">;
|
|
2100
2125
|
agentId: z.ZodString;
|
|
@@ -2313,16 +2338,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2313
2338
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
2314
2339
|
}, "strip", z.ZodTypeAny, {
|
|
2315
2340
|
baseBranch?: string | undefined;
|
|
2341
|
+
worktreeSlug?: string | undefined;
|
|
2316
2342
|
createNewBranch?: boolean | undefined;
|
|
2317
2343
|
newBranchName?: string | undefined;
|
|
2318
2344
|
createWorktree?: boolean | undefined;
|
|
2319
|
-
worktreeSlug?: string | undefined;
|
|
2320
2345
|
}, {
|
|
2321
2346
|
baseBranch?: string | undefined;
|
|
2347
|
+
worktreeSlug?: string | undefined;
|
|
2322
2348
|
createNewBranch?: boolean | undefined;
|
|
2323
2349
|
newBranchName?: string | undefined;
|
|
2324
2350
|
createWorktree?: boolean | undefined;
|
|
2325
|
-
worktreeSlug?: string | undefined;
|
|
2326
2351
|
}>>;
|
|
2327
2352
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2328
2353
|
requestId: z.ZodString;
|
|
@@ -2371,10 +2396,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2371
2396
|
outputSchema?: Record<string, unknown> | undefined;
|
|
2372
2397
|
git?: {
|
|
2373
2398
|
baseBranch?: string | undefined;
|
|
2399
|
+
worktreeSlug?: string | undefined;
|
|
2374
2400
|
createNewBranch?: boolean | undefined;
|
|
2375
2401
|
newBranchName?: string | undefined;
|
|
2376
2402
|
createWorktree?: boolean | undefined;
|
|
2377
|
-
worktreeSlug?: string | undefined;
|
|
2378
2403
|
} | undefined;
|
|
2379
2404
|
}, {
|
|
2380
2405
|
type: "create_agent_request";
|
|
@@ -2421,10 +2446,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2421
2446
|
outputSchema?: Record<string, unknown> | undefined;
|
|
2422
2447
|
git?: {
|
|
2423
2448
|
baseBranch?: string | undefined;
|
|
2449
|
+
worktreeSlug?: string | undefined;
|
|
2424
2450
|
createNewBranch?: boolean | undefined;
|
|
2425
2451
|
newBranchName?: string | undefined;
|
|
2426
2452
|
createWorktree?: boolean | undefined;
|
|
2427
|
-
worktreeSlug?: string | undefined;
|
|
2428
2453
|
} | undefined;
|
|
2429
2454
|
}>, z.ZodObject<{
|
|
2430
2455
|
type: z.ZodLiteral<"list_provider_models_request">;
|
|
@@ -3058,15 +3083,15 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3058
3083
|
}, "strip", z.ZodTypeAny, {
|
|
3059
3084
|
type: "junction_worktree_archive_request";
|
|
3060
3085
|
requestId: string;
|
|
3061
|
-
worktreePath?: string | undefined;
|
|
3062
|
-
branchName?: string | undefined;
|
|
3063
3086
|
repoRoot?: string | undefined;
|
|
3087
|
+
branchName?: string | undefined;
|
|
3088
|
+
worktreePath?: string | undefined;
|
|
3064
3089
|
}, {
|
|
3065
3090
|
type: "junction_worktree_archive_request";
|
|
3066
3091
|
requestId: string;
|
|
3067
|
-
worktreePath?: string | undefined;
|
|
3068
|
-
branchName?: string | undefined;
|
|
3069
3092
|
repoRoot?: string | undefined;
|
|
3093
|
+
branchName?: string | undefined;
|
|
3094
|
+
worktreePath?: string | undefined;
|
|
3070
3095
|
}>, z.ZodObject<{
|
|
3071
3096
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
3072
3097
|
agentId: z.ZodString;
|
|
@@ -7478,6 +7503,31 @@ export declare const AgentArchivedMessageSchema: z.ZodObject<{
|
|
|
7478
7503
|
requestId: string;
|
|
7479
7504
|
};
|
|
7480
7505
|
}>;
|
|
7506
|
+
export declare const AgentUnarchivedMessageSchema: z.ZodObject<{
|
|
7507
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
7508
|
+
payload: z.ZodObject<{
|
|
7509
|
+
agentId: z.ZodString;
|
|
7510
|
+
requestId: z.ZodString;
|
|
7511
|
+
}, "strip", z.ZodTypeAny, {
|
|
7512
|
+
agentId: string;
|
|
7513
|
+
requestId: string;
|
|
7514
|
+
}, {
|
|
7515
|
+
agentId: string;
|
|
7516
|
+
requestId: string;
|
|
7517
|
+
}>;
|
|
7518
|
+
}, "strip", z.ZodTypeAny, {
|
|
7519
|
+
type: "agent_unarchived";
|
|
7520
|
+
payload: {
|
|
7521
|
+
agentId: string;
|
|
7522
|
+
requestId: string;
|
|
7523
|
+
};
|
|
7524
|
+
}, {
|
|
7525
|
+
type: "agent_unarchived";
|
|
7526
|
+
payload: {
|
|
7527
|
+
agentId: string;
|
|
7528
|
+
requestId: string;
|
|
7529
|
+
};
|
|
7530
|
+
}>;
|
|
7481
7531
|
export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
7482
7532
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
7483
7533
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -7511,9 +7561,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7511
7561
|
message: string;
|
|
7512
7562
|
} | null;
|
|
7513
7563
|
cwd: string;
|
|
7564
|
+
repoRoot: null;
|
|
7514
7565
|
requestId: string;
|
|
7515
7566
|
baseRef: null;
|
|
7516
|
-
repoRoot: null;
|
|
7517
7567
|
isGit: false;
|
|
7518
7568
|
currentBranch: null;
|
|
7519
7569
|
remoteUrl: null;
|
|
@@ -7529,9 +7579,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7529
7579
|
message: string;
|
|
7530
7580
|
} | null;
|
|
7531
7581
|
cwd: string;
|
|
7582
|
+
repoRoot: null;
|
|
7532
7583
|
requestId: string;
|
|
7533
7584
|
baseRef: null;
|
|
7534
|
-
repoRoot: null;
|
|
7535
7585
|
isGit: false;
|
|
7536
7586
|
currentBranch: null;
|
|
7537
7587
|
remoteUrl: null;
|
|
@@ -7581,9 +7631,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7581
7631
|
message: string;
|
|
7582
7632
|
} | null;
|
|
7583
7633
|
cwd: string;
|
|
7634
|
+
repoRoot: string;
|
|
7584
7635
|
requestId: string;
|
|
7585
7636
|
baseRef: string | null;
|
|
7586
|
-
repoRoot: string;
|
|
7587
7637
|
isGit: true;
|
|
7588
7638
|
currentBranch: string | null;
|
|
7589
7639
|
remoteUrl: string | null;
|
|
@@ -7602,9 +7652,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7602
7652
|
message: string;
|
|
7603
7653
|
} | null;
|
|
7604
7654
|
cwd: string;
|
|
7655
|
+
repoRoot: string;
|
|
7605
7656
|
requestId: string;
|
|
7606
7657
|
baseRef: string | null;
|
|
7607
|
-
repoRoot: string;
|
|
7608
7658
|
isGit: true;
|
|
7609
7659
|
currentBranch: string | null;
|
|
7610
7660
|
remoteUrl: string | null;
|
|
@@ -7658,9 +7708,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7658
7708
|
message: string;
|
|
7659
7709
|
} | null;
|
|
7660
7710
|
cwd: string;
|
|
7711
|
+
repoRoot: string;
|
|
7661
7712
|
requestId: string;
|
|
7662
7713
|
baseRef: string;
|
|
7663
|
-
repoRoot: string;
|
|
7664
7714
|
isGit: true;
|
|
7665
7715
|
currentBranch: string | null;
|
|
7666
7716
|
remoteUrl: string | null;
|
|
@@ -7680,9 +7730,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7680
7730
|
message: string;
|
|
7681
7731
|
} | null;
|
|
7682
7732
|
cwd: string;
|
|
7733
|
+
repoRoot: string;
|
|
7683
7734
|
requestId: string;
|
|
7684
7735
|
baseRef: string;
|
|
7685
|
-
repoRoot: string;
|
|
7686
7736
|
isGit: true;
|
|
7687
7737
|
currentBranch: string | null;
|
|
7688
7738
|
remoteUrl: string | null;
|
|
@@ -7705,9 +7755,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7705
7755
|
message: string;
|
|
7706
7756
|
} | null;
|
|
7707
7757
|
cwd: string;
|
|
7758
|
+
repoRoot: null;
|
|
7708
7759
|
requestId: string;
|
|
7709
7760
|
baseRef: null;
|
|
7710
|
-
repoRoot: null;
|
|
7711
7761
|
isGit: false;
|
|
7712
7762
|
currentBranch: null;
|
|
7713
7763
|
remoteUrl: null;
|
|
@@ -7723,9 +7773,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7723
7773
|
message: string;
|
|
7724
7774
|
} | null;
|
|
7725
7775
|
cwd: string;
|
|
7776
|
+
repoRoot: string;
|
|
7726
7777
|
requestId: string;
|
|
7727
7778
|
baseRef: string | null;
|
|
7728
|
-
repoRoot: string;
|
|
7729
7779
|
isGit: true;
|
|
7730
7780
|
currentBranch: string | null;
|
|
7731
7781
|
remoteUrl: string | null;
|
|
@@ -7744,9 +7794,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7744
7794
|
message: string;
|
|
7745
7795
|
} | null;
|
|
7746
7796
|
cwd: string;
|
|
7797
|
+
repoRoot: string;
|
|
7747
7798
|
requestId: string;
|
|
7748
7799
|
baseRef: string;
|
|
7749
|
-
repoRoot: string;
|
|
7750
7800
|
isGit: true;
|
|
7751
7801
|
currentBranch: string | null;
|
|
7752
7802
|
remoteUrl: string | null;
|
|
@@ -7769,9 +7819,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7769
7819
|
message: string;
|
|
7770
7820
|
} | null;
|
|
7771
7821
|
cwd: string;
|
|
7822
|
+
repoRoot: null;
|
|
7772
7823
|
requestId: string;
|
|
7773
7824
|
baseRef: null;
|
|
7774
|
-
repoRoot: null;
|
|
7775
7825
|
isGit: false;
|
|
7776
7826
|
currentBranch: null;
|
|
7777
7827
|
remoteUrl: null;
|
|
@@ -7787,9 +7837,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7787
7837
|
message: string;
|
|
7788
7838
|
} | null;
|
|
7789
7839
|
cwd: string;
|
|
7840
|
+
repoRoot: string;
|
|
7790
7841
|
requestId: string;
|
|
7791
7842
|
baseRef: string | null;
|
|
7792
|
-
repoRoot: string;
|
|
7793
7843
|
isGit: true;
|
|
7794
7844
|
currentBranch: string | null;
|
|
7795
7845
|
remoteUrl: string | null;
|
|
@@ -7808,9 +7858,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7808
7858
|
message: string;
|
|
7809
7859
|
} | null;
|
|
7810
7860
|
cwd: string;
|
|
7861
|
+
repoRoot: string;
|
|
7811
7862
|
requestId: string;
|
|
7812
7863
|
baseRef: string;
|
|
7813
|
-
repoRoot: string;
|
|
7814
7864
|
isGit: true;
|
|
7815
7865
|
currentBranch: string | null;
|
|
7816
7866
|
remoteUrl: string | null;
|
|
@@ -13474,6 +13524,30 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13474
13524
|
archivedAt: string;
|
|
13475
13525
|
requestId: string;
|
|
13476
13526
|
};
|
|
13527
|
+
}>, z.ZodObject<{
|
|
13528
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
13529
|
+
payload: z.ZodObject<{
|
|
13530
|
+
agentId: z.ZodString;
|
|
13531
|
+
requestId: z.ZodString;
|
|
13532
|
+
}, "strip", z.ZodTypeAny, {
|
|
13533
|
+
agentId: string;
|
|
13534
|
+
requestId: string;
|
|
13535
|
+
}, {
|
|
13536
|
+
agentId: string;
|
|
13537
|
+
requestId: string;
|
|
13538
|
+
}>;
|
|
13539
|
+
}, "strip", z.ZodTypeAny, {
|
|
13540
|
+
type: "agent_unarchived";
|
|
13541
|
+
payload: {
|
|
13542
|
+
agentId: string;
|
|
13543
|
+
requestId: string;
|
|
13544
|
+
};
|
|
13545
|
+
}, {
|
|
13546
|
+
type: "agent_unarchived";
|
|
13547
|
+
payload: {
|
|
13548
|
+
agentId: string;
|
|
13549
|
+
requestId: string;
|
|
13550
|
+
};
|
|
13477
13551
|
}>, z.ZodObject<{
|
|
13478
13552
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
13479
13553
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -13507,9 +13581,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13507
13581
|
message: string;
|
|
13508
13582
|
} | null;
|
|
13509
13583
|
cwd: string;
|
|
13584
|
+
repoRoot: null;
|
|
13510
13585
|
requestId: string;
|
|
13511
13586
|
baseRef: null;
|
|
13512
|
-
repoRoot: null;
|
|
13513
13587
|
isGit: false;
|
|
13514
13588
|
currentBranch: null;
|
|
13515
13589
|
remoteUrl: null;
|
|
@@ -13525,9 +13599,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13525
13599
|
message: string;
|
|
13526
13600
|
} | null;
|
|
13527
13601
|
cwd: string;
|
|
13602
|
+
repoRoot: null;
|
|
13528
13603
|
requestId: string;
|
|
13529
13604
|
baseRef: null;
|
|
13530
|
-
repoRoot: null;
|
|
13531
13605
|
isGit: false;
|
|
13532
13606
|
currentBranch: null;
|
|
13533
13607
|
remoteUrl: null;
|
|
@@ -13577,9 +13651,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13577
13651
|
message: string;
|
|
13578
13652
|
} | null;
|
|
13579
13653
|
cwd: string;
|
|
13654
|
+
repoRoot: string;
|
|
13580
13655
|
requestId: string;
|
|
13581
13656
|
baseRef: string | null;
|
|
13582
|
-
repoRoot: string;
|
|
13583
13657
|
isGit: true;
|
|
13584
13658
|
currentBranch: string | null;
|
|
13585
13659
|
remoteUrl: string | null;
|
|
@@ -13598,9 +13672,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13598
13672
|
message: string;
|
|
13599
13673
|
} | null;
|
|
13600
13674
|
cwd: string;
|
|
13675
|
+
repoRoot: string;
|
|
13601
13676
|
requestId: string;
|
|
13602
13677
|
baseRef: string | null;
|
|
13603
|
-
repoRoot: string;
|
|
13604
13678
|
isGit: true;
|
|
13605
13679
|
currentBranch: string | null;
|
|
13606
13680
|
remoteUrl: string | null;
|
|
@@ -13654,9 +13728,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13654
13728
|
message: string;
|
|
13655
13729
|
} | null;
|
|
13656
13730
|
cwd: string;
|
|
13731
|
+
repoRoot: string;
|
|
13657
13732
|
requestId: string;
|
|
13658
13733
|
baseRef: string;
|
|
13659
|
-
repoRoot: string;
|
|
13660
13734
|
isGit: true;
|
|
13661
13735
|
currentBranch: string | null;
|
|
13662
13736
|
remoteUrl: string | null;
|
|
@@ -13676,9 +13750,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13676
13750
|
message: string;
|
|
13677
13751
|
} | null;
|
|
13678
13752
|
cwd: string;
|
|
13753
|
+
repoRoot: string;
|
|
13679
13754
|
requestId: string;
|
|
13680
13755
|
baseRef: string;
|
|
13681
|
-
repoRoot: string;
|
|
13682
13756
|
isGit: true;
|
|
13683
13757
|
currentBranch: string | null;
|
|
13684
13758
|
remoteUrl: string | null;
|
|
@@ -13701,9 +13775,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13701
13775
|
message: string;
|
|
13702
13776
|
} | null;
|
|
13703
13777
|
cwd: string;
|
|
13778
|
+
repoRoot: null;
|
|
13704
13779
|
requestId: string;
|
|
13705
13780
|
baseRef: null;
|
|
13706
|
-
repoRoot: null;
|
|
13707
13781
|
isGit: false;
|
|
13708
13782
|
currentBranch: null;
|
|
13709
13783
|
remoteUrl: null;
|
|
@@ -13719,9 +13793,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13719
13793
|
message: string;
|
|
13720
13794
|
} | null;
|
|
13721
13795
|
cwd: string;
|
|
13796
|
+
repoRoot: string;
|
|
13722
13797
|
requestId: string;
|
|
13723
13798
|
baseRef: string | null;
|
|
13724
|
-
repoRoot: string;
|
|
13725
13799
|
isGit: true;
|
|
13726
13800
|
currentBranch: string | null;
|
|
13727
13801
|
remoteUrl: string | null;
|
|
@@ -13740,9 +13814,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13740
13814
|
message: string;
|
|
13741
13815
|
} | null;
|
|
13742
13816
|
cwd: string;
|
|
13817
|
+
repoRoot: string;
|
|
13743
13818
|
requestId: string;
|
|
13744
13819
|
baseRef: string;
|
|
13745
|
-
repoRoot: string;
|
|
13746
13820
|
isGit: true;
|
|
13747
13821
|
currentBranch: string | null;
|
|
13748
13822
|
remoteUrl: string | null;
|
|
@@ -13765,9 +13839,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13765
13839
|
message: string;
|
|
13766
13840
|
} | null;
|
|
13767
13841
|
cwd: string;
|
|
13842
|
+
repoRoot: null;
|
|
13768
13843
|
requestId: string;
|
|
13769
13844
|
baseRef: null;
|
|
13770
|
-
repoRoot: null;
|
|
13771
13845
|
isGit: false;
|
|
13772
13846
|
currentBranch: null;
|
|
13773
13847
|
remoteUrl: null;
|
|
@@ -13783,9 +13857,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13783
13857
|
message: string;
|
|
13784
13858
|
} | null;
|
|
13785
13859
|
cwd: string;
|
|
13860
|
+
repoRoot: string;
|
|
13786
13861
|
requestId: string;
|
|
13787
13862
|
baseRef: string | null;
|
|
13788
|
-
repoRoot: string;
|
|
13789
13863
|
isGit: true;
|
|
13790
13864
|
currentBranch: string | null;
|
|
13791
13865
|
remoteUrl: string | null;
|
|
@@ -13804,9 +13878,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13804
13878
|
message: string;
|
|
13805
13879
|
} | null;
|
|
13806
13880
|
cwd: string;
|
|
13881
|
+
repoRoot: string;
|
|
13807
13882
|
requestId: string;
|
|
13808
13883
|
baseRef: string;
|
|
13809
|
-
repoRoot: string;
|
|
13810
13884
|
isGit: true;
|
|
13811
13885
|
currentBranch: string | null;
|
|
13812
13886
|
remoteUrl: string | null;
|
|
@@ -16499,6 +16573,8 @@ export type WaitForFinishResponseMessage = z.infer<typeof WaitForFinishResponseM
|
|
|
16499
16573
|
export type AgentPermissionRequestMessage = z.infer<typeof AgentPermissionRequestMessageSchema>;
|
|
16500
16574
|
export type AgentPermissionResolvedMessage = z.infer<typeof AgentPermissionResolvedMessageSchema>;
|
|
16501
16575
|
export type AgentDeletedMessage = z.infer<typeof AgentDeletedMessageSchema>;
|
|
16576
|
+
export type AgentArchivedMessage = z.infer<typeof AgentArchivedMessageSchema>;
|
|
16577
|
+
export type AgentUnarchivedMessage = z.infer<typeof AgentUnarchivedMessageSchema>;
|
|
16502
16578
|
export type ListProviderModelsResponseMessage = z.infer<typeof ListProviderModelsResponseMessageSchema>;
|
|
16503
16579
|
export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
|
|
16504
16580
|
export type ActivityLogPayload = z.infer<typeof ActivityLogPayloadSchema>;
|
|
@@ -16511,6 +16587,8 @@ export type ListProviderModelsRequestMessage = z.infer<typeof ListProviderModels
|
|
|
16511
16587
|
export type ListAvailableProvidersRequestMessage = z.infer<typeof ListAvailableProvidersRequestMessageSchema>;
|
|
16512
16588
|
export type ResumeAgentRequestMessage = z.infer<typeof ResumeAgentRequestMessageSchema>;
|
|
16513
16589
|
export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessageSchema>;
|
|
16590
|
+
export type ArchiveAgentRequestMessage = z.infer<typeof ArchiveAgentRequestMessageSchema>;
|
|
16591
|
+
export type UnarchiveAgentRequestMessage = z.infer<typeof UnarchiveAgentRequestMessageSchema>;
|
|
16514
16592
|
export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
|
|
16515
16593
|
export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessageSchema>;
|
|
16516
16594
|
export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
|
|
@@ -16781,6 +16859,18 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16781
16859
|
agentId: string;
|
|
16782
16860
|
type: "archive_agent_request";
|
|
16783
16861
|
requestId: string;
|
|
16862
|
+
}>, z.ZodObject<{
|
|
16863
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
16864
|
+
agentId: z.ZodString;
|
|
16865
|
+
requestId: z.ZodString;
|
|
16866
|
+
}, "strip", z.ZodTypeAny, {
|
|
16867
|
+
agentId: string;
|
|
16868
|
+
type: "unarchive_agent_request";
|
|
16869
|
+
requestId: string;
|
|
16870
|
+
}, {
|
|
16871
|
+
agentId: string;
|
|
16872
|
+
type: "unarchive_agent_request";
|
|
16873
|
+
requestId: string;
|
|
16784
16874
|
}>, z.ZodObject<{
|
|
16785
16875
|
type: z.ZodLiteral<"update_agent_request">;
|
|
16786
16876
|
agentId: z.ZodString;
|
|
@@ -16999,16 +17089,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16999
17089
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
17000
17090
|
}, "strip", z.ZodTypeAny, {
|
|
17001
17091
|
baseBranch?: string | undefined;
|
|
17092
|
+
worktreeSlug?: string | undefined;
|
|
17002
17093
|
createNewBranch?: boolean | undefined;
|
|
17003
17094
|
newBranchName?: string | undefined;
|
|
17004
17095
|
createWorktree?: boolean | undefined;
|
|
17005
|
-
worktreeSlug?: string | undefined;
|
|
17006
17096
|
}, {
|
|
17007
17097
|
baseBranch?: string | undefined;
|
|
17098
|
+
worktreeSlug?: string | undefined;
|
|
17008
17099
|
createNewBranch?: boolean | undefined;
|
|
17009
17100
|
newBranchName?: string | undefined;
|
|
17010
17101
|
createWorktree?: boolean | undefined;
|
|
17011
|
-
worktreeSlug?: string | undefined;
|
|
17012
17102
|
}>>;
|
|
17013
17103
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
17014
17104
|
requestId: z.ZodString;
|
|
@@ -17057,10 +17147,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17057
17147
|
outputSchema?: Record<string, unknown> | undefined;
|
|
17058
17148
|
git?: {
|
|
17059
17149
|
baseBranch?: string | undefined;
|
|
17150
|
+
worktreeSlug?: string | undefined;
|
|
17060
17151
|
createNewBranch?: boolean | undefined;
|
|
17061
17152
|
newBranchName?: string | undefined;
|
|
17062
17153
|
createWorktree?: boolean | undefined;
|
|
17063
|
-
worktreeSlug?: string | undefined;
|
|
17064
17154
|
} | undefined;
|
|
17065
17155
|
}, {
|
|
17066
17156
|
type: "create_agent_request";
|
|
@@ -17107,10 +17197,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17107
17197
|
outputSchema?: Record<string, unknown> | undefined;
|
|
17108
17198
|
git?: {
|
|
17109
17199
|
baseBranch?: string | undefined;
|
|
17200
|
+
worktreeSlug?: string | undefined;
|
|
17110
17201
|
createNewBranch?: boolean | undefined;
|
|
17111
17202
|
newBranchName?: string | undefined;
|
|
17112
17203
|
createWorktree?: boolean | undefined;
|
|
17113
|
-
worktreeSlug?: string | undefined;
|
|
17114
17204
|
} | undefined;
|
|
17115
17205
|
}>, z.ZodObject<{
|
|
17116
17206
|
type: z.ZodLiteral<"list_provider_models_request">;
|
|
@@ -17744,15 +17834,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17744
17834
|
}, "strip", z.ZodTypeAny, {
|
|
17745
17835
|
type: "junction_worktree_archive_request";
|
|
17746
17836
|
requestId: string;
|
|
17747
|
-
worktreePath?: string | undefined;
|
|
17748
|
-
branchName?: string | undefined;
|
|
17749
17837
|
repoRoot?: string | undefined;
|
|
17838
|
+
branchName?: string | undefined;
|
|
17839
|
+
worktreePath?: string | undefined;
|
|
17750
17840
|
}, {
|
|
17751
17841
|
type: "junction_worktree_archive_request";
|
|
17752
17842
|
requestId: string;
|
|
17753
|
-
worktreePath?: string | undefined;
|
|
17754
|
-
branchName?: string | undefined;
|
|
17755
17843
|
repoRoot?: string | undefined;
|
|
17844
|
+
branchName?: string | undefined;
|
|
17845
|
+
worktreePath?: string | undefined;
|
|
17756
17846
|
}>, z.ZodObject<{
|
|
17757
17847
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
17758
17848
|
agentId: z.ZodString;
|
|
@@ -18103,6 +18193,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18103
18193
|
agentId: string;
|
|
18104
18194
|
type: "archive_agent_request";
|
|
18105
18195
|
requestId: string;
|
|
18196
|
+
} | {
|
|
18197
|
+
agentId: string;
|
|
18198
|
+
type: "unarchive_agent_request";
|
|
18199
|
+
requestId: string;
|
|
18106
18200
|
} | {
|
|
18107
18201
|
agentId: string;
|
|
18108
18202
|
type: "update_agent_request";
|
|
@@ -18195,10 +18289,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18195
18289
|
outputSchema?: Record<string, unknown> | undefined;
|
|
18196
18290
|
git?: {
|
|
18197
18291
|
baseBranch?: string | undefined;
|
|
18292
|
+
worktreeSlug?: string | undefined;
|
|
18198
18293
|
createNewBranch?: boolean | undefined;
|
|
18199
18294
|
newBranchName?: string | undefined;
|
|
18200
18295
|
createWorktree?: boolean | undefined;
|
|
18201
|
-
worktreeSlug?: string | undefined;
|
|
18202
18296
|
} | undefined;
|
|
18203
18297
|
} | {
|
|
18204
18298
|
provider: string;
|
|
@@ -18376,9 +18470,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18376
18470
|
} | {
|
|
18377
18471
|
type: "junction_worktree_archive_request";
|
|
18378
18472
|
requestId: string;
|
|
18379
|
-
worktreePath?: string | undefined;
|
|
18380
|
-
branchName?: string | undefined;
|
|
18381
18473
|
repoRoot?: string | undefined;
|
|
18474
|
+
branchName?: string | undefined;
|
|
18475
|
+
worktreePath?: string | undefined;
|
|
18382
18476
|
} | {
|
|
18383
18477
|
agentId: string;
|
|
18384
18478
|
mode: "file" | "list";
|
|
@@ -18492,6 +18586,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18492
18586
|
agentId: string;
|
|
18493
18587
|
type: "archive_agent_request";
|
|
18494
18588
|
requestId: string;
|
|
18589
|
+
} | {
|
|
18590
|
+
agentId: string;
|
|
18591
|
+
type: "unarchive_agent_request";
|
|
18592
|
+
requestId: string;
|
|
18495
18593
|
} | {
|
|
18496
18594
|
agentId: string;
|
|
18497
18595
|
type: "update_agent_request";
|
|
@@ -18584,10 +18682,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18584
18682
|
outputSchema?: Record<string, unknown> | undefined;
|
|
18585
18683
|
git?: {
|
|
18586
18684
|
baseBranch?: string | undefined;
|
|
18685
|
+
worktreeSlug?: string | undefined;
|
|
18587
18686
|
createNewBranch?: boolean | undefined;
|
|
18588
18687
|
newBranchName?: string | undefined;
|
|
18589
18688
|
createWorktree?: boolean | undefined;
|
|
18590
|
-
worktreeSlug?: string | undefined;
|
|
18591
18689
|
} | undefined;
|
|
18592
18690
|
} | {
|
|
18593
18691
|
provider: string;
|
|
@@ -18765,9 +18863,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18765
18863
|
} | {
|
|
18766
18864
|
type: "junction_worktree_archive_request";
|
|
18767
18865
|
requestId: string;
|
|
18768
|
-
worktreePath?: string | undefined;
|
|
18769
|
-
branchName?: string | undefined;
|
|
18770
18866
|
repoRoot?: string | undefined;
|
|
18867
|
+
branchName?: string | undefined;
|
|
18868
|
+
worktreePath?: string | undefined;
|
|
18771
18869
|
} | {
|
|
18772
18870
|
agentId: string;
|
|
18773
18871
|
mode: "file" | "list";
|
|
@@ -21826,6 +21924,30 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21826
21924
|
archivedAt: string;
|
|
21827
21925
|
requestId: string;
|
|
21828
21926
|
};
|
|
21927
|
+
}>, z.ZodObject<{
|
|
21928
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
21929
|
+
payload: z.ZodObject<{
|
|
21930
|
+
agentId: z.ZodString;
|
|
21931
|
+
requestId: z.ZodString;
|
|
21932
|
+
}, "strip", z.ZodTypeAny, {
|
|
21933
|
+
agentId: string;
|
|
21934
|
+
requestId: string;
|
|
21935
|
+
}, {
|
|
21936
|
+
agentId: string;
|
|
21937
|
+
requestId: string;
|
|
21938
|
+
}>;
|
|
21939
|
+
}, "strip", z.ZodTypeAny, {
|
|
21940
|
+
type: "agent_unarchived";
|
|
21941
|
+
payload: {
|
|
21942
|
+
agentId: string;
|
|
21943
|
+
requestId: string;
|
|
21944
|
+
};
|
|
21945
|
+
}, {
|
|
21946
|
+
type: "agent_unarchived";
|
|
21947
|
+
payload: {
|
|
21948
|
+
agentId: string;
|
|
21949
|
+
requestId: string;
|
|
21950
|
+
};
|
|
21829
21951
|
}>, z.ZodObject<{
|
|
21830
21952
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
21831
21953
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -21859,9 +21981,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21859
21981
|
message: string;
|
|
21860
21982
|
} | null;
|
|
21861
21983
|
cwd: string;
|
|
21984
|
+
repoRoot: null;
|
|
21862
21985
|
requestId: string;
|
|
21863
21986
|
baseRef: null;
|
|
21864
|
-
repoRoot: null;
|
|
21865
21987
|
isGit: false;
|
|
21866
21988
|
currentBranch: null;
|
|
21867
21989
|
remoteUrl: null;
|
|
@@ -21877,9 +21999,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21877
21999
|
message: string;
|
|
21878
22000
|
} | null;
|
|
21879
22001
|
cwd: string;
|
|
22002
|
+
repoRoot: null;
|
|
21880
22003
|
requestId: string;
|
|
21881
22004
|
baseRef: null;
|
|
21882
|
-
repoRoot: null;
|
|
21883
22005
|
isGit: false;
|
|
21884
22006
|
currentBranch: null;
|
|
21885
22007
|
remoteUrl: null;
|
|
@@ -21929,9 +22051,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21929
22051
|
message: string;
|
|
21930
22052
|
} | null;
|
|
21931
22053
|
cwd: string;
|
|
22054
|
+
repoRoot: string;
|
|
21932
22055
|
requestId: string;
|
|
21933
22056
|
baseRef: string | null;
|
|
21934
|
-
repoRoot: string;
|
|
21935
22057
|
isGit: true;
|
|
21936
22058
|
currentBranch: string | null;
|
|
21937
22059
|
remoteUrl: string | null;
|
|
@@ -21950,9 +22072,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21950
22072
|
message: string;
|
|
21951
22073
|
} | null;
|
|
21952
22074
|
cwd: string;
|
|
22075
|
+
repoRoot: string;
|
|
21953
22076
|
requestId: string;
|
|
21954
22077
|
baseRef: string | null;
|
|
21955
|
-
repoRoot: string;
|
|
21956
22078
|
isGit: true;
|
|
21957
22079
|
currentBranch: string | null;
|
|
21958
22080
|
remoteUrl: string | null;
|
|
@@ -22006,9 +22128,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22006
22128
|
message: string;
|
|
22007
22129
|
} | null;
|
|
22008
22130
|
cwd: string;
|
|
22131
|
+
repoRoot: string;
|
|
22009
22132
|
requestId: string;
|
|
22010
22133
|
baseRef: string;
|
|
22011
|
-
repoRoot: string;
|
|
22012
22134
|
isGit: true;
|
|
22013
22135
|
currentBranch: string | null;
|
|
22014
22136
|
remoteUrl: string | null;
|
|
@@ -22028,9 +22150,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22028
22150
|
message: string;
|
|
22029
22151
|
} | null;
|
|
22030
22152
|
cwd: string;
|
|
22153
|
+
repoRoot: string;
|
|
22031
22154
|
requestId: string;
|
|
22032
22155
|
baseRef: string;
|
|
22033
|
-
repoRoot: string;
|
|
22034
22156
|
isGit: true;
|
|
22035
22157
|
currentBranch: string | null;
|
|
22036
22158
|
remoteUrl: string | null;
|
|
@@ -22053,9 +22175,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22053
22175
|
message: string;
|
|
22054
22176
|
} | null;
|
|
22055
22177
|
cwd: string;
|
|
22178
|
+
repoRoot: null;
|
|
22056
22179
|
requestId: string;
|
|
22057
22180
|
baseRef: null;
|
|
22058
|
-
repoRoot: null;
|
|
22059
22181
|
isGit: false;
|
|
22060
22182
|
currentBranch: null;
|
|
22061
22183
|
remoteUrl: null;
|
|
@@ -22071,9 +22193,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22071
22193
|
message: string;
|
|
22072
22194
|
} | null;
|
|
22073
22195
|
cwd: string;
|
|
22196
|
+
repoRoot: string;
|
|
22074
22197
|
requestId: string;
|
|
22075
22198
|
baseRef: string | null;
|
|
22076
|
-
repoRoot: string;
|
|
22077
22199
|
isGit: true;
|
|
22078
22200
|
currentBranch: string | null;
|
|
22079
22201
|
remoteUrl: string | null;
|
|
@@ -22092,9 +22214,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22092
22214
|
message: string;
|
|
22093
22215
|
} | null;
|
|
22094
22216
|
cwd: string;
|
|
22217
|
+
repoRoot: string;
|
|
22095
22218
|
requestId: string;
|
|
22096
22219
|
baseRef: string;
|
|
22097
|
-
repoRoot: string;
|
|
22098
22220
|
isGit: true;
|
|
22099
22221
|
currentBranch: string | null;
|
|
22100
22222
|
remoteUrl: string | null;
|
|
@@ -22117,9 +22239,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22117
22239
|
message: string;
|
|
22118
22240
|
} | null;
|
|
22119
22241
|
cwd: string;
|
|
22242
|
+
repoRoot: null;
|
|
22120
22243
|
requestId: string;
|
|
22121
22244
|
baseRef: null;
|
|
22122
|
-
repoRoot: null;
|
|
22123
22245
|
isGit: false;
|
|
22124
22246
|
currentBranch: null;
|
|
22125
22247
|
remoteUrl: null;
|
|
@@ -22135,9 +22257,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22135
22257
|
message: string;
|
|
22136
22258
|
} | null;
|
|
22137
22259
|
cwd: string;
|
|
22260
|
+
repoRoot: string;
|
|
22138
22261
|
requestId: string;
|
|
22139
22262
|
baseRef: string | null;
|
|
22140
|
-
repoRoot: string;
|
|
22141
22263
|
isGit: true;
|
|
22142
22264
|
currentBranch: string | null;
|
|
22143
22265
|
remoteUrl: string | null;
|
|
@@ -22156,9 +22278,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22156
22278
|
message: string;
|
|
22157
22279
|
} | null;
|
|
22158
22280
|
cwd: string;
|
|
22281
|
+
repoRoot: string;
|
|
22159
22282
|
requestId: string;
|
|
22160
22283
|
baseRef: string;
|
|
22161
|
-
repoRoot: string;
|
|
22162
22284
|
isGit: true;
|
|
22163
22285
|
currentBranch: string | null;
|
|
22164
22286
|
remoteUrl: string | null;
|
|
@@ -25286,6 +25408,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25286
25408
|
archivedAt: string;
|
|
25287
25409
|
requestId: string;
|
|
25288
25410
|
};
|
|
25411
|
+
} | {
|
|
25412
|
+
type: "agent_unarchived";
|
|
25413
|
+
payload: {
|
|
25414
|
+
agentId: string;
|
|
25415
|
+
requestId: string;
|
|
25416
|
+
};
|
|
25289
25417
|
} | {
|
|
25290
25418
|
type: "checkout_status_response";
|
|
25291
25419
|
payload: {
|
|
@@ -25294,9 +25422,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25294
25422
|
message: string;
|
|
25295
25423
|
} | null;
|
|
25296
25424
|
cwd: string;
|
|
25425
|
+
repoRoot: null;
|
|
25297
25426
|
requestId: string;
|
|
25298
25427
|
baseRef: null;
|
|
25299
|
-
repoRoot: null;
|
|
25300
25428
|
isGit: false;
|
|
25301
25429
|
currentBranch: null;
|
|
25302
25430
|
remoteUrl: null;
|
|
@@ -25312,9 +25440,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25312
25440
|
message: string;
|
|
25313
25441
|
} | null;
|
|
25314
25442
|
cwd: string;
|
|
25443
|
+
repoRoot: string;
|
|
25315
25444
|
requestId: string;
|
|
25316
25445
|
baseRef: string | null;
|
|
25317
|
-
repoRoot: string;
|
|
25318
25446
|
isGit: true;
|
|
25319
25447
|
currentBranch: string | null;
|
|
25320
25448
|
remoteUrl: string | null;
|
|
@@ -25333,9 +25461,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25333
25461
|
message: string;
|
|
25334
25462
|
} | null;
|
|
25335
25463
|
cwd: string;
|
|
25464
|
+
repoRoot: string;
|
|
25336
25465
|
requestId: string;
|
|
25337
25466
|
baseRef: string;
|
|
25338
|
-
repoRoot: string;
|
|
25339
25467
|
isGit: true;
|
|
25340
25468
|
currentBranch: string | null;
|
|
25341
25469
|
remoteUrl: string | null;
|
|
@@ -26259,6 +26387,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26259
26387
|
archivedAt: string;
|
|
26260
26388
|
requestId: string;
|
|
26261
26389
|
};
|
|
26390
|
+
} | {
|
|
26391
|
+
type: "agent_unarchived";
|
|
26392
|
+
payload: {
|
|
26393
|
+
agentId: string;
|
|
26394
|
+
requestId: string;
|
|
26395
|
+
};
|
|
26262
26396
|
} | {
|
|
26263
26397
|
type: "checkout_status_response";
|
|
26264
26398
|
payload: {
|
|
@@ -26267,9 +26401,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26267
26401
|
message: string;
|
|
26268
26402
|
} | null;
|
|
26269
26403
|
cwd: string;
|
|
26404
|
+
repoRoot: null;
|
|
26270
26405
|
requestId: string;
|
|
26271
26406
|
baseRef: null;
|
|
26272
|
-
repoRoot: null;
|
|
26273
26407
|
isGit: false;
|
|
26274
26408
|
currentBranch: null;
|
|
26275
26409
|
remoteUrl: null;
|
|
@@ -26285,9 +26419,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26285
26419
|
message: string;
|
|
26286
26420
|
} | null;
|
|
26287
26421
|
cwd: string;
|
|
26422
|
+
repoRoot: string;
|
|
26288
26423
|
requestId: string;
|
|
26289
26424
|
baseRef: string | null;
|
|
26290
|
-
repoRoot: string;
|
|
26291
26425
|
isGit: true;
|
|
26292
26426
|
currentBranch: string | null;
|
|
26293
26427
|
remoteUrl: string | null;
|
|
@@ -26306,9 +26440,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26306
26440
|
message: string;
|
|
26307
26441
|
} | null;
|
|
26308
26442
|
cwd: string;
|
|
26443
|
+
repoRoot: string;
|
|
26309
26444
|
requestId: string;
|
|
26310
26445
|
baseRef: string;
|
|
26311
|
-
repoRoot: string;
|
|
26312
26446
|
isGit: true;
|
|
26313
26447
|
currentBranch: string | null;
|
|
26314
26448
|
remoteUrl: string | null;
|
|
@@ -26943,6 +27077,18 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26943
27077
|
agentId: string;
|
|
26944
27078
|
type: "archive_agent_request";
|
|
26945
27079
|
requestId: string;
|
|
27080
|
+
}>, z.ZodObject<{
|
|
27081
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
27082
|
+
agentId: z.ZodString;
|
|
27083
|
+
requestId: z.ZodString;
|
|
27084
|
+
}, "strip", z.ZodTypeAny, {
|
|
27085
|
+
agentId: string;
|
|
27086
|
+
type: "unarchive_agent_request";
|
|
27087
|
+
requestId: string;
|
|
27088
|
+
}, {
|
|
27089
|
+
agentId: string;
|
|
27090
|
+
type: "unarchive_agent_request";
|
|
27091
|
+
requestId: string;
|
|
26946
27092
|
}>, z.ZodObject<{
|
|
26947
27093
|
type: z.ZodLiteral<"update_agent_request">;
|
|
26948
27094
|
agentId: z.ZodString;
|
|
@@ -27161,16 +27307,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27161
27307
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
27162
27308
|
}, "strip", z.ZodTypeAny, {
|
|
27163
27309
|
baseBranch?: string | undefined;
|
|
27310
|
+
worktreeSlug?: string | undefined;
|
|
27164
27311
|
createNewBranch?: boolean | undefined;
|
|
27165
27312
|
newBranchName?: string | undefined;
|
|
27166
27313
|
createWorktree?: boolean | undefined;
|
|
27167
|
-
worktreeSlug?: string | undefined;
|
|
27168
27314
|
}, {
|
|
27169
27315
|
baseBranch?: string | undefined;
|
|
27316
|
+
worktreeSlug?: string | undefined;
|
|
27170
27317
|
createNewBranch?: boolean | undefined;
|
|
27171
27318
|
newBranchName?: string | undefined;
|
|
27172
27319
|
createWorktree?: boolean | undefined;
|
|
27173
|
-
worktreeSlug?: string | undefined;
|
|
27174
27320
|
}>>;
|
|
27175
27321
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27176
27322
|
requestId: z.ZodString;
|
|
@@ -27219,10 +27365,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27219
27365
|
outputSchema?: Record<string, unknown> | undefined;
|
|
27220
27366
|
git?: {
|
|
27221
27367
|
baseBranch?: string | undefined;
|
|
27368
|
+
worktreeSlug?: string | undefined;
|
|
27222
27369
|
createNewBranch?: boolean | undefined;
|
|
27223
27370
|
newBranchName?: string | undefined;
|
|
27224
27371
|
createWorktree?: boolean | undefined;
|
|
27225
|
-
worktreeSlug?: string | undefined;
|
|
27226
27372
|
} | undefined;
|
|
27227
27373
|
}, {
|
|
27228
27374
|
type: "create_agent_request";
|
|
@@ -27269,10 +27415,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27269
27415
|
outputSchema?: Record<string, unknown> | undefined;
|
|
27270
27416
|
git?: {
|
|
27271
27417
|
baseBranch?: string | undefined;
|
|
27418
|
+
worktreeSlug?: string | undefined;
|
|
27272
27419
|
createNewBranch?: boolean | undefined;
|
|
27273
27420
|
newBranchName?: string | undefined;
|
|
27274
27421
|
createWorktree?: boolean | undefined;
|
|
27275
|
-
worktreeSlug?: string | undefined;
|
|
27276
27422
|
} | undefined;
|
|
27277
27423
|
}>, z.ZodObject<{
|
|
27278
27424
|
type: z.ZodLiteral<"list_provider_models_request">;
|
|
@@ -27906,15 +28052,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27906
28052
|
}, "strip", z.ZodTypeAny, {
|
|
27907
28053
|
type: "junction_worktree_archive_request";
|
|
27908
28054
|
requestId: string;
|
|
27909
|
-
worktreePath?: string | undefined;
|
|
27910
|
-
branchName?: string | undefined;
|
|
27911
28055
|
repoRoot?: string | undefined;
|
|
28056
|
+
branchName?: string | undefined;
|
|
28057
|
+
worktreePath?: string | undefined;
|
|
27912
28058
|
}, {
|
|
27913
28059
|
type: "junction_worktree_archive_request";
|
|
27914
28060
|
requestId: string;
|
|
27915
|
-
worktreePath?: string | undefined;
|
|
27916
|
-
branchName?: string | undefined;
|
|
27917
28061
|
repoRoot?: string | undefined;
|
|
28062
|
+
branchName?: string | undefined;
|
|
28063
|
+
worktreePath?: string | undefined;
|
|
27918
28064
|
}>, z.ZodObject<{
|
|
27919
28065
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
27920
28066
|
agentId: z.ZodString;
|
|
@@ -28265,6 +28411,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28265
28411
|
agentId: string;
|
|
28266
28412
|
type: "archive_agent_request";
|
|
28267
28413
|
requestId: string;
|
|
28414
|
+
} | {
|
|
28415
|
+
agentId: string;
|
|
28416
|
+
type: "unarchive_agent_request";
|
|
28417
|
+
requestId: string;
|
|
28268
28418
|
} | {
|
|
28269
28419
|
agentId: string;
|
|
28270
28420
|
type: "update_agent_request";
|
|
@@ -28357,10 +28507,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28357
28507
|
outputSchema?: Record<string, unknown> | undefined;
|
|
28358
28508
|
git?: {
|
|
28359
28509
|
baseBranch?: string | undefined;
|
|
28510
|
+
worktreeSlug?: string | undefined;
|
|
28360
28511
|
createNewBranch?: boolean | undefined;
|
|
28361
28512
|
newBranchName?: string | undefined;
|
|
28362
28513
|
createWorktree?: boolean | undefined;
|
|
28363
|
-
worktreeSlug?: string | undefined;
|
|
28364
28514
|
} | undefined;
|
|
28365
28515
|
} | {
|
|
28366
28516
|
provider: string;
|
|
@@ -28538,9 +28688,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28538
28688
|
} | {
|
|
28539
28689
|
type: "junction_worktree_archive_request";
|
|
28540
28690
|
requestId: string;
|
|
28541
|
-
worktreePath?: string | undefined;
|
|
28542
|
-
branchName?: string | undefined;
|
|
28543
28691
|
repoRoot?: string | undefined;
|
|
28692
|
+
branchName?: string | undefined;
|
|
28693
|
+
worktreePath?: string | undefined;
|
|
28544
28694
|
} | {
|
|
28545
28695
|
agentId: string;
|
|
28546
28696
|
mode: "file" | "list";
|
|
@@ -28654,6 +28804,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28654
28804
|
agentId: string;
|
|
28655
28805
|
type: "archive_agent_request";
|
|
28656
28806
|
requestId: string;
|
|
28807
|
+
} | {
|
|
28808
|
+
agentId: string;
|
|
28809
|
+
type: "unarchive_agent_request";
|
|
28810
|
+
requestId: string;
|
|
28657
28811
|
} | {
|
|
28658
28812
|
agentId: string;
|
|
28659
28813
|
type: "update_agent_request";
|
|
@@ -28746,10 +28900,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28746
28900
|
outputSchema?: Record<string, unknown> | undefined;
|
|
28747
28901
|
git?: {
|
|
28748
28902
|
baseBranch?: string | undefined;
|
|
28903
|
+
worktreeSlug?: string | undefined;
|
|
28749
28904
|
createNewBranch?: boolean | undefined;
|
|
28750
28905
|
newBranchName?: string | undefined;
|
|
28751
28906
|
createWorktree?: boolean | undefined;
|
|
28752
|
-
worktreeSlug?: string | undefined;
|
|
28753
28907
|
} | undefined;
|
|
28754
28908
|
} | {
|
|
28755
28909
|
provider: string;
|
|
@@ -28927,9 +29081,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28927
29081
|
} | {
|
|
28928
29082
|
type: "junction_worktree_archive_request";
|
|
28929
29083
|
requestId: string;
|
|
28930
|
-
worktreePath?: string | undefined;
|
|
28931
|
-
branchName?: string | undefined;
|
|
28932
29084
|
repoRoot?: string | undefined;
|
|
29085
|
+
branchName?: string | undefined;
|
|
29086
|
+
worktreePath?: string | undefined;
|
|
28933
29087
|
} | {
|
|
28934
29088
|
agentId: string;
|
|
28935
29089
|
mode: "file" | "list";
|
|
@@ -32015,6 +32169,30 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32015
32169
|
archivedAt: string;
|
|
32016
32170
|
requestId: string;
|
|
32017
32171
|
};
|
|
32172
|
+
}>, z.ZodObject<{
|
|
32173
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
32174
|
+
payload: z.ZodObject<{
|
|
32175
|
+
agentId: z.ZodString;
|
|
32176
|
+
requestId: z.ZodString;
|
|
32177
|
+
}, "strip", z.ZodTypeAny, {
|
|
32178
|
+
agentId: string;
|
|
32179
|
+
requestId: string;
|
|
32180
|
+
}, {
|
|
32181
|
+
agentId: string;
|
|
32182
|
+
requestId: string;
|
|
32183
|
+
}>;
|
|
32184
|
+
}, "strip", z.ZodTypeAny, {
|
|
32185
|
+
type: "agent_unarchived";
|
|
32186
|
+
payload: {
|
|
32187
|
+
agentId: string;
|
|
32188
|
+
requestId: string;
|
|
32189
|
+
};
|
|
32190
|
+
}, {
|
|
32191
|
+
type: "agent_unarchived";
|
|
32192
|
+
payload: {
|
|
32193
|
+
agentId: string;
|
|
32194
|
+
requestId: string;
|
|
32195
|
+
};
|
|
32018
32196
|
}>, z.ZodObject<{
|
|
32019
32197
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
32020
32198
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -32048,9 +32226,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32048
32226
|
message: string;
|
|
32049
32227
|
} | null;
|
|
32050
32228
|
cwd: string;
|
|
32229
|
+
repoRoot: null;
|
|
32051
32230
|
requestId: string;
|
|
32052
32231
|
baseRef: null;
|
|
32053
|
-
repoRoot: null;
|
|
32054
32232
|
isGit: false;
|
|
32055
32233
|
currentBranch: null;
|
|
32056
32234
|
remoteUrl: null;
|
|
@@ -32066,9 +32244,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32066
32244
|
message: string;
|
|
32067
32245
|
} | null;
|
|
32068
32246
|
cwd: string;
|
|
32247
|
+
repoRoot: null;
|
|
32069
32248
|
requestId: string;
|
|
32070
32249
|
baseRef: null;
|
|
32071
|
-
repoRoot: null;
|
|
32072
32250
|
isGit: false;
|
|
32073
32251
|
currentBranch: null;
|
|
32074
32252
|
remoteUrl: null;
|
|
@@ -32118,9 +32296,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32118
32296
|
message: string;
|
|
32119
32297
|
} | null;
|
|
32120
32298
|
cwd: string;
|
|
32299
|
+
repoRoot: string;
|
|
32121
32300
|
requestId: string;
|
|
32122
32301
|
baseRef: string | null;
|
|
32123
|
-
repoRoot: string;
|
|
32124
32302
|
isGit: true;
|
|
32125
32303
|
currentBranch: string | null;
|
|
32126
32304
|
remoteUrl: string | null;
|
|
@@ -32139,9 +32317,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32139
32317
|
message: string;
|
|
32140
32318
|
} | null;
|
|
32141
32319
|
cwd: string;
|
|
32320
|
+
repoRoot: string;
|
|
32142
32321
|
requestId: string;
|
|
32143
32322
|
baseRef: string | null;
|
|
32144
|
-
repoRoot: string;
|
|
32145
32323
|
isGit: true;
|
|
32146
32324
|
currentBranch: string | null;
|
|
32147
32325
|
remoteUrl: string | null;
|
|
@@ -32195,9 +32373,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32195
32373
|
message: string;
|
|
32196
32374
|
} | null;
|
|
32197
32375
|
cwd: string;
|
|
32376
|
+
repoRoot: string;
|
|
32198
32377
|
requestId: string;
|
|
32199
32378
|
baseRef: string;
|
|
32200
|
-
repoRoot: string;
|
|
32201
32379
|
isGit: true;
|
|
32202
32380
|
currentBranch: string | null;
|
|
32203
32381
|
remoteUrl: string | null;
|
|
@@ -32217,9 +32395,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32217
32395
|
message: string;
|
|
32218
32396
|
} | null;
|
|
32219
32397
|
cwd: string;
|
|
32398
|
+
repoRoot: string;
|
|
32220
32399
|
requestId: string;
|
|
32221
32400
|
baseRef: string;
|
|
32222
|
-
repoRoot: string;
|
|
32223
32401
|
isGit: true;
|
|
32224
32402
|
currentBranch: string | null;
|
|
32225
32403
|
remoteUrl: string | null;
|
|
@@ -32242,9 +32420,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32242
32420
|
message: string;
|
|
32243
32421
|
} | null;
|
|
32244
32422
|
cwd: string;
|
|
32423
|
+
repoRoot: null;
|
|
32245
32424
|
requestId: string;
|
|
32246
32425
|
baseRef: null;
|
|
32247
|
-
repoRoot: null;
|
|
32248
32426
|
isGit: false;
|
|
32249
32427
|
currentBranch: null;
|
|
32250
32428
|
remoteUrl: null;
|
|
@@ -32260,9 +32438,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32260
32438
|
message: string;
|
|
32261
32439
|
} | null;
|
|
32262
32440
|
cwd: string;
|
|
32441
|
+
repoRoot: string;
|
|
32263
32442
|
requestId: string;
|
|
32264
32443
|
baseRef: string | null;
|
|
32265
|
-
repoRoot: string;
|
|
32266
32444
|
isGit: true;
|
|
32267
32445
|
currentBranch: string | null;
|
|
32268
32446
|
remoteUrl: string | null;
|
|
@@ -32281,9 +32459,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32281
32459
|
message: string;
|
|
32282
32460
|
} | null;
|
|
32283
32461
|
cwd: string;
|
|
32462
|
+
repoRoot: string;
|
|
32284
32463
|
requestId: string;
|
|
32285
32464
|
baseRef: string;
|
|
32286
|
-
repoRoot: string;
|
|
32287
32465
|
isGit: true;
|
|
32288
32466
|
currentBranch: string | null;
|
|
32289
32467
|
remoteUrl: string | null;
|
|
@@ -32306,9 +32484,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32306
32484
|
message: string;
|
|
32307
32485
|
} | null;
|
|
32308
32486
|
cwd: string;
|
|
32487
|
+
repoRoot: null;
|
|
32309
32488
|
requestId: string;
|
|
32310
32489
|
baseRef: null;
|
|
32311
|
-
repoRoot: null;
|
|
32312
32490
|
isGit: false;
|
|
32313
32491
|
currentBranch: null;
|
|
32314
32492
|
remoteUrl: null;
|
|
@@ -32324,9 +32502,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32324
32502
|
message: string;
|
|
32325
32503
|
} | null;
|
|
32326
32504
|
cwd: string;
|
|
32505
|
+
repoRoot: string;
|
|
32327
32506
|
requestId: string;
|
|
32328
32507
|
baseRef: string | null;
|
|
32329
|
-
repoRoot: string;
|
|
32330
32508
|
isGit: true;
|
|
32331
32509
|
currentBranch: string | null;
|
|
32332
32510
|
remoteUrl: string | null;
|
|
@@ -32345,9 +32523,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32345
32523
|
message: string;
|
|
32346
32524
|
} | null;
|
|
32347
32525
|
cwd: string;
|
|
32526
|
+
repoRoot: string;
|
|
32348
32527
|
requestId: string;
|
|
32349
32528
|
baseRef: string;
|
|
32350
|
-
repoRoot: string;
|
|
32351
32529
|
isGit: true;
|
|
32352
32530
|
currentBranch: string | null;
|
|
32353
32531
|
remoteUrl: string | null;
|
|
@@ -35475,6 +35653,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35475
35653
|
archivedAt: string;
|
|
35476
35654
|
requestId: string;
|
|
35477
35655
|
};
|
|
35656
|
+
} | {
|
|
35657
|
+
type: "agent_unarchived";
|
|
35658
|
+
payload: {
|
|
35659
|
+
agentId: string;
|
|
35660
|
+
requestId: string;
|
|
35661
|
+
};
|
|
35478
35662
|
} | {
|
|
35479
35663
|
type: "checkout_status_response";
|
|
35480
35664
|
payload: {
|
|
@@ -35483,9 +35667,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35483
35667
|
message: string;
|
|
35484
35668
|
} | null;
|
|
35485
35669
|
cwd: string;
|
|
35670
|
+
repoRoot: null;
|
|
35486
35671
|
requestId: string;
|
|
35487
35672
|
baseRef: null;
|
|
35488
|
-
repoRoot: null;
|
|
35489
35673
|
isGit: false;
|
|
35490
35674
|
currentBranch: null;
|
|
35491
35675
|
remoteUrl: null;
|
|
@@ -35501,9 +35685,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35501
35685
|
message: string;
|
|
35502
35686
|
} | null;
|
|
35503
35687
|
cwd: string;
|
|
35688
|
+
repoRoot: string;
|
|
35504
35689
|
requestId: string;
|
|
35505
35690
|
baseRef: string | null;
|
|
35506
|
-
repoRoot: string;
|
|
35507
35691
|
isGit: true;
|
|
35508
35692
|
currentBranch: string | null;
|
|
35509
35693
|
remoteUrl: string | null;
|
|
@@ -35522,9 +35706,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35522
35706
|
message: string;
|
|
35523
35707
|
} | null;
|
|
35524
35708
|
cwd: string;
|
|
35709
|
+
repoRoot: string;
|
|
35525
35710
|
requestId: string;
|
|
35526
35711
|
baseRef: string;
|
|
35527
|
-
repoRoot: string;
|
|
35528
35712
|
isGit: true;
|
|
35529
35713
|
currentBranch: string | null;
|
|
35530
35714
|
remoteUrl: string | null;
|
|
@@ -36448,6 +36632,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36448
36632
|
archivedAt: string;
|
|
36449
36633
|
requestId: string;
|
|
36450
36634
|
};
|
|
36635
|
+
} | {
|
|
36636
|
+
type: "agent_unarchived";
|
|
36637
|
+
payload: {
|
|
36638
|
+
agentId: string;
|
|
36639
|
+
requestId: string;
|
|
36640
|
+
};
|
|
36451
36641
|
} | {
|
|
36452
36642
|
type: "checkout_status_response";
|
|
36453
36643
|
payload: {
|
|
@@ -36456,9 +36646,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36456
36646
|
message: string;
|
|
36457
36647
|
} | null;
|
|
36458
36648
|
cwd: string;
|
|
36649
|
+
repoRoot: null;
|
|
36459
36650
|
requestId: string;
|
|
36460
36651
|
baseRef: null;
|
|
36461
|
-
repoRoot: null;
|
|
36462
36652
|
isGit: false;
|
|
36463
36653
|
currentBranch: null;
|
|
36464
36654
|
remoteUrl: null;
|
|
@@ -36474,9 +36664,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36474
36664
|
message: string;
|
|
36475
36665
|
} | null;
|
|
36476
36666
|
cwd: string;
|
|
36667
|
+
repoRoot: string;
|
|
36477
36668
|
requestId: string;
|
|
36478
36669
|
baseRef: string | null;
|
|
36479
|
-
repoRoot: string;
|
|
36480
36670
|
isGit: true;
|
|
36481
36671
|
currentBranch: string | null;
|
|
36482
36672
|
remoteUrl: string | null;
|
|
@@ -36495,9 +36685,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36495
36685
|
message: string;
|
|
36496
36686
|
} | null;
|
|
36497
36687
|
cwd: string;
|
|
36688
|
+
repoRoot: string;
|
|
36498
36689
|
requestId: string;
|
|
36499
36690
|
baseRef: string;
|
|
36500
|
-
repoRoot: string;
|
|
36501
36691
|
isGit: true;
|
|
36502
36692
|
currentBranch: string | null;
|
|
36503
36693
|
remoteUrl: string | null;
|