@seawork/server 1.0.21-rc.2 → 1.0.21

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.
@@ -4033,6 +4033,25 @@ export declare const FileExplorerRequestSchema: z.ZodObject<{
4033
4033
  mode: "file" | "list";
4034
4034
  path?: string | undefined;
4035
4035
  }>;
4036
+ export declare const CreateDirectoryRequestSchema: z.ZodObject<{
4037
+ type: z.ZodLiteral<"create_directory_request">;
4038
+ cwd: z.ZodString;
4039
+ parentPath: z.ZodOptional<z.ZodString>;
4040
+ name: z.ZodOptional<z.ZodString>;
4041
+ requestId: z.ZodString;
4042
+ }, "strip", z.ZodTypeAny, {
4043
+ type: "create_directory_request";
4044
+ requestId: string;
4045
+ cwd: string;
4046
+ name?: string | undefined;
4047
+ parentPath?: string | undefined;
4048
+ }, {
4049
+ type: "create_directory_request";
4050
+ requestId: string;
4051
+ cwd: string;
4052
+ name?: string | undefined;
4053
+ parentPath?: string | undefined;
4054
+ }>;
4036
4055
  export declare const ProjectIconRequestSchema: z.ZodObject<{
4037
4056
  type: z.ZodLiteral<"project_icon_request">;
4038
4057
  cwd: z.ZodString;
@@ -6349,6 +6368,24 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6349
6368
  cwd: string;
6350
6369
  mode: "file" | "list";
6351
6370
  path?: string | undefined;
6371
+ }>, z.ZodObject<{
6372
+ type: z.ZodLiteral<"create_directory_request">;
6373
+ cwd: z.ZodString;
6374
+ parentPath: z.ZodOptional<z.ZodString>;
6375
+ name: z.ZodOptional<z.ZodString>;
6376
+ requestId: z.ZodString;
6377
+ }, "strip", z.ZodTypeAny, {
6378
+ type: "create_directory_request";
6379
+ requestId: string;
6380
+ cwd: string;
6381
+ name?: string | undefined;
6382
+ parentPath?: string | undefined;
6383
+ }, {
6384
+ type: "create_directory_request";
6385
+ requestId: string;
6386
+ cwd: string;
6387
+ name?: string | undefined;
6388
+ parentPath?: string | undefined;
6352
6389
  }>, z.ZodObject<{
6353
6390
  type: z.ZodLiteral<"workspace_ignore_get_request">;
6354
6391
  cwd: z.ZodString;
@@ -22857,6 +22894,41 @@ export declare const FileExplorerResponseSchema: z.ZodObject<{
22857
22894
  mode: "file" | "list";
22858
22895
  };
22859
22896
  }>;
22897
+ export declare const CreateDirectoryResponseSchema: z.ZodObject<{
22898
+ type: z.ZodLiteral<"create_directory_response">;
22899
+ payload: z.ZodObject<{
22900
+ cwd: z.ZodString;
22901
+ path: z.ZodNullable<z.ZodString>;
22902
+ error: z.ZodNullable<z.ZodString>;
22903
+ requestId: z.ZodString;
22904
+ }, "strip", z.ZodTypeAny, {
22905
+ error: string | null;
22906
+ path: string | null;
22907
+ requestId: string;
22908
+ cwd: string;
22909
+ }, {
22910
+ error: string | null;
22911
+ path: string | null;
22912
+ requestId: string;
22913
+ cwd: string;
22914
+ }>;
22915
+ }, "strip", z.ZodTypeAny, {
22916
+ type: "create_directory_response";
22917
+ payload: {
22918
+ error: string | null;
22919
+ path: string | null;
22920
+ requestId: string;
22921
+ cwd: string;
22922
+ };
22923
+ }, {
22924
+ type: "create_directory_response";
22925
+ payload: {
22926
+ error: string | null;
22927
+ path: string | null;
22928
+ requestId: string;
22929
+ cwd: string;
22930
+ };
22931
+ }>;
22860
22932
  export declare const WorkspaceIgnoreGetResponseSchema: z.ZodObject<{
22861
22933
  type: z.ZodLiteral<"workspace_ignore_get_response">;
22862
22934
  payload: z.ZodObject<{
@@ -35180,6 +35252,40 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
35180
35252
  } | null;
35181
35253
  mode: "file" | "list";
35182
35254
  };
35255
+ }>, z.ZodObject<{
35256
+ type: z.ZodLiteral<"create_directory_response">;
35257
+ payload: z.ZodObject<{
35258
+ cwd: z.ZodString;
35259
+ path: z.ZodNullable<z.ZodString>;
35260
+ error: z.ZodNullable<z.ZodString>;
35261
+ requestId: z.ZodString;
35262
+ }, "strip", z.ZodTypeAny, {
35263
+ error: string | null;
35264
+ path: string | null;
35265
+ requestId: string;
35266
+ cwd: string;
35267
+ }, {
35268
+ error: string | null;
35269
+ path: string | null;
35270
+ requestId: string;
35271
+ cwd: string;
35272
+ }>;
35273
+ }, "strip", z.ZodTypeAny, {
35274
+ type: "create_directory_response";
35275
+ payload: {
35276
+ error: string | null;
35277
+ path: string | null;
35278
+ requestId: string;
35279
+ cwd: string;
35280
+ };
35281
+ }, {
35282
+ type: "create_directory_response";
35283
+ payload: {
35284
+ error: string | null;
35285
+ path: string | null;
35286
+ requestId: string;
35287
+ cwd: string;
35288
+ };
35183
35289
  }>, z.ZodObject<{
35184
35290
  type: z.ZodLiteral<"workspace_ignore_get_response">;
35185
35291
  payload: z.ZodObject<{
@@ -42294,6 +42400,8 @@ export type OpenProjectRequest = z.infer<typeof OpenProjectRequestSchema>;
42294
42400
  export type ArchiveWorkspaceRequest = z.infer<typeof ArchiveWorkspaceRequestSchema>;
42295
42401
  export type FileExplorerRequest = z.infer<typeof FileExplorerRequestSchema>;
42296
42402
  export type FileExplorerResponse = z.infer<typeof FileExplorerResponseSchema>;
42403
+ export type CreateDirectoryRequest = z.infer<typeof CreateDirectoryRequestSchema>;
42404
+ export type CreateDirectoryResponse = z.infer<typeof CreateDirectoryResponseSchema>;
42297
42405
  export type WorkspaceIgnoreGetRequest = z.infer<typeof WorkspaceIgnoreGetRequestSchema>;
42298
42406
  export type WorkspaceIgnoreGetResponse = z.infer<typeof WorkspaceIgnoreGetResponseSchema>;
42299
42407
  export type WorkspaceIgnoreSetRequest = z.infer<typeof WorkspaceIgnoreSetRequestSchema>;
@@ -44311,6 +44419,24 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
44311
44419
  cwd: string;
44312
44420
  mode: "file" | "list";
44313
44421
  path?: string | undefined;
44422
+ }>, z.ZodObject<{
44423
+ type: z.ZodLiteral<"create_directory_request">;
44424
+ cwd: z.ZodString;
44425
+ parentPath: z.ZodOptional<z.ZodString>;
44426
+ name: z.ZodOptional<z.ZodString>;
44427
+ requestId: z.ZodString;
44428
+ }, "strip", z.ZodTypeAny, {
44429
+ type: "create_directory_request";
44430
+ requestId: string;
44431
+ cwd: string;
44432
+ name?: string | undefined;
44433
+ parentPath?: string | undefined;
44434
+ }, {
44435
+ type: "create_directory_request";
44436
+ requestId: string;
44437
+ cwd: string;
44438
+ name?: string | undefined;
44439
+ parentPath?: string | undefined;
44314
44440
  }>, z.ZodObject<{
44315
44441
  type: z.ZodLiteral<"workspace_ignore_get_request">;
44316
44442
  cwd: z.ZodString;
@@ -45988,6 +46114,12 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
45988
46114
  cwd: string;
45989
46115
  mode: "file" | "list";
45990
46116
  path?: string | undefined;
46117
+ } | {
46118
+ type: "create_directory_request";
46119
+ requestId: string;
46120
+ cwd: string;
46121
+ name?: string | undefined;
46122
+ parentPath?: string | undefined;
45991
46123
  } | {
45992
46124
  type: "workspace_ignore_get_request";
45993
46125
  requestId: string;
@@ -46800,6 +46932,12 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
46800
46932
  cwd: string;
46801
46933
  mode: "file" | "list";
46802
46934
  path?: string | undefined;
46935
+ } | {
46936
+ type: "create_directory_request";
46937
+ requestId: string;
46938
+ cwd: string;
46939
+ name?: string | undefined;
46940
+ parentPath?: string | undefined;
46803
46941
  } | {
46804
46942
  type: "workspace_ignore_get_request";
46805
46943
  requestId: string;
@@ -57972,6 +58110,40 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
57972
58110
  } | null;
57973
58111
  mode: "file" | "list";
57974
58112
  };
58113
+ }>, z.ZodObject<{
58114
+ type: z.ZodLiteral<"create_directory_response">;
58115
+ payload: z.ZodObject<{
58116
+ cwd: z.ZodString;
58117
+ path: z.ZodNullable<z.ZodString>;
58118
+ error: z.ZodNullable<z.ZodString>;
58119
+ requestId: z.ZodString;
58120
+ }, "strip", z.ZodTypeAny, {
58121
+ error: string | null;
58122
+ path: string | null;
58123
+ requestId: string;
58124
+ cwd: string;
58125
+ }, {
58126
+ error: string | null;
58127
+ path: string | null;
58128
+ requestId: string;
58129
+ cwd: string;
58130
+ }>;
58131
+ }, "strip", z.ZodTypeAny, {
58132
+ type: "create_directory_response";
58133
+ payload: {
58134
+ error: string | null;
58135
+ path: string | null;
58136
+ requestId: string;
58137
+ cwd: string;
58138
+ };
58139
+ }, {
58140
+ type: "create_directory_response";
58141
+ payload: {
58142
+ error: string | null;
58143
+ path: string | null;
58144
+ requestId: string;
58145
+ cwd: string;
58146
+ };
57975
58147
  }>, z.ZodObject<{
57976
58148
  type: z.ZodLiteral<"workspace_ignore_get_response">;
57977
58149
  payload: z.ZodObject<{
@@ -66363,6 +66535,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
66363
66535
  } | null;
66364
66536
  mode: "file" | "list";
66365
66537
  };
66538
+ } | {
66539
+ type: "create_directory_response";
66540
+ payload: {
66541
+ error: string | null;
66542
+ path: string | null;
66543
+ requestId: string;
66544
+ cwd: string;
66545
+ };
66366
66546
  } | {
66367
66547
  type: "workspace_ignore_get_response";
66368
66548
  payload: {
@@ -68828,6 +69008,14 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
68828
69008
  } | null;
68829
69009
  mode: "file" | "list";
68830
69010
  };
69011
+ } | {
69012
+ type: "create_directory_response";
69013
+ payload: {
69014
+ error: string | null;
69015
+ path: string | null;
69016
+ requestId: string;
69017
+ cwd: string;
69018
+ };
68831
69019
  } | {
68832
69020
  type: "workspace_ignore_get_response";
68833
69021
  payload: {
@@ -71804,6 +71992,24 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
71804
71992
  cwd: string;
71805
71993
  mode: "file" | "list";
71806
71994
  path?: string | undefined;
71995
+ }>, z.ZodObject<{
71996
+ type: z.ZodLiteral<"create_directory_request">;
71997
+ cwd: z.ZodString;
71998
+ parentPath: z.ZodOptional<z.ZodString>;
71999
+ name: z.ZodOptional<z.ZodString>;
72000
+ requestId: z.ZodString;
72001
+ }, "strip", z.ZodTypeAny, {
72002
+ type: "create_directory_request";
72003
+ requestId: string;
72004
+ cwd: string;
72005
+ name?: string | undefined;
72006
+ parentPath?: string | undefined;
72007
+ }, {
72008
+ type: "create_directory_request";
72009
+ requestId: string;
72010
+ cwd: string;
72011
+ name?: string | undefined;
72012
+ parentPath?: string | undefined;
71807
72013
  }>, z.ZodObject<{
71808
72014
  type: z.ZodLiteral<"workspace_ignore_get_request">;
71809
72015
  cwd: z.ZodString;
@@ -73481,6 +73687,12 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
73481
73687
  cwd: string;
73482
73688
  mode: "file" | "list";
73483
73689
  path?: string | undefined;
73690
+ } | {
73691
+ type: "create_directory_request";
73692
+ requestId: string;
73693
+ cwd: string;
73694
+ name?: string | undefined;
73695
+ parentPath?: string | undefined;
73484
73696
  } | {
73485
73697
  type: "workspace_ignore_get_request";
73486
73698
  requestId: string;
@@ -74293,6 +74505,12 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
74293
74505
  cwd: string;
74294
74506
  mode: "file" | "list";
74295
74507
  path?: string | undefined;
74508
+ } | {
74509
+ type: "create_directory_request";
74510
+ requestId: string;
74511
+ cwd: string;
74512
+ name?: string | undefined;
74513
+ parentPath?: string | undefined;
74296
74514
  } | {
74297
74515
  type: "workspace_ignore_get_request";
74298
74516
  requestId: string;
@@ -85471,6 +85689,40 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
85471
85689
  } | null;
85472
85690
  mode: "file" | "list";
85473
85691
  };
85692
+ }>, z.ZodObject<{
85693
+ type: z.ZodLiteral<"create_directory_response">;
85694
+ payload: z.ZodObject<{
85695
+ cwd: z.ZodString;
85696
+ path: z.ZodNullable<z.ZodString>;
85697
+ error: z.ZodNullable<z.ZodString>;
85698
+ requestId: z.ZodString;
85699
+ }, "strip", z.ZodTypeAny, {
85700
+ error: string | null;
85701
+ path: string | null;
85702
+ requestId: string;
85703
+ cwd: string;
85704
+ }, {
85705
+ error: string | null;
85706
+ path: string | null;
85707
+ requestId: string;
85708
+ cwd: string;
85709
+ }>;
85710
+ }, "strip", z.ZodTypeAny, {
85711
+ type: "create_directory_response";
85712
+ payload: {
85713
+ error: string | null;
85714
+ path: string | null;
85715
+ requestId: string;
85716
+ cwd: string;
85717
+ };
85718
+ }, {
85719
+ type: "create_directory_response";
85720
+ payload: {
85721
+ error: string | null;
85722
+ path: string | null;
85723
+ requestId: string;
85724
+ cwd: string;
85725
+ };
85474
85726
  }>, z.ZodObject<{
85475
85727
  type: z.ZodLiteral<"workspace_ignore_get_response">;
85476
85728
  payload: z.ZodObject<{
@@ -93862,6 +94114,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
93862
94114
  } | null;
93863
94115
  mode: "file" | "list";
93864
94116
  };
94117
+ } | {
94118
+ type: "create_directory_response";
94119
+ payload: {
94120
+ error: string | null;
94121
+ path: string | null;
94122
+ requestId: string;
94123
+ cwd: string;
94124
+ };
93865
94125
  } | {
93866
94126
  type: "workspace_ignore_get_response";
93867
94127
  payload: {
@@ -96327,6 +96587,14 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
96327
96587
  } | null;
96328
96588
  mode: "file" | "list";
96329
96589
  };
96590
+ } | {
96591
+ type: "create_directory_response";
96592
+ payload: {
96593
+ error: string | null;
96594
+ path: string | null;
96595
+ requestId: string;
96596
+ cwd: string;
96597
+ };
96330
96598
  } | {
96331
96599
  type: "workspace_ignore_get_response";
96332
96600
  payload: {