@ai-matrx/desktop-protocol 0.21.59 → 0.21.61
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 +34 -1
- package/dist/{chunk-server-4RNDE5ZL.js → chunk-server-OQM4XFUL.js} +20 -4
- package/dist/chunk-server-OQM4XFUL.js.map +1 -0
- package/dist/client.cjs +14 -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 +1 -1
- package/dist/index.cjs +20 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +188 -8
- package/dist/index.d.ts +188 -8
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-pTklrHwM.d.cts → models-DbcCVlya.d.cts} +292 -4
- package/dist/{models-pTklrHwM.d.ts → models-DbcCVlya.d.ts} +292 -4
- package/dist/react.d.cts +131 -5
- package/dist/react.d.ts +131 -5
- package/generated/desktop-protocol.schema.json +100 -2
- package/package.json +2 -2
- package/dist/chunk-server-4RNDE5ZL.js.map +0 -1
package/dist/react.d.ts
CHANGED
|
@@ -1340,6 +1340,24 @@ declare const OPS: {
|
|
|
1340
1340
|
title: z.ZodNullable<z.ZodString>;
|
|
1341
1341
|
}, z.core.$strict>>;
|
|
1342
1342
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1343
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
1344
|
+
state: z.ZodEnum<{
|
|
1345
|
+
unsupported: "unsupported";
|
|
1346
|
+
synced: "synced";
|
|
1347
|
+
not_synced: "not_synced";
|
|
1348
|
+
}>;
|
|
1349
|
+
note: z.ZodString;
|
|
1350
|
+
}, z.core.$strict>>;
|
|
1351
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1352
|
+
kind: z.ZodEnum<{
|
|
1353
|
+
move: "move";
|
|
1354
|
+
copy: "copy";
|
|
1355
|
+
}>;
|
|
1356
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1357
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1358
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1359
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1360
|
+
}, z.core.$strict>>>;
|
|
1343
1361
|
}, z.core.$strict>>;
|
|
1344
1362
|
new_window_ms: z.ZodInt;
|
|
1345
1363
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1446,6 +1464,24 @@ declare const OPS: {
|
|
|
1446
1464
|
title: z.ZodNullable<z.ZodString>;
|
|
1447
1465
|
}, z.core.$strict>>;
|
|
1448
1466
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1467
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
1468
|
+
state: z.ZodEnum<{
|
|
1469
|
+
unsupported: "unsupported";
|
|
1470
|
+
synced: "synced";
|
|
1471
|
+
not_synced: "not_synced";
|
|
1472
|
+
}>;
|
|
1473
|
+
note: z.ZodString;
|
|
1474
|
+
}, z.core.$strict>>;
|
|
1475
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1476
|
+
kind: z.ZodEnum<{
|
|
1477
|
+
move: "move";
|
|
1478
|
+
copy: "copy";
|
|
1479
|
+
}>;
|
|
1480
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1481
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1482
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1483
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1484
|
+
}, z.core.$strict>>>;
|
|
1449
1485
|
}, z.core.$strict>;
|
|
1450
1486
|
}, z.core.$strict>;
|
|
1451
1487
|
readonly kind: "unary";
|
|
@@ -1533,6 +1569,24 @@ declare const OPS: {
|
|
|
1533
1569
|
title: z.ZodNullable<z.ZodString>;
|
|
1534
1570
|
}, z.core.$strict>>;
|
|
1535
1571
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1572
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
1573
|
+
state: z.ZodEnum<{
|
|
1574
|
+
unsupported: "unsupported";
|
|
1575
|
+
synced: "synced";
|
|
1576
|
+
not_synced: "not_synced";
|
|
1577
|
+
}>;
|
|
1578
|
+
note: z.ZodString;
|
|
1579
|
+
}, z.core.$strict>>;
|
|
1580
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1581
|
+
kind: z.ZodEnum<{
|
|
1582
|
+
move: "move";
|
|
1583
|
+
copy: "copy";
|
|
1584
|
+
}>;
|
|
1585
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1586
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1587
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1588
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1589
|
+
}, z.core.$strict>>>;
|
|
1536
1590
|
}, z.core.$strict>;
|
|
1537
1591
|
project: z.ZodObject<{
|
|
1538
1592
|
id: z.ZodString;
|
|
@@ -1631,6 +1685,24 @@ declare const OPS: {
|
|
|
1631
1685
|
title: z.ZodNullable<z.ZodString>;
|
|
1632
1686
|
}, z.core.$strict>>;
|
|
1633
1687
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1688
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
1689
|
+
state: z.ZodEnum<{
|
|
1690
|
+
unsupported: "unsupported";
|
|
1691
|
+
synced: "synced";
|
|
1692
|
+
not_synced: "not_synced";
|
|
1693
|
+
}>;
|
|
1694
|
+
note: z.ZodString;
|
|
1695
|
+
}, z.core.$strict>>;
|
|
1696
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1697
|
+
kind: z.ZodEnum<{
|
|
1698
|
+
move: "move";
|
|
1699
|
+
copy: "copy";
|
|
1700
|
+
}>;
|
|
1701
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1702
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1703
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1704
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1705
|
+
}, z.core.$strict>>>;
|
|
1634
1706
|
}, z.core.$strict>;
|
|
1635
1707
|
message: z.ZodString;
|
|
1636
1708
|
}, z.core.$strict>;
|
|
@@ -1719,6 +1791,24 @@ declare const OPS: {
|
|
|
1719
1791
|
title: z.ZodNullable<z.ZodString>;
|
|
1720
1792
|
}, z.core.$strict>>;
|
|
1721
1793
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1794
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
1795
|
+
state: z.ZodEnum<{
|
|
1796
|
+
unsupported: "unsupported";
|
|
1797
|
+
synced: "synced";
|
|
1798
|
+
not_synced: "not_synced";
|
|
1799
|
+
}>;
|
|
1800
|
+
note: z.ZodString;
|
|
1801
|
+
}, z.core.$strict>>;
|
|
1802
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1803
|
+
kind: z.ZodEnum<{
|
|
1804
|
+
move: "move";
|
|
1805
|
+
copy: "copy";
|
|
1806
|
+
}>;
|
|
1807
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1808
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1809
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1810
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1811
|
+
}, z.core.$strict>>>;
|
|
1722
1812
|
}, z.core.$strict>>;
|
|
1723
1813
|
project: z.ZodObject<{
|
|
1724
1814
|
id: z.ZodString;
|
|
@@ -1848,6 +1938,24 @@ declare const OPS: {
|
|
|
1848
1938
|
title: z.ZodNullable<z.ZodString>;
|
|
1849
1939
|
}, z.core.$strict>>;
|
|
1850
1940
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1941
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
1942
|
+
state: z.ZodEnum<{
|
|
1943
|
+
unsupported: "unsupported";
|
|
1944
|
+
synced: "synced";
|
|
1945
|
+
not_synced: "not_synced";
|
|
1946
|
+
}>;
|
|
1947
|
+
note: z.ZodString;
|
|
1948
|
+
}, z.core.$strict>>;
|
|
1949
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1950
|
+
kind: z.ZodEnum<{
|
|
1951
|
+
move: "move";
|
|
1952
|
+
copy: "copy";
|
|
1953
|
+
}>;
|
|
1954
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1955
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1956
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1957
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1958
|
+
}, z.core.$strict>>>;
|
|
1851
1959
|
}, z.core.$strict>;
|
|
1852
1960
|
}, z.core.$strict>;
|
|
1853
1961
|
readonly kind: "unary";
|
|
@@ -2242,6 +2350,24 @@ declare const OPS: {
|
|
|
2242
2350
|
title: z.ZodNullable<z.ZodString>;
|
|
2243
2351
|
}, z.core.$strict>>;
|
|
2244
2352
|
prior_sessions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2353
|
+
title_sync: z.ZodOptional<z.ZodObject<{
|
|
2354
|
+
state: z.ZodEnum<{
|
|
2355
|
+
unsupported: "unsupported";
|
|
2356
|
+
synced: "synced";
|
|
2357
|
+
not_synced: "not_synced";
|
|
2358
|
+
}>;
|
|
2359
|
+
note: z.ZodString;
|
|
2360
|
+
}, z.core.$strict>>;
|
|
2361
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2362
|
+
kind: z.ZodEnum<{
|
|
2363
|
+
move: "move";
|
|
2364
|
+
copy: "copy";
|
|
2365
|
+
}>;
|
|
2366
|
+
from: z.ZodNullable<z.ZodString>;
|
|
2367
|
+
to: z.ZodNullable<z.ZodString>;
|
|
2368
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
2369
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2370
|
+
}, z.core.$strict>>>;
|
|
2245
2371
|
}, z.core.$strict>;
|
|
2246
2372
|
project: z.ZodObject<{
|
|
2247
2373
|
id: z.ZodString;
|
|
@@ -2289,8 +2415,8 @@ declare const OPS: {
|
|
|
2289
2415
|
target: z.ZodString;
|
|
2290
2416
|
chat_ids: z.ZodArray<z.ZodString>;
|
|
2291
2417
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
2292
|
-
copy: "copy";
|
|
2293
2418
|
move: "move";
|
|
2419
|
+
copy: "copy";
|
|
2294
2420
|
}>>;
|
|
2295
2421
|
restart: z.ZodDefault<z.ZodEnum<{
|
|
2296
2422
|
queued: "queued";
|
|
@@ -2305,8 +2431,8 @@ declare const OPS: {
|
|
|
2305
2431
|
origin: z.ZodString;
|
|
2306
2432
|
target: z.ZodString;
|
|
2307
2433
|
mode: z.ZodEnum<{
|
|
2308
|
-
copy: "copy";
|
|
2309
2434
|
move: "move";
|
|
2435
|
+
copy: "copy";
|
|
2310
2436
|
}>;
|
|
2311
2437
|
project: z.ZodObject<{
|
|
2312
2438
|
id: z.ZodString;
|
|
@@ -2335,8 +2461,8 @@ declare const OPS: {
|
|
|
2335
2461
|
chat_id: z.ZodString;
|
|
2336
2462
|
title: z.ZodString;
|
|
2337
2463
|
outcome: z.ZodEnum<{
|
|
2338
|
-
copied: "copied";
|
|
2339
2464
|
moved: "moved";
|
|
2465
|
+
copied: "copied";
|
|
2340
2466
|
already: "already";
|
|
2341
2467
|
skipped: "skipped";
|
|
2342
2468
|
}>;
|
|
@@ -2451,8 +2577,8 @@ declare const OPS: {
|
|
|
2451
2577
|
chat_id: z.ZodString;
|
|
2452
2578
|
title: z.ZodString;
|
|
2453
2579
|
outcome: z.ZodEnum<{
|
|
2454
|
-
copied: "copied";
|
|
2455
2580
|
moved: "moved";
|
|
2581
|
+
copied: "copied";
|
|
2456
2582
|
already: "already";
|
|
2457
2583
|
skipped: "skipped";
|
|
2458
2584
|
}>;
|
|
@@ -5170,8 +5296,8 @@ declare const OPS: {
|
|
|
5170
5296
|
}, z.core.$strict>>;
|
|
5171
5297
|
}, z.core.$strict>>;
|
|
5172
5298
|
how: z.ZodEnum<{
|
|
5173
|
-
fresh: "fresh";
|
|
5174
5299
|
moved: "moved";
|
|
5300
|
+
fresh: "fresh";
|
|
5175
5301
|
}>;
|
|
5176
5302
|
}, z.core.$strict>;
|
|
5177
5303
|
readonly kind: "unary";
|
|
@@ -58,6 +58,92 @@
|
|
|
58
58
|
],
|
|
59
59
|
"additionalProperties": false
|
|
60
60
|
},
|
|
61
|
+
"ChatTitleSync": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"state": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"enum": [
|
|
67
|
+
"synced",
|
|
68
|
+
"not_synced",
|
|
69
|
+
"unsupported"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"note": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"maxLength": 200
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"state",
|
|
79
|
+
"note"
|
|
80
|
+
],
|
|
81
|
+
"additionalProperties": false
|
|
82
|
+
},
|
|
83
|
+
"ChatMove": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"kind": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"enum": [
|
|
89
|
+
"move",
|
|
90
|
+
"copy"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"from": {
|
|
94
|
+
"anyOf": [
|
|
95
|
+
{
|
|
96
|
+
"$ref": "#/$defs/ChatPlace"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "null"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"to": {
|
|
104
|
+
"anyOf": [
|
|
105
|
+
{
|
|
106
|
+
"$ref": "#/$defs/ChatPlace"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "null"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"at_ms": {
|
|
114
|
+
"anyOf": [
|
|
115
|
+
{
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"minimum": 0,
|
|
118
|
+
"maximum": 9007199254740991
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "null"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"back_at_ms": {
|
|
126
|
+
"anyOf": [
|
|
127
|
+
{
|
|
128
|
+
"type": "integer",
|
|
129
|
+
"minimum": 0,
|
|
130
|
+
"maximum": 9007199254740991
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "null"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": [
|
|
139
|
+
"kind",
|
|
140
|
+
"from",
|
|
141
|
+
"to",
|
|
142
|
+
"at_ms",
|
|
143
|
+
"back_at_ms"
|
|
144
|
+
],
|
|
145
|
+
"additionalProperties": false
|
|
146
|
+
},
|
|
61
147
|
"AppsWindowsSetAccountParams": {
|
|
62
148
|
"type": "object",
|
|
63
149
|
"properties": {
|
|
@@ -13129,6 +13215,16 @@
|
|
|
13129
13215
|
"items": {
|
|
13130
13216
|
"$ref": "#/$defs/ChatId"
|
|
13131
13217
|
}
|
|
13218
|
+
},
|
|
13219
|
+
"title_sync": {
|
|
13220
|
+
"$ref": "#/$defs/ChatTitleSync"
|
|
13221
|
+
},
|
|
13222
|
+
"moved": {
|
|
13223
|
+
"maxItems": 50,
|
|
13224
|
+
"type": "array",
|
|
13225
|
+
"items": {
|
|
13226
|
+
"$ref": "#/$defs/ChatMove"
|
|
13227
|
+
}
|
|
13132
13228
|
}
|
|
13133
13229
|
},
|
|
13134
13230
|
"required": [
|
|
@@ -26515,7 +26611,9 @@
|
|
|
26515
26611
|
"session_id": "1.59",
|
|
26516
26612
|
"app_groups": "1.59",
|
|
26517
26613
|
"parent": "1.59",
|
|
26518
|
-
"prior_sessions": "1.59"
|
|
26614
|
+
"prior_sessions": "1.59",
|
|
26615
|
+
"title_sync": "1.61",
|
|
26616
|
+
"moved": "1.62"
|
|
26519
26617
|
},
|
|
26520
26618
|
"AccountUsage": {
|
|
26521
26619
|
"plan": "1.13",
|
|
@@ -26611,5 +26709,5 @@
|
|
|
26611
26709
|
"olderPeersGet": 0
|
|
26612
26710
|
}
|
|
26613
26711
|
},
|
|
26614
|
-
"x-protocol-version": "1.
|
|
26712
|
+
"x-protocol-version": "1.62"
|
|
26615
26713
|
}
|
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.61",
|
|
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": "e86170a22e962d1c9890e56b29df3b8a3bc3b03b"
|
|
141
141
|
}
|