linkshell-cli 0.2.122 → 0.2.124

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.
@@ -4,6 +4,8 @@ export declare const deviceRoleSchema: z.ZodEnum<["host", "client"]>;
4
4
  export type DeviceRole = z.infer<typeof deviceRoleSchema>;
5
5
  export declare const sessionStateSchema: z.ZodEnum<["pending_pairing", "connecting", "active", "reconnecting", "idle", "terminated"]>;
6
6
  export type SessionState = z.infer<typeof sessionStateSchema>;
7
+ export declare const terminalProviderSchema: z.ZodEnum<["claude", "codex", "gemini", "copilot", "custom"]>;
8
+ export type TerminalProvider = z.infer<typeof terminalProviderSchema>;
7
9
  export declare const errorCodeSchema: z.ZodEnum<["session_not_found", "pairing_expired", "pairing_not_found", "control_conflict", "session_terminated", "ack_out_of_range", "invalid_message", "unauthorized"]>;
8
10
  export type ErrorCode = z.infer<typeof errorCodeSchema>;
9
11
  export declare const envelopeSchema: z.ZodObject<{
@@ -80,7 +82,7 @@ export declare const terminalResizePayloadSchema: z.ZodObject<{
80
82
  export declare const sessionConnectPayloadSchema: z.ZodObject<{
81
83
  role: z.ZodEnum<["host", "client"]>;
82
84
  clientName: z.ZodString;
83
- provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "custom"]>>;
85
+ provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "gemini", "copilot", "custom"]>>;
84
86
  protocolVersion: z.ZodOptional<z.ZodNumber>;
85
87
  machineId: z.ZodOptional<z.ZodString>;
86
88
  hostname: z.ZodOptional<z.ZodString>;
@@ -88,23 +90,23 @@ export declare const sessionConnectPayloadSchema: z.ZodObject<{
88
90
  cwd: z.ZodOptional<z.ZodString>;
89
91
  projectName: z.ZodOptional<z.ZodString>;
90
92
  }, "strip", z.ZodTypeAny, {
91
- role: "host" | "client";
92
93
  clientName: string;
94
+ role: "host" | "client";
95
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
96
+ hostname?: string | undefined;
93
97
  cwd?: string | undefined;
94
- provider?: "claude" | "codex" | "custom" | undefined;
95
98
  protocolVersion?: number | undefined;
96
99
  machineId?: string | undefined;
97
- hostname?: string | undefined;
98
100
  platform?: string | undefined;
99
101
  projectName?: string | undefined;
100
102
  }, {
101
- role: "host" | "client";
102
103
  clientName: string;
104
+ role: "host" | "client";
105
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
106
+ hostname?: string | undefined;
103
107
  cwd?: string | undefined;
104
- provider?: "claude" | "codex" | "custom" | undefined;
105
108
  protocolVersion?: number | undefined;
106
109
  machineId?: string | undefined;
107
- hostname?: string | undefined;
108
110
  platform?: string | undefined;
109
111
  projectName?: string | undefined;
110
112
  }>;
@@ -289,13 +291,13 @@ export declare const screenIcePayloadSchema: z.ZodObject<{
289
291
  }>;
290
292
  export declare const terminalSpawnPayloadSchema: z.ZodObject<{
291
293
  cwd: z.ZodString;
292
- provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "custom"]>>;
294
+ provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "gemini", "copilot", "custom"]>>;
293
295
  }, "strip", z.ZodTypeAny, {
294
296
  cwd: string;
295
- provider?: "claude" | "codex" | "custom" | undefined;
297
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
296
298
  }, {
297
299
  cwd: string;
298
- provider?: "claude" | "codex" | "custom" | undefined;
300
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
299
301
  }>;
300
302
  export declare const terminalInfoSchema: z.ZodObject<{
301
303
  terminalId: z.ZodString;
@@ -304,16 +306,16 @@ export declare const terminalInfoSchema: z.ZodObject<{
304
306
  provider: z.ZodString;
305
307
  status: z.ZodEnum<["running", "exited"]>;
306
308
  }, "strip", z.ZodTypeAny, {
309
+ provider: string;
307
310
  status: "running" | "exited";
308
311
  cwd: string;
309
312
  terminalId: string;
310
- provider: string;
311
313
  projectName: string;
312
314
  }, {
315
+ provider: string;
313
316
  status: "running" | "exited";
314
317
  cwd: string;
315
318
  terminalId: string;
316
- provider: string;
317
319
  projectName: string;
318
320
  }>;
319
321
  export declare const terminalListPayloadSchema: z.ZodObject<{
@@ -324,32 +326,32 @@ export declare const terminalListPayloadSchema: z.ZodObject<{
324
326
  provider: z.ZodString;
325
327
  status: z.ZodEnum<["running", "exited"]>;
326
328
  }, "strip", z.ZodTypeAny, {
329
+ provider: string;
327
330
  status: "running" | "exited";
328
331
  cwd: string;
329
332
  terminalId: string;
330
- provider: string;
331
333
  projectName: string;
332
334
  }, {
335
+ provider: string;
333
336
  status: "running" | "exited";
334
337
  cwd: string;
335
338
  terminalId: string;
336
- provider: string;
337
339
  projectName: string;
338
340
  }>, "many">;
339
341
  }, "strip", z.ZodTypeAny, {
340
342
  terminals: {
343
+ provider: string;
341
344
  status: "running" | "exited";
342
345
  cwd: string;
343
346
  terminalId: string;
344
- provider: string;
345
347
  projectName: string;
346
348
  }[];
347
349
  }, {
348
350
  terminals: {
351
+ provider: string;
349
352
  status: "running" | "exited";
350
353
  cwd: string;
351
354
  terminalId: string;
352
- provider: string;
353
355
  projectName: string;
354
356
  }[];
355
357
  }>;
@@ -708,18 +710,18 @@ export declare const agentToolCallSchema: z.ZodObject<{
708
710
  createdAt: z.ZodOptional<z.ZodNumber>;
709
711
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
710
712
  }, "strip", z.ZodTypeAny, {
713
+ name: string;
711
714
  status: "running" | "pending" | "completed" | "failed";
712
715
  id: string;
713
- name: string;
714
716
  input?: string | undefined;
715
717
  output?: string | undefined;
716
718
  createdAt?: number | undefined;
717
719
  }, {
718
- id: string;
719
720
  name: string;
720
- status?: "running" | "pending" | "completed" | "failed" | undefined;
721
+ id: string;
721
722
  input?: string | undefined;
722
723
  output?: string | undefined;
724
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
723
725
  createdAt?: number | undefined;
724
726
  }>;
725
727
  export declare const agentPermissionSchema: z.ZodObject<{
@@ -785,25 +787,25 @@ export declare const agentCommandDescriptorSchema: z.ZodObject<{
785
787
  disabledReason: z.ZodOptional<z.ZodString>;
786
788
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
787
789
  }, "strip", z.ZodTypeAny, {
790
+ name: string;
788
791
  title: string;
789
792
  id: string;
790
- name: string;
791
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
793
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
792
794
  argsMode: "none" | "optional" | "required" | "raw";
793
795
  executionKind: "prompt" | "native" | "local_ui";
794
- description?: string | undefined;
795
796
  provider?: "claude" | "codex" | "custom" | undefined;
797
+ description?: string | undefined;
796
798
  category?: string | undefined;
797
799
  requiresIdle?: boolean | undefined;
798
800
  destructive?: boolean | undefined;
799
801
  disabledReason?: string | undefined;
800
802
  }, {
803
+ name: string;
801
804
  title: string;
802
805
  id: string;
803
- name: string;
804
- description?: string | undefined;
805
806
  provider?: "claude" | "codex" | "custom" | undefined;
806
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
807
+ description?: string | undefined;
808
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
807
809
  category?: string | undefined;
808
810
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
809
811
  requiresIdle?: boolean | undefined;
@@ -860,25 +862,25 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
860
862
  disabledReason: z.ZodOptional<z.ZodString>;
861
863
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
862
864
  }, "strip", z.ZodTypeAny, {
865
+ name: string;
863
866
  title: string;
864
867
  id: string;
865
- name: string;
866
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
868
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
867
869
  argsMode: "none" | "optional" | "required" | "raw";
868
870
  executionKind: "prompt" | "native" | "local_ui";
869
- description?: string | undefined;
870
871
  provider?: "claude" | "codex" | "custom" | undefined;
872
+ description?: string | undefined;
871
873
  category?: string | undefined;
872
874
  requiresIdle?: boolean | undefined;
873
875
  destructive?: boolean | undefined;
874
876
  disabledReason?: string | undefined;
875
877
  }, {
878
+ name: string;
876
879
  title: string;
877
880
  id: string;
878
- name: string;
879
- description?: string | undefined;
880
881
  provider?: "claude" | "codex" | "custom" | undefined;
881
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
882
+ description?: string | undefined;
883
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
882
884
  category?: string | undefined;
883
885
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
884
886
  requiresIdle?: boolean | undefined;
@@ -918,14 +920,14 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
918
920
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
919
921
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
920
922
  commands?: {
923
+ name: string;
921
924
  title: string;
922
925
  id: string;
923
- name: string;
924
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
926
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
925
927
  argsMode: "none" | "optional" | "required" | "raw";
926
928
  executionKind: "prompt" | "native" | "local_ui";
927
- description?: string | undefined;
928
929
  provider?: "claude" | "codex" | "custom" | undefined;
930
+ description?: string | undefined;
929
931
  category?: string | undefined;
930
932
  requiresIdle?: boolean | undefined;
931
933
  destructive?: boolean | undefined;
@@ -955,12 +957,12 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
955
957
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
956
958
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
957
959
  commands?: {
960
+ name: string;
958
961
  title: string;
959
962
  id: string;
960
- name: string;
961
- description?: string | undefined;
962
963
  provider?: "claude" | "codex" | "custom" | undefined;
963
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
964
+ description?: string | undefined;
965
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
964
966
  category?: string | undefined;
965
967
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
966
968
  requiresIdle?: boolean | undefined;
@@ -1016,25 +1018,25 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1016
1018
  disabledReason: z.ZodOptional<z.ZodString>;
1017
1019
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
1018
1020
  }, "strip", z.ZodTypeAny, {
1021
+ name: string;
1019
1022
  title: string;
1020
1023
  id: string;
1021
- name: string;
1022
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1024
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1023
1025
  argsMode: "none" | "optional" | "required" | "raw";
1024
1026
  executionKind: "prompt" | "native" | "local_ui";
1025
- description?: string | undefined;
1026
1027
  provider?: "claude" | "codex" | "custom" | undefined;
1028
+ description?: string | undefined;
1027
1029
  category?: string | undefined;
1028
1030
  requiresIdle?: boolean | undefined;
1029
1031
  destructive?: boolean | undefined;
1030
1032
  disabledReason?: string | undefined;
1031
1033
  }, {
1034
+ name: string;
1032
1035
  title: string;
1033
1036
  id: string;
1034
- name: string;
1035
- description?: string | undefined;
1036
1037
  provider?: "claude" | "codex" | "custom" | undefined;
1037
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1038
+ description?: string | undefined;
1039
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1038
1040
  category?: string | undefined;
1039
1041
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1040
1042
  requiresIdle?: boolean | undefined;
@@ -1074,14 +1076,14 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1074
1076
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1075
1077
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1076
1078
  commands?: {
1079
+ name: string;
1077
1080
  title: string;
1078
1081
  id: string;
1079
- name: string;
1080
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1082
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1081
1083
  argsMode: "none" | "optional" | "required" | "raw";
1082
1084
  executionKind: "prompt" | "native" | "local_ui";
1083
- description?: string | undefined;
1084
1085
  provider?: "claude" | "codex" | "custom" | undefined;
1086
+ description?: string | undefined;
1085
1087
  category?: string | undefined;
1086
1088
  requiresIdle?: boolean | undefined;
1087
1089
  destructive?: boolean | undefined;
@@ -1111,12 +1113,12 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1111
1113
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1112
1114
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1113
1115
  commands?: {
1116
+ name: string;
1114
1117
  title: string;
1115
1118
  id: string;
1116
- name: string;
1117
- description?: string | undefined;
1118
1119
  provider?: "claude" | "codex" | "custom" | undefined;
1119
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1120
+ description?: string | undefined;
1121
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1120
1122
  category?: string | undefined;
1121
1123
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1122
1124
  requiresIdle?: boolean | undefined;
@@ -1150,8 +1152,8 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1150
1152
  supportsSessionList: boolean;
1151
1153
  supportsSessionLoad: boolean;
1152
1154
  supportsAudio: boolean;
1153
- error?: string | undefined;
1154
1155
  provider?: "claude" | "codex" | "custom" | undefined;
1156
+ error?: string | undefined;
1155
1157
  protocolVersion?: number | undefined;
1156
1158
  machineId?: string | undefined;
1157
1159
  providers?: {
@@ -1171,14 +1173,14 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1171
1173
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1172
1174
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1173
1175
  commands?: {
1176
+ name: string;
1174
1177
  title: string;
1175
1178
  id: string;
1176
- name: string;
1177
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1179
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1178
1180
  argsMode: "none" | "optional" | "required" | "raw";
1179
1181
  executionKind: "prompt" | "native" | "local_ui";
1180
- description?: string | undefined;
1181
1182
  provider?: "claude" | "codex" | "custom" | undefined;
1183
+ description?: string | undefined;
1182
1184
  category?: string | undefined;
1183
1185
  requiresIdle?: boolean | undefined;
1184
1186
  destructive?: boolean | undefined;
@@ -1194,8 +1196,8 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1194
1196
  }[] | undefined;
1195
1197
  }, {
1196
1198
  enabled: boolean;
1197
- error?: string | undefined;
1198
1199
  provider?: "claude" | "codex" | "custom" | undefined;
1200
+ error?: string | undefined;
1199
1201
  protocolVersion?: number | undefined;
1200
1202
  machineId?: string | undefined;
1201
1203
  supportsImages?: boolean | undefined;
@@ -1219,12 +1221,12 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1219
1221
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1220
1222
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1221
1223
  commands?: {
1224
+ name: string;
1222
1225
  title: string;
1223
1226
  id: string;
1224
- name: string;
1225
- description?: string | undefined;
1226
1227
  provider?: "claude" | "codex" | "custom" | undefined;
1227
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1228
+ description?: string | undefined;
1229
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1228
1230
  category?: string | undefined;
1229
1231
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1230
1232
  requiresIdle?: boolean | undefined;
@@ -1250,12 +1252,12 @@ export declare const agentSessionNewPayloadSchema: z.ZodObject<{
1250
1252
  provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
1251
1253
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1252
1254
  }, "strip", z.ZodTypeAny, {
1253
- cwd?: string | undefined;
1254
1255
  provider?: "claude" | "codex" | "custom" | undefined;
1256
+ cwd?: string | undefined;
1255
1257
  mcpServers?: Record<string, unknown> | undefined;
1256
1258
  }, {
1257
- cwd?: string | undefined;
1258
1259
  provider?: "claude" | "codex" | "custom" | undefined;
1260
+ cwd?: string | undefined;
1259
1261
  mcpServers?: Record<string, unknown> | undefined;
1260
1262
  }>;
1261
1263
  export declare const agentSessionLoadPayloadSchema: z.ZodObject<{
@@ -1354,18 +1356,18 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1354
1356
  createdAt: z.ZodOptional<z.ZodNumber>;
1355
1357
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
1356
1358
  }, "strip", z.ZodTypeAny, {
1359
+ name: string;
1357
1360
  status: "running" | "pending" | "completed" | "failed";
1358
1361
  id: string;
1359
- name: string;
1360
1362
  input?: string | undefined;
1361
1363
  output?: string | undefined;
1362
1364
  createdAt?: number | undefined;
1363
1365
  }, {
1364
- id: string;
1365
1366
  name: string;
1366
- status?: "running" | "pending" | "completed" | "failed" | undefined;
1367
+ id: string;
1367
1368
  input?: string | undefined;
1368
1369
  output?: string | undefined;
1370
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
1369
1371
  createdAt?: number | undefined;
1370
1372
  }>>;
1371
1373
  plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1402,9 +1404,9 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1402
1404
  agentSessionId?: string | undefined;
1403
1405
  delta?: string | undefined;
1404
1406
  toolCall?: {
1407
+ name: string;
1405
1408
  status: "running" | "pending" | "completed" | "failed";
1406
1409
  id: string;
1407
- name: string;
1408
1410
  input?: string | undefined;
1409
1411
  output?: string | undefined;
1410
1412
  createdAt?: number | undefined;
@@ -1428,11 +1430,11 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1428
1430
  agentSessionId?: string | undefined;
1429
1431
  delta?: string | undefined;
1430
1432
  toolCall?: {
1431
- id: string;
1432
1433
  name: string;
1433
- status?: "running" | "pending" | "completed" | "failed" | undefined;
1434
+ id: string;
1434
1435
  input?: string | undefined;
1435
1436
  output?: string | undefined;
1437
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
1436
1438
  createdAt?: number | undefined;
1437
1439
  } | undefined;
1438
1440
  }>;
@@ -1537,25 +1539,25 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1537
1539
  disabledReason: z.ZodOptional<z.ZodString>;
1538
1540
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
1539
1541
  }, "strip", z.ZodTypeAny, {
1542
+ name: string;
1540
1543
  title: string;
1541
1544
  id: string;
1542
- name: string;
1543
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1545
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1544
1546
  argsMode: "none" | "optional" | "required" | "raw";
1545
1547
  executionKind: "prompt" | "native" | "local_ui";
1546
- description?: string | undefined;
1547
1548
  provider?: "claude" | "codex" | "custom" | undefined;
1549
+ description?: string | undefined;
1548
1550
  category?: string | undefined;
1549
1551
  requiresIdle?: boolean | undefined;
1550
1552
  destructive?: boolean | undefined;
1551
1553
  disabledReason?: string | undefined;
1552
1554
  }, {
1555
+ name: string;
1553
1556
  title: string;
1554
1557
  id: string;
1555
- name: string;
1556
- description?: string | undefined;
1557
1558
  provider?: "claude" | "codex" | "custom" | undefined;
1558
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1559
+ description?: string | undefined;
1560
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1559
1561
  category?: string | undefined;
1560
1562
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1561
1563
  requiresIdle?: boolean | undefined;
@@ -1595,14 +1597,14 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1595
1597
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1596
1598
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1597
1599
  commands?: {
1600
+ name: string;
1598
1601
  title: string;
1599
1602
  id: string;
1600
- name: string;
1601
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1603
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1602
1604
  argsMode: "none" | "optional" | "required" | "raw";
1603
1605
  executionKind: "prompt" | "native" | "local_ui";
1604
- description?: string | undefined;
1605
1606
  provider?: "claude" | "codex" | "custom" | undefined;
1607
+ description?: string | undefined;
1606
1608
  category?: string | undefined;
1607
1609
  requiresIdle?: boolean | undefined;
1608
1610
  destructive?: boolean | undefined;
@@ -1632,12 +1634,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1632
1634
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1633
1635
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1634
1636
  commands?: {
1637
+ name: string;
1635
1638
  title: string;
1636
1639
  id: string;
1637
- name: string;
1638
- description?: string | undefined;
1639
1640
  provider?: "claude" | "codex" | "custom" | undefined;
1640
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1641
+ description?: string | undefined;
1642
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1641
1643
  category?: string | undefined;
1642
1644
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1643
1645
  requiresIdle?: boolean | undefined;
@@ -1671,8 +1673,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1671
1673
  supportsSessionList: boolean;
1672
1674
  supportsSessionLoad: boolean;
1673
1675
  supportsAudio: boolean;
1674
- error?: string | undefined;
1675
1676
  provider?: "claude" | "codex" | "custom" | undefined;
1677
+ error?: string | undefined;
1676
1678
  protocolVersion?: number | undefined;
1677
1679
  machineId?: string | undefined;
1678
1680
  providers?: {
@@ -1692,14 +1694,14 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1692
1694
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1693
1695
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1694
1696
  commands?: {
1697
+ name: string;
1695
1698
  title: string;
1696
1699
  id: string;
1697
- name: string;
1698
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1700
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1699
1701
  argsMode: "none" | "optional" | "required" | "raw";
1700
1702
  executionKind: "prompt" | "native" | "local_ui";
1701
- description?: string | undefined;
1702
1703
  provider?: "claude" | "codex" | "custom" | undefined;
1704
+ description?: string | undefined;
1703
1705
  category?: string | undefined;
1704
1706
  requiresIdle?: boolean | undefined;
1705
1707
  destructive?: boolean | undefined;
@@ -1715,8 +1717,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1715
1717
  }[] | undefined;
1716
1718
  }, {
1717
1719
  enabled: boolean;
1718
- error?: string | undefined;
1719
1720
  provider?: "claude" | "codex" | "custom" | undefined;
1721
+ error?: string | undefined;
1720
1722
  protocolVersion?: number | undefined;
1721
1723
  machineId?: string | undefined;
1722
1724
  supportsImages?: boolean | undefined;
@@ -1740,12 +1742,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1740
1742
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1741
1743
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1742
1744
  commands?: {
1745
+ name: string;
1743
1746
  title: string;
1744
1747
  id: string;
1745
- name: string;
1746
- description?: string | undefined;
1747
1748
  provider?: "claude" | "codex" | "custom" | undefined;
1748
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1749
+ description?: string | undefined;
1750
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1749
1751
  category?: string | undefined;
1750
1752
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1751
1753
  requiresIdle?: boolean | undefined;
@@ -1792,18 +1794,18 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1792
1794
  createdAt: z.ZodOptional<z.ZodNumber>;
1793
1795
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
1794
1796
  }, "strip", z.ZodTypeAny, {
1797
+ name: string;
1795
1798
  status: "running" | "pending" | "completed" | "failed";
1796
1799
  id: string;
1797
- name: string;
1798
1800
  input?: string | undefined;
1799
1801
  output?: string | undefined;
1800
1802
  createdAt?: number | undefined;
1801
1803
  }, {
1802
- id: string;
1803
1804
  name: string;
1804
- status?: "running" | "pending" | "completed" | "failed" | undefined;
1805
+ id: string;
1805
1806
  input?: string | undefined;
1806
1807
  output?: string | undefined;
1808
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
1807
1809
  createdAt?: number | undefined;
1808
1810
  }>, "many">>;
1809
1811
  pendingPermissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1857,9 +1859,9 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1857
1859
  isStreaming?: boolean | undefined;
1858
1860
  }[];
1859
1861
  toolCalls: {
1862
+ name: string;
1860
1863
  status: "running" | "pending" | "completed" | "failed";
1861
1864
  id: string;
1862
- name: string;
1863
1865
  input?: string | undefined;
1864
1866
  output?: string | undefined;
1865
1867
  createdAt?: number | undefined;
@@ -1886,8 +1888,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1886
1888
  supportsSessionList: boolean;
1887
1889
  supportsSessionLoad: boolean;
1888
1890
  supportsAudio: boolean;
1889
- error?: string | undefined;
1890
1891
  provider?: "claude" | "codex" | "custom" | undefined;
1892
+ error?: string | undefined;
1891
1893
  protocolVersion?: number | undefined;
1892
1894
  machineId?: string | undefined;
1893
1895
  providers?: {
@@ -1907,14 +1909,14 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1907
1909
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1908
1910
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1909
1911
  commands?: {
1912
+ name: string;
1910
1913
  title: string;
1911
1914
  id: string;
1912
- name: string;
1913
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
1915
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
1914
1916
  argsMode: "none" | "optional" | "required" | "raw";
1915
1917
  executionKind: "prompt" | "native" | "local_ui";
1916
- description?: string | undefined;
1917
1918
  provider?: "claude" | "codex" | "custom" | undefined;
1919
+ description?: string | undefined;
1918
1920
  category?: string | undefined;
1919
1921
  requiresIdle?: boolean | undefined;
1920
1922
  destructive?: boolean | undefined;
@@ -1935,8 +1937,8 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1935
1937
  agentSessionId?: string | undefined;
1936
1938
  capabilities?: {
1937
1939
  enabled: boolean;
1938
- error?: string | undefined;
1939
1940
  provider?: "claude" | "codex" | "custom" | undefined;
1941
+ error?: string | undefined;
1940
1942
  protocolVersion?: number | undefined;
1941
1943
  machineId?: string | undefined;
1942
1944
  supportsImages?: boolean | undefined;
@@ -1960,12 +1962,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1960
1962
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
1961
1963
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
1962
1964
  commands?: {
1965
+ name: string;
1963
1966
  title: string;
1964
1967
  id: string;
1965
- name: string;
1966
- description?: string | undefined;
1967
1968
  provider?: "claude" | "codex" | "custom" | undefined;
1968
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
1969
+ description?: string | undefined;
1970
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
1969
1971
  category?: string | undefined;
1970
1972
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
1971
1973
  requiresIdle?: boolean | undefined;
@@ -1993,11 +1995,11 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1993
1995
  isStreaming?: boolean | undefined;
1994
1996
  }[] | undefined;
1995
1997
  toolCalls?: {
1996
- id: string;
1997
1998
  name: string;
1998
- status?: "running" | "pending" | "completed" | "failed" | undefined;
1999
+ id: string;
1999
2000
  input?: string | undefined;
2000
2001
  output?: string | undefined;
2002
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2001
2003
  createdAt?: number | undefined;
2002
2004
  }[] | undefined;
2003
2005
  pendingPermissions?: {
@@ -2081,15 +2083,15 @@ export declare const agentV2CommandExecutionSchema: z.ZodObject<{
2081
2083
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2082
2084
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
2083
2085
  }, "strip", z.ZodTypeAny, {
2084
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2085
- output?: string | undefined;
2086
2086
  command?: string | undefined;
2087
+ output?: string | undefined;
2088
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2087
2089
  cwd?: string | undefined;
2088
2090
  exitCode?: number | null | undefined;
2089
2091
  }, {
2090
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2091
- output?: string | undefined;
2092
2092
  command?: string | undefined;
2093
+ output?: string | undefined;
2094
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2093
2095
  cwd?: string | undefined;
2094
2096
  exitCode?: number | null | undefined;
2095
2097
  }>;
@@ -2377,18 +2379,18 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2377
2379
  createdAt: z.ZodOptional<z.ZodNumber>;
2378
2380
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
2379
2381
  }, "strip", z.ZodTypeAny, {
2382
+ name: string;
2380
2383
  status: "running" | "pending" | "completed" | "failed";
2381
2384
  id: string;
2382
- name: string;
2383
2385
  input?: string | undefined;
2384
2386
  output?: string | undefined;
2385
2387
  createdAt?: number | undefined;
2386
2388
  }, {
2387
- id: string;
2388
2389
  name: string;
2389
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2390
+ id: string;
2390
2391
  input?: string | undefined;
2391
2392
  output?: string | undefined;
2393
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2392
2394
  createdAt?: number | undefined;
2393
2395
  }>>;
2394
2396
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -2398,15 +2400,15 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2398
2400
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2399
2401
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
2400
2402
  }, "strip", z.ZodTypeAny, {
2401
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2402
- output?: string | undefined;
2403
2403
  command?: string | undefined;
2404
+ output?: string | undefined;
2405
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2404
2406
  cwd?: string | undefined;
2405
2407
  exitCode?: number | null | undefined;
2406
2408
  }, {
2407
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2408
- output?: string | undefined;
2409
2409
  command?: string | undefined;
2410
+ output?: string | undefined;
2411
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2410
2412
  cwd?: string | undefined;
2411
2413
  exitCode?: number | null | undefined;
2412
2414
  }>>;
@@ -2685,9 +2687,9 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2685
2687
  text?: string | undefined;
2686
2688
  itemId?: string | undefined;
2687
2689
  commandExecution?: {
2688
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2689
- output?: string | undefined;
2690
2690
  command?: string | undefined;
2691
+ output?: string | undefined;
2692
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2691
2693
  cwd?: string | undefined;
2692
2694
  exitCode?: number | null | undefined;
2693
2695
  } | undefined;
@@ -2713,9 +2715,9 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2713
2715
  }[] | undefined;
2714
2716
  isStreaming?: boolean | undefined;
2715
2717
  toolCall?: {
2718
+ name: string;
2716
2719
  status: "running" | "pending" | "completed" | "failed";
2717
2720
  id: string;
2718
- name: string;
2719
2721
  input?: string | undefined;
2720
2722
  output?: string | undefined;
2721
2723
  createdAt?: number | undefined;
@@ -2785,9 +2787,9 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2785
2787
  text?: string | undefined;
2786
2788
  itemId?: string | undefined;
2787
2789
  commandExecution?: {
2788
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2789
- output?: string | undefined;
2790
2790
  command?: string | undefined;
2791
+ output?: string | undefined;
2792
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2791
2793
  cwd?: string | undefined;
2792
2794
  exitCode?: number | null | undefined;
2793
2795
  } | undefined;
@@ -2813,11 +2815,11 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2813
2815
  }[] | undefined;
2814
2816
  isStreaming?: boolean | undefined;
2815
2817
  toolCall?: {
2816
- id: string;
2817
2818
  name: string;
2818
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2819
+ id: string;
2819
2820
  input?: string | undefined;
2820
2821
  output?: string | undefined;
2822
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
2821
2823
  createdAt?: number | undefined;
2822
2824
  } | undefined;
2823
2825
  permission?: {
@@ -2887,10 +2889,10 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
2887
2889
  lastActivityAt: z.ZodNumber;
2888
2890
  createdAt: z.ZodNumber;
2889
2891
  }, "strip", z.ZodTypeAny, {
2892
+ provider: "claude" | "codex" | "custom";
2890
2893
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
2891
2894
  id: string;
2892
2895
  cwd: string;
2893
- provider: "claude" | "codex" | "custom";
2894
2896
  createdAt: number;
2895
2897
  archived: boolean;
2896
2898
  lastActivityAt: number;
@@ -2906,9 +2908,9 @@ export declare const agentV2ConversationSchema: z.ZodObject<{
2906
2908
  cwd: string;
2907
2909
  createdAt: number;
2908
2910
  lastActivityAt: number;
2911
+ provider?: "claude" | "codex" | "custom" | undefined;
2909
2912
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
2910
2913
  title?: string | undefined;
2911
- provider?: "claude" | "codex" | "custom" | undefined;
2912
2914
  agentSessionId?: string | undefined;
2913
2915
  model?: string | undefined;
2914
2916
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -2958,25 +2960,25 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
2958
2960
  disabledReason: z.ZodOptional<z.ZodString>;
2959
2961
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
2960
2962
  }, "strip", z.ZodTypeAny, {
2963
+ name: string;
2961
2964
  title: string;
2962
2965
  id: string;
2963
- name: string;
2964
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
2966
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
2965
2967
  argsMode: "none" | "optional" | "required" | "raw";
2966
2968
  executionKind: "prompt" | "native" | "local_ui";
2967
- description?: string | undefined;
2968
2969
  provider?: "claude" | "codex" | "custom" | undefined;
2970
+ description?: string | undefined;
2969
2971
  category?: string | undefined;
2970
2972
  requiresIdle?: boolean | undefined;
2971
2973
  destructive?: boolean | undefined;
2972
2974
  disabledReason?: string | undefined;
2973
2975
  }, {
2976
+ name: string;
2974
2977
  title: string;
2975
2978
  id: string;
2976
- name: string;
2977
- description?: string | undefined;
2978
2979
  provider?: "claude" | "codex" | "custom" | undefined;
2979
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
2980
+ description?: string | undefined;
2981
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
2980
2982
  category?: string | undefined;
2981
2983
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
2982
2984
  requiresIdle?: boolean | undefined;
@@ -3016,14 +3018,14 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3016
3018
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
3017
3019
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
3018
3020
  commands?: {
3021
+ name: string;
3019
3022
  title: string;
3020
3023
  id: string;
3021
- name: string;
3022
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
3024
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
3023
3025
  argsMode: "none" | "optional" | "required" | "raw";
3024
3026
  executionKind: "prompt" | "native" | "local_ui";
3025
- description?: string | undefined;
3026
3027
  provider?: "claude" | "codex" | "custom" | undefined;
3028
+ description?: string | undefined;
3027
3029
  category?: string | undefined;
3028
3030
  requiresIdle?: boolean | undefined;
3029
3031
  destructive?: boolean | undefined;
@@ -3053,12 +3055,12 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3053
3055
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
3054
3056
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
3055
3057
  commands?: {
3058
+ name: string;
3056
3059
  title: string;
3057
3060
  id: string;
3058
- name: string;
3059
- description?: string | undefined;
3060
3061
  provider?: "claude" | "codex" | "custom" | undefined;
3061
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
3062
+ description?: string | undefined;
3063
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
3062
3064
  category?: string | undefined;
3063
3065
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
3064
3066
  requiresIdle?: boolean | undefined;
@@ -3095,8 +3097,8 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3095
3097
  supportsSessionLoad: boolean;
3096
3098
  supportsAudio: boolean;
3097
3099
  workspaceProtocolVersion: number;
3098
- error?: string | undefined;
3099
3100
  provider?: "claude" | "codex" | "custom" | undefined;
3101
+ error?: string | undefined;
3100
3102
  protocolVersion?: number | undefined;
3101
3103
  machineId?: string | undefined;
3102
3104
  providers?: {
@@ -3116,14 +3118,14 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3116
3118
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
3117
3119
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
3118
3120
  commands?: {
3121
+ name: string;
3119
3122
  title: string;
3120
3123
  id: string;
3121
- name: string;
3122
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
3124
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
3123
3125
  argsMode: "none" | "optional" | "required" | "raw";
3124
3126
  executionKind: "prompt" | "native" | "local_ui";
3125
- description?: string | undefined;
3126
3127
  provider?: "claude" | "codex" | "custom" | undefined;
3128
+ description?: string | undefined;
3127
3129
  category?: string | undefined;
3128
3130
  requiresIdle?: boolean | undefined;
3129
3131
  destructive?: boolean | undefined;
@@ -3139,8 +3141,8 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3139
3141
  }[] | undefined;
3140
3142
  }, {
3141
3143
  enabled: boolean;
3142
- error?: string | undefined;
3143
3144
  provider?: "claude" | "codex" | "custom" | undefined;
3145
+ error?: string | undefined;
3144
3146
  protocolVersion?: number | undefined;
3145
3147
  machineId?: string | undefined;
3146
3148
  supportsImages?: boolean | undefined;
@@ -3164,12 +3166,12 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3164
3166
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
3165
3167
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
3166
3168
  commands?: {
3169
+ name: string;
3167
3170
  title: string;
3168
3171
  id: string;
3169
- name: string;
3170
- description?: string | undefined;
3171
3172
  provider?: "claude" | "codex" | "custom" | undefined;
3172
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
3173
+ description?: string | undefined;
3174
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
3173
3175
  category?: string | undefined;
3174
3176
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
3175
3177
  requiresIdle?: boolean | undefined;
@@ -3201,9 +3203,9 @@ export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
3201
3203
  collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
3202
3204
  title: z.ZodOptional<z.ZodString>;
3203
3205
  }, "strip", z.ZodTypeAny, {
3206
+ provider?: "claude" | "codex" | "custom" | undefined;
3204
3207
  title?: string | undefined;
3205
3208
  cwd?: string | undefined;
3206
- provider?: "claude" | "codex" | "custom" | undefined;
3207
3209
  agentSessionId?: string | undefined;
3208
3210
  model?: string | undefined;
3209
3211
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -3211,9 +3213,9 @@ export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
3211
3213
  conversationId?: string | undefined;
3212
3214
  collaborationMode?: "default" | "plan" | undefined;
3213
3215
  }, {
3216
+ provider?: "claude" | "codex" | "custom" | undefined;
3214
3217
  title?: string | undefined;
3215
3218
  cwd?: string | undefined;
3216
- provider?: "claude" | "codex" | "custom" | undefined;
3217
3219
  agentSessionId?: string | undefined;
3218
3220
  model?: string | undefined;
3219
3221
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -3238,10 +3240,10 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3238
3240
  lastActivityAt: z.ZodNumber;
3239
3241
  createdAt: z.ZodNumber;
3240
3242
  }, "strip", z.ZodTypeAny, {
3243
+ provider: "claude" | "codex" | "custom";
3241
3244
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
3242
3245
  id: string;
3243
3246
  cwd: string;
3244
- provider: "claude" | "codex" | "custom";
3245
3247
  createdAt: number;
3246
3248
  archived: boolean;
3247
3249
  lastActivityAt: number;
@@ -3257,9 +3259,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3257
3259
  cwd: string;
3258
3260
  createdAt: number;
3259
3261
  lastActivityAt: number;
3262
+ provider?: "claude" | "codex" | "custom" | undefined;
3260
3263
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
3261
3264
  title?: string | undefined;
3262
- provider?: "claude" | "codex" | "custom" | undefined;
3263
3265
  agentSessionId?: string | undefined;
3264
3266
  model?: string | undefined;
3265
3267
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -3301,18 +3303,18 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3301
3303
  createdAt: z.ZodOptional<z.ZodNumber>;
3302
3304
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
3303
3305
  }, "strip", z.ZodTypeAny, {
3306
+ name: string;
3304
3307
  status: "running" | "pending" | "completed" | "failed";
3305
3308
  id: string;
3306
- name: string;
3307
3309
  input?: string | undefined;
3308
3310
  output?: string | undefined;
3309
3311
  createdAt?: number | undefined;
3310
3312
  }, {
3311
- id: string;
3312
3313
  name: string;
3313
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3314
+ id: string;
3314
3315
  input?: string | undefined;
3315
3316
  output?: string | undefined;
3317
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3316
3318
  createdAt?: number | undefined;
3317
3319
  }>>;
3318
3320
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -3322,15 +3324,15 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3322
3324
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3323
3325
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
3324
3326
  }, "strip", z.ZodTypeAny, {
3325
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3326
- output?: string | undefined;
3327
3327
  command?: string | undefined;
3328
+ output?: string | undefined;
3329
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3328
3330
  cwd?: string | undefined;
3329
3331
  exitCode?: number | null | undefined;
3330
3332
  }, {
3331
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3332
- output?: string | undefined;
3333
3333
  command?: string | undefined;
3334
+ output?: string | undefined;
3335
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3334
3336
  cwd?: string | undefined;
3335
3337
  exitCode?: number | null | undefined;
3336
3338
  }>>;
@@ -3609,9 +3611,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3609
3611
  text?: string | undefined;
3610
3612
  itemId?: string | undefined;
3611
3613
  commandExecution?: {
3612
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3613
- output?: string | undefined;
3614
3614
  command?: string | undefined;
3615
+ output?: string | undefined;
3616
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3615
3617
  cwd?: string | undefined;
3616
3618
  exitCode?: number | null | undefined;
3617
3619
  } | undefined;
@@ -3637,9 +3639,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3637
3639
  }[] | undefined;
3638
3640
  isStreaming?: boolean | undefined;
3639
3641
  toolCall?: {
3642
+ name: string;
3640
3643
  status: "running" | "pending" | "completed" | "failed";
3641
3644
  id: string;
3642
- name: string;
3643
3645
  input?: string | undefined;
3644
3646
  output?: string | undefined;
3645
3647
  createdAt?: number | undefined;
@@ -3709,9 +3711,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3709
3711
  text?: string | undefined;
3710
3712
  itemId?: string | undefined;
3711
3713
  commandExecution?: {
3712
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3713
- output?: string | undefined;
3714
3714
  command?: string | undefined;
3715
+ output?: string | undefined;
3716
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3715
3717
  cwd?: string | undefined;
3716
3718
  exitCode?: number | null | undefined;
3717
3719
  } | undefined;
@@ -3737,11 +3739,11 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3737
3739
  }[] | undefined;
3738
3740
  isStreaming?: boolean | undefined;
3739
3741
  toolCall?: {
3740
- id: string;
3741
3742
  name: string;
3742
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3743
+ id: string;
3743
3744
  input?: string | undefined;
3744
3745
  output?: string | undefined;
3746
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3745
3747
  createdAt?: number | undefined;
3746
3748
  } | undefined;
3747
3749
  permission?: {
@@ -3797,10 +3799,10 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3797
3799
  }>, "many">>;
3798
3800
  }, "strip", z.ZodTypeAny, {
3799
3801
  conversation: {
3802
+ provider: "claude" | "codex" | "custom";
3800
3803
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
3801
3804
  id: string;
3802
3805
  cwd: string;
3803
- provider: "claude" | "codex" | "custom";
3804
3806
  createdAt: number;
3805
3807
  archived: boolean;
3806
3808
  lastActivityAt: number;
@@ -3827,9 +3829,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3827
3829
  text?: string | undefined;
3828
3830
  itemId?: string | undefined;
3829
3831
  commandExecution?: {
3830
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3831
- output?: string | undefined;
3832
3832
  command?: string | undefined;
3833
+ output?: string | undefined;
3834
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3833
3835
  cwd?: string | undefined;
3834
3836
  exitCode?: number | null | undefined;
3835
3837
  } | undefined;
@@ -3855,9 +3857,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3855
3857
  }[] | undefined;
3856
3858
  isStreaming?: boolean | undefined;
3857
3859
  toolCall?: {
3860
+ name: string;
3858
3861
  status: "running" | "pending" | "completed" | "failed";
3859
3862
  id: string;
3860
- name: string;
3861
3863
  input?: string | undefined;
3862
3864
  output?: string | undefined;
3863
3865
  createdAt?: number | undefined;
@@ -3919,9 +3921,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3919
3921
  cwd: string;
3920
3922
  createdAt: number;
3921
3923
  lastActivityAt: number;
3924
+ provider?: "claude" | "codex" | "custom" | undefined;
3922
3925
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
3923
3926
  title?: string | undefined;
3924
- provider?: "claude" | "codex" | "custom" | undefined;
3925
3927
  agentSessionId?: string | undefined;
3926
3928
  model?: string | undefined;
3927
3929
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -3945,9 +3947,9 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3945
3947
  text?: string | undefined;
3946
3948
  itemId?: string | undefined;
3947
3949
  commandExecution?: {
3948
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3949
- output?: string | undefined;
3950
3950
  command?: string | undefined;
3951
+ output?: string | undefined;
3952
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3951
3953
  cwd?: string | undefined;
3952
3954
  exitCode?: number | null | undefined;
3953
3955
  } | undefined;
@@ -3973,11 +3975,11 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3973
3975
  }[] | undefined;
3974
3976
  isStreaming?: boolean | undefined;
3975
3977
  toolCall?: {
3976
- id: string;
3977
3978
  name: string;
3978
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3979
+ id: string;
3979
3980
  input?: string | undefined;
3980
3981
  output?: string | undefined;
3982
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
3981
3983
  createdAt?: number | undefined;
3982
3984
  } | undefined;
3983
3985
  permission?: {
@@ -4056,10 +4058,10 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
4056
4058
  lastActivityAt: z.ZodNumber;
4057
4059
  createdAt: z.ZodNumber;
4058
4060
  }, "strip", z.ZodTypeAny, {
4061
+ provider: "claude" | "codex" | "custom";
4059
4062
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
4060
4063
  id: string;
4061
4064
  cwd: string;
4062
- provider: "claude" | "codex" | "custom";
4063
4065
  createdAt: number;
4064
4066
  archived: boolean;
4065
4067
  lastActivityAt: number;
@@ -4075,9 +4077,9 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
4075
4077
  cwd: string;
4076
4078
  createdAt: number;
4077
4079
  lastActivityAt: number;
4080
+ provider?: "claude" | "codex" | "custom" | undefined;
4078
4081
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
4079
4082
  title?: string | undefined;
4080
- provider?: "claude" | "codex" | "custom" | undefined;
4081
4083
  agentSessionId?: string | undefined;
4082
4084
  model?: string | undefined;
4083
4085
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -4088,10 +4090,10 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
4088
4090
  }>, "many">;
4089
4091
  }, "strip", z.ZodTypeAny, {
4090
4092
  conversations: {
4093
+ provider: "claude" | "codex" | "custom";
4091
4094
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
4092
4095
  id: string;
4093
4096
  cwd: string;
4094
- provider: "claude" | "codex" | "custom";
4095
4097
  createdAt: number;
4096
4098
  archived: boolean;
4097
4099
  lastActivityAt: number;
@@ -4109,9 +4111,9 @@ export declare const agentV2ConversationListResultPayloadSchema: z.ZodObject<{
4109
4111
  cwd: string;
4110
4112
  createdAt: number;
4111
4113
  lastActivityAt: number;
4114
+ provider?: "claude" | "codex" | "custom" | undefined;
4112
4115
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
4113
4116
  title?: string | undefined;
4114
- provider?: "claude" | "codex" | "custom" | undefined;
4115
4117
  agentSessionId?: string | undefined;
4116
4118
  model?: string | undefined;
4117
4119
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -4250,10 +4252,10 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4250
4252
  lastActivityAt: z.ZodNumber;
4251
4253
  createdAt: z.ZodNumber;
4252
4254
  }, "strip", z.ZodTypeAny, {
4255
+ provider: "claude" | "codex" | "custom";
4253
4256
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
4254
4257
  id: string;
4255
4258
  cwd: string;
4256
- provider: "claude" | "codex" | "custom";
4257
4259
  createdAt: number;
4258
4260
  archived: boolean;
4259
4261
  lastActivityAt: number;
@@ -4269,9 +4271,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4269
4271
  cwd: string;
4270
4272
  createdAt: number;
4271
4273
  lastActivityAt: number;
4274
+ provider?: "claude" | "codex" | "custom" | undefined;
4272
4275
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
4273
4276
  title?: string | undefined;
4274
- provider?: "claude" | "codex" | "custom" | undefined;
4275
4277
  agentSessionId?: string | undefined;
4276
4278
  model?: string | undefined;
4277
4279
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -4314,18 +4316,18 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4314
4316
  createdAt: z.ZodOptional<z.ZodNumber>;
4315
4317
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
4316
4318
  }, "strip", z.ZodTypeAny, {
4319
+ name: string;
4317
4320
  status: "running" | "pending" | "completed" | "failed";
4318
4321
  id: string;
4319
- name: string;
4320
4322
  input?: string | undefined;
4321
4323
  output?: string | undefined;
4322
4324
  createdAt?: number | undefined;
4323
4325
  }, {
4324
- id: string;
4325
4326
  name: string;
4326
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4327
+ id: string;
4327
4328
  input?: string | undefined;
4328
4329
  output?: string | undefined;
4330
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4329
4331
  createdAt?: number | undefined;
4330
4332
  }>>;
4331
4333
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -4335,15 +4337,15 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4335
4337
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4336
4338
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
4337
4339
  }, "strip", z.ZodTypeAny, {
4338
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4339
- output?: string | undefined;
4340
4340
  command?: string | undefined;
4341
+ output?: string | undefined;
4342
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4341
4343
  cwd?: string | undefined;
4342
4344
  exitCode?: number | null | undefined;
4343
4345
  }, {
4344
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4345
- output?: string | undefined;
4346
4346
  command?: string | undefined;
4347
+ output?: string | undefined;
4348
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4347
4349
  cwd?: string | undefined;
4348
4350
  exitCode?: number | null | undefined;
4349
4351
  }>>;
@@ -4622,9 +4624,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4622
4624
  text?: string | undefined;
4623
4625
  itemId?: string | undefined;
4624
4626
  commandExecution?: {
4625
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4626
- output?: string | undefined;
4627
4627
  command?: string | undefined;
4628
+ output?: string | undefined;
4629
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4628
4630
  cwd?: string | undefined;
4629
4631
  exitCode?: number | null | undefined;
4630
4632
  } | undefined;
@@ -4650,9 +4652,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4650
4652
  }[] | undefined;
4651
4653
  isStreaming?: boolean | undefined;
4652
4654
  toolCall?: {
4655
+ name: string;
4653
4656
  status: "running" | "pending" | "completed" | "failed";
4654
4657
  id: string;
4655
- name: string;
4656
4658
  input?: string | undefined;
4657
4659
  output?: string | undefined;
4658
4660
  createdAt?: number | undefined;
@@ -4722,9 +4724,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4722
4724
  text?: string | undefined;
4723
4725
  itemId?: string | undefined;
4724
4726
  commandExecution?: {
4725
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4726
- output?: string | undefined;
4727
4727
  command?: string | undefined;
4728
+ output?: string | undefined;
4729
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4728
4730
  cwd?: string | undefined;
4729
4731
  exitCode?: number | null | undefined;
4730
4732
  } | undefined;
@@ -4750,11 +4752,11 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4750
4752
  }[] | undefined;
4751
4753
  isStreaming?: boolean | undefined;
4752
4754
  toolCall?: {
4753
- id: string;
4754
4755
  name: string;
4755
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4756
+ id: string;
4756
4757
  input?: string | undefined;
4757
4758
  output?: string | undefined;
4759
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4758
4760
  createdAt?: number | undefined;
4759
4761
  } | undefined;
4760
4762
  permission?: {
@@ -4811,10 +4813,10 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4811
4813
  machineId: z.ZodOptional<z.ZodString>;
4812
4814
  }, "strip", z.ZodTypeAny, {
4813
4815
  conversations: {
4816
+ provider: "claude" | "codex" | "custom";
4814
4817
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
4815
4818
  id: string;
4816
4819
  cwd: string;
4817
- provider: "claude" | "codex" | "custom";
4818
4820
  createdAt: number;
4819
4821
  archived: boolean;
4820
4822
  lastActivityAt: number;
@@ -4841,9 +4843,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4841
4843
  text?: string | undefined;
4842
4844
  itemId?: string | undefined;
4843
4845
  commandExecution?: {
4844
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4845
- output?: string | undefined;
4846
4846
  command?: string | undefined;
4847
+ output?: string | undefined;
4848
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4847
4849
  cwd?: string | undefined;
4848
4850
  exitCode?: number | null | undefined;
4849
4851
  } | undefined;
@@ -4869,9 +4871,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4869
4871
  }[] | undefined;
4870
4872
  isStreaming?: boolean | undefined;
4871
4873
  toolCall?: {
4874
+ name: string;
4872
4875
  status: "running" | "pending" | "completed" | "failed";
4873
4876
  id: string;
4874
- name: string;
4875
4877
  input?: string | undefined;
4876
4878
  output?: string | undefined;
4877
4879
  createdAt?: number | undefined;
@@ -4936,9 +4938,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4936
4938
  cwd: string;
4937
4939
  createdAt: number;
4938
4940
  lastActivityAt: number;
4941
+ provider?: "claude" | "codex" | "custom" | undefined;
4939
4942
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
4940
4943
  title?: string | undefined;
4941
- provider?: "claude" | "codex" | "custom" | undefined;
4942
4944
  agentSessionId?: string | undefined;
4943
4945
  model?: string | undefined;
4944
4946
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -4963,9 +4965,9 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4963
4965
  text?: string | undefined;
4964
4966
  itemId?: string | undefined;
4965
4967
  commandExecution?: {
4966
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4967
- output?: string | undefined;
4968
4968
  command?: string | undefined;
4969
+ output?: string | undefined;
4970
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4969
4971
  cwd?: string | undefined;
4970
4972
  exitCode?: number | null | undefined;
4971
4973
  } | undefined;
@@ -4991,11 +4993,11 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4991
4993
  }[] | undefined;
4992
4994
  isStreaming?: boolean | undefined;
4993
4995
  toolCall?: {
4994
- id: string;
4995
4996
  name: string;
4996
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4997
+ id: string;
4997
4998
  input?: string | undefined;
4998
4999
  output?: string | undefined;
5000
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
4999
5001
  createdAt?: number | undefined;
5000
5002
  } | undefined;
5001
5003
  permission?: {
@@ -5068,10 +5070,10 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5068
5070
  lastActivityAt: z.ZodNumber;
5069
5071
  createdAt: z.ZodNumber;
5070
5072
  }, "strip", z.ZodTypeAny, {
5073
+ provider: "claude" | "codex" | "custom";
5071
5074
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
5072
5075
  id: string;
5073
5076
  cwd: string;
5074
- provider: "claude" | "codex" | "custom";
5075
5077
  createdAt: number;
5076
5078
  archived: boolean;
5077
5079
  lastActivityAt: number;
@@ -5087,9 +5089,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5087
5089
  cwd: string;
5088
5090
  createdAt: number;
5089
5091
  lastActivityAt: number;
5092
+ provider?: "claude" | "codex" | "custom" | undefined;
5090
5093
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
5091
5094
  title?: string | undefined;
5092
- provider?: "claude" | "codex" | "custom" | undefined;
5093
5095
  agentSessionId?: string | undefined;
5094
5096
  model?: string | undefined;
5095
5097
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -5131,18 +5133,18 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5131
5133
  createdAt: z.ZodOptional<z.ZodNumber>;
5132
5134
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
5133
5135
  }, "strip", z.ZodTypeAny, {
5136
+ name: string;
5134
5137
  status: "running" | "pending" | "completed" | "failed";
5135
5138
  id: string;
5136
- name: string;
5137
5139
  input?: string | undefined;
5138
5140
  output?: string | undefined;
5139
5141
  createdAt?: number | undefined;
5140
5142
  }, {
5141
- id: string;
5142
5143
  name: string;
5143
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5144
+ id: string;
5144
5145
  input?: string | undefined;
5145
5146
  output?: string | undefined;
5147
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5146
5148
  createdAt?: number | undefined;
5147
5149
  }>>;
5148
5150
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -5152,15 +5154,15 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5152
5154
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5153
5155
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
5154
5156
  }, "strip", z.ZodTypeAny, {
5155
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5156
- output?: string | undefined;
5157
5157
  command?: string | undefined;
5158
+ output?: string | undefined;
5159
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5158
5160
  cwd?: string | undefined;
5159
5161
  exitCode?: number | null | undefined;
5160
5162
  }, {
5161
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5162
- output?: string | undefined;
5163
5163
  command?: string | undefined;
5164
+ output?: string | undefined;
5165
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5164
5166
  cwd?: string | undefined;
5165
5167
  exitCode?: number | null | undefined;
5166
5168
  }>>;
@@ -5439,9 +5441,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5439
5441
  text?: string | undefined;
5440
5442
  itemId?: string | undefined;
5441
5443
  commandExecution?: {
5442
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5443
- output?: string | undefined;
5444
5444
  command?: string | undefined;
5445
+ output?: string | undefined;
5446
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5445
5447
  cwd?: string | undefined;
5446
5448
  exitCode?: number | null | undefined;
5447
5449
  } | undefined;
@@ -5467,9 +5469,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5467
5469
  }[] | undefined;
5468
5470
  isStreaming?: boolean | undefined;
5469
5471
  toolCall?: {
5472
+ name: string;
5470
5473
  status: "running" | "pending" | "completed" | "failed";
5471
5474
  id: string;
5472
- name: string;
5473
5475
  input?: string | undefined;
5474
5476
  output?: string | undefined;
5475
5477
  createdAt?: number | undefined;
@@ -5539,9 +5541,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5539
5541
  text?: string | undefined;
5540
5542
  itemId?: string | undefined;
5541
5543
  commandExecution?: {
5542
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5543
- output?: string | undefined;
5544
5544
  command?: string | undefined;
5545
+ output?: string | undefined;
5546
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5545
5547
  cwd?: string | undefined;
5546
5548
  exitCode?: number | null | undefined;
5547
5549
  } | undefined;
@@ -5567,11 +5569,11 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5567
5569
  }[] | undefined;
5568
5570
  isStreaming?: boolean | undefined;
5569
5571
  toolCall?: {
5570
- id: string;
5571
5572
  name: string;
5572
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5573
+ id: string;
5573
5574
  input?: string | undefined;
5574
5575
  output?: string | undefined;
5576
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5575
5577
  createdAt?: number | undefined;
5576
5578
  } | undefined;
5577
5579
  permission?: {
@@ -5656,18 +5658,18 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5656
5658
  createdAt: z.ZodOptional<z.ZodNumber>;
5657
5659
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
5658
5660
  }, "strip", z.ZodTypeAny, {
5661
+ name: string;
5659
5662
  status: "running" | "pending" | "completed" | "failed";
5660
5663
  id: string;
5661
- name: string;
5662
5664
  input?: string | undefined;
5663
5665
  output?: string | undefined;
5664
5666
  createdAt?: number | undefined;
5665
5667
  }, {
5666
- id: string;
5667
5668
  name: string;
5668
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5669
+ id: string;
5669
5670
  input?: string | undefined;
5670
5671
  output?: string | undefined;
5672
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5671
5673
  createdAt?: number | undefined;
5672
5674
  }>>;
5673
5675
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -5677,15 +5679,15 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5677
5679
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5678
5680
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
5679
5681
  }, "strip", z.ZodTypeAny, {
5680
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5681
- output?: string | undefined;
5682
5682
  command?: string | undefined;
5683
+ output?: string | undefined;
5684
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5683
5685
  cwd?: string | undefined;
5684
5686
  exitCode?: number | null | undefined;
5685
5687
  }, {
5686
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5687
- output?: string | undefined;
5688
5688
  command?: string | undefined;
5689
+ output?: string | undefined;
5690
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5689
5691
  cwd?: string | undefined;
5690
5692
  exitCode?: number | null | undefined;
5691
5693
  }>>;
@@ -5958,9 +5960,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5958
5960
  }[] | undefined;
5959
5961
  text?: string | undefined;
5960
5962
  commandExecution?: {
5961
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5962
- output?: string | undefined;
5963
5963
  command?: string | undefined;
5964
+ output?: string | undefined;
5965
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
5964
5966
  cwd?: string | undefined;
5965
5967
  exitCode?: number | null | undefined;
5966
5968
  } | undefined;
@@ -5986,9 +5988,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5986
5988
  }[] | undefined;
5987
5989
  isStreaming?: boolean | undefined;
5988
5990
  toolCall?: {
5991
+ name: string;
5989
5992
  status: "running" | "pending" | "completed" | "failed";
5990
5993
  id: string;
5991
- name: string;
5992
5994
  input?: string | undefined;
5993
5995
  output?: string | undefined;
5994
5996
  createdAt?: number | undefined;
@@ -6054,9 +6056,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6054
6056
  }[] | undefined;
6055
6057
  text?: string | undefined;
6056
6058
  commandExecution?: {
6057
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6058
- output?: string | undefined;
6059
6059
  command?: string | undefined;
6060
+ output?: string | undefined;
6061
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6060
6062
  cwd?: string | undefined;
6061
6063
  exitCode?: number | null | undefined;
6062
6064
  } | undefined;
@@ -6082,11 +6084,11 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6082
6084
  }[] | undefined;
6083
6085
  isStreaming?: boolean | undefined;
6084
6086
  toolCall?: {
6085
- id: string;
6086
6087
  name: string;
6087
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6088
+ id: string;
6088
6089
  input?: string | undefined;
6089
6090
  output?: string | undefined;
6091
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6090
6092
  createdAt?: number | undefined;
6091
6093
  } | undefined;
6092
6094
  permission?: {
@@ -6157,9 +6159,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6157
6159
  text?: string | undefined;
6158
6160
  itemId?: string | undefined;
6159
6161
  commandExecution?: {
6160
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6161
- output?: string | undefined;
6162
6162
  command?: string | undefined;
6163
+ output?: string | undefined;
6164
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6163
6165
  cwd?: string | undefined;
6164
6166
  exitCode?: number | null | undefined;
6165
6167
  } | undefined;
@@ -6185,9 +6187,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6185
6187
  }[] | undefined;
6186
6188
  isStreaming?: boolean | undefined;
6187
6189
  toolCall?: {
6190
+ name: string;
6188
6191
  status: "running" | "pending" | "completed" | "failed";
6189
6192
  id: string;
6190
- name: string;
6191
6193
  input?: string | undefined;
6192
6194
  output?: string | undefined;
6193
6195
  createdAt?: number | undefined;
@@ -6254,9 +6256,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6254
6256
  }[] | undefined;
6255
6257
  text?: string | undefined;
6256
6258
  commandExecution?: {
6257
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6258
- output?: string | undefined;
6259
6259
  command?: string | undefined;
6260
+ output?: string | undefined;
6261
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6260
6262
  cwd?: string | undefined;
6261
6263
  exitCode?: number | null | undefined;
6262
6264
  } | undefined;
@@ -6282,9 +6284,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6282
6284
  }[] | undefined;
6283
6285
  isStreaming?: boolean | undefined;
6284
6286
  toolCall?: {
6287
+ name: string;
6285
6288
  status: "running" | "pending" | "completed" | "failed";
6286
6289
  id: string;
6287
- name: string;
6288
6290
  input?: string | undefined;
6289
6291
  output?: string | undefined;
6290
6292
  createdAt?: number | undefined;
@@ -6341,10 +6343,10 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6341
6343
  textDelta?: string | undefined;
6342
6344
  } | undefined;
6343
6345
  conversation?: {
6346
+ provider: "claude" | "codex" | "custom";
6344
6347
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
6345
6348
  id: string;
6346
6349
  cwd: string;
6347
- provider: "claude" | "codex" | "custom";
6348
6350
  createdAt: number;
6349
6351
  archived: boolean;
6350
6352
  lastActivityAt: number;
@@ -6373,9 +6375,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6373
6375
  text?: string | undefined;
6374
6376
  itemId?: string | undefined;
6375
6377
  commandExecution?: {
6376
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6377
- output?: string | undefined;
6378
6378
  command?: string | undefined;
6379
+ output?: string | undefined;
6380
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6379
6381
  cwd?: string | undefined;
6380
6382
  exitCode?: number | null | undefined;
6381
6383
  } | undefined;
@@ -6401,11 +6403,11 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6401
6403
  }[] | undefined;
6402
6404
  isStreaming?: boolean | undefined;
6403
6405
  toolCall?: {
6404
- id: string;
6405
6406
  name: string;
6406
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6407
+ id: string;
6407
6408
  input?: string | undefined;
6408
6409
  output?: string | undefined;
6410
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6409
6411
  createdAt?: number | undefined;
6410
6412
  } | undefined;
6411
6413
  permission?: {
@@ -6470,9 +6472,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6470
6472
  }[] | undefined;
6471
6473
  text?: string | undefined;
6472
6474
  commandExecution?: {
6473
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6474
- output?: string | undefined;
6475
6475
  command?: string | undefined;
6476
+ output?: string | undefined;
6477
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6476
6478
  cwd?: string | undefined;
6477
6479
  exitCode?: number | null | undefined;
6478
6480
  } | undefined;
@@ -6498,11 +6500,11 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6498
6500
  }[] | undefined;
6499
6501
  isStreaming?: boolean | undefined;
6500
6502
  toolCall?: {
6501
- id: string;
6502
6503
  name: string;
6503
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6504
+ id: string;
6504
6505
  input?: string | undefined;
6505
6506
  output?: string | undefined;
6507
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6506
6508
  createdAt?: number | undefined;
6507
6509
  } | undefined;
6508
6510
  permission?: {
@@ -6561,9 +6563,9 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6561
6563
  cwd: string;
6562
6564
  createdAt: number;
6563
6565
  lastActivityAt: number;
6566
+ provider?: "claude" | "codex" | "custom" | undefined;
6564
6567
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
6565
6568
  title?: string | undefined;
6566
- provider?: "claude" | "codex" | "custom" | undefined;
6567
6569
  agentSessionId?: string | undefined;
6568
6570
  model?: string | undefined;
6569
6571
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -6626,18 +6628,18 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
6626
6628
  createdAt: z.ZodOptional<z.ZodNumber>;
6627
6629
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
6628
6630
  }, "strip", z.ZodTypeAny, {
6631
+ name: string;
6629
6632
  status: "running" | "pending" | "completed" | "failed";
6630
6633
  id: string;
6631
- name: string;
6632
6634
  input?: string | undefined;
6633
6635
  output?: string | undefined;
6634
6636
  createdAt?: number | undefined;
6635
6637
  }, {
6636
- id: string;
6637
6638
  name: string;
6638
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6639
+ id: string;
6639
6640
  input?: string | undefined;
6640
6641
  output?: string | undefined;
6642
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6641
6643
  createdAt?: number | undefined;
6642
6644
  }>>;
6643
6645
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -6647,15 +6649,15 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
6647
6649
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6648
6650
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
6649
6651
  }, "strip", z.ZodTypeAny, {
6650
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6651
- output?: string | undefined;
6652
6652
  command?: string | undefined;
6653
+ output?: string | undefined;
6654
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6653
6655
  cwd?: string | undefined;
6654
6656
  exitCode?: number | null | undefined;
6655
6657
  }, {
6656
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6657
- output?: string | undefined;
6658
6658
  command?: string | undefined;
6659
+ output?: string | undefined;
6660
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6659
6661
  cwd?: string | undefined;
6660
6662
  exitCode?: number | null | undefined;
6661
6663
  }>>;
@@ -6934,9 +6936,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
6934
6936
  text?: string | undefined;
6935
6937
  itemId?: string | undefined;
6936
6938
  commandExecution?: {
6937
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6938
- output?: string | undefined;
6939
6939
  command?: string | undefined;
6940
+ output?: string | undefined;
6941
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
6940
6942
  cwd?: string | undefined;
6941
6943
  exitCode?: number | null | undefined;
6942
6944
  } | undefined;
@@ -6962,9 +6964,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
6962
6964
  }[] | undefined;
6963
6965
  isStreaming?: boolean | undefined;
6964
6966
  toolCall?: {
6967
+ name: string;
6965
6968
  status: "running" | "pending" | "completed" | "failed";
6966
6969
  id: string;
6967
- name: string;
6968
6970
  input?: string | undefined;
6969
6971
  output?: string | undefined;
6970
6972
  createdAt?: number | undefined;
@@ -7034,9 +7036,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7034
7036
  text?: string | undefined;
7035
7037
  itemId?: string | undefined;
7036
7038
  commandExecution?: {
7037
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7038
- output?: string | undefined;
7039
7039
  command?: string | undefined;
7040
+ output?: string | undefined;
7041
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
7040
7042
  cwd?: string | undefined;
7041
7043
  exitCode?: number | null | undefined;
7042
7044
  } | undefined;
@@ -7062,11 +7064,11 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7062
7064
  }[] | undefined;
7063
7065
  isStreaming?: boolean | undefined;
7064
7066
  toolCall?: {
7065
- id: string;
7066
7067
  name: string;
7067
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7068
+ id: string;
7068
7069
  input?: string | undefined;
7069
7070
  output?: string | undefined;
7071
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
7070
7072
  createdAt?: number | undefined;
7071
7073
  } | undefined;
7072
7074
  permission?: {
@@ -7143,9 +7145,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7143
7145
  text?: string | undefined;
7144
7146
  itemId?: string | undefined;
7145
7147
  commandExecution?: {
7146
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7147
- output?: string | undefined;
7148
7148
  command?: string | undefined;
7149
+ output?: string | undefined;
7150
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
7149
7151
  cwd?: string | undefined;
7150
7152
  exitCode?: number | null | undefined;
7151
7153
  } | undefined;
@@ -7171,9 +7173,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7171
7173
  }[] | undefined;
7172
7174
  isStreaming?: boolean | undefined;
7173
7175
  toolCall?: {
7176
+ name: string;
7174
7177
  status: "running" | "pending" | "completed" | "failed";
7175
7178
  id: string;
7176
- name: string;
7177
7179
  input?: string | undefined;
7178
7180
  output?: string | undefined;
7179
7181
  createdAt?: number | undefined;
@@ -7250,9 +7252,9 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7250
7252
  text?: string | undefined;
7251
7253
  itemId?: string | undefined;
7252
7254
  commandExecution?: {
7253
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7254
- output?: string | undefined;
7255
7255
  command?: string | undefined;
7256
+ output?: string | undefined;
7257
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
7256
7258
  cwd?: string | undefined;
7257
7259
  exitCode?: number | null | undefined;
7258
7260
  } | undefined;
@@ -7278,11 +7280,11 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7278
7280
  }[] | undefined;
7279
7281
  isStreaming?: boolean | undefined;
7280
7282
  toolCall?: {
7281
- id: string;
7282
7283
  name: string;
7283
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7284
+ id: string;
7284
7285
  input?: string | undefined;
7285
7286
  output?: string | undefined;
7287
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
7286
7288
  createdAt?: number | undefined;
7287
7289
  } | undefined;
7288
7290
  permission?: {
@@ -7349,7 +7351,7 @@ export declare const protocolMessageSchemas: {
7349
7351
  readonly "session.connect": z.ZodObject<{
7350
7352
  role: z.ZodEnum<["host", "client"]>;
7351
7353
  clientName: z.ZodString;
7352
- provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "custom"]>>;
7354
+ provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "gemini", "copilot", "custom"]>>;
7353
7355
  protocolVersion: z.ZodOptional<z.ZodNumber>;
7354
7356
  machineId: z.ZodOptional<z.ZodString>;
7355
7357
  hostname: z.ZodOptional<z.ZodString>;
@@ -7357,23 +7359,23 @@ export declare const protocolMessageSchemas: {
7357
7359
  cwd: z.ZodOptional<z.ZodString>;
7358
7360
  projectName: z.ZodOptional<z.ZodString>;
7359
7361
  }, "strip", z.ZodTypeAny, {
7360
- role: "host" | "client";
7361
7362
  clientName: string;
7363
+ role: "host" | "client";
7364
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
7365
+ hostname?: string | undefined;
7362
7366
  cwd?: string | undefined;
7363
- provider?: "claude" | "codex" | "custom" | undefined;
7364
7367
  protocolVersion?: number | undefined;
7365
7368
  machineId?: string | undefined;
7366
- hostname?: string | undefined;
7367
7369
  platform?: string | undefined;
7368
7370
  projectName?: string | undefined;
7369
7371
  }, {
7370
- role: "host" | "client";
7371
7372
  clientName: string;
7373
+ role: "host" | "client";
7374
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
7375
+ hostname?: string | undefined;
7372
7376
  cwd?: string | undefined;
7373
- provider?: "claude" | "codex" | "custom" | undefined;
7374
7377
  protocolVersion?: number | undefined;
7375
7378
  machineId?: string | undefined;
7376
- hostname?: string | undefined;
7377
7379
  platform?: string | undefined;
7378
7380
  projectName?: string | undefined;
7379
7381
  }>;
@@ -7614,13 +7616,13 @@ export declare const protocolMessageSchemas: {
7614
7616
  }>;
7615
7617
  readonly "terminal.spawn": z.ZodObject<{
7616
7618
  cwd: z.ZodString;
7617
- provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "custom"]>>;
7619
+ provider: z.ZodOptional<z.ZodEnum<["claude", "codex", "gemini", "copilot", "custom"]>>;
7618
7620
  }, "strip", z.ZodTypeAny, {
7619
7621
  cwd: string;
7620
- provider?: "claude" | "codex" | "custom" | undefined;
7622
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
7621
7623
  }, {
7622
7624
  cwd: string;
7623
- provider?: "claude" | "codex" | "custom" | undefined;
7625
+ provider?: "claude" | "codex" | "gemini" | "copilot" | "custom" | undefined;
7624
7626
  }>;
7625
7627
  readonly "terminal.spawned": z.ZodObject<{
7626
7628
  terminalId: z.ZodString;
@@ -7646,32 +7648,32 @@ export declare const protocolMessageSchemas: {
7646
7648
  provider: z.ZodString;
7647
7649
  status: z.ZodEnum<["running", "exited"]>;
7648
7650
  }, "strip", z.ZodTypeAny, {
7651
+ provider: string;
7649
7652
  status: "running" | "exited";
7650
7653
  cwd: string;
7651
7654
  terminalId: string;
7652
- provider: string;
7653
7655
  projectName: string;
7654
7656
  }, {
7657
+ provider: string;
7655
7658
  status: "running" | "exited";
7656
7659
  cwd: string;
7657
7660
  terminalId: string;
7658
- provider: string;
7659
7661
  projectName: string;
7660
7662
  }>, "many">;
7661
7663
  }, "strip", z.ZodTypeAny, {
7662
7664
  terminals: {
7665
+ provider: string;
7663
7666
  status: "running" | "exited";
7664
7667
  cwd: string;
7665
7668
  terminalId: string;
7666
- provider: string;
7667
7669
  projectName: string;
7668
7670
  }[];
7669
7671
  }, {
7670
7672
  terminals: {
7673
+ provider: string;
7671
7674
  status: "running" | "exited";
7672
7675
  cwd: string;
7673
7676
  terminalId: string;
7674
- provider: string;
7675
7677
  projectName: string;
7676
7678
  }[];
7677
7679
  }>;
@@ -7975,25 +7977,25 @@ export declare const protocolMessageSchemas: {
7975
7977
  disabledReason: z.ZodOptional<z.ZodString>;
7976
7978
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
7977
7979
  }, "strip", z.ZodTypeAny, {
7980
+ name: string;
7978
7981
  title: string;
7979
7982
  id: string;
7980
- name: string;
7981
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
7983
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
7982
7984
  argsMode: "none" | "optional" | "required" | "raw";
7983
7985
  executionKind: "prompt" | "native" | "local_ui";
7984
- description?: string | undefined;
7985
7986
  provider?: "claude" | "codex" | "custom" | undefined;
7987
+ description?: string | undefined;
7986
7988
  category?: string | undefined;
7987
7989
  requiresIdle?: boolean | undefined;
7988
7990
  destructive?: boolean | undefined;
7989
7991
  disabledReason?: string | undefined;
7990
7992
  }, {
7993
+ name: string;
7991
7994
  title: string;
7992
7995
  id: string;
7993
- name: string;
7994
- description?: string | undefined;
7995
7996
  provider?: "claude" | "codex" | "custom" | undefined;
7996
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
7997
+ description?: string | undefined;
7998
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
7997
7999
  category?: string | undefined;
7998
8000
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
7999
8001
  requiresIdle?: boolean | undefined;
@@ -8033,14 +8035,14 @@ export declare const protocolMessageSchemas: {
8033
8035
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8034
8036
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8035
8037
  commands?: {
8038
+ name: string;
8036
8039
  title: string;
8037
8040
  id: string;
8038
- name: string;
8039
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
8041
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
8040
8042
  argsMode: "none" | "optional" | "required" | "raw";
8041
8043
  executionKind: "prompt" | "native" | "local_ui";
8042
- description?: string | undefined;
8043
8044
  provider?: "claude" | "codex" | "custom" | undefined;
8045
+ description?: string | undefined;
8044
8046
  category?: string | undefined;
8045
8047
  requiresIdle?: boolean | undefined;
8046
8048
  destructive?: boolean | undefined;
@@ -8070,12 +8072,12 @@ export declare const protocolMessageSchemas: {
8070
8072
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8071
8073
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8072
8074
  commands?: {
8075
+ name: string;
8073
8076
  title: string;
8074
8077
  id: string;
8075
- name: string;
8076
- description?: string | undefined;
8077
8078
  provider?: "claude" | "codex" | "custom" | undefined;
8078
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
8079
+ description?: string | undefined;
8080
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
8079
8081
  category?: string | undefined;
8080
8082
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
8081
8083
  requiresIdle?: boolean | undefined;
@@ -8109,8 +8111,8 @@ export declare const protocolMessageSchemas: {
8109
8111
  supportsSessionList: boolean;
8110
8112
  supportsSessionLoad: boolean;
8111
8113
  supportsAudio: boolean;
8112
- error?: string | undefined;
8113
8114
  provider?: "claude" | "codex" | "custom" | undefined;
8115
+ error?: string | undefined;
8114
8116
  protocolVersion?: number | undefined;
8115
8117
  machineId?: string | undefined;
8116
8118
  providers?: {
@@ -8130,14 +8132,14 @@ export declare const protocolMessageSchemas: {
8130
8132
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8131
8133
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8132
8134
  commands?: {
8135
+ name: string;
8133
8136
  title: string;
8134
8137
  id: string;
8135
- name: string;
8136
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
8138
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
8137
8139
  argsMode: "none" | "optional" | "required" | "raw";
8138
8140
  executionKind: "prompt" | "native" | "local_ui";
8139
- description?: string | undefined;
8140
8141
  provider?: "claude" | "codex" | "custom" | undefined;
8142
+ description?: string | undefined;
8141
8143
  category?: string | undefined;
8142
8144
  requiresIdle?: boolean | undefined;
8143
8145
  destructive?: boolean | undefined;
@@ -8153,8 +8155,8 @@ export declare const protocolMessageSchemas: {
8153
8155
  }[] | undefined;
8154
8156
  }, {
8155
8157
  enabled: boolean;
8156
- error?: string | undefined;
8157
8158
  provider?: "claude" | "codex" | "custom" | undefined;
8159
+ error?: string | undefined;
8158
8160
  protocolVersion?: number | undefined;
8159
8161
  machineId?: string | undefined;
8160
8162
  supportsImages?: boolean | undefined;
@@ -8178,12 +8180,12 @@ export declare const protocolMessageSchemas: {
8178
8180
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8179
8181
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8180
8182
  commands?: {
8183
+ name: string;
8181
8184
  title: string;
8182
8185
  id: string;
8183
- name: string;
8184
- description?: string | undefined;
8185
8186
  provider?: "claude" | "codex" | "custom" | undefined;
8186
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
8187
+ description?: string | undefined;
8188
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
8187
8189
  category?: string | undefined;
8188
8190
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
8189
8191
  requiresIdle?: boolean | undefined;
@@ -8208,12 +8210,12 @@ export declare const protocolMessageSchemas: {
8208
8210
  provider: z.ZodOptional<z.ZodEnum<["codex", "claude", "custom"]>>;
8209
8211
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8210
8212
  }, "strip", z.ZodTypeAny, {
8211
- cwd?: string | undefined;
8212
8213
  provider?: "claude" | "codex" | "custom" | undefined;
8214
+ cwd?: string | undefined;
8213
8215
  mcpServers?: Record<string, unknown> | undefined;
8214
8216
  }, {
8215
- cwd?: string | undefined;
8216
8217
  provider?: "claude" | "codex" | "custom" | undefined;
8218
+ cwd?: string | undefined;
8217
8219
  mcpServers?: Record<string, unknown> | undefined;
8218
8220
  }>;
8219
8221
  readonly "agent.session.load": z.ZodObject<{
@@ -8312,18 +8314,18 @@ export declare const protocolMessageSchemas: {
8312
8314
  createdAt: z.ZodOptional<z.ZodNumber>;
8313
8315
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
8314
8316
  }, "strip", z.ZodTypeAny, {
8317
+ name: string;
8315
8318
  status: "running" | "pending" | "completed" | "failed";
8316
8319
  id: string;
8317
- name: string;
8318
8320
  input?: string | undefined;
8319
8321
  output?: string | undefined;
8320
8322
  createdAt?: number | undefined;
8321
8323
  }, {
8322
- id: string;
8323
8324
  name: string;
8324
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8325
+ id: string;
8325
8326
  input?: string | undefined;
8326
8327
  output?: string | undefined;
8328
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
8327
8329
  createdAt?: number | undefined;
8328
8330
  }>>;
8329
8331
  plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8360,9 +8362,9 @@ export declare const protocolMessageSchemas: {
8360
8362
  agentSessionId?: string | undefined;
8361
8363
  delta?: string | undefined;
8362
8364
  toolCall?: {
8365
+ name: string;
8363
8366
  status: "running" | "pending" | "completed" | "failed";
8364
8367
  id: string;
8365
- name: string;
8366
8368
  input?: string | undefined;
8367
8369
  output?: string | undefined;
8368
8370
  createdAt?: number | undefined;
@@ -8386,11 +8388,11 @@ export declare const protocolMessageSchemas: {
8386
8388
  agentSessionId?: string | undefined;
8387
8389
  delta?: string | undefined;
8388
8390
  toolCall?: {
8389
- id: string;
8390
8391
  name: string;
8391
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8392
+ id: string;
8392
8393
  input?: string | undefined;
8393
8394
  output?: string | undefined;
8395
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
8394
8396
  createdAt?: number | undefined;
8395
8397
  } | undefined;
8396
8398
  }>;
@@ -8495,25 +8497,25 @@ export declare const protocolMessageSchemas: {
8495
8497
  disabledReason: z.ZodOptional<z.ZodString>;
8496
8498
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
8497
8499
  }, "strip", z.ZodTypeAny, {
8500
+ name: string;
8498
8501
  title: string;
8499
8502
  id: string;
8500
- name: string;
8501
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
8503
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
8502
8504
  argsMode: "none" | "optional" | "required" | "raw";
8503
8505
  executionKind: "prompt" | "native" | "local_ui";
8504
- description?: string | undefined;
8505
8506
  provider?: "claude" | "codex" | "custom" | undefined;
8507
+ description?: string | undefined;
8506
8508
  category?: string | undefined;
8507
8509
  requiresIdle?: boolean | undefined;
8508
8510
  destructive?: boolean | undefined;
8509
8511
  disabledReason?: string | undefined;
8510
8512
  }, {
8513
+ name: string;
8511
8514
  title: string;
8512
8515
  id: string;
8513
- name: string;
8514
- description?: string | undefined;
8515
8516
  provider?: "claude" | "codex" | "custom" | undefined;
8516
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
8517
+ description?: string | undefined;
8518
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
8517
8519
  category?: string | undefined;
8518
8520
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
8519
8521
  requiresIdle?: boolean | undefined;
@@ -8553,14 +8555,14 @@ export declare const protocolMessageSchemas: {
8553
8555
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8554
8556
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8555
8557
  commands?: {
8558
+ name: string;
8556
8559
  title: string;
8557
8560
  id: string;
8558
- name: string;
8559
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
8561
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
8560
8562
  argsMode: "none" | "optional" | "required" | "raw";
8561
8563
  executionKind: "prompt" | "native" | "local_ui";
8562
- description?: string | undefined;
8563
8564
  provider?: "claude" | "codex" | "custom" | undefined;
8565
+ description?: string | undefined;
8564
8566
  category?: string | undefined;
8565
8567
  requiresIdle?: boolean | undefined;
8566
8568
  destructive?: boolean | undefined;
@@ -8590,12 +8592,12 @@ export declare const protocolMessageSchemas: {
8590
8592
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8591
8593
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8592
8594
  commands?: {
8595
+ name: string;
8593
8596
  title: string;
8594
8597
  id: string;
8595
- name: string;
8596
- description?: string | undefined;
8597
8598
  provider?: "claude" | "codex" | "custom" | undefined;
8598
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
8599
+ description?: string | undefined;
8600
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
8599
8601
  category?: string | undefined;
8600
8602
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
8601
8603
  requiresIdle?: boolean | undefined;
@@ -8629,8 +8631,8 @@ export declare const protocolMessageSchemas: {
8629
8631
  supportsSessionList: boolean;
8630
8632
  supportsSessionLoad: boolean;
8631
8633
  supportsAudio: boolean;
8632
- error?: string | undefined;
8633
8634
  provider?: "claude" | "codex" | "custom" | undefined;
8635
+ error?: string | undefined;
8634
8636
  protocolVersion?: number | undefined;
8635
8637
  machineId?: string | undefined;
8636
8638
  providers?: {
@@ -8650,14 +8652,14 @@ export declare const protocolMessageSchemas: {
8650
8652
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8651
8653
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8652
8654
  commands?: {
8655
+ name: string;
8653
8656
  title: string;
8654
8657
  id: string;
8655
- name: string;
8656
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
8658
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
8657
8659
  argsMode: "none" | "optional" | "required" | "raw";
8658
8660
  executionKind: "prompt" | "native" | "local_ui";
8659
- description?: string | undefined;
8660
8661
  provider?: "claude" | "codex" | "custom" | undefined;
8662
+ description?: string | undefined;
8661
8663
  category?: string | undefined;
8662
8664
  requiresIdle?: boolean | undefined;
8663
8665
  destructive?: boolean | undefined;
@@ -8673,8 +8675,8 @@ export declare const protocolMessageSchemas: {
8673
8675
  }[] | undefined;
8674
8676
  }, {
8675
8677
  enabled: boolean;
8676
- error?: string | undefined;
8677
8678
  provider?: "claude" | "codex" | "custom" | undefined;
8679
+ error?: string | undefined;
8678
8680
  protocolVersion?: number | undefined;
8679
8681
  machineId?: string | undefined;
8680
8682
  supportsImages?: boolean | undefined;
@@ -8698,12 +8700,12 @@ export declare const protocolMessageSchemas: {
8698
8700
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8699
8701
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8700
8702
  commands?: {
8703
+ name: string;
8701
8704
  title: string;
8702
8705
  id: string;
8703
- name: string;
8704
- description?: string | undefined;
8705
8706
  provider?: "claude" | "codex" | "custom" | undefined;
8706
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
8707
+ description?: string | undefined;
8708
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
8707
8709
  category?: string | undefined;
8708
8710
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
8709
8711
  requiresIdle?: boolean | undefined;
@@ -8750,18 +8752,18 @@ export declare const protocolMessageSchemas: {
8750
8752
  createdAt: z.ZodOptional<z.ZodNumber>;
8751
8753
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
8752
8754
  }, "strip", z.ZodTypeAny, {
8755
+ name: string;
8753
8756
  status: "running" | "pending" | "completed" | "failed";
8754
8757
  id: string;
8755
- name: string;
8756
8758
  input?: string | undefined;
8757
8759
  output?: string | undefined;
8758
8760
  createdAt?: number | undefined;
8759
8761
  }, {
8760
- id: string;
8761
8762
  name: string;
8762
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8763
+ id: string;
8763
8764
  input?: string | undefined;
8764
8765
  output?: string | undefined;
8766
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
8765
8767
  createdAt?: number | undefined;
8766
8768
  }>, "many">>;
8767
8769
  pendingPermissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -8815,9 +8817,9 @@ export declare const protocolMessageSchemas: {
8815
8817
  isStreaming?: boolean | undefined;
8816
8818
  }[];
8817
8819
  toolCalls: {
8820
+ name: string;
8818
8821
  status: "running" | "pending" | "completed" | "failed";
8819
8822
  id: string;
8820
- name: string;
8821
8823
  input?: string | undefined;
8822
8824
  output?: string | undefined;
8823
8825
  createdAt?: number | undefined;
@@ -8844,8 +8846,8 @@ export declare const protocolMessageSchemas: {
8844
8846
  supportsSessionList: boolean;
8845
8847
  supportsSessionLoad: boolean;
8846
8848
  supportsAudio: boolean;
8847
- error?: string | undefined;
8848
8849
  provider?: "claude" | "codex" | "custom" | undefined;
8850
+ error?: string | undefined;
8849
8851
  protocolVersion?: number | undefined;
8850
8852
  machineId?: string | undefined;
8851
8853
  providers?: {
@@ -8865,14 +8867,14 @@ export declare const protocolMessageSchemas: {
8865
8867
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8866
8868
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8867
8869
  commands?: {
8870
+ name: string;
8868
8871
  title: string;
8869
8872
  id: string;
8870
- name: string;
8871
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
8873
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
8872
8874
  argsMode: "none" | "optional" | "required" | "raw";
8873
8875
  executionKind: "prompt" | "native" | "local_ui";
8874
- description?: string | undefined;
8875
8876
  provider?: "claude" | "codex" | "custom" | undefined;
8877
+ description?: string | undefined;
8876
8878
  category?: string | undefined;
8877
8879
  requiresIdle?: boolean | undefined;
8878
8880
  destructive?: boolean | undefined;
@@ -8893,8 +8895,8 @@ export declare const protocolMessageSchemas: {
8893
8895
  agentSessionId?: string | undefined;
8894
8896
  capabilities?: {
8895
8897
  enabled: boolean;
8896
- error?: string | undefined;
8897
8898
  provider?: "claude" | "codex" | "custom" | undefined;
8899
+ error?: string | undefined;
8898
8900
  protocolVersion?: number | undefined;
8899
8901
  machineId?: string | undefined;
8900
8902
  supportsImages?: boolean | undefined;
@@ -8918,12 +8920,12 @@ export declare const protocolMessageSchemas: {
8918
8920
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
8919
8921
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
8920
8922
  commands?: {
8923
+ name: string;
8921
8924
  title: string;
8922
8925
  id: string;
8923
- name: string;
8924
- description?: string | undefined;
8925
8926
  provider?: "claude" | "codex" | "custom" | undefined;
8926
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
8927
+ description?: string | undefined;
8928
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
8927
8929
  category?: string | undefined;
8928
8930
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
8929
8931
  requiresIdle?: boolean | undefined;
@@ -8951,11 +8953,11 @@ export declare const protocolMessageSchemas: {
8951
8953
  isStreaming?: boolean | undefined;
8952
8954
  }[] | undefined;
8953
8955
  toolCalls?: {
8954
- id: string;
8955
8956
  name: string;
8956
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8957
+ id: string;
8957
8958
  input?: string | undefined;
8958
8959
  output?: string | undefined;
8960
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
8959
8961
  createdAt?: number | undefined;
8960
8962
  }[] | undefined;
8961
8963
  pendingPermissions?: {
@@ -9011,25 +9013,25 @@ export declare const protocolMessageSchemas: {
9011
9013
  disabledReason: z.ZodOptional<z.ZodString>;
9012
9014
  executionKind: z.ZodDefault<z.ZodEnum<["prompt", "native", "local_ui"]>>;
9013
9015
  }, "strip", z.ZodTypeAny, {
9016
+ name: string;
9014
9017
  title: string;
9015
9018
  id: string;
9016
- name: string;
9017
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
9019
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
9018
9020
  argsMode: "none" | "optional" | "required" | "raw";
9019
9021
  executionKind: "prompt" | "native" | "local_ui";
9020
- description?: string | undefined;
9021
9022
  provider?: "claude" | "codex" | "custom" | undefined;
9023
+ description?: string | undefined;
9022
9024
  category?: string | undefined;
9023
9025
  requiresIdle?: boolean | undefined;
9024
9026
  destructive?: boolean | undefined;
9025
9027
  disabledReason?: string | undefined;
9026
9028
  }, {
9029
+ name: string;
9027
9030
  title: string;
9028
9031
  id: string;
9029
- name: string;
9030
- description?: string | undefined;
9031
9032
  provider?: "claude" | "codex" | "custom" | undefined;
9032
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
9033
+ description?: string | undefined;
9034
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
9033
9035
  category?: string | undefined;
9034
9036
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
9035
9037
  requiresIdle?: boolean | undefined;
@@ -9069,14 +9071,14 @@ export declare const protocolMessageSchemas: {
9069
9071
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
9070
9072
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
9071
9073
  commands?: {
9074
+ name: string;
9072
9075
  title: string;
9073
9076
  id: string;
9074
- name: string;
9075
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
9077
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
9076
9078
  argsMode: "none" | "optional" | "required" | "raw";
9077
9079
  executionKind: "prompt" | "native" | "local_ui";
9078
- description?: string | undefined;
9079
9080
  provider?: "claude" | "codex" | "custom" | undefined;
9081
+ description?: string | undefined;
9080
9082
  category?: string | undefined;
9081
9083
  requiresIdle?: boolean | undefined;
9082
9084
  destructive?: boolean | undefined;
@@ -9106,12 +9108,12 @@ export declare const protocolMessageSchemas: {
9106
9108
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
9107
9109
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
9108
9110
  commands?: {
9111
+ name: string;
9109
9112
  title: string;
9110
9113
  id: string;
9111
- name: string;
9112
- description?: string | undefined;
9113
9114
  provider?: "claude" | "codex" | "custom" | undefined;
9114
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
9115
+ description?: string | undefined;
9116
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
9115
9117
  category?: string | undefined;
9116
9118
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
9117
9119
  requiresIdle?: boolean | undefined;
@@ -9148,8 +9150,8 @@ export declare const protocolMessageSchemas: {
9148
9150
  supportsSessionLoad: boolean;
9149
9151
  supportsAudio: boolean;
9150
9152
  workspaceProtocolVersion: number;
9151
- error?: string | undefined;
9152
9153
  provider?: "claude" | "codex" | "custom" | undefined;
9154
+ error?: string | undefined;
9153
9155
  protocolVersion?: number | undefined;
9154
9156
  machineId?: string | undefined;
9155
9157
  providers?: {
@@ -9169,14 +9171,14 @@ export declare const protocolMessageSchemas: {
9169
9171
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
9170
9172
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
9171
9173
  commands?: {
9174
+ name: string;
9172
9175
  title: string;
9173
9176
  id: string;
9174
- name: string;
9175
- source: "linkshell" | "custom" | "user" | "built_in" | "project";
9177
+ source: "custom" | "linkshell" | "user" | "built_in" | "project";
9176
9178
  argsMode: "none" | "optional" | "required" | "raw";
9177
9179
  executionKind: "prompt" | "native" | "local_ui";
9178
- description?: string | undefined;
9179
9180
  provider?: "claude" | "codex" | "custom" | undefined;
9181
+ description?: string | undefined;
9180
9182
  category?: string | undefined;
9181
9183
  requiresIdle?: boolean | undefined;
9182
9184
  destructive?: boolean | undefined;
@@ -9192,8 +9194,8 @@ export declare const protocolMessageSchemas: {
9192
9194
  }[] | undefined;
9193
9195
  }, {
9194
9196
  enabled: boolean;
9195
- error?: string | undefined;
9196
9197
  provider?: "claude" | "codex" | "custom" | undefined;
9198
+ error?: string | undefined;
9197
9199
  protocolVersion?: number | undefined;
9198
9200
  machineId?: string | undefined;
9199
9201
  supportsImages?: boolean | undefined;
@@ -9217,12 +9219,12 @@ export declare const protocolMessageSchemas: {
9217
9219
  reasoningEfforts?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh")[] | undefined;
9218
9220
  permissionModes?: ("read_only" | "workspace_write" | "full_access")[] | undefined;
9219
9221
  commands?: {
9222
+ name: string;
9220
9223
  title: string;
9221
9224
  id: string;
9222
- name: string;
9223
- description?: string | undefined;
9224
9225
  provider?: "claude" | "codex" | "custom" | undefined;
9225
- source?: "linkshell" | "custom" | "user" | "built_in" | "project" | undefined;
9226
+ description?: string | undefined;
9227
+ source?: "custom" | "linkshell" | "user" | "built_in" | "project" | undefined;
9226
9228
  category?: string | undefined;
9227
9229
  argsMode?: "none" | "optional" | "required" | "raw" | undefined;
9228
9230
  requiresIdle?: boolean | undefined;
@@ -9254,9 +9256,9 @@ export declare const protocolMessageSchemas: {
9254
9256
  collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
9255
9257
  title: z.ZodOptional<z.ZodString>;
9256
9258
  }, "strip", z.ZodTypeAny, {
9259
+ provider?: "claude" | "codex" | "custom" | undefined;
9257
9260
  title?: string | undefined;
9258
9261
  cwd?: string | undefined;
9259
- provider?: "claude" | "codex" | "custom" | undefined;
9260
9262
  agentSessionId?: string | undefined;
9261
9263
  model?: string | undefined;
9262
9264
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -9264,9 +9266,9 @@ export declare const protocolMessageSchemas: {
9264
9266
  conversationId?: string | undefined;
9265
9267
  collaborationMode?: "default" | "plan" | undefined;
9266
9268
  }, {
9269
+ provider?: "claude" | "codex" | "custom" | undefined;
9267
9270
  title?: string | undefined;
9268
9271
  cwd?: string | undefined;
9269
- provider?: "claude" | "codex" | "custom" | undefined;
9270
9272
  agentSessionId?: string | undefined;
9271
9273
  model?: string | undefined;
9272
9274
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -9291,10 +9293,10 @@ export declare const protocolMessageSchemas: {
9291
9293
  lastActivityAt: z.ZodNumber;
9292
9294
  createdAt: z.ZodNumber;
9293
9295
  }, "strip", z.ZodTypeAny, {
9296
+ provider: "claude" | "codex" | "custom";
9294
9297
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
9295
9298
  id: string;
9296
9299
  cwd: string;
9297
- provider: "claude" | "codex" | "custom";
9298
9300
  createdAt: number;
9299
9301
  archived: boolean;
9300
9302
  lastActivityAt: number;
@@ -9310,9 +9312,9 @@ export declare const protocolMessageSchemas: {
9310
9312
  cwd: string;
9311
9313
  createdAt: number;
9312
9314
  lastActivityAt: number;
9315
+ provider?: "claude" | "codex" | "custom" | undefined;
9313
9316
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
9314
9317
  title?: string | undefined;
9315
- provider?: "claude" | "codex" | "custom" | undefined;
9316
9318
  agentSessionId?: string | undefined;
9317
9319
  model?: string | undefined;
9318
9320
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -9354,18 +9356,18 @@ export declare const protocolMessageSchemas: {
9354
9356
  createdAt: z.ZodOptional<z.ZodNumber>;
9355
9357
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
9356
9358
  }, "strip", z.ZodTypeAny, {
9359
+ name: string;
9357
9360
  status: "running" | "pending" | "completed" | "failed";
9358
9361
  id: string;
9359
- name: string;
9360
9362
  input?: string | undefined;
9361
9363
  output?: string | undefined;
9362
9364
  createdAt?: number | undefined;
9363
9365
  }, {
9364
- id: string;
9365
9366
  name: string;
9366
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9367
+ id: string;
9367
9368
  input?: string | undefined;
9368
9369
  output?: string | undefined;
9370
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9369
9371
  createdAt?: number | undefined;
9370
9372
  }>>;
9371
9373
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -9375,15 +9377,15 @@ export declare const protocolMessageSchemas: {
9375
9377
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9376
9378
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
9377
9379
  }, "strip", z.ZodTypeAny, {
9378
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9379
- output?: string | undefined;
9380
9380
  command?: string | undefined;
9381
+ output?: string | undefined;
9382
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9381
9383
  cwd?: string | undefined;
9382
9384
  exitCode?: number | null | undefined;
9383
9385
  }, {
9384
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9385
- output?: string | undefined;
9386
9386
  command?: string | undefined;
9387
+ output?: string | undefined;
9388
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9387
9389
  cwd?: string | undefined;
9388
9390
  exitCode?: number | null | undefined;
9389
9391
  }>>;
@@ -9662,9 +9664,9 @@ export declare const protocolMessageSchemas: {
9662
9664
  text?: string | undefined;
9663
9665
  itemId?: string | undefined;
9664
9666
  commandExecution?: {
9665
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9666
- output?: string | undefined;
9667
9667
  command?: string | undefined;
9668
+ output?: string | undefined;
9669
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9668
9670
  cwd?: string | undefined;
9669
9671
  exitCode?: number | null | undefined;
9670
9672
  } | undefined;
@@ -9690,9 +9692,9 @@ export declare const protocolMessageSchemas: {
9690
9692
  }[] | undefined;
9691
9693
  isStreaming?: boolean | undefined;
9692
9694
  toolCall?: {
9695
+ name: string;
9693
9696
  status: "running" | "pending" | "completed" | "failed";
9694
9697
  id: string;
9695
- name: string;
9696
9698
  input?: string | undefined;
9697
9699
  output?: string | undefined;
9698
9700
  createdAt?: number | undefined;
@@ -9762,9 +9764,9 @@ export declare const protocolMessageSchemas: {
9762
9764
  text?: string | undefined;
9763
9765
  itemId?: string | undefined;
9764
9766
  commandExecution?: {
9765
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9766
- output?: string | undefined;
9767
9767
  command?: string | undefined;
9768
+ output?: string | undefined;
9769
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9768
9770
  cwd?: string | undefined;
9769
9771
  exitCode?: number | null | undefined;
9770
9772
  } | undefined;
@@ -9790,11 +9792,11 @@ export declare const protocolMessageSchemas: {
9790
9792
  }[] | undefined;
9791
9793
  isStreaming?: boolean | undefined;
9792
9794
  toolCall?: {
9793
- id: string;
9794
9795
  name: string;
9795
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9796
+ id: string;
9796
9797
  input?: string | undefined;
9797
9798
  output?: string | undefined;
9799
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9798
9800
  createdAt?: number | undefined;
9799
9801
  } | undefined;
9800
9802
  permission?: {
@@ -9850,10 +9852,10 @@ export declare const protocolMessageSchemas: {
9850
9852
  }>, "many">>;
9851
9853
  }, "strip", z.ZodTypeAny, {
9852
9854
  conversation: {
9855
+ provider: "claude" | "codex" | "custom";
9853
9856
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
9854
9857
  id: string;
9855
9858
  cwd: string;
9856
- provider: "claude" | "codex" | "custom";
9857
9859
  createdAt: number;
9858
9860
  archived: boolean;
9859
9861
  lastActivityAt: number;
@@ -9880,9 +9882,9 @@ export declare const protocolMessageSchemas: {
9880
9882
  text?: string | undefined;
9881
9883
  itemId?: string | undefined;
9882
9884
  commandExecution?: {
9883
- status?: "running" | "pending" | "completed" | "failed" | undefined;
9884
- output?: string | undefined;
9885
9885
  command?: string | undefined;
9886
+ output?: string | undefined;
9887
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
9886
9888
  cwd?: string | undefined;
9887
9889
  exitCode?: number | null | undefined;
9888
9890
  } | undefined;
@@ -9908,9 +9910,9 @@ export declare const protocolMessageSchemas: {
9908
9910
  }[] | undefined;
9909
9911
  isStreaming?: boolean | undefined;
9910
9912
  toolCall?: {
9913
+ name: string;
9911
9914
  status: "running" | "pending" | "completed" | "failed";
9912
9915
  id: string;
9913
- name: string;
9914
9916
  input?: string | undefined;
9915
9917
  output?: string | undefined;
9916
9918
  createdAt?: number | undefined;
@@ -9972,9 +9974,9 @@ export declare const protocolMessageSchemas: {
9972
9974
  cwd: string;
9973
9975
  createdAt: number;
9974
9976
  lastActivityAt: number;
9977
+ provider?: "claude" | "codex" | "custom" | undefined;
9975
9978
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
9976
9979
  title?: string | undefined;
9977
- provider?: "claude" | "codex" | "custom" | undefined;
9978
9980
  agentSessionId?: string | undefined;
9979
9981
  model?: string | undefined;
9980
9982
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -9998,9 +10000,9 @@ export declare const protocolMessageSchemas: {
9998
10000
  text?: string | undefined;
9999
10001
  itemId?: string | undefined;
10000
10002
  commandExecution?: {
10001
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10002
- output?: string | undefined;
10003
10003
  command?: string | undefined;
10004
+ output?: string | undefined;
10005
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10004
10006
  cwd?: string | undefined;
10005
10007
  exitCode?: number | null | undefined;
10006
10008
  } | undefined;
@@ -10026,11 +10028,11 @@ export declare const protocolMessageSchemas: {
10026
10028
  }[] | undefined;
10027
10029
  isStreaming?: boolean | undefined;
10028
10030
  toolCall?: {
10029
- id: string;
10030
10031
  name: string;
10031
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10032
+ id: string;
10032
10033
  input?: string | undefined;
10033
10034
  output?: string | undefined;
10035
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10034
10036
  createdAt?: number | undefined;
10035
10037
  } | undefined;
10036
10038
  permission?: {
@@ -10109,10 +10111,10 @@ export declare const protocolMessageSchemas: {
10109
10111
  lastActivityAt: z.ZodNumber;
10110
10112
  createdAt: z.ZodNumber;
10111
10113
  }, "strip", z.ZodTypeAny, {
10114
+ provider: "claude" | "codex" | "custom";
10112
10115
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
10113
10116
  id: string;
10114
10117
  cwd: string;
10115
- provider: "claude" | "codex" | "custom";
10116
10118
  createdAt: number;
10117
10119
  archived: boolean;
10118
10120
  lastActivityAt: number;
@@ -10128,9 +10130,9 @@ export declare const protocolMessageSchemas: {
10128
10130
  cwd: string;
10129
10131
  createdAt: number;
10130
10132
  lastActivityAt: number;
10133
+ provider?: "claude" | "codex" | "custom" | undefined;
10131
10134
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
10132
10135
  title?: string | undefined;
10133
- provider?: "claude" | "codex" | "custom" | undefined;
10134
10136
  agentSessionId?: string | undefined;
10135
10137
  model?: string | undefined;
10136
10138
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -10141,10 +10143,10 @@ export declare const protocolMessageSchemas: {
10141
10143
  }>, "many">;
10142
10144
  }, "strip", z.ZodTypeAny, {
10143
10145
  conversations: {
10146
+ provider: "claude" | "codex" | "custom";
10144
10147
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
10145
10148
  id: string;
10146
10149
  cwd: string;
10147
- provider: "claude" | "codex" | "custom";
10148
10150
  createdAt: number;
10149
10151
  archived: boolean;
10150
10152
  lastActivityAt: number;
@@ -10162,9 +10164,9 @@ export declare const protocolMessageSchemas: {
10162
10164
  cwd: string;
10163
10165
  createdAt: number;
10164
10166
  lastActivityAt: number;
10167
+ provider?: "claude" | "codex" | "custom" | undefined;
10165
10168
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
10166
10169
  title?: string | undefined;
10167
- provider?: "claude" | "codex" | "custom" | undefined;
10168
10170
  agentSessionId?: string | undefined;
10169
10171
  model?: string | undefined;
10170
10172
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -10319,18 +10321,18 @@ export declare const protocolMessageSchemas: {
10319
10321
  createdAt: z.ZodOptional<z.ZodNumber>;
10320
10322
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
10321
10323
  }, "strip", z.ZodTypeAny, {
10324
+ name: string;
10322
10325
  status: "running" | "pending" | "completed" | "failed";
10323
10326
  id: string;
10324
- name: string;
10325
10327
  input?: string | undefined;
10326
10328
  output?: string | undefined;
10327
10329
  createdAt?: number | undefined;
10328
10330
  }, {
10329
- id: string;
10330
10331
  name: string;
10331
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10332
+ id: string;
10332
10333
  input?: string | undefined;
10333
10334
  output?: string | undefined;
10335
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10334
10336
  createdAt?: number | undefined;
10335
10337
  }>>;
10336
10338
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -10340,15 +10342,15 @@ export declare const protocolMessageSchemas: {
10340
10342
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10341
10343
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
10342
10344
  }, "strip", z.ZodTypeAny, {
10343
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10344
- output?: string | undefined;
10345
10345
  command?: string | undefined;
10346
+ output?: string | undefined;
10347
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10346
10348
  cwd?: string | undefined;
10347
10349
  exitCode?: number | null | undefined;
10348
10350
  }, {
10349
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10350
- output?: string | undefined;
10351
10351
  command?: string | undefined;
10352
+ output?: string | undefined;
10353
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10352
10354
  cwd?: string | undefined;
10353
10355
  exitCode?: number | null | undefined;
10354
10356
  }>>;
@@ -10627,9 +10629,9 @@ export declare const protocolMessageSchemas: {
10627
10629
  text?: string | undefined;
10628
10630
  itemId?: string | undefined;
10629
10631
  commandExecution?: {
10630
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10631
- output?: string | undefined;
10632
10632
  command?: string | undefined;
10633
+ output?: string | undefined;
10634
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10633
10635
  cwd?: string | undefined;
10634
10636
  exitCode?: number | null | undefined;
10635
10637
  } | undefined;
@@ -10655,9 +10657,9 @@ export declare const protocolMessageSchemas: {
10655
10657
  }[] | undefined;
10656
10658
  isStreaming?: boolean | undefined;
10657
10659
  toolCall?: {
10660
+ name: string;
10658
10661
  status: "running" | "pending" | "completed" | "failed";
10659
10662
  id: string;
10660
- name: string;
10661
10663
  input?: string | undefined;
10662
10664
  output?: string | undefined;
10663
10665
  createdAt?: number | undefined;
@@ -10727,9 +10729,9 @@ export declare const protocolMessageSchemas: {
10727
10729
  text?: string | undefined;
10728
10730
  itemId?: string | undefined;
10729
10731
  commandExecution?: {
10730
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10731
- output?: string | undefined;
10732
10732
  command?: string | undefined;
10733
+ output?: string | undefined;
10734
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10733
10735
  cwd?: string | undefined;
10734
10736
  exitCode?: number | null | undefined;
10735
10737
  } | undefined;
@@ -10755,11 +10757,11 @@ export declare const protocolMessageSchemas: {
10755
10757
  }[] | undefined;
10756
10758
  isStreaming?: boolean | undefined;
10757
10759
  toolCall?: {
10758
- id: string;
10759
10760
  name: string;
10760
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10761
+ id: string;
10761
10762
  input?: string | undefined;
10762
10763
  output?: string | undefined;
10764
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10763
10765
  createdAt?: number | undefined;
10764
10766
  } | undefined;
10765
10767
  permission?: {
@@ -10836,9 +10838,9 @@ export declare const protocolMessageSchemas: {
10836
10838
  text?: string | undefined;
10837
10839
  itemId?: string | undefined;
10838
10840
  commandExecution?: {
10839
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10840
- output?: string | undefined;
10841
10841
  command?: string | undefined;
10842
+ output?: string | undefined;
10843
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10842
10844
  cwd?: string | undefined;
10843
10845
  exitCode?: number | null | undefined;
10844
10846
  } | undefined;
@@ -10864,9 +10866,9 @@ export declare const protocolMessageSchemas: {
10864
10866
  }[] | undefined;
10865
10867
  isStreaming?: boolean | undefined;
10866
10868
  toolCall?: {
10869
+ name: string;
10867
10870
  status: "running" | "pending" | "completed" | "failed";
10868
10871
  id: string;
10869
- name: string;
10870
10872
  input?: string | undefined;
10871
10873
  output?: string | undefined;
10872
10874
  createdAt?: number | undefined;
@@ -10943,9 +10945,9 @@ export declare const protocolMessageSchemas: {
10943
10945
  text?: string | undefined;
10944
10946
  itemId?: string | undefined;
10945
10947
  commandExecution?: {
10946
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10947
- output?: string | undefined;
10948
10948
  command?: string | undefined;
10949
+ output?: string | undefined;
10950
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10949
10951
  cwd?: string | undefined;
10950
10952
  exitCode?: number | null | undefined;
10951
10953
  } | undefined;
@@ -10971,11 +10973,11 @@ export declare const protocolMessageSchemas: {
10971
10973
  }[] | undefined;
10972
10974
  isStreaming?: boolean | undefined;
10973
10975
  toolCall?: {
10974
- id: string;
10975
10976
  name: string;
10976
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10977
+ id: string;
10977
10978
  input?: string | undefined;
10978
10979
  output?: string | undefined;
10980
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
10979
10981
  createdAt?: number | undefined;
10980
10982
  } | undefined;
10981
10983
  permission?: {
@@ -11075,10 +11077,10 @@ export declare const protocolMessageSchemas: {
11075
11077
  lastActivityAt: z.ZodNumber;
11076
11078
  createdAt: z.ZodNumber;
11077
11079
  }, "strip", z.ZodTypeAny, {
11080
+ provider: "claude" | "codex" | "custom";
11078
11081
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
11079
11082
  id: string;
11080
11083
  cwd: string;
11081
- provider: "claude" | "codex" | "custom";
11082
11084
  createdAt: number;
11083
11085
  archived: boolean;
11084
11086
  lastActivityAt: number;
@@ -11094,9 +11096,9 @@ export declare const protocolMessageSchemas: {
11094
11096
  cwd: string;
11095
11097
  createdAt: number;
11096
11098
  lastActivityAt: number;
11099
+ provider?: "claude" | "codex" | "custom" | undefined;
11097
11100
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
11098
11101
  title?: string | undefined;
11099
- provider?: "claude" | "codex" | "custom" | undefined;
11100
11102
  agentSessionId?: string | undefined;
11101
11103
  model?: string | undefined;
11102
11104
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -11139,18 +11141,18 @@ export declare const protocolMessageSchemas: {
11139
11141
  createdAt: z.ZodOptional<z.ZodNumber>;
11140
11142
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
11141
11143
  }, "strip", z.ZodTypeAny, {
11144
+ name: string;
11142
11145
  status: "running" | "pending" | "completed" | "failed";
11143
11146
  id: string;
11144
- name: string;
11145
11147
  input?: string | undefined;
11146
11148
  output?: string | undefined;
11147
11149
  createdAt?: number | undefined;
11148
11150
  }, {
11149
- id: string;
11150
11151
  name: string;
11151
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11152
+ id: string;
11152
11153
  input?: string | undefined;
11153
11154
  output?: string | undefined;
11155
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11154
11156
  createdAt?: number | undefined;
11155
11157
  }>>;
11156
11158
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -11160,15 +11162,15 @@ export declare const protocolMessageSchemas: {
11160
11162
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11161
11163
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
11162
11164
  }, "strip", z.ZodTypeAny, {
11163
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11164
- output?: string | undefined;
11165
11165
  command?: string | undefined;
11166
+ output?: string | undefined;
11167
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11166
11168
  cwd?: string | undefined;
11167
11169
  exitCode?: number | null | undefined;
11168
11170
  }, {
11169
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11170
- output?: string | undefined;
11171
11171
  command?: string | undefined;
11172
+ output?: string | undefined;
11173
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11172
11174
  cwd?: string | undefined;
11173
11175
  exitCode?: number | null | undefined;
11174
11176
  }>>;
@@ -11447,9 +11449,9 @@ export declare const protocolMessageSchemas: {
11447
11449
  text?: string | undefined;
11448
11450
  itemId?: string | undefined;
11449
11451
  commandExecution?: {
11450
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11451
- output?: string | undefined;
11452
11452
  command?: string | undefined;
11453
+ output?: string | undefined;
11454
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11453
11455
  cwd?: string | undefined;
11454
11456
  exitCode?: number | null | undefined;
11455
11457
  } | undefined;
@@ -11475,9 +11477,9 @@ export declare const protocolMessageSchemas: {
11475
11477
  }[] | undefined;
11476
11478
  isStreaming?: boolean | undefined;
11477
11479
  toolCall?: {
11480
+ name: string;
11478
11481
  status: "running" | "pending" | "completed" | "failed";
11479
11482
  id: string;
11480
- name: string;
11481
11483
  input?: string | undefined;
11482
11484
  output?: string | undefined;
11483
11485
  createdAt?: number | undefined;
@@ -11547,9 +11549,9 @@ export declare const protocolMessageSchemas: {
11547
11549
  text?: string | undefined;
11548
11550
  itemId?: string | undefined;
11549
11551
  commandExecution?: {
11550
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11551
- output?: string | undefined;
11552
11552
  command?: string | undefined;
11553
+ output?: string | undefined;
11554
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11553
11555
  cwd?: string | undefined;
11554
11556
  exitCode?: number | null | undefined;
11555
11557
  } | undefined;
@@ -11575,11 +11577,11 @@ export declare const protocolMessageSchemas: {
11575
11577
  }[] | undefined;
11576
11578
  isStreaming?: boolean | undefined;
11577
11579
  toolCall?: {
11578
- id: string;
11579
11580
  name: string;
11580
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11581
+ id: string;
11581
11582
  input?: string | undefined;
11582
11583
  output?: string | undefined;
11584
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11583
11585
  createdAt?: number | undefined;
11584
11586
  } | undefined;
11585
11587
  permission?: {
@@ -11636,10 +11638,10 @@ export declare const protocolMessageSchemas: {
11636
11638
  machineId: z.ZodOptional<z.ZodString>;
11637
11639
  }, "strip", z.ZodTypeAny, {
11638
11640
  conversations: {
11641
+ provider: "claude" | "codex" | "custom";
11639
11642
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
11640
11643
  id: string;
11641
11644
  cwd: string;
11642
- provider: "claude" | "codex" | "custom";
11643
11645
  createdAt: number;
11644
11646
  archived: boolean;
11645
11647
  lastActivityAt: number;
@@ -11666,9 +11668,9 @@ export declare const protocolMessageSchemas: {
11666
11668
  text?: string | undefined;
11667
11669
  itemId?: string | undefined;
11668
11670
  commandExecution?: {
11669
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11670
- output?: string | undefined;
11671
11671
  command?: string | undefined;
11672
+ output?: string | undefined;
11673
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11672
11674
  cwd?: string | undefined;
11673
11675
  exitCode?: number | null | undefined;
11674
11676
  } | undefined;
@@ -11694,9 +11696,9 @@ export declare const protocolMessageSchemas: {
11694
11696
  }[] | undefined;
11695
11697
  isStreaming?: boolean | undefined;
11696
11698
  toolCall?: {
11699
+ name: string;
11697
11700
  status: "running" | "pending" | "completed" | "failed";
11698
11701
  id: string;
11699
- name: string;
11700
11702
  input?: string | undefined;
11701
11703
  output?: string | undefined;
11702
11704
  createdAt?: number | undefined;
@@ -11761,9 +11763,9 @@ export declare const protocolMessageSchemas: {
11761
11763
  cwd: string;
11762
11764
  createdAt: number;
11763
11765
  lastActivityAt: number;
11766
+ provider?: "claude" | "codex" | "custom" | undefined;
11764
11767
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
11765
11768
  title?: string | undefined;
11766
- provider?: "claude" | "codex" | "custom" | undefined;
11767
11769
  agentSessionId?: string | undefined;
11768
11770
  model?: string | undefined;
11769
11771
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -11788,9 +11790,9 @@ export declare const protocolMessageSchemas: {
11788
11790
  text?: string | undefined;
11789
11791
  itemId?: string | undefined;
11790
11792
  commandExecution?: {
11791
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11792
- output?: string | undefined;
11793
11793
  command?: string | undefined;
11794
+ output?: string | undefined;
11795
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11794
11796
  cwd?: string | undefined;
11795
11797
  exitCode?: number | null | undefined;
11796
11798
  } | undefined;
@@ -11816,11 +11818,11 @@ export declare const protocolMessageSchemas: {
11816
11818
  }[] | undefined;
11817
11819
  isStreaming?: boolean | undefined;
11818
11820
  toolCall?: {
11819
- id: string;
11820
11821
  name: string;
11821
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11822
+ id: string;
11822
11823
  input?: string | undefined;
11823
11824
  output?: string | undefined;
11825
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11824
11826
  createdAt?: number | undefined;
11825
11827
  } | undefined;
11826
11828
  permission?: {
@@ -11893,10 +11895,10 @@ export declare const protocolMessageSchemas: {
11893
11895
  lastActivityAt: z.ZodNumber;
11894
11896
  createdAt: z.ZodNumber;
11895
11897
  }, "strip", z.ZodTypeAny, {
11898
+ provider: "claude" | "codex" | "custom";
11896
11899
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
11897
11900
  id: string;
11898
11901
  cwd: string;
11899
- provider: "claude" | "codex" | "custom";
11900
11902
  createdAt: number;
11901
11903
  archived: boolean;
11902
11904
  lastActivityAt: number;
@@ -11912,9 +11914,9 @@ export declare const protocolMessageSchemas: {
11912
11914
  cwd: string;
11913
11915
  createdAt: number;
11914
11916
  lastActivityAt: number;
11917
+ provider?: "claude" | "codex" | "custom" | undefined;
11915
11918
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
11916
11919
  title?: string | undefined;
11917
- provider?: "claude" | "codex" | "custom" | undefined;
11918
11920
  agentSessionId?: string | undefined;
11919
11921
  model?: string | undefined;
11920
11922
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
@@ -11956,18 +11958,18 @@ export declare const protocolMessageSchemas: {
11956
11958
  createdAt: z.ZodOptional<z.ZodNumber>;
11957
11959
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
11958
11960
  }, "strip", z.ZodTypeAny, {
11961
+ name: string;
11959
11962
  status: "running" | "pending" | "completed" | "failed";
11960
11963
  id: string;
11961
- name: string;
11962
11964
  input?: string | undefined;
11963
11965
  output?: string | undefined;
11964
11966
  createdAt?: number | undefined;
11965
11967
  }, {
11966
- id: string;
11967
11968
  name: string;
11968
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11969
+ id: string;
11969
11970
  input?: string | undefined;
11970
11971
  output?: string | undefined;
11972
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11971
11973
  createdAt?: number | undefined;
11972
11974
  }>>;
11973
11975
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -11977,15 +11979,15 @@ export declare const protocolMessageSchemas: {
11977
11979
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11978
11980
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
11979
11981
  }, "strip", z.ZodTypeAny, {
11980
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11981
- output?: string | undefined;
11982
11982
  command?: string | undefined;
11983
+ output?: string | undefined;
11984
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11983
11985
  cwd?: string | undefined;
11984
11986
  exitCode?: number | null | undefined;
11985
11987
  }, {
11986
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11987
- output?: string | undefined;
11988
11988
  command?: string | undefined;
11989
+ output?: string | undefined;
11990
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
11989
11991
  cwd?: string | undefined;
11990
11992
  exitCode?: number | null | undefined;
11991
11993
  }>>;
@@ -12264,9 +12266,9 @@ export declare const protocolMessageSchemas: {
12264
12266
  text?: string | undefined;
12265
12267
  itemId?: string | undefined;
12266
12268
  commandExecution?: {
12267
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12268
- output?: string | undefined;
12269
12269
  command?: string | undefined;
12270
+ output?: string | undefined;
12271
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12270
12272
  cwd?: string | undefined;
12271
12273
  exitCode?: number | null | undefined;
12272
12274
  } | undefined;
@@ -12292,9 +12294,9 @@ export declare const protocolMessageSchemas: {
12292
12294
  }[] | undefined;
12293
12295
  isStreaming?: boolean | undefined;
12294
12296
  toolCall?: {
12297
+ name: string;
12295
12298
  status: "running" | "pending" | "completed" | "failed";
12296
12299
  id: string;
12297
- name: string;
12298
12300
  input?: string | undefined;
12299
12301
  output?: string | undefined;
12300
12302
  createdAt?: number | undefined;
@@ -12364,9 +12366,9 @@ export declare const protocolMessageSchemas: {
12364
12366
  text?: string | undefined;
12365
12367
  itemId?: string | undefined;
12366
12368
  commandExecution?: {
12367
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12368
- output?: string | undefined;
12369
12369
  command?: string | undefined;
12370
+ output?: string | undefined;
12371
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12370
12372
  cwd?: string | undefined;
12371
12373
  exitCode?: number | null | undefined;
12372
12374
  } | undefined;
@@ -12392,11 +12394,11 @@ export declare const protocolMessageSchemas: {
12392
12394
  }[] | undefined;
12393
12395
  isStreaming?: boolean | undefined;
12394
12396
  toolCall?: {
12395
- id: string;
12396
12397
  name: string;
12397
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12398
+ id: string;
12398
12399
  input?: string | undefined;
12399
12400
  output?: string | undefined;
12401
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12400
12402
  createdAt?: number | undefined;
12401
12403
  } | undefined;
12402
12404
  permission?: {
@@ -12481,18 +12483,18 @@ export declare const protocolMessageSchemas: {
12481
12483
  createdAt: z.ZodOptional<z.ZodNumber>;
12482
12484
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
12483
12485
  }, "strip", z.ZodTypeAny, {
12486
+ name: string;
12484
12487
  status: "running" | "pending" | "completed" | "failed";
12485
12488
  id: string;
12486
- name: string;
12487
12489
  input?: string | undefined;
12488
12490
  output?: string | undefined;
12489
12491
  createdAt?: number | undefined;
12490
12492
  }, {
12491
- id: string;
12492
12493
  name: string;
12493
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12494
+ id: string;
12494
12495
  input?: string | undefined;
12495
12496
  output?: string | undefined;
12497
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12496
12498
  createdAt?: number | undefined;
12497
12499
  }>>;
12498
12500
  commandExecution: z.ZodOptional<z.ZodObject<{
@@ -12502,15 +12504,15 @@ export declare const protocolMessageSchemas: {
12502
12504
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12503
12505
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
12504
12506
  }, "strip", z.ZodTypeAny, {
12505
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12506
- output?: string | undefined;
12507
12507
  command?: string | undefined;
12508
+ output?: string | undefined;
12509
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12508
12510
  cwd?: string | undefined;
12509
12511
  exitCode?: number | null | undefined;
12510
12512
  }, {
12511
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12512
- output?: string | undefined;
12513
12513
  command?: string | undefined;
12514
+ output?: string | undefined;
12515
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12514
12516
  cwd?: string | undefined;
12515
12517
  exitCode?: number | null | undefined;
12516
12518
  }>>;
@@ -12783,9 +12785,9 @@ export declare const protocolMessageSchemas: {
12783
12785
  }[] | undefined;
12784
12786
  text?: string | undefined;
12785
12787
  commandExecution?: {
12786
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12787
- output?: string | undefined;
12788
12788
  command?: string | undefined;
12789
+ output?: string | undefined;
12790
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12789
12791
  cwd?: string | undefined;
12790
12792
  exitCode?: number | null | undefined;
12791
12793
  } | undefined;
@@ -12811,9 +12813,9 @@ export declare const protocolMessageSchemas: {
12811
12813
  }[] | undefined;
12812
12814
  isStreaming?: boolean | undefined;
12813
12815
  toolCall?: {
12816
+ name: string;
12814
12817
  status: "running" | "pending" | "completed" | "failed";
12815
12818
  id: string;
12816
- name: string;
12817
12819
  input?: string | undefined;
12818
12820
  output?: string | undefined;
12819
12821
  createdAt?: number | undefined;
@@ -12879,9 +12881,9 @@ export declare const protocolMessageSchemas: {
12879
12881
  }[] | undefined;
12880
12882
  text?: string | undefined;
12881
12883
  commandExecution?: {
12882
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12883
- output?: string | undefined;
12884
12884
  command?: string | undefined;
12885
+ output?: string | undefined;
12886
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12885
12887
  cwd?: string | undefined;
12886
12888
  exitCode?: number | null | undefined;
12887
12889
  } | undefined;
@@ -12907,11 +12909,11 @@ export declare const protocolMessageSchemas: {
12907
12909
  }[] | undefined;
12908
12910
  isStreaming?: boolean | undefined;
12909
12911
  toolCall?: {
12910
- id: string;
12911
12912
  name: string;
12912
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12913
+ id: string;
12913
12914
  input?: string | undefined;
12914
12915
  output?: string | undefined;
12916
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12915
12917
  createdAt?: number | undefined;
12916
12918
  } | undefined;
12917
12919
  permission?: {
@@ -12982,9 +12984,9 @@ export declare const protocolMessageSchemas: {
12982
12984
  text?: string | undefined;
12983
12985
  itemId?: string | undefined;
12984
12986
  commandExecution?: {
12985
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12986
- output?: string | undefined;
12987
12987
  command?: string | undefined;
12988
+ output?: string | undefined;
12989
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
12988
12990
  cwd?: string | undefined;
12989
12991
  exitCode?: number | null | undefined;
12990
12992
  } | undefined;
@@ -13010,9 +13012,9 @@ export declare const protocolMessageSchemas: {
13010
13012
  }[] | undefined;
13011
13013
  isStreaming?: boolean | undefined;
13012
13014
  toolCall?: {
13015
+ name: string;
13013
13016
  status: "running" | "pending" | "completed" | "failed";
13014
13017
  id: string;
13015
- name: string;
13016
13018
  input?: string | undefined;
13017
13019
  output?: string | undefined;
13018
13020
  createdAt?: number | undefined;
@@ -13079,9 +13081,9 @@ export declare const protocolMessageSchemas: {
13079
13081
  }[] | undefined;
13080
13082
  text?: string | undefined;
13081
13083
  commandExecution?: {
13082
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13083
- output?: string | undefined;
13084
13084
  command?: string | undefined;
13085
+ output?: string | undefined;
13086
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
13085
13087
  cwd?: string | undefined;
13086
13088
  exitCode?: number | null | undefined;
13087
13089
  } | undefined;
@@ -13107,9 +13109,9 @@ export declare const protocolMessageSchemas: {
13107
13109
  }[] | undefined;
13108
13110
  isStreaming?: boolean | undefined;
13109
13111
  toolCall?: {
13112
+ name: string;
13110
13113
  status: "running" | "pending" | "completed" | "failed";
13111
13114
  id: string;
13112
- name: string;
13113
13115
  input?: string | undefined;
13114
13116
  output?: string | undefined;
13115
13117
  createdAt?: number | undefined;
@@ -13166,10 +13168,10 @@ export declare const protocolMessageSchemas: {
13166
13168
  textDelta?: string | undefined;
13167
13169
  } | undefined;
13168
13170
  conversation?: {
13171
+ provider: "claude" | "codex" | "custom";
13169
13172
  status: "error" | "unavailable" | "idle" | "running" | "waiting_permission";
13170
13173
  id: string;
13171
13174
  cwd: string;
13172
- provider: "claude" | "codex" | "custom";
13173
13175
  createdAt: number;
13174
13176
  archived: boolean;
13175
13177
  lastActivityAt: number;
@@ -13198,9 +13200,9 @@ export declare const protocolMessageSchemas: {
13198
13200
  text?: string | undefined;
13199
13201
  itemId?: string | undefined;
13200
13202
  commandExecution?: {
13201
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13202
- output?: string | undefined;
13203
13203
  command?: string | undefined;
13204
+ output?: string | undefined;
13205
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
13204
13206
  cwd?: string | undefined;
13205
13207
  exitCode?: number | null | undefined;
13206
13208
  } | undefined;
@@ -13226,11 +13228,11 @@ export declare const protocolMessageSchemas: {
13226
13228
  }[] | undefined;
13227
13229
  isStreaming?: boolean | undefined;
13228
13230
  toolCall?: {
13229
- id: string;
13230
13231
  name: string;
13231
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13232
+ id: string;
13232
13233
  input?: string | undefined;
13233
13234
  output?: string | undefined;
13235
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
13234
13236
  createdAt?: number | undefined;
13235
13237
  } | undefined;
13236
13238
  permission?: {
@@ -13295,9 +13297,9 @@ export declare const protocolMessageSchemas: {
13295
13297
  }[] | undefined;
13296
13298
  text?: string | undefined;
13297
13299
  commandExecution?: {
13298
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13299
- output?: string | undefined;
13300
13300
  command?: string | undefined;
13301
+ output?: string | undefined;
13302
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
13301
13303
  cwd?: string | undefined;
13302
13304
  exitCode?: number | null | undefined;
13303
13305
  } | undefined;
@@ -13323,11 +13325,11 @@ export declare const protocolMessageSchemas: {
13323
13325
  }[] | undefined;
13324
13326
  isStreaming?: boolean | undefined;
13325
13327
  toolCall?: {
13326
- id: string;
13327
13328
  name: string;
13328
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13329
+ id: string;
13329
13330
  input?: string | undefined;
13330
13331
  output?: string | undefined;
13332
+ status?: "running" | "pending" | "completed" | "failed" | undefined;
13331
13333
  createdAt?: number | undefined;
13332
13334
  } | undefined;
13333
13335
  permission?: {
@@ -13386,9 +13388,9 @@ export declare const protocolMessageSchemas: {
13386
13388
  cwd: string;
13387
13389
  createdAt: number;
13388
13390
  lastActivityAt: number;
13391
+ provider?: "claude" | "codex" | "custom" | undefined;
13389
13392
  status?: "error" | "unavailable" | "idle" | "running" | "waiting_permission" | undefined;
13390
13393
  title?: string | undefined;
13391
- provider?: "claude" | "codex" | "custom" | undefined;
13392
13394
  agentSessionId?: string | undefined;
13393
13395
  model?: string | undefined;
13394
13396
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;