@ai-matrx/desktop-protocol 0.21.60 → 0.21.62
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 +29 -1
- package/dist/{chunk-server-SQA64KFX.js → chunk-server-EQCCXWD7.js} +30 -5
- package/dist/chunk-server-EQCCXWD7.js.map +1 -0
- package/dist/client.cjs +23 -3
- 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 +30 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +139 -8
- package/dist/index.d.ts +139 -8
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-0lF6-r6a.d.cts → models-yHB4kGxD.d.cts} +199 -4
- package/dist/{models-0lF6-r6a.d.ts → models-yHB4kGxD.d.ts} +199 -4
- package/dist/react.d.cts +87 -5
- package/dist/react.d.ts +87 -5
- package/generated/desktop-protocol.schema.json +96 -2
- package/package.json +2 -2
- package/dist/chunk-server-SQA64KFX.js.map +0 -1
package/dist/react.d.ts
CHANGED
|
@@ -1348,6 +1348,17 @@ declare const OPS: {
|
|
|
1348
1348
|
}>;
|
|
1349
1349
|
note: z.ZodString;
|
|
1350
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>>>;
|
|
1361
|
+
home: z.ZodOptional<z.ZodString>;
|
|
1351
1362
|
}, z.core.$strict>>;
|
|
1352
1363
|
new_window_ms: z.ZodInt;
|
|
1353
1364
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1462,6 +1473,17 @@ declare const OPS: {
|
|
|
1462
1473
|
}>;
|
|
1463
1474
|
note: z.ZodString;
|
|
1464
1475
|
}, z.core.$strict>>;
|
|
1476
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1477
|
+
kind: z.ZodEnum<{
|
|
1478
|
+
move: "move";
|
|
1479
|
+
copy: "copy";
|
|
1480
|
+
}>;
|
|
1481
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1482
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1483
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1484
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1485
|
+
}, z.core.$strict>>>;
|
|
1486
|
+
home: z.ZodOptional<z.ZodString>;
|
|
1465
1487
|
}, z.core.$strict>;
|
|
1466
1488
|
}, z.core.$strict>;
|
|
1467
1489
|
readonly kind: "unary";
|
|
@@ -1557,6 +1579,17 @@ declare const OPS: {
|
|
|
1557
1579
|
}>;
|
|
1558
1580
|
note: z.ZodString;
|
|
1559
1581
|
}, z.core.$strict>>;
|
|
1582
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1583
|
+
kind: z.ZodEnum<{
|
|
1584
|
+
move: "move";
|
|
1585
|
+
copy: "copy";
|
|
1586
|
+
}>;
|
|
1587
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1588
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1589
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1590
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1591
|
+
}, z.core.$strict>>>;
|
|
1592
|
+
home: z.ZodOptional<z.ZodString>;
|
|
1560
1593
|
}, z.core.$strict>;
|
|
1561
1594
|
project: z.ZodObject<{
|
|
1562
1595
|
id: z.ZodString;
|
|
@@ -1663,6 +1696,17 @@ declare const OPS: {
|
|
|
1663
1696
|
}>;
|
|
1664
1697
|
note: z.ZodString;
|
|
1665
1698
|
}, z.core.$strict>>;
|
|
1699
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1700
|
+
kind: z.ZodEnum<{
|
|
1701
|
+
move: "move";
|
|
1702
|
+
copy: "copy";
|
|
1703
|
+
}>;
|
|
1704
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1705
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1706
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1707
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1708
|
+
}, z.core.$strict>>>;
|
|
1709
|
+
home: z.ZodOptional<z.ZodString>;
|
|
1666
1710
|
}, z.core.$strict>;
|
|
1667
1711
|
message: z.ZodString;
|
|
1668
1712
|
}, z.core.$strict>;
|
|
@@ -1759,6 +1803,17 @@ declare const OPS: {
|
|
|
1759
1803
|
}>;
|
|
1760
1804
|
note: z.ZodString;
|
|
1761
1805
|
}, z.core.$strict>>;
|
|
1806
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1807
|
+
kind: z.ZodEnum<{
|
|
1808
|
+
move: "move";
|
|
1809
|
+
copy: "copy";
|
|
1810
|
+
}>;
|
|
1811
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1812
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1813
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1814
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1815
|
+
}, z.core.$strict>>>;
|
|
1816
|
+
home: z.ZodOptional<z.ZodString>;
|
|
1762
1817
|
}, z.core.$strict>>;
|
|
1763
1818
|
project: z.ZodObject<{
|
|
1764
1819
|
id: z.ZodString;
|
|
@@ -1896,6 +1951,17 @@ declare const OPS: {
|
|
|
1896
1951
|
}>;
|
|
1897
1952
|
note: z.ZodString;
|
|
1898
1953
|
}, z.core.$strict>>;
|
|
1954
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1955
|
+
kind: z.ZodEnum<{
|
|
1956
|
+
move: "move";
|
|
1957
|
+
copy: "copy";
|
|
1958
|
+
}>;
|
|
1959
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1960
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1961
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
1962
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1963
|
+
}, z.core.$strict>>>;
|
|
1964
|
+
home: z.ZodOptional<z.ZodString>;
|
|
1899
1965
|
}, z.core.$strict>;
|
|
1900
1966
|
}, z.core.$strict>;
|
|
1901
1967
|
readonly kind: "unary";
|
|
@@ -2108,6 +2174,11 @@ declare const OPS: {
|
|
|
2108
2174
|
launched_ms: z.ZodNullable<z.ZodInt>;
|
|
2109
2175
|
quit_ms: z.ZodNullable<z.ZodInt>;
|
|
2110
2176
|
first_launch_ms: z.ZodNullable<z.ZodInt>;
|
|
2177
|
+
missing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2178
|
+
version: "version";
|
|
2179
|
+
account: "account";
|
|
2180
|
+
email: "email";
|
|
2181
|
+
}>>>;
|
|
2111
2182
|
}, z.core.$strict>>;
|
|
2112
2183
|
problem: z.ZodOptional<z.ZodString>;
|
|
2113
2184
|
as_of_ms: z.ZodOptional<z.ZodInt>;
|
|
@@ -2298,6 +2369,17 @@ declare const OPS: {
|
|
|
2298
2369
|
}>;
|
|
2299
2370
|
note: z.ZodString;
|
|
2300
2371
|
}, z.core.$strict>>;
|
|
2372
|
+
moved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2373
|
+
kind: z.ZodEnum<{
|
|
2374
|
+
move: "move";
|
|
2375
|
+
copy: "copy";
|
|
2376
|
+
}>;
|
|
2377
|
+
from: z.ZodNullable<z.ZodString>;
|
|
2378
|
+
to: z.ZodNullable<z.ZodString>;
|
|
2379
|
+
at_ms: z.ZodNullable<z.ZodInt>;
|
|
2380
|
+
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2381
|
+
}, z.core.$strict>>>;
|
|
2382
|
+
home: z.ZodOptional<z.ZodString>;
|
|
2301
2383
|
}, z.core.$strict>;
|
|
2302
2384
|
project: z.ZodObject<{
|
|
2303
2385
|
id: z.ZodString;
|
|
@@ -2345,8 +2427,8 @@ declare const OPS: {
|
|
|
2345
2427
|
target: z.ZodString;
|
|
2346
2428
|
chat_ids: z.ZodArray<z.ZodString>;
|
|
2347
2429
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
2348
|
-
copy: "copy";
|
|
2349
2430
|
move: "move";
|
|
2431
|
+
copy: "copy";
|
|
2350
2432
|
}>>;
|
|
2351
2433
|
restart: z.ZodDefault<z.ZodEnum<{
|
|
2352
2434
|
queued: "queued";
|
|
@@ -2361,8 +2443,8 @@ declare const OPS: {
|
|
|
2361
2443
|
origin: z.ZodString;
|
|
2362
2444
|
target: z.ZodString;
|
|
2363
2445
|
mode: z.ZodEnum<{
|
|
2364
|
-
copy: "copy";
|
|
2365
2446
|
move: "move";
|
|
2447
|
+
copy: "copy";
|
|
2366
2448
|
}>;
|
|
2367
2449
|
project: z.ZodObject<{
|
|
2368
2450
|
id: z.ZodString;
|
|
@@ -2391,8 +2473,8 @@ declare const OPS: {
|
|
|
2391
2473
|
chat_id: z.ZodString;
|
|
2392
2474
|
title: z.ZodString;
|
|
2393
2475
|
outcome: z.ZodEnum<{
|
|
2394
|
-
copied: "copied";
|
|
2395
2476
|
moved: "moved";
|
|
2477
|
+
copied: "copied";
|
|
2396
2478
|
already: "already";
|
|
2397
2479
|
skipped: "skipped";
|
|
2398
2480
|
}>;
|
|
@@ -2507,8 +2589,8 @@ declare const OPS: {
|
|
|
2507
2589
|
chat_id: z.ZodString;
|
|
2508
2590
|
title: z.ZodString;
|
|
2509
2591
|
outcome: z.ZodEnum<{
|
|
2510
|
-
copied: "copied";
|
|
2511
2592
|
moved: "moved";
|
|
2593
|
+
copied: "copied";
|
|
2512
2594
|
already: "already";
|
|
2513
2595
|
skipped: "skipped";
|
|
2514
2596
|
}>;
|
|
@@ -5226,8 +5308,8 @@ declare const OPS: {
|
|
|
5226
5308
|
}, z.core.$strict>>;
|
|
5227
5309
|
}, z.core.$strict>>;
|
|
5228
5310
|
how: z.ZodEnum<{
|
|
5229
|
-
fresh: "fresh";
|
|
5230
5311
|
moved: "moved";
|
|
5312
|
+
fresh: "fresh";
|
|
5231
5313
|
}>;
|
|
5232
5314
|
}, z.core.$strict>;
|
|
5233
5315
|
readonly kind: "unary";
|
|
@@ -80,6 +80,70 @@
|
|
|
80
80
|
],
|
|
81
81
|
"additionalProperties": false
|
|
82
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
|
+
},
|
|
83
147
|
"AppsWindowsSetAccountParams": {
|
|
84
148
|
"type": "object",
|
|
85
149
|
"properties": {
|
|
@@ -221,6 +285,14 @@
|
|
|
221
285
|
"folder_missing"
|
|
222
286
|
]
|
|
223
287
|
},
|
|
288
|
+
"InstanceGap": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"enum": [
|
|
291
|
+
"account",
|
|
292
|
+
"email",
|
|
293
|
+
"version"
|
|
294
|
+
]
|
|
295
|
+
},
|
|
224
296
|
"AppInstall": {
|
|
225
297
|
"type": "object",
|
|
226
298
|
"properties": {
|
|
@@ -385,6 +457,13 @@
|
|
|
385
457
|
"type": "null"
|
|
386
458
|
}
|
|
387
459
|
]
|
|
460
|
+
},
|
|
461
|
+
"missing": {
|
|
462
|
+
"maxItems": 3,
|
|
463
|
+
"type": "array",
|
|
464
|
+
"items": {
|
|
465
|
+
"$ref": "#/$defs/InstanceGap"
|
|
466
|
+
}
|
|
388
467
|
}
|
|
389
468
|
},
|
|
390
469
|
"required": [
|
|
@@ -13154,6 +13233,16 @@
|
|
|
13154
13233
|
},
|
|
13155
13234
|
"title_sync": {
|
|
13156
13235
|
"$ref": "#/$defs/ChatTitleSync"
|
|
13236
|
+
},
|
|
13237
|
+
"moved": {
|
|
13238
|
+
"maxItems": 50,
|
|
13239
|
+
"type": "array",
|
|
13240
|
+
"items": {
|
|
13241
|
+
"$ref": "#/$defs/ChatMove"
|
|
13242
|
+
}
|
|
13243
|
+
},
|
|
13244
|
+
"home": {
|
|
13245
|
+
"$ref": "#/$defs/ChatPlace"
|
|
13157
13246
|
}
|
|
13158
13247
|
},
|
|
13159
13248
|
"required": [
|
|
@@ -26505,6 +26594,9 @@
|
|
|
26505
26594
|
"CodingSearchHit": {
|
|
26506
26595
|
"accountId": "1.57"
|
|
26507
26596
|
},
|
|
26597
|
+
"AppInstance": {
|
|
26598
|
+
"missing": "1.63"
|
|
26599
|
+
},
|
|
26508
26600
|
"AppsInstancesListParams": {
|
|
26509
26601
|
"fresh": "1.51"
|
|
26510
26602
|
},
|
|
@@ -26541,7 +26633,9 @@
|
|
|
26541
26633
|
"app_groups": "1.59",
|
|
26542
26634
|
"parent": "1.59",
|
|
26543
26635
|
"prior_sessions": "1.59",
|
|
26544
|
-
"title_sync": "1.61"
|
|
26636
|
+
"title_sync": "1.61",
|
|
26637
|
+
"moved": "1.62",
|
|
26638
|
+
"home": "1.63"
|
|
26545
26639
|
},
|
|
26546
26640
|
"AccountUsage": {
|
|
26547
26641
|
"plan": "1.13",
|
|
@@ -26637,5 +26731,5 @@
|
|
|
26637
26731
|
"olderPeersGet": 0
|
|
26638
26732
|
}
|
|
26639
26733
|
},
|
|
26640
|
-
"x-protocol-version": "1.
|
|
26734
|
+
"x-protocol-version": "1.63"
|
|
26641
26735
|
}
|
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.62",
|
|
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": "920791a7ff42fb67acacc9e1cd64c10e79b42393"
|
|
141
141
|
}
|