@ai-matrx/desktop-protocol 0.21.61 → 0.21.63

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
@@ -1358,6 +1358,7 @@ declare const OPS: {
1358
1358
  at_ms: z.ZodNullable<z.ZodInt>;
1359
1359
  back_at_ms: z.ZodNullable<z.ZodInt>;
1360
1360
  }, z.core.$strict>>>;
1361
+ home: z.ZodOptional<z.ZodString>;
1361
1362
  }, z.core.$strict>>;
1362
1363
  new_window_ms: z.ZodInt;
1363
1364
  updating: z.ZodOptional<z.ZodBoolean>;
@@ -1482,6 +1483,7 @@ declare const OPS: {
1482
1483
  at_ms: z.ZodNullable<z.ZodInt>;
1483
1484
  back_at_ms: z.ZodNullable<z.ZodInt>;
1484
1485
  }, z.core.$strict>>>;
1486
+ home: z.ZodOptional<z.ZodString>;
1485
1487
  }, z.core.$strict>;
1486
1488
  }, z.core.$strict>;
1487
1489
  readonly kind: "unary";
@@ -1587,6 +1589,7 @@ declare const OPS: {
1587
1589
  at_ms: z.ZodNullable<z.ZodInt>;
1588
1590
  back_at_ms: z.ZodNullable<z.ZodInt>;
1589
1591
  }, z.core.$strict>>>;
1592
+ home: z.ZodOptional<z.ZodString>;
1590
1593
  }, z.core.$strict>;
1591
1594
  project: z.ZodObject<{
1592
1595
  id: z.ZodString;
@@ -1703,6 +1706,7 @@ declare const OPS: {
1703
1706
  at_ms: z.ZodNullable<z.ZodInt>;
1704
1707
  back_at_ms: z.ZodNullable<z.ZodInt>;
1705
1708
  }, z.core.$strict>>>;
1709
+ home: z.ZodOptional<z.ZodString>;
1706
1710
  }, z.core.$strict>;
1707
1711
  message: z.ZodString;
1708
1712
  }, z.core.$strict>;
@@ -1809,6 +1813,7 @@ declare const OPS: {
1809
1813
  at_ms: z.ZodNullable<z.ZodInt>;
1810
1814
  back_at_ms: z.ZodNullable<z.ZodInt>;
1811
1815
  }, z.core.$strict>>>;
1816
+ home: z.ZodOptional<z.ZodString>;
1812
1817
  }, z.core.$strict>>;
1813
1818
  project: z.ZodObject<{
1814
1819
  id: z.ZodString;
@@ -1956,6 +1961,7 @@ declare const OPS: {
1956
1961
  at_ms: z.ZodNullable<z.ZodInt>;
1957
1962
  back_at_ms: z.ZodNullable<z.ZodInt>;
1958
1963
  }, z.core.$strict>>>;
1964
+ home: z.ZodOptional<z.ZodString>;
1959
1965
  }, z.core.$strict>;
1960
1966
  }, z.core.$strict>;
1961
1967
  readonly kind: "unary";
@@ -2168,6 +2174,11 @@ declare const OPS: {
2168
2174
  launched_ms: z.ZodNullable<z.ZodInt>;
2169
2175
  quit_ms: z.ZodNullable<z.ZodInt>;
2170
2176
  first_launch_ms: z.ZodNullable<z.ZodInt>;
2177
+ missing: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2178
+ version: "version";
2179
+ account: "account";
2180
+ email: "email";
2181
+ }>>>;
2171
2182
  }, z.core.$strict>>;
2172
2183
  problem: z.ZodOptional<z.ZodString>;
2173
2184
  as_of_ms: z.ZodOptional<z.ZodInt>;
@@ -2368,6 +2379,7 @@ declare const OPS: {
2368
2379
  at_ms: z.ZodNullable<z.ZodInt>;
2369
2380
  back_at_ms: z.ZodNullable<z.ZodInt>;
2370
2381
  }, z.core.$strict>>>;
2382
+ home: z.ZodOptional<z.ZodString>;
2371
2383
  }, z.core.$strict>;
2372
2384
  project: z.ZodObject<{
2373
2385
  id: z.ZodString;
@@ -4581,6 +4593,12 @@ declare const OPS: {
4581
4593
  info: "info";
4582
4594
  }>;
4583
4595
  text: z.ZodString;
4596
+ }, z.core.$strict>, z.ZodObject<{
4597
+ kind: z.ZodLiteral<"continued">;
4598
+ id: z.ZodString;
4599
+ from: z.ZodString;
4600
+ text: z.ZodString;
4601
+ at: z.ZodNullable<z.ZodString>;
4584
4602
  }, z.core.$strict>, z.ZodObject<{
4585
4603
  kind: z.ZodLiteral<"error">;
4586
4604
  id: z.ZodString;
@@ -4648,6 +4666,12 @@ declare const OPS: {
4648
4666
  info: "info";
4649
4667
  }>;
4650
4668
  text: z.ZodString;
4669
+ }, z.core.$strict>, z.ZodObject<{
4670
+ kind: z.ZodLiteral<"continued">;
4671
+ id: z.ZodString;
4672
+ from: z.ZodString;
4673
+ text: z.ZodString;
4674
+ at: z.ZodNullable<z.ZodString>;
4651
4675
  }, z.core.$strict>, z.ZodObject<{
4652
4676
  kind: z.ZodLiteral<"error">;
4653
4677
  id: z.ZodString;
@@ -6371,6 +6395,64 @@ declare const OPS: {
6371
6395
  readonly since: "1.39";
6372
6396
  readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6373
6397
  };
6398
+ readonly "account.agents.versions": {
6399
+ readonly params: z.ZodObject<{
6400
+ agent_id: z.ZodString;
6401
+ offset: z.ZodOptional<z.ZodInt>;
6402
+ limit: z.ZodOptional<z.ZodInt>;
6403
+ }, z.core.$strict>;
6404
+ readonly result: z.ZodObject<{
6405
+ state: z.ZodEnum<{
6406
+ ok: "ok";
6407
+ signed_out: "signed_out";
6408
+ unavailable: "unavailable";
6409
+ }>;
6410
+ problem: z.ZodNullable<z.ZodString>;
6411
+ current_version: z.ZodNullable<z.ZodInt>;
6412
+ rows: z.ZodArray<z.ZodObject<{
6413
+ version_id: z.ZodString;
6414
+ version_number: z.ZodInt;
6415
+ changed_at_ms: z.ZodInt;
6416
+ note: z.ZodNullable<z.ZodString>;
6417
+ }, z.core.$strict>>;
6418
+ }, z.core.$strict>;
6419
+ readonly kind: "unary";
6420
+ readonly since: "1.64";
6421
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6422
+ };
6423
+ readonly "account.agents.version_diff": {
6424
+ readonly params: z.ZodObject<{
6425
+ agent_id: z.ZodString;
6426
+ version_number: z.ZodInt;
6427
+ }, z.core.$strict>;
6428
+ readonly result: z.ZodObject<{
6429
+ state: z.ZodEnum<{
6430
+ ok: "ok";
6431
+ signed_out: "signed_out";
6432
+ unavailable: "unavailable";
6433
+ }>;
6434
+ problem: z.ZodNullable<z.ZodString>;
6435
+ version_number: z.ZodInt;
6436
+ current_version: z.ZodNullable<z.ZodInt>;
6437
+ old: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6438
+ current: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6439
+ }, z.core.$strict>;
6440
+ readonly kind: "unary";
6441
+ readonly since: "1.64";
6442
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
6443
+ };
6444
+ readonly "account.agents.restore_version": {
6445
+ readonly params: z.ZodObject<{
6446
+ agent_id: z.ZodString;
6447
+ version_number: z.ZodInt;
6448
+ }, z.core.$strict>;
6449
+ readonly result: z.ZodObject<{
6450
+ restored_version: z.ZodInt;
6451
+ }, z.core.$strict>;
6452
+ readonly kind: "unary";
6453
+ readonly since: "1.64";
6454
+ readonly errors: readonly ["AUTH_REQUIRED", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
6455
+ };
6374
6456
  readonly "apps.windows.update_state": {
6375
6457
  readonly params: z.ZodObject<{
6376
6458
  app_key: z.ZodString;
@@ -7986,6 +8068,12 @@ declare const EVENTS: {
7986
8068
  info: "info";
7987
8069
  }>;
7988
8070
  text: z.ZodString;
8071
+ }, z.core.$strict>, z.ZodObject<{
8072
+ kind: z.ZodLiteral<"continued">;
8073
+ id: z.ZodString;
8074
+ from: z.ZodString;
8075
+ text: z.ZodString;
8076
+ at: z.ZodNullable<z.ZodString>;
7989
8077
  }, z.core.$strict>, z.ZodObject<{
7990
8078
  kind: z.ZodLiteral<"error">;
7991
8079
  id: z.ZodString;
@@ -285,6 +285,14 @@
285
285
  "folder_missing"
286
286
  ]
287
287
  },
288
+ "InstanceGap": {
289
+ "type": "string",
290
+ "enum": [
291
+ "account",
292
+ "email",
293
+ "version"
294
+ ]
295
+ },
288
296
  "AppInstall": {
289
297
  "type": "object",
290
298
  "properties": {
@@ -449,6 +457,13 @@
449
457
  "type": "null"
450
458
  }
451
459
  ]
460
+ },
461
+ "missing": {
462
+ "maxItems": 3,
463
+ "type": "array",
464
+ "items": {
465
+ "$ref": "#/$defs/InstanceGap"
466
+ }
452
467
  }
453
468
  },
454
469
  "required": [
@@ -6008,6 +6023,46 @@
6008
6023
  ],
6009
6024
  "additionalProperties": false
6010
6025
  },
6026
+ {
6027
+ "type": "object",
6028
+ "properties": {
6029
+ "kind": {
6030
+ "type": "string",
6031
+ "const": "continued"
6032
+ },
6033
+ "id": {
6034
+ "type": "string",
6035
+ "maxLength": 200
6036
+ },
6037
+ "from": {
6038
+ "type": "string",
6039
+ "maxLength": 300
6040
+ },
6041
+ "text": {
6042
+ "type": "string"
6043
+ },
6044
+ "at": {
6045
+ "anyOf": [
6046
+ {
6047
+ "type": "string",
6048
+ "minLength": 10,
6049
+ "maxLength": 40
6050
+ },
6051
+ {
6052
+ "type": "null"
6053
+ }
6054
+ ]
6055
+ }
6056
+ },
6057
+ "required": [
6058
+ "kind",
6059
+ "id",
6060
+ "from",
6061
+ "text",
6062
+ "at"
6063
+ ],
6064
+ "additionalProperties": false
6065
+ },
6011
6066
  {
6012
6067
  "type": "object",
6013
6068
  "properties": {
@@ -13225,6 +13280,9 @@
13225
13280
  "items": {
13226
13281
  "$ref": "#/$defs/ChatMove"
13227
13282
  }
13283
+ },
13284
+ "home": {
13285
+ "$ref": "#/$defs/ChatPlace"
13228
13286
  }
13229
13287
  },
13230
13288
  "required": [
@@ -19055,6 +19113,234 @@
19055
19113
  ],
19056
19114
  "additionalProperties": false
19057
19115
  },
19116
+ "AccountAgentVersion": {
19117
+ "type": "object",
19118
+ "properties": {
19119
+ "version_id": {
19120
+ "$ref": "#/$defs/AccountRowId"
19121
+ },
19122
+ "version_number": {
19123
+ "type": "integer",
19124
+ "minimum": 1,
19125
+ "maximum": 9007199254740991
19126
+ },
19127
+ "changed_at_ms": {
19128
+ "type": "integer",
19129
+ "minimum": 0,
19130
+ "maximum": 9007199254740991
19131
+ },
19132
+ "note": {
19133
+ "anyOf": [
19134
+ {
19135
+ "type": "string",
19136
+ "maxLength": 1000
19137
+ },
19138
+ {
19139
+ "type": "null"
19140
+ }
19141
+ ]
19142
+ }
19143
+ },
19144
+ "required": [
19145
+ "version_id",
19146
+ "version_number",
19147
+ "changed_at_ms",
19148
+ "note"
19149
+ ],
19150
+ "additionalProperties": false
19151
+ },
19152
+ "AccountAgentsVersionsParams": {
19153
+ "type": "object",
19154
+ "properties": {
19155
+ "agent_id": {
19156
+ "$ref": "#/$defs/AccountRowId"
19157
+ },
19158
+ "offset": {
19159
+ "type": "integer",
19160
+ "minimum": 0,
19161
+ "maximum": 100000
19162
+ },
19163
+ "limit": {
19164
+ "type": "integer",
19165
+ "minimum": 1,
19166
+ "maximum": 200
19167
+ }
19168
+ },
19169
+ "required": [
19170
+ "agent_id"
19171
+ ],
19172
+ "additionalProperties": false
19173
+ },
19174
+ "AccountAgentsVersionsResult": {
19175
+ "type": "object",
19176
+ "properties": {
19177
+ "state": {
19178
+ "$ref": "#/$defs/AccountReadState"
19179
+ },
19180
+ "problem": {
19181
+ "anyOf": [
19182
+ {
19183
+ "type": "string",
19184
+ "maxLength": 300
19185
+ },
19186
+ {
19187
+ "type": "null"
19188
+ }
19189
+ ]
19190
+ },
19191
+ "current_version": {
19192
+ "anyOf": [
19193
+ {
19194
+ "type": "integer",
19195
+ "minimum": 1,
19196
+ "maximum": 9007199254740991
19197
+ },
19198
+ {
19199
+ "type": "null"
19200
+ }
19201
+ ]
19202
+ },
19203
+ "rows": {
19204
+ "maxItems": 200,
19205
+ "type": "array",
19206
+ "items": {
19207
+ "$ref": "#/$defs/AccountAgentVersion"
19208
+ }
19209
+ }
19210
+ },
19211
+ "required": [
19212
+ "state",
19213
+ "problem",
19214
+ "current_version",
19215
+ "rows"
19216
+ ],
19217
+ "additionalProperties": false
19218
+ },
19219
+ "AccountAgentsVersionDiffParams": {
19220
+ "type": "object",
19221
+ "properties": {
19222
+ "agent_id": {
19223
+ "$ref": "#/$defs/AccountRowId"
19224
+ },
19225
+ "version_number": {
19226
+ "type": "integer",
19227
+ "minimum": 1,
19228
+ "maximum": 9007199254740991
19229
+ }
19230
+ },
19231
+ "required": [
19232
+ "agent_id",
19233
+ "version_number"
19234
+ ],
19235
+ "additionalProperties": false
19236
+ },
19237
+ "AccountAgentsVersionDiffResult": {
19238
+ "type": "object",
19239
+ "properties": {
19240
+ "state": {
19241
+ "$ref": "#/$defs/AccountReadState"
19242
+ },
19243
+ "problem": {
19244
+ "anyOf": [
19245
+ {
19246
+ "type": "string",
19247
+ "maxLength": 300
19248
+ },
19249
+ {
19250
+ "type": "null"
19251
+ }
19252
+ ]
19253
+ },
19254
+ "version_number": {
19255
+ "type": "integer",
19256
+ "minimum": 1,
19257
+ "maximum": 9007199254740991
19258
+ },
19259
+ "current_version": {
19260
+ "anyOf": [
19261
+ {
19262
+ "type": "integer",
19263
+ "minimum": 1,
19264
+ "maximum": 9007199254740991
19265
+ },
19266
+ {
19267
+ "type": "null"
19268
+ }
19269
+ ]
19270
+ },
19271
+ "old": {
19272
+ "anyOf": [
19273
+ {
19274
+ "type": "object",
19275
+ "propertyNames": {
19276
+ "type": "string",
19277
+ "maxLength": 200
19278
+ },
19279
+ "additionalProperties": {}
19280
+ },
19281
+ {
19282
+ "type": "null"
19283
+ }
19284
+ ]
19285
+ },
19286
+ "current": {
19287
+ "anyOf": [
19288
+ {
19289
+ "type": "object",
19290
+ "propertyNames": {
19291
+ "type": "string",
19292
+ "maxLength": 200
19293
+ },
19294
+ "additionalProperties": {}
19295
+ },
19296
+ {
19297
+ "type": "null"
19298
+ }
19299
+ ]
19300
+ }
19301
+ },
19302
+ "required": [
19303
+ "state",
19304
+ "problem",
19305
+ "version_number",
19306
+ "current_version",
19307
+ "old",
19308
+ "current"
19309
+ ],
19310
+ "additionalProperties": false
19311
+ },
19312
+ "AccountAgentsRestoreVersionParams": {
19313
+ "type": "object",
19314
+ "properties": {
19315
+ "agent_id": {
19316
+ "$ref": "#/$defs/AccountRowId"
19317
+ },
19318
+ "version_number": {
19319
+ "type": "integer",
19320
+ "minimum": 1,
19321
+ "maximum": 9007199254740991
19322
+ }
19323
+ },
19324
+ "required": [
19325
+ "agent_id",
19326
+ "version_number"
19327
+ ],
19328
+ "additionalProperties": false
19329
+ },
19330
+ "AccountAgentsRestoreVersionResult": {
19331
+ "type": "object",
19332
+ "properties": {
19333
+ "restored_version": {
19334
+ "type": "integer",
19335
+ "minimum": 1,
19336
+ "maximum": 9007199254740991
19337
+ }
19338
+ },
19339
+ "required": [
19340
+ "restored_version"
19341
+ ],
19342
+ "additionalProperties": false
19343
+ },
19058
19344
  "AppsWindowsUpdateStateParams": {
19059
19345
  "type": "object",
19060
19346
  "properties": {
@@ -25640,6 +25926,39 @@
25640
25926
  "INTERNAL"
25641
25927
  ]
25642
25928
  },
25929
+ "account.agents.versions": {
25930
+ "params": "AccountAgentsVersionsParams",
25931
+ "result": "AccountAgentsVersionsResult",
25932
+ "kind": "unary",
25933
+ "since": "1.64",
25934
+ "errors": [
25935
+ "INVALID_PARAMS",
25936
+ "INTERNAL"
25937
+ ]
25938
+ },
25939
+ "account.agents.version_diff": {
25940
+ "params": "AccountAgentsVersionDiffParams",
25941
+ "result": "AccountAgentsVersionDiffResult",
25942
+ "kind": "unary",
25943
+ "since": "1.64",
25944
+ "errors": [
25945
+ "INVALID_PARAMS",
25946
+ "INTERNAL"
25947
+ ]
25948
+ },
25949
+ "account.agents.restore_version": {
25950
+ "params": "AccountAgentsRestoreVersionParams",
25951
+ "result": "AccountAgentsRestoreVersionResult",
25952
+ "kind": "unary",
25953
+ "since": "1.64",
25954
+ "errors": [
25955
+ "AUTH_REQUIRED",
25956
+ "NOT_FOUND",
25957
+ "INVALID_PARAMS",
25958
+ "DEVICE_OFFLINE",
25959
+ "INTERNAL"
25960
+ ]
25961
+ },
25643
25962
  "apps.windows.update_state": {
25644
25963
  "params": "AppsWindowsUpdateStateParams",
25645
25964
  "result": "AppsWindowsUpdateStateResult",
@@ -26576,6 +26895,9 @@
26576
26895
  "CodingSearchHit": {
26577
26896
  "accountId": "1.57"
26578
26897
  },
26898
+ "AppInstance": {
26899
+ "missing": "1.63"
26900
+ },
26579
26901
  "AppsInstancesListParams": {
26580
26902
  "fresh": "1.51"
26581
26903
  },
@@ -26613,7 +26935,8 @@
26613
26935
  "parent": "1.59",
26614
26936
  "prior_sessions": "1.59",
26615
26937
  "title_sync": "1.61",
26616
- "moved": "1.62"
26938
+ "moved": "1.62",
26939
+ "home": "1.63"
26617
26940
  },
26618
26941
  "AccountUsage": {
26619
26942
  "plan": "1.13",
@@ -26709,5 +27032,5 @@
26709
27032
  "olderPeersGet": 0
26710
27033
  }
26711
27034
  },
26712
- "x-protocol-version": "1.62"
27035
+ "x-protocol-version": "1.65"
26713
27036
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.61",
3
+ "version": "0.21.63",
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": "e86170a22e962d1c9890e56b29df3b8a3bc3b03b"
140
+ "gitHead": "14def9156ec7369de7ad9174919831bd036f7fb2"
141
141
  }