@ai-matrx/desktop-protocol 0.17.13 → 0.19.0

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.
@@ -5954,6 +5954,15 @@
5954
5954
  "type": "null"
5955
5955
  }
5956
5956
  ]
5957
+ },
5958
+ "cpu_percent": {
5959
+ "type": "number",
5960
+ "minimum": 0
5961
+ },
5962
+ "memory_bytes": {
5963
+ "type": "integer",
5964
+ "minimum": 0,
5965
+ "maximum": 9007199254740991
5957
5966
  }
5958
5967
  },
5959
5968
  "required": [
@@ -8606,6 +8615,219 @@
8606
8615
  ],
8607
8616
  "additionalProperties": false
8608
8617
  },
8618
+ "ProjectMoveChat": {
8619
+ "type": "object",
8620
+ "properties": {
8621
+ "chat_id": {
8622
+ "$ref": "#/$defs/ChatId"
8623
+ },
8624
+ "title": {
8625
+ "type": "string",
8626
+ "maxLength": 300
8627
+ }
8628
+ },
8629
+ "required": [
8630
+ "chat_id",
8631
+ "title"
8632
+ ],
8633
+ "additionalProperties": false
8634
+ },
8635
+ "ProjectMoveSkip": {
8636
+ "type": "object",
8637
+ "properties": {
8638
+ "chat_id": {
8639
+ "$ref": "#/$defs/ChatId"
8640
+ },
8641
+ "title": {
8642
+ "type": "string",
8643
+ "maxLength": 300
8644
+ },
8645
+ "window": {
8646
+ "anyOf": [
8647
+ {
8648
+ "$ref": "#/$defs/ChatPlace"
8649
+ },
8650
+ {
8651
+ "type": "null"
8652
+ }
8653
+ ]
8654
+ },
8655
+ "reason": {
8656
+ "type": "string",
8657
+ "maxLength": 400
8658
+ }
8659
+ },
8660
+ "required": [
8661
+ "chat_id",
8662
+ "title",
8663
+ "window",
8664
+ "reason"
8665
+ ],
8666
+ "additionalProperties": false
8667
+ },
8668
+ "ProjectMoveGroup": {
8669
+ "type": "object",
8670
+ "properties": {
8671
+ "ok": {
8672
+ "type": "boolean"
8673
+ },
8674
+ "name": {
8675
+ "type": "string",
8676
+ "maxLength": 200
8677
+ },
8678
+ "reason": {
8679
+ "type": "string",
8680
+ "maxLength": 400
8681
+ },
8682
+ "assign": {
8683
+ "type": "integer",
8684
+ "minimum": 0,
8685
+ "maximum": 9007199254740991
8686
+ },
8687
+ "already": {
8688
+ "type": "integer",
8689
+ "minimum": 0,
8690
+ "maximum": 9007199254740991
8691
+ },
8692
+ "from_other_groups": {
8693
+ "type": "integer",
8694
+ "minimum": 0,
8695
+ "maximum": 9007199254740991
8696
+ },
8697
+ "group_exists": {
8698
+ "type": "boolean"
8699
+ }
8700
+ },
8701
+ "required": [
8702
+ "ok",
8703
+ "name"
8704
+ ],
8705
+ "additionalProperties": false
8706
+ },
8707
+ "AppsProjectsToWindowParams": {
8708
+ "type": "object",
8709
+ "properties": {
8710
+ "app_key": {
8711
+ "$ref": "#/$defs/AppKey"
8712
+ },
8713
+ "project_id": {
8714
+ "$ref": "#/$defs/ChatProjectId"
8715
+ },
8716
+ "window": {
8717
+ "$ref": "#/$defs/ChatPlace"
8718
+ },
8719
+ "take_off": {
8720
+ "default": false,
8721
+ "type": "boolean"
8722
+ },
8723
+ "group": {
8724
+ "default": false,
8725
+ "type": "boolean"
8726
+ },
8727
+ "dry_run": {
8728
+ "default": false,
8729
+ "type": "boolean"
8730
+ }
8731
+ },
8732
+ "required": [
8733
+ "app_key",
8734
+ "project_id",
8735
+ "window"
8736
+ ],
8737
+ "additionalProperties": false
8738
+ },
8739
+ "AppsProjectsToWindowResult": {
8740
+ "type": "object",
8741
+ "properties": {
8742
+ "project_id": {
8743
+ "$ref": "#/$defs/ChatProjectId"
8744
+ },
8745
+ "window": {
8746
+ "$ref": "#/$defs/ChatPlace"
8747
+ },
8748
+ "dry_run": {
8749
+ "type": "boolean"
8750
+ },
8751
+ "place": {
8752
+ "maxItems": 5000,
8753
+ "type": "array",
8754
+ "items": {
8755
+ "$ref": "#/$defs/ProjectMoveChat"
8756
+ }
8757
+ },
8758
+ "already": {
8759
+ "maxItems": 5000,
8760
+ "type": "array",
8761
+ "items": {
8762
+ "$ref": "#/$defs/ProjectMoveChat"
8763
+ }
8764
+ },
8765
+ "take_off": {
8766
+ "maxItems": 20000,
8767
+ "type": "array",
8768
+ "items": {
8769
+ "type": "object",
8770
+ "properties": {
8771
+ "chat_id": {
8772
+ "$ref": "#/$defs/ChatId"
8773
+ },
8774
+ "title": {
8775
+ "type": "string",
8776
+ "maxLength": 300
8777
+ },
8778
+ "window": {
8779
+ "$ref": "#/$defs/ChatPlace"
8780
+ }
8781
+ },
8782
+ "required": [
8783
+ "chat_id",
8784
+ "title",
8785
+ "window"
8786
+ ],
8787
+ "additionalProperties": false
8788
+ }
8789
+ },
8790
+ "skipped": {
8791
+ "maxItems": 20000,
8792
+ "type": "array",
8793
+ "items": {
8794
+ "$ref": "#/$defs/ProjectMoveSkip"
8795
+ }
8796
+ },
8797
+ "other_apps": {
8798
+ "type": "integer",
8799
+ "minimum": 0,
8800
+ "maximum": 9007199254740991
8801
+ },
8802
+ "group": {
8803
+ "anyOf": [
8804
+ {
8805
+ "$ref": "#/$defs/ProjectMoveGroup"
8806
+ },
8807
+ {
8808
+ "type": "null"
8809
+ }
8810
+ ]
8811
+ },
8812
+ "message": {
8813
+ "type": "string",
8814
+ "maxLength": 400
8815
+ }
8816
+ },
8817
+ "required": [
8818
+ "project_id",
8819
+ "window",
8820
+ "dry_run",
8821
+ "place",
8822
+ "already",
8823
+ "take_off",
8824
+ "skipped",
8825
+ "other_apps",
8826
+ "group",
8827
+ "message"
8828
+ ],
8829
+ "additionalProperties": false
8830
+ },
8609
8831
  "ColdChat": {
8610
8832
  "type": "object",
8611
8833
  "properties": {
@@ -10036,6 +10258,19 @@
10036
10258
  "INTERNAL"
10037
10259
  ]
10038
10260
  },
10261
+ "apps.projects.to_window": {
10262
+ "params": "AppsProjectsToWindowParams",
10263
+ "result": "AppsProjectsToWindowResult",
10264
+ "kind": "unary",
10265
+ "since": "1.19",
10266
+ "errors": [
10267
+ "NOT_FOUND",
10268
+ "INVALID_PARAMS",
10269
+ "CONFLICT",
10270
+ "PLATFORM_UNSUPPORTED",
10271
+ "INTERNAL"
10272
+ ]
10273
+ },
10039
10274
  "apps.chats.cold": {
10040
10275
  "params": "AppsChatsColdParams",
10041
10276
  "result": "AppsChatsColdResult",
@@ -10671,6 +10906,10 @@
10671
10906
  },
10672
10907
  "ResourcesDisk": {
10673
10908
  "name": "1.17"
10909
+ },
10910
+ "StackServer": {
10911
+ "cpu_percent": "1.18",
10912
+ "memory_bytes": "1.18"
10674
10913
  }
10675
10914
  },
10676
10915
  "x-null-since": {
@@ -10679,5 +10918,5 @@
10679
10918
  "olderPeersGet": 0
10680
10919
  }
10681
10920
  },
10682
- "x-protocol-version": "1.17"
10921
+ "x-protocol-version": "1.19"
10683
10922
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.17.13",
3
+ "version": "0.19.0",
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",
@@ -79,6 +79,7 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "zod": "^4.6.5",
82
+ "@ai-matrx/kit": "latest",
82
83
  "@ai-matrx/realtime": "latest"
83
84
  },
84
85
  "devDependencies": {