@ai-matrx/desktop-protocol 0.17.4 → 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/CHANGELOG.md +10 -0
- package/dist/client.cjs +43 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +43 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +69 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +169 -6
- package/dist/index.d.ts +169 -6
- package/dist/index.js +69 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-9j0ncAJj.d.cts → models-Bb87iuvw.d.cts} +307 -1
- package/dist/{models-9j0ncAJj.d.ts → models-Bb87iuvw.d.ts} +307 -1
- package/dist/react.d.cts +163 -0
- package/dist/react.d.ts +163 -0
- package/generated/desktop-protocol.schema.json +264 -1
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1093,6 +1093,8 @@ declare const OPS: {
|
|
|
1093
1093
|
}, z.core.$strict>>;
|
|
1094
1094
|
}, z.core.$strict>>;
|
|
1095
1095
|
new_window_ms: z.ZodInt;
|
|
1096
|
+
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1097
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
1096
1098
|
}, z.core.$strict>;
|
|
1097
1099
|
readonly kind: "unary";
|
|
1098
1100
|
readonly since: "1.8";
|
|
@@ -1221,6 +1223,161 @@ declare const OPS: {
|
|
|
1221
1223
|
readonly since: "1.8";
|
|
1222
1224
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1223
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
|
+
};
|
|
1224
1381
|
readonly "apps.projects.unfile": {
|
|
1225
1382
|
readonly params: z.ZodObject<{
|
|
1226
1383
|
app_key: z.ZodString;
|
|
@@ -2028,6 +2185,12 @@ declare const EVENTS: {
|
|
|
2028
2185
|
ids: z.ZodArray<z.ZodString>;
|
|
2029
2186
|
all: z.ZodBoolean;
|
|
2030
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>;
|
|
2031
2194
|
readonly "exec.exited": z.ZodObject<{
|
|
2032
2195
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2033
2196
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|
package/dist/react.d.ts
CHANGED
|
@@ -1093,6 +1093,8 @@ declare const OPS: {
|
|
|
1093
1093
|
}, z.core.$strict>>;
|
|
1094
1094
|
}, z.core.$strict>>;
|
|
1095
1095
|
new_window_ms: z.ZodInt;
|
|
1096
|
+
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1097
|
+
live: z.ZodOptional<z.ZodBoolean>;
|
|
1096
1098
|
}, z.core.$strict>;
|
|
1097
1099
|
readonly kind: "unary";
|
|
1098
1100
|
readonly since: "1.8";
|
|
@@ -1221,6 +1223,161 @@ declare const OPS: {
|
|
|
1221
1223
|
readonly since: "1.8";
|
|
1222
1224
|
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1223
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
|
+
};
|
|
1224
1381
|
readonly "apps.projects.unfile": {
|
|
1225
1382
|
readonly params: z.ZodObject<{
|
|
1226
1383
|
app_key: z.ZodString;
|
|
@@ -2028,6 +2185,12 @@ declare const EVENTS: {
|
|
|
2028
2185
|
ids: z.ZodArray<z.ZodString>;
|
|
2029
2186
|
all: z.ZodBoolean;
|
|
2030
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>;
|
|
2031
2194
|
readonly "exec.exited": z.ZodObject<{
|
|
2032
2195
|
exit_code: z.ZodNullable<z.ZodInt>;
|
|
2033
2196
|
exit_signal: z.ZodNullable<z.ZodEnum<{
|
|
@@ -6577,6 +6577,12 @@
|
|
|
6577
6577
|
"type": "integer",
|
|
6578
6578
|
"minimum": 0,
|
|
6579
6579
|
"maximum": 9007199254740991
|
|
6580
|
+
},
|
|
6581
|
+
"updating": {
|
|
6582
|
+
"type": "boolean"
|
|
6583
|
+
},
|
|
6584
|
+
"live": {
|
|
6585
|
+
"type": "boolean"
|
|
6580
6586
|
}
|
|
6581
6587
|
},
|
|
6582
6588
|
"required": [
|
|
@@ -6752,6 +6758,206 @@
|
|
|
6752
6758
|
"chat"
|
|
6753
6759
|
],
|
|
6754
6760
|
"additionalProperties": false
|
|
6761
|
+
},
|
|
6762
|
+
"AppsChatsWatchStateEvent": {
|
|
6763
|
+
"type": "object",
|
|
6764
|
+
"properties": {
|
|
6765
|
+
"app_key": {
|
|
6766
|
+
"$ref": "#/$defs/AppKey"
|
|
6767
|
+
},
|
|
6768
|
+
"live": {
|
|
6769
|
+
"type": "boolean"
|
|
6770
|
+
},
|
|
6771
|
+
"updating": {
|
|
6772
|
+
"type": "boolean"
|
|
6773
|
+
},
|
|
6774
|
+
"reason": {
|
|
6775
|
+
"anyOf": [
|
|
6776
|
+
{
|
|
6777
|
+
"type": "string",
|
|
6778
|
+
"maxLength": 300
|
|
6779
|
+
},
|
|
6780
|
+
{
|
|
6781
|
+
"type": "null"
|
|
6782
|
+
}
|
|
6783
|
+
]
|
|
6784
|
+
}
|
|
6785
|
+
},
|
|
6786
|
+
"required": [
|
|
6787
|
+
"app_key",
|
|
6788
|
+
"live",
|
|
6789
|
+
"updating",
|
|
6790
|
+
"reason"
|
|
6791
|
+
],
|
|
6792
|
+
"additionalProperties": false
|
|
6793
|
+
},
|
|
6794
|
+
"AppsChatsPlaceParams": {
|
|
6795
|
+
"type": "object",
|
|
6796
|
+
"properties": {
|
|
6797
|
+
"app_key": {
|
|
6798
|
+
"$ref": "#/$defs/AppKey"
|
|
6799
|
+
},
|
|
6800
|
+
"chat_id": {
|
|
6801
|
+
"$ref": "#/$defs/ChatId"
|
|
6802
|
+
},
|
|
6803
|
+
"action": {
|
|
6804
|
+
"type": "string",
|
|
6805
|
+
"enum": [
|
|
6806
|
+
"place",
|
|
6807
|
+
"take_off",
|
|
6808
|
+
"hold"
|
|
6809
|
+
]
|
|
6810
|
+
},
|
|
6811
|
+
"window": {
|
|
6812
|
+
"$ref": "#/$defs/ChatPlace"
|
|
6813
|
+
},
|
|
6814
|
+
"stop_if_open": {
|
|
6815
|
+
"default": false,
|
|
6816
|
+
"type": "boolean"
|
|
6817
|
+
}
|
|
6818
|
+
},
|
|
6819
|
+
"required": [
|
|
6820
|
+
"app_key",
|
|
6821
|
+
"chat_id",
|
|
6822
|
+
"action"
|
|
6823
|
+
],
|
|
6824
|
+
"additionalProperties": false
|
|
6825
|
+
},
|
|
6826
|
+
"AppsChatsPlaceResult": {
|
|
6827
|
+
"type": "object",
|
|
6828
|
+
"properties": {
|
|
6829
|
+
"chat": {
|
|
6830
|
+
"$ref": "#/$defs/ChatRow"
|
|
6831
|
+
},
|
|
6832
|
+
"message": {
|
|
6833
|
+
"type": "string",
|
|
6834
|
+
"maxLength": 400
|
|
6835
|
+
}
|
|
6836
|
+
},
|
|
6837
|
+
"required": [
|
|
6838
|
+
"chat",
|
|
6839
|
+
"message"
|
|
6840
|
+
],
|
|
6841
|
+
"additionalProperties": false
|
|
6842
|
+
},
|
|
6843
|
+
"AppsProjectsFileManyParams": {
|
|
6844
|
+
"type": "object",
|
|
6845
|
+
"properties": {
|
|
6846
|
+
"app_key": {
|
|
6847
|
+
"$ref": "#/$defs/AppKey"
|
|
6848
|
+
},
|
|
6849
|
+
"chat_ids": {
|
|
6850
|
+
"minItems": 1,
|
|
6851
|
+
"maxItems": 500,
|
|
6852
|
+
"type": "array",
|
|
6853
|
+
"items": {
|
|
6854
|
+
"$ref": "#/$defs/ChatId"
|
|
6855
|
+
}
|
|
6856
|
+
},
|
|
6857
|
+
"project_id": {
|
|
6858
|
+
"$ref": "#/$defs/ChatProjectId"
|
|
6859
|
+
},
|
|
6860
|
+
"new_project_name": {
|
|
6861
|
+
"type": "string",
|
|
6862
|
+
"minLength": 1,
|
|
6863
|
+
"maxLength": 200
|
|
6864
|
+
}
|
|
6865
|
+
},
|
|
6866
|
+
"required": [
|
|
6867
|
+
"app_key",
|
|
6868
|
+
"chat_ids"
|
|
6869
|
+
],
|
|
6870
|
+
"additionalProperties": false
|
|
6871
|
+
},
|
|
6872
|
+
"AppsProjectsFileManyResult": {
|
|
6873
|
+
"type": "object",
|
|
6874
|
+
"properties": {
|
|
6875
|
+
"chats": {
|
|
6876
|
+
"maxItems": 500,
|
|
6877
|
+
"type": "array",
|
|
6878
|
+
"items": {
|
|
6879
|
+
"$ref": "#/$defs/ChatRow"
|
|
6880
|
+
}
|
|
6881
|
+
},
|
|
6882
|
+
"project": {
|
|
6883
|
+
"$ref": "#/$defs/ChatProject"
|
|
6884
|
+
}
|
|
6885
|
+
},
|
|
6886
|
+
"required": [
|
|
6887
|
+
"chats",
|
|
6888
|
+
"project"
|
|
6889
|
+
],
|
|
6890
|
+
"additionalProperties": false
|
|
6891
|
+
},
|
|
6892
|
+
"AppsProjectsUpdateParams": {
|
|
6893
|
+
"type": "object",
|
|
6894
|
+
"properties": {
|
|
6895
|
+
"app_key": {
|
|
6896
|
+
"$ref": "#/$defs/AppKey"
|
|
6897
|
+
},
|
|
6898
|
+
"project_id": {
|
|
6899
|
+
"$ref": "#/$defs/ChatProjectId"
|
|
6900
|
+
},
|
|
6901
|
+
"name": {
|
|
6902
|
+
"type": "string",
|
|
6903
|
+
"minLength": 1,
|
|
6904
|
+
"maxLength": 200
|
|
6905
|
+
},
|
|
6906
|
+
"archived": {
|
|
6907
|
+
"type": "boolean"
|
|
6908
|
+
}
|
|
6909
|
+
},
|
|
6910
|
+
"required": [
|
|
6911
|
+
"app_key",
|
|
6912
|
+
"project_id"
|
|
6913
|
+
],
|
|
6914
|
+
"additionalProperties": false
|
|
6915
|
+
},
|
|
6916
|
+
"AppsProjectsUpdateResult": {
|
|
6917
|
+
"type": "object",
|
|
6918
|
+
"properties": {
|
|
6919
|
+
"project": {
|
|
6920
|
+
"$ref": "#/$defs/ChatProject"
|
|
6921
|
+
}
|
|
6922
|
+
},
|
|
6923
|
+
"required": [
|
|
6924
|
+
"project"
|
|
6925
|
+
],
|
|
6926
|
+
"additionalProperties": false
|
|
6927
|
+
},
|
|
6928
|
+
"AppsProjectsCopyParams": {
|
|
6929
|
+
"type": "object",
|
|
6930
|
+
"properties": {
|
|
6931
|
+
"app_key": {
|
|
6932
|
+
"$ref": "#/$defs/AppKey"
|
|
6933
|
+
},
|
|
6934
|
+
"project_id": {
|
|
6935
|
+
"$ref": "#/$defs/ChatProjectId"
|
|
6936
|
+
},
|
|
6937
|
+
"new_project_name": {
|
|
6938
|
+
"type": "string",
|
|
6939
|
+
"minLength": 1,
|
|
6940
|
+
"maxLength": 200
|
|
6941
|
+
}
|
|
6942
|
+
},
|
|
6943
|
+
"required": [
|
|
6944
|
+
"app_key",
|
|
6945
|
+
"project_id",
|
|
6946
|
+
"new_project_name"
|
|
6947
|
+
],
|
|
6948
|
+
"additionalProperties": false
|
|
6949
|
+
},
|
|
6950
|
+
"AppsProjectsCopyResult": {
|
|
6951
|
+
"type": "object",
|
|
6952
|
+
"properties": {
|
|
6953
|
+
"project": {
|
|
6954
|
+
"$ref": "#/$defs/ChatProject"
|
|
6955
|
+
}
|
|
6956
|
+
},
|
|
6957
|
+
"required": [
|
|
6958
|
+
"project"
|
|
6959
|
+
],
|
|
6960
|
+
"additionalProperties": false
|
|
6755
6961
|
}
|
|
6756
6962
|
},
|
|
6757
6963
|
"x-ops": {
|
|
@@ -7193,6 +7399,58 @@
|
|
|
7193
7399
|
"INTERNAL"
|
|
7194
7400
|
]
|
|
7195
7401
|
},
|
|
7402
|
+
"apps.chats.place": {
|
|
7403
|
+
"params": "AppsChatsPlaceParams",
|
|
7404
|
+
"result": "AppsChatsPlaceResult",
|
|
7405
|
+
"kind": "unary",
|
|
7406
|
+
"since": "1.9",
|
|
7407
|
+
"errors": [
|
|
7408
|
+
"NOT_FOUND",
|
|
7409
|
+
"INVALID_PARAMS",
|
|
7410
|
+
"CONFLICT",
|
|
7411
|
+
"PLATFORM_UNSUPPORTED",
|
|
7412
|
+
"INTERNAL"
|
|
7413
|
+
]
|
|
7414
|
+
},
|
|
7415
|
+
"apps.projects.file_many": {
|
|
7416
|
+
"params": "AppsProjectsFileManyParams",
|
|
7417
|
+
"result": "AppsProjectsFileManyResult",
|
|
7418
|
+
"kind": "unary",
|
|
7419
|
+
"since": "1.9",
|
|
7420
|
+
"errors": [
|
|
7421
|
+
"NOT_FOUND",
|
|
7422
|
+
"INVALID_PARAMS",
|
|
7423
|
+
"CONFLICT",
|
|
7424
|
+
"PLATFORM_UNSUPPORTED",
|
|
7425
|
+
"INTERNAL"
|
|
7426
|
+
]
|
|
7427
|
+
},
|
|
7428
|
+
"apps.projects.update": {
|
|
7429
|
+
"params": "AppsProjectsUpdateParams",
|
|
7430
|
+
"result": "AppsProjectsUpdateResult",
|
|
7431
|
+
"kind": "unary",
|
|
7432
|
+
"since": "1.9",
|
|
7433
|
+
"errors": [
|
|
7434
|
+
"NOT_FOUND",
|
|
7435
|
+
"INVALID_PARAMS",
|
|
7436
|
+
"CONFLICT",
|
|
7437
|
+
"PLATFORM_UNSUPPORTED",
|
|
7438
|
+
"INTERNAL"
|
|
7439
|
+
]
|
|
7440
|
+
},
|
|
7441
|
+
"apps.projects.copy": {
|
|
7442
|
+
"params": "AppsProjectsCopyParams",
|
|
7443
|
+
"result": "AppsProjectsCopyResult",
|
|
7444
|
+
"kind": "unary",
|
|
7445
|
+
"since": "1.9",
|
|
7446
|
+
"errors": [
|
|
7447
|
+
"NOT_FOUND",
|
|
7448
|
+
"INVALID_PARAMS",
|
|
7449
|
+
"CONFLICT",
|
|
7450
|
+
"PLATFORM_UNSUPPORTED",
|
|
7451
|
+
"INTERNAL"
|
|
7452
|
+
]
|
|
7453
|
+
},
|
|
7196
7454
|
"apps.projects.unfile": {
|
|
7197
7455
|
"params": "AppsProjectsUnfileParams",
|
|
7198
7456
|
"result": "AppsProjectsUnfileResult",
|
|
@@ -7570,6 +7828,7 @@
|
|
|
7570
7828
|
"x-events": {
|
|
7571
7829
|
"fs.changed": "FsChangedEvent",
|
|
7572
7830
|
"apps.chats.changed": "AppsChatsChangedEvent",
|
|
7831
|
+
"apps.chats.watch_state": "AppsChatsWatchStateEvent",
|
|
7573
7832
|
"exec.exited": "ExecExitedEvent",
|
|
7574
7833
|
"exec.title": "ExecTitleEvent",
|
|
7575
7834
|
"exec.cwd": "ExecCwdEvent",
|
|
@@ -7628,6 +7887,10 @@
|
|
|
7628
7887
|
"WindowInfo": {
|
|
7629
7888
|
"app": "1.7",
|
|
7630
7889
|
"pid": "1.7"
|
|
7890
|
+
},
|
|
7891
|
+
"AppsChatsListResult": {
|
|
7892
|
+
"updating": "1.9",
|
|
7893
|
+
"live": "1.9"
|
|
7631
7894
|
}
|
|
7632
7895
|
},
|
|
7633
7896
|
"x-null-since": {
|
|
@@ -7636,5 +7899,5 @@
|
|
|
7636
7899
|
"olderPeersGet": 0
|
|
7637
7900
|
}
|
|
7638
7901
|
},
|
|
7639
|
-
"x-protocol-version": "1.
|
|
7902
|
+
"x-protocol-version": "1.9"
|
|
7640
7903
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.5",
|
|
4
4
|
"description": "The one wire contract between Matrx 2 (the desktop app) and every client that drives it — phone, web app, extension, server: zod schemas for the envelope and every cap.op, the 16-byte binary frame codec, a reconnecting request/stream/credit/reattach client, React hooks, and a generated JSON Schema + Pydantic twin that CI keeps byte-identical.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|