@ai-matrx/desktop-protocol 0.21.31 → 0.21.33

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
@@ -2047,6 +2047,8 @@ declare const OPS: {
2047
2047
  window: z.ZodString;
2048
2048
  take_off: z.ZodDefault<z.ZodBoolean>;
2049
2049
  group: z.ZodDefault<z.ZodBoolean>;
2050
+ group_id: z.ZodOptional<z.ZodString>;
2051
+ group_name: z.ZodOptional<z.ZodString>;
2050
2052
  pin: z.ZodOptional<z.ZodBoolean>;
2051
2053
  chat_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
2052
2054
  take_off_from: z.ZodOptional<z.ZodString>;
@@ -2084,6 +2086,11 @@ declare const OPS: {
2084
2086
  already: z.ZodOptional<z.ZodInt>;
2085
2087
  from_other_groups: z.ZodOptional<z.ZodInt>;
2086
2088
  group_exists: z.ZodOptional<z.ZodBoolean>;
2089
+ when: z.ZodOptional<z.ZodEnum<{
2090
+ now: "now";
2091
+ next_close: "next_close";
2092
+ }>>;
2093
+ group_id: z.ZodOptional<z.ZodString>;
2087
2094
  }, z.core.$strict>>;
2088
2095
  pin: z.ZodOptional<z.ZodObject<{
2089
2096
  ok: z.ZodBoolean;
@@ -2096,6 +2103,28 @@ declare const OPS: {
2096
2103
  queued: z.ZodInt;
2097
2104
  reason: z.ZodOptional<z.ZodString>;
2098
2105
  }, z.core.$strict>>;
2106
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
2107
+ chat_id: z.ZodString;
2108
+ title: z.ZodString;
2109
+ outcome: z.ZodEnum<{
2110
+ already: "already";
2111
+ skipped: "skipped";
2112
+ copied: "copied";
2113
+ moved: "moved";
2114
+ }>;
2115
+ off: z.ZodArray<z.ZodString>;
2116
+ reason: z.ZodNullable<z.ZodString>;
2117
+ pin: z.ZodNullable<z.ZodEnum<{
2118
+ failed: "failed";
2119
+ now: "now";
2120
+ next_close: "next_close";
2121
+ }>>;
2122
+ group: z.ZodNullable<z.ZodEnum<{
2123
+ failed: "failed";
2124
+ now: "now";
2125
+ next_close: "next_close";
2126
+ }>>;
2127
+ }, z.core.$strict>>>;
2099
2128
  message: z.ZodString;
2100
2129
  }, z.core.$strict>;
2101
2130
  readonly kind: "unary";
@@ -2505,8 +2534,8 @@ declare const OPS: {
2505
2534
  type: z.ZodEnum<{
2506
2535
  created: "created";
2507
2536
  deleted: "deleted";
2508
- modified: "modified";
2509
2537
  moved: "moved";
2538
+ modified: "modified";
2510
2539
  }>;
2511
2540
  path: z.ZodString;
2512
2541
  to_path: z.ZodOptional<z.ZodString>;
@@ -3399,10 +3428,10 @@ declare const OPS: {
3399
3428
  name: z.ZodString;
3400
3429
  label: z.ZodString;
3401
3430
  tone: z.ZodEnum<{
3431
+ off: "off";
3402
3432
  good: "good";
3403
3433
  wait: "wait";
3404
3434
  bad: "bad";
3405
- off: "off";
3406
3435
  }>;
3407
3436
  sentence: z.ZodString;
3408
3437
  description: z.ZodString;
@@ -3593,6 +3622,24 @@ declare const OPS: {
3593
3622
  readonly since: "1.20";
3594
3623
  readonly errors: readonly ["INTERNAL"];
3595
3624
  };
3625
+ readonly "apps.windows.groups": {
3626
+ readonly params: z.ZodObject<{
3627
+ app_key: z.ZodString;
3628
+ window: z.ZodString;
3629
+ }, z.core.$strict>;
3630
+ readonly result: z.ZodObject<{
3631
+ window: z.ZodString;
3632
+ open: z.ZodBoolean;
3633
+ groups: z.ZodArray<z.ZodObject<{
3634
+ id: z.ZodString;
3635
+ name: z.ZodString;
3636
+ count: z.ZodInt;
3637
+ }, z.core.$strict>>;
3638
+ }, z.core.$strict>;
3639
+ readonly kind: "unary";
3640
+ readonly since: "1.43";
3641
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
3642
+ };
3596
3643
  readonly "apps.windows.shown": {
3597
3644
  readonly params: z.ZodObject<{
3598
3645
  app_key: z.ZodString;
@@ -6222,6 +6269,10 @@ declare const OPS: {
6222
6269
  readonly params: z.ZodObject<{
6223
6270
  to: z.ZodString;
6224
6271
  text: z.ZodString;
6272
+ service: z.ZodOptional<z.ZodEnum<{
6273
+ iMessage: "iMessage";
6274
+ SMS: "SMS";
6275
+ }>>;
6225
6276
  }, z.core.$strict>;
6226
6277
  readonly result: z.ZodObject<{
6227
6278
  sent: z.ZodBoolean;
@@ -6908,8 +6959,8 @@ declare const EVENTS: {
6908
6959
  type: z.ZodEnum<{
6909
6960
  created: "created";
6910
6961
  deleted: "deleted";
6911
- modified: "modified";
6912
6962
  moved: "moved";
6963
+ modified: "modified";
6913
6964
  }>;
6914
6965
  path: z.ZodString;
6915
6966
  to_path: z.ZodOptional<z.ZodString>;
@@ -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": {
@@ -18853,6 +19024,13 @@
18853
19024
  "type": "string",
18854
19025
  "minLength": 1,
18855
19026
  "maxLength": 20000
19027
+ },
19028
+ "service": {
19029
+ "type": "string",
19030
+ "enum": [
19031
+ "iMessage",
19032
+ "SMS"
19033
+ ]
18856
19034
  }
18857
19035
  },
18858
19036
  "required": [
@@ -22315,6 +22493,17 @@
22315
22493
  "INTERNAL"
22316
22494
  ]
22317
22495
  },
22496
+ "apps.windows.groups": {
22497
+ "params": "AppsWindowsGroupsParams",
22498
+ "result": "AppsWindowsGroupsResult",
22499
+ "kind": "unary",
22500
+ "since": "1.43",
22501
+ "errors": [
22502
+ "NOT_FOUND",
22503
+ "PLATFORM_UNSUPPORTED",
22504
+ "INTERNAL"
22505
+ ]
22506
+ },
22318
22507
  "apps.windows.shown": {
22319
22508
  "params": "AppsWindowsShownParams",
22320
22509
  "result": "AppsWindowsShownResult",
@@ -23894,10 +24083,17 @@
23894
24083
  "AppsProjectsToWindowParams": {
23895
24084
  "pin": "1.32",
23896
24085
  "chat_ids": "1.36",
23897
- "take_off_from": "1.36"
24086
+ "take_off_from": "1.36",
24087
+ "group_id": "1.43",
24088
+ "group_name": "1.43"
23898
24089
  },
23899
24090
  "AppsProjectsToWindowResult": {
23900
- "pin": "1.32"
24091
+ "pin": "1.32",
24092
+ "chats": "1.43"
24093
+ },
24094
+ "ProjectMoveGroup": {
24095
+ "when": "1.43",
24096
+ "group_id": "1.43"
23901
24097
  },
23902
24098
  "AppsChatsTitlesCheckResult": {
23903
24099
  "stale_windows": "1.33"
@@ -23929,6 +24125,9 @@
23929
24125
  },
23930
24126
  "SysinfoGetResult.permissions[]": {
23931
24127
  "detail": "1.41"
24128
+ },
24129
+ "MessagesSendParams": {
24130
+ "service": "1.42"
23932
24131
  }
23933
24132
  },
23934
24133
  "x-null-since": {
@@ -23937,5 +24136,5 @@
23937
24136
  "olderPeersGet": 0
23938
24137
  }
23939
24138
  },
23940
- "x-protocol-version": "1.41"
24139
+ "x-protocol-version": "1.43"
23941
24140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.31",
3
+ "version": "0.21.33",
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": "c1a92de76cd4552254694187200516d771f52571"
140
+ "gitHead": "678247266235026d2394b41d65c4a1e0b93df56c"
141
141
  }