@ai-matrx/desktop-protocol 0.21.33 → 0.21.35
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 +11 -0
- package/dist/client.cjs +69 -1
- 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 +69 -1
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +91 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +99 -6
- package/dist/index.d.ts +99 -6
- package/dist/index.js +91 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-BcHaOevq.d.cts → models-Sz1BEet6.d.cts} +184 -1
- package/dist/{models-BcHaOevq.d.ts → models-Sz1BEet6.d.ts} +184 -1
- package/dist/react.d.cts +95 -0
- package/dist/react.d.ts +95 -0
- package/generated/desktop-protocol.schema.json +407 -1
- package/package.json +2 -2
|
@@ -18860,6 +18860,360 @@
|
|
|
18860
18860
|
],
|
|
18861
18861
|
"additionalProperties": false
|
|
18862
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
|
+
},
|
|
18863
19217
|
"MessagesChatsParams": {
|
|
18864
19218
|
"type": "object",
|
|
18865
19219
|
"properties": {
|
|
@@ -23499,6 +23853,58 @@
|
|
|
23499
23853
|
"INTERNAL"
|
|
23500
23854
|
]
|
|
23501
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
|
+
},
|
|
23502
23908
|
"messages.chats": {
|
|
23503
23909
|
"params": "MessagesChatsParams",
|
|
23504
23910
|
"result": "MessagesChatsResult",
|
|
@@ -24136,5 +24542,5 @@
|
|
|
24136
24542
|
"olderPeersGet": 0
|
|
24137
24543
|
}
|
|
24138
24544
|
},
|
|
24139
|
-
"x-protocol-version": "1.
|
|
24545
|
+
"x-protocol-version": "1.44"
|
|
24140
24546
|
}
|
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.35",
|
|
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": "9e65b0b7ac04e24db5b00368a116273ca1bd185d"
|
|
141
141
|
}
|