@ai-matrx/desktop-protocol 0.17.3 → 0.17.5

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.
package/dist/react.d.cts CHANGED
@@ -1033,6 +1033,403 @@ declare const OPS: {
1033
1033
  readonly since: "1.2";
1034
1034
  readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "AUTH_REQUIRED", "DEVICE_OFFLINE", "INTERNAL"];
1035
1035
  };
1036
+ readonly "apps.chats.list": {
1037
+ readonly params: z.ZodObject<{
1038
+ app_key: z.ZodString;
1039
+ ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1040
+ }, z.core.$strict>;
1041
+ readonly result: z.ZodObject<{
1042
+ app_key: z.ZodString;
1043
+ version: z.ZodInt;
1044
+ windows: z.ZodArray<z.ZodObject<{
1045
+ key: z.ZodString;
1046
+ main: z.ZodBoolean;
1047
+ account: z.ZodNullable<z.ZodString>;
1048
+ }, z.core.$strict>>;
1049
+ projects: z.ZodArray<z.ZodObject<{
1050
+ id: z.ZodString;
1051
+ name: z.ZodString;
1052
+ archived: z.ZodBoolean;
1053
+ count: z.ZodInt;
1054
+ }, z.core.$strict>>;
1055
+ chats: z.ZodArray<z.ZodObject<{
1056
+ id: z.ZodString;
1057
+ short_id: z.ZodString;
1058
+ record: z.ZodNullable<z.ZodString>;
1059
+ title: z.ZodString;
1060
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1061
+ created_ms: z.ZodNullable<z.ZodInt>;
1062
+ projects: z.ZodArray<z.ZodString>;
1063
+ starred: z.ZodBoolean;
1064
+ pinned_in: z.ZodArray<z.ZodObject<{
1065
+ window: z.ZodString;
1066
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1067
+ }, z.core.$strict>>;
1068
+ places: z.ZodArray<z.ZodString>;
1069
+ held: z.ZodBoolean;
1070
+ running: z.ZodArray<z.ZodObject<{
1071
+ window: z.ZodString;
1072
+ how: z.ZodEnum<{
1073
+ process: "process";
1074
+ activity: "activity";
1075
+ }>;
1076
+ }, z.core.$strict>>;
1077
+ hidden_in: z.ZodArray<z.ZodObject<{
1078
+ window: z.ZodString;
1079
+ reason: z.ZodString;
1080
+ }, z.core.$strict>>;
1081
+ hidden_from_main: z.ZodBoolean;
1082
+ main_pending: z.ZodBoolean;
1083
+ scheduled: z.ZodNullable<z.ZodString>;
1084
+ new_unfiled: z.ZodBoolean;
1085
+ warnings: z.ZodArray<z.ZodString>;
1086
+ last_use: z.ZodNullable<z.ZodObject<{
1087
+ at_ms: z.ZodInt;
1088
+ window: z.ZodNullable<z.ZodString>;
1089
+ account: z.ZodNullable<z.ZodString>;
1090
+ how: z.ZodNullable<z.ZodString>;
1091
+ cache_warm: z.ZodBoolean;
1092
+ cache_minutes_left: z.ZodInt;
1093
+ }, z.core.$strict>>;
1094
+ }, z.core.$strict>>;
1095
+ new_window_ms: z.ZodInt;
1096
+ updating: z.ZodOptional<z.ZodBoolean>;
1097
+ live: z.ZodOptional<z.ZodBoolean>;
1098
+ }, z.core.$strict>;
1099
+ readonly kind: "unary";
1100
+ readonly since: "1.8";
1101
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1102
+ };
1103
+ readonly "apps.chats.watch": {
1104
+ readonly params: z.ZodObject<{
1105
+ app_key: z.ZodString;
1106
+ }, z.core.$strict>;
1107
+ readonly result: z.ZodObject<{
1108
+ resource_id: z.ZodString;
1109
+ version: z.ZodInt;
1110
+ }, z.core.$strict>;
1111
+ readonly kind: "resource";
1112
+ readonly since: "1.8";
1113
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
1114
+ };
1115
+ readonly "apps.chats.star": {
1116
+ readonly params: z.ZodObject<{
1117
+ app_key: z.ZodString;
1118
+ chat_id: z.ZodString;
1119
+ starred: z.ZodBoolean;
1120
+ }, z.core.$strict>;
1121
+ readonly result: z.ZodObject<{
1122
+ chat: z.ZodObject<{
1123
+ id: z.ZodString;
1124
+ short_id: z.ZodString;
1125
+ record: z.ZodNullable<z.ZodString>;
1126
+ title: z.ZodString;
1127
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1128
+ created_ms: z.ZodNullable<z.ZodInt>;
1129
+ projects: z.ZodArray<z.ZodString>;
1130
+ starred: z.ZodBoolean;
1131
+ pinned_in: z.ZodArray<z.ZodObject<{
1132
+ window: z.ZodString;
1133
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1134
+ }, z.core.$strict>>;
1135
+ places: z.ZodArray<z.ZodString>;
1136
+ held: z.ZodBoolean;
1137
+ running: z.ZodArray<z.ZodObject<{
1138
+ window: z.ZodString;
1139
+ how: z.ZodEnum<{
1140
+ process: "process";
1141
+ activity: "activity";
1142
+ }>;
1143
+ }, z.core.$strict>>;
1144
+ hidden_in: z.ZodArray<z.ZodObject<{
1145
+ window: z.ZodString;
1146
+ reason: z.ZodString;
1147
+ }, z.core.$strict>>;
1148
+ hidden_from_main: z.ZodBoolean;
1149
+ main_pending: z.ZodBoolean;
1150
+ scheduled: z.ZodNullable<z.ZodString>;
1151
+ new_unfiled: z.ZodBoolean;
1152
+ warnings: z.ZodArray<z.ZodString>;
1153
+ last_use: z.ZodNullable<z.ZodObject<{
1154
+ at_ms: z.ZodInt;
1155
+ window: z.ZodNullable<z.ZodString>;
1156
+ account: z.ZodNullable<z.ZodString>;
1157
+ how: z.ZodNullable<z.ZodString>;
1158
+ cache_warm: z.ZodBoolean;
1159
+ cache_minutes_left: z.ZodInt;
1160
+ }, z.core.$strict>>;
1161
+ }, z.core.$strict>;
1162
+ }, z.core.$strict>;
1163
+ readonly kind: "unary";
1164
+ readonly since: "1.8";
1165
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1166
+ };
1167
+ readonly "apps.projects.file": {
1168
+ readonly params: z.ZodObject<{
1169
+ app_key: z.ZodString;
1170
+ chat_id: z.ZodString;
1171
+ project_id: z.ZodOptional<z.ZodString>;
1172
+ new_project_name: z.ZodOptional<z.ZodString>;
1173
+ }, z.core.$strict>;
1174
+ readonly result: z.ZodObject<{
1175
+ chat: z.ZodObject<{
1176
+ id: z.ZodString;
1177
+ short_id: z.ZodString;
1178
+ record: z.ZodNullable<z.ZodString>;
1179
+ title: z.ZodString;
1180
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1181
+ created_ms: z.ZodNullable<z.ZodInt>;
1182
+ projects: z.ZodArray<z.ZodString>;
1183
+ starred: z.ZodBoolean;
1184
+ pinned_in: z.ZodArray<z.ZodObject<{
1185
+ window: z.ZodString;
1186
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1187
+ }, z.core.$strict>>;
1188
+ places: z.ZodArray<z.ZodString>;
1189
+ held: z.ZodBoolean;
1190
+ running: z.ZodArray<z.ZodObject<{
1191
+ window: z.ZodString;
1192
+ how: z.ZodEnum<{
1193
+ process: "process";
1194
+ activity: "activity";
1195
+ }>;
1196
+ }, z.core.$strict>>;
1197
+ hidden_in: z.ZodArray<z.ZodObject<{
1198
+ window: z.ZodString;
1199
+ reason: z.ZodString;
1200
+ }, z.core.$strict>>;
1201
+ hidden_from_main: z.ZodBoolean;
1202
+ main_pending: z.ZodBoolean;
1203
+ scheduled: z.ZodNullable<z.ZodString>;
1204
+ new_unfiled: z.ZodBoolean;
1205
+ warnings: z.ZodArray<z.ZodString>;
1206
+ last_use: z.ZodNullable<z.ZodObject<{
1207
+ at_ms: z.ZodInt;
1208
+ window: z.ZodNullable<z.ZodString>;
1209
+ account: z.ZodNullable<z.ZodString>;
1210
+ how: z.ZodNullable<z.ZodString>;
1211
+ cache_warm: z.ZodBoolean;
1212
+ cache_minutes_left: z.ZodInt;
1213
+ }, z.core.$strict>>;
1214
+ }, z.core.$strict>;
1215
+ project: z.ZodObject<{
1216
+ id: z.ZodString;
1217
+ name: z.ZodString;
1218
+ archived: z.ZodBoolean;
1219
+ count: z.ZodInt;
1220
+ }, z.core.$strict>;
1221
+ }, z.core.$strict>;
1222
+ readonly kind: "unary";
1223
+ readonly since: "1.8";
1224
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1225
+ };
1226
+ readonly "apps.chats.place": {
1227
+ readonly params: z.ZodObject<{
1228
+ app_key: z.ZodString;
1229
+ chat_id: z.ZodString;
1230
+ action: z.ZodEnum<{
1231
+ place: "place";
1232
+ take_off: "take_off";
1233
+ hold: "hold";
1234
+ }>;
1235
+ window: z.ZodOptional<z.ZodString>;
1236
+ stop_if_open: z.ZodDefault<z.ZodBoolean>;
1237
+ }, z.core.$strict>;
1238
+ readonly result: z.ZodObject<{
1239
+ chat: z.ZodObject<{
1240
+ id: z.ZodString;
1241
+ short_id: z.ZodString;
1242
+ record: z.ZodNullable<z.ZodString>;
1243
+ title: z.ZodString;
1244
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1245
+ created_ms: z.ZodNullable<z.ZodInt>;
1246
+ projects: z.ZodArray<z.ZodString>;
1247
+ starred: z.ZodBoolean;
1248
+ pinned_in: z.ZodArray<z.ZodObject<{
1249
+ window: z.ZodString;
1250
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1251
+ }, z.core.$strict>>;
1252
+ places: z.ZodArray<z.ZodString>;
1253
+ held: z.ZodBoolean;
1254
+ running: z.ZodArray<z.ZodObject<{
1255
+ window: z.ZodString;
1256
+ how: z.ZodEnum<{
1257
+ process: "process";
1258
+ activity: "activity";
1259
+ }>;
1260
+ }, z.core.$strict>>;
1261
+ hidden_in: z.ZodArray<z.ZodObject<{
1262
+ window: z.ZodString;
1263
+ reason: z.ZodString;
1264
+ }, z.core.$strict>>;
1265
+ hidden_from_main: z.ZodBoolean;
1266
+ main_pending: z.ZodBoolean;
1267
+ scheduled: z.ZodNullable<z.ZodString>;
1268
+ new_unfiled: z.ZodBoolean;
1269
+ warnings: z.ZodArray<z.ZodString>;
1270
+ last_use: z.ZodNullable<z.ZodObject<{
1271
+ at_ms: z.ZodInt;
1272
+ window: z.ZodNullable<z.ZodString>;
1273
+ account: z.ZodNullable<z.ZodString>;
1274
+ how: z.ZodNullable<z.ZodString>;
1275
+ cache_warm: z.ZodBoolean;
1276
+ cache_minutes_left: z.ZodInt;
1277
+ }, z.core.$strict>>;
1278
+ }, z.core.$strict>;
1279
+ message: z.ZodString;
1280
+ }, z.core.$strict>;
1281
+ readonly kind: "unary";
1282
+ readonly since: "1.9";
1283
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1284
+ };
1285
+ readonly "apps.projects.file_many": {
1286
+ readonly params: z.ZodObject<{
1287
+ app_key: z.ZodString;
1288
+ chat_ids: z.ZodArray<z.ZodString>;
1289
+ project_id: z.ZodOptional<z.ZodString>;
1290
+ new_project_name: z.ZodOptional<z.ZodString>;
1291
+ }, z.core.$strict>;
1292
+ readonly result: z.ZodObject<{
1293
+ chats: z.ZodArray<z.ZodObject<{
1294
+ id: z.ZodString;
1295
+ short_id: z.ZodString;
1296
+ record: z.ZodNullable<z.ZodString>;
1297
+ title: z.ZodString;
1298
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1299
+ created_ms: z.ZodNullable<z.ZodInt>;
1300
+ projects: z.ZodArray<z.ZodString>;
1301
+ starred: z.ZodBoolean;
1302
+ pinned_in: z.ZodArray<z.ZodObject<{
1303
+ window: z.ZodString;
1304
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1305
+ }, z.core.$strict>>;
1306
+ places: z.ZodArray<z.ZodString>;
1307
+ held: z.ZodBoolean;
1308
+ running: z.ZodArray<z.ZodObject<{
1309
+ window: z.ZodString;
1310
+ how: z.ZodEnum<{
1311
+ process: "process";
1312
+ activity: "activity";
1313
+ }>;
1314
+ }, z.core.$strict>>;
1315
+ hidden_in: z.ZodArray<z.ZodObject<{
1316
+ window: z.ZodString;
1317
+ reason: z.ZodString;
1318
+ }, z.core.$strict>>;
1319
+ hidden_from_main: z.ZodBoolean;
1320
+ main_pending: z.ZodBoolean;
1321
+ scheduled: z.ZodNullable<z.ZodString>;
1322
+ new_unfiled: z.ZodBoolean;
1323
+ warnings: z.ZodArray<z.ZodString>;
1324
+ last_use: z.ZodNullable<z.ZodObject<{
1325
+ at_ms: z.ZodInt;
1326
+ window: z.ZodNullable<z.ZodString>;
1327
+ account: z.ZodNullable<z.ZodString>;
1328
+ how: z.ZodNullable<z.ZodString>;
1329
+ cache_warm: z.ZodBoolean;
1330
+ cache_minutes_left: z.ZodInt;
1331
+ }, z.core.$strict>>;
1332
+ }, z.core.$strict>>;
1333
+ project: z.ZodObject<{
1334
+ id: z.ZodString;
1335
+ name: z.ZodString;
1336
+ archived: z.ZodBoolean;
1337
+ count: z.ZodInt;
1338
+ }, z.core.$strict>;
1339
+ }, z.core.$strict>;
1340
+ readonly kind: "unary";
1341
+ readonly since: "1.9";
1342
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1343
+ };
1344
+ readonly "apps.projects.update": {
1345
+ readonly params: z.ZodObject<{
1346
+ app_key: z.ZodString;
1347
+ project_id: z.ZodString;
1348
+ name: z.ZodOptional<z.ZodString>;
1349
+ archived: z.ZodOptional<z.ZodBoolean>;
1350
+ }, z.core.$strict>;
1351
+ readonly result: z.ZodObject<{
1352
+ project: z.ZodObject<{
1353
+ id: z.ZodString;
1354
+ name: z.ZodString;
1355
+ archived: z.ZodBoolean;
1356
+ count: z.ZodInt;
1357
+ }, z.core.$strict>;
1358
+ }, z.core.$strict>;
1359
+ readonly kind: "unary";
1360
+ readonly since: "1.9";
1361
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1362
+ };
1363
+ readonly "apps.projects.copy": {
1364
+ readonly params: z.ZodObject<{
1365
+ app_key: z.ZodString;
1366
+ project_id: z.ZodString;
1367
+ new_project_name: z.ZodString;
1368
+ }, z.core.$strict>;
1369
+ readonly result: z.ZodObject<{
1370
+ project: z.ZodObject<{
1371
+ id: z.ZodString;
1372
+ name: z.ZodString;
1373
+ archived: z.ZodBoolean;
1374
+ count: z.ZodInt;
1375
+ }, z.core.$strict>;
1376
+ }, z.core.$strict>;
1377
+ readonly kind: "unary";
1378
+ readonly since: "1.9";
1379
+ readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1380
+ };
1381
+ readonly "apps.projects.unfile": {
1382
+ readonly params: z.ZodObject<{
1383
+ app_key: z.ZodString;
1384
+ chat_id: z.ZodString;
1385
+ project_id: z.ZodString;
1386
+ }, z.core.$strict>;
1387
+ readonly result: z.ZodObject<{
1388
+ chat: z.ZodObject<{
1389
+ id: z.ZodString;
1390
+ short_id: z.ZodString;
1391
+ record: z.ZodNullable<z.ZodString>;
1392
+ title: z.ZodString;
1393
+ last_active_ms: z.ZodNullable<z.ZodInt>;
1394
+ created_ms: z.ZodNullable<z.ZodInt>;
1395
+ projects: z.ZodArray<z.ZodString>;
1396
+ starred: z.ZodBoolean;
1397
+ pinned_in: z.ZodArray<z.ZodObject<{
1398
+ window: z.ZodString;
1399
+ observed_at_ms: z.ZodNullable<z.ZodInt>;
1400
+ }, z.core.$strict>>;
1401
+ places: z.ZodArray<z.ZodString>;
1402
+ held: z.ZodBoolean;
1403
+ running: z.ZodArray<z.ZodObject<{
1404
+ window: z.ZodString;
1405
+ how: z.ZodEnum<{
1406
+ process: "process";
1407
+ activity: "activity";
1408
+ }>;
1409
+ }, z.core.$strict>>;
1410
+ hidden_in: z.ZodArray<z.ZodObject<{
1411
+ window: z.ZodString;
1412
+ reason: z.ZodString;
1413
+ }, z.core.$strict>>;
1414
+ hidden_from_main: z.ZodBoolean;
1415
+ main_pending: z.ZodBoolean;
1416
+ scheduled: z.ZodNullable<z.ZodString>;
1417
+ new_unfiled: z.ZodBoolean;
1418
+ warnings: z.ZodArray<z.ZodString>;
1419
+ last_use: z.ZodNullable<z.ZodObject<{
1420
+ at_ms: z.ZodInt;
1421
+ window: z.ZodNullable<z.ZodString>;
1422
+ account: z.ZodNullable<z.ZodString>;
1423
+ how: z.ZodNullable<z.ZodString>;
1424
+ cache_warm: z.ZodBoolean;
1425
+ cache_minutes_left: z.ZodInt;
1426
+ }, z.core.$strict>>;
1427
+ }, z.core.$strict>;
1428
+ }, z.core.$strict>;
1429
+ readonly kind: "unary";
1430
+ readonly since: "1.8";
1431
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1432
+ };
1036
1433
  readonly "proc.list": {
1037
1434
  readonly params: z.ZodObject<{
1038
1435
  name: z.ZodOptional<z.ZodString>;
@@ -1782,6 +2179,18 @@ declare const EVENTS: {
1782
2179
  }, z.core.$strict>>;
1783
2180
  overflow: z.ZodBoolean;
1784
2181
  }, z.core.$strict>;
2182
+ readonly "apps.chats.changed": z.ZodObject<{
2183
+ app_key: z.ZodString;
2184
+ version: z.ZodInt;
2185
+ ids: z.ZodArray<z.ZodString>;
2186
+ all: z.ZodBoolean;
2187
+ }, z.core.$strict>;
2188
+ readonly "apps.chats.watch_state": z.ZodObject<{
2189
+ app_key: z.ZodString;
2190
+ live: z.ZodBoolean;
2191
+ updating: z.ZodBoolean;
2192
+ reason: z.ZodNullable<z.ZodString>;
2193
+ }, z.core.$strict>;
1785
2194
  readonly "exec.exited": z.ZodObject<{
1786
2195
  exit_code: z.ZodNullable<z.ZodInt>;
1787
2196
  exit_signal: z.ZodNullable<z.ZodEnum<{