@getpaseo/protocol 0.1.106 → 0.1.108

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.
@@ -371,6 +371,12 @@ export declare const WorkspaceTitleSetRequestSchema: z.ZodObject<{
371
371
  title: z.ZodNullable<z.ZodString>;
372
372
  requestId: z.ZodString;
373
373
  }, z.core.$strip>;
374
+ export declare const WorkspacePinSetRequestSchema: z.ZodObject<{
375
+ type: z.ZodLiteral<"workspace.pin.set.request">;
376
+ workspaceId: z.ZodString;
377
+ pinned: z.ZodBoolean;
378
+ requestId: z.ZodString;
379
+ }, z.core.$strip>;
374
380
  export declare const SetVoiceModeMessageSchema: z.ZodObject<{
375
381
  type: z.ZodLiteral<"set_voice_mode">;
376
382
  enabled: z.ZodBoolean;
@@ -1257,9 +1263,34 @@ export declare const FetchAgentTimelineRequestMessageSchema: z.ZodObject<{
1257
1263
  canonical: "canonical";
1258
1264
  }>>;
1259
1265
  }, z.core.$strip>;
1266
+ export declare const ProviderSubagentListRequestMessageSchema: z.ZodObject<{
1267
+ type: z.ZodLiteral<"agent.provider_subagents.list.request">;
1268
+ parentAgentId: z.ZodString;
1269
+ requestId: z.ZodString;
1270
+ }, z.core.$strip>;
1271
+ export declare const ProviderSubagentTimelineRequestMessageSchema: z.ZodObject<{
1272
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
1273
+ parentAgentId: z.ZodString;
1274
+ subagentId: z.ZodString;
1275
+ requestId: z.ZodString;
1276
+ direction: z.ZodOptional<z.ZodEnum<{
1277
+ tail: "tail";
1278
+ before: "before";
1279
+ after: "after";
1280
+ }>>;
1281
+ cursor: z.ZodOptional<z.ZodObject<{
1282
+ epoch: z.ZodString;
1283
+ seq: z.ZodNumber;
1284
+ }, z.core.$strip>>;
1285
+ limit: z.ZodOptional<z.ZodNumber>;
1286
+ }, z.core.$strip>;
1260
1287
  export declare const AgentForkContextRequestMessageSchema: z.ZodObject<{
1261
1288
  type: z.ZodLiteral<"agent.fork_context.request">;
1262
1289
  agentId: z.ZodString;
1290
+ boundaryCursor: z.ZodOptional<z.ZodObject<{
1291
+ epoch: z.ZodString;
1292
+ seq: z.ZodNumber;
1293
+ }, z.core.$strip>>;
1263
1294
  boundaryMessageId: z.ZodOptional<z.ZodString>;
1264
1295
  requestId: z.ZodString;
1265
1296
  }, z.core.$strip>;
@@ -1429,6 +1460,23 @@ export declare const WorkspaceTitleSetResponseSchema: z.ZodObject<{
1429
1460
  error: z.ZodNullable<z.ZodString>;
1430
1461
  }, z.core.$strip>;
1431
1462
  }, z.core.$strip>;
1463
+ export declare const WorkspacePinSetResponsePayloadSchema: z.ZodObject<{
1464
+ requestId: z.ZodString;
1465
+ workspaceId: z.ZodString;
1466
+ accepted: z.ZodBoolean;
1467
+ pinnedAt: z.ZodNullable<z.ZodString>;
1468
+ error: z.ZodNullable<z.ZodString>;
1469
+ }, z.core.$strip>;
1470
+ export declare const WorkspacePinSetResponseSchema: z.ZodObject<{
1471
+ type: z.ZodLiteral<"workspace.pin.set.response">;
1472
+ payload: z.ZodObject<{
1473
+ requestId: z.ZodString;
1474
+ workspaceId: z.ZodString;
1475
+ accepted: z.ZodBoolean;
1476
+ pinnedAt: z.ZodNullable<z.ZodString>;
1477
+ error: z.ZodNullable<z.ZodString>;
1478
+ }, z.core.$strip>;
1479
+ }, z.core.$strip>;
1432
1480
  export declare const SetVoiceModeResponseMessageSchema: z.ZodObject<{
1433
1481
  type: z.ZodLiteral<"set_voice_mode_response">;
1434
1482
  payload: z.ZodObject<{
@@ -1888,6 +1936,45 @@ export declare const ProjectAddRequestSchema: z.ZodObject<{
1888
1936
  cwd: z.ZodString;
1889
1937
  requestId: z.ZodString;
1890
1938
  }, z.core.$strip>;
1939
+ export declare const ProjectCreateDirectoryRequestSchema: z.ZodObject<{
1940
+ type: z.ZodLiteral<"project.create_directory.request">;
1941
+ parentPath: z.ZodString;
1942
+ name: z.ZodString;
1943
+ requestId: z.ZodString;
1944
+ }, z.core.$strip>;
1945
+ export declare const GithubRepositorySchema: z.ZodObject<{
1946
+ id: z.ZodString;
1947
+ name: z.ZodString;
1948
+ nameWithOwner: z.ZodString;
1949
+ description: z.ZodNullable<z.ZodString>;
1950
+ visibility: z.ZodEnum<{
1951
+ public: "public";
1952
+ private: "private";
1953
+ internal: "internal";
1954
+ }>;
1955
+ updatedAt: z.ZodString;
1956
+ cloneUrl: z.ZodString;
1957
+ }, z.core.$strip>;
1958
+ export declare const WorkspaceGithubSearchRepositoriesRequestSchema: z.ZodObject<{
1959
+ type: z.ZodLiteral<"workspace.github.search_repositories.request">;
1960
+ query: z.ZodString;
1961
+ limit: z.ZodOptional<z.ZodNumber>;
1962
+ requestId: z.ZodString;
1963
+ }, z.core.$strip>;
1964
+ export declare const ProjectGithubCloneProtocolSchema: z.ZodEnum<{
1965
+ https: "https";
1966
+ ssh: "ssh";
1967
+ }>;
1968
+ export declare const ProjectGithubCloneRequestSchema: z.ZodObject<{
1969
+ type: z.ZodLiteral<"project.github.clone.request">;
1970
+ repo: z.ZodString;
1971
+ cloneProtocol: z.ZodOptional<z.ZodEnum<{
1972
+ https: "https";
1973
+ ssh: "ssh";
1974
+ }>>;
1975
+ targetDirectory: z.ZodString;
1976
+ requestId: z.ZodString;
1977
+ }, z.core.$strip>;
1891
1978
  export declare const ArchiveWorkspaceRequestSchema: z.ZodObject<{
1892
1979
  type: z.ZodLiteral<"archive_workspace_request">;
1893
1980
  workspaceId: z.ZodString;
@@ -2085,6 +2172,10 @@ export declare const CreateTerminalRequestSchema: z.ZodObject<{
2085
2172
  agentId: z.ZodOptional<z.ZodString>;
2086
2173
  command: z.ZodOptional<z.ZodString>;
2087
2174
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
2175
+ size: z.ZodOptional<z.ZodObject<{
2176
+ rows: z.ZodNumber;
2177
+ cols: z.ZodNumber;
2178
+ }, z.core.$strip>>;
2088
2179
  requestId: z.ZodString;
2089
2180
  }, z.core.$strip>;
2090
2181
  export declare const RenameTerminalRequestSchema: z.ZodObject<{
@@ -2514,6 +2605,11 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
2514
2605
  workspaceId: z.ZodString;
2515
2606
  title: z.ZodNullable<z.ZodString>;
2516
2607
  requestId: z.ZodString;
2608
+ }, z.core.$strip>, z.ZodObject<{
2609
+ type: z.ZodLiteral<"workspace.pin.set.request">;
2610
+ workspaceId: z.ZodString;
2611
+ pinned: z.ZodBoolean;
2612
+ requestId: z.ZodString;
2517
2613
  }, z.core.$strip>, z.ZodObject<{
2518
2614
  type: z.ZodLiteral<"set_voice_mode">;
2519
2615
  enabled: z.ZodBoolean;
@@ -2950,9 +3046,32 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
2950
3046
  projected: "projected";
2951
3047
  canonical: "canonical";
2952
3048
  }>>;
3049
+ }, z.core.$strip>, z.ZodObject<{
3050
+ type: z.ZodLiteral<"agent.provider_subagents.list.request">;
3051
+ parentAgentId: z.ZodString;
3052
+ requestId: z.ZodString;
3053
+ }, z.core.$strip>, z.ZodObject<{
3054
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
3055
+ parentAgentId: z.ZodString;
3056
+ subagentId: z.ZodString;
3057
+ requestId: z.ZodString;
3058
+ direction: z.ZodOptional<z.ZodEnum<{
3059
+ tail: "tail";
3060
+ before: "before";
3061
+ after: "after";
3062
+ }>>;
3063
+ cursor: z.ZodOptional<z.ZodObject<{
3064
+ epoch: z.ZodString;
3065
+ seq: z.ZodNumber;
3066
+ }, z.core.$strip>>;
3067
+ limit: z.ZodOptional<z.ZodNumber>;
2953
3068
  }, z.core.$strip>, z.ZodObject<{
2954
3069
  type: z.ZodLiteral<"agent.fork_context.request">;
2955
3070
  agentId: z.ZodString;
3071
+ boundaryCursor: z.ZodOptional<z.ZodObject<{
3072
+ epoch: z.ZodString;
3073
+ seq: z.ZodNumber;
3074
+ }, z.core.$strip>>;
2956
3075
  boundaryMessageId: z.ZodOptional<z.ZodString>;
2957
3076
  requestId: z.ZodString;
2958
3077
  }, z.core.$strip>, z.ZodObject<{
@@ -3324,6 +3443,25 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3324
3443
  type: z.ZodLiteral<"project.add.request">;
3325
3444
  cwd: z.ZodString;
3326
3445
  requestId: z.ZodString;
3446
+ }, z.core.$strip>, z.ZodObject<{
3447
+ type: z.ZodLiteral<"project.create_directory.request">;
3448
+ parentPath: z.ZodString;
3449
+ name: z.ZodString;
3450
+ requestId: z.ZodString;
3451
+ }, z.core.$strip>, z.ZodObject<{
3452
+ type: z.ZodLiteral<"workspace.github.search_repositories.request">;
3453
+ query: z.ZodString;
3454
+ limit: z.ZodOptional<z.ZodNumber>;
3455
+ requestId: z.ZodString;
3456
+ }, z.core.$strip>, z.ZodObject<{
3457
+ type: z.ZodLiteral<"project.github.clone.request">;
3458
+ repo: z.ZodString;
3459
+ cloneProtocol: z.ZodOptional<z.ZodEnum<{
3460
+ https: "https";
3461
+ ssh: "ssh";
3462
+ }>>;
3463
+ targetDirectory: z.ZodString;
3464
+ requestId: z.ZodString;
3327
3465
  }, z.core.$strip>, z.ZodObject<{
3328
3466
  type: z.ZodLiteral<"archive_workspace_request">;
3329
3467
  workspaceId: z.ZodString;
@@ -3494,6 +3632,10 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
3494
3632
  agentId: z.ZodOptional<z.ZodString>;
3495
3633
  command: z.ZodOptional<z.ZodString>;
3496
3634
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
3635
+ size: z.ZodOptional<z.ZodObject<{
3636
+ rows: z.ZodNumber;
3637
+ cols: z.ZodNumber;
3638
+ }, z.core.$strip>>;
3497
3639
  requestId: z.ZodString;
3498
3640
  }, z.core.$strip>, z.ZodObject<{
3499
3641
  type: z.ZodLiteral<"terminal.rename.request">;
@@ -3904,6 +4046,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
3904
4046
  daemonDiagnostics: z.ZodOptional<z.ZodBoolean>;
3905
4047
  daemonSelfUpdate: z.ZodOptional<z.ZodBoolean>;
3906
4048
  agentForkContext: z.ZodOptional<z.ZodBoolean>;
4049
+ agentForkContextCursor: z.ZodOptional<z.ZodBoolean>;
4050
+ providerSubagents: z.ZodOptional<z.ZodBoolean>;
4051
+ workspacePinning: z.ZodOptional<z.ZodBoolean>;
4052
+ projectGithubClone: z.ZodOptional<z.ZodBoolean>;
4053
+ workspaceGithubRepositorySearch: z.ZodOptional<z.ZodBoolean>;
4054
+ projectCreateDirectory: z.ZodOptional<z.ZodBoolean>;
3907
4055
  }, z.core.$strip>>;
3908
4056
  }, z.core.$loose>, z.ZodTransform<{
3909
4057
  hostname: string | null;
@@ -3940,6 +4088,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
3940
4088
  daemonDiagnostics?: boolean | undefined;
3941
4089
  daemonSelfUpdate?: boolean | undefined;
3942
4090
  agentForkContext?: boolean | undefined;
4091
+ agentForkContextCursor?: boolean | undefined;
4092
+ providerSubagents?: boolean | undefined;
4093
+ workspacePinning?: boolean | undefined;
4094
+ projectGithubClone?: boolean | undefined;
4095
+ workspaceGithubRepositorySearch?: boolean | undefined;
4096
+ projectCreateDirectory?: boolean | undefined;
3943
4097
  } | undefined;
3944
4098
  }, {
3945
4099
  [x: string]: unknown;
@@ -3977,6 +4131,12 @@ export declare const ServerInfoStatusPayloadSchema: z.ZodPipe<z.ZodObject<{
3977
4131
  daemonDiagnostics?: boolean | undefined;
3978
4132
  daemonSelfUpdate?: boolean | undefined;
3979
4133
  agentForkContext?: boolean | undefined;
4134
+ agentForkContextCursor?: boolean | undefined;
4135
+ providerSubagents?: boolean | undefined;
4136
+ workspacePinning?: boolean | undefined;
4137
+ projectGithubClone?: boolean | undefined;
4138
+ workspaceGithubRepositorySearch?: boolean | undefined;
4139
+ projectCreateDirectory?: boolean | undefined;
3980
4140
  } | undefined;
3981
4141
  }>>;
3982
4142
  export declare const StatusMessageSchema: z.ZodObject<{
@@ -4679,6 +4839,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
4679
4839
  }>;
4680
4840
  name: z.ZodString;
4681
4841
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4842
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4682
4843
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4683
4844
  status: z.ZodEnum<{
4684
4845
  running: "running";
@@ -4882,6 +5043,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
4882
5043
  }[];
4883
5044
  projectCustomName?: string | null | undefined;
4884
5045
  title?: string | null | undefined;
5046
+ pinnedAt?: string | null | undefined;
4885
5047
  diffStat?: {
4886
5048
  additions: number;
4887
5049
  deletions: number;
@@ -4986,6 +5148,7 @@ export declare const WorkspaceDescriptorPayloadSchema: z.ZodPipe<z.ZodObject<{
4986
5148
  projectCustomName?: string | null | undefined;
4987
5149
  workspaceDirectory?: string | undefined;
4988
5150
  title?: string | null | undefined;
5151
+ pinnedAt?: string | null | undefined;
4989
5152
  diffStat?: {
4990
5153
  additions: number;
4991
5154
  deletions: number;
@@ -5775,6 +5938,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
5775
5938
  }>;
5776
5939
  name: z.ZodString;
5777
5940
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5941
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5778
5942
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
5779
5943
  status: z.ZodEnum<{
5780
5944
  running: "running";
@@ -5978,6 +6142,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
5978
6142
  }[];
5979
6143
  projectCustomName?: string | null | undefined;
5980
6144
  title?: string | null | undefined;
6145
+ pinnedAt?: string | null | undefined;
5981
6146
  diffStat?: {
5982
6147
  additions: number;
5983
6148
  deletions: number;
@@ -6082,6 +6247,7 @@ export declare const FetchWorkspacesResponseMessageSchema: z.ZodObject<{
6082
6247
  projectCustomName?: string | null | undefined;
6083
6248
  workspaceDirectory?: string | undefined;
6084
6249
  title?: string | null | undefined;
6250
+ pinnedAt?: string | null | undefined;
6085
6251
  diffStat?: {
6086
6252
  additions: number;
6087
6253
  deletions: number;
@@ -6201,6 +6367,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
6201
6367
  }>;
6202
6368
  name: z.ZodString;
6203
6369
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6370
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6204
6371
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6205
6372
  status: z.ZodEnum<{
6206
6373
  running: "running";
@@ -6404,6 +6571,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
6404
6571
  }[];
6405
6572
  projectCustomName?: string | null | undefined;
6406
6573
  title?: string | null | undefined;
6574
+ pinnedAt?: string | null | undefined;
6407
6575
  diffStat?: {
6408
6576
  additions: number;
6409
6577
  deletions: number;
@@ -6508,6 +6676,7 @@ export declare const WorkspaceUpdateMessageSchema: z.ZodObject<{
6508
6676
  projectCustomName?: string | null | undefined;
6509
6677
  workspaceDirectory?: string | undefined;
6510
6678
  title?: string | null | undefined;
6679
+ pinnedAt?: string | null | undefined;
6511
6680
  diffStat?: {
6512
6681
  additions: number;
6513
6682
  deletions: number;
@@ -6749,6 +6918,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
6749
6918
  }>;
6750
6919
  name: z.ZodString;
6751
6920
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6921
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6752
6922
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
6753
6923
  status: z.ZodEnum<{
6754
6924
  running: "running";
@@ -6952,6 +7122,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
6952
7122
  }[];
6953
7123
  projectCustomName?: string | null | undefined;
6954
7124
  title?: string | null | undefined;
7125
+ pinnedAt?: string | null | undefined;
6955
7126
  diffStat?: {
6956
7127
  additions: number;
6957
7128
  deletions: number;
@@ -7056,6 +7227,7 @@ export declare const OpenProjectResponseMessageSchema: z.ZodObject<{
7056
7227
  projectCustomName?: string | null | undefined;
7057
7228
  workspaceDirectory?: string | undefined;
7058
7229
  title?: string | null | undefined;
7230
+ pinnedAt?: string | null | undefined;
7059
7231
  diffStat?: {
7060
7232
  additions: number;
7061
7233
  deletions: number;
@@ -7160,6 +7332,131 @@ export declare const ProjectAddResponseSchema: z.ZodObject<{
7160
7332
  }>>>>;
7161
7333
  }, z.core.$strip>;
7162
7334
  }, z.core.$strip>;
7335
+ export declare const ProjectCreateDirectoryErrorCodeSchema: z.ZodEnum<{
7336
+ invalid_name: "invalid_name";
7337
+ parent_directory_not_found: "parent_directory_not_found";
7338
+ directory_exists: "directory_exists";
7339
+ permission_denied: "permission_denied";
7340
+ registration_failed: "registration_failed";
7341
+ filesystem_error: "filesystem_error";
7342
+ }>;
7343
+ export declare const ProjectCreateDirectoryResponseSchema: z.ZodObject<{
7344
+ type: z.ZodLiteral<"project.create_directory.response">;
7345
+ payload: z.ZodObject<{
7346
+ requestId: z.ZodString;
7347
+ directoryPath: z.ZodNullable<z.ZodString>;
7348
+ project: z.ZodNullable<z.ZodObject<{
7349
+ projectId: z.ZodString;
7350
+ projectDisplayName: z.ZodString;
7351
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7352
+ projectRootPath: z.ZodString;
7353
+ projectKind: z.ZodEnum<{
7354
+ git: "git";
7355
+ directory: "directory";
7356
+ non_git: "non_git";
7357
+ }>;
7358
+ }, z.core.$strip>>;
7359
+ error: z.ZodNullable<z.ZodString>;
7360
+ errorCode: z.ZodNullable<z.ZodString>;
7361
+ }, z.core.$strip>;
7362
+ }, z.core.$strip>;
7363
+ export declare const WorkspaceGithubSearchRepositoriesResponseSchema: z.ZodObject<{
7364
+ type: z.ZodLiteral<"workspace.github.search_repositories.response">;
7365
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
7366
+ status: z.ZodLiteral<"success">;
7367
+ requestId: z.ZodString;
7368
+ repositories: z.ZodArray<z.ZodObject<{
7369
+ id: z.ZodString;
7370
+ name: z.ZodString;
7371
+ nameWithOwner: z.ZodString;
7372
+ description: z.ZodNullable<z.ZodString>;
7373
+ visibility: z.ZodEnum<{
7374
+ public: "public";
7375
+ private: "private";
7376
+ internal: "internal";
7377
+ }>;
7378
+ updatedAt: z.ZodString;
7379
+ cloneUrl: z.ZodString;
7380
+ }, z.core.$strip>>;
7381
+ available: z.ZodLiteral<true>;
7382
+ error: z.ZodNull;
7383
+ }, z.core.$strip>, z.ZodObject<{
7384
+ status: z.ZodLiteral<"unavailable">;
7385
+ requestId: z.ZodString;
7386
+ repositories: z.ZodArray<z.ZodObject<{
7387
+ id: z.ZodString;
7388
+ name: z.ZodString;
7389
+ nameWithOwner: z.ZodString;
7390
+ description: z.ZodNullable<z.ZodString>;
7391
+ visibility: z.ZodEnum<{
7392
+ public: "public";
7393
+ private: "private";
7394
+ internal: "internal";
7395
+ }>;
7396
+ updatedAt: z.ZodString;
7397
+ cloneUrl: z.ZodString;
7398
+ }, z.core.$strip>>;
7399
+ reason: z.ZodLiteral<"gh_missing">;
7400
+ available: z.ZodLiteral<false>;
7401
+ error: z.ZodString;
7402
+ }, z.core.$strip>, z.ZodObject<{
7403
+ status: z.ZodLiteral<"unauthenticated">;
7404
+ requestId: z.ZodString;
7405
+ repositories: z.ZodArray<z.ZodObject<{
7406
+ id: z.ZodString;
7407
+ name: z.ZodString;
7408
+ nameWithOwner: z.ZodString;
7409
+ description: z.ZodNullable<z.ZodString>;
7410
+ visibility: z.ZodEnum<{
7411
+ public: "public";
7412
+ private: "private";
7413
+ internal: "internal";
7414
+ }>;
7415
+ updatedAt: z.ZodString;
7416
+ cloneUrl: z.ZodString;
7417
+ }, z.core.$strip>>;
7418
+ available: z.ZodLiteral<false>;
7419
+ error: z.ZodString;
7420
+ }, z.core.$strip>, z.ZodObject<{
7421
+ status: z.ZodLiteral<"error">;
7422
+ requestId: z.ZodString;
7423
+ repositories: z.ZodArray<z.ZodObject<{
7424
+ id: z.ZodString;
7425
+ name: z.ZodString;
7426
+ nameWithOwner: z.ZodString;
7427
+ description: z.ZodNullable<z.ZodString>;
7428
+ visibility: z.ZodEnum<{
7429
+ public: "public";
7430
+ private: "private";
7431
+ internal: "internal";
7432
+ }>;
7433
+ updatedAt: z.ZodString;
7434
+ cloneUrl: z.ZodString;
7435
+ }, z.core.$strip>>;
7436
+ available: z.ZodLiteral<true>;
7437
+ error: z.ZodString;
7438
+ }, z.core.$strip>], "status">;
7439
+ }, z.core.$strip>;
7440
+ export declare const ProjectGithubCloneResponseSchema: z.ZodObject<{
7441
+ type: z.ZodLiteral<"project.github.clone.response">;
7442
+ payload: z.ZodObject<{
7443
+ requestId: z.ZodString;
7444
+ repo: z.ZodString;
7445
+ checkoutPath: z.ZodNullable<z.ZodString>;
7446
+ project: z.ZodNullable<z.ZodObject<{
7447
+ projectId: z.ZodString;
7448
+ projectDisplayName: z.ZodString;
7449
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7450
+ projectRootPath: z.ZodString;
7451
+ projectKind: z.ZodEnum<{
7452
+ git: "git";
7453
+ directory: "directory";
7454
+ non_git: "non_git";
7455
+ }>;
7456
+ }, z.core.$strip>>;
7457
+ error: z.ZodNullable<z.ZodString>;
7458
+ }, z.core.$strip>;
7459
+ }, z.core.$strip>;
7163
7460
  export declare const StartWorkspaceScriptResponseMessageSchema: z.ZodObject<{
7164
7461
  type: z.ZodLiteral<"start_workspace_script_response">;
7165
7462
  payload: z.ZodObject<{
@@ -7474,6 +7771,116 @@ export declare const FetchAgentTimelineResponseMessageSchema: z.ZodObject<{
7474
7771
  error: z.ZodNullable<z.ZodString>;
7475
7772
  }, z.core.$strip>;
7476
7773
  }, z.core.$strip>;
7774
+ export declare const ProviderSubagentDescriptorPayloadSchema: z.ZodObject<{
7775
+ id: z.ZodString;
7776
+ parentAgentId: z.ZodString;
7777
+ provider: z.ZodString;
7778
+ title: z.ZodNullable<z.ZodString>;
7779
+ description: z.ZodNullable<z.ZodString>;
7780
+ status: z.ZodEnum<{
7781
+ running: "running";
7782
+ completed: "completed";
7783
+ failed: "failed";
7784
+ canceled: "canceled";
7785
+ }>;
7786
+ createdAt: z.ZodString;
7787
+ updatedAt: z.ZodString;
7788
+ toolCallId: z.ZodNullable<z.ZodString>;
7789
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7790
+ }, z.core.$strip>;
7791
+ export type ProviderSubagentDescriptorPayload = z.infer<typeof ProviderSubagentDescriptorPayloadSchema>;
7792
+ export declare const ProviderSubagentListResponseMessageSchema: z.ZodObject<{
7793
+ type: z.ZodLiteral<"agent.provider_subagents.list.response">;
7794
+ payload: z.ZodObject<{
7795
+ requestId: z.ZodString;
7796
+ parentAgentId: z.ZodString;
7797
+ subagents: z.ZodArray<z.ZodObject<{
7798
+ id: z.ZodString;
7799
+ parentAgentId: z.ZodString;
7800
+ provider: z.ZodString;
7801
+ title: z.ZodNullable<z.ZodString>;
7802
+ description: z.ZodNullable<z.ZodString>;
7803
+ status: z.ZodEnum<{
7804
+ running: "running";
7805
+ completed: "completed";
7806
+ failed: "failed";
7807
+ canceled: "canceled";
7808
+ }>;
7809
+ createdAt: z.ZodString;
7810
+ updatedAt: z.ZodString;
7811
+ toolCallId: z.ZodNullable<z.ZodString>;
7812
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7813
+ }, z.core.$strip>>;
7814
+ error: z.ZodNullable<z.ZodString>;
7815
+ }, z.core.$strip>;
7816
+ }, z.core.$strip>;
7817
+ export declare const ProviderSubagentTimelineResponseMessageSchema: z.ZodObject<{
7818
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
7819
+ payload: z.ZodObject<{
7820
+ requestId: z.ZodString;
7821
+ parentAgentId: z.ZodString;
7822
+ subagentId: z.ZodString;
7823
+ provider: z.ZodNullable<z.ZodString>;
7824
+ direction: z.ZodEnum<{
7825
+ tail: "tail";
7826
+ before: "before";
7827
+ after: "after";
7828
+ }>;
7829
+ epoch: z.ZodString;
7830
+ reset: z.ZodBoolean;
7831
+ staleCursor: z.ZodBoolean;
7832
+ gap: z.ZodBoolean;
7833
+ window: z.ZodObject<{
7834
+ minSeq: z.ZodNumber;
7835
+ maxSeq: z.ZodNumber;
7836
+ nextSeq: z.ZodNumber;
7837
+ }, z.core.$strip>;
7838
+ hasOlder: z.ZodBoolean;
7839
+ hasNewer: z.ZodBoolean;
7840
+ rows: z.ZodArray<z.ZodObject<{
7841
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
7842
+ timestamp: z.ZodString;
7843
+ seq: z.ZodNumber;
7844
+ }, z.core.$strip>>;
7845
+ error: z.ZodNullable<z.ZodString>;
7846
+ }, z.core.$strip>;
7847
+ }, z.core.$strip>;
7848
+ export declare const ProviderSubagentUpdateMessageSchema: z.ZodObject<{
7849
+ type: z.ZodLiteral<"agent.provider_subagents.update">;
7850
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
7851
+ kind: z.ZodLiteral<"upsert">;
7852
+ subagent: z.ZodObject<{
7853
+ id: z.ZodString;
7854
+ parentAgentId: z.ZodString;
7855
+ provider: z.ZodString;
7856
+ title: z.ZodNullable<z.ZodString>;
7857
+ description: z.ZodNullable<z.ZodString>;
7858
+ status: z.ZodEnum<{
7859
+ running: "running";
7860
+ completed: "completed";
7861
+ failed: "failed";
7862
+ canceled: "canceled";
7863
+ }>;
7864
+ createdAt: z.ZodString;
7865
+ updatedAt: z.ZodString;
7866
+ toolCallId: z.ZodNullable<z.ZodString>;
7867
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7868
+ }, z.core.$strip>;
7869
+ }, z.core.$strip>, z.ZodObject<{
7870
+ kind: z.ZodLiteral<"timeline">;
7871
+ parentAgentId: z.ZodString;
7872
+ subagentId: z.ZodString;
7873
+ provider: z.ZodString;
7874
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
7875
+ timestamp: z.ZodString;
7876
+ seq: z.ZodNumber;
7877
+ epoch: z.ZodString;
7878
+ }, z.core.$strip>, z.ZodObject<{
7879
+ kind: z.ZodLiteral<"remove">;
7880
+ parentAgentId: z.ZodString;
7881
+ subagentId: z.ZodString;
7882
+ }, z.core.$strip>], "kind">;
7883
+ }, z.core.$strip>;
7477
7884
  export declare const AgentForkContextResponseMessageSchema: z.ZodObject<{
7478
7885
  type: z.ZodLiteral<"agent.fork_context.response">;
7479
7886
  payload: z.ZodObject<{
@@ -7500,6 +7907,10 @@ export declare const AgentForkContextResponseMessageSchema: z.ZodObject<{
7500
7907
  }>>>;
7501
7908
  itemCount: z.ZodNumber;
7502
7909
  boundaryMessageId: z.ZodNullable<z.ZodString>;
7910
+ boundaryCursor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7911
+ epoch: z.ZodString;
7912
+ seq: z.ZodNumber;
7913
+ }, z.core.$strip>>>;
7503
7914
  error: z.ZodNullable<z.ZodString>;
7504
7915
  }, z.core.$strip>;
7505
7916
  }, z.core.$strip>;
@@ -7570,6 +7981,7 @@ export declare const CancelAgentResponseMessageSchema: z.ZodObject<{
7570
7981
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7571
7982
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
7572
7983
  }, z.core.$strip>>;
7984
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7573
7985
  }, z.core.$strip>;
7574
7986
  }, z.core.$strip>;
7575
7987
  export declare const ClearAgentAttentionResponseMessageSchema: z.ZodObject<{
@@ -7664,6 +8076,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
7664
8076
  }>;
7665
8077
  name: z.ZodString;
7666
8078
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8079
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7667
8080
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
7668
8081
  status: z.ZodEnum<{
7669
8082
  running: "running";
@@ -7867,6 +8280,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
7867
8280
  }[];
7868
8281
  projectCustomName?: string | null | undefined;
7869
8282
  title?: string | null | undefined;
8283
+ pinnedAt?: string | null | undefined;
7870
8284
  diffStat?: {
7871
8285
  additions: number;
7872
8286
  deletions: number;
@@ -7971,6 +8385,7 @@ export declare const WorkspaceCreateResponseSchema: z.ZodObject<{
7971
8385
  projectCustomName?: string | null | undefined;
7972
8386
  workspaceDirectory?: string | undefined;
7973
8387
  title?: string | null | undefined;
8388
+ pinnedAt?: string | null | undefined;
7974
8389
  diffStat?: {
7975
8390
  additions: number;
7976
8391
  deletions: number;
@@ -9414,6 +9829,7 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
9414
9829
  }>;
9415
9830
  name: z.ZodString;
9416
9831
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9832
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9417
9833
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
9418
9834
  status: z.ZodEnum<{
9419
9835
  running: "running";
@@ -9617,6 +10033,7 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
9617
10033
  }[];
9618
10034
  projectCustomName?: string | null | undefined;
9619
10035
  title?: string | null | undefined;
10036
+ pinnedAt?: string | null | undefined;
9620
10037
  diffStat?: {
9621
10038
  additions: number;
9622
10039
  deletions: number;
@@ -9721,6 +10138,7 @@ export declare const CreatePaseoWorktreeResponseSchema: z.ZodObject<{
9721
10138
  projectCustomName?: string | null | undefined;
9722
10139
  workspaceDirectory?: string | undefined;
9723
10140
  title?: string | null | undefined;
10141
+ pinnedAt?: string | null | undefined;
9724
10142
  diffStat?: {
9725
10143
  additions: number;
9726
10144
  deletions: number;
@@ -10889,6 +11307,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
10889
11307
  }>;
10890
11308
  name: z.ZodString;
10891
11309
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11310
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10892
11311
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
10893
11312
  status: z.ZodEnum<{
10894
11313
  running: "running";
@@ -11092,6 +11511,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
11092
11511
  }[];
11093
11512
  projectCustomName?: string | null | undefined;
11094
11513
  title?: string | null | undefined;
11514
+ pinnedAt?: string | null | undefined;
11095
11515
  diffStat?: {
11096
11516
  additions: number;
11097
11517
  deletions: number;
@@ -11196,6 +11616,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
11196
11616
  projectCustomName?: string | null | undefined;
11197
11617
  workspaceDirectory?: string | undefined;
11198
11618
  title?: string | null | undefined;
11619
+ pinnedAt?: string | null | undefined;
11199
11620
  diffStat?: {
11200
11621
  additions: number;
11201
11622
  deletions: number;
@@ -11861,6 +12282,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
11861
12282
  }>;
11862
12283
  name: z.ZodString;
11863
12284
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12285
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11864
12286
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
11865
12287
  status: z.ZodEnum<{
11866
12288
  running: "running";
@@ -12064,6 +12486,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12064
12486
  }[];
12065
12487
  projectCustomName?: string | null | undefined;
12066
12488
  title?: string | null | undefined;
12489
+ pinnedAt?: string | null | undefined;
12067
12490
  diffStat?: {
12068
12491
  additions: number;
12069
12492
  deletions: number;
@@ -12168,6 +12591,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12168
12591
  projectCustomName?: string | null | undefined;
12169
12592
  workspaceDirectory?: string | undefined;
12170
12593
  title?: string | null | undefined;
12594
+ pinnedAt?: string | null | undefined;
12171
12595
  diffStat?: {
12172
12596
  additions: number;
12173
12597
  deletions: number;
@@ -12282,6 +12706,25 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12282
12706
  directory_not_found: "directory_not_found";
12283
12707
  }>>>>;
12284
12708
  }, z.core.$strip>;
12709
+ }, z.core.$strip>, z.ZodObject<{
12710
+ type: z.ZodLiteral<"project.create_directory.response">;
12711
+ payload: z.ZodObject<{
12712
+ requestId: z.ZodString;
12713
+ directoryPath: z.ZodNullable<z.ZodString>;
12714
+ project: z.ZodNullable<z.ZodObject<{
12715
+ projectId: z.ZodString;
12716
+ projectDisplayName: z.ZodString;
12717
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12718
+ projectRootPath: z.ZodString;
12719
+ projectKind: z.ZodEnum<{
12720
+ git: "git";
12721
+ directory: "directory";
12722
+ non_git: "non_git";
12723
+ }>;
12724
+ }, z.core.$strip>>;
12725
+ error: z.ZodNullable<z.ZodString>;
12726
+ errorCode: z.ZodNullable<z.ZodString>;
12727
+ }, z.core.$strip>;
12285
12728
  }, z.core.$strip>, z.ZodObject<{
12286
12729
  type: z.ZodLiteral<"open_project_response">;
12287
12730
  payload: z.ZodObject<{
@@ -12306,6 +12749,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12306
12749
  }>;
12307
12750
  name: z.ZodString;
12308
12751
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12752
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12309
12753
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12310
12754
  status: z.ZodEnum<{
12311
12755
  running: "running";
@@ -12509,6 +12953,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12509
12953
  }[];
12510
12954
  projectCustomName?: string | null | undefined;
12511
12955
  title?: string | null | undefined;
12956
+ pinnedAt?: string | null | undefined;
12512
12957
  diffStat?: {
12513
12958
  additions: number;
12514
12959
  deletions: number;
@@ -12613,6 +13058,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12613
13058
  projectCustomName?: string | null | undefined;
12614
13059
  workspaceDirectory?: string | undefined;
12615
13060
  title?: string | null | undefined;
13061
+ pinnedAt?: string | null | undefined;
12616
13062
  diffStat?: {
12617
13063
  additions: number;
12618
13064
  deletions: number;
@@ -12696,17 +13142,112 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12696
13142
  }>>>>;
12697
13143
  }, z.core.$strip>;
12698
13144
  }, z.core.$strip>, z.ZodObject<{
12699
- type: z.ZodLiteral<"start_workspace_script_response">;
12700
- payload: z.ZodObject<{
12701
- requestId: z.ZodString;
12702
- workspaceId: z.ZodString;
12703
- scriptName: z.ZodString;
12704
- terminalId: z.ZodNullable<z.ZodString>;
12705
- error: z.ZodNullable<z.ZodString>;
12706
- }, z.core.$strip>;
12707
- }, z.core.$strip>, z.ZodObject<{
12708
- type: z.ZodLiteral<"list_available_editors_response">;
12709
- payload: z.ZodObject<{
13145
+ type: z.ZodLiteral<"workspace.github.search_repositories.response">;
13146
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13147
+ status: z.ZodLiteral<"success">;
13148
+ requestId: z.ZodString;
13149
+ repositories: z.ZodArray<z.ZodObject<{
13150
+ id: z.ZodString;
13151
+ name: z.ZodString;
13152
+ nameWithOwner: z.ZodString;
13153
+ description: z.ZodNullable<z.ZodString>;
13154
+ visibility: z.ZodEnum<{
13155
+ public: "public";
13156
+ private: "private";
13157
+ internal: "internal";
13158
+ }>;
13159
+ updatedAt: z.ZodString;
13160
+ cloneUrl: z.ZodString;
13161
+ }, z.core.$strip>>;
13162
+ available: z.ZodLiteral<true>;
13163
+ error: z.ZodNull;
13164
+ }, z.core.$strip>, z.ZodObject<{
13165
+ status: z.ZodLiteral<"unavailable">;
13166
+ requestId: z.ZodString;
13167
+ repositories: z.ZodArray<z.ZodObject<{
13168
+ id: z.ZodString;
13169
+ name: z.ZodString;
13170
+ nameWithOwner: z.ZodString;
13171
+ description: z.ZodNullable<z.ZodString>;
13172
+ visibility: z.ZodEnum<{
13173
+ public: "public";
13174
+ private: "private";
13175
+ internal: "internal";
13176
+ }>;
13177
+ updatedAt: z.ZodString;
13178
+ cloneUrl: z.ZodString;
13179
+ }, z.core.$strip>>;
13180
+ reason: z.ZodLiteral<"gh_missing">;
13181
+ available: z.ZodLiteral<false>;
13182
+ error: z.ZodString;
13183
+ }, z.core.$strip>, z.ZodObject<{
13184
+ status: z.ZodLiteral<"unauthenticated">;
13185
+ requestId: z.ZodString;
13186
+ repositories: z.ZodArray<z.ZodObject<{
13187
+ id: z.ZodString;
13188
+ name: z.ZodString;
13189
+ nameWithOwner: z.ZodString;
13190
+ description: z.ZodNullable<z.ZodString>;
13191
+ visibility: z.ZodEnum<{
13192
+ public: "public";
13193
+ private: "private";
13194
+ internal: "internal";
13195
+ }>;
13196
+ updatedAt: z.ZodString;
13197
+ cloneUrl: z.ZodString;
13198
+ }, z.core.$strip>>;
13199
+ available: z.ZodLiteral<false>;
13200
+ error: z.ZodString;
13201
+ }, z.core.$strip>, z.ZodObject<{
13202
+ status: z.ZodLiteral<"error">;
13203
+ requestId: z.ZodString;
13204
+ repositories: z.ZodArray<z.ZodObject<{
13205
+ id: z.ZodString;
13206
+ name: z.ZodString;
13207
+ nameWithOwner: z.ZodString;
13208
+ description: z.ZodNullable<z.ZodString>;
13209
+ visibility: z.ZodEnum<{
13210
+ public: "public";
13211
+ private: "private";
13212
+ internal: "internal";
13213
+ }>;
13214
+ updatedAt: z.ZodString;
13215
+ cloneUrl: z.ZodString;
13216
+ }, z.core.$strip>>;
13217
+ available: z.ZodLiteral<true>;
13218
+ error: z.ZodString;
13219
+ }, z.core.$strip>], "status">;
13220
+ }, z.core.$strip>, z.ZodObject<{
13221
+ type: z.ZodLiteral<"project.github.clone.response">;
13222
+ payload: z.ZodObject<{
13223
+ requestId: z.ZodString;
13224
+ repo: z.ZodString;
13225
+ checkoutPath: z.ZodNullable<z.ZodString>;
13226
+ project: z.ZodNullable<z.ZodObject<{
13227
+ projectId: z.ZodString;
13228
+ projectDisplayName: z.ZodString;
13229
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13230
+ projectRootPath: z.ZodString;
13231
+ projectKind: z.ZodEnum<{
13232
+ git: "git";
13233
+ directory: "directory";
13234
+ non_git: "non_git";
13235
+ }>;
13236
+ }, z.core.$strip>>;
13237
+ error: z.ZodNullable<z.ZodString>;
13238
+ }, z.core.$strip>;
13239
+ }, z.core.$strip>, z.ZodObject<{
13240
+ type: z.ZodLiteral<"start_workspace_script_response">;
13241
+ payload: z.ZodObject<{
13242
+ requestId: z.ZodString;
13243
+ workspaceId: z.ZodString;
13244
+ scriptName: z.ZodString;
13245
+ terminalId: z.ZodNullable<z.ZodString>;
13246
+ error: z.ZodNullable<z.ZodString>;
13247
+ }, z.core.$strip>;
13248
+ }, z.core.$strip>, z.ZodObject<{
13249
+ type: z.ZodLiteral<"list_available_editors_response">;
13250
+ payload: z.ZodObject<{
12710
13251
  requestId: z.ZodString;
12711
13252
  editors: z.ZodArray<z.ZodObject<{
12712
13253
  id: z.ZodString;
@@ -12987,6 +13528,95 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
12987
13528
  }, z.core.$strip>>;
12988
13529
  error: z.ZodNullable<z.ZodString>;
12989
13530
  }, z.core.$strip>;
13531
+ }, z.core.$strip>, z.ZodObject<{
13532
+ type: z.ZodLiteral<"agent.provider_subagents.list.response">;
13533
+ payload: z.ZodObject<{
13534
+ requestId: z.ZodString;
13535
+ parentAgentId: z.ZodString;
13536
+ subagents: z.ZodArray<z.ZodObject<{
13537
+ id: z.ZodString;
13538
+ parentAgentId: z.ZodString;
13539
+ provider: z.ZodString;
13540
+ title: z.ZodNullable<z.ZodString>;
13541
+ description: z.ZodNullable<z.ZodString>;
13542
+ status: z.ZodEnum<{
13543
+ running: "running";
13544
+ completed: "completed";
13545
+ failed: "failed";
13546
+ canceled: "canceled";
13547
+ }>;
13548
+ createdAt: z.ZodString;
13549
+ updatedAt: z.ZodString;
13550
+ toolCallId: z.ZodNullable<z.ZodString>;
13551
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13552
+ }, z.core.$strip>>;
13553
+ error: z.ZodNullable<z.ZodString>;
13554
+ }, z.core.$strip>;
13555
+ }, z.core.$strip>, z.ZodObject<{
13556
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
13557
+ payload: z.ZodObject<{
13558
+ requestId: z.ZodString;
13559
+ parentAgentId: z.ZodString;
13560
+ subagentId: z.ZodString;
13561
+ provider: z.ZodNullable<z.ZodString>;
13562
+ direction: z.ZodEnum<{
13563
+ tail: "tail";
13564
+ before: "before";
13565
+ after: "after";
13566
+ }>;
13567
+ epoch: z.ZodString;
13568
+ reset: z.ZodBoolean;
13569
+ staleCursor: z.ZodBoolean;
13570
+ gap: z.ZodBoolean;
13571
+ window: z.ZodObject<{
13572
+ minSeq: z.ZodNumber;
13573
+ maxSeq: z.ZodNumber;
13574
+ nextSeq: z.ZodNumber;
13575
+ }, z.core.$strip>;
13576
+ hasOlder: z.ZodBoolean;
13577
+ hasNewer: z.ZodBoolean;
13578
+ rows: z.ZodArray<z.ZodObject<{
13579
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
13580
+ timestamp: z.ZodString;
13581
+ seq: z.ZodNumber;
13582
+ }, z.core.$strip>>;
13583
+ error: z.ZodNullable<z.ZodString>;
13584
+ }, z.core.$strip>;
13585
+ }, z.core.$strip>, z.ZodObject<{
13586
+ type: z.ZodLiteral<"agent.provider_subagents.update">;
13587
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13588
+ kind: z.ZodLiteral<"upsert">;
13589
+ subagent: z.ZodObject<{
13590
+ id: z.ZodString;
13591
+ parentAgentId: z.ZodString;
13592
+ provider: z.ZodString;
13593
+ title: z.ZodNullable<z.ZodString>;
13594
+ description: z.ZodNullable<z.ZodString>;
13595
+ status: z.ZodEnum<{
13596
+ running: "running";
13597
+ completed: "completed";
13598
+ failed: "failed";
13599
+ canceled: "canceled";
13600
+ }>;
13601
+ createdAt: z.ZodString;
13602
+ updatedAt: z.ZodString;
13603
+ toolCallId: z.ZodNullable<z.ZodString>;
13604
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13605
+ }, z.core.$strip>;
13606
+ }, z.core.$strip>, z.ZodObject<{
13607
+ kind: z.ZodLiteral<"timeline">;
13608
+ parentAgentId: z.ZodString;
13609
+ subagentId: z.ZodString;
13610
+ provider: z.ZodString;
13611
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
13612
+ timestamp: z.ZodString;
13613
+ seq: z.ZodNumber;
13614
+ epoch: z.ZodString;
13615
+ }, z.core.$strip>, z.ZodObject<{
13616
+ kind: z.ZodLiteral<"remove">;
13617
+ parentAgentId: z.ZodString;
13618
+ subagentId: z.ZodString;
13619
+ }, z.core.$strip>], "kind">;
12990
13620
  }, z.core.$strip>, z.ZodObject<{
12991
13621
  type: z.ZodLiteral<"agent.fork_context.response">;
12992
13622
  payload: z.ZodObject<{
@@ -13013,6 +13643,10 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13013
13643
  }>>>;
13014
13644
  itemCount: z.ZodNumber;
13015
13645
  boundaryMessageId: z.ZodNullable<z.ZodString>;
13646
+ boundaryCursor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13647
+ epoch: z.ZodString;
13648
+ seq: z.ZodNumber;
13649
+ }, z.core.$strip>>>;
13016
13650
  error: z.ZodNullable<z.ZodString>;
13017
13651
  }, z.core.$strip>;
13018
13652
  }, z.core.$strip>, z.ZodObject<{
@@ -13082,6 +13716,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13082
13716
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13083
13717
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
13084
13718
  }, z.core.$strip>>;
13719
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13085
13720
  }, z.core.$strip>;
13086
13721
  }, z.core.$strip>, z.ZodObject<{
13087
13722
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -13174,6 +13809,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13174
13809
  }>;
13175
13810
  name: z.ZodString;
13176
13811
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13812
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13177
13813
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13178
13814
  status: z.ZodEnum<{
13179
13815
  running: "running";
@@ -13377,6 +14013,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13377
14013
  }[];
13378
14014
  projectCustomName?: string | null | undefined;
13379
14015
  title?: string | null | undefined;
14016
+ pinnedAt?: string | null | undefined;
13380
14017
  diffStat?: {
13381
14018
  additions: number;
13382
14019
  deletions: number;
@@ -13481,6 +14118,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13481
14118
  projectCustomName?: string | null | undefined;
13482
14119
  workspaceDirectory?: string | undefined;
13483
14120
  title?: string | null | undefined;
14121
+ pinnedAt?: string | null | undefined;
13484
14122
  diffStat?: {
13485
14123
  additions: number;
13486
14124
  deletions: number;
@@ -13910,6 +14548,15 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
13910
14548
  title: z.ZodNullable<z.ZodString>;
13911
14549
  error: z.ZodNullable<z.ZodString>;
13912
14550
  }, z.core.$strip>;
14551
+ }, z.core.$strip>, z.ZodObject<{
14552
+ type: z.ZodLiteral<"workspace.pin.set.response">;
14553
+ payload: z.ZodObject<{
14554
+ requestId: z.ZodString;
14555
+ workspaceId: z.ZodString;
14556
+ accepted: z.ZodBoolean;
14557
+ pinnedAt: z.ZodNullable<z.ZodString>;
14558
+ error: z.ZodNullable<z.ZodString>;
14559
+ }, z.core.$strip>;
13913
14560
  }, z.core.$strip>, z.ZodObject<{
13914
14561
  type: z.ZodLiteral<"wait_for_finish_response">;
13915
14562
  payload: z.ZodObject<{
@@ -14861,6 +15508,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
14861
15508
  }>;
14862
15509
  name: z.ZodString;
14863
15510
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15511
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14864
15512
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
14865
15513
  status: z.ZodEnum<{
14866
15514
  running: "running";
@@ -15064,6 +15712,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15064
15712
  }[];
15065
15713
  projectCustomName?: string | null | undefined;
15066
15714
  title?: string | null | undefined;
15715
+ pinnedAt?: string | null | undefined;
15067
15716
  diffStat?: {
15068
15717
  additions: number;
15069
15718
  deletions: number;
@@ -15168,6 +15817,7 @@ export declare const SessionOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
15168
15817
  projectCustomName?: string | null | undefined;
15169
15818
  workspaceDirectory?: string | undefined;
15170
15819
  title?: string | null | undefined;
15820
+ pinnedAt?: string | null | undefined;
15171
15821
  diffStat?: {
15172
15822
  additions: number;
15173
15823
  deletions: number;
@@ -16711,8 +17361,12 @@ export type FetchAgentHistoryResponseMessage = z.infer<typeof FetchAgentHistoryR
16711
17361
  export type FetchRecentProviderSessionsResponseMessage = z.infer<typeof FetchRecentProviderSessionsResponseMessageSchema>;
16712
17362
  export type FetchWorkspacesResponseMessage = z.infer<typeof FetchWorkspacesResponseMessageSchema>;
16713
17363
  export type ProjectAddResponse = z.infer<typeof ProjectAddResponseSchema>;
17364
+ export type ProjectCreateDirectoryResponse = z.infer<typeof ProjectCreateDirectoryResponseSchema>;
16714
17365
  export type ScriptStatusUpdateMessage = z.infer<typeof ScriptStatusUpdateMessageSchema>;
16715
17366
  export type OpenProjectResponseMessage = z.infer<typeof OpenProjectResponseMessageSchema>;
17367
+ export type WorkspaceGithubSearchRepositoriesResponse = z.infer<typeof WorkspaceGithubSearchRepositoriesResponseSchema>;
17368
+ export type GithubRepository = z.infer<typeof GithubRepositorySchema>;
17369
+ export type ProjectGithubCloneResponse = z.infer<typeof ProjectGithubCloneResponseSchema>;
16716
17370
  export type StartWorkspaceScriptResponseMessage = z.infer<typeof StartWorkspaceScriptResponseMessageSchema>;
16717
17371
  export type LegacyListAvailableEditorsResponseMessage = z.infer<typeof LegacyListAvailableEditorsResponseMessageSchema>;
16718
17372
  export type LegacyOpenInEditorResponseMessage = z.infer<typeof LegacyOpenInEditorResponseMessageSchema>;
@@ -16734,6 +17388,8 @@ export type ProjectRenameResponse = z.infer<typeof ProjectRenameResponseSchema>;
16734
17388
  export type ProjectRemoveResponse = z.infer<typeof ProjectRemoveResponseSchema>;
16735
17389
  export type WorkspaceTitleSetResponse = z.infer<typeof WorkspaceTitleSetResponseSchema>;
16736
17390
  export type WorkspaceTitleSetResponsePayload = z.infer<typeof WorkspaceTitleSetResponsePayloadSchema>;
17391
+ export type WorkspacePinSetResponse = z.infer<typeof WorkspacePinSetResponseSchema>;
17392
+ export type WorkspacePinSetResponsePayload = z.infer<typeof WorkspacePinSetResponsePayloadSchema>;
16737
17393
  export type WorkspaceCreateRequest = z.infer<typeof WorkspaceCreateRequestSchema>;
16738
17394
  export type WorkspaceCreateResponse = z.infer<typeof WorkspaceCreateResponseSchema>;
16739
17395
  export type ProjectRenameResponsePayload = z.infer<typeof ProjectRenameResponsePayloadSchema>;
@@ -16834,6 +17490,7 @@ export type UpdateAgentRequestMessage = z.infer<typeof UpdateAgentRequestMessage
16834
17490
  export type ProjectRenameRequest = z.infer<typeof ProjectRenameRequestSchema>;
16835
17491
  export type ProjectRemoveRequest = z.infer<typeof ProjectRemoveRequestSchema>;
16836
17492
  export type WorkspaceTitleSetRequest = z.infer<typeof WorkspaceTitleSetRequestSchema>;
17493
+ export type WorkspacePinSetRequest = z.infer<typeof WorkspacePinSetRequestSchema>;
16837
17494
  export type SetAgentModeRequestMessage = z.infer<typeof SetAgentModeRequestMessageSchema>;
16838
17495
  export type SetAgentModelRequestMessage = z.infer<typeof SetAgentModelRequestMessageSchema>;
16839
17496
  export type SetAgentThinkingRequestMessage = z.infer<typeof SetAgentThinkingRequestMessageSchema>;
@@ -16906,6 +17563,11 @@ export type LegacyListAvailableEditorsRequest = z.infer<typeof LegacyListAvailab
16906
17563
  export type LegacyOpenInEditorRequest = z.infer<typeof LegacyOpenInEditorRequestSchema>;
16907
17564
  export type OpenProjectRequest = z.infer<typeof OpenProjectRequestSchema>;
16908
17565
  export type ProjectAddRequest = z.infer<typeof ProjectAddRequestSchema>;
17566
+ export type ProjectCreateDirectoryRequest = z.infer<typeof ProjectCreateDirectoryRequestSchema>;
17567
+ export type ProjectCreateDirectoryErrorCode = z.infer<typeof ProjectCreateDirectoryErrorCodeSchema>;
17568
+ export type WorkspaceGithubSearchRepositoriesRequest = z.infer<typeof WorkspaceGithubSearchRepositoriesRequestSchema>;
17569
+ export type ProjectGithubCloneRequest = z.infer<typeof ProjectGithubCloneRequestSchema>;
17570
+ export type ProjectGithubCloneProtocol = z.infer<typeof ProjectGithubCloneProtocolSchema>;
16909
17571
  export type ArchiveWorkspaceRequest = z.infer<typeof ArchiveWorkspaceRequestSchema>;
16910
17572
  export type WorkspaceClearAttentionRequest = z.infer<typeof WorkspaceClearAttentionRequestSchema>;
16911
17573
  export type FileExplorerRequest = z.infer<typeof FileExplorerRequestSchema>;
@@ -16974,6 +17636,7 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
16974
17636
  reasoning_merge_enum: z.ZodOptional<z.ZodBoolean>;
16975
17637
  custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
16976
17638
  terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
17639
+ provider_subagents: z.ZodOptional<z.ZodBoolean>;
16977
17640
  browser_host: z.ZodOptional<z.ZodObject<{
16978
17641
  supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("select" | "type" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>;
16979
17642
  hostKind: z.ZodDefault<z.ZodString>;
@@ -17345,6 +18008,11 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
17345
18008
  workspaceId: z.ZodString;
17346
18009
  title: z.ZodNullable<z.ZodString>;
17347
18010
  requestId: z.ZodString;
18011
+ }, z.core.$strip>, z.ZodObject<{
18012
+ type: z.ZodLiteral<"workspace.pin.set.request">;
18013
+ workspaceId: z.ZodString;
18014
+ pinned: z.ZodBoolean;
18015
+ requestId: z.ZodString;
17348
18016
  }, z.core.$strip>, z.ZodObject<{
17349
18017
  type: z.ZodLiteral<"set_voice_mode">;
17350
18018
  enabled: z.ZodBoolean;
@@ -17781,9 +18449,32 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
17781
18449
  projected: "projected";
17782
18450
  canonical: "canonical";
17783
18451
  }>>;
18452
+ }, z.core.$strip>, z.ZodObject<{
18453
+ type: z.ZodLiteral<"agent.provider_subagents.list.request">;
18454
+ parentAgentId: z.ZodString;
18455
+ requestId: z.ZodString;
18456
+ }, z.core.$strip>, z.ZodObject<{
18457
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
18458
+ parentAgentId: z.ZodString;
18459
+ subagentId: z.ZodString;
18460
+ requestId: z.ZodString;
18461
+ direction: z.ZodOptional<z.ZodEnum<{
18462
+ tail: "tail";
18463
+ before: "before";
18464
+ after: "after";
18465
+ }>>;
18466
+ cursor: z.ZodOptional<z.ZodObject<{
18467
+ epoch: z.ZodString;
18468
+ seq: z.ZodNumber;
18469
+ }, z.core.$strip>>;
18470
+ limit: z.ZodOptional<z.ZodNumber>;
17784
18471
  }, z.core.$strip>, z.ZodObject<{
17785
18472
  type: z.ZodLiteral<"agent.fork_context.request">;
17786
18473
  agentId: z.ZodString;
18474
+ boundaryCursor: z.ZodOptional<z.ZodObject<{
18475
+ epoch: z.ZodString;
18476
+ seq: z.ZodNumber;
18477
+ }, z.core.$strip>>;
17787
18478
  boundaryMessageId: z.ZodOptional<z.ZodString>;
17788
18479
  requestId: z.ZodString;
17789
18480
  }, z.core.$strip>, z.ZodObject<{
@@ -18155,6 +18846,25 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
18155
18846
  type: z.ZodLiteral<"project.add.request">;
18156
18847
  cwd: z.ZodString;
18157
18848
  requestId: z.ZodString;
18849
+ }, z.core.$strip>, z.ZodObject<{
18850
+ type: z.ZodLiteral<"project.create_directory.request">;
18851
+ parentPath: z.ZodString;
18852
+ name: z.ZodString;
18853
+ requestId: z.ZodString;
18854
+ }, z.core.$strip>, z.ZodObject<{
18855
+ type: z.ZodLiteral<"workspace.github.search_repositories.request">;
18856
+ query: z.ZodString;
18857
+ limit: z.ZodOptional<z.ZodNumber>;
18858
+ requestId: z.ZodString;
18859
+ }, z.core.$strip>, z.ZodObject<{
18860
+ type: z.ZodLiteral<"project.github.clone.request">;
18861
+ repo: z.ZodString;
18862
+ cloneProtocol: z.ZodOptional<z.ZodEnum<{
18863
+ https: "https";
18864
+ ssh: "ssh";
18865
+ }>>;
18866
+ targetDirectory: z.ZodString;
18867
+ requestId: z.ZodString;
18158
18868
  }, z.core.$strip>, z.ZodObject<{
18159
18869
  type: z.ZodLiteral<"archive_workspace_request">;
18160
18870
  workspaceId: z.ZodString;
@@ -18325,6 +19035,10 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
18325
19035
  agentId: z.ZodOptional<z.ZodString>;
18326
19036
  command: z.ZodOptional<z.ZodString>;
18327
19037
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
19038
+ size: z.ZodOptional<z.ZodObject<{
19039
+ rows: z.ZodNumber;
19040
+ cols: z.ZodNumber;
19041
+ }, z.core.$strip>>;
18328
19042
  requestId: z.ZodString;
18329
19043
  }, z.core.$strip>, z.ZodObject<{
18330
19044
  type: z.ZodLiteral<"terminal.rename.request">;
@@ -19013,6 +19727,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19013
19727
  }>;
19014
19728
  name: z.ZodString;
19015
19729
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19730
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19016
19731
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19017
19732
  status: z.ZodEnum<{
19018
19733
  running: "running";
@@ -19216,6 +19931,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19216
19931
  }[];
19217
19932
  projectCustomName?: string | null | undefined;
19218
19933
  title?: string | null | undefined;
19934
+ pinnedAt?: string | null | undefined;
19219
19935
  diffStat?: {
19220
19936
  additions: number;
19221
19937
  deletions: number;
@@ -19320,6 +20036,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19320
20036
  projectCustomName?: string | null | undefined;
19321
20037
  workspaceDirectory?: string | undefined;
19322
20038
  title?: string | null | undefined;
20039
+ pinnedAt?: string | null | undefined;
19323
20040
  diffStat?: {
19324
20041
  additions: number;
19325
20042
  deletions: number;
@@ -19985,6 +20702,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
19985
20702
  }>;
19986
20703
  name: z.ZodString;
19987
20704
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20705
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19988
20706
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
19989
20707
  status: z.ZodEnum<{
19990
20708
  running: "running";
@@ -20188,6 +20906,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20188
20906
  }[];
20189
20907
  projectCustomName?: string | null | undefined;
20190
20908
  title?: string | null | undefined;
20909
+ pinnedAt?: string | null | undefined;
20191
20910
  diffStat?: {
20192
20911
  additions: number;
20193
20912
  deletions: number;
@@ -20292,6 +21011,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20292
21011
  projectCustomName?: string | null | undefined;
20293
21012
  workspaceDirectory?: string | undefined;
20294
21013
  title?: string | null | undefined;
21014
+ pinnedAt?: string | null | undefined;
20295
21015
  diffStat?: {
20296
21016
  additions: number;
20297
21017
  deletions: number;
@@ -20406,6 +21126,25 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20406
21126
  directory_not_found: "directory_not_found";
20407
21127
  }>>>>;
20408
21128
  }, z.core.$strip>;
21129
+ }, z.core.$strip>, z.ZodObject<{
21130
+ type: z.ZodLiteral<"project.create_directory.response">;
21131
+ payload: z.ZodObject<{
21132
+ requestId: z.ZodString;
21133
+ directoryPath: z.ZodNullable<z.ZodString>;
21134
+ project: z.ZodNullable<z.ZodObject<{
21135
+ projectId: z.ZodString;
21136
+ projectDisplayName: z.ZodString;
21137
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21138
+ projectRootPath: z.ZodString;
21139
+ projectKind: z.ZodEnum<{
21140
+ git: "git";
21141
+ directory: "directory";
21142
+ non_git: "non_git";
21143
+ }>;
21144
+ }, z.core.$strip>>;
21145
+ error: z.ZodNullable<z.ZodString>;
21146
+ errorCode: z.ZodNullable<z.ZodString>;
21147
+ }, z.core.$strip>;
20409
21148
  }, z.core.$strip>, z.ZodObject<{
20410
21149
  type: z.ZodLiteral<"open_project_response">;
20411
21150
  payload: z.ZodObject<{
@@ -20430,6 +21169,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20430
21169
  }>;
20431
21170
  name: z.ZodString;
20432
21171
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21172
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20433
21173
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
20434
21174
  status: z.ZodEnum<{
20435
21175
  running: "running";
@@ -20633,6 +21373,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20633
21373
  }[];
20634
21374
  projectCustomName?: string | null | undefined;
20635
21375
  title?: string | null | undefined;
21376
+ pinnedAt?: string | null | undefined;
20636
21377
  diffStat?: {
20637
21378
  additions: number;
20638
21379
  deletions: number;
@@ -20737,6 +21478,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20737
21478
  projectCustomName?: string | null | undefined;
20738
21479
  workspaceDirectory?: string | undefined;
20739
21480
  title?: string | null | undefined;
21481
+ pinnedAt?: string | null | undefined;
20740
21482
  diffStat?: {
20741
21483
  additions: number;
20742
21484
  deletions: number;
@@ -20819,6 +21561,101 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
20819
21561
  directory_not_found: "directory_not_found";
20820
21562
  }>>>>;
20821
21563
  }, z.core.$strip>;
21564
+ }, z.core.$strip>, z.ZodObject<{
21565
+ type: z.ZodLiteral<"workspace.github.search_repositories.response">;
21566
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
21567
+ status: z.ZodLiteral<"success">;
21568
+ requestId: z.ZodString;
21569
+ repositories: z.ZodArray<z.ZodObject<{
21570
+ id: z.ZodString;
21571
+ name: z.ZodString;
21572
+ nameWithOwner: z.ZodString;
21573
+ description: z.ZodNullable<z.ZodString>;
21574
+ visibility: z.ZodEnum<{
21575
+ public: "public";
21576
+ private: "private";
21577
+ internal: "internal";
21578
+ }>;
21579
+ updatedAt: z.ZodString;
21580
+ cloneUrl: z.ZodString;
21581
+ }, z.core.$strip>>;
21582
+ available: z.ZodLiteral<true>;
21583
+ error: z.ZodNull;
21584
+ }, z.core.$strip>, z.ZodObject<{
21585
+ status: z.ZodLiteral<"unavailable">;
21586
+ requestId: z.ZodString;
21587
+ repositories: z.ZodArray<z.ZodObject<{
21588
+ id: z.ZodString;
21589
+ name: z.ZodString;
21590
+ nameWithOwner: z.ZodString;
21591
+ description: z.ZodNullable<z.ZodString>;
21592
+ visibility: z.ZodEnum<{
21593
+ public: "public";
21594
+ private: "private";
21595
+ internal: "internal";
21596
+ }>;
21597
+ updatedAt: z.ZodString;
21598
+ cloneUrl: z.ZodString;
21599
+ }, z.core.$strip>>;
21600
+ reason: z.ZodLiteral<"gh_missing">;
21601
+ available: z.ZodLiteral<false>;
21602
+ error: z.ZodString;
21603
+ }, z.core.$strip>, z.ZodObject<{
21604
+ status: z.ZodLiteral<"unauthenticated">;
21605
+ requestId: z.ZodString;
21606
+ repositories: z.ZodArray<z.ZodObject<{
21607
+ id: z.ZodString;
21608
+ name: z.ZodString;
21609
+ nameWithOwner: z.ZodString;
21610
+ description: z.ZodNullable<z.ZodString>;
21611
+ visibility: z.ZodEnum<{
21612
+ public: "public";
21613
+ private: "private";
21614
+ internal: "internal";
21615
+ }>;
21616
+ updatedAt: z.ZodString;
21617
+ cloneUrl: z.ZodString;
21618
+ }, z.core.$strip>>;
21619
+ available: z.ZodLiteral<false>;
21620
+ error: z.ZodString;
21621
+ }, z.core.$strip>, z.ZodObject<{
21622
+ status: z.ZodLiteral<"error">;
21623
+ requestId: z.ZodString;
21624
+ repositories: z.ZodArray<z.ZodObject<{
21625
+ id: z.ZodString;
21626
+ name: z.ZodString;
21627
+ nameWithOwner: z.ZodString;
21628
+ description: z.ZodNullable<z.ZodString>;
21629
+ visibility: z.ZodEnum<{
21630
+ public: "public";
21631
+ private: "private";
21632
+ internal: "internal";
21633
+ }>;
21634
+ updatedAt: z.ZodString;
21635
+ cloneUrl: z.ZodString;
21636
+ }, z.core.$strip>>;
21637
+ available: z.ZodLiteral<true>;
21638
+ error: z.ZodString;
21639
+ }, z.core.$strip>], "status">;
21640
+ }, z.core.$strip>, z.ZodObject<{
21641
+ type: z.ZodLiteral<"project.github.clone.response">;
21642
+ payload: z.ZodObject<{
21643
+ requestId: z.ZodString;
21644
+ repo: z.ZodString;
21645
+ checkoutPath: z.ZodNullable<z.ZodString>;
21646
+ project: z.ZodNullable<z.ZodObject<{
21647
+ projectId: z.ZodString;
21648
+ projectDisplayName: z.ZodString;
21649
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21650
+ projectRootPath: z.ZodString;
21651
+ projectKind: z.ZodEnum<{
21652
+ git: "git";
21653
+ directory: "directory";
21654
+ non_git: "non_git";
21655
+ }>;
21656
+ }, z.core.$strip>>;
21657
+ error: z.ZodNullable<z.ZodString>;
21658
+ }, z.core.$strip>;
20822
21659
  }, z.core.$strip>, z.ZodObject<{
20823
21660
  type: z.ZodLiteral<"start_workspace_script_response">;
20824
21661
  payload: z.ZodObject<{
@@ -21111,6 +21948,95 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21111
21948
  }, z.core.$strip>>;
21112
21949
  error: z.ZodNullable<z.ZodString>;
21113
21950
  }, z.core.$strip>;
21951
+ }, z.core.$strip>, z.ZodObject<{
21952
+ type: z.ZodLiteral<"agent.provider_subagents.list.response">;
21953
+ payload: z.ZodObject<{
21954
+ requestId: z.ZodString;
21955
+ parentAgentId: z.ZodString;
21956
+ subagents: z.ZodArray<z.ZodObject<{
21957
+ id: z.ZodString;
21958
+ parentAgentId: z.ZodString;
21959
+ provider: z.ZodString;
21960
+ title: z.ZodNullable<z.ZodString>;
21961
+ description: z.ZodNullable<z.ZodString>;
21962
+ status: z.ZodEnum<{
21963
+ running: "running";
21964
+ completed: "completed";
21965
+ failed: "failed";
21966
+ canceled: "canceled";
21967
+ }>;
21968
+ createdAt: z.ZodString;
21969
+ updatedAt: z.ZodString;
21970
+ toolCallId: z.ZodNullable<z.ZodString>;
21971
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21972
+ }, z.core.$strip>>;
21973
+ error: z.ZodNullable<z.ZodString>;
21974
+ }, z.core.$strip>;
21975
+ }, z.core.$strip>, z.ZodObject<{
21976
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
21977
+ payload: z.ZodObject<{
21978
+ requestId: z.ZodString;
21979
+ parentAgentId: z.ZodString;
21980
+ subagentId: z.ZodString;
21981
+ provider: z.ZodNullable<z.ZodString>;
21982
+ direction: z.ZodEnum<{
21983
+ tail: "tail";
21984
+ before: "before";
21985
+ after: "after";
21986
+ }>;
21987
+ epoch: z.ZodString;
21988
+ reset: z.ZodBoolean;
21989
+ staleCursor: z.ZodBoolean;
21990
+ gap: z.ZodBoolean;
21991
+ window: z.ZodObject<{
21992
+ minSeq: z.ZodNumber;
21993
+ maxSeq: z.ZodNumber;
21994
+ nextSeq: z.ZodNumber;
21995
+ }, z.core.$strip>;
21996
+ hasOlder: z.ZodBoolean;
21997
+ hasNewer: z.ZodBoolean;
21998
+ rows: z.ZodArray<z.ZodObject<{
21999
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
22000
+ timestamp: z.ZodString;
22001
+ seq: z.ZodNumber;
22002
+ }, z.core.$strip>>;
22003
+ error: z.ZodNullable<z.ZodString>;
22004
+ }, z.core.$strip>;
22005
+ }, z.core.$strip>, z.ZodObject<{
22006
+ type: z.ZodLiteral<"agent.provider_subagents.update">;
22007
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
22008
+ kind: z.ZodLiteral<"upsert">;
22009
+ subagent: z.ZodObject<{
22010
+ id: z.ZodString;
22011
+ parentAgentId: z.ZodString;
22012
+ provider: z.ZodString;
22013
+ title: z.ZodNullable<z.ZodString>;
22014
+ description: z.ZodNullable<z.ZodString>;
22015
+ status: z.ZodEnum<{
22016
+ running: "running";
22017
+ completed: "completed";
22018
+ failed: "failed";
22019
+ canceled: "canceled";
22020
+ }>;
22021
+ createdAt: z.ZodString;
22022
+ updatedAt: z.ZodString;
22023
+ toolCallId: z.ZodNullable<z.ZodString>;
22024
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22025
+ }, z.core.$strip>;
22026
+ }, z.core.$strip>, z.ZodObject<{
22027
+ kind: z.ZodLiteral<"timeline">;
22028
+ parentAgentId: z.ZodString;
22029
+ subagentId: z.ZodString;
22030
+ provider: z.ZodString;
22031
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
22032
+ timestamp: z.ZodString;
22033
+ seq: z.ZodNumber;
22034
+ epoch: z.ZodString;
22035
+ }, z.core.$strip>, z.ZodObject<{
22036
+ kind: z.ZodLiteral<"remove">;
22037
+ parentAgentId: z.ZodString;
22038
+ subagentId: z.ZodString;
22039
+ }, z.core.$strip>], "kind">;
21114
22040
  }, z.core.$strip>, z.ZodObject<{
21115
22041
  type: z.ZodLiteral<"agent.fork_context.response">;
21116
22042
  payload: z.ZodObject<{
@@ -21137,6 +22063,10 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21137
22063
  }>>>;
21138
22064
  itemCount: z.ZodNumber;
21139
22065
  boundaryMessageId: z.ZodNullable<z.ZodString>;
22066
+ boundaryCursor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22067
+ epoch: z.ZodString;
22068
+ seq: z.ZodNumber;
22069
+ }, z.core.$strip>>>;
21140
22070
  error: z.ZodNullable<z.ZodString>;
21141
22071
  }, z.core.$strip>;
21142
22072
  }, z.core.$strip>, z.ZodObject<{
@@ -21206,6 +22136,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21206
22136
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21207
22137
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
21208
22138
  }, z.core.$strip>>;
22139
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21209
22140
  }, z.core.$strip>;
21210
22141
  }, z.core.$strip>, z.ZodObject<{
21211
22142
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -21298,6 +22229,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21298
22229
  }>;
21299
22230
  name: z.ZodString;
21300
22231
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22232
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21301
22233
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
21302
22234
  status: z.ZodEnum<{
21303
22235
  running: "running";
@@ -21501,6 +22433,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21501
22433
  }[];
21502
22434
  projectCustomName?: string | null | undefined;
21503
22435
  title?: string | null | undefined;
22436
+ pinnedAt?: string | null | undefined;
21504
22437
  diffStat?: {
21505
22438
  additions: number;
21506
22439
  deletions: number;
@@ -21605,6 +22538,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
21605
22538
  projectCustomName?: string | null | undefined;
21606
22539
  workspaceDirectory?: string | undefined;
21607
22540
  title?: string | null | undefined;
22541
+ pinnedAt?: string | null | undefined;
21608
22542
  diffStat?: {
21609
22543
  additions: number;
21610
22544
  deletions: number;
@@ -22034,6 +22968,15 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22034
22968
  title: z.ZodNullable<z.ZodString>;
22035
22969
  error: z.ZodNullable<z.ZodString>;
22036
22970
  }, z.core.$strip>;
22971
+ }, z.core.$strip>, z.ZodObject<{
22972
+ type: z.ZodLiteral<"workspace.pin.set.response">;
22973
+ payload: z.ZodObject<{
22974
+ requestId: z.ZodString;
22975
+ workspaceId: z.ZodString;
22976
+ accepted: z.ZodBoolean;
22977
+ pinnedAt: z.ZodNullable<z.ZodString>;
22978
+ error: z.ZodNullable<z.ZodString>;
22979
+ }, z.core.$strip>;
22037
22980
  }, z.core.$strip>, z.ZodObject<{
22038
22981
  type: z.ZodLiteral<"wait_for_finish_response">;
22039
22982
  payload: z.ZodObject<{
@@ -22985,6 +23928,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
22985
23928
  }>;
22986
23929
  name: z.ZodString;
22987
23930
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23931
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22988
23932
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
22989
23933
  status: z.ZodEnum<{
22990
23934
  running: "running";
@@ -23188,6 +24132,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23188
24132
  }[];
23189
24133
  projectCustomName?: string | null | undefined;
23190
24134
  title?: string | null | undefined;
24135
+ pinnedAt?: string | null | undefined;
23191
24136
  diffStat?: {
23192
24137
  additions: number;
23193
24138
  deletions: number;
@@ -23292,6 +24237,7 @@ export declare const WSSessionOutboundSchema: z.ZodObject<{
23292
24237
  projectCustomName?: string | null | undefined;
23293
24238
  workspaceDirectory?: string | undefined;
23294
24239
  title?: string | null | undefined;
24240
+ pinnedAt?: string | null | undefined;
23295
24241
  diffStat?: {
23296
24242
  additions: number;
23297
24243
  deletions: number;
@@ -24824,6 +25770,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
24824
25770
  reasoning_merge_enum: z.ZodOptional<z.ZodBoolean>;
24825
25771
  custom_mode_icons: z.ZodOptional<z.ZodBoolean>;
24826
25772
  terminal_reflowable_snapshot: z.ZodOptional<z.ZodBoolean>;
25773
+ provider_subagents: z.ZodOptional<z.ZodBoolean>;
24827
25774
  browser_host: z.ZodOptional<z.ZodObject<{
24828
25775
  supportedCommands: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("select" | "type" | "fill" | "logs" | "list_tabs" | "new_tab" | "snapshot" | "click" | "wait" | "keypress" | "navigate" | "back" | "forward" | "reload" | "screenshot" | "upload" | "hover" | "drag" | "evaluate" | "scroll" | "resize" | "close_tab")[], string[]>>;
24829
25776
  hostKind: z.ZodDefault<z.ZodString>;
@@ -25193,6 +26140,11 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
25193
26140
  workspaceId: z.ZodString;
25194
26141
  title: z.ZodNullable<z.ZodString>;
25195
26142
  requestId: z.ZodString;
26143
+ }, z.core.$strip>, z.ZodObject<{
26144
+ type: z.ZodLiteral<"workspace.pin.set.request">;
26145
+ workspaceId: z.ZodString;
26146
+ pinned: z.ZodBoolean;
26147
+ requestId: z.ZodString;
25196
26148
  }, z.core.$strip>, z.ZodObject<{
25197
26149
  type: z.ZodLiteral<"set_voice_mode">;
25198
26150
  enabled: z.ZodBoolean;
@@ -25629,9 +26581,32 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
25629
26581
  projected: "projected";
25630
26582
  canonical: "canonical";
25631
26583
  }>>;
26584
+ }, z.core.$strip>, z.ZodObject<{
26585
+ type: z.ZodLiteral<"agent.provider_subagents.list.request">;
26586
+ parentAgentId: z.ZodString;
26587
+ requestId: z.ZodString;
26588
+ }, z.core.$strip>, z.ZodObject<{
26589
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.request">;
26590
+ parentAgentId: z.ZodString;
26591
+ subagentId: z.ZodString;
26592
+ requestId: z.ZodString;
26593
+ direction: z.ZodOptional<z.ZodEnum<{
26594
+ tail: "tail";
26595
+ before: "before";
26596
+ after: "after";
26597
+ }>>;
26598
+ cursor: z.ZodOptional<z.ZodObject<{
26599
+ epoch: z.ZodString;
26600
+ seq: z.ZodNumber;
26601
+ }, z.core.$strip>>;
26602
+ limit: z.ZodOptional<z.ZodNumber>;
25632
26603
  }, z.core.$strip>, z.ZodObject<{
25633
26604
  type: z.ZodLiteral<"agent.fork_context.request">;
25634
26605
  agentId: z.ZodString;
26606
+ boundaryCursor: z.ZodOptional<z.ZodObject<{
26607
+ epoch: z.ZodString;
26608
+ seq: z.ZodNumber;
26609
+ }, z.core.$strip>>;
25635
26610
  boundaryMessageId: z.ZodOptional<z.ZodString>;
25636
26611
  requestId: z.ZodString;
25637
26612
  }, z.core.$strip>, z.ZodObject<{
@@ -26003,6 +26978,25 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
26003
26978
  type: z.ZodLiteral<"project.add.request">;
26004
26979
  cwd: z.ZodString;
26005
26980
  requestId: z.ZodString;
26981
+ }, z.core.$strip>, z.ZodObject<{
26982
+ type: z.ZodLiteral<"project.create_directory.request">;
26983
+ parentPath: z.ZodString;
26984
+ name: z.ZodString;
26985
+ requestId: z.ZodString;
26986
+ }, z.core.$strip>, z.ZodObject<{
26987
+ type: z.ZodLiteral<"workspace.github.search_repositories.request">;
26988
+ query: z.ZodString;
26989
+ limit: z.ZodOptional<z.ZodNumber>;
26990
+ requestId: z.ZodString;
26991
+ }, z.core.$strip>, z.ZodObject<{
26992
+ type: z.ZodLiteral<"project.github.clone.request">;
26993
+ repo: z.ZodString;
26994
+ cloneProtocol: z.ZodOptional<z.ZodEnum<{
26995
+ https: "https";
26996
+ ssh: "ssh";
26997
+ }>>;
26998
+ targetDirectory: z.ZodString;
26999
+ requestId: z.ZodString;
26006
27000
  }, z.core.$strip>, z.ZodObject<{
26007
27001
  type: z.ZodLiteral<"archive_workspace_request">;
26008
27002
  workspaceId: z.ZodString;
@@ -26173,6 +27167,10 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
26173
27167
  agentId: z.ZodOptional<z.ZodString>;
26174
27168
  command: z.ZodOptional<z.ZodString>;
26175
27169
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
27170
+ size: z.ZodOptional<z.ZodObject<{
27171
+ rows: z.ZodNumber;
27172
+ cols: z.ZodNumber;
27173
+ }, z.core.$strip>>;
26176
27174
  requestId: z.ZodString;
26177
27175
  }, z.core.$strip>, z.ZodObject<{
26178
27176
  type: z.ZodLiteral<"terminal.rename.request">;
@@ -26863,6 +27861,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
26863
27861
  }>;
26864
27862
  name: z.ZodString;
26865
27863
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27864
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26866
27865
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
26867
27866
  status: z.ZodEnum<{
26868
27867
  running: "running";
@@ -27066,6 +28065,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
27066
28065
  }[];
27067
28066
  projectCustomName?: string | null | undefined;
27068
28067
  title?: string | null | undefined;
28068
+ pinnedAt?: string | null | undefined;
27069
28069
  diffStat?: {
27070
28070
  additions: number;
27071
28071
  deletions: number;
@@ -27170,6 +28170,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
27170
28170
  projectCustomName?: string | null | undefined;
27171
28171
  workspaceDirectory?: string | undefined;
27172
28172
  title?: string | null | undefined;
28173
+ pinnedAt?: string | null | undefined;
27173
28174
  diffStat?: {
27174
28175
  additions: number;
27175
28176
  deletions: number;
@@ -27835,6 +28836,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
27835
28836
  }>;
27836
28837
  name: z.ZodString;
27837
28838
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28839
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27838
28840
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
27839
28841
  status: z.ZodEnum<{
27840
28842
  running: "running";
@@ -28038,6 +29040,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28038
29040
  }[];
28039
29041
  projectCustomName?: string | null | undefined;
28040
29042
  title?: string | null | undefined;
29043
+ pinnedAt?: string | null | undefined;
28041
29044
  diffStat?: {
28042
29045
  additions: number;
28043
29046
  deletions: number;
@@ -28142,6 +29145,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28142
29145
  projectCustomName?: string | null | undefined;
28143
29146
  workspaceDirectory?: string | undefined;
28144
29147
  title?: string | null | undefined;
29148
+ pinnedAt?: string | null | undefined;
28145
29149
  diffStat?: {
28146
29150
  additions: number;
28147
29151
  deletions: number;
@@ -28256,6 +29260,25 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28256
29260
  directory_not_found: "directory_not_found";
28257
29261
  }>>>>;
28258
29262
  }, z.core.$strip>;
29263
+ }, z.core.$strip>, z.ZodObject<{
29264
+ type: z.ZodLiteral<"project.create_directory.response">;
29265
+ payload: z.ZodObject<{
29266
+ requestId: z.ZodString;
29267
+ directoryPath: z.ZodNullable<z.ZodString>;
29268
+ project: z.ZodNullable<z.ZodObject<{
29269
+ projectId: z.ZodString;
29270
+ projectDisplayName: z.ZodString;
29271
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29272
+ projectRootPath: z.ZodString;
29273
+ projectKind: z.ZodEnum<{
29274
+ git: "git";
29275
+ directory: "directory";
29276
+ non_git: "non_git";
29277
+ }>;
29278
+ }, z.core.$strip>>;
29279
+ error: z.ZodNullable<z.ZodString>;
29280
+ errorCode: z.ZodNullable<z.ZodString>;
29281
+ }, z.core.$strip>;
28259
29282
  }, z.core.$strip>, z.ZodObject<{
28260
29283
  type: z.ZodLiteral<"open_project_response">;
28261
29284
  payload: z.ZodObject<{
@@ -28280,6 +29303,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28280
29303
  }>;
28281
29304
  name: z.ZodString;
28282
29305
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29306
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28283
29307
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
28284
29308
  status: z.ZodEnum<{
28285
29309
  running: "running";
@@ -28483,6 +29507,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28483
29507
  }[];
28484
29508
  projectCustomName?: string | null | undefined;
28485
29509
  title?: string | null | undefined;
29510
+ pinnedAt?: string | null | undefined;
28486
29511
  diffStat?: {
28487
29512
  additions: number;
28488
29513
  deletions: number;
@@ -28587,6 +29612,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28587
29612
  projectCustomName?: string | null | undefined;
28588
29613
  workspaceDirectory?: string | undefined;
28589
29614
  title?: string | null | undefined;
29615
+ pinnedAt?: string | null | undefined;
28590
29616
  diffStat?: {
28591
29617
  additions: number;
28592
29618
  deletions: number;
@@ -28669,6 +29695,101 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28669
29695
  directory_not_found: "directory_not_found";
28670
29696
  }>>>>;
28671
29697
  }, z.core.$strip>;
29698
+ }, z.core.$strip>, z.ZodObject<{
29699
+ type: z.ZodLiteral<"workspace.github.search_repositories.response">;
29700
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
29701
+ status: z.ZodLiteral<"success">;
29702
+ requestId: z.ZodString;
29703
+ repositories: z.ZodArray<z.ZodObject<{
29704
+ id: z.ZodString;
29705
+ name: z.ZodString;
29706
+ nameWithOwner: z.ZodString;
29707
+ description: z.ZodNullable<z.ZodString>;
29708
+ visibility: z.ZodEnum<{
29709
+ public: "public";
29710
+ private: "private";
29711
+ internal: "internal";
29712
+ }>;
29713
+ updatedAt: z.ZodString;
29714
+ cloneUrl: z.ZodString;
29715
+ }, z.core.$strip>>;
29716
+ available: z.ZodLiteral<true>;
29717
+ error: z.ZodNull;
29718
+ }, z.core.$strip>, z.ZodObject<{
29719
+ status: z.ZodLiteral<"unavailable">;
29720
+ requestId: z.ZodString;
29721
+ repositories: z.ZodArray<z.ZodObject<{
29722
+ id: z.ZodString;
29723
+ name: z.ZodString;
29724
+ nameWithOwner: z.ZodString;
29725
+ description: z.ZodNullable<z.ZodString>;
29726
+ visibility: z.ZodEnum<{
29727
+ public: "public";
29728
+ private: "private";
29729
+ internal: "internal";
29730
+ }>;
29731
+ updatedAt: z.ZodString;
29732
+ cloneUrl: z.ZodString;
29733
+ }, z.core.$strip>>;
29734
+ reason: z.ZodLiteral<"gh_missing">;
29735
+ available: z.ZodLiteral<false>;
29736
+ error: z.ZodString;
29737
+ }, z.core.$strip>, z.ZodObject<{
29738
+ status: z.ZodLiteral<"unauthenticated">;
29739
+ requestId: z.ZodString;
29740
+ repositories: z.ZodArray<z.ZodObject<{
29741
+ id: z.ZodString;
29742
+ name: z.ZodString;
29743
+ nameWithOwner: z.ZodString;
29744
+ description: z.ZodNullable<z.ZodString>;
29745
+ visibility: z.ZodEnum<{
29746
+ public: "public";
29747
+ private: "private";
29748
+ internal: "internal";
29749
+ }>;
29750
+ updatedAt: z.ZodString;
29751
+ cloneUrl: z.ZodString;
29752
+ }, z.core.$strip>>;
29753
+ available: z.ZodLiteral<false>;
29754
+ error: z.ZodString;
29755
+ }, z.core.$strip>, z.ZodObject<{
29756
+ status: z.ZodLiteral<"error">;
29757
+ requestId: z.ZodString;
29758
+ repositories: z.ZodArray<z.ZodObject<{
29759
+ id: z.ZodString;
29760
+ name: z.ZodString;
29761
+ nameWithOwner: z.ZodString;
29762
+ description: z.ZodNullable<z.ZodString>;
29763
+ visibility: z.ZodEnum<{
29764
+ public: "public";
29765
+ private: "private";
29766
+ internal: "internal";
29767
+ }>;
29768
+ updatedAt: z.ZodString;
29769
+ cloneUrl: z.ZodString;
29770
+ }, z.core.$strip>>;
29771
+ available: z.ZodLiteral<true>;
29772
+ error: z.ZodString;
29773
+ }, z.core.$strip>], "status">;
29774
+ }, z.core.$strip>, z.ZodObject<{
29775
+ type: z.ZodLiteral<"project.github.clone.response">;
29776
+ payload: z.ZodObject<{
29777
+ requestId: z.ZodString;
29778
+ repo: z.ZodString;
29779
+ checkoutPath: z.ZodNullable<z.ZodString>;
29780
+ project: z.ZodNullable<z.ZodObject<{
29781
+ projectId: z.ZodString;
29782
+ projectDisplayName: z.ZodString;
29783
+ projectCustomName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29784
+ projectRootPath: z.ZodString;
29785
+ projectKind: z.ZodEnum<{
29786
+ git: "git";
29787
+ directory: "directory";
29788
+ non_git: "non_git";
29789
+ }>;
29790
+ }, z.core.$strip>>;
29791
+ error: z.ZodNullable<z.ZodString>;
29792
+ }, z.core.$strip>;
28672
29793
  }, z.core.$strip>, z.ZodObject<{
28673
29794
  type: z.ZodLiteral<"start_workspace_script_response">;
28674
29795
  payload: z.ZodObject<{
@@ -28961,6 +30082,95 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28961
30082
  }, z.core.$strip>>;
28962
30083
  error: z.ZodNullable<z.ZodString>;
28963
30084
  }, z.core.$strip>;
30085
+ }, z.core.$strip>, z.ZodObject<{
30086
+ type: z.ZodLiteral<"agent.provider_subagents.list.response">;
30087
+ payload: z.ZodObject<{
30088
+ requestId: z.ZodString;
30089
+ parentAgentId: z.ZodString;
30090
+ subagents: z.ZodArray<z.ZodObject<{
30091
+ id: z.ZodString;
30092
+ parentAgentId: z.ZodString;
30093
+ provider: z.ZodString;
30094
+ title: z.ZodNullable<z.ZodString>;
30095
+ description: z.ZodNullable<z.ZodString>;
30096
+ status: z.ZodEnum<{
30097
+ running: "running";
30098
+ completed: "completed";
30099
+ failed: "failed";
30100
+ canceled: "canceled";
30101
+ }>;
30102
+ createdAt: z.ZodString;
30103
+ updatedAt: z.ZodString;
30104
+ toolCallId: z.ZodNullable<z.ZodString>;
30105
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30106
+ }, z.core.$strip>>;
30107
+ error: z.ZodNullable<z.ZodString>;
30108
+ }, z.core.$strip>;
30109
+ }, z.core.$strip>, z.ZodObject<{
30110
+ type: z.ZodLiteral<"agent.provider_subagents.timeline.get.response">;
30111
+ payload: z.ZodObject<{
30112
+ requestId: z.ZodString;
30113
+ parentAgentId: z.ZodString;
30114
+ subagentId: z.ZodString;
30115
+ provider: z.ZodNullable<z.ZodString>;
30116
+ direction: z.ZodEnum<{
30117
+ tail: "tail";
30118
+ before: "before";
30119
+ after: "after";
30120
+ }>;
30121
+ epoch: z.ZodString;
30122
+ reset: z.ZodBoolean;
30123
+ staleCursor: z.ZodBoolean;
30124
+ gap: z.ZodBoolean;
30125
+ window: z.ZodObject<{
30126
+ minSeq: z.ZodNumber;
30127
+ maxSeq: z.ZodNumber;
30128
+ nextSeq: z.ZodNumber;
30129
+ }, z.core.$strip>;
30130
+ hasOlder: z.ZodBoolean;
30131
+ hasNewer: z.ZodBoolean;
30132
+ rows: z.ZodArray<z.ZodObject<{
30133
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
30134
+ timestamp: z.ZodString;
30135
+ seq: z.ZodNumber;
30136
+ }, z.core.$strip>>;
30137
+ error: z.ZodNullable<z.ZodString>;
30138
+ }, z.core.$strip>;
30139
+ }, z.core.$strip>, z.ZodObject<{
30140
+ type: z.ZodLiteral<"agent.provider_subagents.update">;
30141
+ payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
30142
+ kind: z.ZodLiteral<"upsert">;
30143
+ subagent: z.ZodObject<{
30144
+ id: z.ZodString;
30145
+ parentAgentId: z.ZodString;
30146
+ provider: z.ZodString;
30147
+ title: z.ZodNullable<z.ZodString>;
30148
+ description: z.ZodNullable<z.ZodString>;
30149
+ status: z.ZodEnum<{
30150
+ running: "running";
30151
+ completed: "completed";
30152
+ failed: "failed";
30153
+ canceled: "canceled";
30154
+ }>;
30155
+ createdAt: z.ZodString;
30156
+ updatedAt: z.ZodString;
30157
+ toolCallId: z.ZodNullable<z.ZodString>;
30158
+ cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30159
+ }, z.core.$strip>;
30160
+ }, z.core.$strip>, z.ZodObject<{
30161
+ kind: z.ZodLiteral<"timeline">;
30162
+ parentAgentId: z.ZodString;
30163
+ subagentId: z.ZodString;
30164
+ provider: z.ZodString;
30165
+ item: z.ZodType<AgentTimelineItem, unknown, z.core.$ZodTypeInternals<AgentTimelineItem, unknown>>;
30166
+ timestamp: z.ZodString;
30167
+ seq: z.ZodNumber;
30168
+ epoch: z.ZodString;
30169
+ }, z.core.$strip>, z.ZodObject<{
30170
+ kind: z.ZodLiteral<"remove">;
30171
+ parentAgentId: z.ZodString;
30172
+ subagentId: z.ZodString;
30173
+ }, z.core.$strip>], "kind">;
28964
30174
  }, z.core.$strip>, z.ZodObject<{
28965
30175
  type: z.ZodLiteral<"agent.fork_context.response">;
28966
30176
  payload: z.ZodObject<{
@@ -28987,6 +30197,10 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
28987
30197
  }>>>;
28988
30198
  itemCount: z.ZodNumber;
28989
30199
  boundaryMessageId: z.ZodNullable<z.ZodString>;
30200
+ boundaryCursor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30201
+ epoch: z.ZodString;
30202
+ seq: z.ZodNumber;
30203
+ }, z.core.$strip>>>;
28990
30204
  error: z.ZodNullable<z.ZodString>;
28991
30205
  }, z.core.$strip>;
28992
30206
  }, z.core.$strip>, z.ZodObject<{
@@ -29056,6 +30270,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
29056
30270
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29057
30271
  providerUnavailable: z.ZodOptional<z.ZodBoolean>;
29058
30272
  }, z.core.$strip>>;
30273
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29059
30274
  }, z.core.$strip>;
29060
30275
  }, z.core.$strip>, z.ZodObject<{
29061
30276
  type: z.ZodLiteral<"clear_agent_attention_response">;
@@ -29148,6 +30363,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
29148
30363
  }>;
29149
30364
  name: z.ZodString;
29150
30365
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30366
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29151
30367
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
29152
30368
  status: z.ZodEnum<{
29153
30369
  running: "running";
@@ -29351,6 +30567,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
29351
30567
  }[];
29352
30568
  projectCustomName?: string | null | undefined;
29353
30569
  title?: string | null | undefined;
30570
+ pinnedAt?: string | null | undefined;
29354
30571
  diffStat?: {
29355
30572
  additions: number;
29356
30573
  deletions: number;
@@ -29455,6 +30672,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
29455
30672
  projectCustomName?: string | null | undefined;
29456
30673
  workspaceDirectory?: string | undefined;
29457
30674
  title?: string | null | undefined;
30675
+ pinnedAt?: string | null | undefined;
29458
30676
  diffStat?: {
29459
30677
  additions: number;
29460
30678
  deletions: number;
@@ -29884,6 +31102,15 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
29884
31102
  title: z.ZodNullable<z.ZodString>;
29885
31103
  error: z.ZodNullable<z.ZodString>;
29886
31104
  }, z.core.$strip>;
31105
+ }, z.core.$strip>, z.ZodObject<{
31106
+ type: z.ZodLiteral<"workspace.pin.set.response">;
31107
+ payload: z.ZodObject<{
31108
+ requestId: z.ZodString;
31109
+ workspaceId: z.ZodString;
31110
+ accepted: z.ZodBoolean;
31111
+ pinnedAt: z.ZodNullable<z.ZodString>;
31112
+ error: z.ZodNullable<z.ZodString>;
31113
+ }, z.core.$strip>;
29887
31114
  }, z.core.$strip>, z.ZodObject<{
29888
31115
  type: z.ZodLiteral<"wait_for_finish_response">;
29889
31116
  payload: z.ZodObject<{
@@ -30835,6 +32062,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
30835
32062
  }>;
30836
32063
  name: z.ZodString;
30837
32064
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32065
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30838
32066
  archivingAt: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
30839
32067
  status: z.ZodEnum<{
30840
32068
  running: "running";
@@ -31038,6 +32266,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
31038
32266
  }[];
31039
32267
  projectCustomName?: string | null | undefined;
31040
32268
  title?: string | null | undefined;
32269
+ pinnedAt?: string | null | undefined;
31041
32270
  diffStat?: {
31042
32271
  additions: number;
31043
32272
  deletions: number;
@@ -31142,6 +32371,7 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObje
31142
32371
  projectCustomName?: string | null | undefined;
31143
32372
  workspaceDirectory?: string | undefined;
31144
32373
  title?: string | null | undefined;
32374
+ pinnedAt?: string | null | undefined;
31145
32375
  diffStat?: {
31146
32376
  additions: number;
31147
32377
  deletions: number;