@ai-matrx/desktop-protocol 0.21.55 → 0.21.57
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 +24 -1
- package/dist/client.cjs +26 -9
- 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 +25 -8
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +39 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +193 -22
- package/dist/index.d.ts +193 -22
- package/dist/index.js +37 -12
- package/dist/index.js.map +1 -1
- package/dist/{models-qM7u4hzm.d.cts → models-DbIm7Isi.d.cts} +286 -0
- package/dist/{models-qM7u4hzm.d.ts → models-DbIm7Isi.d.ts} +286 -0
- package/dist/react.d.cts +117 -0
- package/dist/react.d.ts +117 -0
- package/generated/desktop-protocol.schema.json +165 -44
- package/package.json +2 -2
package/dist/react.d.ts
CHANGED
|
@@ -1324,6 +1324,22 @@ declare const OPS: {
|
|
|
1324
1324
|
}>>;
|
|
1325
1325
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1326
1326
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1327
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1329
|
+
window: z.ZodString;
|
|
1330
|
+
group_id: z.ZodString;
|
|
1331
|
+
name: z.ZodString;
|
|
1332
|
+
}, z.core.$strict>>>;
|
|
1333
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1334
|
+
id: z.ZodString;
|
|
1335
|
+
how: z.ZodEnum<{
|
|
1336
|
+
spawned: "spawned";
|
|
1337
|
+
dispatched: "dispatched";
|
|
1338
|
+
forked: "forked";
|
|
1339
|
+
}>;
|
|
1340
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1341
|
+
}, z.core.$strict>>;
|
|
1342
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1327
1343
|
}, z.core.$strict>>;
|
|
1328
1344
|
new_window_ms: z.ZodInt;
|
|
1329
1345
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1414,6 +1430,22 @@ declare const OPS: {
|
|
|
1414
1430
|
}>>;
|
|
1415
1431
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1416
1432
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1433
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1434
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1435
|
+
window: z.ZodString;
|
|
1436
|
+
group_id: z.ZodString;
|
|
1437
|
+
name: z.ZodString;
|
|
1438
|
+
}, z.core.$strict>>>;
|
|
1439
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1440
|
+
id: z.ZodString;
|
|
1441
|
+
how: z.ZodEnum<{
|
|
1442
|
+
spawned: "spawned";
|
|
1443
|
+
dispatched: "dispatched";
|
|
1444
|
+
forked: "forked";
|
|
1445
|
+
}>;
|
|
1446
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1447
|
+
}, z.core.$strict>>;
|
|
1448
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1417
1449
|
}, z.core.$strict>;
|
|
1418
1450
|
}, z.core.$strict>;
|
|
1419
1451
|
readonly kind: "unary";
|
|
@@ -1485,6 +1517,22 @@ declare const OPS: {
|
|
|
1485
1517
|
}>>;
|
|
1486
1518
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1487
1519
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1520
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1522
|
+
window: z.ZodString;
|
|
1523
|
+
group_id: z.ZodString;
|
|
1524
|
+
name: z.ZodString;
|
|
1525
|
+
}, z.core.$strict>>>;
|
|
1526
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1527
|
+
id: z.ZodString;
|
|
1528
|
+
how: z.ZodEnum<{
|
|
1529
|
+
spawned: "spawned";
|
|
1530
|
+
dispatched: "dispatched";
|
|
1531
|
+
forked: "forked";
|
|
1532
|
+
}>;
|
|
1533
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1534
|
+
}, z.core.$strict>>;
|
|
1535
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1488
1536
|
}, z.core.$strict>;
|
|
1489
1537
|
project: z.ZodObject<{
|
|
1490
1538
|
id: z.ZodString;
|
|
@@ -1567,6 +1615,22 @@ declare const OPS: {
|
|
|
1567
1615
|
}>>;
|
|
1568
1616
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1569
1617
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1618
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1619
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1620
|
+
window: z.ZodString;
|
|
1621
|
+
group_id: z.ZodString;
|
|
1622
|
+
name: z.ZodString;
|
|
1623
|
+
}, z.core.$strict>>>;
|
|
1624
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1625
|
+
id: z.ZodString;
|
|
1626
|
+
how: z.ZodEnum<{
|
|
1627
|
+
spawned: "spawned";
|
|
1628
|
+
dispatched: "dispatched";
|
|
1629
|
+
forked: "forked";
|
|
1630
|
+
}>;
|
|
1631
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1632
|
+
}, z.core.$strict>>;
|
|
1633
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1570
1634
|
}, z.core.$strict>;
|
|
1571
1635
|
message: z.ZodString;
|
|
1572
1636
|
}, z.core.$strict>;
|
|
@@ -1639,6 +1703,22 @@ declare const OPS: {
|
|
|
1639
1703
|
}>>;
|
|
1640
1704
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1641
1705
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1706
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1708
|
+
window: z.ZodString;
|
|
1709
|
+
group_id: z.ZodString;
|
|
1710
|
+
name: z.ZodString;
|
|
1711
|
+
}, z.core.$strict>>>;
|
|
1712
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1713
|
+
id: z.ZodString;
|
|
1714
|
+
how: z.ZodEnum<{
|
|
1715
|
+
spawned: "spawned";
|
|
1716
|
+
dispatched: "dispatched";
|
|
1717
|
+
forked: "forked";
|
|
1718
|
+
}>;
|
|
1719
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1720
|
+
}, z.core.$strict>>;
|
|
1721
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1642
1722
|
}, z.core.$strict>>;
|
|
1643
1723
|
project: z.ZodObject<{
|
|
1644
1724
|
id: z.ZodString;
|
|
@@ -1752,6 +1832,22 @@ declare const OPS: {
|
|
|
1752
1832
|
}>>;
|
|
1753
1833
|
title_override: z.ZodOptional<z.ZodString>;
|
|
1754
1834
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
1835
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
1836
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1837
|
+
window: z.ZodString;
|
|
1838
|
+
group_id: z.ZodString;
|
|
1839
|
+
name: z.ZodString;
|
|
1840
|
+
}, z.core.$strict>>>;
|
|
1841
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
1842
|
+
id: z.ZodString;
|
|
1843
|
+
how: z.ZodEnum<{
|
|
1844
|
+
spawned: "spawned";
|
|
1845
|
+
dispatched: "dispatched";
|
|
1846
|
+
forked: "forked";
|
|
1847
|
+
}>;
|
|
1848
|
+
title: z.ZodNullable<z.ZodString>;
|
|
1849
|
+
}, z.core.$strict>>;
|
|
1850
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1755
1851
|
}, z.core.$strict>;
|
|
1756
1852
|
}, z.core.$strict>;
|
|
1757
1853
|
readonly kind: "unary";
|
|
@@ -2130,6 +2226,22 @@ declare const OPS: {
|
|
|
2130
2226
|
}>>;
|
|
2131
2227
|
title_override: z.ZodOptional<z.ZodString>;
|
|
2132
2228
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
2229
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
2230
|
+
app_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2231
|
+
window: z.ZodString;
|
|
2232
|
+
group_id: z.ZodString;
|
|
2233
|
+
name: z.ZodString;
|
|
2234
|
+
}, z.core.$strict>>>;
|
|
2235
|
+
parent: z.ZodOptional<z.ZodObject<{
|
|
2236
|
+
id: z.ZodString;
|
|
2237
|
+
how: z.ZodEnum<{
|
|
2238
|
+
spawned: "spawned";
|
|
2239
|
+
dispatched: "dispatched";
|
|
2240
|
+
forked: "forked";
|
|
2241
|
+
}>;
|
|
2242
|
+
title: z.ZodNullable<z.ZodString>;
|
|
2243
|
+
}, z.core.$strict>>;
|
|
2244
|
+
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2133
2245
|
}, z.core.$strict>;
|
|
2134
2246
|
project: z.ZodObject<{
|
|
2135
2247
|
id: z.ZodString;
|
|
@@ -2261,6 +2373,11 @@ declare const OPS: {
|
|
|
2261
2373
|
}>;
|
|
2262
2374
|
windows: z.ZodArray<z.ZodString>;
|
|
2263
2375
|
reason: z.ZodNullable<z.ZodString>;
|
|
2376
|
+
reopened: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2377
|
+
window: z.ZodString;
|
|
2378
|
+
ok: z.ZodBoolean;
|
|
2379
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
2380
|
+
}, z.core.$strict>>>;
|
|
2264
2381
|
}, z.core.$strict>;
|
|
2265
2382
|
}, z.core.$strict>;
|
|
2266
2383
|
readonly kind: "unary";
|
|
@@ -3,6 +3,61 @@
|
|
|
3
3
|
"$id": "https://aimatrx.com/schemas/desktop-protocol/1.0",
|
|
4
4
|
"title": "DesktopProtocol",
|
|
5
5
|
"$defs": {
|
|
6
|
+
"ChatAppGroup": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"window": {
|
|
10
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11
|
+
},
|
|
12
|
+
"group_id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"maxLength": 120
|
|
15
|
+
},
|
|
16
|
+
"name": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"maxLength": 200
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"window",
|
|
23
|
+
"group_id",
|
|
24
|
+
"name"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
},
|
|
28
|
+
"ChatParent": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"id": {
|
|
32
|
+
"$ref": "#/$defs/ChatId"
|
|
33
|
+
},
|
|
34
|
+
"how": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"spawned",
|
|
38
|
+
"dispatched",
|
|
39
|
+
"forked"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"title": {
|
|
43
|
+
"anyOf": [
|
|
44
|
+
{
|
|
45
|
+
"type": "string",
|
|
46
|
+
"maxLength": 1000
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "null"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"id",
|
|
56
|
+
"how",
|
|
57
|
+
"title"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
6
61
|
"AppsWindowsSetAccountParams": {
|
|
7
62
|
"type": "object",
|
|
8
63
|
"properties": {
|
|
@@ -13053,6 +13108,27 @@
|
|
|
13053
13108
|
},
|
|
13054
13109
|
"archived": {
|
|
13055
13110
|
"type": "boolean"
|
|
13111
|
+
},
|
|
13112
|
+
"session_id": {
|
|
13113
|
+
"type": "string",
|
|
13114
|
+
"maxLength": 80
|
|
13115
|
+
},
|
|
13116
|
+
"app_groups": {
|
|
13117
|
+
"maxItems": 200,
|
|
13118
|
+
"type": "array",
|
|
13119
|
+
"items": {
|
|
13120
|
+
"$ref": "#/$defs/ChatAppGroup"
|
|
13121
|
+
}
|
|
13122
|
+
},
|
|
13123
|
+
"parent": {
|
|
13124
|
+
"$ref": "#/$defs/ChatParent"
|
|
13125
|
+
},
|
|
13126
|
+
"prior_sessions": {
|
|
13127
|
+
"maxItems": 50,
|
|
13128
|
+
"type": "array",
|
|
13129
|
+
"items": {
|
|
13130
|
+
"$ref": "#/$defs/ChatId"
|
|
13131
|
+
}
|
|
13056
13132
|
}
|
|
13057
13133
|
},
|
|
13058
13134
|
"required": [
|
|
@@ -13864,6 +13940,85 @@
|
|
|
13864
13940
|
],
|
|
13865
13941
|
"additionalProperties": false
|
|
13866
13942
|
},
|
|
13943
|
+
"CopyReopened": {
|
|
13944
|
+
"type": "object",
|
|
13945
|
+
"properties": {
|
|
13946
|
+
"window": {
|
|
13947
|
+
"$ref": "#/$defs/ChatPlace"
|
|
13948
|
+
},
|
|
13949
|
+
"ok": {
|
|
13950
|
+
"type": "boolean"
|
|
13951
|
+
},
|
|
13952
|
+
"reason": {
|
|
13953
|
+
"anyOf": [
|
|
13954
|
+
{
|
|
13955
|
+
"type": "string",
|
|
13956
|
+
"maxLength": 400
|
|
13957
|
+
},
|
|
13958
|
+
{
|
|
13959
|
+
"type": "null"
|
|
13960
|
+
}
|
|
13961
|
+
]
|
|
13962
|
+
}
|
|
13963
|
+
},
|
|
13964
|
+
"required": [
|
|
13965
|
+
"window",
|
|
13966
|
+
"ok",
|
|
13967
|
+
"reason"
|
|
13968
|
+
],
|
|
13969
|
+
"additionalProperties": false
|
|
13970
|
+
},
|
|
13971
|
+
"CopyRestart": {
|
|
13972
|
+
"type": "object",
|
|
13973
|
+
"properties": {
|
|
13974
|
+
"asked": {
|
|
13975
|
+
"type": "string",
|
|
13976
|
+
"enum": [
|
|
13977
|
+
"queued",
|
|
13978
|
+
"restart_verify"
|
|
13979
|
+
]
|
|
13980
|
+
},
|
|
13981
|
+
"done": {
|
|
13982
|
+
"type": "string",
|
|
13983
|
+
"enum": [
|
|
13984
|
+
"queued",
|
|
13985
|
+
"restart_verify"
|
|
13986
|
+
]
|
|
13987
|
+
},
|
|
13988
|
+
"windows": {
|
|
13989
|
+
"maxItems": 2,
|
|
13990
|
+
"type": "array",
|
|
13991
|
+
"items": {
|
|
13992
|
+
"$ref": "#/$defs/ChatPlace"
|
|
13993
|
+
}
|
|
13994
|
+
},
|
|
13995
|
+
"reason": {
|
|
13996
|
+
"anyOf": [
|
|
13997
|
+
{
|
|
13998
|
+
"type": "string",
|
|
13999
|
+
"maxLength": 400
|
|
14000
|
+
},
|
|
14001
|
+
{
|
|
14002
|
+
"type": "null"
|
|
14003
|
+
}
|
|
14004
|
+
]
|
|
14005
|
+
},
|
|
14006
|
+
"reopened": {
|
|
14007
|
+
"maxItems": 2,
|
|
14008
|
+
"type": "array",
|
|
14009
|
+
"items": {
|
|
14010
|
+
"$ref": "#/$defs/CopyReopened"
|
|
14011
|
+
}
|
|
14012
|
+
}
|
|
14013
|
+
},
|
|
14014
|
+
"required": [
|
|
14015
|
+
"asked",
|
|
14016
|
+
"done",
|
|
14017
|
+
"windows",
|
|
14018
|
+
"reason"
|
|
14019
|
+
],
|
|
14020
|
+
"additionalProperties": false
|
|
14021
|
+
},
|
|
13867
14022
|
"AppsChatsCopyToAccountResult": {
|
|
13868
14023
|
"type": "object",
|
|
13869
14024
|
"properties": {
|
|
@@ -14029,48 +14184,7 @@
|
|
|
14029
14184
|
"maximum": 9007199254740991
|
|
14030
14185
|
},
|
|
14031
14186
|
"restart": {
|
|
14032
|
-
"
|
|
14033
|
-
"properties": {
|
|
14034
|
-
"asked": {
|
|
14035
|
-
"type": "string",
|
|
14036
|
-
"enum": [
|
|
14037
|
-
"queued",
|
|
14038
|
-
"restart_verify"
|
|
14039
|
-
]
|
|
14040
|
-
},
|
|
14041
|
-
"done": {
|
|
14042
|
-
"type": "string",
|
|
14043
|
-
"enum": [
|
|
14044
|
-
"queued",
|
|
14045
|
-
"restart_verify"
|
|
14046
|
-
]
|
|
14047
|
-
},
|
|
14048
|
-
"windows": {
|
|
14049
|
-
"maxItems": 2,
|
|
14050
|
-
"type": "array",
|
|
14051
|
-
"items": {
|
|
14052
|
-
"$ref": "#/$defs/ChatPlace"
|
|
14053
|
-
}
|
|
14054
|
-
},
|
|
14055
|
-
"reason": {
|
|
14056
|
-
"anyOf": [
|
|
14057
|
-
{
|
|
14058
|
-
"type": "string",
|
|
14059
|
-
"maxLength": 400
|
|
14060
|
-
},
|
|
14061
|
-
{
|
|
14062
|
-
"type": "null"
|
|
14063
|
-
}
|
|
14064
|
-
]
|
|
14065
|
-
}
|
|
14066
|
-
},
|
|
14067
|
-
"required": [
|
|
14068
|
-
"asked",
|
|
14069
|
-
"done",
|
|
14070
|
-
"windows",
|
|
14071
|
-
"reason"
|
|
14072
|
-
],
|
|
14073
|
-
"additionalProperties": false
|
|
14187
|
+
"$ref": "#/$defs/CopyRestart"
|
|
14074
14188
|
}
|
|
14075
14189
|
},
|
|
14076
14190
|
"required": [
|
|
@@ -26397,7 +26511,11 @@
|
|
|
26397
26511
|
"original_title": "1.14",
|
|
26398
26512
|
"title_source": "1.14",
|
|
26399
26513
|
"title_override": "1.14",
|
|
26400
|
-
"archived": "1.15"
|
|
26514
|
+
"archived": "1.15",
|
|
26515
|
+
"session_id": "1.59",
|
|
26516
|
+
"app_groups": "1.59",
|
|
26517
|
+
"parent": "1.59",
|
|
26518
|
+
"prior_sessions": "1.59"
|
|
26401
26519
|
},
|
|
26402
26520
|
"AccountUsage": {
|
|
26403
26521
|
"plan": "1.13",
|
|
@@ -26482,6 +26600,9 @@
|
|
|
26482
26600
|
},
|
|
26483
26601
|
"DownloadRow": {
|
|
26484
26602
|
"error": "1.46"
|
|
26603
|
+
},
|
|
26604
|
+
"CopyRestart": {
|
|
26605
|
+
"reopened": "1.60"
|
|
26485
26606
|
}
|
|
26486
26607
|
},
|
|
26487
26608
|
"x-null-since": {
|
|
@@ -26490,5 +26611,5 @@
|
|
|
26490
26611
|
"olderPeersGet": 0
|
|
26491
26612
|
}
|
|
26492
26613
|
},
|
|
26493
|
-
"x-protocol-version": "1.
|
|
26614
|
+
"x-protocol-version": "1.60"
|
|
26494
26615
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.57",
|
|
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",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"test:watch": "vitest",
|
|
138
138
|
"verify:tarball": "node ./scripts/verify-tarball.mjs"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "95a286343b1aae1f7f02cb1d0df48d9b58c8537c"
|
|
141
141
|
}
|