@ai-matrx/desktop-protocol 0.21.70 → 0.21.71
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 +9 -0
- package/dist/{chunk-server-I6R2ZKMX.js → chunk-server-TKQNS7QK.js} +16 -4
- package/dist/chunk-server-TKQNS7QK.js.map +1 -0
- package/dist/client.cjs +10 -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 +16 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -6
- package/dist/index.d.ts +32 -6
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-_17aNpEC.d.cts → models-lURX04tj.d.cts} +41 -1
- package/dist/{models-_17aNpEC.d.ts → models-lURX04tj.d.ts} +41 -1
- package/dist/react.d.cts +22 -0
- package/dist/react.d.ts +22 -0
- package/generated/desktop-protocol.schema.json +66 -2
- package/package.json +2 -2
- package/dist/chunk-server-I6R2ZKMX.js.map +0 -1
package/dist/react.d.cts
CHANGED
|
@@ -1361,6 +1361,7 @@ declare const OPS: {
|
|
|
1361
1361
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1362
1362
|
}, z.core.$strict>>>;
|
|
1363
1363
|
home: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1364
1365
|
}, z.core.$strict>>;
|
|
1365
1366
|
new_window_ms: z.ZodInt;
|
|
1366
1367
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1486,12 +1487,28 @@ declare const OPS: {
|
|
|
1486
1487
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1487
1488
|
}, z.core.$strict>>>;
|
|
1488
1489
|
home: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1489
1491
|
}, z.core.$strict>;
|
|
1490
1492
|
}, z.core.$strict>;
|
|
1491
1493
|
readonly kind: "unary";
|
|
1492
1494
|
readonly since: "1.8";
|
|
1493
1495
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1494
1496
|
};
|
|
1497
|
+
readonly "apps.chats.hide": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
1501
|
+
hidden: z.ZodBoolean;
|
|
1502
|
+
}, z.core.$strict>;
|
|
1503
|
+
readonly result: z.ZodObject<{
|
|
1504
|
+
app_key: z.ZodString;
|
|
1505
|
+
hidden: z.ZodBoolean;
|
|
1506
|
+
changed: z.ZodArray<z.ZodString>;
|
|
1507
|
+
}, z.core.$strict>;
|
|
1508
|
+
readonly kind: "unary";
|
|
1509
|
+
readonly since: "1.70";
|
|
1510
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1511
|
+
};
|
|
1495
1512
|
readonly "apps.projects.file": {
|
|
1496
1513
|
readonly params: z.ZodObject<{
|
|
1497
1514
|
app_key: z.ZodString;
|
|
@@ -1592,6 +1609,7 @@ declare const OPS: {
|
|
|
1592
1609
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1593
1610
|
}, z.core.$strict>>>;
|
|
1594
1611
|
home: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1595
1613
|
}, z.core.$strict>;
|
|
1596
1614
|
project: z.ZodObject<{
|
|
1597
1615
|
id: z.ZodString;
|
|
@@ -1709,6 +1727,7 @@ declare const OPS: {
|
|
|
1709
1727
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1710
1728
|
}, z.core.$strict>>>;
|
|
1711
1729
|
home: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1712
1731
|
}, z.core.$strict>;
|
|
1713
1732
|
message: z.ZodString;
|
|
1714
1733
|
}, z.core.$strict>;
|
|
@@ -1816,6 +1835,7 @@ declare const OPS: {
|
|
|
1816
1835
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1817
1836
|
}, z.core.$strict>>>;
|
|
1818
1837
|
home: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1819
1839
|
}, z.core.$strict>>;
|
|
1820
1840
|
project: z.ZodObject<{
|
|
1821
1841
|
id: z.ZodString;
|
|
@@ -1964,6 +1984,7 @@ declare const OPS: {
|
|
|
1964
1984
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1965
1985
|
}, z.core.$strict>>>;
|
|
1966
1986
|
home: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1967
1988
|
}, z.core.$strict>;
|
|
1968
1989
|
}, z.core.$strict>;
|
|
1969
1990
|
readonly kind: "unary";
|
|
@@ -2382,6 +2403,7 @@ declare const OPS: {
|
|
|
2382
2403
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2383
2404
|
}, z.core.$strict>>>;
|
|
2384
2405
|
home: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2385
2407
|
}, z.core.$strict>;
|
|
2386
2408
|
project: z.ZodObject<{
|
|
2387
2409
|
id: z.ZodString;
|
package/dist/react.d.ts
CHANGED
|
@@ -1361,6 +1361,7 @@ declare const OPS: {
|
|
|
1361
1361
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1362
1362
|
}, z.core.$strict>>>;
|
|
1363
1363
|
home: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1364
1365
|
}, z.core.$strict>>;
|
|
1365
1366
|
new_window_ms: z.ZodInt;
|
|
1366
1367
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1486,12 +1487,28 @@ declare const OPS: {
|
|
|
1486
1487
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1487
1488
|
}, z.core.$strict>>>;
|
|
1488
1489
|
home: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1489
1491
|
}, z.core.$strict>;
|
|
1490
1492
|
}, z.core.$strict>;
|
|
1491
1493
|
readonly kind: "unary";
|
|
1492
1494
|
readonly since: "1.8";
|
|
1493
1495
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1494
1496
|
};
|
|
1497
|
+
readonly "apps.chats.hide": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
1501
|
+
hidden: z.ZodBoolean;
|
|
1502
|
+
}, z.core.$strict>;
|
|
1503
|
+
readonly result: z.ZodObject<{
|
|
1504
|
+
app_key: z.ZodString;
|
|
1505
|
+
hidden: z.ZodBoolean;
|
|
1506
|
+
changed: z.ZodArray<z.ZodString>;
|
|
1507
|
+
}, z.core.$strict>;
|
|
1508
|
+
readonly kind: "unary";
|
|
1509
|
+
readonly since: "1.70";
|
|
1510
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1511
|
+
};
|
|
1495
1512
|
readonly "apps.projects.file": {
|
|
1496
1513
|
readonly params: z.ZodObject<{
|
|
1497
1514
|
app_key: z.ZodString;
|
|
@@ -1592,6 +1609,7 @@ declare const OPS: {
|
|
|
1592
1609
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1593
1610
|
}, z.core.$strict>>>;
|
|
1594
1611
|
home: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1595
1613
|
}, z.core.$strict>;
|
|
1596
1614
|
project: z.ZodObject<{
|
|
1597
1615
|
id: z.ZodString;
|
|
@@ -1709,6 +1727,7 @@ declare const OPS: {
|
|
|
1709
1727
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1710
1728
|
}, z.core.$strict>>>;
|
|
1711
1729
|
home: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1712
1731
|
}, z.core.$strict>;
|
|
1713
1732
|
message: z.ZodString;
|
|
1714
1733
|
}, z.core.$strict>;
|
|
@@ -1816,6 +1835,7 @@ declare const OPS: {
|
|
|
1816
1835
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1817
1836
|
}, z.core.$strict>>>;
|
|
1818
1837
|
home: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1819
1839
|
}, z.core.$strict>>;
|
|
1820
1840
|
project: z.ZodObject<{
|
|
1821
1841
|
id: z.ZodString;
|
|
@@ -1964,6 +1984,7 @@ declare const OPS: {
|
|
|
1964
1984
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1965
1985
|
}, z.core.$strict>>>;
|
|
1966
1986
|
home: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1967
1988
|
}, z.core.$strict>;
|
|
1968
1989
|
}, z.core.$strict>;
|
|
1969
1990
|
readonly kind: "unary";
|
|
@@ -2382,6 +2403,7 @@ declare const OPS: {
|
|
|
2382
2403
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2383
2404
|
}, z.core.$strict>>>;
|
|
2384
2405
|
home: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2385
2407
|
}, z.core.$strict>;
|
|
2386
2408
|
project: z.ZodObject<{
|
|
2387
2409
|
id: z.ZodString;
|
|
@@ -13374,6 +13374,9 @@
|
|
|
13374
13374
|
},
|
|
13375
13375
|
"home": {
|
|
13376
13376
|
"$ref": "#/$defs/ChatPlace"
|
|
13377
|
+
},
|
|
13378
|
+
"hidden": {
|
|
13379
|
+
"type": "boolean"
|
|
13377
13380
|
}
|
|
13378
13381
|
},
|
|
13379
13382
|
"required": [
|
|
@@ -13571,6 +13574,55 @@
|
|
|
13571
13574
|
],
|
|
13572
13575
|
"additionalProperties": false
|
|
13573
13576
|
},
|
|
13577
|
+
"AppsChatsHideParams": {
|
|
13578
|
+
"type": "object",
|
|
13579
|
+
"properties": {
|
|
13580
|
+
"app_key": {
|
|
13581
|
+
"$ref": "#/$defs/AppKey"
|
|
13582
|
+
},
|
|
13583
|
+
"chat_ids": {
|
|
13584
|
+
"minItems": 1,
|
|
13585
|
+
"maxItems": 500,
|
|
13586
|
+
"type": "array",
|
|
13587
|
+
"items": {
|
|
13588
|
+
"$ref": "#/$defs/ChatId"
|
|
13589
|
+
}
|
|
13590
|
+
},
|
|
13591
|
+
"hidden": {
|
|
13592
|
+
"type": "boolean"
|
|
13593
|
+
}
|
|
13594
|
+
},
|
|
13595
|
+
"required": [
|
|
13596
|
+
"app_key",
|
|
13597
|
+
"chat_ids",
|
|
13598
|
+
"hidden"
|
|
13599
|
+
],
|
|
13600
|
+
"additionalProperties": false
|
|
13601
|
+
},
|
|
13602
|
+
"AppsChatsHideResult": {
|
|
13603
|
+
"type": "object",
|
|
13604
|
+
"properties": {
|
|
13605
|
+
"app_key": {
|
|
13606
|
+
"$ref": "#/$defs/AppKey"
|
|
13607
|
+
},
|
|
13608
|
+
"hidden": {
|
|
13609
|
+
"type": "boolean"
|
|
13610
|
+
},
|
|
13611
|
+
"changed": {
|
|
13612
|
+
"maxItems": 500,
|
|
13613
|
+
"type": "array",
|
|
13614
|
+
"items": {
|
|
13615
|
+
"$ref": "#/$defs/ChatId"
|
|
13616
|
+
}
|
|
13617
|
+
}
|
|
13618
|
+
},
|
|
13619
|
+
"required": [
|
|
13620
|
+
"app_key",
|
|
13621
|
+
"hidden",
|
|
13622
|
+
"changed"
|
|
13623
|
+
],
|
|
13624
|
+
"additionalProperties": false
|
|
13625
|
+
},
|
|
13574
13626
|
"AppsProjectsFileParams": {
|
|
13575
13627
|
"type": "object",
|
|
13576
13628
|
"properties": {
|
|
@@ -24505,6 +24557,17 @@
|
|
|
24505
24557
|
"INTERNAL"
|
|
24506
24558
|
]
|
|
24507
24559
|
},
|
|
24560
|
+
"apps.chats.hide": {
|
|
24561
|
+
"params": "AppsChatsHideParams",
|
|
24562
|
+
"result": "AppsChatsHideResult",
|
|
24563
|
+
"kind": "unary",
|
|
24564
|
+
"since": "1.70",
|
|
24565
|
+
"errors": [
|
|
24566
|
+
"INVALID_PARAMS",
|
|
24567
|
+
"PLATFORM_UNSUPPORTED",
|
|
24568
|
+
"INTERNAL"
|
|
24569
|
+
]
|
|
24570
|
+
},
|
|
24508
24571
|
"apps.projects.file": {
|
|
24509
24572
|
"params": "AppsProjectsFileParams",
|
|
24510
24573
|
"result": "AppsProjectsFileResult",
|
|
@@ -27170,7 +27233,8 @@
|
|
|
27170
27233
|
"prior_sessions": "1.59",
|
|
27171
27234
|
"title_sync": "1.61",
|
|
27172
27235
|
"moved": "1.62",
|
|
27173
|
-
"home": "1.63"
|
|
27236
|
+
"home": "1.63",
|
|
27237
|
+
"hidden": "1.70"
|
|
27174
27238
|
},
|
|
27175
27239
|
"AccountUsage": {
|
|
27176
27240
|
"plan": "1.13",
|
|
@@ -27349,5 +27413,5 @@
|
|
|
27349
27413
|
"olderPeersGet": 0
|
|
27350
27414
|
}
|
|
27351
27415
|
},
|
|
27352
|
-
"x-protocol-version": "1.
|
|
27416
|
+
"x-protocol-version": "1.70"
|
|
27353
27417
|
}
|
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.71",
|
|
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": "bcbe51f9705443fc06fe916b399cc7f53337c90c"
|
|
141
141
|
}
|