@ai-matrx/desktop-protocol 0.21.32 → 0.21.34

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.
@@ -12885,6 +12885,17 @@
12885
12885
  },
12886
12886
  "group_exists": {
12887
12887
  "type": "boolean"
12888
+ },
12889
+ "when": {
12890
+ "type": "string",
12891
+ "enum": [
12892
+ "now",
12893
+ "next_close"
12894
+ ]
12895
+ },
12896
+ "group_id": {
12897
+ "type": "string",
12898
+ "maxLength": 200
12888
12899
  }
12889
12900
  },
12890
12901
  "required": [
@@ -12955,6 +12966,16 @@
12955
12966
  "default": false,
12956
12967
  "type": "boolean"
12957
12968
  },
12969
+ "group_id": {
12970
+ "type": "string",
12971
+ "minLength": 1,
12972
+ "maxLength": 200
12973
+ },
12974
+ "group_name": {
12975
+ "type": "string",
12976
+ "minLength": 1,
12977
+ "maxLength": 200
12978
+ },
12958
12979
  "pin": {
12959
12980
  "type": "boolean"
12960
12981
  },
@@ -13057,6 +13078,13 @@
13057
13078
  "pin": {
13058
13079
  "$ref": "#/$defs/ProjectMovePin"
13059
13080
  },
13081
+ "chats": {
13082
+ "maxItems": 5000,
13083
+ "type": "array",
13084
+ "items": {
13085
+ "$ref": "#/$defs/ProjectMoveOutcome"
13086
+ }
13087
+ },
13060
13088
  "message": {
13061
13089
  "type": "string",
13062
13090
  "maxLength": 400
@@ -13151,6 +13179,149 @@
13151
13179
  ],
13152
13180
  "additionalProperties": false
13153
13181
  },
13182
+ "ProjectMoveOutcome": {
13183
+ "type": "object",
13184
+ "properties": {
13185
+ "chat_id": {
13186
+ "$ref": "#/$defs/ChatId"
13187
+ },
13188
+ "title": {
13189
+ "type": "string",
13190
+ "maxLength": 300
13191
+ },
13192
+ "outcome": {
13193
+ "type": "string",
13194
+ "enum": [
13195
+ "copied",
13196
+ "moved",
13197
+ "already",
13198
+ "skipped"
13199
+ ]
13200
+ },
13201
+ "off": {
13202
+ "maxItems": 50,
13203
+ "type": "array",
13204
+ "items": {
13205
+ "$ref": "#/$defs/ChatPlace"
13206
+ }
13207
+ },
13208
+ "reason": {
13209
+ "anyOf": [
13210
+ {
13211
+ "type": "string",
13212
+ "maxLength": 400
13213
+ },
13214
+ {
13215
+ "type": "null"
13216
+ }
13217
+ ]
13218
+ },
13219
+ "pin": {
13220
+ "anyOf": [
13221
+ {
13222
+ "type": "string",
13223
+ "enum": [
13224
+ "now",
13225
+ "next_close",
13226
+ "failed"
13227
+ ]
13228
+ },
13229
+ {
13230
+ "type": "null"
13231
+ }
13232
+ ]
13233
+ },
13234
+ "group": {
13235
+ "anyOf": [
13236
+ {
13237
+ "type": "string",
13238
+ "enum": [
13239
+ "now",
13240
+ "next_close",
13241
+ "failed"
13242
+ ]
13243
+ },
13244
+ {
13245
+ "type": "null"
13246
+ }
13247
+ ]
13248
+ }
13249
+ },
13250
+ "required": [
13251
+ "chat_id",
13252
+ "title",
13253
+ "outcome",
13254
+ "off",
13255
+ "reason",
13256
+ "pin",
13257
+ "group"
13258
+ ],
13259
+ "additionalProperties": false
13260
+ },
13261
+ "WindowGroup": {
13262
+ "type": "object",
13263
+ "properties": {
13264
+ "id": {
13265
+ "type": "string",
13266
+ "maxLength": 200
13267
+ },
13268
+ "name": {
13269
+ "type": "string",
13270
+ "maxLength": 200
13271
+ },
13272
+ "count": {
13273
+ "type": "integer",
13274
+ "minimum": 0,
13275
+ "maximum": 9007199254740991
13276
+ }
13277
+ },
13278
+ "required": [
13279
+ "id",
13280
+ "name",
13281
+ "count"
13282
+ ],
13283
+ "additionalProperties": false
13284
+ },
13285
+ "AppsWindowsGroupsParams": {
13286
+ "type": "object",
13287
+ "properties": {
13288
+ "app_key": {
13289
+ "$ref": "#/$defs/AppKey"
13290
+ },
13291
+ "window": {
13292
+ "$ref": "#/$defs/ChatPlace"
13293
+ }
13294
+ },
13295
+ "required": [
13296
+ "app_key",
13297
+ "window"
13298
+ ],
13299
+ "additionalProperties": false
13300
+ },
13301
+ "AppsWindowsGroupsResult": {
13302
+ "type": "object",
13303
+ "properties": {
13304
+ "window": {
13305
+ "$ref": "#/$defs/ChatPlace"
13306
+ },
13307
+ "open": {
13308
+ "type": "boolean"
13309
+ },
13310
+ "groups": {
13311
+ "maxItems": 1000,
13312
+ "type": "array",
13313
+ "items": {
13314
+ "$ref": "#/$defs/WindowGroup"
13315
+ }
13316
+ }
13317
+ },
13318
+ "required": [
13319
+ "window",
13320
+ "open",
13321
+ "groups"
13322
+ ],
13323
+ "additionalProperties": false
13324
+ },
13154
13325
  "ColdChat": {
13155
13326
  "type": "object",
13156
13327
  "properties": {
@@ -18689,6 +18860,360 @@
18689
18860
  ],
18690
18861
  "additionalProperties": false
18691
18862
  },
18863
+ "OutlookStatusParams": {
18864
+ "type": "object",
18865
+ "properties": {},
18866
+ "additionalProperties": false
18867
+ },
18868
+ "OutlookAccount": {
18869
+ "type": "object",
18870
+ "properties": {
18871
+ "name": {
18872
+ "type": "string"
18873
+ },
18874
+ "email": {
18875
+ "type": [
18876
+ "string",
18877
+ "null"
18878
+ ]
18879
+ }
18880
+ },
18881
+ "required": [
18882
+ "name",
18883
+ "email"
18884
+ ],
18885
+ "additionalProperties": false
18886
+ },
18887
+ "OutlookStatusResult": {
18888
+ "type": "object",
18889
+ "properties": {
18890
+ "client": {
18891
+ "type": "string",
18892
+ "enum": [
18893
+ "classic_windows",
18894
+ "new_windows",
18895
+ "mac",
18896
+ "none"
18897
+ ]
18898
+ },
18899
+ "scriptable": {
18900
+ "type": "boolean"
18901
+ },
18902
+ "version": {
18903
+ "type": [
18904
+ "string",
18905
+ "null"
18906
+ ]
18907
+ },
18908
+ "accounts": {
18909
+ "type": "array",
18910
+ "items": {
18911
+ "$ref": "#/$defs/OutlookAccount"
18912
+ }
18913
+ },
18914
+ "reason": {
18915
+ "type": [
18916
+ "string",
18917
+ "null"
18918
+ ]
18919
+ }
18920
+ },
18921
+ "required": [
18922
+ "client",
18923
+ "scriptable",
18924
+ "version",
18925
+ "accounts",
18926
+ "reason"
18927
+ ],
18928
+ "additionalProperties": false
18929
+ },
18930
+ "OutlookDraftParams": {
18931
+ "type": "object",
18932
+ "properties": {
18933
+ "to": {
18934
+ "default": [],
18935
+ "maxItems": 100,
18936
+ "type": "array",
18937
+ "items": {
18938
+ "type": "string",
18939
+ "minLength": 3,
18940
+ "maxLength": 320
18941
+ }
18942
+ },
18943
+ "cc": {
18944
+ "default": [],
18945
+ "maxItems": 100,
18946
+ "type": "array",
18947
+ "items": {
18948
+ "type": "string",
18949
+ "minLength": 3,
18950
+ "maxLength": 320
18951
+ }
18952
+ },
18953
+ "bcc": {
18954
+ "default": [],
18955
+ "maxItems": 100,
18956
+ "type": "array",
18957
+ "items": {
18958
+ "type": "string",
18959
+ "minLength": 3,
18960
+ "maxLength": 320
18961
+ }
18962
+ },
18963
+ "subject": {
18964
+ "default": "",
18965
+ "type": "string",
18966
+ "maxLength": 998
18967
+ },
18968
+ "body": {
18969
+ "default": "",
18970
+ "type": "string",
18971
+ "maxLength": 1048576
18972
+ },
18973
+ "body_format": {
18974
+ "default": "text",
18975
+ "type": "string",
18976
+ "enum": [
18977
+ "text",
18978
+ "html"
18979
+ ]
18980
+ },
18981
+ "attachments": {
18982
+ "default": [],
18983
+ "maxItems": 50,
18984
+ "type": "array",
18985
+ "items": {
18986
+ "type": "string",
18987
+ "minLength": 1,
18988
+ "maxLength": 4096
18989
+ }
18990
+ },
18991
+ "account": {
18992
+ "type": "string",
18993
+ "minLength": 3,
18994
+ "maxLength": 320
18995
+ },
18996
+ "display": {
18997
+ "default": false,
18998
+ "type": "boolean"
18999
+ }
19000
+ },
19001
+ "additionalProperties": false
19002
+ },
19003
+ "OutlookDraftResult": {
19004
+ "type": "object",
19005
+ "properties": {
19006
+ "id": {
19007
+ "type": "string"
19008
+ },
19009
+ "account": {
19010
+ "type": [
19011
+ "string",
19012
+ "null"
19013
+ ]
19014
+ },
19015
+ "folder": {
19016
+ "type": "string"
19017
+ },
19018
+ "attachments": {
19019
+ "type": "integer",
19020
+ "minimum": 0,
19021
+ "maximum": 9007199254740991
19022
+ },
19023
+ "displayed": {
19024
+ "type": "boolean"
19025
+ }
19026
+ },
19027
+ "required": [
19028
+ "id",
19029
+ "account",
19030
+ "folder",
19031
+ "attachments",
19032
+ "displayed"
19033
+ ],
19034
+ "additionalProperties": false
19035
+ },
19036
+ "OutlookListParams": {
19037
+ "type": "object",
19038
+ "properties": {
19039
+ "folder": {
19040
+ "default": "inbox",
19041
+ "type": "string",
19042
+ "enum": [
19043
+ "inbox",
19044
+ "sent",
19045
+ "drafts"
19046
+ ]
19047
+ },
19048
+ "account": {
19049
+ "type": "string",
19050
+ "minLength": 3,
19051
+ "maxLength": 320
19052
+ },
19053
+ "unread_only": {
19054
+ "default": false,
19055
+ "type": "boolean"
19056
+ },
19057
+ "limit": {
19058
+ "default": 25,
19059
+ "type": "integer",
19060
+ "minimum": 1,
19061
+ "maximum": 200
19062
+ }
19063
+ },
19064
+ "additionalProperties": false
19065
+ },
19066
+ "OutlookMessage": {
19067
+ "type": "object",
19068
+ "properties": {
19069
+ "id": {
19070
+ "type": "string"
19071
+ },
19072
+ "subject": {
19073
+ "type": "string"
19074
+ },
19075
+ "sender": {
19076
+ "type": "string"
19077
+ },
19078
+ "received_at_ms": {
19079
+ "anyOf": [
19080
+ {
19081
+ "type": "integer",
19082
+ "minimum": 0,
19083
+ "maximum": 9007199254740991
19084
+ },
19085
+ {
19086
+ "type": "null"
19087
+ }
19088
+ ]
19089
+ },
19090
+ "read": {
19091
+ "type": "boolean"
19092
+ },
19093
+ "has_attachments": {
19094
+ "type": "boolean"
19095
+ },
19096
+ "preview": {
19097
+ "type": "string"
19098
+ }
19099
+ },
19100
+ "required": [
19101
+ "id",
19102
+ "subject",
19103
+ "sender",
19104
+ "received_at_ms",
19105
+ "read",
19106
+ "has_attachments",
19107
+ "preview"
19108
+ ],
19109
+ "additionalProperties": false
19110
+ },
19111
+ "OutlookListResult": {
19112
+ "type": "object",
19113
+ "properties": {
19114
+ "folder": {
19115
+ "type": "string"
19116
+ },
19117
+ "messages": {
19118
+ "type": "array",
19119
+ "items": {
19120
+ "$ref": "#/$defs/OutlookMessage"
19121
+ }
19122
+ }
19123
+ },
19124
+ "required": [
19125
+ "folder",
19126
+ "messages"
19127
+ ],
19128
+ "additionalProperties": false
19129
+ },
19130
+ "OutlookReadParams": {
19131
+ "type": "object",
19132
+ "properties": {
19133
+ "id": {
19134
+ "type": "string",
19135
+ "minLength": 1,
19136
+ "maxLength": 1024
19137
+ }
19138
+ },
19139
+ "required": [
19140
+ "id"
19141
+ ],
19142
+ "additionalProperties": false
19143
+ },
19144
+ "OutlookReadResult": {
19145
+ "type": "object",
19146
+ "properties": {
19147
+ "id": {
19148
+ "type": "string"
19149
+ },
19150
+ "subject": {
19151
+ "type": "string"
19152
+ },
19153
+ "sender": {
19154
+ "type": "string"
19155
+ },
19156
+ "to": {
19157
+ "type": "array",
19158
+ "items": {
19159
+ "type": "string"
19160
+ }
19161
+ },
19162
+ "cc": {
19163
+ "type": "array",
19164
+ "items": {
19165
+ "type": "string"
19166
+ }
19167
+ },
19168
+ "received_at_ms": {
19169
+ "anyOf": [
19170
+ {
19171
+ "type": "integer",
19172
+ "minimum": 0,
19173
+ "maximum": 9007199254740991
19174
+ },
19175
+ {
19176
+ "type": "null"
19177
+ }
19178
+ ]
19179
+ },
19180
+ "body": {
19181
+ "type": "string"
19182
+ },
19183
+ "attachments": {
19184
+ "type": "array",
19185
+ "items": {
19186
+ "type": "object",
19187
+ "properties": {
19188
+ "name": {
19189
+ "type": "string"
19190
+ },
19191
+ "size": {
19192
+ "type": "integer",
19193
+ "minimum": 0,
19194
+ "maximum": 9007199254740991
19195
+ }
19196
+ },
19197
+ "required": [
19198
+ "name",
19199
+ "size"
19200
+ ],
19201
+ "additionalProperties": false
19202
+ }
19203
+ }
19204
+ },
19205
+ "required": [
19206
+ "id",
19207
+ "subject",
19208
+ "sender",
19209
+ "to",
19210
+ "cc",
19211
+ "received_at_ms",
19212
+ "body",
19213
+ "attachments"
19214
+ ],
19215
+ "additionalProperties": false
19216
+ },
18692
19217
  "MessagesChatsParams": {
18693
19218
  "type": "object",
18694
19219
  "properties": {
@@ -22322,6 +22847,17 @@
22322
22847
  "INTERNAL"
22323
22848
  ]
22324
22849
  },
22850
+ "apps.windows.groups": {
22851
+ "params": "AppsWindowsGroupsParams",
22852
+ "result": "AppsWindowsGroupsResult",
22853
+ "kind": "unary",
22854
+ "since": "1.43",
22855
+ "errors": [
22856
+ "NOT_FOUND",
22857
+ "PLATFORM_UNSUPPORTED",
22858
+ "INTERNAL"
22859
+ ]
22860
+ },
22325
22861
  "apps.windows.shown": {
22326
22862
  "params": "AppsWindowsShownParams",
22327
22863
  "result": "AppsWindowsShownResult",
@@ -23317,6 +23853,58 @@
23317
23853
  "INTERNAL"
23318
23854
  ]
23319
23855
  },
23856
+ "outlook.status": {
23857
+ "params": "OutlookStatusParams",
23858
+ "result": "OutlookStatusResult",
23859
+ "kind": "unary",
23860
+ "since": "1.44",
23861
+ "errors": [
23862
+ "TIMEOUT",
23863
+ "INTERNAL"
23864
+ ]
23865
+ },
23866
+ "outlook.draft": {
23867
+ "params": "OutlookDraftParams",
23868
+ "result": "OutlookDraftResult",
23869
+ "kind": "unary",
23870
+ "since": "1.44",
23871
+ "errors": [
23872
+ "INVALID_PARAMS",
23873
+ "NOT_FOUND",
23874
+ "PERMISSION_DENIED_OS",
23875
+ "PLATFORM_UNSUPPORTED",
23876
+ "TIMEOUT",
23877
+ "INTERNAL"
23878
+ ]
23879
+ },
23880
+ "outlook.list": {
23881
+ "params": "OutlookListParams",
23882
+ "result": "OutlookListResult",
23883
+ "kind": "unary",
23884
+ "since": "1.44",
23885
+ "errors": [
23886
+ "INVALID_PARAMS",
23887
+ "NOT_FOUND",
23888
+ "PERMISSION_DENIED_OS",
23889
+ "PLATFORM_UNSUPPORTED",
23890
+ "TIMEOUT",
23891
+ "INTERNAL"
23892
+ ]
23893
+ },
23894
+ "outlook.read": {
23895
+ "params": "OutlookReadParams",
23896
+ "result": "OutlookReadResult",
23897
+ "kind": "unary",
23898
+ "since": "1.44",
23899
+ "errors": [
23900
+ "INVALID_PARAMS",
23901
+ "NOT_FOUND",
23902
+ "PERMISSION_DENIED_OS",
23903
+ "PLATFORM_UNSUPPORTED",
23904
+ "TIMEOUT",
23905
+ "INTERNAL"
23906
+ ]
23907
+ },
23320
23908
  "messages.chats": {
23321
23909
  "params": "MessagesChatsParams",
23322
23910
  "result": "MessagesChatsResult",
@@ -23901,10 +24489,17 @@
23901
24489
  "AppsProjectsToWindowParams": {
23902
24490
  "pin": "1.32",
23903
24491
  "chat_ids": "1.36",
23904
- "take_off_from": "1.36"
24492
+ "take_off_from": "1.36",
24493
+ "group_id": "1.43",
24494
+ "group_name": "1.43"
23905
24495
  },
23906
24496
  "AppsProjectsToWindowResult": {
23907
- "pin": "1.32"
24497
+ "pin": "1.32",
24498
+ "chats": "1.43"
24499
+ },
24500
+ "ProjectMoveGroup": {
24501
+ "when": "1.43",
24502
+ "group_id": "1.43"
23908
24503
  },
23909
24504
  "AppsChatsTitlesCheckResult": {
23910
24505
  "stale_windows": "1.33"
@@ -23947,5 +24542,5 @@
23947
24542
  "olderPeersGet": 0
23948
24543
  }
23949
24544
  },
23950
- "x-protocol-version": "1.42"
24545
+ "x-protocol-version": "1.44"
23951
24546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.32",
3
+ "version": "0.21.34",
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": "2c0f2903b72fc5cb902d536c1f9b88cf6befc10d"
140
+ "gitHead": "e2771d68e01d62f27be1fce8af06532231b40c28"
141
141
  }