@ai-matrx/desktop-protocol 0.21.53 → 0.21.56

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/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": {
@@ -4130,7 +4185,14 @@
4130
4185
  "maximum": 9007199254740991
4131
4186
  },
4132
4187
  "sha256": {
4133
- "$ref": "#/$defs/Sha256Hex"
4188
+ "anyOf": [
4189
+ {
4190
+ "$ref": "#/$defs/Sha256Hex"
4191
+ },
4192
+ {
4193
+ "type": "null"
4194
+ }
4195
+ ]
4134
4196
  },
4135
4197
  "role": {
4136
4198
  "type": "string",
@@ -4401,6 +4463,11 @@
4401
4463
  "properties": {
4402
4464
  "model": {
4403
4465
  "$ref": "#/$defs/ModelKey"
4466
+ },
4467
+ "hf_token": {
4468
+ "type": "string",
4469
+ "minLength": 8,
4470
+ "maxLength": 512
4404
4471
  }
4405
4472
  },
4406
4473
  "required": [
@@ -4418,6 +4485,17 @@
4418
4485
  "type": "integer",
4419
4486
  "minimum": 0,
4420
4487
  "maximum": 9007199254740991
4488
+ },
4489
+ "hashed": {
4490
+ "type": "object",
4491
+ "propertyNames": {
4492
+ "type": "string",
4493
+ "maxLength": 512
4494
+ },
4495
+ "additionalProperties": {
4496
+ "type": "string",
4497
+ "pattern": "^[0-9a-f]{64}$"
4498
+ }
4421
4499
  }
4422
4500
  },
4423
4501
  "required": [
@@ -13030,6 +13108,27 @@
13030
13108
  },
13031
13109
  "archived": {
13032
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
+ }
13033
13132
  }
13034
13133
  },
13035
13134
  "required": [
@@ -13841,6 +13940,85 @@
13841
13940
  ],
13842
13941
  "additionalProperties": false
13843
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
+ },
13844
14022
  "AppsChatsCopyToAccountResult": {
13845
14023
  "type": "object",
13846
14024
  "properties": {
@@ -14006,48 +14184,7 @@
14006
14184
  "maximum": 9007199254740991
14007
14185
  },
14008
14186
  "restart": {
14009
- "type": "object",
14010
- "properties": {
14011
- "asked": {
14012
- "type": "string",
14013
- "enum": [
14014
- "queued",
14015
- "restart_verify"
14016
- ]
14017
- },
14018
- "done": {
14019
- "type": "string",
14020
- "enum": [
14021
- "queued",
14022
- "restart_verify"
14023
- ]
14024
- },
14025
- "windows": {
14026
- "maxItems": 2,
14027
- "type": "array",
14028
- "items": {
14029
- "$ref": "#/$defs/ChatPlace"
14030
- }
14031
- },
14032
- "reason": {
14033
- "anyOf": [
14034
- {
14035
- "type": "string",
14036
- "maxLength": 400
14037
- },
14038
- {
14039
- "type": "null"
14040
- }
14041
- ]
14042
- }
14043
- },
14044
- "required": [
14045
- "asked",
14046
- "done",
14047
- "windows",
14048
- "reason"
14049
- ],
14050
- "additionalProperties": false
14187
+ "$ref": "#/$defs/CopyRestart"
14051
14188
  }
14052
14189
  },
14053
14190
  "required": [
@@ -26374,7 +26511,11 @@
26374
26511
  "original_title": "1.14",
26375
26512
  "title_source": "1.14",
26376
26513
  "title_override": "1.14",
26377
- "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"
26378
26519
  },
26379
26520
  "AccountUsage": {
26380
26521
  "plan": "1.13",
@@ -26459,6 +26600,9 @@
26459
26600
  },
26460
26601
  "DownloadRow": {
26461
26602
  "error": "1.46"
26603
+ },
26604
+ "CopyRestart": {
26605
+ "reopened": "1.60"
26462
26606
  }
26463
26607
  },
26464
26608
  "x-null-since": {
@@ -26467,5 +26611,5 @@
26467
26611
  "olderPeersGet": 0
26468
26612
  }
26469
26613
  },
26470
- "x-protocol-version": "1.57"
26614
+ "x-protocol-version": "1.60"
26471
26615
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.53",
3
+ "version": "0.21.56",
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": "37251414aa4b0a64fc50c757dddb3492cdaa66bc"
140
+ "gitHead": "a720dcb10156543f02a2dccc1ee1d80350da38d7"
141
141
  }