@ai-matrx/desktop-protocol 0.17.5 → 0.17.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/client.cjs +100 -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 +100 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +404 -264
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +250 -6
- package/dist/index.d.ts +250 -6
- package/dist/index.js +404 -264
- package/dist/index.js.map +1 -1
- package/dist/{models-Bb87iuvw.d.cts → models-B9tM6Hnx.d.cts} +414 -1
- package/dist/{models-Bb87iuvw.d.ts → models-B9tM6Hnx.d.ts} +414 -1
- package/dist/react.d.cts +214 -0
- package/dist/react.d.ts +214 -0
- package/generated/desktop-protocol.schema.json +799 -123
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -1095,6 +1095,11 @@ declare const OPS: {
|
|
|
1095
1095
|
new_window_ms: z.ZodInt;
|
|
1096
1096
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
1097
1097
|
live: z.ZodOptional<z.ZodBoolean>;
|
|
1098
|
+
families: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1099
|
+
id: z.ZodString;
|
|
1100
|
+
fork_of: z.ZodNullable<z.ZodString>;
|
|
1101
|
+
copy_of: z.ZodNullable<z.ZodString>;
|
|
1102
|
+
}, z.core.$strict>>>;
|
|
1098
1103
|
}, z.core.$strict>;
|
|
1099
1104
|
readonly kind: "unary";
|
|
1100
1105
|
readonly since: "1.8";
|
|
@@ -1430,6 +1435,215 @@ declare const OPS: {
|
|
|
1430
1435
|
readonly since: "1.8";
|
|
1431
1436
|
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1432
1437
|
};
|
|
1438
|
+
readonly "apps.windows.list": {
|
|
1439
|
+
readonly params: z.ZodObject<{
|
|
1440
|
+
app_key: z.ZodString;
|
|
1441
|
+
}, z.core.$strict>;
|
|
1442
|
+
readonly result: z.ZodObject<{
|
|
1443
|
+
app_key: z.ZodString;
|
|
1444
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
1445
|
+
key: z.ZodString;
|
|
1446
|
+
main: z.ZodBoolean;
|
|
1447
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1448
|
+
signed_in: z.ZodNullable<z.ZodString>;
|
|
1449
|
+
signed_in_is_email: z.ZodBoolean;
|
|
1450
|
+
mismatch: z.ZodBoolean;
|
|
1451
|
+
created: z.ZodBoolean;
|
|
1452
|
+
running: z.ZodBoolean;
|
|
1453
|
+
open_chats: z.ZodInt;
|
|
1454
|
+
}, z.core.$strict>>;
|
|
1455
|
+
}, z.core.$strict>;
|
|
1456
|
+
readonly kind: "unary";
|
|
1457
|
+
readonly since: "1.10";
|
|
1458
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1459
|
+
};
|
|
1460
|
+
readonly "apps.windows.open": {
|
|
1461
|
+
readonly params: z.ZodObject<{
|
|
1462
|
+
app_key: z.ZodString;
|
|
1463
|
+
window: z.ZodString;
|
|
1464
|
+
}, z.core.$strict>;
|
|
1465
|
+
readonly result: z.ZodObject<{
|
|
1466
|
+
message: z.ZodString;
|
|
1467
|
+
}, z.core.$strict>;
|
|
1468
|
+
readonly kind: "unary";
|
|
1469
|
+
readonly since: "1.10";
|
|
1470
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1471
|
+
};
|
|
1472
|
+
readonly "apps.windows.reload": {
|
|
1473
|
+
readonly params: z.ZodObject<{
|
|
1474
|
+
app_key: z.ZodString;
|
|
1475
|
+
window: z.ZodString;
|
|
1476
|
+
}, z.core.$strict>;
|
|
1477
|
+
readonly result: z.ZodObject<{
|
|
1478
|
+
message: z.ZodString;
|
|
1479
|
+
}, z.core.$strict>;
|
|
1480
|
+
readonly kind: "unary";
|
|
1481
|
+
readonly since: "1.10";
|
|
1482
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1483
|
+
};
|
|
1484
|
+
readonly "apps.windows.restart": {
|
|
1485
|
+
readonly params: z.ZodObject<{
|
|
1486
|
+
app_key: z.ZodString;
|
|
1487
|
+
window: z.ZodString;
|
|
1488
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
1489
|
+
}, z.core.$strict>;
|
|
1490
|
+
readonly result: z.ZodObject<{
|
|
1491
|
+
message: z.ZodString;
|
|
1492
|
+
}, z.core.$strict>;
|
|
1493
|
+
readonly kind: "unary";
|
|
1494
|
+
readonly since: "1.10";
|
|
1495
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1496
|
+
};
|
|
1497
|
+
readonly "apps.windows.refresh_usage": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
window: z.ZodString;
|
|
1501
|
+
}, z.core.$strict>;
|
|
1502
|
+
readonly result: z.ZodObject<{
|
|
1503
|
+
message: z.ZodString;
|
|
1504
|
+
}, z.core.$strict>;
|
|
1505
|
+
readonly kind: "unary";
|
|
1506
|
+
readonly since: "1.10";
|
|
1507
|
+
readonly errors: readonly ["NOT_FOUND", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1508
|
+
};
|
|
1509
|
+
readonly "apps.accounts.usage": {
|
|
1510
|
+
readonly params: z.ZodObject<{
|
|
1511
|
+
app_key: z.ZodString;
|
|
1512
|
+
}, z.core.$strict>;
|
|
1513
|
+
readonly result: z.ZodObject<{
|
|
1514
|
+
app_key: z.ZodString;
|
|
1515
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1516
|
+
account: z.ZodString;
|
|
1517
|
+
org: z.ZodNullable<z.ZodString>;
|
|
1518
|
+
account_certain: z.ZodBoolean;
|
|
1519
|
+
five_hour: z.ZodNullable<z.ZodNumber>;
|
|
1520
|
+
five_hour_reset_since: z.ZodBoolean;
|
|
1521
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
1522
|
+
weekly_reset_since: z.ZodBoolean;
|
|
1523
|
+
extra_usage: z.ZodNullable<z.ZodNumber>;
|
|
1524
|
+
extra_usage_as_of_ms: z.ZodNullable<z.ZodInt>;
|
|
1525
|
+
as_of_ms: z.ZodInt;
|
|
1526
|
+
windows: z.ZodArray<z.ZodString>;
|
|
1527
|
+
live: z.ZodBoolean;
|
|
1528
|
+
weekly_resets_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1529
|
+
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1530
|
+
}, z.core.$strict>>;
|
|
1531
|
+
}, z.core.$strict>;
|
|
1532
|
+
readonly kind: "unary";
|
|
1533
|
+
readonly since: "1.10";
|
|
1534
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1535
|
+
};
|
|
1536
|
+
readonly "apps.accounts.resets": {
|
|
1537
|
+
readonly params: z.ZodObject<{
|
|
1538
|
+
app_key: z.ZodString;
|
|
1539
|
+
}, z.core.$strict>;
|
|
1540
|
+
readonly result: z.ZodObject<{
|
|
1541
|
+
app_key: z.ZodString;
|
|
1542
|
+
resets: z.ZodArray<z.ZodObject<{
|
|
1543
|
+
window: z.ZodString;
|
|
1544
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1545
|
+
next_reset_ms: z.ZodNullable<z.ZodInt>;
|
|
1546
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1547
|
+
claude: "claude";
|
|
1548
|
+
usage_history: "usage_history";
|
|
1549
|
+
your_list: "your_list";
|
|
1550
|
+
}>>;
|
|
1551
|
+
official: z.ZodBoolean;
|
|
1552
|
+
note: z.ZodNullable<z.ZodString>;
|
|
1553
|
+
}, z.core.$strict>>;
|
|
1554
|
+
}, z.core.$strict>;
|
|
1555
|
+
readonly kind: "unary";
|
|
1556
|
+
readonly since: "1.10";
|
|
1557
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1558
|
+
};
|
|
1559
|
+
readonly "apps.projects.move": {
|
|
1560
|
+
readonly params: z.ZodObject<{
|
|
1561
|
+
app_key: z.ZodString;
|
|
1562
|
+
chat_id: z.ZodString;
|
|
1563
|
+
from_project_id: z.ZodString;
|
|
1564
|
+
to_project_id: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
new_project_name: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, z.core.$strict>;
|
|
1567
|
+
readonly result: z.ZodObject<{
|
|
1568
|
+
chat: z.ZodObject<{
|
|
1569
|
+
id: z.ZodString;
|
|
1570
|
+
short_id: z.ZodString;
|
|
1571
|
+
record: z.ZodNullable<z.ZodString>;
|
|
1572
|
+
title: z.ZodString;
|
|
1573
|
+
last_active_ms: z.ZodNullable<z.ZodInt>;
|
|
1574
|
+
created_ms: z.ZodNullable<z.ZodInt>;
|
|
1575
|
+
projects: z.ZodArray<z.ZodString>;
|
|
1576
|
+
starred: z.ZodBoolean;
|
|
1577
|
+
pinned_in: z.ZodArray<z.ZodObject<{
|
|
1578
|
+
window: z.ZodString;
|
|
1579
|
+
observed_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1580
|
+
}, z.core.$strict>>;
|
|
1581
|
+
places: z.ZodArray<z.ZodString>;
|
|
1582
|
+
held: z.ZodBoolean;
|
|
1583
|
+
running: z.ZodArray<z.ZodObject<{
|
|
1584
|
+
window: z.ZodString;
|
|
1585
|
+
how: z.ZodEnum<{
|
|
1586
|
+
process: "process";
|
|
1587
|
+
activity: "activity";
|
|
1588
|
+
}>;
|
|
1589
|
+
}, z.core.$strict>>;
|
|
1590
|
+
hidden_in: z.ZodArray<z.ZodObject<{
|
|
1591
|
+
window: z.ZodString;
|
|
1592
|
+
reason: z.ZodString;
|
|
1593
|
+
}, z.core.$strict>>;
|
|
1594
|
+
hidden_from_main: z.ZodBoolean;
|
|
1595
|
+
main_pending: z.ZodBoolean;
|
|
1596
|
+
scheduled: z.ZodNullable<z.ZodString>;
|
|
1597
|
+
new_unfiled: z.ZodBoolean;
|
|
1598
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
1599
|
+
last_use: z.ZodNullable<z.ZodObject<{
|
|
1600
|
+
at_ms: z.ZodInt;
|
|
1601
|
+
window: z.ZodNullable<z.ZodString>;
|
|
1602
|
+
account: z.ZodNullable<z.ZodString>;
|
|
1603
|
+
how: z.ZodNullable<z.ZodString>;
|
|
1604
|
+
cache_warm: z.ZodBoolean;
|
|
1605
|
+
cache_minutes_left: z.ZodInt;
|
|
1606
|
+
}, z.core.$strict>>;
|
|
1607
|
+
}, z.core.$strict>;
|
|
1608
|
+
project: z.ZodObject<{
|
|
1609
|
+
id: z.ZodString;
|
|
1610
|
+
name: z.ZodString;
|
|
1611
|
+
archived: z.ZodBoolean;
|
|
1612
|
+
count: z.ZodInt;
|
|
1613
|
+
}, z.core.$strict>;
|
|
1614
|
+
}, z.core.$strict>;
|
|
1615
|
+
readonly kind: "unary";
|
|
1616
|
+
readonly since: "1.10";
|
|
1617
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1618
|
+
};
|
|
1619
|
+
readonly "apps.projects.create": {
|
|
1620
|
+
readonly params: z.ZodObject<{
|
|
1621
|
+
app_key: z.ZodString;
|
|
1622
|
+
name: z.ZodString;
|
|
1623
|
+
}, z.core.$strict>;
|
|
1624
|
+
readonly result: z.ZodObject<{
|
|
1625
|
+
project: z.ZodObject<{
|
|
1626
|
+
id: z.ZodString;
|
|
1627
|
+
name: z.ZodString;
|
|
1628
|
+
archived: z.ZodBoolean;
|
|
1629
|
+
count: z.ZodInt;
|
|
1630
|
+
}, z.core.$strict>;
|
|
1631
|
+
}, z.core.$strict>;
|
|
1632
|
+
readonly kind: "unary";
|
|
1633
|
+
readonly since: "1.10";
|
|
1634
|
+
readonly errors: readonly ["INVALID_PARAMS", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1635
|
+
};
|
|
1636
|
+
readonly "apps.projects.import_pins": {
|
|
1637
|
+
readonly params: z.ZodObject<{
|
|
1638
|
+
app_key: z.ZodString;
|
|
1639
|
+
}, z.core.$strict>;
|
|
1640
|
+
readonly result: z.ZodObject<{
|
|
1641
|
+
message: z.ZodString;
|
|
1642
|
+
}, z.core.$strict>;
|
|
1643
|
+
readonly kind: "unary";
|
|
1644
|
+
readonly since: "1.10";
|
|
1645
|
+
readonly errors: readonly ["CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1646
|
+
};
|
|
1433
1647
|
readonly "proc.list": {
|
|
1434
1648
|
readonly params: z.ZodObject<{
|
|
1435
1649
|
name: z.ZodOptional<z.ZodString>;
|