@junctionpanel/server 0.1.18 → 0.1.20
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 +8 -2
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +27 -1
- 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/agent/provider-manifest.d.ts.map +1 -1
- package/dist/server/server/agent/provider-manifest.js +29 -0
- package/dist/server/server/agent/provider-manifest.js.map +1 -1
- package/dist/server/server/agent/provider-registry.d.ts.map +1 -1
- package/dist/server/server/agent/provider-registry.js +8 -0
- package/dist/server/server/agent/provider-registry.js.map +1 -1
- package/dist/server/server/agent/providers/gemini-agent.d.ts +425 -0
- package/dist/server/server/agent/providers/gemini-agent.d.ts.map +1 -0
- package/dist/server/server/agent/providers/gemini-agent.js +973 -0
- package/dist/server/server/agent/providers/gemini-agent.js.map +1 -0
- package/dist/server/server/persistence-hooks.d.ts.map +1 -1
- package/dist/server/server/persistence-hooks.js +4 -1
- package/dist/server/server/persistence-hooks.js.map +1 -1
- package/dist/server/server/session.d.ts +6 -1
- package/dist/server/server/session.d.ts.map +1 -1
- package/dist/server/server/session.js +434 -146
- package/dist/server/server/session.js.map +1 -1
- package/dist/server/shared/messages.d.ts +314 -106
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +16 -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 +2 -2
|
@@ -268,18 +268,35 @@ export declare const DeleteAgentRequestMessageSchema: z.ZodObject<{
|
|
|
268
268
|
type: "delete_agent_request";
|
|
269
269
|
requestId: string;
|
|
270
270
|
}>;
|
|
271
|
+
export declare const DirtyWorktreeBehaviorSchema: z.ZodEnum<["reject", "discard"]>;
|
|
271
272
|
export declare const ArchiveAgentRequestMessageSchema: z.ZodObject<{
|
|
272
273
|
type: z.ZodLiteral<"archive_agent_request">;
|
|
273
274
|
agentId: z.ZodString;
|
|
275
|
+
dirtyWorktreeBehavior: z.ZodOptional<z.ZodEnum<["reject", "discard"]>>;
|
|
274
276
|
requestId: z.ZodString;
|
|
275
277
|
}, "strip", z.ZodTypeAny, {
|
|
276
278
|
agentId: string;
|
|
277
279
|
type: "archive_agent_request";
|
|
278
280
|
requestId: string;
|
|
281
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
279
282
|
}, {
|
|
280
283
|
agentId: string;
|
|
281
284
|
type: "archive_agent_request";
|
|
282
285
|
requestId: string;
|
|
286
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
287
|
+
}>;
|
|
288
|
+
export declare const UnarchiveAgentRequestMessageSchema: z.ZodObject<{
|
|
289
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
290
|
+
agentId: z.ZodString;
|
|
291
|
+
requestId: z.ZodString;
|
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
|
293
|
+
agentId: string;
|
|
294
|
+
type: "unarchive_agent_request";
|
|
295
|
+
requestId: string;
|
|
296
|
+
}, {
|
|
297
|
+
agentId: string;
|
|
298
|
+
type: "unarchive_agent_request";
|
|
299
|
+
requestId: string;
|
|
283
300
|
}>;
|
|
284
301
|
export declare const UpdateAgentRequestMessageSchema: z.ZodObject<{
|
|
285
302
|
type: z.ZodLiteral<"update_agent_request">;
|
|
@@ -508,16 +525,16 @@ declare const GitSetupOptionsSchema: z.ZodObject<{
|
|
|
508
525
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
509
526
|
}, "strip", z.ZodTypeAny, {
|
|
510
527
|
baseBranch?: string | undefined;
|
|
528
|
+
worktreeSlug?: string | undefined;
|
|
511
529
|
createNewBranch?: boolean | undefined;
|
|
512
530
|
newBranchName?: string | undefined;
|
|
513
531
|
createWorktree?: boolean | undefined;
|
|
514
|
-
worktreeSlug?: string | undefined;
|
|
515
532
|
}, {
|
|
516
533
|
baseBranch?: string | undefined;
|
|
534
|
+
worktreeSlug?: string | undefined;
|
|
517
535
|
createNewBranch?: boolean | undefined;
|
|
518
536
|
newBranchName?: string | undefined;
|
|
519
537
|
createWorktree?: boolean | undefined;
|
|
520
|
-
worktreeSlug?: string | undefined;
|
|
521
538
|
}>;
|
|
522
539
|
export type GitSetupOptions = z.infer<typeof GitSetupOptionsSchema>;
|
|
523
540
|
export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
@@ -667,16 +684,16 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
667
684
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
668
685
|
}, "strip", z.ZodTypeAny, {
|
|
669
686
|
baseBranch?: string | undefined;
|
|
687
|
+
worktreeSlug?: string | undefined;
|
|
670
688
|
createNewBranch?: boolean | undefined;
|
|
671
689
|
newBranchName?: string | undefined;
|
|
672
690
|
createWorktree?: boolean | undefined;
|
|
673
|
-
worktreeSlug?: string | undefined;
|
|
674
691
|
}, {
|
|
675
692
|
baseBranch?: string | undefined;
|
|
693
|
+
worktreeSlug?: string | undefined;
|
|
676
694
|
createNewBranch?: boolean | undefined;
|
|
677
695
|
newBranchName?: string | undefined;
|
|
678
696
|
createWorktree?: boolean | undefined;
|
|
679
|
-
worktreeSlug?: string | undefined;
|
|
680
697
|
}>>;
|
|
681
698
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
682
699
|
requestId: z.ZodString;
|
|
@@ -725,10 +742,10 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
725
742
|
outputSchema?: Record<string, unknown> | undefined;
|
|
726
743
|
git?: {
|
|
727
744
|
baseBranch?: string | undefined;
|
|
745
|
+
worktreeSlug?: string | undefined;
|
|
728
746
|
createNewBranch?: boolean | undefined;
|
|
729
747
|
newBranchName?: string | undefined;
|
|
730
748
|
createWorktree?: boolean | undefined;
|
|
731
|
-
worktreeSlug?: string | undefined;
|
|
732
749
|
} | undefined;
|
|
733
750
|
}, {
|
|
734
751
|
type: "create_agent_request";
|
|
@@ -775,10 +792,10 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
|
|
|
775
792
|
outputSchema?: Record<string, unknown> | undefined;
|
|
776
793
|
git?: {
|
|
777
794
|
baseBranch?: string | undefined;
|
|
795
|
+
worktreeSlug?: string | undefined;
|
|
778
796
|
createNewBranch?: boolean | undefined;
|
|
779
797
|
newBranchName?: string | undefined;
|
|
780
798
|
createWorktree?: boolean | undefined;
|
|
781
|
-
worktreeSlug?: string | undefined;
|
|
782
799
|
} | undefined;
|
|
783
800
|
}>;
|
|
784
801
|
export declare const ListProviderModelsRequestMessageSchema: z.ZodObject<{
|
|
@@ -1590,15 +1607,15 @@ export declare const JunctionWorktreeArchiveRequestSchema: z.ZodObject<{
|
|
|
1590
1607
|
}, "strip", z.ZodTypeAny, {
|
|
1591
1608
|
type: "junction_worktree_archive_request";
|
|
1592
1609
|
requestId: string;
|
|
1593
|
-
worktreePath?: string | undefined;
|
|
1594
|
-
branchName?: string | undefined;
|
|
1595
1610
|
repoRoot?: string | undefined;
|
|
1611
|
+
branchName?: string | undefined;
|
|
1612
|
+
worktreePath?: string | undefined;
|
|
1596
1613
|
}, {
|
|
1597
1614
|
type: "junction_worktree_archive_request";
|
|
1598
1615
|
requestId: string;
|
|
1599
|
-
worktreePath?: string | undefined;
|
|
1600
|
-
branchName?: string | undefined;
|
|
1601
1616
|
repoRoot?: string | undefined;
|
|
1617
|
+
branchName?: string | undefined;
|
|
1618
|
+
worktreePath?: string | undefined;
|
|
1602
1619
|
}>;
|
|
1603
1620
|
export declare const FileExplorerRequestSchema: z.ZodObject<{
|
|
1604
1621
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
@@ -2086,15 +2103,30 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2086
2103
|
}>, z.ZodObject<{
|
|
2087
2104
|
type: z.ZodLiteral<"archive_agent_request">;
|
|
2088
2105
|
agentId: z.ZodString;
|
|
2106
|
+
dirtyWorktreeBehavior: z.ZodOptional<z.ZodEnum<["reject", "discard"]>>;
|
|
2089
2107
|
requestId: z.ZodString;
|
|
2090
2108
|
}, "strip", z.ZodTypeAny, {
|
|
2091
2109
|
agentId: string;
|
|
2092
2110
|
type: "archive_agent_request";
|
|
2093
2111
|
requestId: string;
|
|
2112
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
2094
2113
|
}, {
|
|
2095
2114
|
agentId: string;
|
|
2096
2115
|
type: "archive_agent_request";
|
|
2097
2116
|
requestId: string;
|
|
2117
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
2118
|
+
}>, z.ZodObject<{
|
|
2119
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
2120
|
+
agentId: z.ZodString;
|
|
2121
|
+
requestId: z.ZodString;
|
|
2122
|
+
}, "strip", z.ZodTypeAny, {
|
|
2123
|
+
agentId: string;
|
|
2124
|
+
type: "unarchive_agent_request";
|
|
2125
|
+
requestId: string;
|
|
2126
|
+
}, {
|
|
2127
|
+
agentId: string;
|
|
2128
|
+
type: "unarchive_agent_request";
|
|
2129
|
+
requestId: string;
|
|
2098
2130
|
}>, z.ZodObject<{
|
|
2099
2131
|
type: z.ZodLiteral<"update_agent_request">;
|
|
2100
2132
|
agentId: z.ZodString;
|
|
@@ -2313,16 +2345,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2313
2345
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
2314
2346
|
}, "strip", z.ZodTypeAny, {
|
|
2315
2347
|
baseBranch?: string | undefined;
|
|
2348
|
+
worktreeSlug?: string | undefined;
|
|
2316
2349
|
createNewBranch?: boolean | undefined;
|
|
2317
2350
|
newBranchName?: string | undefined;
|
|
2318
2351
|
createWorktree?: boolean | undefined;
|
|
2319
|
-
worktreeSlug?: string | undefined;
|
|
2320
2352
|
}, {
|
|
2321
2353
|
baseBranch?: string | undefined;
|
|
2354
|
+
worktreeSlug?: string | undefined;
|
|
2322
2355
|
createNewBranch?: boolean | undefined;
|
|
2323
2356
|
newBranchName?: string | undefined;
|
|
2324
2357
|
createWorktree?: boolean | undefined;
|
|
2325
|
-
worktreeSlug?: string | undefined;
|
|
2326
2358
|
}>>;
|
|
2327
2359
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2328
2360
|
requestId: z.ZodString;
|
|
@@ -2371,10 +2403,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2371
2403
|
outputSchema?: Record<string, unknown> | undefined;
|
|
2372
2404
|
git?: {
|
|
2373
2405
|
baseBranch?: string | undefined;
|
|
2406
|
+
worktreeSlug?: string | undefined;
|
|
2374
2407
|
createNewBranch?: boolean | undefined;
|
|
2375
2408
|
newBranchName?: string | undefined;
|
|
2376
2409
|
createWorktree?: boolean | undefined;
|
|
2377
|
-
worktreeSlug?: string | undefined;
|
|
2378
2410
|
} | undefined;
|
|
2379
2411
|
}, {
|
|
2380
2412
|
type: "create_agent_request";
|
|
@@ -2421,10 +2453,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
2421
2453
|
outputSchema?: Record<string, unknown> | undefined;
|
|
2422
2454
|
git?: {
|
|
2423
2455
|
baseBranch?: string | undefined;
|
|
2456
|
+
worktreeSlug?: string | undefined;
|
|
2424
2457
|
createNewBranch?: boolean | undefined;
|
|
2425
2458
|
newBranchName?: string | undefined;
|
|
2426
2459
|
createWorktree?: boolean | undefined;
|
|
2427
|
-
worktreeSlug?: string | undefined;
|
|
2428
2460
|
} | undefined;
|
|
2429
2461
|
}>, z.ZodObject<{
|
|
2430
2462
|
type: z.ZodLiteral<"list_provider_models_request">;
|
|
@@ -3058,15 +3090,15 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
3058
3090
|
}, "strip", z.ZodTypeAny, {
|
|
3059
3091
|
type: "junction_worktree_archive_request";
|
|
3060
3092
|
requestId: string;
|
|
3061
|
-
worktreePath?: string | undefined;
|
|
3062
|
-
branchName?: string | undefined;
|
|
3063
3093
|
repoRoot?: string | undefined;
|
|
3094
|
+
branchName?: string | undefined;
|
|
3095
|
+
worktreePath?: string | undefined;
|
|
3064
3096
|
}, {
|
|
3065
3097
|
type: "junction_worktree_archive_request";
|
|
3066
3098
|
requestId: string;
|
|
3067
|
-
worktreePath?: string | undefined;
|
|
3068
|
-
branchName?: string | undefined;
|
|
3069
3099
|
repoRoot?: string | undefined;
|
|
3100
|
+
branchName?: string | undefined;
|
|
3101
|
+
worktreePath?: string | undefined;
|
|
3070
3102
|
}>, z.ZodObject<{
|
|
3071
3103
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
3072
3104
|
agentId: z.ZodString;
|
|
@@ -7478,6 +7510,31 @@ export declare const AgentArchivedMessageSchema: z.ZodObject<{
|
|
|
7478
7510
|
requestId: string;
|
|
7479
7511
|
};
|
|
7480
7512
|
}>;
|
|
7513
|
+
export declare const AgentUnarchivedMessageSchema: z.ZodObject<{
|
|
7514
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
7515
|
+
payload: z.ZodObject<{
|
|
7516
|
+
agentId: z.ZodString;
|
|
7517
|
+
requestId: z.ZodString;
|
|
7518
|
+
}, "strip", z.ZodTypeAny, {
|
|
7519
|
+
agentId: string;
|
|
7520
|
+
requestId: string;
|
|
7521
|
+
}, {
|
|
7522
|
+
agentId: string;
|
|
7523
|
+
requestId: string;
|
|
7524
|
+
}>;
|
|
7525
|
+
}, "strip", z.ZodTypeAny, {
|
|
7526
|
+
type: "agent_unarchived";
|
|
7527
|
+
payload: {
|
|
7528
|
+
agentId: string;
|
|
7529
|
+
requestId: string;
|
|
7530
|
+
};
|
|
7531
|
+
}, {
|
|
7532
|
+
type: "agent_unarchived";
|
|
7533
|
+
payload: {
|
|
7534
|
+
agentId: string;
|
|
7535
|
+
requestId: string;
|
|
7536
|
+
};
|
|
7537
|
+
}>;
|
|
7481
7538
|
export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
7482
7539
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
7483
7540
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -7511,9 +7568,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7511
7568
|
message: string;
|
|
7512
7569
|
} | null;
|
|
7513
7570
|
cwd: string;
|
|
7571
|
+
repoRoot: null;
|
|
7514
7572
|
requestId: string;
|
|
7515
7573
|
baseRef: null;
|
|
7516
|
-
repoRoot: null;
|
|
7517
7574
|
isGit: false;
|
|
7518
7575
|
currentBranch: null;
|
|
7519
7576
|
remoteUrl: null;
|
|
@@ -7529,9 +7586,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7529
7586
|
message: string;
|
|
7530
7587
|
} | null;
|
|
7531
7588
|
cwd: string;
|
|
7589
|
+
repoRoot: null;
|
|
7532
7590
|
requestId: string;
|
|
7533
7591
|
baseRef: null;
|
|
7534
|
-
repoRoot: null;
|
|
7535
7592
|
isGit: false;
|
|
7536
7593
|
currentBranch: null;
|
|
7537
7594
|
remoteUrl: null;
|
|
@@ -7581,9 +7638,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7581
7638
|
message: string;
|
|
7582
7639
|
} | null;
|
|
7583
7640
|
cwd: string;
|
|
7641
|
+
repoRoot: string;
|
|
7584
7642
|
requestId: string;
|
|
7585
7643
|
baseRef: string | null;
|
|
7586
|
-
repoRoot: string;
|
|
7587
7644
|
isGit: true;
|
|
7588
7645
|
currentBranch: string | null;
|
|
7589
7646
|
remoteUrl: string | null;
|
|
@@ -7602,9 +7659,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7602
7659
|
message: string;
|
|
7603
7660
|
} | null;
|
|
7604
7661
|
cwd: string;
|
|
7662
|
+
repoRoot: string;
|
|
7605
7663
|
requestId: string;
|
|
7606
7664
|
baseRef: string | null;
|
|
7607
|
-
repoRoot: string;
|
|
7608
7665
|
isGit: true;
|
|
7609
7666
|
currentBranch: string | null;
|
|
7610
7667
|
remoteUrl: string | null;
|
|
@@ -7658,9 +7715,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7658
7715
|
message: string;
|
|
7659
7716
|
} | null;
|
|
7660
7717
|
cwd: string;
|
|
7718
|
+
repoRoot: string;
|
|
7661
7719
|
requestId: string;
|
|
7662
7720
|
baseRef: string;
|
|
7663
|
-
repoRoot: string;
|
|
7664
7721
|
isGit: true;
|
|
7665
7722
|
currentBranch: string | null;
|
|
7666
7723
|
remoteUrl: string | null;
|
|
@@ -7680,9 +7737,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7680
7737
|
message: string;
|
|
7681
7738
|
} | null;
|
|
7682
7739
|
cwd: string;
|
|
7740
|
+
repoRoot: string;
|
|
7683
7741
|
requestId: string;
|
|
7684
7742
|
baseRef: string;
|
|
7685
|
-
repoRoot: string;
|
|
7686
7743
|
isGit: true;
|
|
7687
7744
|
currentBranch: string | null;
|
|
7688
7745
|
remoteUrl: string | null;
|
|
@@ -7705,9 +7762,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7705
7762
|
message: string;
|
|
7706
7763
|
} | null;
|
|
7707
7764
|
cwd: string;
|
|
7765
|
+
repoRoot: null;
|
|
7708
7766
|
requestId: string;
|
|
7709
7767
|
baseRef: null;
|
|
7710
|
-
repoRoot: null;
|
|
7711
7768
|
isGit: false;
|
|
7712
7769
|
currentBranch: null;
|
|
7713
7770
|
remoteUrl: null;
|
|
@@ -7723,9 +7780,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7723
7780
|
message: string;
|
|
7724
7781
|
} | null;
|
|
7725
7782
|
cwd: string;
|
|
7783
|
+
repoRoot: string;
|
|
7726
7784
|
requestId: string;
|
|
7727
7785
|
baseRef: string | null;
|
|
7728
|
-
repoRoot: string;
|
|
7729
7786
|
isGit: true;
|
|
7730
7787
|
currentBranch: string | null;
|
|
7731
7788
|
remoteUrl: string | null;
|
|
@@ -7744,9 +7801,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7744
7801
|
message: string;
|
|
7745
7802
|
} | null;
|
|
7746
7803
|
cwd: string;
|
|
7804
|
+
repoRoot: string;
|
|
7747
7805
|
requestId: string;
|
|
7748
7806
|
baseRef: string;
|
|
7749
|
-
repoRoot: string;
|
|
7750
7807
|
isGit: true;
|
|
7751
7808
|
currentBranch: string | null;
|
|
7752
7809
|
remoteUrl: string | null;
|
|
@@ -7769,9 +7826,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7769
7826
|
message: string;
|
|
7770
7827
|
} | null;
|
|
7771
7828
|
cwd: string;
|
|
7829
|
+
repoRoot: null;
|
|
7772
7830
|
requestId: string;
|
|
7773
7831
|
baseRef: null;
|
|
7774
|
-
repoRoot: null;
|
|
7775
7832
|
isGit: false;
|
|
7776
7833
|
currentBranch: null;
|
|
7777
7834
|
remoteUrl: null;
|
|
@@ -7787,9 +7844,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7787
7844
|
message: string;
|
|
7788
7845
|
} | null;
|
|
7789
7846
|
cwd: string;
|
|
7847
|
+
repoRoot: string;
|
|
7790
7848
|
requestId: string;
|
|
7791
7849
|
baseRef: string | null;
|
|
7792
|
-
repoRoot: string;
|
|
7793
7850
|
isGit: true;
|
|
7794
7851
|
currentBranch: string | null;
|
|
7795
7852
|
remoteUrl: string | null;
|
|
@@ -7808,9 +7865,9 @@ export declare const CheckoutStatusResponseSchema: z.ZodObject<{
|
|
|
7808
7865
|
message: string;
|
|
7809
7866
|
} | null;
|
|
7810
7867
|
cwd: string;
|
|
7868
|
+
repoRoot: string;
|
|
7811
7869
|
requestId: string;
|
|
7812
7870
|
baseRef: string;
|
|
7813
|
-
repoRoot: string;
|
|
7814
7871
|
isGit: true;
|
|
7815
7872
|
currentBranch: string | null;
|
|
7816
7873
|
remoteUrl: string | null;
|
|
@@ -13474,6 +13531,30 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13474
13531
|
archivedAt: string;
|
|
13475
13532
|
requestId: string;
|
|
13476
13533
|
};
|
|
13534
|
+
}>, z.ZodObject<{
|
|
13535
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
13536
|
+
payload: z.ZodObject<{
|
|
13537
|
+
agentId: z.ZodString;
|
|
13538
|
+
requestId: z.ZodString;
|
|
13539
|
+
}, "strip", z.ZodTypeAny, {
|
|
13540
|
+
agentId: string;
|
|
13541
|
+
requestId: string;
|
|
13542
|
+
}, {
|
|
13543
|
+
agentId: string;
|
|
13544
|
+
requestId: string;
|
|
13545
|
+
}>;
|
|
13546
|
+
}, "strip", z.ZodTypeAny, {
|
|
13547
|
+
type: "agent_unarchived";
|
|
13548
|
+
payload: {
|
|
13549
|
+
agentId: string;
|
|
13550
|
+
requestId: string;
|
|
13551
|
+
};
|
|
13552
|
+
}, {
|
|
13553
|
+
type: "agent_unarchived";
|
|
13554
|
+
payload: {
|
|
13555
|
+
agentId: string;
|
|
13556
|
+
requestId: string;
|
|
13557
|
+
};
|
|
13477
13558
|
}>, z.ZodObject<{
|
|
13478
13559
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
13479
13560
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -13507,9 +13588,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13507
13588
|
message: string;
|
|
13508
13589
|
} | null;
|
|
13509
13590
|
cwd: string;
|
|
13591
|
+
repoRoot: null;
|
|
13510
13592
|
requestId: string;
|
|
13511
13593
|
baseRef: null;
|
|
13512
|
-
repoRoot: null;
|
|
13513
13594
|
isGit: false;
|
|
13514
13595
|
currentBranch: null;
|
|
13515
13596
|
remoteUrl: null;
|
|
@@ -13525,9 +13606,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13525
13606
|
message: string;
|
|
13526
13607
|
} | null;
|
|
13527
13608
|
cwd: string;
|
|
13609
|
+
repoRoot: null;
|
|
13528
13610
|
requestId: string;
|
|
13529
13611
|
baseRef: null;
|
|
13530
|
-
repoRoot: null;
|
|
13531
13612
|
isGit: false;
|
|
13532
13613
|
currentBranch: null;
|
|
13533
13614
|
remoteUrl: null;
|
|
@@ -13577,9 +13658,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13577
13658
|
message: string;
|
|
13578
13659
|
} | null;
|
|
13579
13660
|
cwd: string;
|
|
13661
|
+
repoRoot: string;
|
|
13580
13662
|
requestId: string;
|
|
13581
13663
|
baseRef: string | null;
|
|
13582
|
-
repoRoot: string;
|
|
13583
13664
|
isGit: true;
|
|
13584
13665
|
currentBranch: string | null;
|
|
13585
13666
|
remoteUrl: string | null;
|
|
@@ -13598,9 +13679,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13598
13679
|
message: string;
|
|
13599
13680
|
} | null;
|
|
13600
13681
|
cwd: string;
|
|
13682
|
+
repoRoot: string;
|
|
13601
13683
|
requestId: string;
|
|
13602
13684
|
baseRef: string | null;
|
|
13603
|
-
repoRoot: string;
|
|
13604
13685
|
isGit: true;
|
|
13605
13686
|
currentBranch: string | null;
|
|
13606
13687
|
remoteUrl: string | null;
|
|
@@ -13654,9 +13735,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13654
13735
|
message: string;
|
|
13655
13736
|
} | null;
|
|
13656
13737
|
cwd: string;
|
|
13738
|
+
repoRoot: string;
|
|
13657
13739
|
requestId: string;
|
|
13658
13740
|
baseRef: string;
|
|
13659
|
-
repoRoot: string;
|
|
13660
13741
|
isGit: true;
|
|
13661
13742
|
currentBranch: string | null;
|
|
13662
13743
|
remoteUrl: string | null;
|
|
@@ -13676,9 +13757,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13676
13757
|
message: string;
|
|
13677
13758
|
} | null;
|
|
13678
13759
|
cwd: string;
|
|
13760
|
+
repoRoot: string;
|
|
13679
13761
|
requestId: string;
|
|
13680
13762
|
baseRef: string;
|
|
13681
|
-
repoRoot: string;
|
|
13682
13763
|
isGit: true;
|
|
13683
13764
|
currentBranch: string | null;
|
|
13684
13765
|
remoteUrl: string | null;
|
|
@@ -13701,9 +13782,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13701
13782
|
message: string;
|
|
13702
13783
|
} | null;
|
|
13703
13784
|
cwd: string;
|
|
13785
|
+
repoRoot: null;
|
|
13704
13786
|
requestId: string;
|
|
13705
13787
|
baseRef: null;
|
|
13706
|
-
repoRoot: null;
|
|
13707
13788
|
isGit: false;
|
|
13708
13789
|
currentBranch: null;
|
|
13709
13790
|
remoteUrl: null;
|
|
@@ -13719,9 +13800,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13719
13800
|
message: string;
|
|
13720
13801
|
} | null;
|
|
13721
13802
|
cwd: string;
|
|
13803
|
+
repoRoot: string;
|
|
13722
13804
|
requestId: string;
|
|
13723
13805
|
baseRef: string | null;
|
|
13724
|
-
repoRoot: string;
|
|
13725
13806
|
isGit: true;
|
|
13726
13807
|
currentBranch: string | null;
|
|
13727
13808
|
remoteUrl: string | null;
|
|
@@ -13740,9 +13821,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13740
13821
|
message: string;
|
|
13741
13822
|
} | null;
|
|
13742
13823
|
cwd: string;
|
|
13824
|
+
repoRoot: string;
|
|
13743
13825
|
requestId: string;
|
|
13744
13826
|
baseRef: string;
|
|
13745
|
-
repoRoot: string;
|
|
13746
13827
|
isGit: true;
|
|
13747
13828
|
currentBranch: string | null;
|
|
13748
13829
|
remoteUrl: string | null;
|
|
@@ -13765,9 +13846,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13765
13846
|
message: string;
|
|
13766
13847
|
} | null;
|
|
13767
13848
|
cwd: string;
|
|
13849
|
+
repoRoot: null;
|
|
13768
13850
|
requestId: string;
|
|
13769
13851
|
baseRef: null;
|
|
13770
|
-
repoRoot: null;
|
|
13771
13852
|
isGit: false;
|
|
13772
13853
|
currentBranch: null;
|
|
13773
13854
|
remoteUrl: null;
|
|
@@ -13783,9 +13864,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13783
13864
|
message: string;
|
|
13784
13865
|
} | null;
|
|
13785
13866
|
cwd: string;
|
|
13867
|
+
repoRoot: string;
|
|
13786
13868
|
requestId: string;
|
|
13787
13869
|
baseRef: string | null;
|
|
13788
|
-
repoRoot: string;
|
|
13789
13870
|
isGit: true;
|
|
13790
13871
|
currentBranch: string | null;
|
|
13791
13872
|
remoteUrl: string | null;
|
|
@@ -13804,9 +13885,9 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
|
|
|
13804
13885
|
message: string;
|
|
13805
13886
|
} | null;
|
|
13806
13887
|
cwd: string;
|
|
13888
|
+
repoRoot: string;
|
|
13807
13889
|
requestId: string;
|
|
13808
13890
|
baseRef: string;
|
|
13809
|
-
repoRoot: string;
|
|
13810
13891
|
isGit: true;
|
|
13811
13892
|
currentBranch: string | null;
|
|
13812
13893
|
remoteUrl: string | null;
|
|
@@ -16499,6 +16580,8 @@ export type WaitForFinishResponseMessage = z.infer<typeof WaitForFinishResponseM
|
|
|
16499
16580
|
export type AgentPermissionRequestMessage = z.infer<typeof AgentPermissionRequestMessageSchema>;
|
|
16500
16581
|
export type AgentPermissionResolvedMessage = z.infer<typeof AgentPermissionResolvedMessageSchema>;
|
|
16501
16582
|
export type AgentDeletedMessage = z.infer<typeof AgentDeletedMessageSchema>;
|
|
16583
|
+
export type AgentArchivedMessage = z.infer<typeof AgentArchivedMessageSchema>;
|
|
16584
|
+
export type AgentUnarchivedMessage = z.infer<typeof AgentUnarchivedMessageSchema>;
|
|
16502
16585
|
export type ListProviderModelsResponseMessage = z.infer<typeof ListProviderModelsResponseMessageSchema>;
|
|
16503
16586
|
export type ListAvailableProvidersResponse = z.infer<typeof ListAvailableProvidersResponseSchema>;
|
|
16504
16587
|
export type ActivityLogPayload = z.infer<typeof ActivityLogPayloadSchema>;
|
|
@@ -16511,6 +16594,9 @@ export type ListProviderModelsRequestMessage = z.infer<typeof ListProviderModels
|
|
|
16511
16594
|
export type ListAvailableProvidersRequestMessage = z.infer<typeof ListAvailableProvidersRequestMessageSchema>;
|
|
16512
16595
|
export type ResumeAgentRequestMessage = z.infer<typeof ResumeAgentRequestMessageSchema>;
|
|
16513
16596
|
export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessageSchema>;
|
|
16597
|
+
export type DirtyWorktreeBehavior = z.infer<typeof DirtyWorktreeBehaviorSchema>;
|
|
16598
|
+
export type ArchiveAgentRequestMessage = z.infer<typeof ArchiveAgentRequestMessageSchema>;
|
|
16599
|
+
export type UnarchiveAgentRequestMessage = z.infer<typeof UnarchiveAgentRequestMessageSchema>;
|
|
16514
16600
|
export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
|
|
16515
16601
|
export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessageSchema>;
|
|
16516
16602
|
export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
|
|
@@ -16772,15 +16858,30 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16772
16858
|
}>, z.ZodObject<{
|
|
16773
16859
|
type: z.ZodLiteral<"archive_agent_request">;
|
|
16774
16860
|
agentId: z.ZodString;
|
|
16861
|
+
dirtyWorktreeBehavior: z.ZodOptional<z.ZodEnum<["reject", "discard"]>>;
|
|
16775
16862
|
requestId: z.ZodString;
|
|
16776
16863
|
}, "strip", z.ZodTypeAny, {
|
|
16777
16864
|
agentId: string;
|
|
16778
16865
|
type: "archive_agent_request";
|
|
16779
16866
|
requestId: string;
|
|
16867
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
16780
16868
|
}, {
|
|
16781
16869
|
agentId: string;
|
|
16782
16870
|
type: "archive_agent_request";
|
|
16783
16871
|
requestId: string;
|
|
16872
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
16873
|
+
}>, z.ZodObject<{
|
|
16874
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
16875
|
+
agentId: z.ZodString;
|
|
16876
|
+
requestId: z.ZodString;
|
|
16877
|
+
}, "strip", z.ZodTypeAny, {
|
|
16878
|
+
agentId: string;
|
|
16879
|
+
type: "unarchive_agent_request";
|
|
16880
|
+
requestId: string;
|
|
16881
|
+
}, {
|
|
16882
|
+
agentId: string;
|
|
16883
|
+
type: "unarchive_agent_request";
|
|
16884
|
+
requestId: string;
|
|
16784
16885
|
}>, z.ZodObject<{
|
|
16785
16886
|
type: z.ZodLiteral<"update_agent_request">;
|
|
16786
16887
|
agentId: z.ZodString;
|
|
@@ -16999,16 +17100,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
16999
17100
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
17000
17101
|
}, "strip", z.ZodTypeAny, {
|
|
17001
17102
|
baseBranch?: string | undefined;
|
|
17103
|
+
worktreeSlug?: string | undefined;
|
|
17002
17104
|
createNewBranch?: boolean | undefined;
|
|
17003
17105
|
newBranchName?: string | undefined;
|
|
17004
17106
|
createWorktree?: boolean | undefined;
|
|
17005
|
-
worktreeSlug?: string | undefined;
|
|
17006
17107
|
}, {
|
|
17007
17108
|
baseBranch?: string | undefined;
|
|
17109
|
+
worktreeSlug?: string | undefined;
|
|
17008
17110
|
createNewBranch?: boolean | undefined;
|
|
17009
17111
|
newBranchName?: string | undefined;
|
|
17010
17112
|
createWorktree?: boolean | undefined;
|
|
17011
|
-
worktreeSlug?: string | undefined;
|
|
17012
17113
|
}>>;
|
|
17013
17114
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
17014
17115
|
requestId: z.ZodString;
|
|
@@ -17057,10 +17158,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17057
17158
|
outputSchema?: Record<string, unknown> | undefined;
|
|
17058
17159
|
git?: {
|
|
17059
17160
|
baseBranch?: string | undefined;
|
|
17161
|
+
worktreeSlug?: string | undefined;
|
|
17060
17162
|
createNewBranch?: boolean | undefined;
|
|
17061
17163
|
newBranchName?: string | undefined;
|
|
17062
17164
|
createWorktree?: boolean | undefined;
|
|
17063
|
-
worktreeSlug?: string | undefined;
|
|
17064
17165
|
} | undefined;
|
|
17065
17166
|
}, {
|
|
17066
17167
|
type: "create_agent_request";
|
|
@@ -17107,10 +17208,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17107
17208
|
outputSchema?: Record<string, unknown> | undefined;
|
|
17108
17209
|
git?: {
|
|
17109
17210
|
baseBranch?: string | undefined;
|
|
17211
|
+
worktreeSlug?: string | undefined;
|
|
17110
17212
|
createNewBranch?: boolean | undefined;
|
|
17111
17213
|
newBranchName?: string | undefined;
|
|
17112
17214
|
createWorktree?: boolean | undefined;
|
|
17113
|
-
worktreeSlug?: string | undefined;
|
|
17114
17215
|
} | undefined;
|
|
17115
17216
|
}>, z.ZodObject<{
|
|
17116
17217
|
type: z.ZodLiteral<"list_provider_models_request">;
|
|
@@ -17744,15 +17845,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
17744
17845
|
}, "strip", z.ZodTypeAny, {
|
|
17745
17846
|
type: "junction_worktree_archive_request";
|
|
17746
17847
|
requestId: string;
|
|
17747
|
-
worktreePath?: string | undefined;
|
|
17748
|
-
branchName?: string | undefined;
|
|
17749
17848
|
repoRoot?: string | undefined;
|
|
17849
|
+
branchName?: string | undefined;
|
|
17850
|
+
worktreePath?: string | undefined;
|
|
17750
17851
|
}, {
|
|
17751
17852
|
type: "junction_worktree_archive_request";
|
|
17752
17853
|
requestId: string;
|
|
17753
|
-
worktreePath?: string | undefined;
|
|
17754
|
-
branchName?: string | undefined;
|
|
17755
17854
|
repoRoot?: string | undefined;
|
|
17855
|
+
branchName?: string | undefined;
|
|
17856
|
+
worktreePath?: string | undefined;
|
|
17756
17857
|
}>, z.ZodObject<{
|
|
17757
17858
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
17758
17859
|
agentId: z.ZodString;
|
|
@@ -18103,6 +18204,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18103
18204
|
agentId: string;
|
|
18104
18205
|
type: "archive_agent_request";
|
|
18105
18206
|
requestId: string;
|
|
18207
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
18208
|
+
} | {
|
|
18209
|
+
agentId: string;
|
|
18210
|
+
type: "unarchive_agent_request";
|
|
18211
|
+
requestId: string;
|
|
18106
18212
|
} | {
|
|
18107
18213
|
agentId: string;
|
|
18108
18214
|
type: "update_agent_request";
|
|
@@ -18195,10 +18301,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18195
18301
|
outputSchema?: Record<string, unknown> | undefined;
|
|
18196
18302
|
git?: {
|
|
18197
18303
|
baseBranch?: string | undefined;
|
|
18304
|
+
worktreeSlug?: string | undefined;
|
|
18198
18305
|
createNewBranch?: boolean | undefined;
|
|
18199
18306
|
newBranchName?: string | undefined;
|
|
18200
18307
|
createWorktree?: boolean | undefined;
|
|
18201
|
-
worktreeSlug?: string | undefined;
|
|
18202
18308
|
} | undefined;
|
|
18203
18309
|
} | {
|
|
18204
18310
|
provider: string;
|
|
@@ -18376,9 +18482,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18376
18482
|
} | {
|
|
18377
18483
|
type: "junction_worktree_archive_request";
|
|
18378
18484
|
requestId: string;
|
|
18379
|
-
worktreePath?: string | undefined;
|
|
18380
|
-
branchName?: string | undefined;
|
|
18381
18485
|
repoRoot?: string | undefined;
|
|
18486
|
+
branchName?: string | undefined;
|
|
18487
|
+
worktreePath?: string | undefined;
|
|
18382
18488
|
} | {
|
|
18383
18489
|
agentId: string;
|
|
18384
18490
|
mode: "file" | "list";
|
|
@@ -18492,6 +18598,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18492
18598
|
agentId: string;
|
|
18493
18599
|
type: "archive_agent_request";
|
|
18494
18600
|
requestId: string;
|
|
18601
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
18602
|
+
} | {
|
|
18603
|
+
agentId: string;
|
|
18604
|
+
type: "unarchive_agent_request";
|
|
18605
|
+
requestId: string;
|
|
18495
18606
|
} | {
|
|
18496
18607
|
agentId: string;
|
|
18497
18608
|
type: "update_agent_request";
|
|
@@ -18584,10 +18695,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18584
18695
|
outputSchema?: Record<string, unknown> | undefined;
|
|
18585
18696
|
git?: {
|
|
18586
18697
|
baseBranch?: string | undefined;
|
|
18698
|
+
worktreeSlug?: string | undefined;
|
|
18587
18699
|
createNewBranch?: boolean | undefined;
|
|
18588
18700
|
newBranchName?: string | undefined;
|
|
18589
18701
|
createWorktree?: boolean | undefined;
|
|
18590
|
-
worktreeSlug?: string | undefined;
|
|
18591
18702
|
} | undefined;
|
|
18592
18703
|
} | {
|
|
18593
18704
|
provider: string;
|
|
@@ -18765,9 +18876,9 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
18765
18876
|
} | {
|
|
18766
18877
|
type: "junction_worktree_archive_request";
|
|
18767
18878
|
requestId: string;
|
|
18768
|
-
worktreePath?: string | undefined;
|
|
18769
|
-
branchName?: string | undefined;
|
|
18770
18879
|
repoRoot?: string | undefined;
|
|
18880
|
+
branchName?: string | undefined;
|
|
18881
|
+
worktreePath?: string | undefined;
|
|
18771
18882
|
} | {
|
|
18772
18883
|
agentId: string;
|
|
18773
18884
|
mode: "file" | "list";
|
|
@@ -21826,6 +21937,30 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21826
21937
|
archivedAt: string;
|
|
21827
21938
|
requestId: string;
|
|
21828
21939
|
};
|
|
21940
|
+
}>, z.ZodObject<{
|
|
21941
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
21942
|
+
payload: z.ZodObject<{
|
|
21943
|
+
agentId: z.ZodString;
|
|
21944
|
+
requestId: z.ZodString;
|
|
21945
|
+
}, "strip", z.ZodTypeAny, {
|
|
21946
|
+
agentId: string;
|
|
21947
|
+
requestId: string;
|
|
21948
|
+
}, {
|
|
21949
|
+
agentId: string;
|
|
21950
|
+
requestId: string;
|
|
21951
|
+
}>;
|
|
21952
|
+
}, "strip", z.ZodTypeAny, {
|
|
21953
|
+
type: "agent_unarchived";
|
|
21954
|
+
payload: {
|
|
21955
|
+
agentId: string;
|
|
21956
|
+
requestId: string;
|
|
21957
|
+
};
|
|
21958
|
+
}, {
|
|
21959
|
+
type: "agent_unarchived";
|
|
21960
|
+
payload: {
|
|
21961
|
+
agentId: string;
|
|
21962
|
+
requestId: string;
|
|
21963
|
+
};
|
|
21829
21964
|
}>, z.ZodObject<{
|
|
21830
21965
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
21831
21966
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -21859,9 +21994,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21859
21994
|
message: string;
|
|
21860
21995
|
} | null;
|
|
21861
21996
|
cwd: string;
|
|
21997
|
+
repoRoot: null;
|
|
21862
21998
|
requestId: string;
|
|
21863
21999
|
baseRef: null;
|
|
21864
|
-
repoRoot: null;
|
|
21865
22000
|
isGit: false;
|
|
21866
22001
|
currentBranch: null;
|
|
21867
22002
|
remoteUrl: null;
|
|
@@ -21877,9 +22012,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21877
22012
|
message: string;
|
|
21878
22013
|
} | null;
|
|
21879
22014
|
cwd: string;
|
|
22015
|
+
repoRoot: null;
|
|
21880
22016
|
requestId: string;
|
|
21881
22017
|
baseRef: null;
|
|
21882
|
-
repoRoot: null;
|
|
21883
22018
|
isGit: false;
|
|
21884
22019
|
currentBranch: null;
|
|
21885
22020
|
remoteUrl: null;
|
|
@@ -21929,9 +22064,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21929
22064
|
message: string;
|
|
21930
22065
|
} | null;
|
|
21931
22066
|
cwd: string;
|
|
22067
|
+
repoRoot: string;
|
|
21932
22068
|
requestId: string;
|
|
21933
22069
|
baseRef: string | null;
|
|
21934
|
-
repoRoot: string;
|
|
21935
22070
|
isGit: true;
|
|
21936
22071
|
currentBranch: string | null;
|
|
21937
22072
|
remoteUrl: string | null;
|
|
@@ -21950,9 +22085,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
21950
22085
|
message: string;
|
|
21951
22086
|
} | null;
|
|
21952
22087
|
cwd: string;
|
|
22088
|
+
repoRoot: string;
|
|
21953
22089
|
requestId: string;
|
|
21954
22090
|
baseRef: string | null;
|
|
21955
|
-
repoRoot: string;
|
|
21956
22091
|
isGit: true;
|
|
21957
22092
|
currentBranch: string | null;
|
|
21958
22093
|
remoteUrl: string | null;
|
|
@@ -22006,9 +22141,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22006
22141
|
message: string;
|
|
22007
22142
|
} | null;
|
|
22008
22143
|
cwd: string;
|
|
22144
|
+
repoRoot: string;
|
|
22009
22145
|
requestId: string;
|
|
22010
22146
|
baseRef: string;
|
|
22011
|
-
repoRoot: string;
|
|
22012
22147
|
isGit: true;
|
|
22013
22148
|
currentBranch: string | null;
|
|
22014
22149
|
remoteUrl: string | null;
|
|
@@ -22028,9 +22163,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22028
22163
|
message: string;
|
|
22029
22164
|
} | null;
|
|
22030
22165
|
cwd: string;
|
|
22166
|
+
repoRoot: string;
|
|
22031
22167
|
requestId: string;
|
|
22032
22168
|
baseRef: string;
|
|
22033
|
-
repoRoot: string;
|
|
22034
22169
|
isGit: true;
|
|
22035
22170
|
currentBranch: string | null;
|
|
22036
22171
|
remoteUrl: string | null;
|
|
@@ -22053,9 +22188,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22053
22188
|
message: string;
|
|
22054
22189
|
} | null;
|
|
22055
22190
|
cwd: string;
|
|
22191
|
+
repoRoot: null;
|
|
22056
22192
|
requestId: string;
|
|
22057
22193
|
baseRef: null;
|
|
22058
|
-
repoRoot: null;
|
|
22059
22194
|
isGit: false;
|
|
22060
22195
|
currentBranch: null;
|
|
22061
22196
|
remoteUrl: null;
|
|
@@ -22071,9 +22206,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22071
22206
|
message: string;
|
|
22072
22207
|
} | null;
|
|
22073
22208
|
cwd: string;
|
|
22209
|
+
repoRoot: string;
|
|
22074
22210
|
requestId: string;
|
|
22075
22211
|
baseRef: string | null;
|
|
22076
|
-
repoRoot: string;
|
|
22077
22212
|
isGit: true;
|
|
22078
22213
|
currentBranch: string | null;
|
|
22079
22214
|
remoteUrl: string | null;
|
|
@@ -22092,9 +22227,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22092
22227
|
message: string;
|
|
22093
22228
|
} | null;
|
|
22094
22229
|
cwd: string;
|
|
22230
|
+
repoRoot: string;
|
|
22095
22231
|
requestId: string;
|
|
22096
22232
|
baseRef: string;
|
|
22097
|
-
repoRoot: string;
|
|
22098
22233
|
isGit: true;
|
|
22099
22234
|
currentBranch: string | null;
|
|
22100
22235
|
remoteUrl: string | null;
|
|
@@ -22117,9 +22252,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22117
22252
|
message: string;
|
|
22118
22253
|
} | null;
|
|
22119
22254
|
cwd: string;
|
|
22255
|
+
repoRoot: null;
|
|
22120
22256
|
requestId: string;
|
|
22121
22257
|
baseRef: null;
|
|
22122
|
-
repoRoot: null;
|
|
22123
22258
|
isGit: false;
|
|
22124
22259
|
currentBranch: null;
|
|
22125
22260
|
remoteUrl: null;
|
|
@@ -22135,9 +22270,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22135
22270
|
message: string;
|
|
22136
22271
|
} | null;
|
|
22137
22272
|
cwd: string;
|
|
22273
|
+
repoRoot: string;
|
|
22138
22274
|
requestId: string;
|
|
22139
22275
|
baseRef: string | null;
|
|
22140
|
-
repoRoot: string;
|
|
22141
22276
|
isGit: true;
|
|
22142
22277
|
currentBranch: string | null;
|
|
22143
22278
|
remoteUrl: string | null;
|
|
@@ -22156,9 +22291,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
22156
22291
|
message: string;
|
|
22157
22292
|
} | null;
|
|
22158
22293
|
cwd: string;
|
|
22294
|
+
repoRoot: string;
|
|
22159
22295
|
requestId: string;
|
|
22160
22296
|
baseRef: string;
|
|
22161
|
-
repoRoot: string;
|
|
22162
22297
|
isGit: true;
|
|
22163
22298
|
currentBranch: string | null;
|
|
22164
22299
|
remoteUrl: string | null;
|
|
@@ -25286,6 +25421,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25286
25421
|
archivedAt: string;
|
|
25287
25422
|
requestId: string;
|
|
25288
25423
|
};
|
|
25424
|
+
} | {
|
|
25425
|
+
type: "agent_unarchived";
|
|
25426
|
+
payload: {
|
|
25427
|
+
agentId: string;
|
|
25428
|
+
requestId: string;
|
|
25429
|
+
};
|
|
25289
25430
|
} | {
|
|
25290
25431
|
type: "checkout_status_response";
|
|
25291
25432
|
payload: {
|
|
@@ -25294,9 +25435,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25294
25435
|
message: string;
|
|
25295
25436
|
} | null;
|
|
25296
25437
|
cwd: string;
|
|
25438
|
+
repoRoot: null;
|
|
25297
25439
|
requestId: string;
|
|
25298
25440
|
baseRef: null;
|
|
25299
|
-
repoRoot: null;
|
|
25300
25441
|
isGit: false;
|
|
25301
25442
|
currentBranch: null;
|
|
25302
25443
|
remoteUrl: null;
|
|
@@ -25312,9 +25453,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25312
25453
|
message: string;
|
|
25313
25454
|
} | null;
|
|
25314
25455
|
cwd: string;
|
|
25456
|
+
repoRoot: string;
|
|
25315
25457
|
requestId: string;
|
|
25316
25458
|
baseRef: string | null;
|
|
25317
|
-
repoRoot: string;
|
|
25318
25459
|
isGit: true;
|
|
25319
25460
|
currentBranch: string | null;
|
|
25320
25461
|
remoteUrl: string | null;
|
|
@@ -25333,9 +25474,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
25333
25474
|
message: string;
|
|
25334
25475
|
} | null;
|
|
25335
25476
|
cwd: string;
|
|
25477
|
+
repoRoot: string;
|
|
25336
25478
|
requestId: string;
|
|
25337
25479
|
baseRef: string;
|
|
25338
|
-
repoRoot: string;
|
|
25339
25480
|
isGit: true;
|
|
25340
25481
|
currentBranch: string | null;
|
|
25341
25482
|
remoteUrl: string | null;
|
|
@@ -26259,6 +26400,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26259
26400
|
archivedAt: string;
|
|
26260
26401
|
requestId: string;
|
|
26261
26402
|
};
|
|
26403
|
+
} | {
|
|
26404
|
+
type: "agent_unarchived";
|
|
26405
|
+
payload: {
|
|
26406
|
+
agentId: string;
|
|
26407
|
+
requestId: string;
|
|
26408
|
+
};
|
|
26262
26409
|
} | {
|
|
26263
26410
|
type: "checkout_status_response";
|
|
26264
26411
|
payload: {
|
|
@@ -26267,9 +26414,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26267
26414
|
message: string;
|
|
26268
26415
|
} | null;
|
|
26269
26416
|
cwd: string;
|
|
26417
|
+
repoRoot: null;
|
|
26270
26418
|
requestId: string;
|
|
26271
26419
|
baseRef: null;
|
|
26272
|
-
repoRoot: null;
|
|
26273
26420
|
isGit: false;
|
|
26274
26421
|
currentBranch: null;
|
|
26275
26422
|
remoteUrl: null;
|
|
@@ -26285,9 +26432,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26285
26432
|
message: string;
|
|
26286
26433
|
} | null;
|
|
26287
26434
|
cwd: string;
|
|
26435
|
+
repoRoot: string;
|
|
26288
26436
|
requestId: string;
|
|
26289
26437
|
baseRef: string | null;
|
|
26290
|
-
repoRoot: string;
|
|
26291
26438
|
isGit: true;
|
|
26292
26439
|
currentBranch: string | null;
|
|
26293
26440
|
remoteUrl: string | null;
|
|
@@ -26306,9 +26453,9 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
|
|
|
26306
26453
|
message: string;
|
|
26307
26454
|
} | null;
|
|
26308
26455
|
cwd: string;
|
|
26456
|
+
repoRoot: string;
|
|
26309
26457
|
requestId: string;
|
|
26310
26458
|
baseRef: string;
|
|
26311
|
-
repoRoot: string;
|
|
26312
26459
|
isGit: true;
|
|
26313
26460
|
currentBranch: string | null;
|
|
26314
26461
|
remoteUrl: string | null;
|
|
@@ -26934,15 +27081,30 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
26934
27081
|
}>, z.ZodObject<{
|
|
26935
27082
|
type: z.ZodLiteral<"archive_agent_request">;
|
|
26936
27083
|
agentId: z.ZodString;
|
|
27084
|
+
dirtyWorktreeBehavior: z.ZodOptional<z.ZodEnum<["reject", "discard"]>>;
|
|
26937
27085
|
requestId: z.ZodString;
|
|
26938
27086
|
}, "strip", z.ZodTypeAny, {
|
|
26939
27087
|
agentId: string;
|
|
26940
27088
|
type: "archive_agent_request";
|
|
26941
27089
|
requestId: string;
|
|
27090
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
26942
27091
|
}, {
|
|
26943
27092
|
agentId: string;
|
|
26944
27093
|
type: "archive_agent_request";
|
|
26945
27094
|
requestId: string;
|
|
27095
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
27096
|
+
}>, z.ZodObject<{
|
|
27097
|
+
type: z.ZodLiteral<"unarchive_agent_request">;
|
|
27098
|
+
agentId: z.ZodString;
|
|
27099
|
+
requestId: z.ZodString;
|
|
27100
|
+
}, "strip", z.ZodTypeAny, {
|
|
27101
|
+
agentId: string;
|
|
27102
|
+
type: "unarchive_agent_request";
|
|
27103
|
+
requestId: string;
|
|
27104
|
+
}, {
|
|
27105
|
+
agentId: string;
|
|
27106
|
+
type: "unarchive_agent_request";
|
|
27107
|
+
requestId: string;
|
|
26946
27108
|
}>, z.ZodObject<{
|
|
26947
27109
|
type: z.ZodLiteral<"update_agent_request">;
|
|
26948
27110
|
agentId: z.ZodString;
|
|
@@ -27161,16 +27323,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27161
27323
|
worktreeSlug: z.ZodOptional<z.ZodString>;
|
|
27162
27324
|
}, "strip", z.ZodTypeAny, {
|
|
27163
27325
|
baseBranch?: string | undefined;
|
|
27326
|
+
worktreeSlug?: string | undefined;
|
|
27164
27327
|
createNewBranch?: boolean | undefined;
|
|
27165
27328
|
newBranchName?: string | undefined;
|
|
27166
27329
|
createWorktree?: boolean | undefined;
|
|
27167
|
-
worktreeSlug?: string | undefined;
|
|
27168
27330
|
}, {
|
|
27169
27331
|
baseBranch?: string | undefined;
|
|
27332
|
+
worktreeSlug?: string | undefined;
|
|
27170
27333
|
createNewBranch?: boolean | undefined;
|
|
27171
27334
|
newBranchName?: string | undefined;
|
|
27172
27335
|
createWorktree?: boolean | undefined;
|
|
27173
|
-
worktreeSlug?: string | undefined;
|
|
27174
27336
|
}>>;
|
|
27175
27337
|
labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
27176
27338
|
requestId: z.ZodString;
|
|
@@ -27219,10 +27381,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27219
27381
|
outputSchema?: Record<string, unknown> | undefined;
|
|
27220
27382
|
git?: {
|
|
27221
27383
|
baseBranch?: string | undefined;
|
|
27384
|
+
worktreeSlug?: string | undefined;
|
|
27222
27385
|
createNewBranch?: boolean | undefined;
|
|
27223
27386
|
newBranchName?: string | undefined;
|
|
27224
27387
|
createWorktree?: boolean | undefined;
|
|
27225
|
-
worktreeSlug?: string | undefined;
|
|
27226
27388
|
} | undefined;
|
|
27227
27389
|
}, {
|
|
27228
27390
|
type: "create_agent_request";
|
|
@@ -27269,10 +27431,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27269
27431
|
outputSchema?: Record<string, unknown> | undefined;
|
|
27270
27432
|
git?: {
|
|
27271
27433
|
baseBranch?: string | undefined;
|
|
27434
|
+
worktreeSlug?: string | undefined;
|
|
27272
27435
|
createNewBranch?: boolean | undefined;
|
|
27273
27436
|
newBranchName?: string | undefined;
|
|
27274
27437
|
createWorktree?: boolean | undefined;
|
|
27275
|
-
worktreeSlug?: string | undefined;
|
|
27276
27438
|
} | undefined;
|
|
27277
27439
|
}>, z.ZodObject<{
|
|
27278
27440
|
type: z.ZodLiteral<"list_provider_models_request">;
|
|
@@ -27906,15 +28068,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
27906
28068
|
}, "strip", z.ZodTypeAny, {
|
|
27907
28069
|
type: "junction_worktree_archive_request";
|
|
27908
28070
|
requestId: string;
|
|
27909
|
-
worktreePath?: string | undefined;
|
|
27910
|
-
branchName?: string | undefined;
|
|
27911
28071
|
repoRoot?: string | undefined;
|
|
28072
|
+
branchName?: string | undefined;
|
|
28073
|
+
worktreePath?: string | undefined;
|
|
27912
28074
|
}, {
|
|
27913
28075
|
type: "junction_worktree_archive_request";
|
|
27914
28076
|
requestId: string;
|
|
27915
|
-
worktreePath?: string | undefined;
|
|
27916
|
-
branchName?: string | undefined;
|
|
27917
28077
|
repoRoot?: string | undefined;
|
|
28078
|
+
branchName?: string | undefined;
|
|
28079
|
+
worktreePath?: string | undefined;
|
|
27918
28080
|
}>, z.ZodObject<{
|
|
27919
28081
|
type: z.ZodLiteral<"file_explorer_request">;
|
|
27920
28082
|
agentId: z.ZodString;
|
|
@@ -28265,6 +28427,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28265
28427
|
agentId: string;
|
|
28266
28428
|
type: "archive_agent_request";
|
|
28267
28429
|
requestId: string;
|
|
28430
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
28431
|
+
} | {
|
|
28432
|
+
agentId: string;
|
|
28433
|
+
type: "unarchive_agent_request";
|
|
28434
|
+
requestId: string;
|
|
28268
28435
|
} | {
|
|
28269
28436
|
agentId: string;
|
|
28270
28437
|
type: "update_agent_request";
|
|
@@ -28357,10 +28524,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28357
28524
|
outputSchema?: Record<string, unknown> | undefined;
|
|
28358
28525
|
git?: {
|
|
28359
28526
|
baseBranch?: string | undefined;
|
|
28527
|
+
worktreeSlug?: string | undefined;
|
|
28360
28528
|
createNewBranch?: boolean | undefined;
|
|
28361
28529
|
newBranchName?: string | undefined;
|
|
28362
28530
|
createWorktree?: boolean | undefined;
|
|
28363
|
-
worktreeSlug?: string | undefined;
|
|
28364
28531
|
} | undefined;
|
|
28365
28532
|
} | {
|
|
28366
28533
|
provider: string;
|
|
@@ -28538,9 +28705,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28538
28705
|
} | {
|
|
28539
28706
|
type: "junction_worktree_archive_request";
|
|
28540
28707
|
requestId: string;
|
|
28541
|
-
worktreePath?: string | undefined;
|
|
28542
|
-
branchName?: string | undefined;
|
|
28543
28708
|
repoRoot?: string | undefined;
|
|
28709
|
+
branchName?: string | undefined;
|
|
28710
|
+
worktreePath?: string | undefined;
|
|
28544
28711
|
} | {
|
|
28545
28712
|
agentId: string;
|
|
28546
28713
|
mode: "file" | "list";
|
|
@@ -28654,6 +28821,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28654
28821
|
agentId: string;
|
|
28655
28822
|
type: "archive_agent_request";
|
|
28656
28823
|
requestId: string;
|
|
28824
|
+
dirtyWorktreeBehavior?: "reject" | "discard" | undefined;
|
|
28825
|
+
} | {
|
|
28826
|
+
agentId: string;
|
|
28827
|
+
type: "unarchive_agent_request";
|
|
28828
|
+
requestId: string;
|
|
28657
28829
|
} | {
|
|
28658
28830
|
agentId: string;
|
|
28659
28831
|
type: "update_agent_request";
|
|
@@ -28746,10 +28918,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28746
28918
|
outputSchema?: Record<string, unknown> | undefined;
|
|
28747
28919
|
git?: {
|
|
28748
28920
|
baseBranch?: string | undefined;
|
|
28921
|
+
worktreeSlug?: string | undefined;
|
|
28749
28922
|
createNewBranch?: boolean | undefined;
|
|
28750
28923
|
newBranchName?: string | undefined;
|
|
28751
28924
|
createWorktree?: boolean | undefined;
|
|
28752
|
-
worktreeSlug?: string | undefined;
|
|
28753
28925
|
} | undefined;
|
|
28754
28926
|
} | {
|
|
28755
28927
|
provider: string;
|
|
@@ -28927,9 +29099,9 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
28927
29099
|
} | {
|
|
28928
29100
|
type: "junction_worktree_archive_request";
|
|
28929
29101
|
requestId: string;
|
|
28930
|
-
worktreePath?: string | undefined;
|
|
28931
|
-
branchName?: string | undefined;
|
|
28932
29102
|
repoRoot?: string | undefined;
|
|
29103
|
+
branchName?: string | undefined;
|
|
29104
|
+
worktreePath?: string | undefined;
|
|
28933
29105
|
} | {
|
|
28934
29106
|
agentId: string;
|
|
28935
29107
|
mode: "file" | "list";
|
|
@@ -32015,6 +32187,30 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32015
32187
|
archivedAt: string;
|
|
32016
32188
|
requestId: string;
|
|
32017
32189
|
};
|
|
32190
|
+
}>, z.ZodObject<{
|
|
32191
|
+
type: z.ZodLiteral<"agent_unarchived">;
|
|
32192
|
+
payload: z.ZodObject<{
|
|
32193
|
+
agentId: z.ZodString;
|
|
32194
|
+
requestId: z.ZodString;
|
|
32195
|
+
}, "strip", z.ZodTypeAny, {
|
|
32196
|
+
agentId: string;
|
|
32197
|
+
requestId: string;
|
|
32198
|
+
}, {
|
|
32199
|
+
agentId: string;
|
|
32200
|
+
requestId: string;
|
|
32201
|
+
}>;
|
|
32202
|
+
}, "strip", z.ZodTypeAny, {
|
|
32203
|
+
type: "agent_unarchived";
|
|
32204
|
+
payload: {
|
|
32205
|
+
agentId: string;
|
|
32206
|
+
requestId: string;
|
|
32207
|
+
};
|
|
32208
|
+
}, {
|
|
32209
|
+
type: "agent_unarchived";
|
|
32210
|
+
payload: {
|
|
32211
|
+
agentId: string;
|
|
32212
|
+
requestId: string;
|
|
32213
|
+
};
|
|
32018
32214
|
}>, z.ZodObject<{
|
|
32019
32215
|
type: z.ZodLiteral<"checkout_status_response">;
|
|
32020
32216
|
payload: z.ZodUnion<[z.ZodObject<{
|
|
@@ -32048,9 +32244,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32048
32244
|
message: string;
|
|
32049
32245
|
} | null;
|
|
32050
32246
|
cwd: string;
|
|
32247
|
+
repoRoot: null;
|
|
32051
32248
|
requestId: string;
|
|
32052
32249
|
baseRef: null;
|
|
32053
|
-
repoRoot: null;
|
|
32054
32250
|
isGit: false;
|
|
32055
32251
|
currentBranch: null;
|
|
32056
32252
|
remoteUrl: null;
|
|
@@ -32066,9 +32262,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32066
32262
|
message: string;
|
|
32067
32263
|
} | null;
|
|
32068
32264
|
cwd: string;
|
|
32265
|
+
repoRoot: null;
|
|
32069
32266
|
requestId: string;
|
|
32070
32267
|
baseRef: null;
|
|
32071
|
-
repoRoot: null;
|
|
32072
32268
|
isGit: false;
|
|
32073
32269
|
currentBranch: null;
|
|
32074
32270
|
remoteUrl: null;
|
|
@@ -32118,9 +32314,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32118
32314
|
message: string;
|
|
32119
32315
|
} | null;
|
|
32120
32316
|
cwd: string;
|
|
32317
|
+
repoRoot: string;
|
|
32121
32318
|
requestId: string;
|
|
32122
32319
|
baseRef: string | null;
|
|
32123
|
-
repoRoot: string;
|
|
32124
32320
|
isGit: true;
|
|
32125
32321
|
currentBranch: string | null;
|
|
32126
32322
|
remoteUrl: string | null;
|
|
@@ -32139,9 +32335,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32139
32335
|
message: string;
|
|
32140
32336
|
} | null;
|
|
32141
32337
|
cwd: string;
|
|
32338
|
+
repoRoot: string;
|
|
32142
32339
|
requestId: string;
|
|
32143
32340
|
baseRef: string | null;
|
|
32144
|
-
repoRoot: string;
|
|
32145
32341
|
isGit: true;
|
|
32146
32342
|
currentBranch: string | null;
|
|
32147
32343
|
remoteUrl: string | null;
|
|
@@ -32195,9 +32391,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32195
32391
|
message: string;
|
|
32196
32392
|
} | null;
|
|
32197
32393
|
cwd: string;
|
|
32394
|
+
repoRoot: string;
|
|
32198
32395
|
requestId: string;
|
|
32199
32396
|
baseRef: string;
|
|
32200
|
-
repoRoot: string;
|
|
32201
32397
|
isGit: true;
|
|
32202
32398
|
currentBranch: string | null;
|
|
32203
32399
|
remoteUrl: string | null;
|
|
@@ -32217,9 +32413,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32217
32413
|
message: string;
|
|
32218
32414
|
} | null;
|
|
32219
32415
|
cwd: string;
|
|
32416
|
+
repoRoot: string;
|
|
32220
32417
|
requestId: string;
|
|
32221
32418
|
baseRef: string;
|
|
32222
|
-
repoRoot: string;
|
|
32223
32419
|
isGit: true;
|
|
32224
32420
|
currentBranch: string | null;
|
|
32225
32421
|
remoteUrl: string | null;
|
|
@@ -32242,9 +32438,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32242
32438
|
message: string;
|
|
32243
32439
|
} | null;
|
|
32244
32440
|
cwd: string;
|
|
32441
|
+
repoRoot: null;
|
|
32245
32442
|
requestId: string;
|
|
32246
32443
|
baseRef: null;
|
|
32247
|
-
repoRoot: null;
|
|
32248
32444
|
isGit: false;
|
|
32249
32445
|
currentBranch: null;
|
|
32250
32446
|
remoteUrl: null;
|
|
@@ -32260,9 +32456,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32260
32456
|
message: string;
|
|
32261
32457
|
} | null;
|
|
32262
32458
|
cwd: string;
|
|
32459
|
+
repoRoot: string;
|
|
32263
32460
|
requestId: string;
|
|
32264
32461
|
baseRef: string | null;
|
|
32265
|
-
repoRoot: string;
|
|
32266
32462
|
isGit: true;
|
|
32267
32463
|
currentBranch: string | null;
|
|
32268
32464
|
remoteUrl: string | null;
|
|
@@ -32281,9 +32477,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32281
32477
|
message: string;
|
|
32282
32478
|
} | null;
|
|
32283
32479
|
cwd: string;
|
|
32480
|
+
repoRoot: string;
|
|
32284
32481
|
requestId: string;
|
|
32285
32482
|
baseRef: string;
|
|
32286
|
-
repoRoot: string;
|
|
32287
32483
|
isGit: true;
|
|
32288
32484
|
currentBranch: string | null;
|
|
32289
32485
|
remoteUrl: string | null;
|
|
@@ -32306,9 +32502,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32306
32502
|
message: string;
|
|
32307
32503
|
} | null;
|
|
32308
32504
|
cwd: string;
|
|
32505
|
+
repoRoot: null;
|
|
32309
32506
|
requestId: string;
|
|
32310
32507
|
baseRef: null;
|
|
32311
|
-
repoRoot: null;
|
|
32312
32508
|
isGit: false;
|
|
32313
32509
|
currentBranch: null;
|
|
32314
32510
|
remoteUrl: null;
|
|
@@ -32324,9 +32520,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32324
32520
|
message: string;
|
|
32325
32521
|
} | null;
|
|
32326
32522
|
cwd: string;
|
|
32523
|
+
repoRoot: string;
|
|
32327
32524
|
requestId: string;
|
|
32328
32525
|
baseRef: string | null;
|
|
32329
|
-
repoRoot: string;
|
|
32330
32526
|
isGit: true;
|
|
32331
32527
|
currentBranch: string | null;
|
|
32332
32528
|
remoteUrl: string | null;
|
|
@@ -32345,9 +32541,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
32345
32541
|
message: string;
|
|
32346
32542
|
} | null;
|
|
32347
32543
|
cwd: string;
|
|
32544
|
+
repoRoot: string;
|
|
32348
32545
|
requestId: string;
|
|
32349
32546
|
baseRef: string;
|
|
32350
|
-
repoRoot: string;
|
|
32351
32547
|
isGit: true;
|
|
32352
32548
|
currentBranch: string | null;
|
|
32353
32549
|
remoteUrl: string | null;
|
|
@@ -35475,6 +35671,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35475
35671
|
archivedAt: string;
|
|
35476
35672
|
requestId: string;
|
|
35477
35673
|
};
|
|
35674
|
+
} | {
|
|
35675
|
+
type: "agent_unarchived";
|
|
35676
|
+
payload: {
|
|
35677
|
+
agentId: string;
|
|
35678
|
+
requestId: string;
|
|
35679
|
+
};
|
|
35478
35680
|
} | {
|
|
35479
35681
|
type: "checkout_status_response";
|
|
35480
35682
|
payload: {
|
|
@@ -35483,9 +35685,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35483
35685
|
message: string;
|
|
35484
35686
|
} | null;
|
|
35485
35687
|
cwd: string;
|
|
35688
|
+
repoRoot: null;
|
|
35486
35689
|
requestId: string;
|
|
35487
35690
|
baseRef: null;
|
|
35488
|
-
repoRoot: null;
|
|
35489
35691
|
isGit: false;
|
|
35490
35692
|
currentBranch: null;
|
|
35491
35693
|
remoteUrl: null;
|
|
@@ -35501,9 +35703,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35501
35703
|
message: string;
|
|
35502
35704
|
} | null;
|
|
35503
35705
|
cwd: string;
|
|
35706
|
+
repoRoot: string;
|
|
35504
35707
|
requestId: string;
|
|
35505
35708
|
baseRef: string | null;
|
|
35506
|
-
repoRoot: string;
|
|
35507
35709
|
isGit: true;
|
|
35508
35710
|
currentBranch: string | null;
|
|
35509
35711
|
remoteUrl: string | null;
|
|
@@ -35522,9 +35724,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
35522
35724
|
message: string;
|
|
35523
35725
|
} | null;
|
|
35524
35726
|
cwd: string;
|
|
35727
|
+
repoRoot: string;
|
|
35525
35728
|
requestId: string;
|
|
35526
35729
|
baseRef: string;
|
|
35527
|
-
repoRoot: string;
|
|
35528
35730
|
isGit: true;
|
|
35529
35731
|
currentBranch: string | null;
|
|
35530
35732
|
remoteUrl: string | null;
|
|
@@ -36448,6 +36650,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36448
36650
|
archivedAt: string;
|
|
36449
36651
|
requestId: string;
|
|
36450
36652
|
};
|
|
36653
|
+
} | {
|
|
36654
|
+
type: "agent_unarchived";
|
|
36655
|
+
payload: {
|
|
36656
|
+
agentId: string;
|
|
36657
|
+
requestId: string;
|
|
36658
|
+
};
|
|
36451
36659
|
} | {
|
|
36452
36660
|
type: "checkout_status_response";
|
|
36453
36661
|
payload: {
|
|
@@ -36456,9 +36664,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36456
36664
|
message: string;
|
|
36457
36665
|
} | null;
|
|
36458
36666
|
cwd: string;
|
|
36667
|
+
repoRoot: null;
|
|
36459
36668
|
requestId: string;
|
|
36460
36669
|
baseRef: null;
|
|
36461
|
-
repoRoot: null;
|
|
36462
36670
|
isGit: false;
|
|
36463
36671
|
currentBranch: null;
|
|
36464
36672
|
remoteUrl: null;
|
|
@@ -36474,9 +36682,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36474
36682
|
message: string;
|
|
36475
36683
|
} | null;
|
|
36476
36684
|
cwd: string;
|
|
36685
|
+
repoRoot: string;
|
|
36477
36686
|
requestId: string;
|
|
36478
36687
|
baseRef: string | null;
|
|
36479
|
-
repoRoot: string;
|
|
36480
36688
|
isGit: true;
|
|
36481
36689
|
currentBranch: string | null;
|
|
36482
36690
|
remoteUrl: string | null;
|
|
@@ -36495,9 +36703,9 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
36495
36703
|
message: string;
|
|
36496
36704
|
} | null;
|
|
36497
36705
|
cwd: string;
|
|
36706
|
+
repoRoot: string;
|
|
36498
36707
|
requestId: string;
|
|
36499
36708
|
baseRef: string;
|
|
36500
|
-
repoRoot: string;
|
|
36501
36709
|
isGit: true;
|
|
36502
36710
|
currentBranch: string | null;
|
|
36503
36711
|
remoteUrl: string | null;
|