@junctionpanel/server 0.1.101 → 0.1.102

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.
@@ -2418,6 +2418,47 @@ export declare const WorkspaceFileExplorerRequestSchema: z.ZodObject<{
2418
2418
  ref?: string | undefined;
2419
2419
  allowMissing?: boolean | undefined;
2420
2420
  }>;
2421
+ export declare const WorkspaceFileWriteRequestSchema: z.ZodObject<{
2422
+ type: z.ZodLiteral<"workspace_file_write_request">;
2423
+ cwd: z.ZodString;
2424
+ path: z.ZodString;
2425
+ content: z.ZodString;
2426
+ requestId: z.ZodString;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ path: string;
2429
+ type: "workspace_file_write_request";
2430
+ requestId: string;
2431
+ cwd: string;
2432
+ content: string;
2433
+ }, {
2434
+ path: string;
2435
+ type: "workspace_file_write_request";
2436
+ requestId: string;
2437
+ cwd: string;
2438
+ content: string;
2439
+ }>;
2440
+ export declare const WorkspaceCreateWorktreeRequestSchema: z.ZodObject<{
2441
+ type: z.ZodLiteral<"workspace_create_worktree_request">;
2442
+ cwd: z.ZodString;
2443
+ branchName: z.ZodString;
2444
+ baseBranch: z.ZodOptional<z.ZodString>;
2445
+ remoteName: z.ZodOptional<z.ZodString>;
2446
+ requestId: z.ZodString;
2447
+ }, "strip", z.ZodTypeAny, {
2448
+ type: "workspace_create_worktree_request";
2449
+ requestId: string;
2450
+ cwd: string;
2451
+ branchName: string;
2452
+ baseBranch?: string | undefined;
2453
+ remoteName?: string | undefined;
2454
+ }, {
2455
+ type: "workspace_create_worktree_request";
2456
+ requestId: string;
2457
+ cwd: string;
2458
+ branchName: string;
2459
+ baseBranch?: string | undefined;
2460
+ remoteName?: string | undefined;
2461
+ }>;
2421
2462
  export declare const ProjectIconRequestSchema: z.ZodObject<{
2422
2463
  type: z.ZodLiteral<"project_icon_request">;
2423
2464
  cwd: z.ZodString;
@@ -4469,6 +4510,45 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
4469
4510
  detail?: "full" | "minimal" | undefined;
4470
4511
  ref?: string | undefined;
4471
4512
  allowMissing?: boolean | undefined;
4513
+ }>, z.ZodObject<{
4514
+ type: z.ZodLiteral<"workspace_file_write_request">;
4515
+ cwd: z.ZodString;
4516
+ path: z.ZodString;
4517
+ content: z.ZodString;
4518
+ requestId: z.ZodString;
4519
+ }, "strip", z.ZodTypeAny, {
4520
+ path: string;
4521
+ type: "workspace_file_write_request";
4522
+ requestId: string;
4523
+ cwd: string;
4524
+ content: string;
4525
+ }, {
4526
+ path: string;
4527
+ type: "workspace_file_write_request";
4528
+ requestId: string;
4529
+ cwd: string;
4530
+ content: string;
4531
+ }>, z.ZodObject<{
4532
+ type: z.ZodLiteral<"workspace_create_worktree_request">;
4533
+ cwd: z.ZodString;
4534
+ branchName: z.ZodString;
4535
+ baseBranch: z.ZodOptional<z.ZodString>;
4536
+ remoteName: z.ZodOptional<z.ZodString>;
4537
+ requestId: z.ZodString;
4538
+ }, "strip", z.ZodTypeAny, {
4539
+ type: "workspace_create_worktree_request";
4540
+ requestId: string;
4541
+ cwd: string;
4542
+ branchName: string;
4543
+ baseBranch?: string | undefined;
4544
+ remoteName?: string | undefined;
4545
+ }, {
4546
+ type: "workspace_create_worktree_request";
4547
+ requestId: string;
4548
+ cwd: string;
4549
+ branchName: string;
4550
+ baseBranch?: string | undefined;
4551
+ remoteName?: string | undefined;
4472
4552
  }>, z.ZodObject<{
4473
4553
  type: z.ZodLiteral<"project_icon_request">;
4474
4554
  cwd: z.ZodString;
@@ -18731,6 +18811,81 @@ export declare const WorkspaceFileExplorerResponseSchema: z.ZodObject<{
18731
18811
  } | null;
18732
18812
  };
18733
18813
  }>;
18814
+ export declare const WorkspaceFileWriteResponseSchema: z.ZodObject<{
18815
+ type: z.ZodLiteral<"workspace_file_write_response">;
18816
+ payload: z.ZodObject<{
18817
+ cwd: z.ZodString;
18818
+ path: z.ZodString;
18819
+ success: z.ZodBoolean;
18820
+ error: z.ZodNullable<z.ZodString>;
18821
+ requestId: z.ZodString;
18822
+ }, "strip", z.ZodTypeAny, {
18823
+ error: string | null;
18824
+ path: string;
18825
+ requestId: string;
18826
+ cwd: string;
18827
+ success: boolean;
18828
+ }, {
18829
+ error: string | null;
18830
+ path: string;
18831
+ requestId: string;
18832
+ cwd: string;
18833
+ success: boolean;
18834
+ }>;
18835
+ }, "strip", z.ZodTypeAny, {
18836
+ type: "workspace_file_write_response";
18837
+ payload: {
18838
+ error: string | null;
18839
+ path: string;
18840
+ requestId: string;
18841
+ cwd: string;
18842
+ success: boolean;
18843
+ };
18844
+ }, {
18845
+ type: "workspace_file_write_response";
18846
+ payload: {
18847
+ error: string | null;
18848
+ path: string;
18849
+ requestId: string;
18850
+ cwd: string;
18851
+ success: boolean;
18852
+ };
18853
+ }>;
18854
+ export declare const WorkspaceCreateWorktreeResponseSchema: z.ZodObject<{
18855
+ type: z.ZodLiteral<"workspace_create_worktree_response">;
18856
+ payload: z.ZodObject<{
18857
+ worktreePath: z.ZodString;
18858
+ branchName: z.ZodString;
18859
+ error: z.ZodNullable<z.ZodString>;
18860
+ requestId: z.ZodString;
18861
+ }, "strip", z.ZodTypeAny, {
18862
+ error: string | null;
18863
+ requestId: string;
18864
+ worktreePath: string;
18865
+ branchName: string;
18866
+ }, {
18867
+ error: string | null;
18868
+ requestId: string;
18869
+ worktreePath: string;
18870
+ branchName: string;
18871
+ }>;
18872
+ }, "strip", z.ZodTypeAny, {
18873
+ type: "workspace_create_worktree_response";
18874
+ payload: {
18875
+ error: string | null;
18876
+ requestId: string;
18877
+ worktreePath: string;
18878
+ branchName: string;
18879
+ };
18880
+ }, {
18881
+ type: "workspace_create_worktree_response";
18882
+ payload: {
18883
+ error: string | null;
18884
+ requestId: string;
18885
+ worktreePath: string;
18886
+ branchName: string;
18887
+ };
18888
+ }>;
18734
18889
  declare const ProjectIconSchema: z.ZodObject<{
18735
18890
  data: z.ZodString;
18736
18891
  mimeType: z.ZodString;
@@ -31514,6 +31669,79 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
31514
31669
  path: string;
31515
31670
  } | null;
31516
31671
  };
31672
+ }>, z.ZodObject<{
31673
+ type: z.ZodLiteral<"workspace_file_write_response">;
31674
+ payload: z.ZodObject<{
31675
+ cwd: z.ZodString;
31676
+ path: z.ZodString;
31677
+ success: z.ZodBoolean;
31678
+ error: z.ZodNullable<z.ZodString>;
31679
+ requestId: z.ZodString;
31680
+ }, "strip", z.ZodTypeAny, {
31681
+ error: string | null;
31682
+ path: string;
31683
+ requestId: string;
31684
+ cwd: string;
31685
+ success: boolean;
31686
+ }, {
31687
+ error: string | null;
31688
+ path: string;
31689
+ requestId: string;
31690
+ cwd: string;
31691
+ success: boolean;
31692
+ }>;
31693
+ }, "strip", z.ZodTypeAny, {
31694
+ type: "workspace_file_write_response";
31695
+ payload: {
31696
+ error: string | null;
31697
+ path: string;
31698
+ requestId: string;
31699
+ cwd: string;
31700
+ success: boolean;
31701
+ };
31702
+ }, {
31703
+ type: "workspace_file_write_response";
31704
+ payload: {
31705
+ error: string | null;
31706
+ path: string;
31707
+ requestId: string;
31708
+ cwd: string;
31709
+ success: boolean;
31710
+ };
31711
+ }>, z.ZodObject<{
31712
+ type: z.ZodLiteral<"workspace_create_worktree_response">;
31713
+ payload: z.ZodObject<{
31714
+ worktreePath: z.ZodString;
31715
+ branchName: z.ZodString;
31716
+ error: z.ZodNullable<z.ZodString>;
31717
+ requestId: z.ZodString;
31718
+ }, "strip", z.ZodTypeAny, {
31719
+ error: string | null;
31720
+ requestId: string;
31721
+ worktreePath: string;
31722
+ branchName: string;
31723
+ }, {
31724
+ error: string | null;
31725
+ requestId: string;
31726
+ worktreePath: string;
31727
+ branchName: string;
31728
+ }>;
31729
+ }, "strip", z.ZodTypeAny, {
31730
+ type: "workspace_create_worktree_response";
31731
+ payload: {
31732
+ error: string | null;
31733
+ requestId: string;
31734
+ worktreePath: string;
31735
+ branchName: string;
31736
+ };
31737
+ }, {
31738
+ type: "workspace_create_worktree_response";
31739
+ payload: {
31740
+ error: string | null;
31741
+ requestId: string;
31742
+ worktreePath: string;
31743
+ branchName: string;
31744
+ };
31517
31745
  }>, z.ZodObject<{
31518
31746
  type: z.ZodLiteral<"project_icon_response">;
31519
31747
  payload: z.ZodObject<{
@@ -33596,6 +33824,12 @@ export type FileExplorerRequest = z.infer<typeof FileExplorerRequestSchema>;
33596
33824
  export type FileExplorerResponse = z.infer<typeof FileExplorerResponseSchema>;
33597
33825
  export type WorkspaceFileExplorerRequest = z.infer<typeof WorkspaceFileExplorerRequestSchema>;
33598
33826
  export type WorkspaceFileExplorerResponse = z.infer<typeof WorkspaceFileExplorerResponseSchema>;
33827
+ export type WorkspaceFileWriteRequest = z.infer<typeof WorkspaceFileWriteRequestSchema>;
33828
+ export type WorkspaceFileWriteResponse = z.infer<typeof WorkspaceFileWriteResponseSchema>;
33829
+ export type WorkspaceFileWritePayload = WorkspaceFileWriteResponse['payload'];
33830
+ export type WorkspaceCreateWorktreeRequest = z.infer<typeof WorkspaceCreateWorktreeRequestSchema>;
33831
+ export type WorkspaceCreateWorktreeResponse = z.infer<typeof WorkspaceCreateWorktreeResponseSchema>;
33832
+ export type WorkspaceCreateWorktreePayload = WorkspaceCreateWorktreeResponse['payload'];
33599
33833
  export type ProjectIconRequest = z.infer<typeof ProjectIconRequestSchema>;
33600
33834
  export type ProjectIconResponse = z.infer<typeof ProjectIconResponseSchema>;
33601
33835
  export type ProjectIcon = z.infer<typeof ProjectIconSchema>;
@@ -35309,6 +35543,45 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
35309
35543
  detail?: "full" | "minimal" | undefined;
35310
35544
  ref?: string | undefined;
35311
35545
  allowMissing?: boolean | undefined;
35546
+ }>, z.ZodObject<{
35547
+ type: z.ZodLiteral<"workspace_file_write_request">;
35548
+ cwd: z.ZodString;
35549
+ path: z.ZodString;
35550
+ content: z.ZodString;
35551
+ requestId: z.ZodString;
35552
+ }, "strip", z.ZodTypeAny, {
35553
+ path: string;
35554
+ type: "workspace_file_write_request";
35555
+ requestId: string;
35556
+ cwd: string;
35557
+ content: string;
35558
+ }, {
35559
+ path: string;
35560
+ type: "workspace_file_write_request";
35561
+ requestId: string;
35562
+ cwd: string;
35563
+ content: string;
35564
+ }>, z.ZodObject<{
35565
+ type: z.ZodLiteral<"workspace_create_worktree_request">;
35566
+ cwd: z.ZodString;
35567
+ branchName: z.ZodString;
35568
+ baseBranch: z.ZodOptional<z.ZodString>;
35569
+ remoteName: z.ZodOptional<z.ZodString>;
35570
+ requestId: z.ZodString;
35571
+ }, "strip", z.ZodTypeAny, {
35572
+ type: "workspace_create_worktree_request";
35573
+ requestId: string;
35574
+ cwd: string;
35575
+ branchName: string;
35576
+ baseBranch?: string | undefined;
35577
+ remoteName?: string | undefined;
35578
+ }, {
35579
+ type: "workspace_create_worktree_request";
35580
+ requestId: string;
35581
+ cwd: string;
35582
+ branchName: string;
35583
+ baseBranch?: string | undefined;
35584
+ remoteName?: string | undefined;
35312
35585
  }>, z.ZodObject<{
35313
35586
  type: z.ZodLiteral<"project_icon_request">;
35314
35587
  cwd: z.ZodString;
@@ -36180,6 +36453,19 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
36180
36453
  detail?: "full" | "minimal" | undefined;
36181
36454
  ref?: string | undefined;
36182
36455
  allowMissing?: boolean | undefined;
36456
+ } | {
36457
+ path: string;
36458
+ type: "workspace_file_write_request";
36459
+ requestId: string;
36460
+ cwd: string;
36461
+ content: string;
36462
+ } | {
36463
+ type: "workspace_create_worktree_request";
36464
+ requestId: string;
36465
+ cwd: string;
36466
+ branchName: string;
36467
+ baseBranch?: string | undefined;
36468
+ remoteName?: string | undefined;
36183
36469
  } | {
36184
36470
  type: "project_icon_request";
36185
36471
  requestId: string;
@@ -36742,6 +37028,19 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
36742
37028
  detail?: "full" | "minimal" | undefined;
36743
37029
  ref?: string | undefined;
36744
37030
  allowMissing?: boolean | undefined;
37031
+ } | {
37032
+ path: string;
37033
+ type: "workspace_file_write_request";
37034
+ requestId: string;
37035
+ cwd: string;
37036
+ content: string;
37037
+ } | {
37038
+ type: "workspace_create_worktree_request";
37039
+ requestId: string;
37040
+ cwd: string;
37041
+ branchName: string;
37042
+ baseBranch?: string | undefined;
37043
+ remoteName?: string | undefined;
36745
37044
  } | {
36746
37045
  type: "project_icon_request";
36747
37046
  requestId: string;
@@ -47671,6 +47970,79 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
47671
47970
  path: string;
47672
47971
  } | null;
47673
47972
  };
47973
+ }>, z.ZodObject<{
47974
+ type: z.ZodLiteral<"workspace_file_write_response">;
47975
+ payload: z.ZodObject<{
47976
+ cwd: z.ZodString;
47977
+ path: z.ZodString;
47978
+ success: z.ZodBoolean;
47979
+ error: z.ZodNullable<z.ZodString>;
47980
+ requestId: z.ZodString;
47981
+ }, "strip", z.ZodTypeAny, {
47982
+ error: string | null;
47983
+ path: string;
47984
+ requestId: string;
47985
+ cwd: string;
47986
+ success: boolean;
47987
+ }, {
47988
+ error: string | null;
47989
+ path: string;
47990
+ requestId: string;
47991
+ cwd: string;
47992
+ success: boolean;
47993
+ }>;
47994
+ }, "strip", z.ZodTypeAny, {
47995
+ type: "workspace_file_write_response";
47996
+ payload: {
47997
+ error: string | null;
47998
+ path: string;
47999
+ requestId: string;
48000
+ cwd: string;
48001
+ success: boolean;
48002
+ };
48003
+ }, {
48004
+ type: "workspace_file_write_response";
48005
+ payload: {
48006
+ error: string | null;
48007
+ path: string;
48008
+ requestId: string;
48009
+ cwd: string;
48010
+ success: boolean;
48011
+ };
48012
+ }>, z.ZodObject<{
48013
+ type: z.ZodLiteral<"workspace_create_worktree_response">;
48014
+ payload: z.ZodObject<{
48015
+ worktreePath: z.ZodString;
48016
+ branchName: z.ZodString;
48017
+ error: z.ZodNullable<z.ZodString>;
48018
+ requestId: z.ZodString;
48019
+ }, "strip", z.ZodTypeAny, {
48020
+ error: string | null;
48021
+ requestId: string;
48022
+ worktreePath: string;
48023
+ branchName: string;
48024
+ }, {
48025
+ error: string | null;
48026
+ requestId: string;
48027
+ worktreePath: string;
48028
+ branchName: string;
48029
+ }>;
48030
+ }, "strip", z.ZodTypeAny, {
48031
+ type: "workspace_create_worktree_response";
48032
+ payload: {
48033
+ error: string | null;
48034
+ requestId: string;
48035
+ worktreePath: string;
48036
+ branchName: string;
48037
+ };
48038
+ }, {
48039
+ type: "workspace_create_worktree_response";
48040
+ payload: {
48041
+ error: string | null;
48042
+ requestId: string;
48043
+ worktreePath: string;
48044
+ branchName: string;
48045
+ };
47674
48046
  }>, z.ZodObject<{
47675
48047
  type: z.ZodLiteral<"project_icon_response">;
47676
48048
  payload: z.ZodObject<{
@@ -51188,6 +51560,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
51188
51560
  path: string;
51189
51561
  } | null;
51190
51562
  };
51563
+ } | {
51564
+ type: "workspace_file_write_response";
51565
+ payload: {
51566
+ error: string | null;
51567
+ path: string;
51568
+ requestId: string;
51569
+ cwd: string;
51570
+ success: boolean;
51571
+ };
51572
+ } | {
51573
+ type: "workspace_create_worktree_response";
51574
+ payload: {
51575
+ error: string | null;
51576
+ requestId: string;
51577
+ worktreePath: string;
51578
+ branchName: string;
51579
+ };
51191
51580
  } | {
51192
51581
  type: "project_icon_response";
51193
51582
  payload: {
@@ -53074,6 +53463,23 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
53074
53463
  path: string;
53075
53464
  } | null;
53076
53465
  };
53466
+ } | {
53467
+ type: "workspace_file_write_response";
53468
+ payload: {
53469
+ error: string | null;
53470
+ path: string;
53471
+ requestId: string;
53472
+ cwd: string;
53473
+ success: boolean;
53474
+ };
53475
+ } | {
53476
+ type: "workspace_create_worktree_response";
53477
+ payload: {
53478
+ error: string | null;
53479
+ requestId: string;
53480
+ worktreePath: string;
53481
+ branchName: string;
53482
+ };
53077
53483
  } | {
53078
53484
  type: "project_icon_response";
53079
53485
  payload: {
@@ -55016,6 +55422,45 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
55016
55422
  detail?: "full" | "minimal" | undefined;
55017
55423
  ref?: string | undefined;
55018
55424
  allowMissing?: boolean | undefined;
55425
+ }>, z.ZodObject<{
55426
+ type: z.ZodLiteral<"workspace_file_write_request">;
55427
+ cwd: z.ZodString;
55428
+ path: z.ZodString;
55429
+ content: z.ZodString;
55430
+ requestId: z.ZodString;
55431
+ }, "strip", z.ZodTypeAny, {
55432
+ path: string;
55433
+ type: "workspace_file_write_request";
55434
+ requestId: string;
55435
+ cwd: string;
55436
+ content: string;
55437
+ }, {
55438
+ path: string;
55439
+ type: "workspace_file_write_request";
55440
+ requestId: string;
55441
+ cwd: string;
55442
+ content: string;
55443
+ }>, z.ZodObject<{
55444
+ type: z.ZodLiteral<"workspace_create_worktree_request">;
55445
+ cwd: z.ZodString;
55446
+ branchName: z.ZodString;
55447
+ baseBranch: z.ZodOptional<z.ZodString>;
55448
+ remoteName: z.ZodOptional<z.ZodString>;
55449
+ requestId: z.ZodString;
55450
+ }, "strip", z.ZodTypeAny, {
55451
+ type: "workspace_create_worktree_request";
55452
+ requestId: string;
55453
+ cwd: string;
55454
+ branchName: string;
55455
+ baseBranch?: string | undefined;
55456
+ remoteName?: string | undefined;
55457
+ }, {
55458
+ type: "workspace_create_worktree_request";
55459
+ requestId: string;
55460
+ cwd: string;
55461
+ branchName: string;
55462
+ baseBranch?: string | undefined;
55463
+ remoteName?: string | undefined;
55019
55464
  }>, z.ZodObject<{
55020
55465
  type: z.ZodLiteral<"project_icon_request">;
55021
55466
  cwd: z.ZodString;
@@ -55887,6 +56332,19 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
55887
56332
  detail?: "full" | "minimal" | undefined;
55888
56333
  ref?: string | undefined;
55889
56334
  allowMissing?: boolean | undefined;
56335
+ } | {
56336
+ path: string;
56337
+ type: "workspace_file_write_request";
56338
+ requestId: string;
56339
+ cwd: string;
56340
+ content: string;
56341
+ } | {
56342
+ type: "workspace_create_worktree_request";
56343
+ requestId: string;
56344
+ cwd: string;
56345
+ branchName: string;
56346
+ baseBranch?: string | undefined;
56347
+ remoteName?: string | undefined;
55890
56348
  } | {
55891
56349
  type: "project_icon_request";
55892
56350
  requestId: string;
@@ -56449,6 +56907,19 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
56449
56907
  detail?: "full" | "minimal" | undefined;
56450
56908
  ref?: string | undefined;
56451
56909
  allowMissing?: boolean | undefined;
56910
+ } | {
56911
+ path: string;
56912
+ type: "workspace_file_write_request";
56913
+ requestId: string;
56914
+ cwd: string;
56915
+ content: string;
56916
+ } | {
56917
+ type: "workspace_create_worktree_request";
56918
+ requestId: string;
56919
+ cwd: string;
56920
+ branchName: string;
56921
+ baseBranch?: string | undefined;
56922
+ remoteName?: string | undefined;
56452
56923
  } | {
56453
56924
  type: "project_icon_request";
56454
56925
  requestId: string;
@@ -67445,6 +67916,79 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
67445
67916
  path: string;
67446
67917
  } | null;
67447
67918
  };
67919
+ }>, z.ZodObject<{
67920
+ type: z.ZodLiteral<"workspace_file_write_response">;
67921
+ payload: z.ZodObject<{
67922
+ cwd: z.ZodString;
67923
+ path: z.ZodString;
67924
+ success: z.ZodBoolean;
67925
+ error: z.ZodNullable<z.ZodString>;
67926
+ requestId: z.ZodString;
67927
+ }, "strip", z.ZodTypeAny, {
67928
+ error: string | null;
67929
+ path: string;
67930
+ requestId: string;
67931
+ cwd: string;
67932
+ success: boolean;
67933
+ }, {
67934
+ error: string | null;
67935
+ path: string;
67936
+ requestId: string;
67937
+ cwd: string;
67938
+ success: boolean;
67939
+ }>;
67940
+ }, "strip", z.ZodTypeAny, {
67941
+ type: "workspace_file_write_response";
67942
+ payload: {
67943
+ error: string | null;
67944
+ path: string;
67945
+ requestId: string;
67946
+ cwd: string;
67947
+ success: boolean;
67948
+ };
67949
+ }, {
67950
+ type: "workspace_file_write_response";
67951
+ payload: {
67952
+ error: string | null;
67953
+ path: string;
67954
+ requestId: string;
67955
+ cwd: string;
67956
+ success: boolean;
67957
+ };
67958
+ }>, z.ZodObject<{
67959
+ type: z.ZodLiteral<"workspace_create_worktree_response">;
67960
+ payload: z.ZodObject<{
67961
+ worktreePath: z.ZodString;
67962
+ branchName: z.ZodString;
67963
+ error: z.ZodNullable<z.ZodString>;
67964
+ requestId: z.ZodString;
67965
+ }, "strip", z.ZodTypeAny, {
67966
+ error: string | null;
67967
+ requestId: string;
67968
+ worktreePath: string;
67969
+ branchName: string;
67970
+ }, {
67971
+ error: string | null;
67972
+ requestId: string;
67973
+ worktreePath: string;
67974
+ branchName: string;
67975
+ }>;
67976
+ }, "strip", z.ZodTypeAny, {
67977
+ type: "workspace_create_worktree_response";
67978
+ payload: {
67979
+ error: string | null;
67980
+ requestId: string;
67981
+ worktreePath: string;
67982
+ branchName: string;
67983
+ };
67984
+ }, {
67985
+ type: "workspace_create_worktree_response";
67986
+ payload: {
67987
+ error: string | null;
67988
+ requestId: string;
67989
+ worktreePath: string;
67990
+ branchName: string;
67991
+ };
67448
67992
  }>, z.ZodObject<{
67449
67993
  type: z.ZodLiteral<"project_icon_response">;
67450
67994
  payload: z.ZodObject<{
@@ -70962,6 +71506,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
70962
71506
  path: string;
70963
71507
  } | null;
70964
71508
  };
71509
+ } | {
71510
+ type: "workspace_file_write_response";
71511
+ payload: {
71512
+ error: string | null;
71513
+ path: string;
71514
+ requestId: string;
71515
+ cwd: string;
71516
+ success: boolean;
71517
+ };
71518
+ } | {
71519
+ type: "workspace_create_worktree_response";
71520
+ payload: {
71521
+ error: string | null;
71522
+ requestId: string;
71523
+ worktreePath: string;
71524
+ branchName: string;
71525
+ };
70965
71526
  } | {
70966
71527
  type: "project_icon_response";
70967
71528
  payload: {
@@ -72848,6 +73409,23 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
72848
73409
  path: string;
72849
73410
  } | null;
72850
73411
  };
73412
+ } | {
73413
+ type: "workspace_file_write_response";
73414
+ payload: {
73415
+ error: string | null;
73416
+ path: string;
73417
+ requestId: string;
73418
+ cwd: string;
73419
+ success: boolean;
73420
+ };
73421
+ } | {
73422
+ type: "workspace_create_worktree_response";
73423
+ payload: {
73424
+ error: string | null;
73425
+ requestId: string;
73426
+ worktreePath: string;
73427
+ branchName: string;
73428
+ };
72851
73429
  } | {
72852
73430
  type: "project_icon_response";
72853
73431
  payload: {