@seawork/server 1.0.20 → 1.0.21-rc.2

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.
Files changed (32) hide show
  1. package/dist/server/client/daemon-client.d.ts +7 -1
  2. package/dist/server/client/daemon-client.d.ts.map +1 -1
  3. package/dist/server/client/daemon-client.js +26 -0
  4. package/dist/server/client/daemon-client.js.map +1 -1
  5. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts +9 -3
  6. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
  7. package/dist/server/server/agent/providers/codex-app-server-agent.js +83 -5
  8. package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
  9. package/dist/server/server/bootstrap.d.ts.map +1 -1
  10. package/dist/server/server/bootstrap.js +4 -0
  11. package/dist/server/server/bootstrap.js.map +1 -1
  12. package/dist/server/server/pr-review-watcher.d.ts +24 -0
  13. package/dist/server/server/pr-review-watcher.d.ts.map +1 -0
  14. package/dist/server/server/pr-review-watcher.js +281 -0
  15. package/dist/server/server/pr-review-watcher.js.map +1 -0
  16. package/dist/server/server/session.d.ts +4 -0
  17. package/dist/server/server/session.d.ts.map +1 -1
  18. package/dist/server/server/session.js +117 -1
  19. package/dist/server/server/session.js.map +1 -1
  20. package/dist/server/server/workspace-ignore/store.d.ts +17 -0
  21. package/dist/server/server/workspace-ignore/store.d.ts.map +1 -0
  22. package/dist/server/server/workspace-ignore/store.js +92 -0
  23. package/dist/server/server/workspace-ignore/store.js.map +1 -0
  24. package/dist/server/shared/messages.d.ts +584 -0
  25. package/dist/server/shared/messages.d.ts.map +1 -1
  26. package/dist/server/shared/messages.js +49 -0
  27. package/dist/server/shared/messages.js.map +1 -1
  28. package/dist/server/utils/directory-suggestions.d.ts +2 -0
  29. package/dist/server/utils/directory-suggestions.d.ts.map +1 -1
  30. package/dist/server/utils/directory-suggestions.js +81 -11
  31. package/dist/server/utils/directory-suggestions.js.map +1 -1
  32. package/package.json +3 -3
@@ -3838,23 +3838,29 @@ export declare const DirectorySuggestionsRequestSchema: z.ZodObject<{
3838
3838
  includeFiles: z.ZodOptional<z.ZodBoolean>;
3839
3839
  includeDirectories: z.ZodOptional<z.ZodBoolean>;
3840
3840
  limit: z.ZodOptional<z.ZodNumber>;
3841
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
3842
+ userIgnorePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3841
3843
  requestId: z.ZodString;
3842
3844
  }, "strip", z.ZodTypeAny, {
3843
3845
  type: "directory_suggestions_request";
3844
3846
  requestId: string;
3845
3847
  query: string;
3846
3848
  cwd?: string | undefined;
3849
+ respectGitignore?: boolean | undefined;
3847
3850
  limit?: number | undefined;
3848
3851
  includeFiles?: boolean | undefined;
3849
3852
  includeDirectories?: boolean | undefined;
3853
+ userIgnorePatterns?: string[] | undefined;
3850
3854
  }, {
3851
3855
  type: "directory_suggestions_request";
3852
3856
  requestId: string;
3853
3857
  query: string;
3854
3858
  cwd?: string | undefined;
3859
+ respectGitignore?: boolean | undefined;
3855
3860
  limit?: number | undefined;
3856
3861
  includeFiles?: boolean | undefined;
3857
3862
  includeDirectories?: boolean | undefined;
3863
+ userIgnorePatterns?: string[] | undefined;
3858
3864
  }>;
3859
3865
  export declare const SeaworkWorktreeListRequestSchema: z.ZodObject<{
3860
3866
  type: z.ZodLiteral<"seawork_worktree_list_request">;
@@ -4040,6 +4046,38 @@ export declare const ProjectIconRequestSchema: z.ZodObject<{
4040
4046
  requestId: string;
4041
4047
  cwd: string;
4042
4048
  }>;
4049
+ export declare const WorkspaceIgnoreGetRequestSchema: z.ZodObject<{
4050
+ type: z.ZodLiteral<"workspace_ignore_get_request">;
4051
+ cwd: z.ZodString;
4052
+ requestId: z.ZodString;
4053
+ }, "strip", z.ZodTypeAny, {
4054
+ type: "workspace_ignore_get_request";
4055
+ requestId: string;
4056
+ cwd: string;
4057
+ }, {
4058
+ type: "workspace_ignore_get_request";
4059
+ requestId: string;
4060
+ cwd: string;
4061
+ }>;
4062
+ export declare const WorkspaceIgnoreSetRequestSchema: z.ZodObject<{
4063
+ type: z.ZodLiteral<"workspace_ignore_set_request">;
4064
+ cwd: z.ZodString;
4065
+ patterns: z.ZodArray<z.ZodString, "many">;
4066
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
4067
+ requestId: z.ZodString;
4068
+ }, "strip", z.ZodTypeAny, {
4069
+ type: "workspace_ignore_set_request";
4070
+ requestId: string;
4071
+ cwd: string;
4072
+ patterns: string[];
4073
+ respectGitignore?: boolean | undefined;
4074
+ }, {
4075
+ type: "workspace_ignore_set_request";
4076
+ requestId: string;
4077
+ cwd: string;
4078
+ patterns: string[];
4079
+ respectGitignore?: boolean | undefined;
4080
+ }>;
4043
4081
  export declare const FileDownloadTokenRequestSchema: z.ZodObject<{
4044
4082
  type: z.ZodLiteral<"file_download_token_request">;
4045
4083
  cwd: z.ZodString;
@@ -6144,23 +6182,29 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6144
6182
  includeFiles: z.ZodOptional<z.ZodBoolean>;
6145
6183
  includeDirectories: z.ZodOptional<z.ZodBoolean>;
6146
6184
  limit: z.ZodOptional<z.ZodNumber>;
6185
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
6186
+ userIgnorePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6147
6187
  requestId: z.ZodString;
6148
6188
  }, "strip", z.ZodTypeAny, {
6149
6189
  type: "directory_suggestions_request";
6150
6190
  requestId: string;
6151
6191
  query: string;
6152
6192
  cwd?: string | undefined;
6193
+ respectGitignore?: boolean | undefined;
6153
6194
  limit?: number | undefined;
6154
6195
  includeFiles?: boolean | undefined;
6155
6196
  includeDirectories?: boolean | undefined;
6197
+ userIgnorePatterns?: string[] | undefined;
6156
6198
  }, {
6157
6199
  type: "directory_suggestions_request";
6158
6200
  requestId: string;
6159
6201
  query: string;
6160
6202
  cwd?: string | undefined;
6203
+ respectGitignore?: boolean | undefined;
6161
6204
  limit?: number | undefined;
6162
6205
  includeFiles?: boolean | undefined;
6163
6206
  includeDirectories?: boolean | undefined;
6207
+ userIgnorePatterns?: string[] | undefined;
6164
6208
  }>, z.ZodObject<{
6165
6209
  type: z.ZodLiteral<"seawork_worktree_list_request">;
6166
6210
  cwd: z.ZodOptional<z.ZodString>;
@@ -6305,6 +6349,36 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
6305
6349
  cwd: string;
6306
6350
  mode: "file" | "list";
6307
6351
  path?: string | undefined;
6352
+ }>, z.ZodObject<{
6353
+ type: z.ZodLiteral<"workspace_ignore_get_request">;
6354
+ cwd: z.ZodString;
6355
+ requestId: z.ZodString;
6356
+ }, "strip", z.ZodTypeAny, {
6357
+ type: "workspace_ignore_get_request";
6358
+ requestId: string;
6359
+ cwd: string;
6360
+ }, {
6361
+ type: "workspace_ignore_get_request";
6362
+ requestId: string;
6363
+ cwd: string;
6364
+ }>, z.ZodObject<{
6365
+ type: z.ZodLiteral<"workspace_ignore_set_request">;
6366
+ cwd: z.ZodString;
6367
+ patterns: z.ZodArray<z.ZodString, "many">;
6368
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
6369
+ requestId: z.ZodString;
6370
+ }, "strip", z.ZodTypeAny, {
6371
+ type: "workspace_ignore_set_request";
6372
+ requestId: string;
6373
+ cwd: string;
6374
+ patterns: string[];
6375
+ respectGitignore?: boolean | undefined;
6376
+ }, {
6377
+ type: "workspace_ignore_set_request";
6378
+ requestId: string;
6379
+ cwd: string;
6380
+ patterns: string[];
6381
+ respectGitignore?: boolean | undefined;
6308
6382
  }>, z.ZodObject<{
6309
6383
  type: z.ZodLiteral<"project_icon_request">;
6310
6384
  cwd: z.ZodString;
@@ -22783,6 +22857,86 @@ export declare const FileExplorerResponseSchema: z.ZodObject<{
22783
22857
  mode: "file" | "list";
22784
22858
  };
22785
22859
  }>;
22860
+ export declare const WorkspaceIgnoreGetResponseSchema: z.ZodObject<{
22861
+ type: z.ZodLiteral<"workspace_ignore_get_response">;
22862
+ payload: z.ZodObject<{
22863
+ cwd: z.ZodString;
22864
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
22865
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
22866
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22867
+ requestId: z.ZodString;
22868
+ }, "strip", z.ZodTypeAny, {
22869
+ error: string | null;
22870
+ requestId: string;
22871
+ cwd: string;
22872
+ patterns: string[];
22873
+ respectGitignore?: boolean | undefined;
22874
+ }, {
22875
+ requestId: string;
22876
+ cwd: string;
22877
+ error?: string | null | undefined;
22878
+ patterns?: string[] | undefined;
22879
+ respectGitignore?: boolean | undefined;
22880
+ }>;
22881
+ }, "strip", z.ZodTypeAny, {
22882
+ type: "workspace_ignore_get_response";
22883
+ payload: {
22884
+ error: string | null;
22885
+ requestId: string;
22886
+ cwd: string;
22887
+ patterns: string[];
22888
+ respectGitignore?: boolean | undefined;
22889
+ };
22890
+ }, {
22891
+ type: "workspace_ignore_get_response";
22892
+ payload: {
22893
+ requestId: string;
22894
+ cwd: string;
22895
+ error?: string | null | undefined;
22896
+ patterns?: string[] | undefined;
22897
+ respectGitignore?: boolean | undefined;
22898
+ };
22899
+ }>;
22900
+ export declare const WorkspaceIgnoreSetResponseSchema: z.ZodObject<{
22901
+ type: z.ZodLiteral<"workspace_ignore_set_response">;
22902
+ payload: z.ZodObject<{
22903
+ cwd: z.ZodString;
22904
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
22905
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
22906
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22907
+ requestId: z.ZodString;
22908
+ }, "strip", z.ZodTypeAny, {
22909
+ error: string | null;
22910
+ requestId: string;
22911
+ cwd: string;
22912
+ patterns: string[];
22913
+ respectGitignore?: boolean | undefined;
22914
+ }, {
22915
+ requestId: string;
22916
+ cwd: string;
22917
+ error?: string | null | undefined;
22918
+ patterns?: string[] | undefined;
22919
+ respectGitignore?: boolean | undefined;
22920
+ }>;
22921
+ }, "strip", z.ZodTypeAny, {
22922
+ type: "workspace_ignore_set_response";
22923
+ payload: {
22924
+ error: string | null;
22925
+ requestId: string;
22926
+ cwd: string;
22927
+ patterns: string[];
22928
+ respectGitignore?: boolean | undefined;
22929
+ };
22930
+ }, {
22931
+ type: "workspace_ignore_set_response";
22932
+ payload: {
22933
+ requestId: string;
22934
+ cwd: string;
22935
+ error?: string | null | undefined;
22936
+ patterns?: string[] | undefined;
22937
+ respectGitignore?: boolean | undefined;
22938
+ };
22939
+ }>;
22786
22940
  declare const ProjectIconSchema: z.ZodObject<{
22787
22941
  data: z.ZodString;
22788
22942
  mimeType: z.ZodString;
@@ -35026,6 +35180,84 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
35026
35180
  } | null;
35027
35181
  mode: "file" | "list";
35028
35182
  };
35183
+ }>, z.ZodObject<{
35184
+ type: z.ZodLiteral<"workspace_ignore_get_response">;
35185
+ payload: z.ZodObject<{
35186
+ cwd: z.ZodString;
35187
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
35188
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
35189
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
35190
+ requestId: z.ZodString;
35191
+ }, "strip", z.ZodTypeAny, {
35192
+ error: string | null;
35193
+ requestId: string;
35194
+ cwd: string;
35195
+ patterns: string[];
35196
+ respectGitignore?: boolean | undefined;
35197
+ }, {
35198
+ requestId: string;
35199
+ cwd: string;
35200
+ error?: string | null | undefined;
35201
+ patterns?: string[] | undefined;
35202
+ respectGitignore?: boolean | undefined;
35203
+ }>;
35204
+ }, "strip", z.ZodTypeAny, {
35205
+ type: "workspace_ignore_get_response";
35206
+ payload: {
35207
+ error: string | null;
35208
+ requestId: string;
35209
+ cwd: string;
35210
+ patterns: string[];
35211
+ respectGitignore?: boolean | undefined;
35212
+ };
35213
+ }, {
35214
+ type: "workspace_ignore_get_response";
35215
+ payload: {
35216
+ requestId: string;
35217
+ cwd: string;
35218
+ error?: string | null | undefined;
35219
+ patterns?: string[] | undefined;
35220
+ respectGitignore?: boolean | undefined;
35221
+ };
35222
+ }>, z.ZodObject<{
35223
+ type: z.ZodLiteral<"workspace_ignore_set_response">;
35224
+ payload: z.ZodObject<{
35225
+ cwd: z.ZodString;
35226
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
35227
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
35228
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
35229
+ requestId: z.ZodString;
35230
+ }, "strip", z.ZodTypeAny, {
35231
+ error: string | null;
35232
+ requestId: string;
35233
+ cwd: string;
35234
+ patterns: string[];
35235
+ respectGitignore?: boolean | undefined;
35236
+ }, {
35237
+ requestId: string;
35238
+ cwd: string;
35239
+ error?: string | null | undefined;
35240
+ patterns?: string[] | undefined;
35241
+ respectGitignore?: boolean | undefined;
35242
+ }>;
35243
+ }, "strip", z.ZodTypeAny, {
35244
+ type: "workspace_ignore_set_response";
35245
+ payload: {
35246
+ error: string | null;
35247
+ requestId: string;
35248
+ cwd: string;
35249
+ patterns: string[];
35250
+ respectGitignore?: boolean | undefined;
35251
+ };
35252
+ }, {
35253
+ type: "workspace_ignore_set_response";
35254
+ payload: {
35255
+ requestId: string;
35256
+ cwd: string;
35257
+ error?: string | null | undefined;
35258
+ patterns?: string[] | undefined;
35259
+ respectGitignore?: boolean | undefined;
35260
+ };
35029
35261
  }>, z.ZodObject<{
35030
35262
  type: z.ZodLiteral<"project_icon_response">;
35031
35263
  payload: z.ZodObject<{
@@ -42062,6 +42294,10 @@ export type OpenProjectRequest = z.infer<typeof OpenProjectRequestSchema>;
42062
42294
  export type ArchiveWorkspaceRequest = z.infer<typeof ArchiveWorkspaceRequestSchema>;
42063
42295
  export type FileExplorerRequest = z.infer<typeof FileExplorerRequestSchema>;
42064
42296
  export type FileExplorerResponse = z.infer<typeof FileExplorerResponseSchema>;
42297
+ export type WorkspaceIgnoreGetRequest = z.infer<typeof WorkspaceIgnoreGetRequestSchema>;
42298
+ export type WorkspaceIgnoreGetResponse = z.infer<typeof WorkspaceIgnoreGetResponseSchema>;
42299
+ export type WorkspaceIgnoreSetRequest = z.infer<typeof WorkspaceIgnoreSetRequestSchema>;
42300
+ export type WorkspaceIgnoreSetResponse = z.infer<typeof WorkspaceIgnoreSetResponseSchema>;
42065
42301
  export type ProjectIconRequest = z.infer<typeof ProjectIconRequestSchema>;
42066
42302
  export type ProjectIconResponse = z.infer<typeof ProjectIconResponseSchema>;
42067
42303
  export type ProjectIcon = z.infer<typeof ProjectIconSchema>;
@@ -43908,23 +44144,29 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
43908
44144
  includeFiles: z.ZodOptional<z.ZodBoolean>;
43909
44145
  includeDirectories: z.ZodOptional<z.ZodBoolean>;
43910
44146
  limit: z.ZodOptional<z.ZodNumber>;
44147
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
44148
+ userIgnorePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43911
44149
  requestId: z.ZodString;
43912
44150
  }, "strip", z.ZodTypeAny, {
43913
44151
  type: "directory_suggestions_request";
43914
44152
  requestId: string;
43915
44153
  query: string;
43916
44154
  cwd?: string | undefined;
44155
+ respectGitignore?: boolean | undefined;
43917
44156
  limit?: number | undefined;
43918
44157
  includeFiles?: boolean | undefined;
43919
44158
  includeDirectories?: boolean | undefined;
44159
+ userIgnorePatterns?: string[] | undefined;
43920
44160
  }, {
43921
44161
  type: "directory_suggestions_request";
43922
44162
  requestId: string;
43923
44163
  query: string;
43924
44164
  cwd?: string | undefined;
44165
+ respectGitignore?: boolean | undefined;
43925
44166
  limit?: number | undefined;
43926
44167
  includeFiles?: boolean | undefined;
43927
44168
  includeDirectories?: boolean | undefined;
44169
+ userIgnorePatterns?: string[] | undefined;
43928
44170
  }>, z.ZodObject<{
43929
44171
  type: z.ZodLiteral<"seawork_worktree_list_request">;
43930
44172
  cwd: z.ZodOptional<z.ZodString>;
@@ -44069,6 +44311,36 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
44069
44311
  cwd: string;
44070
44312
  mode: "file" | "list";
44071
44313
  path?: string | undefined;
44314
+ }>, z.ZodObject<{
44315
+ type: z.ZodLiteral<"workspace_ignore_get_request">;
44316
+ cwd: z.ZodString;
44317
+ requestId: z.ZodString;
44318
+ }, "strip", z.ZodTypeAny, {
44319
+ type: "workspace_ignore_get_request";
44320
+ requestId: string;
44321
+ cwd: string;
44322
+ }, {
44323
+ type: "workspace_ignore_get_request";
44324
+ requestId: string;
44325
+ cwd: string;
44326
+ }>, z.ZodObject<{
44327
+ type: z.ZodLiteral<"workspace_ignore_set_request">;
44328
+ cwd: z.ZodString;
44329
+ patterns: z.ZodArray<z.ZodString, "many">;
44330
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
44331
+ requestId: z.ZodString;
44332
+ }, "strip", z.ZodTypeAny, {
44333
+ type: "workspace_ignore_set_request";
44334
+ requestId: string;
44335
+ cwd: string;
44336
+ patterns: string[];
44337
+ respectGitignore?: boolean | undefined;
44338
+ }, {
44339
+ type: "workspace_ignore_set_request";
44340
+ requestId: string;
44341
+ cwd: string;
44342
+ patterns: string[];
44343
+ respectGitignore?: boolean | undefined;
44072
44344
  }>, z.ZodObject<{
44073
44345
  type: z.ZodLiteral<"project_icon_request">;
44074
44346
  cwd: z.ZodString;
@@ -45663,9 +45935,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
45663
45935
  requestId: string;
45664
45936
  query: string;
45665
45937
  cwd?: string | undefined;
45938
+ respectGitignore?: boolean | undefined;
45666
45939
  limit?: number | undefined;
45667
45940
  includeFiles?: boolean | undefined;
45668
45941
  includeDirectories?: boolean | undefined;
45942
+ userIgnorePatterns?: string[] | undefined;
45669
45943
  } | {
45670
45944
  type: "seawork_worktree_list_request";
45671
45945
  requestId: string;
@@ -45714,6 +45988,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
45714
45988
  cwd: string;
45715
45989
  mode: "file" | "list";
45716
45990
  path?: string | undefined;
45991
+ } | {
45992
+ type: "workspace_ignore_get_request";
45993
+ requestId: string;
45994
+ cwd: string;
45995
+ } | {
45996
+ type: "workspace_ignore_set_request";
45997
+ requestId: string;
45998
+ cwd: string;
45999
+ patterns: string[];
46000
+ respectGitignore?: boolean | undefined;
45717
46001
  } | {
45718
46002
  type: "project_icon_request";
45719
46003
  requestId: string;
@@ -46463,9 +46747,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
46463
46747
  requestId: string;
46464
46748
  query: string;
46465
46749
  cwd?: string | undefined;
46750
+ respectGitignore?: boolean | undefined;
46466
46751
  limit?: number | undefined;
46467
46752
  includeFiles?: boolean | undefined;
46468
46753
  includeDirectories?: boolean | undefined;
46754
+ userIgnorePatterns?: string[] | undefined;
46469
46755
  } | {
46470
46756
  type: "seawork_worktree_list_request";
46471
46757
  requestId: string;
@@ -46514,6 +46800,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
46514
46800
  cwd: string;
46515
46801
  mode: "file" | "list";
46516
46802
  path?: string | undefined;
46803
+ } | {
46804
+ type: "workspace_ignore_get_request";
46805
+ requestId: string;
46806
+ cwd: string;
46807
+ } | {
46808
+ type: "workspace_ignore_set_request";
46809
+ requestId: string;
46810
+ cwd: string;
46811
+ patterns: string[];
46812
+ respectGitignore?: boolean | undefined;
46517
46813
  } | {
46518
46814
  type: "project_icon_request";
46519
46815
  requestId: string;
@@ -57676,6 +57972,84 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
57676
57972
  } | null;
57677
57973
  mode: "file" | "list";
57678
57974
  };
57975
+ }>, z.ZodObject<{
57976
+ type: z.ZodLiteral<"workspace_ignore_get_response">;
57977
+ payload: z.ZodObject<{
57978
+ cwd: z.ZodString;
57979
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
57980
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
57981
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
57982
+ requestId: z.ZodString;
57983
+ }, "strip", z.ZodTypeAny, {
57984
+ error: string | null;
57985
+ requestId: string;
57986
+ cwd: string;
57987
+ patterns: string[];
57988
+ respectGitignore?: boolean | undefined;
57989
+ }, {
57990
+ requestId: string;
57991
+ cwd: string;
57992
+ error?: string | null | undefined;
57993
+ patterns?: string[] | undefined;
57994
+ respectGitignore?: boolean | undefined;
57995
+ }>;
57996
+ }, "strip", z.ZodTypeAny, {
57997
+ type: "workspace_ignore_get_response";
57998
+ payload: {
57999
+ error: string | null;
58000
+ requestId: string;
58001
+ cwd: string;
58002
+ patterns: string[];
58003
+ respectGitignore?: boolean | undefined;
58004
+ };
58005
+ }, {
58006
+ type: "workspace_ignore_get_response";
58007
+ payload: {
58008
+ requestId: string;
58009
+ cwd: string;
58010
+ error?: string | null | undefined;
58011
+ patterns?: string[] | undefined;
58012
+ respectGitignore?: boolean | undefined;
58013
+ };
58014
+ }>, z.ZodObject<{
58015
+ type: z.ZodLiteral<"workspace_ignore_set_response">;
58016
+ payload: z.ZodObject<{
58017
+ cwd: z.ZodString;
58018
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
58019
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
58020
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
58021
+ requestId: z.ZodString;
58022
+ }, "strip", z.ZodTypeAny, {
58023
+ error: string | null;
58024
+ requestId: string;
58025
+ cwd: string;
58026
+ patterns: string[];
58027
+ respectGitignore?: boolean | undefined;
58028
+ }, {
58029
+ requestId: string;
58030
+ cwd: string;
58031
+ error?: string | null | undefined;
58032
+ patterns?: string[] | undefined;
58033
+ respectGitignore?: boolean | undefined;
58034
+ }>;
58035
+ }, "strip", z.ZodTypeAny, {
58036
+ type: "workspace_ignore_set_response";
58037
+ payload: {
58038
+ error: string | null;
58039
+ requestId: string;
58040
+ cwd: string;
58041
+ patterns: string[];
58042
+ respectGitignore?: boolean | undefined;
58043
+ };
58044
+ }, {
58045
+ type: "workspace_ignore_set_response";
58046
+ payload: {
58047
+ requestId: string;
58048
+ cwd: string;
58049
+ error?: string | null | undefined;
58050
+ patterns?: string[] | undefined;
58051
+ respectGitignore?: boolean | undefined;
58052
+ };
57679
58053
  }>, z.ZodObject<{
57680
58054
  type: z.ZodLiteral<"project_icon_response">;
57681
58055
  payload: z.ZodObject<{
@@ -65989,6 +66363,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
65989
66363
  } | null;
65990
66364
  mode: "file" | "list";
65991
66365
  };
66366
+ } | {
66367
+ type: "workspace_ignore_get_response";
66368
+ payload: {
66369
+ error: string | null;
66370
+ requestId: string;
66371
+ cwd: string;
66372
+ patterns: string[];
66373
+ respectGitignore?: boolean | undefined;
66374
+ };
66375
+ } | {
66376
+ type: "workspace_ignore_set_response";
66377
+ payload: {
66378
+ error: string | null;
66379
+ requestId: string;
66380
+ cwd: string;
66381
+ patterns: string[];
66382
+ respectGitignore?: boolean | undefined;
66383
+ };
65992
66384
  } | {
65993
66385
  type: "project_icon_response";
65994
66386
  payload: {
@@ -68436,6 +68828,24 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
68436
68828
  } | null;
68437
68829
  mode: "file" | "list";
68438
68830
  };
68831
+ } | {
68832
+ type: "workspace_ignore_get_response";
68833
+ payload: {
68834
+ requestId: string;
68835
+ cwd: string;
68836
+ error?: string | null | undefined;
68837
+ patterns?: string[] | undefined;
68838
+ respectGitignore?: boolean | undefined;
68839
+ };
68840
+ } | {
68841
+ type: "workspace_ignore_set_response";
68842
+ payload: {
68843
+ requestId: string;
68844
+ cwd: string;
68845
+ error?: string | null | undefined;
68846
+ patterns?: string[] | undefined;
68847
+ respectGitignore?: boolean | undefined;
68848
+ };
68439
68849
  } | {
68440
68850
  type: "project_icon_response";
68441
68851
  payload: {
@@ -71227,23 +71637,29 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
71227
71637
  includeFiles: z.ZodOptional<z.ZodBoolean>;
71228
71638
  includeDirectories: z.ZodOptional<z.ZodBoolean>;
71229
71639
  limit: z.ZodOptional<z.ZodNumber>;
71640
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
71641
+ userIgnorePatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71230
71642
  requestId: z.ZodString;
71231
71643
  }, "strip", z.ZodTypeAny, {
71232
71644
  type: "directory_suggestions_request";
71233
71645
  requestId: string;
71234
71646
  query: string;
71235
71647
  cwd?: string | undefined;
71648
+ respectGitignore?: boolean | undefined;
71236
71649
  limit?: number | undefined;
71237
71650
  includeFiles?: boolean | undefined;
71238
71651
  includeDirectories?: boolean | undefined;
71652
+ userIgnorePatterns?: string[] | undefined;
71239
71653
  }, {
71240
71654
  type: "directory_suggestions_request";
71241
71655
  requestId: string;
71242
71656
  query: string;
71243
71657
  cwd?: string | undefined;
71658
+ respectGitignore?: boolean | undefined;
71244
71659
  limit?: number | undefined;
71245
71660
  includeFiles?: boolean | undefined;
71246
71661
  includeDirectories?: boolean | undefined;
71662
+ userIgnorePatterns?: string[] | undefined;
71247
71663
  }>, z.ZodObject<{
71248
71664
  type: z.ZodLiteral<"seawork_worktree_list_request">;
71249
71665
  cwd: z.ZodOptional<z.ZodString>;
@@ -71388,6 +71804,36 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
71388
71804
  cwd: string;
71389
71805
  mode: "file" | "list";
71390
71806
  path?: string | undefined;
71807
+ }>, z.ZodObject<{
71808
+ type: z.ZodLiteral<"workspace_ignore_get_request">;
71809
+ cwd: z.ZodString;
71810
+ requestId: z.ZodString;
71811
+ }, "strip", z.ZodTypeAny, {
71812
+ type: "workspace_ignore_get_request";
71813
+ requestId: string;
71814
+ cwd: string;
71815
+ }, {
71816
+ type: "workspace_ignore_get_request";
71817
+ requestId: string;
71818
+ cwd: string;
71819
+ }>, z.ZodObject<{
71820
+ type: z.ZodLiteral<"workspace_ignore_set_request">;
71821
+ cwd: z.ZodString;
71822
+ patterns: z.ZodArray<z.ZodString, "many">;
71823
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
71824
+ requestId: z.ZodString;
71825
+ }, "strip", z.ZodTypeAny, {
71826
+ type: "workspace_ignore_set_request";
71827
+ requestId: string;
71828
+ cwd: string;
71829
+ patterns: string[];
71830
+ respectGitignore?: boolean | undefined;
71831
+ }, {
71832
+ type: "workspace_ignore_set_request";
71833
+ requestId: string;
71834
+ cwd: string;
71835
+ patterns: string[];
71836
+ respectGitignore?: boolean | undefined;
71391
71837
  }>, z.ZodObject<{
71392
71838
  type: z.ZodLiteral<"project_icon_request">;
71393
71839
  cwd: z.ZodString;
@@ -72982,9 +73428,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
72982
73428
  requestId: string;
72983
73429
  query: string;
72984
73430
  cwd?: string | undefined;
73431
+ respectGitignore?: boolean | undefined;
72985
73432
  limit?: number | undefined;
72986
73433
  includeFiles?: boolean | undefined;
72987
73434
  includeDirectories?: boolean | undefined;
73435
+ userIgnorePatterns?: string[] | undefined;
72988
73436
  } | {
72989
73437
  type: "seawork_worktree_list_request";
72990
73438
  requestId: string;
@@ -73033,6 +73481,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
73033
73481
  cwd: string;
73034
73482
  mode: "file" | "list";
73035
73483
  path?: string | undefined;
73484
+ } | {
73485
+ type: "workspace_ignore_get_request";
73486
+ requestId: string;
73487
+ cwd: string;
73488
+ } | {
73489
+ type: "workspace_ignore_set_request";
73490
+ requestId: string;
73491
+ cwd: string;
73492
+ patterns: string[];
73493
+ respectGitignore?: boolean | undefined;
73036
73494
  } | {
73037
73495
  type: "project_icon_request";
73038
73496
  requestId: string;
@@ -73782,9 +74240,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
73782
74240
  requestId: string;
73783
74241
  query: string;
73784
74242
  cwd?: string | undefined;
74243
+ respectGitignore?: boolean | undefined;
73785
74244
  limit?: number | undefined;
73786
74245
  includeFiles?: boolean | undefined;
73787
74246
  includeDirectories?: boolean | undefined;
74247
+ userIgnorePatterns?: string[] | undefined;
73788
74248
  } | {
73789
74249
  type: "seawork_worktree_list_request";
73790
74250
  requestId: string;
@@ -73833,6 +74293,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
73833
74293
  cwd: string;
73834
74294
  mode: "file" | "list";
73835
74295
  path?: string | undefined;
74296
+ } | {
74297
+ type: "workspace_ignore_get_request";
74298
+ requestId: string;
74299
+ cwd: string;
74300
+ } | {
74301
+ type: "workspace_ignore_set_request";
74302
+ requestId: string;
74303
+ cwd: string;
74304
+ patterns: string[];
74305
+ respectGitignore?: boolean | undefined;
73836
74306
  } | {
73837
74307
  type: "project_icon_request";
73838
74308
  requestId: string;
@@ -85001,6 +85471,84 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
85001
85471
  } | null;
85002
85472
  mode: "file" | "list";
85003
85473
  };
85474
+ }>, z.ZodObject<{
85475
+ type: z.ZodLiteral<"workspace_ignore_get_response">;
85476
+ payload: z.ZodObject<{
85477
+ cwd: z.ZodString;
85478
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
85479
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
85480
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
85481
+ requestId: z.ZodString;
85482
+ }, "strip", z.ZodTypeAny, {
85483
+ error: string | null;
85484
+ requestId: string;
85485
+ cwd: string;
85486
+ patterns: string[];
85487
+ respectGitignore?: boolean | undefined;
85488
+ }, {
85489
+ requestId: string;
85490
+ cwd: string;
85491
+ error?: string | null | undefined;
85492
+ patterns?: string[] | undefined;
85493
+ respectGitignore?: boolean | undefined;
85494
+ }>;
85495
+ }, "strip", z.ZodTypeAny, {
85496
+ type: "workspace_ignore_get_response";
85497
+ payload: {
85498
+ error: string | null;
85499
+ requestId: string;
85500
+ cwd: string;
85501
+ patterns: string[];
85502
+ respectGitignore?: boolean | undefined;
85503
+ };
85504
+ }, {
85505
+ type: "workspace_ignore_get_response";
85506
+ payload: {
85507
+ requestId: string;
85508
+ cwd: string;
85509
+ error?: string | null | undefined;
85510
+ patterns?: string[] | undefined;
85511
+ respectGitignore?: boolean | undefined;
85512
+ };
85513
+ }>, z.ZodObject<{
85514
+ type: z.ZodLiteral<"workspace_ignore_set_response">;
85515
+ payload: z.ZodObject<{
85516
+ cwd: z.ZodString;
85517
+ patterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
85518
+ respectGitignore: z.ZodOptional<z.ZodBoolean>;
85519
+ error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
85520
+ requestId: z.ZodString;
85521
+ }, "strip", z.ZodTypeAny, {
85522
+ error: string | null;
85523
+ requestId: string;
85524
+ cwd: string;
85525
+ patterns: string[];
85526
+ respectGitignore?: boolean | undefined;
85527
+ }, {
85528
+ requestId: string;
85529
+ cwd: string;
85530
+ error?: string | null | undefined;
85531
+ patterns?: string[] | undefined;
85532
+ respectGitignore?: boolean | undefined;
85533
+ }>;
85534
+ }, "strip", z.ZodTypeAny, {
85535
+ type: "workspace_ignore_set_response";
85536
+ payload: {
85537
+ error: string | null;
85538
+ requestId: string;
85539
+ cwd: string;
85540
+ patterns: string[];
85541
+ respectGitignore?: boolean | undefined;
85542
+ };
85543
+ }, {
85544
+ type: "workspace_ignore_set_response";
85545
+ payload: {
85546
+ requestId: string;
85547
+ cwd: string;
85548
+ error?: string | null | undefined;
85549
+ patterns?: string[] | undefined;
85550
+ respectGitignore?: boolean | undefined;
85551
+ };
85004
85552
  }>, z.ZodObject<{
85005
85553
  type: z.ZodLiteral<"project_icon_response">;
85006
85554
  payload: z.ZodObject<{
@@ -93314,6 +93862,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
93314
93862
  } | null;
93315
93863
  mode: "file" | "list";
93316
93864
  };
93865
+ } | {
93866
+ type: "workspace_ignore_get_response";
93867
+ payload: {
93868
+ error: string | null;
93869
+ requestId: string;
93870
+ cwd: string;
93871
+ patterns: string[];
93872
+ respectGitignore?: boolean | undefined;
93873
+ };
93874
+ } | {
93875
+ type: "workspace_ignore_set_response";
93876
+ payload: {
93877
+ error: string | null;
93878
+ requestId: string;
93879
+ cwd: string;
93880
+ patterns: string[];
93881
+ respectGitignore?: boolean | undefined;
93882
+ };
93317
93883
  } | {
93318
93884
  type: "project_icon_response";
93319
93885
  payload: {
@@ -95761,6 +96327,24 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
95761
96327
  } | null;
95762
96328
  mode: "file" | "list";
95763
96329
  };
96330
+ } | {
96331
+ type: "workspace_ignore_get_response";
96332
+ payload: {
96333
+ requestId: string;
96334
+ cwd: string;
96335
+ error?: string | null | undefined;
96336
+ patterns?: string[] | undefined;
96337
+ respectGitignore?: boolean | undefined;
96338
+ };
96339
+ } | {
96340
+ type: "workspace_ignore_set_response";
96341
+ payload: {
96342
+ requestId: string;
96343
+ cwd: string;
96344
+ error?: string | null | undefined;
96345
+ patterns?: string[] | undefined;
96346
+ respectGitignore?: boolean | undefined;
96347
+ };
95764
96348
  } | {
95765
96349
  type: "project_icon_response";
95766
96350
  payload: {