@seawork/server 1.0.17-rc.3 → 1.0.17

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 (48) hide show
  1. package/dist/server/client/daemon-client.d.ts +15 -3
  2. package/dist/server/client/daemon-client.d.ts.map +1 -1
  3. package/dist/server/client/daemon-client.js +24 -1
  4. package/dist/server/client/daemon-client.js.map +1 -1
  5. package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
  6. package/dist/server/server/agent/agent-manager.js +25 -0
  7. package/dist/server/server/agent/agent-manager.js.map +1 -1
  8. package/dist/server/server/agent/providers/claude-agent.d.ts.map +1 -1
  9. package/dist/server/server/agent/providers/claude-agent.js +10 -1
  10. package/dist/server/server/agent/providers/claude-agent.js.map +1 -1
  11. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts +6 -1
  12. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
  13. package/dist/server/server/agent/providers/codex-app-server-agent.js +79 -15
  14. package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
  15. package/dist/server/server/bootstrap.d.ts +5 -5
  16. package/dist/server/server/bootstrap.d.ts.map +1 -1
  17. package/dist/server/server/bootstrap.js +46 -17
  18. package/dist/server/server/bootstrap.js.map +1 -1
  19. package/dist/server/server/session.d.ts +17 -15
  20. package/dist/server/server/session.d.ts.map +1 -1
  21. package/dist/server/server/session.js +155 -35
  22. package/dist/server/server/session.js.map +1 -1
  23. package/dist/server/server/workspace-registry-bootstrap.d.ts.map +1 -1
  24. package/dist/server/server/workspace-registry-bootstrap.js +6 -1
  25. package/dist/server/server/workspace-registry-bootstrap.js.map +1 -1
  26. package/dist/server/server/workspace-registry.d.ts +4 -0
  27. package/dist/server/server/workspace-registry.d.ts.map +1 -1
  28. package/dist/server/server/workspace-registry.js +2 -0
  29. package/dist/server/server/workspace-registry.js.map +1 -1
  30. package/dist/server/server/worktree-session.d.ts +4 -3
  31. package/dist/server/server/worktree-session.d.ts.map +1 -1
  32. package/dist/server/server/worktree-session.js +3 -2
  33. package/dist/server/server/worktree-session.js.map +1 -1
  34. package/dist/server/shared/messages.d.ts +488 -4
  35. package/dist/server/shared/messages.d.ts.map +1 -1
  36. package/dist/server/shared/messages.js +38 -5
  37. package/dist/server/shared/messages.js.map +1 -1
  38. package/dist/server/utils/checkout-git.d.ts.map +1 -1
  39. package/dist/server/utils/checkout-git.js +8 -8
  40. package/dist/server/utils/checkout-git.js.map +1 -1
  41. package/dist/server/utils/executable.d.ts.map +1 -1
  42. package/dist/server/utils/executable.js +56 -9
  43. package/dist/server/utils/executable.js.map +1 -1
  44. package/dist/server/utils/worktree.d.ts +4 -0
  45. package/dist/server/utils/worktree.d.ts.map +1 -1
  46. package/dist/server/utils/worktree.js +45 -6
  47. package/dist/server/utils/worktree.js.map +1 -1
  48. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
- import { ChatCreateRequestSchema, ChatListRequestSchema, ChatInspectRequestSchema, ChatDeleteRequestSchema, ChatPostRequestSchema, ChatReadRequestSchema, ChatWaitRequestSchema, ChatCreateResponseSchema, ChatListResponseSchema, ChatInspectResponseSchema, ChatDeleteResponseSchema, ChatPostResponseSchema, ChatReadResponseSchema, ChatWaitResponseSchema } from "../server/chat/chat-rpc-schemas.js";
3
- import { ScheduleCreateRequestSchema, ScheduleListRequestSchema, ScheduleInspectRequestSchema, ScheduleLogsRequestSchema, SchedulePauseRequestSchema, ScheduleResumeRequestSchema, ScheduleDeleteRequestSchema, ScheduleCreateResponseSchema, ScheduleListResponseSchema, ScheduleInspectResponseSchema, ScheduleLogsResponseSchema, SchedulePauseResponseSchema, ScheduleResumeResponseSchema, ScheduleDeleteResponseSchema } from "../server/schedule/rpc-schemas.js";
4
- import { LoopRunRequestSchema, LoopListRequestSchema, LoopInspectRequestSchema, LoopLogsRequestSchema, LoopStopRequestSchema, LoopRunResponseSchema, LoopListResponseSchema, LoopInspectResponseSchema, LoopLogsResponseSchema, LoopStopResponseSchema } from "../server/loop/rpc-schemas.js";
2
+ import { ChatCreateRequestSchema, ChatCreateResponseSchema, ChatDeleteRequestSchema, ChatDeleteResponseSchema, ChatInspectRequestSchema, ChatInspectResponseSchema, ChatListRequestSchema, ChatListResponseSchema, ChatPostRequestSchema, ChatPostResponseSchema, ChatReadRequestSchema, ChatReadResponseSchema, ChatWaitRequestSchema, ChatWaitResponseSchema } from "../server/chat/chat-rpc-schemas.js";
3
+ import { LoopInspectRequestSchema, LoopInspectResponseSchema, LoopListRequestSchema, LoopListResponseSchema, LoopLogsRequestSchema, LoopLogsResponseSchema, LoopRunRequestSchema, LoopRunResponseSchema, LoopStopRequestSchema, LoopStopResponseSchema } from "../server/loop/rpc-schemas.js";
4
+ import { ScheduleCreateRequestSchema, ScheduleCreateResponseSchema, ScheduleDeleteRequestSchema, ScheduleDeleteResponseSchema, ScheduleInspectRequestSchema, ScheduleInspectResponseSchema, ScheduleListRequestSchema, ScheduleListResponseSchema, ScheduleLogsRequestSchema, ScheduleLogsResponseSchema, SchedulePauseRequestSchema, SchedulePauseResponseSchema, ScheduleResumeRequestSchema, ScheduleResumeResponseSchema } from "../server/schedule/rpc-schemas.js";
5
5
  export declare const MutableDaemonConfigSchema: z.ZodObject<{
6
6
  mcp: z.ZodObject<{
7
7
  injectIntoAgents: z.ZodBoolean;
@@ -54,8 +54,8 @@ export declare const MutableDaemonConfigPatchSchema: z.ZodObject<{
54
54
  }, z.ZodTypeAny, "passthrough">>;
55
55
  export type MutableDaemonConfig = z.infer<typeof MutableDaemonConfigSchema>;
56
56
  export type MutableDaemonConfigPatch = z.infer<typeof MutableDaemonConfigPatchSchema>;
57
+ import type { AgentCapabilityFlags, AgentMode, AgentModelDefinition, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, AgentRuntimeInfo, AgentTimelineItem, AgentUsage, ProviderSnapshotEntry } from "../server/agent/agent-sdk-types.js";
57
58
  import type { LiteralUnion } from "./literal-union.js";
58
- import type { AgentCapabilityFlags, AgentModelDefinition, AgentMode, AgentPermissionRequest, AgentPermissionResponse, AgentPersistenceHandle, ProviderSnapshotEntry, AgentRuntimeInfo, AgentTimelineItem, AgentUsage } from "../server/agent/agent-sdk-types.js";
59
59
  export declare const AgentStatusSchema: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>;
60
60
  export declare const AgentFeatureToggleSchema: z.ZodObject<{
61
61
  type: z.ZodLiteral<"toggle">;
@@ -3312,6 +3312,35 @@ export declare const CreateSeaworkWorktreeRequestSchema: z.ZodObject<{
3312
3312
  cwd: string;
3313
3313
  worktreeSlug?: string | undefined;
3314
3314
  }>;
3315
+ export declare const UpdateProjectSettingsRequestSchema: z.ZodObject<{
3316
+ type: z.ZodLiteral<"update_project_settings_request">;
3317
+ projectId: z.ZodString;
3318
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
3319
+ requestId: z.ZodString;
3320
+ }, "strip", z.ZodTypeAny, {
3321
+ type: "update_project_settings_request";
3322
+ requestId: string;
3323
+ projectId: string;
3324
+ worktreeParentDir: string | null;
3325
+ }, {
3326
+ type: "update_project_settings_request";
3327
+ requestId: string;
3328
+ projectId: string;
3329
+ worktreeParentDir: string | null;
3330
+ }>;
3331
+ export declare const GetProjectSettingsRequestSchema: z.ZodObject<{
3332
+ type: z.ZodLiteral<"get_project_settings_request">;
3333
+ projectId: z.ZodString;
3334
+ requestId: z.ZodString;
3335
+ }, "strip", z.ZodTypeAny, {
3336
+ type: "get_project_settings_request";
3337
+ requestId: string;
3338
+ projectId: string;
3339
+ }, {
3340
+ type: "get_project_settings_request";
3341
+ requestId: string;
3342
+ projectId: string;
3343
+ }>;
3315
3344
  export declare const LEGACY_EDITOR_TARGET_IDS: readonly ["cursor", "vscode", "zed", "finder", "explorer", "file-manager"];
3316
3345
  export declare const KNOWN_EDITOR_TARGET_IDS: readonly ["cursor", "vscode", "zed", "finder", "explorer", "file-manager", "webstorm"];
3317
3346
  export declare const KnownEditorTargetIdSchema: z.ZodEnum<["cursor", "vscode", "zed", "finder", "explorer", "file-manager", "webstorm"]>;
@@ -5428,6 +5457,33 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
5428
5457
  requestId: string;
5429
5458
  cwd: string;
5430
5459
  worktreeSlug?: string | undefined;
5460
+ }>, z.ZodObject<{
5461
+ type: z.ZodLiteral<"update_project_settings_request">;
5462
+ projectId: z.ZodString;
5463
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
5464
+ requestId: z.ZodString;
5465
+ }, "strip", z.ZodTypeAny, {
5466
+ type: "update_project_settings_request";
5467
+ requestId: string;
5468
+ projectId: string;
5469
+ worktreeParentDir: string | null;
5470
+ }, {
5471
+ type: "update_project_settings_request";
5472
+ requestId: string;
5473
+ projectId: string;
5474
+ worktreeParentDir: string | null;
5475
+ }>, z.ZodObject<{
5476
+ type: z.ZodLiteral<"get_project_settings_request">;
5477
+ projectId: z.ZodString;
5478
+ requestId: z.ZodString;
5479
+ }, "strip", z.ZodTypeAny, {
5480
+ type: "get_project_settings_request";
5481
+ requestId: string;
5482
+ projectId: string;
5483
+ }, {
5484
+ type: "get_project_settings_request";
5485
+ requestId: string;
5486
+ projectId: string;
5431
5487
  }>, z.ZodObject<{
5432
5488
  type: z.ZodLiteral<"list_available_editors_request">;
5433
5489
  requestId: z.ZodString;
@@ -19188,6 +19244,76 @@ export declare const CreateSeaworkWorktreeResponseSchema: z.ZodObject<{
19188
19244
  setupTerminalId: string | null;
19189
19245
  };
19190
19246
  }>;
19247
+ export declare const UpdateProjectSettingsResponseSchema: z.ZodObject<{
19248
+ type: z.ZodLiteral<"update_project_settings_response">;
19249
+ payload: z.ZodObject<{
19250
+ projectId: z.ZodString;
19251
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
19252
+ error: z.ZodNullable<z.ZodString>;
19253
+ requestId: z.ZodString;
19254
+ }, "strip", z.ZodTypeAny, {
19255
+ error: string | null;
19256
+ requestId: string;
19257
+ projectId: string;
19258
+ worktreeParentDir: string | null;
19259
+ }, {
19260
+ error: string | null;
19261
+ requestId: string;
19262
+ projectId: string;
19263
+ worktreeParentDir: string | null;
19264
+ }>;
19265
+ }, "strip", z.ZodTypeAny, {
19266
+ type: "update_project_settings_response";
19267
+ payload: {
19268
+ error: string | null;
19269
+ requestId: string;
19270
+ projectId: string;
19271
+ worktreeParentDir: string | null;
19272
+ };
19273
+ }, {
19274
+ type: "update_project_settings_response";
19275
+ payload: {
19276
+ error: string | null;
19277
+ requestId: string;
19278
+ projectId: string;
19279
+ worktreeParentDir: string | null;
19280
+ };
19281
+ }>;
19282
+ export declare const GetProjectSettingsResponseSchema: z.ZodObject<{
19283
+ type: z.ZodLiteral<"get_project_settings_response">;
19284
+ payload: z.ZodObject<{
19285
+ projectId: z.ZodString;
19286
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
19287
+ error: z.ZodNullable<z.ZodString>;
19288
+ requestId: z.ZodString;
19289
+ }, "strip", z.ZodTypeAny, {
19290
+ error: string | null;
19291
+ requestId: string;
19292
+ projectId: string;
19293
+ worktreeParentDir: string | null;
19294
+ }, {
19295
+ error: string | null;
19296
+ requestId: string;
19297
+ projectId: string;
19298
+ worktreeParentDir: string | null;
19299
+ }>;
19300
+ }, "strip", z.ZodTypeAny, {
19301
+ type: "get_project_settings_response";
19302
+ payload: {
19303
+ error: string | null;
19304
+ requestId: string;
19305
+ projectId: string;
19306
+ worktreeParentDir: string | null;
19307
+ };
19308
+ }, {
19309
+ type: "get_project_settings_response";
19310
+ payload: {
19311
+ error: string | null;
19312
+ requestId: string;
19313
+ projectId: string;
19314
+ worktreeParentDir: string | null;
19315
+ };
19316
+ }>;
19191
19317
  export declare const FileExplorerResponseSchema: z.ZodObject<{
19192
19318
  type: z.ZodLiteral<"file_explorer_response">;
19193
19319
  payload: z.ZodObject<{
@@ -29771,6 +29897,74 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<"type
29771
29897
  } | null;
29772
29898
  setupTerminalId: string | null;
29773
29899
  };
29900
+ }>, z.ZodObject<{
29901
+ type: z.ZodLiteral<"update_project_settings_response">;
29902
+ payload: z.ZodObject<{
29903
+ projectId: z.ZodString;
29904
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
29905
+ error: z.ZodNullable<z.ZodString>;
29906
+ requestId: z.ZodString;
29907
+ }, "strip", z.ZodTypeAny, {
29908
+ error: string | null;
29909
+ requestId: string;
29910
+ projectId: string;
29911
+ worktreeParentDir: string | null;
29912
+ }, {
29913
+ error: string | null;
29914
+ requestId: string;
29915
+ projectId: string;
29916
+ worktreeParentDir: string | null;
29917
+ }>;
29918
+ }, "strip", z.ZodTypeAny, {
29919
+ type: "update_project_settings_response";
29920
+ payload: {
29921
+ error: string | null;
29922
+ requestId: string;
29923
+ projectId: string;
29924
+ worktreeParentDir: string | null;
29925
+ };
29926
+ }, {
29927
+ type: "update_project_settings_response";
29928
+ payload: {
29929
+ error: string | null;
29930
+ requestId: string;
29931
+ projectId: string;
29932
+ worktreeParentDir: string | null;
29933
+ };
29934
+ }>, z.ZodObject<{
29935
+ type: z.ZodLiteral<"get_project_settings_response">;
29936
+ payload: z.ZodObject<{
29937
+ projectId: z.ZodString;
29938
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
29939
+ error: z.ZodNullable<z.ZodString>;
29940
+ requestId: z.ZodString;
29941
+ }, "strip", z.ZodTypeAny, {
29942
+ error: string | null;
29943
+ requestId: string;
29944
+ projectId: string;
29945
+ worktreeParentDir: string | null;
29946
+ }, {
29947
+ error: string | null;
29948
+ requestId: string;
29949
+ projectId: string;
29950
+ worktreeParentDir: string | null;
29951
+ }>;
29952
+ }, "strip", z.ZodTypeAny, {
29953
+ type: "get_project_settings_response";
29954
+ payload: {
29955
+ error: string | null;
29956
+ requestId: string;
29957
+ projectId: string;
29958
+ worktreeParentDir: string | null;
29959
+ };
29960
+ }, {
29961
+ type: "get_project_settings_response";
29962
+ payload: {
29963
+ error: string | null;
29964
+ requestId: string;
29965
+ projectId: string;
29966
+ worktreeParentDir: string | null;
29967
+ };
29774
29968
  }>, z.ZodObject<{
29775
29969
  type: z.ZodLiteral<"file_explorer_response">;
29776
29970
  payload: z.ZodObject<{
@@ -38743,6 +38937,33 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
38743
38937
  requestId: string;
38744
38938
  cwd: string;
38745
38939
  worktreeSlug?: string | undefined;
38940
+ }>, z.ZodObject<{
38941
+ type: z.ZodLiteral<"update_project_settings_request">;
38942
+ projectId: z.ZodString;
38943
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
38944
+ requestId: z.ZodString;
38945
+ }, "strip", z.ZodTypeAny, {
38946
+ type: "update_project_settings_request";
38947
+ requestId: string;
38948
+ projectId: string;
38949
+ worktreeParentDir: string | null;
38950
+ }, {
38951
+ type: "update_project_settings_request";
38952
+ requestId: string;
38953
+ projectId: string;
38954
+ worktreeParentDir: string | null;
38955
+ }>, z.ZodObject<{
38956
+ type: z.ZodLiteral<"get_project_settings_request">;
38957
+ projectId: z.ZodString;
38958
+ requestId: z.ZodString;
38959
+ }, "strip", z.ZodTypeAny, {
38960
+ type: "get_project_settings_request";
38961
+ requestId: string;
38962
+ projectId: string;
38963
+ }, {
38964
+ type: "get_project_settings_request";
38965
+ requestId: string;
38966
+ projectId: string;
38746
38967
  }>, z.ZodObject<{
38747
38968
  type: z.ZodLiteral<"list_available_editors_request">;
38748
38969
  requestId: z.ZodString;
@@ -40284,6 +40505,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
40284
40505
  requestId: string;
40285
40506
  cwd: string;
40286
40507
  worktreeSlug?: string | undefined;
40508
+ } | {
40509
+ type: "update_project_settings_request";
40510
+ requestId: string;
40511
+ projectId: string;
40512
+ worktreeParentDir: string | null;
40513
+ } | {
40514
+ type: "get_project_settings_request";
40515
+ requestId: string;
40516
+ projectId: string;
40287
40517
  } | {
40288
40518
  type: "list_available_editors_request";
40289
40519
  requestId: string;
@@ -41034,6 +41264,15 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
41034
41264
  requestId: string;
41035
41265
  cwd: string;
41036
41266
  worktreeSlug?: string | undefined;
41267
+ } | {
41268
+ type: "update_project_settings_request";
41269
+ requestId: string;
41270
+ projectId: string;
41271
+ worktreeParentDir: string | null;
41272
+ } | {
41273
+ type: "get_project_settings_request";
41274
+ requestId: string;
41275
+ projectId: string;
41037
41276
  } | {
41038
41277
  type: "list_available_editors_request";
41039
41278
  requestId: string;
@@ -50351,6 +50590,74 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
50351
50590
  } | null;
50352
50591
  setupTerminalId: string | null;
50353
50592
  };
50593
+ }>, z.ZodObject<{
50594
+ type: z.ZodLiteral<"update_project_settings_response">;
50595
+ payload: z.ZodObject<{
50596
+ projectId: z.ZodString;
50597
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
50598
+ error: z.ZodNullable<z.ZodString>;
50599
+ requestId: z.ZodString;
50600
+ }, "strip", z.ZodTypeAny, {
50601
+ error: string | null;
50602
+ requestId: string;
50603
+ projectId: string;
50604
+ worktreeParentDir: string | null;
50605
+ }, {
50606
+ error: string | null;
50607
+ requestId: string;
50608
+ projectId: string;
50609
+ worktreeParentDir: string | null;
50610
+ }>;
50611
+ }, "strip", z.ZodTypeAny, {
50612
+ type: "update_project_settings_response";
50613
+ payload: {
50614
+ error: string | null;
50615
+ requestId: string;
50616
+ projectId: string;
50617
+ worktreeParentDir: string | null;
50618
+ };
50619
+ }, {
50620
+ type: "update_project_settings_response";
50621
+ payload: {
50622
+ error: string | null;
50623
+ requestId: string;
50624
+ projectId: string;
50625
+ worktreeParentDir: string | null;
50626
+ };
50627
+ }>, z.ZodObject<{
50628
+ type: z.ZodLiteral<"get_project_settings_response">;
50629
+ payload: z.ZodObject<{
50630
+ projectId: z.ZodString;
50631
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
50632
+ error: z.ZodNullable<z.ZodString>;
50633
+ requestId: z.ZodString;
50634
+ }, "strip", z.ZodTypeAny, {
50635
+ error: string | null;
50636
+ requestId: string;
50637
+ projectId: string;
50638
+ worktreeParentDir: string | null;
50639
+ }, {
50640
+ error: string | null;
50641
+ requestId: string;
50642
+ projectId: string;
50643
+ worktreeParentDir: string | null;
50644
+ }>;
50645
+ }, "strip", z.ZodTypeAny, {
50646
+ type: "get_project_settings_response";
50647
+ payload: {
50648
+ error: string | null;
50649
+ requestId: string;
50650
+ projectId: string;
50651
+ worktreeParentDir: string | null;
50652
+ };
50653
+ }, {
50654
+ type: "get_project_settings_response";
50655
+ payload: {
50656
+ error: string | null;
50657
+ requestId: string;
50658
+ projectId: string;
50659
+ worktreeParentDir: string | null;
50660
+ };
50354
50661
  }>, z.ZodObject<{
50355
50662
  type: z.ZodLiteral<"file_explorer_response">;
50356
50663
  payload: z.ZodObject<{
@@ -58695,6 +59002,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
58695
59002
  } | null;
58696
59003
  setupTerminalId: string | null;
58697
59004
  };
59005
+ } | {
59006
+ type: "update_project_settings_response";
59007
+ payload: {
59008
+ error: string | null;
59009
+ requestId: string;
59010
+ projectId: string;
59011
+ worktreeParentDir: string | null;
59012
+ };
59013
+ } | {
59014
+ type: "get_project_settings_response";
59015
+ payload: {
59016
+ error: string | null;
59017
+ requestId: string;
59018
+ projectId: string;
59019
+ worktreeParentDir: string | null;
59020
+ };
58698
59021
  } | {
58699
59022
  type: "file_explorer_response";
58700
59023
  payload: {
@@ -61021,6 +61344,22 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
61021
61344
  } | null;
61022
61345
  setupTerminalId: string | null;
61023
61346
  };
61347
+ } | {
61348
+ type: "update_project_settings_response";
61349
+ payload: {
61350
+ error: string | null;
61351
+ requestId: string;
61352
+ projectId: string;
61353
+ worktreeParentDir: string | null;
61354
+ };
61355
+ } | {
61356
+ type: "get_project_settings_response";
61357
+ payload: {
61358
+ error: string | null;
61359
+ requestId: string;
61360
+ projectId: string;
61361
+ worktreeParentDir: string | null;
61362
+ };
61024
61363
  } | {
61025
61364
  type: "file_explorer_response";
61026
61365
  payload: {
@@ -63751,6 +64090,33 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
63751
64090
  requestId: string;
63752
64091
  cwd: string;
63753
64092
  worktreeSlug?: string | undefined;
64093
+ }>, z.ZodObject<{
64094
+ type: z.ZodLiteral<"update_project_settings_request">;
64095
+ projectId: z.ZodString;
64096
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
64097
+ requestId: z.ZodString;
64098
+ }, "strip", z.ZodTypeAny, {
64099
+ type: "update_project_settings_request";
64100
+ requestId: string;
64101
+ projectId: string;
64102
+ worktreeParentDir: string | null;
64103
+ }, {
64104
+ type: "update_project_settings_request";
64105
+ requestId: string;
64106
+ projectId: string;
64107
+ worktreeParentDir: string | null;
64108
+ }>, z.ZodObject<{
64109
+ type: z.ZodLiteral<"get_project_settings_request">;
64110
+ projectId: z.ZodString;
64111
+ requestId: z.ZodString;
64112
+ }, "strip", z.ZodTypeAny, {
64113
+ type: "get_project_settings_request";
64114
+ requestId: string;
64115
+ projectId: string;
64116
+ }, {
64117
+ type: "get_project_settings_request";
64118
+ requestId: string;
64119
+ projectId: string;
63754
64120
  }>, z.ZodObject<{
63755
64121
  type: z.ZodLiteral<"list_available_editors_request">;
63756
64122
  requestId: z.ZodString;
@@ -65292,6 +65658,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
65292
65658
  requestId: string;
65293
65659
  cwd: string;
65294
65660
  worktreeSlug?: string | undefined;
65661
+ } | {
65662
+ type: "update_project_settings_request";
65663
+ requestId: string;
65664
+ projectId: string;
65665
+ worktreeParentDir: string | null;
65666
+ } | {
65667
+ type: "get_project_settings_request";
65668
+ requestId: string;
65669
+ projectId: string;
65295
65670
  } | {
65296
65671
  type: "list_available_editors_request";
65297
65672
  requestId: string;
@@ -66042,6 +66417,15 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
66042
66417
  requestId: string;
66043
66418
  cwd: string;
66044
66419
  worktreeSlug?: string | undefined;
66420
+ } | {
66421
+ type: "update_project_settings_request";
66422
+ requestId: string;
66423
+ projectId: string;
66424
+ worktreeParentDir: string | null;
66425
+ } | {
66426
+ type: "get_project_settings_request";
66427
+ requestId: string;
66428
+ projectId: string;
66045
66429
  } | {
66046
66430
  type: "list_available_editors_request";
66047
66431
  requestId: string;
@@ -75365,6 +75749,74 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
75365
75749
  } | null;
75366
75750
  setupTerminalId: string | null;
75367
75751
  };
75752
+ }>, z.ZodObject<{
75753
+ type: z.ZodLiteral<"update_project_settings_response">;
75754
+ payload: z.ZodObject<{
75755
+ projectId: z.ZodString;
75756
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
75757
+ error: z.ZodNullable<z.ZodString>;
75758
+ requestId: z.ZodString;
75759
+ }, "strip", z.ZodTypeAny, {
75760
+ error: string | null;
75761
+ requestId: string;
75762
+ projectId: string;
75763
+ worktreeParentDir: string | null;
75764
+ }, {
75765
+ error: string | null;
75766
+ requestId: string;
75767
+ projectId: string;
75768
+ worktreeParentDir: string | null;
75769
+ }>;
75770
+ }, "strip", z.ZodTypeAny, {
75771
+ type: "update_project_settings_response";
75772
+ payload: {
75773
+ error: string | null;
75774
+ requestId: string;
75775
+ projectId: string;
75776
+ worktreeParentDir: string | null;
75777
+ };
75778
+ }, {
75779
+ type: "update_project_settings_response";
75780
+ payload: {
75781
+ error: string | null;
75782
+ requestId: string;
75783
+ projectId: string;
75784
+ worktreeParentDir: string | null;
75785
+ };
75786
+ }>, z.ZodObject<{
75787
+ type: z.ZodLiteral<"get_project_settings_response">;
75788
+ payload: z.ZodObject<{
75789
+ projectId: z.ZodString;
75790
+ worktreeParentDir: z.ZodNullable<z.ZodString>;
75791
+ error: z.ZodNullable<z.ZodString>;
75792
+ requestId: z.ZodString;
75793
+ }, "strip", z.ZodTypeAny, {
75794
+ error: string | null;
75795
+ requestId: string;
75796
+ projectId: string;
75797
+ worktreeParentDir: string | null;
75798
+ }, {
75799
+ error: string | null;
75800
+ requestId: string;
75801
+ projectId: string;
75802
+ worktreeParentDir: string | null;
75803
+ }>;
75804
+ }, "strip", z.ZodTypeAny, {
75805
+ type: "get_project_settings_response";
75806
+ payload: {
75807
+ error: string | null;
75808
+ requestId: string;
75809
+ projectId: string;
75810
+ worktreeParentDir: string | null;
75811
+ };
75812
+ }, {
75813
+ type: "get_project_settings_response";
75814
+ payload: {
75815
+ error: string | null;
75816
+ requestId: string;
75817
+ projectId: string;
75818
+ worktreeParentDir: string | null;
75819
+ };
75368
75820
  }>, z.ZodObject<{
75369
75821
  type: z.ZodLiteral<"file_explorer_response">;
75370
75822
  payload: z.ZodObject<{
@@ -83709,6 +84161,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
83709
84161
  } | null;
83710
84162
  setupTerminalId: string | null;
83711
84163
  };
84164
+ } | {
84165
+ type: "update_project_settings_response";
84166
+ payload: {
84167
+ error: string | null;
84168
+ requestId: string;
84169
+ projectId: string;
84170
+ worktreeParentDir: string | null;
84171
+ };
84172
+ } | {
84173
+ type: "get_project_settings_response";
84174
+ payload: {
84175
+ error: string | null;
84176
+ requestId: string;
84177
+ projectId: string;
84178
+ worktreeParentDir: string | null;
84179
+ };
83712
84180
  } | {
83713
84181
  type: "file_explorer_response";
83714
84182
  payload: {
@@ -86035,6 +86503,22 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
86035
86503
  } | null;
86036
86504
  setupTerminalId: string | null;
86037
86505
  };
86506
+ } | {
86507
+ type: "update_project_settings_response";
86508
+ payload: {
86509
+ error: string | null;
86510
+ requestId: string;
86511
+ projectId: string;
86512
+ worktreeParentDir: string | null;
86513
+ };
86514
+ } | {
86515
+ type: "get_project_settings_response";
86516
+ payload: {
86517
+ error: string | null;
86518
+ requestId: string;
86519
+ projectId: string;
86520
+ worktreeParentDir: string | null;
86521
+ };
86038
86522
  } | {
86039
86523
  type: "file_explorer_response";
86040
86524
  payload: {