@otto-code/protocol 0.5.5 → 0.5.6

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.
@@ -636,6 +636,26 @@ export declare const ProjectRemoveRequestSchema: z.ZodObject<{
636
636
  projectId: z.ZodString;
637
637
  requestId: z.ZodString;
638
638
  }, z.core.$strip>;
639
+ export declare const ProjectLinkSchema: z.ZodObject<{
640
+ projectAId: z.ZodString;
641
+ projectBId: z.ZodString;
642
+ }, z.core.$strip>;
643
+ export declare const ProjectLinksListRequestSchema: z.ZodObject<{
644
+ type: z.ZodLiteral<"project.links.list.request">;
645
+ requestId: z.ZodString;
646
+ }, z.core.$strip>;
647
+ export declare const ProjectLinksSetRequestSchema: z.ZodObject<{
648
+ type: z.ZodLiteral<"project.links.set.request">;
649
+ projectId: z.ZodString;
650
+ otherProjectId: z.ZodString;
651
+ requestId: z.ZodString;
652
+ }, z.core.$strip>;
653
+ export declare const ProjectLinksUnsetRequestSchema: z.ZodObject<{
654
+ type: z.ZodLiteral<"project.links.unset.request">;
655
+ projectId: z.ZodString;
656
+ otherProjectId: z.ZodString;
657
+ requestId: z.ZodString;
658
+ }, z.core.$strip>;
639
659
  export declare const WorkspaceTitleSetRequestSchema: z.ZodObject<{
640
660
  type: z.ZodLiteral<"workspace.title.set.request">;
641
661
  workspaceId: z.ZodString;
@@ -1999,6 +2019,89 @@ export declare const AgentBackgroundTaskClearResponseMessageSchema: z.ZodObject<
1999
2019
  notice: z.ZodOptional<z.ZodNullable<z.ZodType<AgentProviderNotice, unknown, z.core.$ZodTypeInternals<AgentProviderNotice, unknown>>>>;
2000
2020
  }, z.core.$strip>;
2001
2021
  }, z.core.$strip>;
2022
+ export declare const SuggestedTaskStateSchema: z.ZodEnum<{
2023
+ pending: "pending";
2024
+ dismissed: "dismissed";
2025
+ started: "started";
2026
+ }>;
2027
+ export declare const SuggestedTaskInfoSchema: z.ZodObject<{
2028
+ taskId: z.ZodString;
2029
+ parentAgentId: z.ZodString;
2030
+ title: z.ZodString;
2031
+ tldr: z.ZodString;
2032
+ cwd: z.ZodOptional<z.ZodString>;
2033
+ state: z.ZodEnum<{
2034
+ pending: "pending";
2035
+ dismissed: "dismissed";
2036
+ started: "started";
2037
+ }>;
2038
+ createdAt: z.ZodString;
2039
+ updatedAt: z.ZodString;
2040
+ }, z.core.$strip>;
2041
+ export declare const SuggestedTasksChangedSchema: z.ZodObject<{
2042
+ type: z.ZodLiteral<"suggested_tasks_changed">;
2043
+ payload: z.ZodObject<{
2044
+ parentAgentId: z.ZodString;
2045
+ tasks: z.ZodArray<z.ZodObject<{
2046
+ taskId: z.ZodString;
2047
+ parentAgentId: z.ZodString;
2048
+ title: z.ZodString;
2049
+ tldr: z.ZodString;
2050
+ cwd: z.ZodOptional<z.ZodString>;
2051
+ state: z.ZodEnum<{
2052
+ pending: "pending";
2053
+ dismissed: "dismissed";
2054
+ started: "started";
2055
+ }>;
2056
+ createdAt: z.ZodString;
2057
+ updatedAt: z.ZodString;
2058
+ }, z.core.$strip>>;
2059
+ }, z.core.$strip>;
2060
+ }, z.core.$strip>;
2061
+ export declare const TasksSuggestedStartModeSchema: z.ZodEnum<{
2062
+ worktree: "worktree";
2063
+ local: "local";
2064
+ in_session: "in_session";
2065
+ }>;
2066
+ export declare const TasksSuggestedStartRequestMessageSchema: z.ZodObject<{
2067
+ type: z.ZodLiteral<"tasks.suggested.start.request">;
2068
+ parentAgentId: z.ZodString;
2069
+ taskIds: z.ZodArray<z.ZodString>;
2070
+ mode: z.ZodEnum<{
2071
+ worktree: "worktree";
2072
+ local: "local";
2073
+ in_session: "in_session";
2074
+ }>;
2075
+ requestId: z.ZodString;
2076
+ }, z.core.$strip>;
2077
+ export declare const TasksSuggestedStartResponseMessageSchema: z.ZodObject<{
2078
+ type: z.ZodLiteral<"tasks.suggested.start.response">;
2079
+ payload: z.ZodObject<{
2080
+ requestId: z.ZodString;
2081
+ parentAgentId: z.ZodString;
2082
+ accepted: z.ZodBoolean;
2083
+ succeeded: z.ZodNumber;
2084
+ failed: z.ZodNumber;
2085
+ error: z.ZodNullable<z.ZodString>;
2086
+ }, z.core.$strip>;
2087
+ }, z.core.$strip>;
2088
+ export declare const TasksSuggestedDismissRequestMessageSchema: z.ZodObject<{
2089
+ type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
2090
+ parentAgentId: z.ZodString;
2091
+ taskIds: z.ZodArray<z.ZodString>;
2092
+ requestId: z.ZodString;
2093
+ }, z.core.$strip>;
2094
+ export declare const TasksSuggestedDismissResponseMessageSchema: z.ZodObject<{
2095
+ type: z.ZodLiteral<"tasks.suggested.dismiss.response">;
2096
+ payload: z.ZodObject<{
2097
+ requestId: z.ZodString;
2098
+ parentAgentId: z.ZodString;
2099
+ accepted: z.ZodBoolean;
2100
+ succeeded: z.ZodNumber;
2101
+ failed: z.ZodNumber;
2102
+ error: z.ZodNullable<z.ZodString>;
2103
+ }, z.core.$strip>;
2104
+ }, z.core.$strip>;
2002
2105
  export declare const AgentPersonalitySetRequestMessageSchema: z.ZodObject<{
2003
2106
  type: z.ZodLiteral<"agent.personality.set.request">;
2004
2107
  agentId: z.ZodString;
@@ -2084,6 +2187,73 @@ export declare const ProjectRemoveResponseSchema: z.ZodObject<{
2084
2187
  error: z.ZodNullable<z.ZodString>;
2085
2188
  }, z.core.$strip>;
2086
2189
  }, z.core.$strip>;
2190
+ export declare const ProjectLinksListResponsePayloadSchema: z.ZodObject<{
2191
+ requestId: z.ZodString;
2192
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2193
+ projectAId: z.ZodString;
2194
+ projectBId: z.ZodString;
2195
+ }, z.core.$strip>>>;
2196
+ error: z.ZodNullable<z.ZodString>;
2197
+ }, z.core.$strip>;
2198
+ export declare const ProjectLinksListResponseSchema: z.ZodObject<{
2199
+ type: z.ZodLiteral<"project.links.list.response">;
2200
+ payload: z.ZodObject<{
2201
+ requestId: z.ZodString;
2202
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2203
+ projectAId: z.ZodString;
2204
+ projectBId: z.ZodString;
2205
+ }, z.core.$strip>>>;
2206
+ error: z.ZodNullable<z.ZodString>;
2207
+ }, z.core.$strip>;
2208
+ }, z.core.$strip>;
2209
+ export declare const ProjectLinksMutationResponsePayloadSchema: z.ZodObject<{
2210
+ requestId: z.ZodString;
2211
+ accepted: z.ZodBoolean;
2212
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2213
+ projectAId: z.ZodString;
2214
+ projectBId: z.ZodString;
2215
+ }, z.core.$strip>>>;
2216
+ error: z.ZodNullable<z.ZodString>;
2217
+ }, z.core.$strip>;
2218
+ export declare const ProjectLinksSetResponseSchema: z.ZodObject<{
2219
+ type: z.ZodLiteral<"project.links.set.response">;
2220
+ payload: z.ZodObject<{
2221
+ requestId: z.ZodString;
2222
+ accepted: z.ZodBoolean;
2223
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2224
+ projectAId: z.ZodString;
2225
+ projectBId: z.ZodString;
2226
+ }, z.core.$strip>>>;
2227
+ error: z.ZodNullable<z.ZodString>;
2228
+ }, z.core.$strip>;
2229
+ }, z.core.$strip>;
2230
+ export declare const ProjectLinksUnsetResponseSchema: z.ZodObject<{
2231
+ type: z.ZodLiteral<"project.links.unset.response">;
2232
+ payload: z.ZodObject<{
2233
+ requestId: z.ZodString;
2234
+ accepted: z.ZodBoolean;
2235
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2236
+ projectAId: z.ZodString;
2237
+ projectBId: z.ZodString;
2238
+ }, z.core.$strip>>>;
2239
+ error: z.ZodNullable<z.ZodString>;
2240
+ }, z.core.$strip>;
2241
+ }, z.core.$strip>;
2242
+ export declare const ProjectLinksChangedPayloadSchema: z.ZodObject<{
2243
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2244
+ projectAId: z.ZodString;
2245
+ projectBId: z.ZodString;
2246
+ }, z.core.$strip>>>;
2247
+ }, z.core.$strip>;
2248
+ export declare const ProjectLinksChangedSchema: z.ZodObject<{
2249
+ type: z.ZodLiteral<"project.links.changed">;
2250
+ payload: z.ZodObject<{
2251
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
2252
+ projectAId: z.ZodString;
2253
+ projectBId: z.ZodString;
2254
+ }, z.core.$strip>>>;
2255
+ }, z.core.$strip>;
2256
+ }, z.core.$strip>;
2087
2257
  export declare const WorkspaceTitleSetResponsePayloadSchema: z.ZodObject<{
2088
2258
  requestId: z.ZodString;
2089
2259
  workspaceId: z.ZodString;
@@ -2383,6 +2553,7 @@ export declare const CheckoutGitRollbackRequestSchema: z.ZodObject<{
2383
2553
  type: z.ZodLiteral<"checkout.git.rollback.request">;
2384
2554
  cwd: z.ZodString;
2385
2555
  paths: z.ZodArray<z.ZodString>;
2556
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
2386
2557
  requestId: z.ZodString;
2387
2558
  }, z.core.$strip>;
2388
2559
  export declare const CheckoutMergeRequestSchema: z.ZodObject<{
@@ -3663,6 +3834,19 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3663
3834
  type: z.ZodLiteral<"project.remove.request">;
3664
3835
  projectId: z.ZodString;
3665
3836
  requestId: z.ZodString;
3837
+ }, z.core.$strip>, z.ZodObject<{
3838
+ type: z.ZodLiteral<"project.links.list.request">;
3839
+ requestId: z.ZodString;
3840
+ }, z.core.$strip>, z.ZodObject<{
3841
+ type: z.ZodLiteral<"project.links.set.request">;
3842
+ projectId: z.ZodString;
3843
+ otherProjectId: z.ZodString;
3844
+ requestId: z.ZodString;
3845
+ }, z.core.$strip>, z.ZodObject<{
3846
+ type: z.ZodLiteral<"project.links.unset.request">;
3847
+ projectId: z.ZodString;
3848
+ otherProjectId: z.ZodString;
3849
+ requestId: z.ZodString;
3666
3850
  }, z.core.$strip>, z.ZodObject<{
3667
3851
  type: z.ZodLiteral<"workspace.title.set.request">;
3668
3852
  workspaceId: z.ZodString;
@@ -4295,6 +4479,21 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4295
4479
  parentAgentId: z.ZodString;
4296
4480
  taskIds: z.ZodArray<z.ZodString>;
4297
4481
  requestId: z.ZodString;
4482
+ }, z.core.$strip>, z.ZodObject<{
4483
+ type: z.ZodLiteral<"tasks.suggested.start.request">;
4484
+ parentAgentId: z.ZodString;
4485
+ taskIds: z.ZodArray<z.ZodString>;
4486
+ mode: z.ZodEnum<{
4487
+ worktree: "worktree";
4488
+ local: "local";
4489
+ in_session: "in_session";
4490
+ }>;
4491
+ requestId: z.ZodString;
4492
+ }, z.core.$strip>, z.ZodObject<{
4493
+ type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
4494
+ parentAgentId: z.ZodString;
4495
+ taskIds: z.ZodArray<z.ZodString>;
4496
+ requestId: z.ZodString;
4298
4497
  }, z.core.$strip>, z.ZodObject<{
4299
4498
  type: z.ZodLiteral<"agent.personality.set.request">;
4300
4499
  agentId: z.ZodString;
@@ -4356,6 +4555,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
4356
4555
  type: z.ZodLiteral<"checkout.git.rollback.request">;
4357
4556
  cwd: z.ZodString;
4358
4557
  paths: z.ZodArray<z.ZodString>;
4558
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
4359
4559
  requestId: z.ZodString;
4360
4560
  }, z.core.$strip>, z.ZodObject<{
4361
4561
  type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
@@ -5467,6 +5667,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5467
5667
  artifacts: z.ZodOptional<z.ZodBoolean>;
5468
5668
  observedSubagents: z.ZodOptional<z.ZodBoolean>;
5469
5669
  backgroundShellTasks: z.ZodOptional<z.ZodBoolean>;
5670
+ suggestedTasks: z.ZodOptional<z.ZodBoolean>;
5470
5671
  textEditor: z.ZodOptional<z.ZodBoolean>;
5471
5672
  projectSearch: z.ZodOptional<z.ZodBoolean>;
5472
5673
  codeIndex: z.ZodOptional<z.ZodBoolean>;
@@ -5485,6 +5686,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5485
5686
  agentOrchestration: z.ZodOptional<z.ZodBoolean>;
5486
5687
  activityStats: z.ZodOptional<z.ZodBoolean>;
5487
5688
  runsClear: z.ZodOptional<z.ZodBoolean>;
5689
+ projectLinks: z.ZodOptional<z.ZodBoolean>;
5488
5690
  }, z.core.$strip>>;
5489
5691
  }, z.core.$loose>, z.ZodTransform<{
5490
5692
  hostname: string | null;
@@ -5526,6 +5728,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5526
5728
  artifacts?: boolean | undefined;
5527
5729
  observedSubagents?: boolean | undefined;
5528
5730
  backgroundShellTasks?: boolean | undefined;
5731
+ suggestedTasks?: boolean | undefined;
5529
5732
  textEditor?: boolean | undefined;
5530
5733
  projectSearch?: boolean | undefined;
5531
5734
  codeIndex?: boolean | undefined;
@@ -5544,6 +5747,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5544
5747
  agentOrchestration?: boolean | undefined;
5545
5748
  activityStats?: boolean | undefined;
5546
5749
  runsClear?: boolean | undefined;
5750
+ projectLinks?: boolean | undefined;
5547
5751
  } | undefined;
5548
5752
  }, {
5549
5753
  [x: string]: unknown;
@@ -5586,6 +5790,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5586
5790
  artifacts?: boolean | undefined;
5587
5791
  observedSubagents?: boolean | undefined;
5588
5792
  backgroundShellTasks?: boolean | undefined;
5793
+ suggestedTasks?: boolean | undefined;
5589
5794
  textEditor?: boolean | undefined;
5590
5795
  projectSearch?: boolean | undefined;
5591
5796
  codeIndex?: boolean | undefined;
@@ -5604,6 +5809,7 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
5604
5809
  agentOrchestration?: boolean | undefined;
5605
5810
  activityStats?: boolean | undefined;
5606
5811
  runsClear?: boolean | undefined;
5812
+ projectLinks?: boolean | undefined;
5607
5813
  } | undefined;
5608
5814
  }>>;
5609
5815
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -11166,6 +11372,12 @@ export declare const CheckoutGitRollbackErrorSchema: z.ZodDiscriminatedUnion<[z.
11166
11372
  }, z.core.$strip>, z.ZodObject<{
11167
11373
  kind: z.ZodLiteral<"git_failed">;
11168
11374
  detail: z.ZodString;
11375
+ }, z.core.$strip>, z.ZodObject<{
11376
+ kind: z.ZodLiteral<"agents_running">;
11377
+ agents: z.ZodArray<z.ZodObject<{
11378
+ id: z.ZodString;
11379
+ title: z.ZodNullable<z.ZodString>;
11380
+ }, z.core.$strip>>;
11169
11381
  }, z.core.$strip>], "kind">;
11170
11382
  export declare const CheckoutGitRollbackResponseSchema: z.ZodObject<{
11171
11383
  type: z.ZodLiteral<"checkout.git.rollback.response">;
@@ -11178,6 +11390,12 @@ export declare const CheckoutGitRollbackResponseSchema: z.ZodObject<{
11178
11390
  }, z.core.$strip>, z.ZodObject<{
11179
11391
  kind: z.ZodLiteral<"git_failed">;
11180
11392
  detail: z.ZodString;
11393
+ }, z.core.$strip>, z.ZodObject<{
11394
+ kind: z.ZodLiteral<"agents_running">;
11395
+ agents: z.ZodArray<z.ZodObject<{
11396
+ id: z.ZodString;
11397
+ title: z.ZodNullable<z.ZodString>;
11398
+ }, z.core.$strip>>;
11181
11399
  }, z.core.$strip>], "kind">>;
11182
11400
  requestId: z.ZodString;
11183
11401
  }, z.core.$strip>;
@@ -17081,6 +17299,45 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17081
17299
  archivedAt: z.ZodOptional<z.ZodString>;
17082
17300
  }, z.core.$strip>>;
17083
17301
  }, z.core.$strip>;
17302
+ }, z.core.$strip>, z.ZodObject<{
17303
+ type: z.ZodLiteral<"tasks.suggested.start.response">;
17304
+ payload: z.ZodObject<{
17305
+ requestId: z.ZodString;
17306
+ parentAgentId: z.ZodString;
17307
+ accepted: z.ZodBoolean;
17308
+ succeeded: z.ZodNumber;
17309
+ failed: z.ZodNumber;
17310
+ error: z.ZodNullable<z.ZodString>;
17311
+ }, z.core.$strip>;
17312
+ }, z.core.$strip>, z.ZodObject<{
17313
+ type: z.ZodLiteral<"tasks.suggested.dismiss.response">;
17314
+ payload: z.ZodObject<{
17315
+ requestId: z.ZodString;
17316
+ parentAgentId: z.ZodString;
17317
+ accepted: z.ZodBoolean;
17318
+ succeeded: z.ZodNumber;
17319
+ failed: z.ZodNumber;
17320
+ error: z.ZodNullable<z.ZodString>;
17321
+ }, z.core.$strip>;
17322
+ }, z.core.$strip>, z.ZodObject<{
17323
+ type: z.ZodLiteral<"suggested_tasks_changed">;
17324
+ payload: z.ZodObject<{
17325
+ parentAgentId: z.ZodString;
17326
+ tasks: z.ZodArray<z.ZodObject<{
17327
+ taskId: z.ZodString;
17328
+ parentAgentId: z.ZodString;
17329
+ title: z.ZodString;
17330
+ tldr: z.ZodString;
17331
+ cwd: z.ZodOptional<z.ZodString>;
17332
+ state: z.ZodEnum<{
17333
+ pending: "pending";
17334
+ dismissed: "dismissed";
17335
+ started: "started";
17336
+ }>;
17337
+ createdAt: z.ZodString;
17338
+ updatedAt: z.ZodString;
17339
+ }, z.core.$strip>>;
17340
+ }, z.core.$strip>;
17084
17341
  }, z.core.$strip>, z.ZodObject<{
17085
17342
  type: z.ZodLiteral<"agent.personality.set.response">;
17086
17343
  payload: z.ZodObject<{
@@ -17125,6 +17382,46 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17125
17382
  removedWorkspaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
17126
17383
  error: z.ZodNullable<z.ZodString>;
17127
17384
  }, z.core.$strip>;
17385
+ }, z.core.$strip>, z.ZodObject<{
17386
+ type: z.ZodLiteral<"project.links.list.response">;
17387
+ payload: z.ZodObject<{
17388
+ requestId: z.ZodString;
17389
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
17390
+ projectAId: z.ZodString;
17391
+ projectBId: z.ZodString;
17392
+ }, z.core.$strip>>>;
17393
+ error: z.ZodNullable<z.ZodString>;
17394
+ }, z.core.$strip>;
17395
+ }, z.core.$strip>, z.ZodObject<{
17396
+ type: z.ZodLiteral<"project.links.set.response">;
17397
+ payload: z.ZodObject<{
17398
+ requestId: z.ZodString;
17399
+ accepted: z.ZodBoolean;
17400
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
17401
+ projectAId: z.ZodString;
17402
+ projectBId: z.ZodString;
17403
+ }, z.core.$strip>>>;
17404
+ error: z.ZodNullable<z.ZodString>;
17405
+ }, z.core.$strip>;
17406
+ }, z.core.$strip>, z.ZodObject<{
17407
+ type: z.ZodLiteral<"project.links.unset.response">;
17408
+ payload: z.ZodObject<{
17409
+ requestId: z.ZodString;
17410
+ accepted: z.ZodBoolean;
17411
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
17412
+ projectAId: z.ZodString;
17413
+ projectBId: z.ZodString;
17414
+ }, z.core.$strip>>>;
17415
+ error: z.ZodNullable<z.ZodString>;
17416
+ }, z.core.$strip>;
17417
+ }, z.core.$strip>, z.ZodObject<{
17418
+ type: z.ZodLiteral<"project.links.changed">;
17419
+ payload: z.ZodObject<{
17420
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
17421
+ projectAId: z.ZodString;
17422
+ projectBId: z.ZodString;
17423
+ }, z.core.$strip>>>;
17424
+ }, z.core.$strip>;
17128
17425
  }, z.core.$strip>, z.ZodObject<{
17129
17426
  type: z.ZodLiteral<"workspace.title.set.response">;
17130
17427
  payload: z.ZodObject<{
@@ -17679,6 +17976,12 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
17679
17976
  }, z.core.$strip>, z.ZodObject<{
17680
17977
  kind: z.ZodLiteral<"git_failed">;
17681
17978
  detail: z.ZodString;
17979
+ }, z.core.$strip>, z.ZodObject<{
17980
+ kind: z.ZodLiteral<"agents_running">;
17981
+ agents: z.ZodArray<z.ZodObject<{
17982
+ id: z.ZodString;
17983
+ title: z.ZodNullable<z.ZodString>;
17984
+ }, z.core.$strip>>;
17682
17985
  }, z.core.$strip>], "kind">>;
17683
17986
  requestId: z.ZodString;
17684
17987
  }, z.core.$strip>;
@@ -20967,10 +21270,23 @@ export type BackgroundShellTaskInfo = z.infer<typeof BackgroundShellTaskInfoSche
20967
21270
  export type BackgroundShellTasksChanged = z.infer<typeof BackgroundShellTasksChangedSchema>;
20968
21271
  export type AgentBackgroundTaskStopResponseMessage = z.infer<typeof AgentBackgroundTaskStopResponseMessageSchema>;
20969
21272
  export type AgentBackgroundTaskClearResponseMessage = z.infer<typeof AgentBackgroundTaskClearResponseMessageSchema>;
21273
+ export type SuggestedTaskInfo = z.infer<typeof SuggestedTaskInfoSchema>;
21274
+ export type SuggestedTaskState = z.infer<typeof SuggestedTaskStateSchema>;
21275
+ export type SuggestedTasksChanged = z.infer<typeof SuggestedTasksChangedSchema>;
21276
+ export type TasksSuggestedStartMode = z.infer<typeof TasksSuggestedStartModeSchema>;
21277
+ export type TasksSuggestedStartResponseMessage = z.infer<typeof TasksSuggestedStartResponseMessageSchema>;
21278
+ export type TasksSuggestedDismissResponseMessage = z.infer<typeof TasksSuggestedDismissResponseMessageSchema>;
20970
21279
  export type AgentRewindResponseMessage = z.infer<typeof AgentRewindResponseMessageSchema>;
20971
21280
  export type UpdateAgentResponseMessage = z.infer<typeof UpdateAgentResponseMessageSchema>;
20972
21281
  export type ProjectRenameResponse = z.infer<typeof ProjectRenameResponseSchema>;
20973
21282
  export type ProjectRemoveResponse = z.infer<typeof ProjectRemoveResponseSchema>;
21283
+ export type ProjectLink = z.infer<typeof ProjectLinkSchema>;
21284
+ export type ProjectLinksListResponse = z.infer<typeof ProjectLinksListResponseSchema>;
21285
+ export type ProjectLinksListResponsePayload = z.infer<typeof ProjectLinksListResponsePayloadSchema>;
21286
+ export type ProjectLinksSetResponse = z.infer<typeof ProjectLinksSetResponseSchema>;
21287
+ export type ProjectLinksUnsetResponse = z.infer<typeof ProjectLinksUnsetResponseSchema>;
21288
+ export type ProjectLinksMutationResponsePayload = z.infer<typeof ProjectLinksMutationResponsePayloadSchema>;
21289
+ export type ProjectLinksChanged = z.infer<typeof ProjectLinksChangedSchema>;
20974
21290
  export type WorkspaceTitleSetResponse = z.infer<typeof WorkspaceTitleSetResponseSchema>;
20975
21291
  export type WorkspaceTitleSetResponsePayload = z.infer<typeof WorkspaceTitleSetResponsePayloadSchema>;
20976
21292
  export type WorkspaceCreateRequest = z.infer<typeof WorkspaceCreateRequestSchema>;
@@ -21077,6 +21393,9 @@ export type DeleteAgentRequestMessage = z.infer<typeof DeleteAgentRequestMessage
21077
21393
  export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessageSchema>;
21078
21394
  export type ProjectRenameRequest = z.infer<typeof ProjectRenameRequestSchema>;
21079
21395
  export type ProjectRemoveRequest = z.infer<typeof ProjectRemoveRequestSchema>;
21396
+ export type ProjectLinksListRequest = z.infer<typeof ProjectLinksListRequestSchema>;
21397
+ export type ProjectLinksSetRequest = z.infer<typeof ProjectLinksSetRequestSchema>;
21398
+ export type ProjectLinksUnsetRequest = z.infer<typeof ProjectLinksUnsetRequestSchema>;
21080
21399
  export type WorkspaceTitleSetRequest = z.infer<typeof WorkspaceTitleSetRequestSchema>;
21081
21400
  export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessageSchema>;
21082
21401
  export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
@@ -21086,6 +21405,8 @@ export type AgentDetachRequestMessage = z.infer<typeof AgentDetachRequestMessage
21086
21405
  export type AgentSubagentStopRequestMessage = z.infer<typeof AgentSubagentStopRequestMessageSchema>;
21087
21406
  export type AgentBackgroundTaskStopRequestMessage = z.infer<typeof AgentBackgroundTaskStopRequestMessageSchema>;
21088
21407
  export type AgentBackgroundTaskClearRequestMessage = z.infer<typeof AgentBackgroundTaskClearRequestMessageSchema>;
21408
+ export type TasksSuggestedStartRequestMessage = z.infer<typeof TasksSuggestedStartRequestMessageSchema>;
21409
+ export type TasksSuggestedDismissRequestMessage = z.infer<typeof TasksSuggestedDismissRequestMessageSchema>;
21089
21410
  export type AgentPersonalitySetRequestMessage = z.infer<typeof AgentPersonalitySetRequestMessageSchema>;
21090
21411
  export type AgentPermissionResponseMessage = z.infer<typeof AgentPermissionResponseMessageSchema>;
21091
21412
  export type CheckoutStatusRequest = z.infer<typeof CheckoutStatusRequestSchema>;
@@ -21685,6 +22006,19 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
21685
22006
  type: z.ZodLiteral<"project.remove.request">;
21686
22007
  projectId: z.ZodString;
21687
22008
  requestId: z.ZodString;
22009
+ }, z.core.$strip>, z.ZodObject<{
22010
+ type: z.ZodLiteral<"project.links.list.request">;
22011
+ requestId: z.ZodString;
22012
+ }, z.core.$strip>, z.ZodObject<{
22013
+ type: z.ZodLiteral<"project.links.set.request">;
22014
+ projectId: z.ZodString;
22015
+ otherProjectId: z.ZodString;
22016
+ requestId: z.ZodString;
22017
+ }, z.core.$strip>, z.ZodObject<{
22018
+ type: z.ZodLiteral<"project.links.unset.request">;
22019
+ projectId: z.ZodString;
22020
+ otherProjectId: z.ZodString;
22021
+ requestId: z.ZodString;
21688
22022
  }, z.core.$strip>, z.ZodObject<{
21689
22023
  type: z.ZodLiteral<"workspace.title.set.request">;
21690
22024
  workspaceId: z.ZodString;
@@ -22317,6 +22651,21 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22317
22651
  parentAgentId: z.ZodString;
22318
22652
  taskIds: z.ZodArray<z.ZodString>;
22319
22653
  requestId: z.ZodString;
22654
+ }, z.core.$strip>, z.ZodObject<{
22655
+ type: z.ZodLiteral<"tasks.suggested.start.request">;
22656
+ parentAgentId: z.ZodString;
22657
+ taskIds: z.ZodArray<z.ZodString>;
22658
+ mode: z.ZodEnum<{
22659
+ worktree: "worktree";
22660
+ local: "local";
22661
+ in_session: "in_session";
22662
+ }>;
22663
+ requestId: z.ZodString;
22664
+ }, z.core.$strip>, z.ZodObject<{
22665
+ type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
22666
+ parentAgentId: z.ZodString;
22667
+ taskIds: z.ZodArray<z.ZodString>;
22668
+ requestId: z.ZodString;
22320
22669
  }, z.core.$strip>, z.ZodObject<{
22321
22670
  type: z.ZodLiteral<"agent.personality.set.request">;
22322
22671
  agentId: z.ZodString;
@@ -22378,6 +22727,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
22378
22727
  type: z.ZodLiteral<"checkout.git.rollback.request">;
22379
22728
  cwd: z.ZodString;
22380
22729
  paths: z.ZodArray<z.ZodString>;
22730
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
22381
22731
  requestId: z.ZodString;
22382
22732
  }, z.core.$strip>, z.ZodObject<{
22383
22733
  type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
@@ -27164,6 +27514,45 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27164
27514
  archivedAt: z.ZodOptional<z.ZodString>;
27165
27515
  }, z.core.$strip>>;
27166
27516
  }, z.core.$strip>;
27517
+ }, z.core.$strip>, z.ZodObject<{
27518
+ type: z.ZodLiteral<"tasks.suggested.start.response">;
27519
+ payload: z.ZodObject<{
27520
+ requestId: z.ZodString;
27521
+ parentAgentId: z.ZodString;
27522
+ accepted: z.ZodBoolean;
27523
+ succeeded: z.ZodNumber;
27524
+ failed: z.ZodNumber;
27525
+ error: z.ZodNullable<z.ZodString>;
27526
+ }, z.core.$strip>;
27527
+ }, z.core.$strip>, z.ZodObject<{
27528
+ type: z.ZodLiteral<"tasks.suggested.dismiss.response">;
27529
+ payload: z.ZodObject<{
27530
+ requestId: z.ZodString;
27531
+ parentAgentId: z.ZodString;
27532
+ accepted: z.ZodBoolean;
27533
+ succeeded: z.ZodNumber;
27534
+ failed: z.ZodNumber;
27535
+ error: z.ZodNullable<z.ZodString>;
27536
+ }, z.core.$strip>;
27537
+ }, z.core.$strip>, z.ZodObject<{
27538
+ type: z.ZodLiteral<"suggested_tasks_changed">;
27539
+ payload: z.ZodObject<{
27540
+ parentAgentId: z.ZodString;
27541
+ tasks: z.ZodArray<z.ZodObject<{
27542
+ taskId: z.ZodString;
27543
+ parentAgentId: z.ZodString;
27544
+ title: z.ZodString;
27545
+ tldr: z.ZodString;
27546
+ cwd: z.ZodOptional<z.ZodString>;
27547
+ state: z.ZodEnum<{
27548
+ pending: "pending";
27549
+ dismissed: "dismissed";
27550
+ started: "started";
27551
+ }>;
27552
+ createdAt: z.ZodString;
27553
+ updatedAt: z.ZodString;
27554
+ }, z.core.$strip>>;
27555
+ }, z.core.$strip>;
27167
27556
  }, z.core.$strip>, z.ZodObject<{
27168
27557
  type: z.ZodLiteral<"agent.personality.set.response">;
27169
27558
  payload: z.ZodObject<{
@@ -27208,6 +27597,46 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27208
27597
  removedWorkspaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
27209
27598
  error: z.ZodNullable<z.ZodString>;
27210
27599
  }, z.core.$strip>;
27600
+ }, z.core.$strip>, z.ZodObject<{
27601
+ type: z.ZodLiteral<"project.links.list.response">;
27602
+ payload: z.ZodObject<{
27603
+ requestId: z.ZodString;
27604
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
27605
+ projectAId: z.ZodString;
27606
+ projectBId: z.ZodString;
27607
+ }, z.core.$strip>>>;
27608
+ error: z.ZodNullable<z.ZodString>;
27609
+ }, z.core.$strip>;
27610
+ }, z.core.$strip>, z.ZodObject<{
27611
+ type: z.ZodLiteral<"project.links.set.response">;
27612
+ payload: z.ZodObject<{
27613
+ requestId: z.ZodString;
27614
+ accepted: z.ZodBoolean;
27615
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
27616
+ projectAId: z.ZodString;
27617
+ projectBId: z.ZodString;
27618
+ }, z.core.$strip>>>;
27619
+ error: z.ZodNullable<z.ZodString>;
27620
+ }, z.core.$strip>;
27621
+ }, z.core.$strip>, z.ZodObject<{
27622
+ type: z.ZodLiteral<"project.links.unset.response">;
27623
+ payload: z.ZodObject<{
27624
+ requestId: z.ZodString;
27625
+ accepted: z.ZodBoolean;
27626
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
27627
+ projectAId: z.ZodString;
27628
+ projectBId: z.ZodString;
27629
+ }, z.core.$strip>>>;
27630
+ error: z.ZodNullable<z.ZodString>;
27631
+ }, z.core.$strip>;
27632
+ }, z.core.$strip>, z.ZodObject<{
27633
+ type: z.ZodLiteral<"project.links.changed">;
27634
+ payload: z.ZodObject<{
27635
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
27636
+ projectAId: z.ZodString;
27637
+ projectBId: z.ZodString;
27638
+ }, z.core.$strip>>>;
27639
+ }, z.core.$strip>;
27211
27640
  }, z.core.$strip>, z.ZodObject<{
27212
27641
  type: z.ZodLiteral<"workspace.title.set.response">;
27213
27642
  payload: z.ZodObject<{
@@ -27762,6 +28191,12 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
27762
28191
  }, z.core.$strip>, z.ZodObject<{
27763
28192
  kind: z.ZodLiteral<"git_failed">;
27764
28193
  detail: z.ZodString;
28194
+ }, z.core.$strip>, z.ZodObject<{
28195
+ kind: z.ZodLiteral<"agents_running">;
28196
+ agents: z.ZodArray<z.ZodObject<{
28197
+ id: z.ZodString;
28198
+ title: z.ZodNullable<z.ZodString>;
28199
+ }, z.core.$strip>>;
27765
28200
  }, z.core.$strip>], "kind">>;
27766
28201
  requestId: z.ZodString;
27767
28202
  }, z.core.$strip>;
@@ -31419,6 +31854,19 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
31419
31854
  type: z.ZodLiteral<"project.remove.request">;
31420
31855
  projectId: z.ZodString;
31421
31856
  requestId: z.ZodString;
31857
+ }, z.core.$strip>, z.ZodObject<{
31858
+ type: z.ZodLiteral<"project.links.list.request">;
31859
+ requestId: z.ZodString;
31860
+ }, z.core.$strip>, z.ZodObject<{
31861
+ type: z.ZodLiteral<"project.links.set.request">;
31862
+ projectId: z.ZodString;
31863
+ otherProjectId: z.ZodString;
31864
+ requestId: z.ZodString;
31865
+ }, z.core.$strip>, z.ZodObject<{
31866
+ type: z.ZodLiteral<"project.links.unset.request">;
31867
+ projectId: z.ZodString;
31868
+ otherProjectId: z.ZodString;
31869
+ requestId: z.ZodString;
31422
31870
  }, z.core.$strip>, z.ZodObject<{
31423
31871
  type: z.ZodLiteral<"workspace.title.set.request">;
31424
31872
  workspaceId: z.ZodString;
@@ -32051,6 +32499,21 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
32051
32499
  parentAgentId: z.ZodString;
32052
32500
  taskIds: z.ZodArray<z.ZodString>;
32053
32501
  requestId: z.ZodString;
32502
+ }, z.core.$strip>, z.ZodObject<{
32503
+ type: z.ZodLiteral<"tasks.suggested.start.request">;
32504
+ parentAgentId: z.ZodString;
32505
+ taskIds: z.ZodArray<z.ZodString>;
32506
+ mode: z.ZodEnum<{
32507
+ worktree: "worktree";
32508
+ local: "local";
32509
+ in_session: "in_session";
32510
+ }>;
32511
+ requestId: z.ZodString;
32512
+ }, z.core.$strip>, z.ZodObject<{
32513
+ type: z.ZodLiteral<"tasks.suggested.dismiss.request">;
32514
+ parentAgentId: z.ZodString;
32515
+ taskIds: z.ZodArray<z.ZodString>;
32516
+ requestId: z.ZodString;
32054
32517
  }, z.core.$strip>, z.ZodObject<{
32055
32518
  type: z.ZodLiteral<"agent.personality.set.request">;
32056
32519
  agentId: z.ZodString;
@@ -32112,6 +32575,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
32112
32575
  type: z.ZodLiteral<"checkout.git.rollback.request">;
32113
32576
  cwd: z.ZodString;
32114
32577
  paths: z.ZodArray<z.ZodString>;
32578
+ allowWithRunningAgents: z.ZodOptional<z.ZodBoolean>;
32115
32579
  requestId: z.ZodString;
32116
32580
  }, z.core.$strip>, z.ZodObject<{
32117
32581
  type: z.ZodLiteral<"checkout.git.get_operation_log.request">;
@@ -36900,6 +37364,45 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36900
37364
  archivedAt: z.ZodOptional<z.ZodString>;
36901
37365
  }, z.core.$strip>>;
36902
37366
  }, z.core.$strip>;
37367
+ }, z.core.$strip>, z.ZodObject<{
37368
+ type: z.ZodLiteral<"tasks.suggested.start.response">;
37369
+ payload: z.ZodObject<{
37370
+ requestId: z.ZodString;
37371
+ parentAgentId: z.ZodString;
37372
+ accepted: z.ZodBoolean;
37373
+ succeeded: z.ZodNumber;
37374
+ failed: z.ZodNumber;
37375
+ error: z.ZodNullable<z.ZodString>;
37376
+ }, z.core.$strip>;
37377
+ }, z.core.$strip>, z.ZodObject<{
37378
+ type: z.ZodLiteral<"tasks.suggested.dismiss.response">;
37379
+ payload: z.ZodObject<{
37380
+ requestId: z.ZodString;
37381
+ parentAgentId: z.ZodString;
37382
+ accepted: z.ZodBoolean;
37383
+ succeeded: z.ZodNumber;
37384
+ failed: z.ZodNumber;
37385
+ error: z.ZodNullable<z.ZodString>;
37386
+ }, z.core.$strip>;
37387
+ }, z.core.$strip>, z.ZodObject<{
37388
+ type: z.ZodLiteral<"suggested_tasks_changed">;
37389
+ payload: z.ZodObject<{
37390
+ parentAgentId: z.ZodString;
37391
+ tasks: z.ZodArray<z.ZodObject<{
37392
+ taskId: z.ZodString;
37393
+ parentAgentId: z.ZodString;
37394
+ title: z.ZodString;
37395
+ tldr: z.ZodString;
37396
+ cwd: z.ZodOptional<z.ZodString>;
37397
+ state: z.ZodEnum<{
37398
+ pending: "pending";
37399
+ dismissed: "dismissed";
37400
+ started: "started";
37401
+ }>;
37402
+ createdAt: z.ZodString;
37403
+ updatedAt: z.ZodString;
37404
+ }, z.core.$strip>>;
37405
+ }, z.core.$strip>;
36903
37406
  }, z.core.$strip>, z.ZodObject<{
36904
37407
  type: z.ZodLiteral<"agent.personality.set.response">;
36905
37408
  payload: z.ZodObject<{
@@ -36944,6 +37447,46 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
36944
37447
  removedWorkspaceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
36945
37448
  error: z.ZodNullable<z.ZodString>;
36946
37449
  }, z.core.$strip>;
37450
+ }, z.core.$strip>, z.ZodObject<{
37451
+ type: z.ZodLiteral<"project.links.list.response">;
37452
+ payload: z.ZodObject<{
37453
+ requestId: z.ZodString;
37454
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
37455
+ projectAId: z.ZodString;
37456
+ projectBId: z.ZodString;
37457
+ }, z.core.$strip>>>;
37458
+ error: z.ZodNullable<z.ZodString>;
37459
+ }, z.core.$strip>;
37460
+ }, z.core.$strip>, z.ZodObject<{
37461
+ type: z.ZodLiteral<"project.links.set.response">;
37462
+ payload: z.ZodObject<{
37463
+ requestId: z.ZodString;
37464
+ accepted: z.ZodBoolean;
37465
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
37466
+ projectAId: z.ZodString;
37467
+ projectBId: z.ZodString;
37468
+ }, z.core.$strip>>>;
37469
+ error: z.ZodNullable<z.ZodString>;
37470
+ }, z.core.$strip>;
37471
+ }, z.core.$strip>, z.ZodObject<{
37472
+ type: z.ZodLiteral<"project.links.unset.response">;
37473
+ payload: z.ZodObject<{
37474
+ requestId: z.ZodString;
37475
+ accepted: z.ZodBoolean;
37476
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
37477
+ projectAId: z.ZodString;
37478
+ projectBId: z.ZodString;
37479
+ }, z.core.$strip>>>;
37480
+ error: z.ZodNullable<z.ZodString>;
37481
+ }, z.core.$strip>;
37482
+ }, z.core.$strip>, z.ZodObject<{
37483
+ type: z.ZodLiteral<"project.links.changed">;
37484
+ payload: z.ZodObject<{
37485
+ links: z.ZodDefault<z.ZodArray<z.ZodObject<{
37486
+ projectAId: z.ZodString;
37487
+ projectBId: z.ZodString;
37488
+ }, z.core.$strip>>>;
37489
+ }, z.core.$strip>;
36947
37490
  }, z.core.$strip>, z.ZodObject<{
36948
37491
  type: z.ZodLiteral<"workspace.title.set.response">;
36949
37492
  payload: z.ZodObject<{
@@ -37498,6 +38041,12 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
37498
38041
  }, z.core.$strip>, z.ZodObject<{
37499
38042
  kind: z.ZodLiteral<"git_failed">;
37500
38043
  detail: z.ZodString;
38044
+ }, z.core.$strip>, z.ZodObject<{
38045
+ kind: z.ZodLiteral<"agents_running">;
38046
+ agents: z.ZodArray<z.ZodObject<{
38047
+ id: z.ZodString;
38048
+ title: z.ZodNullable<z.ZodString>;
38049
+ }, z.core.$strip>>;
37501
38050
  }, z.core.$strip>], "kind">>;
37502
38051
  requestId: z.ZodString;
37503
38052
  }, z.core.$strip>;