@ai-matrx/desktop-protocol 0.21.30 → 0.21.31

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
@@ -207,6 +207,11 @@ declare const OPS: {
207
207
  local_network: "local_network";
208
208
  bluetooth: "bluetooth";
209
209
  notifications: "notifications";
210
+ reminders: "reminders";
211
+ speech_recognition: "speech_recognition";
212
+ messages: "messages";
213
+ mail: "mail";
214
+ wifi: "wifi";
210
215
  }>;
211
216
  state: z.ZodEnum<{
212
217
  granted: "granted";
@@ -215,7 +220,26 @@ declare const OPS: {
215
220
  not_applicable: "not_applicable";
216
221
  }>;
217
222
  settings_url: z.ZodNullable<z.ZodString>;
223
+ detail: z.ZodOptional<z.ZodString>;
218
224
  }, z.core.$strict>>;
225
+ requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
226
+ name: z.ZodEnum<{
227
+ secret_storage: "secret_storage";
228
+ tray: "tray";
229
+ display_server: "display_server";
230
+ helper_programs: "helper_programs";
231
+ smart_app_control: "smart_app_control";
232
+ path_length: "path_length";
233
+ }>;
234
+ state: z.ZodEnum<{
235
+ granted: "granted";
236
+ denied: "denied";
237
+ not_determined: "not_determined";
238
+ not_applicable: "not_applicable";
239
+ }>;
240
+ settings_url: z.ZodNullable<z.ZodString>;
241
+ detail: z.ZodNullable<z.ZodString>;
242
+ }, z.core.$strict>>>;
219
243
  }, z.core.$strict>;
220
244
  readonly kind: "unary";
221
245
  readonly since: "1.0";
@@ -2590,7 +2614,24 @@ declare const OPS: {
2590
2614
  readonly "system.open_settings": {
2591
2615
  readonly params: z.ZodObject<{
2592
2616
  pane: z.ZodEnum<{
2617
+ full_disk_access: "full_disk_access";
2618
+ accessibility: "accessibility";
2619
+ screen_recording: "screen_recording";
2593
2620
  microphone: "microphone";
2621
+ camera: "camera";
2622
+ automation: "automation";
2623
+ contacts: "contacts";
2624
+ calendars: "calendars";
2625
+ photos: "photos";
2626
+ location: "location";
2627
+ local_network: "local_network";
2628
+ bluetooth: "bluetooth";
2629
+ notifications: "notifications";
2630
+ reminders: "reminders";
2631
+ speech_recognition: "speech_recognition";
2632
+ messages: "messages";
2633
+ mail: "mail";
2634
+ wifi: "wifi";
2594
2635
  displays: "displays";
2595
2636
  night_shift: "night_shift";
2596
2637
  sound: "sound";
@@ -2606,7 +2647,24 @@ declare const OPS: {
2606
2647
  }, z.core.$strict>;
2607
2648
  readonly result: z.ZodObject<{
2608
2649
  pane: z.ZodEnum<{
2650
+ full_disk_access: "full_disk_access";
2651
+ accessibility: "accessibility";
2652
+ screen_recording: "screen_recording";
2609
2653
  microphone: "microphone";
2654
+ camera: "camera";
2655
+ automation: "automation";
2656
+ contacts: "contacts";
2657
+ calendars: "calendars";
2658
+ photos: "photos";
2659
+ location: "location";
2660
+ local_network: "local_network";
2661
+ bluetooth: "bluetooth";
2662
+ notifications: "notifications";
2663
+ reminders: "reminders";
2664
+ speech_recognition: "speech_recognition";
2665
+ messages: "messages";
2666
+ mail: "mail";
2667
+ wifi: "wifi";
2610
2668
  displays: "displays";
2611
2669
  night_shift: "night_shift";
2612
2670
  sound: "sound";
@@ -5045,6 +5103,20 @@ declare const OPS: {
5045
5103
  urls: z.ZodArray<z.ZodString>;
5046
5104
  use_cache: z.ZodDefault<z.ZodBoolean>;
5047
5105
  get_links: z.ZodDefault<z.ZodBoolean>;
5106
+ engine: z.ZodOptional<z.ZodEnum<{
5107
+ auto: "auto";
5108
+ server: "server";
5109
+ browser: "browser";
5110
+ }>>;
5111
+ land: z.ZodOptional<z.ZodObject<{
5112
+ organization_id: z.ZodOptional<z.ZodString>;
5113
+ keep: z.ZodDefault<z.ZodBoolean>;
5114
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
5115
+ entity_type: z.ZodString;
5116
+ entity_id: z.ZodString;
5117
+ label: z.ZodOptional<z.ZodString>;
5118
+ }, z.core.$strict>>>;
5119
+ }, z.core.$strict>>;
5048
5120
  }, z.core.$strict>;
5049
5121
  readonly result: z.ZodObject<{
5050
5122
  pages: z.ZodArray<z.ZodObject<{
@@ -5057,6 +5129,36 @@ declare const OPS: {
5057
5129
  links: z.ZodArray<z.ZodString>;
5058
5130
  error: z.ZodNullable<z.ZodString>;
5059
5131
  via: z.ZodNullable<z.ZodString>;
5132
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5133
+ state: z.ZodLiteral<"saved">;
5134
+ processed_document_id: z.ZodString;
5135
+ source_id: z.ZodString;
5136
+ reused_existing: z.ZodBoolean;
5137
+ new_version_of: z.ZodNullable<z.ZodString>;
5138
+ kept: z.ZodBoolean;
5139
+ intelligence: z.ZodEnum<{
5140
+ never: "never";
5141
+ queued: "queued";
5142
+ deferred: "deferred";
5143
+ }>;
5144
+ original_file_id: z.ZodNullable<z.ZodString>;
5145
+ organization_id: z.ZodString;
5146
+ notices: z.ZodArray<z.ZodObject<{
5147
+ code: z.ZodString;
5148
+ message: z.ZodString;
5149
+ remedy: z.ZodString;
5150
+ }, z.core.$strict>>;
5151
+ }, z.core.$strict>, z.ZodObject<{
5152
+ state: z.ZodLiteral<"not_saved">;
5153
+ outbox_id: z.ZodString;
5154
+ reason: z.ZodEnum<{
5155
+ signed_out: "signed_out";
5156
+ queued: "queued";
5157
+ offline: "offline";
5158
+ rejected: "rejected";
5159
+ }>;
5160
+ message: z.ZodString;
5161
+ }, z.core.$strict>], "state">>;
5060
5162
  }, z.core.$strict>>;
5061
5163
  elapsed_ms: z.ZodInt;
5062
5164
  }, z.core.$strict>;
@@ -5098,6 +5200,15 @@ declare const OPS: {
5098
5200
  wait_for: z.ZodOptional<z.ZodString>;
5099
5201
  wait_timeout_ms: z.ZodDefault<z.ZodInt>;
5100
5202
  extract_text: z.ZodDefault<z.ZodBoolean>;
5203
+ land: z.ZodOptional<z.ZodObject<{
5204
+ organization_id: z.ZodOptional<z.ZodString>;
5205
+ keep: z.ZodDefault<z.ZodBoolean>;
5206
+ attach_to: z.ZodDefault<z.ZodArray<z.ZodObject<{
5207
+ entity_type: z.ZodString;
5208
+ entity_id: z.ZodString;
5209
+ label: z.ZodOptional<z.ZodString>;
5210
+ }, z.core.$strict>>>;
5211
+ }, z.core.$strict>>;
5101
5212
  }, z.core.$strict>;
5102
5213
  readonly result: z.ZodObject<{
5103
5214
  url: z.ZodString;
@@ -5106,11 +5217,260 @@ declare const OPS: {
5106
5217
  content: z.ZodString;
5107
5218
  truncated: z.ZodBoolean;
5108
5219
  elapsed_ms: z.ZodInt;
5220
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
5221
+ state: z.ZodLiteral<"saved">;
5222
+ processed_document_id: z.ZodString;
5223
+ source_id: z.ZodString;
5224
+ reused_existing: z.ZodBoolean;
5225
+ new_version_of: z.ZodNullable<z.ZodString>;
5226
+ kept: z.ZodBoolean;
5227
+ intelligence: z.ZodEnum<{
5228
+ never: "never";
5229
+ queued: "queued";
5230
+ deferred: "deferred";
5231
+ }>;
5232
+ original_file_id: z.ZodNullable<z.ZodString>;
5233
+ organization_id: z.ZodString;
5234
+ notices: z.ZodArray<z.ZodObject<{
5235
+ code: z.ZodString;
5236
+ message: z.ZodString;
5237
+ remedy: z.ZodString;
5238
+ }, z.core.$strict>>;
5239
+ }, z.core.$strict>, z.ZodObject<{
5240
+ state: z.ZodLiteral<"not_saved">;
5241
+ outbox_id: z.ZodString;
5242
+ reason: z.ZodEnum<{
5243
+ signed_out: "signed_out";
5244
+ queued: "queued";
5245
+ offline: "offline";
5246
+ rejected: "rejected";
5247
+ }>;
5248
+ message: z.ZodString;
5249
+ }, z.core.$strict>], "state">>;
5109
5250
  }, z.core.$strict>;
5110
5251
  readonly kind: "unary";
5111
5252
  readonly since: "1.22";
5112
5253
  readonly errors: readonly ["INVALID_PARAMS", "TIMEOUT", "RESOURCE_BUSY", "AUTH_REQUIRED", "INTERNAL"];
5113
5254
  };
5255
+ readonly "web.runtime.state": {
5256
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5257
+ readonly result: z.ZodObject<{
5258
+ state: z.ZodEnum<{
5259
+ failed: "failed";
5260
+ not_installed: "not_installed";
5261
+ installing: "installing";
5262
+ installed: "installed";
5263
+ }>;
5264
+ error: z.ZodNullable<z.ZodString>;
5265
+ size_bytes: z.ZodNullable<z.ZodInt>;
5266
+ can_show_window: z.ZodBoolean;
5267
+ }, z.core.$strict>;
5268
+ readonly kind: "unary";
5269
+ readonly since: "1.40";
5270
+ readonly errors: readonly ["INTERNAL"];
5271
+ };
5272
+ readonly "web.runtime.install": {
5273
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5274
+ readonly result: z.ZodObject<{
5275
+ state: z.ZodEnum<{
5276
+ failed: "failed";
5277
+ not_installed: "not_installed";
5278
+ installing: "installing";
5279
+ installed: "installed";
5280
+ }>;
5281
+ error: z.ZodNullable<z.ZodString>;
5282
+ size_bytes: z.ZodNullable<z.ZodInt>;
5283
+ can_show_window: z.ZodBoolean;
5284
+ }, z.core.$strict>;
5285
+ readonly kind: "unary";
5286
+ readonly since: "1.40";
5287
+ readonly errors: readonly ["TIMEOUT", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
5288
+ };
5289
+ readonly "web.runtime.remove": {
5290
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5291
+ readonly result: z.ZodObject<{
5292
+ state: z.ZodEnum<{
5293
+ failed: "failed";
5294
+ not_installed: "not_installed";
5295
+ installing: "installing";
5296
+ installed: "installed";
5297
+ }>;
5298
+ error: z.ZodNullable<z.ZodString>;
5299
+ size_bytes: z.ZodNullable<z.ZodInt>;
5300
+ can_show_window: z.ZodBoolean;
5301
+ }, z.core.$strict>;
5302
+ readonly kind: "unary";
5303
+ readonly since: "1.40";
5304
+ readonly errors: readonly ["RESOURCE_BUSY", "INTERNAL"];
5305
+ };
5306
+ readonly "web.outbox.list": {
5307
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5308
+ readonly result: z.ZodObject<{
5309
+ items: z.ZodArray<z.ZodObject<{
5310
+ outbox_id: z.ZodString;
5311
+ url: z.ZodString;
5312
+ title: z.ZodNullable<z.ZodString>;
5313
+ organization_id: z.ZodNullable<z.ZodString>;
5314
+ reason: z.ZodEnum<{
5315
+ signed_out: "signed_out";
5316
+ queued: "queued";
5317
+ offline: "offline";
5318
+ rejected: "rejected";
5319
+ }>;
5320
+ message: z.ZodString;
5321
+ attempts: z.ZodInt;
5322
+ created_at_ms: z.ZodInt;
5323
+ last_attempt_at_ms: z.ZodNullable<z.ZodInt>;
5324
+ bytes: z.ZodInt;
5325
+ }, z.core.$strict>>;
5326
+ bytes: z.ZodInt;
5327
+ cap_bytes: z.ZodInt;
5328
+ }, z.core.$strict>;
5329
+ readonly kind: "unary";
5330
+ readonly since: "1.40";
5331
+ readonly errors: readonly ["INTERNAL"];
5332
+ };
5333
+ readonly "web.outbox.retry": {
5334
+ readonly params: z.ZodObject<{
5335
+ outbox_id: z.ZodOptional<z.ZodString>;
5336
+ }, z.core.$strict>;
5337
+ readonly result: z.ZodObject<{
5338
+ saved: z.ZodInt;
5339
+ waiting: z.ZodInt;
5340
+ }, z.core.$strict>;
5341
+ readonly kind: "unary";
5342
+ readonly since: "1.40";
5343
+ readonly errors: readonly ["NOT_FOUND", "AUTH_REQUIRED", "INTERNAL"];
5344
+ };
5345
+ readonly "web.outbox.discard": {
5346
+ readonly params: z.ZodObject<{
5347
+ outbox_id: z.ZodString;
5348
+ }, z.core.$strict>;
5349
+ readonly result: z.ZodObject<{
5350
+ discarded: z.ZodBoolean;
5351
+ }, z.core.$strict>;
5352
+ readonly kind: "unary";
5353
+ readonly since: "1.40";
5354
+ readonly errors: readonly ["NOT_FOUND", "INTERNAL"];
5355
+ };
5356
+ readonly "web.log.list": {
5357
+ readonly params: z.ZodObject<{
5358
+ since_ms: z.ZodOptional<z.ZodInt>;
5359
+ limit: z.ZodDefault<z.ZodInt>;
5360
+ }, z.core.$strict>;
5361
+ readonly result: z.ZodObject<{
5362
+ entries: z.ZodArray<z.ZodObject<{
5363
+ id: z.ZodString;
5364
+ at_ms: z.ZodInt;
5365
+ caller: z.ZodEnum<{
5366
+ agent: "agent";
5367
+ phone: "phone";
5368
+ other: "other";
5369
+ person: "person";
5370
+ research: "research";
5371
+ }>;
5372
+ url: z.ZodString;
5373
+ title: z.ZodNullable<z.ZodString>;
5374
+ result: z.ZodEnum<{
5375
+ failed: "failed";
5376
+ blocked: "blocked";
5377
+ saved: "saved";
5378
+ not_saved: "not_saved";
5379
+ read: "read";
5380
+ }>;
5381
+ detail: z.ZodNullable<z.ZodString>;
5382
+ via: z.ZodEnum<{
5383
+ server: "server";
5384
+ this_computer: "this_computer";
5385
+ browser: "browser";
5386
+ }>;
5387
+ duration_ms: z.ZodInt;
5388
+ processed_document_id: z.ZodNullable<z.ZodString>;
5389
+ }, z.core.$strict>>;
5390
+ }, z.core.$strict>;
5391
+ readonly kind: "unary";
5392
+ readonly since: "1.40";
5393
+ readonly errors: readonly ["INVALID_PARAMS"];
5394
+ };
5395
+ readonly "web.log.clear": {
5396
+ readonly params: z.ZodObject<{}, z.core.$strict>;
5397
+ readonly result: z.ZodObject<{
5398
+ cleared: z.ZodInt;
5399
+ }, z.core.$strict>;
5400
+ readonly kind: "unary";
5401
+ readonly since: "1.40";
5402
+ readonly errors: readonly ["INTERNAL"];
5403
+ };
5404
+ readonly "web.research.queue": {
5405
+ readonly params: z.ZodObject<{
5406
+ topic_id: z.ZodOptional<z.ZodString>;
5407
+ }, z.core.$strict>;
5408
+ readonly result: z.ZodObject<{
5409
+ state: z.ZodEnum<{
5410
+ ready: "ready";
5411
+ signed_out: "signed_out";
5412
+ unavailable: "unavailable";
5413
+ }>;
5414
+ problem: z.ZodNullable<z.ZodString>;
5415
+ items: z.ZodArray<z.ZodObject<{
5416
+ topic_id: z.ZodString;
5417
+ topic_name: z.ZodString;
5418
+ source_id: z.ZodString;
5419
+ url: z.ZodString;
5420
+ title: z.ZodNullable<z.ZodString>;
5421
+ level: z.ZodInt;
5422
+ last_failure: z.ZodNullable<z.ZodString>;
5423
+ state: z.ZodEnum<{
5424
+ failed: "failed";
5425
+ waiting: "waiting";
5426
+ blocked: "blocked";
5427
+ saved: "saved";
5428
+ fetching: "fetching";
5429
+ thin: "thin";
5430
+ cannot_edit: "cannot_edit";
5431
+ }>;
5432
+ message: z.ZodNullable<z.ZodString>;
5433
+ }, z.core.$strict>>;
5434
+ view_only: z.ZodInt;
5435
+ }, z.core.$strict>;
5436
+ readonly kind: "unary";
5437
+ readonly since: "1.40";
5438
+ readonly errors: readonly ["INVALID_PARAMS", "INTERNAL"];
5439
+ };
5440
+ readonly "web.research.fetch": {
5441
+ readonly params: z.ZodObject<{
5442
+ topic_id: z.ZodOptional<z.ZodString>;
5443
+ source_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5444
+ }, z.core.$strict>;
5445
+ readonly result: z.ZodObject<{
5446
+ items: z.ZodArray<z.ZodObject<{
5447
+ topic_id: z.ZodString;
5448
+ topic_name: z.ZodString;
5449
+ source_id: z.ZodString;
5450
+ url: z.ZodString;
5451
+ title: z.ZodNullable<z.ZodString>;
5452
+ level: z.ZodInt;
5453
+ last_failure: z.ZodNullable<z.ZodString>;
5454
+ state: z.ZodEnum<{
5455
+ failed: "failed";
5456
+ waiting: "waiting";
5457
+ blocked: "blocked";
5458
+ saved: "saved";
5459
+ fetching: "fetching";
5460
+ thin: "thin";
5461
+ cannot_edit: "cannot_edit";
5462
+ }>;
5463
+ message: z.ZodNullable<z.ZodString>;
5464
+ }, z.core.$strict>>;
5465
+ saved: z.ZodInt;
5466
+ thin: z.ZodInt;
5467
+ failed: z.ZodInt;
5468
+ cannot_edit: z.ZodInt;
5469
+ }, z.core.$strict>;
5470
+ readonly kind: "unary";
5471
+ readonly since: "1.40";
5472
+ readonly errors: readonly ["INVALID_PARAMS", "AUTH_REQUIRED", "RESOURCE_BUSY", "CANCELLED", "INTERNAL"];
5473
+ };
5114
5474
  readonly "account.agents.list": {
5115
5475
  readonly params: z.ZodObject<{}, z.core.$strict>;
5116
5476
  readonly result: z.ZodObject<{
@@ -5586,8 +5946,8 @@ declare const OPS: {
5586
5946
  kind: z.ZodEnum<{
5587
5947
  progress: "progress";
5588
5948
  timeout: "timeout";
5589
- closed: "closed";
5590
5949
  result: "result";
5950
+ closed: "closed";
5591
5951
  register: "register";
5592
5952
  invoke: "invoke";
5593
5953
  }>;
@@ -6484,8 +6844,8 @@ declare const OPS: {
6484
6844
  text: z.ZodString;
6485
6845
  labels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6486
6846
  place: "place";
6487
- organization: "organization";
6488
6847
  person: "person";
6848
+ organization: "organization";
6489
6849
  }>>>;
6490
6850
  }, z.core.$strict>;
6491
6851
  readonly result: z.ZodObject<{
@@ -6878,6 +7238,44 @@ declare const EVENTS: {
6878
7238
  awaiting_confirmation: "awaiting_confirmation";
6879
7239
  }>;
6880
7240
  }, z.core.$strict>;
7241
+ readonly "web.log.entry": z.ZodObject<{
7242
+ id: z.ZodString;
7243
+ at_ms: z.ZodInt;
7244
+ caller: z.ZodEnum<{
7245
+ agent: "agent";
7246
+ phone: "phone";
7247
+ other: "other";
7248
+ person: "person";
7249
+ research: "research";
7250
+ }>;
7251
+ url: z.ZodString;
7252
+ title: z.ZodNullable<z.ZodString>;
7253
+ result: z.ZodEnum<{
7254
+ failed: "failed";
7255
+ blocked: "blocked";
7256
+ saved: "saved";
7257
+ not_saved: "not_saved";
7258
+ read: "read";
7259
+ }>;
7260
+ detail: z.ZodNullable<z.ZodString>;
7261
+ via: z.ZodEnum<{
7262
+ server: "server";
7263
+ this_computer: "this_computer";
7264
+ browser: "browser";
7265
+ }>;
7266
+ duration_ms: z.ZodInt;
7267
+ processed_document_id: z.ZodNullable<z.ZodString>;
7268
+ }, z.core.$strict>;
7269
+ readonly "web.progress": z.ZodObject<{
7270
+ request_id: z.ZodString;
7271
+ phase: z.ZodEnum<{
7272
+ installing: "installing";
7273
+ fetching: "fetching";
7274
+ saving: "saving";
7275
+ }>;
7276
+ done: z.ZodInt;
7277
+ total: z.ZodInt;
7278
+ }, z.core.$strict>;
6881
7279
  };
6882
7280
 
6883
7281
  type DesktopClientStatus =