@ai-matrx/desktop-protocol 0.21.92 → 0.21.93

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
@@ -148,8 +148,6 @@ declare const EndReason: z.ZodEnum<{
148
148
  }>;
149
149
  type EndReason = z.output<typeof EndReason>;
150
150
 
151
- /** @ai-matrx/desktop-protocol — the op and event registries (Router, client and Python are generated from these). */
152
-
153
151
  declare const OPS: {
154
152
  readonly "sysinfo.get": {
155
153
  readonly params: z.ZodObject<{}, z.core.$strict>;
@@ -496,6 +494,118 @@ declare const OPS: {
496
494
  readonly since: "1.30";
497
495
  readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "TIMEOUT"];
498
496
  };
497
+ readonly "fs.search_semantic": {
498
+ readonly params: z.ZodObject<{
499
+ query: z.ZodString;
500
+ scope: z.ZodOptional<z.ZodString>;
501
+ max_results: z.ZodDefault<z.ZodInt>;
502
+ }, z.core.$strict>;
503
+ readonly result: z.ZodObject<{
504
+ hits: z.ZodArray<z.ZodObject<{
505
+ path: z.ZodString;
506
+ score: z.ZodNumber;
507
+ snippet: z.ZodString;
508
+ modified_at_ms: z.ZodNullable<z.ZodInt>;
509
+ }, z.core.$strict>>;
510
+ status: z.ZodObject<{
511
+ state: z.ZodEnum<{
512
+ model_missing: "model_missing";
513
+ indexing: "indexing";
514
+ paused_load: "paused_load";
515
+ paused: "paused";
516
+ idle: "idle";
517
+ off: "off";
518
+ failed: "failed";
519
+ }>;
520
+ indexed: z.ZodInt;
521
+ total: z.ZodInt;
522
+ queued: z.ZodInt;
523
+ over_cap: z.ZodInt;
524
+ max_files: z.ZodInt;
525
+ folders: z.ZodArray<z.ZodString>;
526
+ folders_source: z.ZodEnum<{
527
+ default: "default";
528
+ chosen: "chosen";
529
+ }>;
530
+ model: z.ZodNullable<z.ZodString>;
531
+ load_per_cpu: z.ZodNumber;
532
+ load_limit: z.ZodNumber;
533
+ reason: z.ZodNullable<z.ZodString>;
534
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
535
+ }, z.core.$strict>;
536
+ }, z.core.$strict>;
537
+ readonly kind: "unary";
538
+ readonly since: "1.87";
539
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL", "TIMEOUT"];
540
+ };
541
+ readonly "fs.semantic_status": {
542
+ readonly params: z.ZodObject<{}, z.core.$strict>;
543
+ readonly result: z.ZodObject<{
544
+ state: z.ZodEnum<{
545
+ model_missing: "model_missing";
546
+ indexing: "indexing";
547
+ paused_load: "paused_load";
548
+ paused: "paused";
549
+ idle: "idle";
550
+ off: "off";
551
+ failed: "failed";
552
+ }>;
553
+ indexed: z.ZodInt;
554
+ total: z.ZodInt;
555
+ queued: z.ZodInt;
556
+ over_cap: z.ZodInt;
557
+ max_files: z.ZodInt;
558
+ folders: z.ZodArray<z.ZodString>;
559
+ folders_source: z.ZodEnum<{
560
+ default: "default";
561
+ chosen: "chosen";
562
+ }>;
563
+ model: z.ZodNullable<z.ZodString>;
564
+ load_per_cpu: z.ZodNumber;
565
+ load_limit: z.ZodNumber;
566
+ reason: z.ZodNullable<z.ZodString>;
567
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
568
+ }, z.core.$strict>;
569
+ readonly kind: "unary";
570
+ readonly since: "1.87";
571
+ readonly errors: readonly ["INTERNAL"];
572
+ };
573
+ readonly "fs.semantic_configure": {
574
+ readonly params: z.ZodObject<{
575
+ folders: z.ZodOptional<z.ZodArray<z.ZodString>>;
576
+ use_default_folders: z.ZodOptional<z.ZodBoolean>;
577
+ paused: z.ZodOptional<z.ZodBoolean>;
578
+ }, z.core.$strict>;
579
+ readonly result: z.ZodObject<{
580
+ state: z.ZodEnum<{
581
+ model_missing: "model_missing";
582
+ indexing: "indexing";
583
+ paused_load: "paused_load";
584
+ paused: "paused";
585
+ idle: "idle";
586
+ off: "off";
587
+ failed: "failed";
588
+ }>;
589
+ indexed: z.ZodInt;
590
+ total: z.ZodInt;
591
+ queued: z.ZodInt;
592
+ over_cap: z.ZodInt;
593
+ max_files: z.ZodInt;
594
+ folders: z.ZodArray<z.ZodString>;
595
+ folders_source: z.ZodEnum<{
596
+ default: "default";
597
+ chosen: "chosen";
598
+ }>;
599
+ model: z.ZodNullable<z.ZodString>;
600
+ load_per_cpu: z.ZodNumber;
601
+ load_limit: z.ZodNumber;
602
+ reason: z.ZodNullable<z.ZodString>;
603
+ updated_at_ms: z.ZodNullable<z.ZodInt>;
604
+ }, z.core.$strict>;
605
+ readonly kind: "unary";
606
+ readonly since: "1.87";
607
+ readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"];
608
+ };
499
609
  readonly "fs.delete": {
500
610
  readonly params: z.ZodObject<{
501
611
  path: z.ZodString;
@@ -906,10 +1016,10 @@ declare const OPS: {
906
1016
  readonly result: z.ZodObject<{
907
1017
  service: z.ZodObject<{
908
1018
  state: z.ZodEnum<{
1019
+ failed: "failed";
909
1020
  starting: "starting";
910
1021
  ready: "ready";
911
1022
  restarting: "restarting";
912
- failed: "failed";
913
1023
  stopped: "stopped";
914
1024
  }>;
915
1025
  pid: z.ZodNullable<z.ZodInt>;
@@ -995,9 +1105,9 @@ declare const OPS: {
995
1105
  readonly params: z.ZodObject<{}, z.core.$strict>;
996
1106
  readonly result: z.ZodObject<{
997
1107
  state: z.ZodEnum<{
1108
+ failed: "failed";
998
1109
  running: "running";
999
1110
  starting: "starting";
1000
- failed: "failed";
1001
1111
  stopped: "stopped";
1002
1112
  }>;
1003
1113
  models: z.ZodArray<z.ZodObject<{
@@ -2224,14 +2334,14 @@ declare const OPS: {
2224
2334
  remote_control: z.ZodOptional<z.ZodObject<{
2225
2335
  setting: z.ZodEnum<{
2226
2336
  default: "default";
2227
- on: "on";
2228
2337
  off: "off";
2338
+ on: "on";
2229
2339
  unreadable: "unreadable";
2230
2340
  }>;
2231
2341
  serving: z.ZodNullable<z.ZodBoolean>;
2232
2342
  pending: z.ZodNullable<z.ZodEnum<{
2233
- on: "on";
2234
2343
  off: "off";
2344
+ on: "on";
2235
2345
  }>>;
2236
2346
  problem: z.ZodOptional<z.ZodString>;
2237
2347
  }, z.core.$strict>>;
@@ -2293,14 +2403,14 @@ declare const OPS: {
2293
2403
  remote_control: z.ZodObject<{
2294
2404
  setting: z.ZodEnum<{
2295
2405
  default: "default";
2296
- on: "on";
2297
2406
  off: "off";
2407
+ on: "on";
2298
2408
  unreadable: "unreadable";
2299
2409
  }>;
2300
2410
  serving: z.ZodNullable<z.ZodBoolean>;
2301
2411
  pending: z.ZodNullable<z.ZodEnum<{
2302
- on: "on";
2303
2412
  off: "off";
2413
+ on: "on";
2304
2414
  }>>;
2305
2415
  problem: z.ZodOptional<z.ZodString>;
2306
2416
  }, z.core.$strict>;
@@ -5483,9 +5593,9 @@ declare const OPS: {
5483
5593
  updatedAt: z.ZodString;
5484
5594
  lastRunId: z.ZodNullable<z.ZodString>;
5485
5595
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
5596
+ failed: "failed";
5486
5597
  running: "running";
5487
5598
  starting: "starting";
5488
- failed: "failed";
5489
5599
  stopped: "stopped";
5490
5600
  completed: "completed";
5491
5601
  }>>;
@@ -5531,9 +5641,9 @@ declare const OPS: {
5531
5641
  prompt: z.ZodString;
5532
5642
  model: z.ZodNullable<z.ZodString>;
5533
5643
  status: z.ZodEnum<{
5644
+ failed: "failed";
5534
5645
  running: "running";
5535
5646
  starting: "starting";
5536
- failed: "failed";
5537
5647
  stopped: "stopped";
5538
5648
  completed: "completed";
5539
5649
  }>;
@@ -5574,9 +5684,9 @@ declare const OPS: {
5574
5684
  cwd: z.ZodNullable<z.ZodString>;
5575
5685
  updatedAt: z.ZodString;
5576
5686
  state: z.ZodEnum<{
5687
+ idle: "idle";
5577
5688
  running: "running";
5578
5689
  elsewhere: "elsewhere";
5579
- idle: "idle";
5580
5690
  needs_attention: "needs_attention";
5581
5691
  new_output: "new_output";
5582
5692
  }>;
@@ -5669,9 +5779,9 @@ declare const OPS: {
5669
5779
  prompt: z.ZodString;
5670
5780
  model: z.ZodNullable<z.ZodString>;
5671
5781
  status: z.ZodEnum<{
5782
+ failed: "failed";
5672
5783
  running: "running";
5673
5784
  starting: "starting";
5674
- failed: "failed";
5675
5785
  stopped: "stopped";
5676
5786
  completed: "completed";
5677
5787
  }>;
@@ -5965,9 +6075,9 @@ declare const OPS: {
5965
6075
  updatedAt: z.ZodString;
5966
6076
  lastRunId: z.ZodNullable<z.ZodString>;
5967
6077
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6078
+ failed: "failed";
5968
6079
  running: "running";
5969
6080
  starting: "starting";
5970
- failed: "failed";
5971
6081
  stopped: "stopped";
5972
6082
  completed: "completed";
5973
6083
  }>>;
@@ -6013,9 +6123,9 @@ declare const OPS: {
6013
6123
  prompt: z.ZodString;
6014
6124
  model: z.ZodNullable<z.ZodString>;
6015
6125
  status: z.ZodEnum<{
6126
+ failed: "failed";
6016
6127
  running: "running";
6017
6128
  starting: "starting";
6018
- failed: "failed";
6019
6129
  stopped: "stopped";
6020
6130
  completed: "completed";
6021
6131
  }>;
@@ -6086,9 +6196,9 @@ declare const OPS: {
6086
6196
  updatedAt: z.ZodString;
6087
6197
  lastRunId: z.ZodNullable<z.ZodString>;
6088
6198
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6199
+ failed: "failed";
6089
6200
  running: "running";
6090
6201
  starting: "starting";
6091
- failed: "failed";
6092
6202
  stopped: "stopped";
6093
6203
  completed: "completed";
6094
6204
  }>>;
@@ -6154,9 +6264,9 @@ declare const OPS: {
6154
6264
  updatedAt: z.ZodString;
6155
6265
  lastRunId: z.ZodNullable<z.ZodString>;
6156
6266
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6267
+ failed: "failed";
6157
6268
  running: "running";
6158
6269
  starting: "starting";
6159
- failed: "failed";
6160
6270
  stopped: "stopped";
6161
6271
  completed: "completed";
6162
6272
  }>>;
@@ -6202,9 +6312,9 @@ declare const OPS: {
6202
6312
  prompt: z.ZodString;
6203
6313
  model: z.ZodNullable<z.ZodString>;
6204
6314
  status: z.ZodEnum<{
6315
+ failed: "failed";
6205
6316
  running: "running";
6206
6317
  starting: "starting";
6207
- failed: "failed";
6208
6318
  stopped: "stopped";
6209
6319
  completed: "completed";
6210
6320
  }>;
@@ -6255,9 +6365,9 @@ declare const OPS: {
6255
6365
  prompt: z.ZodString;
6256
6366
  model: z.ZodNullable<z.ZodString>;
6257
6367
  status: z.ZodEnum<{
6368
+ failed: "failed";
6258
6369
  running: "running";
6259
6370
  starting: "starting";
6260
- failed: "failed";
6261
6371
  stopped: "stopped";
6262
6372
  completed: "completed";
6263
6373
  }>;
@@ -6334,9 +6444,9 @@ declare const OPS: {
6334
6444
  updatedAt: z.ZodString;
6335
6445
  lastRunId: z.ZodNullable<z.ZodString>;
6336
6446
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6447
+ failed: "failed";
6337
6448
  running: "running";
6338
6449
  starting: "starting";
6339
- failed: "failed";
6340
6450
  stopped: "stopped";
6341
6451
  completed: "completed";
6342
6452
  }>>;
@@ -6402,9 +6512,9 @@ declare const OPS: {
6402
6512
  updatedAt: z.ZodString;
6403
6513
  lastRunId: z.ZodNullable<z.ZodString>;
6404
6514
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6515
+ failed: "failed";
6405
6516
  running: "running";
6406
6517
  starting: "starting";
6407
- failed: "failed";
6408
6518
  stopped: "stopped";
6409
6519
  completed: "completed";
6410
6520
  }>>;
@@ -6450,9 +6560,9 @@ declare const OPS: {
6450
6560
  prompt: z.ZodString;
6451
6561
  model: z.ZodNullable<z.ZodString>;
6452
6562
  status: z.ZodEnum<{
6563
+ failed: "failed";
6453
6564
  running: "running";
6454
6565
  starting: "starting";
6455
- failed: "failed";
6456
6566
  stopped: "stopped";
6457
6567
  completed: "completed";
6458
6568
  }>;
@@ -6708,9 +6818,9 @@ declare const OPS: {
6708
6818
  updatedAt: z.ZodString;
6709
6819
  lastRunId: z.ZodNullable<z.ZodString>;
6710
6820
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
6821
+ failed: "failed";
6711
6822
  running: "running";
6712
6823
  starting: "starting";
6713
- failed: "failed";
6714
6824
  stopped: "stopped";
6715
6825
  completed: "completed";
6716
6826
  }>>;
@@ -6827,9 +6937,9 @@ declare const OPS: {
6827
6937
  cwd: z.ZodNullable<z.ZodString>;
6828
6938
  updatedAt: z.ZodString;
6829
6939
  state: z.ZodEnum<{
6940
+ idle: "idle";
6830
6941
  running: "running";
6831
6942
  elsewhere: "elsewhere";
6832
- idle: "idle";
6833
6943
  needs_attention: "needs_attention";
6834
6944
  new_output: "new_output";
6835
6945
  }>;
@@ -7216,8 +7326,8 @@ declare const OPS: {
7216
7326
  state: z.ZodLiteral<"not_saved">;
7217
7327
  outbox_id: z.ZodString;
7218
7328
  reason: z.ZodEnum<{
7219
- signed_out: "signed_out";
7220
7329
  queued: "queued";
7330
+ signed_out: "signed_out";
7221
7331
  offline: "offline";
7222
7332
  rejected: "rejected";
7223
7333
  }>;
@@ -7304,8 +7414,8 @@ declare const OPS: {
7304
7414
  state: z.ZodLiteral<"not_saved">;
7305
7415
  outbox_id: z.ZodString;
7306
7416
  reason: z.ZodEnum<{
7307
- signed_out: "signed_out";
7308
7417
  queued: "queued";
7418
+ signed_out: "signed_out";
7309
7419
  offline: "offline";
7310
7420
  rejected: "rejected";
7311
7421
  }>;
@@ -7376,8 +7486,8 @@ declare const OPS: {
7376
7486
  title: z.ZodNullable<z.ZodString>;
7377
7487
  organization_id: z.ZodNullable<z.ZodString>;
7378
7488
  reason: z.ZodEnum<{
7379
- signed_out: "signed_out";
7380
7489
  queued: "queued";
7490
+ signed_out: "signed_out";
7381
7491
  offline: "offline";
7382
7492
  rejected: "rejected";
7383
7493
  }>;
@@ -7682,16 +7792,16 @@ declare const OPS: {
7682
7792
  readonly params: z.ZodObject<{
7683
7793
  agent_id: z.ZodString;
7684
7794
  status: z.ZodOptional<z.ZodEnum<{
7685
- running: "running";
7686
7795
  failed: "failed";
7796
+ running: "running";
7687
7797
  stopped: "stopped";
7688
7798
  waiting: "waiting";
7689
7799
  succeeded: "succeeded";
7690
7800
  warned: "warned";
7691
7801
  }>>;
7692
7802
  sort: z.ZodOptional<z.ZodEnum<{
7693
- started_at: "started_at";
7694
7803
  status: "status";
7804
+ started_at: "started_at";
7695
7805
  cost: "cost";
7696
7806
  duration: "duration";
7697
7807
  }>>;
@@ -7710,8 +7820,8 @@ declare const OPS: {
7710
7820
  rows: z.ZodArray<z.ZodObject<{
7711
7821
  run_id: z.ZodString;
7712
7822
  status: z.ZodEnum<{
7713
- running: "running";
7714
7823
  failed: "failed";
7824
+ running: "running";
7715
7825
  stopped: "stopped";
7716
7826
  waiting: "waiting";
7717
7827
  succeeded: "succeeded";
@@ -8740,9 +8850,9 @@ declare const OPS: {
8740
8850
  readonly params: z.ZodObject<{
8741
8851
  filter: z.ZodOptional<z.ZodString>;
8742
8852
  status: z.ZodOptional<z.ZodEnum<{
8853
+ paused: "paused";
8743
8854
  running: "running";
8744
8855
  stopped: "stopped";
8745
- paused: "paused";
8746
8856
  }>>;
8747
8857
  limit: z.ZodDefault<z.ZodInt>;
8748
8858
  }, z.core.$strict>;
@@ -9295,9 +9405,9 @@ declare const EVENTS: {
9295
9405
  updatedAt: z.ZodString;
9296
9406
  lastRunId: z.ZodNullable<z.ZodString>;
9297
9407
  lastRunStatus: z.ZodNullable<z.ZodEnum<{
9408
+ failed: "failed";
9298
9409
  running: "running";
9299
9410
  starting: "starting";
9300
- failed: "failed";
9301
9411
  stopped: "stopped";
9302
9412
  completed: "completed";
9303
9413
  }>>;
@@ -9345,9 +9455,9 @@ declare const EVENTS: {
9345
9455
  prompt: z.ZodString;
9346
9456
  model: z.ZodNullable<z.ZodString>;
9347
9457
  status: z.ZodEnum<{
9458
+ failed: "failed";
9348
9459
  running: "running";
9349
9460
  starting: "starting";
9350
- failed: "failed";
9351
9461
  stopped: "stopped";
9352
9462
  completed: "completed";
9353
9463
  }>;
@@ -9401,9 +9511,9 @@ declare const EVENTS: {
9401
9511
  cwd: z.ZodNullable<z.ZodString>;
9402
9512
  updatedAt: z.ZodString;
9403
9513
  state: z.ZodEnum<{
9514
+ idle: "idle";
9404
9515
  running: "running";
9405
9516
  elsewhere: "elsewhere";
9406
- idle: "idle";
9407
9517
  needs_attention: "needs_attention";
9408
9518
  new_output: "new_output";
9409
9519
  }>;