@ai-matrx/desktop-protocol 0.21.70 → 0.21.72

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.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";
@@ -2185,6 +2206,18 @@ declare const OPS: {
2185
2206
  problem: z.ZodOptional<z.ZodString>;
2186
2207
  as_of_ms: z.ZodOptional<z.ZodInt>;
2187
2208
  refreshing: z.ZodOptional<z.ZodBoolean>;
2209
+ computer: z.ZodOptional<z.ZodString>;
2210
+ elsewhere: z.ZodOptional<z.ZodArray<z.ZodObject<{
2211
+ app_key: z.ZodString;
2212
+ key: z.ZodString;
2213
+ main: z.ZodBoolean;
2214
+ computer: z.ZodString;
2215
+ folder: z.ZodNullable<z.ZodString>;
2216
+ account_id: z.ZodNullable<z.ZodString>;
2217
+ account: z.ZodNullable<z.ZodString>;
2218
+ seen_ms: z.ZodNullable<z.ZodInt>;
2219
+ }, z.core.$strict>>>;
2220
+ shared_problem: z.ZodOptional<z.ZodString>;
2188
2221
  }, z.core.$strict>;
2189
2222
  readonly kind: "unary";
2190
2223
  readonly since: "1.47";
@@ -2230,6 +2263,7 @@ declare const OPS: {
2230
2263
  problem: z.ZodOptional<z.ZodString>;
2231
2264
  as_of_ms: z.ZodOptional<z.ZodInt>;
2232
2265
  refreshing: z.ZodOptional<z.ZodBoolean>;
2266
+ shared_problem: z.ZodOptional<z.ZodString>;
2233
2267
  }, z.core.$strict>;
2234
2268
  readonly kind: "unary";
2235
2269
  readonly since: "1.47";
@@ -2382,6 +2416,7 @@ declare const OPS: {
2382
2416
  back_at_ms: z.ZodNullable<z.ZodInt>;
2383
2417
  }, z.core.$strict>>>;
2384
2418
  home: z.ZodOptional<z.ZodString>;
2419
+ hidden: z.ZodOptional<z.ZodBoolean>;
2385
2420
  }, z.core.$strict>;
2386
2421
  project: z.ZodObject<{
2387
2422
  id: z.ZodString;
@@ -4431,10 +4466,10 @@ declare const OPS: {
4431
4466
  updatedAt: z.ZodString;
4432
4467
  state: z.ZodEnum<{
4433
4468
  running: "running";
4469
+ elsewhere: "elsewhere";
4434
4470
  idle: "idle";
4435
4471
  needs_attention: "needs_attention";
4436
4472
  new_output: "new_output";
4437
- elsewhere: "elsewhere";
4438
4473
  }>;
4439
4474
  stateLabel: z.ZodNullable<z.ZodString>;
4440
4475
  pinned: z.ZodBoolean;
@@ -5495,10 +5530,10 @@ declare const OPS: {
5495
5530
  updatedAt: z.ZodString;
5496
5531
  state: z.ZodEnum<{
5497
5532
  running: "running";
5533
+ elsewhere: "elsewhere";
5498
5534
  idle: "idle";
5499
5535
  needs_attention: "needs_attention";
5500
5536
  new_output: "new_output";
5501
- elsewhere: "elsewhere";
5502
5537
  }>;
5503
5538
  stateLabel: z.ZodNullable<z.ZodString>;
5504
5539
  pinned: z.ZodBoolean;
@@ -8062,10 +8097,10 @@ declare const EVENTS: {
8062
8097
  updatedAt: z.ZodString;
8063
8098
  state: z.ZodEnum<{
8064
8099
  running: "running";
8100
+ elsewhere: "elsewhere";
8065
8101
  idle: "idle";
8066
8102
  needs_attention: "needs_attention";
8067
8103
  new_output: "new_output";
8068
- elsewhere: "elsewhere";
8069
8104
  }>;
8070
8105
  stateLabel: z.ZodNullable<z.ZodString>;
8071
8106
  pinned: z.ZodBoolean;
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";
@@ -2185,6 +2206,18 @@ declare const OPS: {
2185
2206
  problem: z.ZodOptional<z.ZodString>;
2186
2207
  as_of_ms: z.ZodOptional<z.ZodInt>;
2187
2208
  refreshing: z.ZodOptional<z.ZodBoolean>;
2209
+ computer: z.ZodOptional<z.ZodString>;
2210
+ elsewhere: z.ZodOptional<z.ZodArray<z.ZodObject<{
2211
+ app_key: z.ZodString;
2212
+ key: z.ZodString;
2213
+ main: z.ZodBoolean;
2214
+ computer: z.ZodString;
2215
+ folder: z.ZodNullable<z.ZodString>;
2216
+ account_id: z.ZodNullable<z.ZodString>;
2217
+ account: z.ZodNullable<z.ZodString>;
2218
+ seen_ms: z.ZodNullable<z.ZodInt>;
2219
+ }, z.core.$strict>>>;
2220
+ shared_problem: z.ZodOptional<z.ZodString>;
2188
2221
  }, z.core.$strict>;
2189
2222
  readonly kind: "unary";
2190
2223
  readonly since: "1.47";
@@ -2230,6 +2263,7 @@ declare const OPS: {
2230
2263
  problem: z.ZodOptional<z.ZodString>;
2231
2264
  as_of_ms: z.ZodOptional<z.ZodInt>;
2232
2265
  refreshing: z.ZodOptional<z.ZodBoolean>;
2266
+ shared_problem: z.ZodOptional<z.ZodString>;
2233
2267
  }, z.core.$strict>;
2234
2268
  readonly kind: "unary";
2235
2269
  readonly since: "1.47";
@@ -2382,6 +2416,7 @@ declare const OPS: {
2382
2416
  back_at_ms: z.ZodNullable<z.ZodInt>;
2383
2417
  }, z.core.$strict>>>;
2384
2418
  home: z.ZodOptional<z.ZodString>;
2419
+ hidden: z.ZodOptional<z.ZodBoolean>;
2385
2420
  }, z.core.$strict>;
2386
2421
  project: z.ZodObject<{
2387
2422
  id: z.ZodString;
@@ -4431,10 +4466,10 @@ declare const OPS: {
4431
4466
  updatedAt: z.ZodString;
4432
4467
  state: z.ZodEnum<{
4433
4468
  running: "running";
4469
+ elsewhere: "elsewhere";
4434
4470
  idle: "idle";
4435
4471
  needs_attention: "needs_attention";
4436
4472
  new_output: "new_output";
4437
- elsewhere: "elsewhere";
4438
4473
  }>;
4439
4474
  stateLabel: z.ZodNullable<z.ZodString>;
4440
4475
  pinned: z.ZodBoolean;
@@ -5495,10 +5530,10 @@ declare const OPS: {
5495
5530
  updatedAt: z.ZodString;
5496
5531
  state: z.ZodEnum<{
5497
5532
  running: "running";
5533
+ elsewhere: "elsewhere";
5498
5534
  idle: "idle";
5499
5535
  needs_attention: "needs_attention";
5500
5536
  new_output: "new_output";
5501
- elsewhere: "elsewhere";
5502
5537
  }>;
5503
5538
  stateLabel: z.ZodNullable<z.ZodString>;
5504
5539
  pinned: z.ZodBoolean;
@@ -8062,10 +8097,10 @@ declare const EVENTS: {
8062
8097
  updatedAt: z.ZodString;
8063
8098
  state: z.ZodEnum<{
8064
8099
  running: "running";
8100
+ elsewhere: "elsewhere";
8065
8101
  idle: "idle";
8066
8102
  needs_attention: "needs_attention";
8067
8103
  new_output: "new_output";
8068
- elsewhere: "elsewhere";
8069
8104
  }>;
8070
8105
  stateLabel: z.ZodNullable<z.ZodString>;
8071
8106
  pinned: z.ZodBoolean;
@@ -487,6 +487,81 @@
487
487
  ],
488
488
  "additionalProperties": false
489
489
  },
490
+ "ElsewhereInstance": {
491
+ "type": "object",
492
+ "properties": {
493
+ "app_key": {
494
+ "$ref": "#/$defs/AppKey"
495
+ },
496
+ "key": {
497
+ "type": "string",
498
+ "maxLength": 120
499
+ },
500
+ "main": {
501
+ "type": "boolean"
502
+ },
503
+ "computer": {
504
+ "type": "string",
505
+ "maxLength": 200
506
+ },
507
+ "folder": {
508
+ "anyOf": [
509
+ {
510
+ "type": "string",
511
+ "maxLength": 1024
512
+ },
513
+ {
514
+ "type": "null"
515
+ }
516
+ ]
517
+ },
518
+ "account_id": {
519
+ "anyOf": [
520
+ {
521
+ "type": "string",
522
+ "maxLength": 200
523
+ },
524
+ {
525
+ "type": "null"
526
+ }
527
+ ]
528
+ },
529
+ "account": {
530
+ "anyOf": [
531
+ {
532
+ "type": "string",
533
+ "maxLength": 320
534
+ },
535
+ {
536
+ "type": "null"
537
+ }
538
+ ]
539
+ },
540
+ "seen_ms": {
541
+ "anyOf": [
542
+ {
543
+ "type": "integer",
544
+ "minimum": 0,
545
+ "maximum": 9007199254740991
546
+ },
547
+ {
548
+ "type": "null"
549
+ }
550
+ ]
551
+ }
552
+ },
553
+ "required": [
554
+ "app_key",
555
+ "key",
556
+ "main",
557
+ "computer",
558
+ "folder",
559
+ "account_id",
560
+ "account",
561
+ "seen_ms"
562
+ ],
563
+ "additionalProperties": false
564
+ },
490
565
  "AccountResetSource": {
491
566
  "type": "string",
492
567
  "enum": [
@@ -741,6 +816,21 @@
741
816
  },
742
817
  "refreshing": {
743
818
  "type": "boolean"
819
+ },
820
+ "computer": {
821
+ "type": "string",
822
+ "maxLength": 200
823
+ },
824
+ "elsewhere": {
825
+ "maxItems": 500,
826
+ "type": "array",
827
+ "items": {
828
+ "$ref": "#/$defs/ElsewhereInstance"
829
+ }
830
+ },
831
+ "shared_problem": {
832
+ "type": "string",
833
+ "maxLength": 200
744
834
  }
745
835
  },
746
836
  "required": [
@@ -789,6 +879,10 @@
789
879
  },
790
880
  "refreshing": {
791
881
  "type": "boolean"
882
+ },
883
+ "shared_problem": {
884
+ "type": "string",
885
+ "maxLength": 200
792
886
  }
793
887
  },
794
888
  "required": [
@@ -13374,6 +13468,9 @@
13374
13468
  },
13375
13469
  "home": {
13376
13470
  "$ref": "#/$defs/ChatPlace"
13471
+ },
13472
+ "hidden": {
13473
+ "type": "boolean"
13377
13474
  }
13378
13475
  },
13379
13476
  "required": [
@@ -13571,6 +13668,55 @@
13571
13668
  ],
13572
13669
  "additionalProperties": false
13573
13670
  },
13671
+ "AppsChatsHideParams": {
13672
+ "type": "object",
13673
+ "properties": {
13674
+ "app_key": {
13675
+ "$ref": "#/$defs/AppKey"
13676
+ },
13677
+ "chat_ids": {
13678
+ "minItems": 1,
13679
+ "maxItems": 500,
13680
+ "type": "array",
13681
+ "items": {
13682
+ "$ref": "#/$defs/ChatId"
13683
+ }
13684
+ },
13685
+ "hidden": {
13686
+ "type": "boolean"
13687
+ }
13688
+ },
13689
+ "required": [
13690
+ "app_key",
13691
+ "chat_ids",
13692
+ "hidden"
13693
+ ],
13694
+ "additionalProperties": false
13695
+ },
13696
+ "AppsChatsHideResult": {
13697
+ "type": "object",
13698
+ "properties": {
13699
+ "app_key": {
13700
+ "$ref": "#/$defs/AppKey"
13701
+ },
13702
+ "hidden": {
13703
+ "type": "boolean"
13704
+ },
13705
+ "changed": {
13706
+ "maxItems": 500,
13707
+ "type": "array",
13708
+ "items": {
13709
+ "$ref": "#/$defs/ChatId"
13710
+ }
13711
+ }
13712
+ },
13713
+ "required": [
13714
+ "app_key",
13715
+ "hidden",
13716
+ "changed"
13717
+ ],
13718
+ "additionalProperties": false
13719
+ },
13574
13720
  "AppsProjectsFileParams": {
13575
13721
  "type": "object",
13576
13722
  "properties": {
@@ -24505,6 +24651,17 @@
24505
24651
  "INTERNAL"
24506
24652
  ]
24507
24653
  },
24654
+ "apps.chats.hide": {
24655
+ "params": "AppsChatsHideParams",
24656
+ "result": "AppsChatsHideResult",
24657
+ "kind": "unary",
24658
+ "since": "1.70",
24659
+ "errors": [
24660
+ "INVALID_PARAMS",
24661
+ "PLATFORM_UNSUPPORTED",
24662
+ "INTERNAL"
24663
+ ]
24664
+ },
24508
24665
  "apps.projects.file": {
24509
24666
  "params": "AppsProjectsFileParams",
24510
24667
  "result": "AppsProjectsFileResult",
@@ -27137,14 +27294,18 @@
27137
27294
  },
27138
27295
  "AppsInstancesListResult": {
27139
27296
  "as_of_ms": "1.51",
27140
- "refreshing": "1.51"
27297
+ "refreshing": "1.51",
27298
+ "computer": "1.71",
27299
+ "elsewhere": "1.71",
27300
+ "shared_problem": "1.71"
27141
27301
  },
27142
27302
  "AppsAccountsListParams": {
27143
27303
  "fresh": "1.51"
27144
27304
  },
27145
27305
  "AppsAccountsListResult": {
27146
27306
  "as_of_ms": "1.51",
27147
- "refreshing": "1.51"
27307
+ "refreshing": "1.51",
27308
+ "shared_problem": "1.71"
27148
27309
  },
27149
27310
  "AppsChatsListResult": {
27150
27311
  "updating": "1.9",
@@ -27170,7 +27331,8 @@
27170
27331
  "prior_sessions": "1.59",
27171
27332
  "title_sync": "1.61",
27172
27333
  "moved": "1.62",
27173
- "home": "1.63"
27334
+ "home": "1.63",
27335
+ "hidden": "1.70"
27174
27336
  },
27175
27337
  "AccountUsage": {
27176
27338
  "plan": "1.13",
@@ -27349,5 +27511,5 @@
27349
27511
  "olderPeersGet": 0
27350
27512
  }
27351
27513
  },
27352
- "x-protocol-version": "1.69"
27514
+ "x-protocol-version": "1.71"
27353
27515
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.70",
3
+ "version": "0.21.72",
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": "1616be4a1be76ae84a25a958f7531aaf9dbb6a86"
140
+ "gitHead": "8955ff055838faba5093b14cdba800663f996aaf"
141
141
  }