@ai-matrx/desktop-protocol 0.21.92 → 0.21.94

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.
@@ -4369,6 +4369,436 @@
4369
4369
  ],
4370
4370
  "additionalProperties": false
4371
4371
  },
4372
+ "FsSemanticStatusParams": {
4373
+ "type": "object",
4374
+ "properties": {},
4375
+ "additionalProperties": false
4376
+ },
4377
+ "FsSemanticStatusResult": {
4378
+ "type": "object",
4379
+ "properties": {
4380
+ "state": {
4381
+ "$ref": "#/$defs/SemanticIndexState"
4382
+ },
4383
+ "indexed": {
4384
+ "type": "integer",
4385
+ "minimum": 0,
4386
+ "maximum": 9007199254740991
4387
+ },
4388
+ "total": {
4389
+ "type": "integer",
4390
+ "minimum": 0,
4391
+ "maximum": 9007199254740991
4392
+ },
4393
+ "queued": {
4394
+ "type": "integer",
4395
+ "minimum": 0,
4396
+ "maximum": 9007199254740991
4397
+ },
4398
+ "over_cap": {
4399
+ "type": "integer",
4400
+ "minimum": 0,
4401
+ "maximum": 9007199254740991
4402
+ },
4403
+ "max_files": {
4404
+ "type": "integer",
4405
+ "minimum": 0,
4406
+ "maximum": 9007199254740991
4407
+ },
4408
+ "folders": {
4409
+ "maxItems": 50,
4410
+ "type": "array",
4411
+ "items": {
4412
+ "$ref": "#/$defs/AbsPath"
4413
+ }
4414
+ },
4415
+ "folders_source": {
4416
+ "type": "string",
4417
+ "enum": [
4418
+ "default",
4419
+ "chosen"
4420
+ ]
4421
+ },
4422
+ "model": {
4423
+ "anyOf": [
4424
+ {
4425
+ "type": "string",
4426
+ "maxLength": 200
4427
+ },
4428
+ {
4429
+ "type": "null"
4430
+ }
4431
+ ]
4432
+ },
4433
+ "load_per_cpu": {
4434
+ "type": "number",
4435
+ "minimum": 0
4436
+ },
4437
+ "load_limit": {
4438
+ "type": "number",
4439
+ "minimum": 0
4440
+ },
4441
+ "reason": {
4442
+ "anyOf": [
4443
+ {
4444
+ "type": "string",
4445
+ "maxLength": 300
4446
+ },
4447
+ {
4448
+ "type": "null"
4449
+ }
4450
+ ]
4451
+ },
4452
+ "updated_at_ms": {
4453
+ "anyOf": [
4454
+ {
4455
+ "type": "integer",
4456
+ "minimum": 0,
4457
+ "maximum": 9007199254740991
4458
+ },
4459
+ {
4460
+ "type": "null"
4461
+ }
4462
+ ]
4463
+ }
4464
+ },
4465
+ "required": [
4466
+ "state",
4467
+ "indexed",
4468
+ "total",
4469
+ "queued",
4470
+ "over_cap",
4471
+ "max_files",
4472
+ "folders",
4473
+ "folders_source",
4474
+ "model",
4475
+ "load_per_cpu",
4476
+ "load_limit",
4477
+ "reason",
4478
+ "updated_at_ms"
4479
+ ],
4480
+ "additionalProperties": false
4481
+ },
4482
+ "FsSearchSemanticParams": {
4483
+ "type": "object",
4484
+ "properties": {
4485
+ "query": {
4486
+ "type": "string",
4487
+ "minLength": 1,
4488
+ "maxLength": 2000
4489
+ },
4490
+ "scope": {
4491
+ "$ref": "#/$defs/AbsPath"
4492
+ },
4493
+ "max_results": {
4494
+ "default": 10,
4495
+ "type": "integer",
4496
+ "minimum": 1,
4497
+ "maximum": 100
4498
+ }
4499
+ },
4500
+ "required": [
4501
+ "query"
4502
+ ],
4503
+ "additionalProperties": false
4504
+ },
4505
+ "FsSearchSemanticResult": {
4506
+ "type": "object",
4507
+ "properties": {
4508
+ "hits": {
4509
+ "maxItems": 100,
4510
+ "type": "array",
4511
+ "items": {
4512
+ "$ref": "#/$defs/FsSemanticHit"
4513
+ }
4514
+ },
4515
+ "status": {
4516
+ "$ref": "#/$defs/SemanticIndexStatus"
4517
+ }
4518
+ },
4519
+ "required": [
4520
+ "hits",
4521
+ "status"
4522
+ ],
4523
+ "additionalProperties": false
4524
+ },
4525
+ "FsSemanticConfigureParams": {
4526
+ "type": "object",
4527
+ "properties": {
4528
+ "folders": {
4529
+ "maxItems": 50,
4530
+ "type": "array",
4531
+ "items": {
4532
+ "$ref": "#/$defs/AbsPath"
4533
+ }
4534
+ },
4535
+ "use_default_folders": {
4536
+ "type": "boolean"
4537
+ },
4538
+ "paused": {
4539
+ "type": "boolean"
4540
+ }
4541
+ },
4542
+ "additionalProperties": false
4543
+ },
4544
+ "FsSemanticConfigureResult": {
4545
+ "type": "object",
4546
+ "properties": {
4547
+ "state": {
4548
+ "$ref": "#/$defs/SemanticIndexState"
4549
+ },
4550
+ "indexed": {
4551
+ "type": "integer",
4552
+ "minimum": 0,
4553
+ "maximum": 9007199254740991
4554
+ },
4555
+ "total": {
4556
+ "type": "integer",
4557
+ "minimum": 0,
4558
+ "maximum": 9007199254740991
4559
+ },
4560
+ "queued": {
4561
+ "type": "integer",
4562
+ "minimum": 0,
4563
+ "maximum": 9007199254740991
4564
+ },
4565
+ "over_cap": {
4566
+ "type": "integer",
4567
+ "minimum": 0,
4568
+ "maximum": 9007199254740991
4569
+ },
4570
+ "max_files": {
4571
+ "type": "integer",
4572
+ "minimum": 0,
4573
+ "maximum": 9007199254740991
4574
+ },
4575
+ "folders": {
4576
+ "maxItems": 50,
4577
+ "type": "array",
4578
+ "items": {
4579
+ "$ref": "#/$defs/AbsPath"
4580
+ }
4581
+ },
4582
+ "folders_source": {
4583
+ "type": "string",
4584
+ "enum": [
4585
+ "default",
4586
+ "chosen"
4587
+ ]
4588
+ },
4589
+ "model": {
4590
+ "anyOf": [
4591
+ {
4592
+ "type": "string",
4593
+ "maxLength": 200
4594
+ },
4595
+ {
4596
+ "type": "null"
4597
+ }
4598
+ ]
4599
+ },
4600
+ "load_per_cpu": {
4601
+ "type": "number",
4602
+ "minimum": 0
4603
+ },
4604
+ "load_limit": {
4605
+ "type": "number",
4606
+ "minimum": 0
4607
+ },
4608
+ "reason": {
4609
+ "anyOf": [
4610
+ {
4611
+ "type": "string",
4612
+ "maxLength": 300
4613
+ },
4614
+ {
4615
+ "type": "null"
4616
+ }
4617
+ ]
4618
+ },
4619
+ "updated_at_ms": {
4620
+ "anyOf": [
4621
+ {
4622
+ "type": "integer",
4623
+ "minimum": 0,
4624
+ "maximum": 9007199254740991
4625
+ },
4626
+ {
4627
+ "type": "null"
4628
+ }
4629
+ ]
4630
+ }
4631
+ },
4632
+ "required": [
4633
+ "state",
4634
+ "indexed",
4635
+ "total",
4636
+ "queued",
4637
+ "over_cap",
4638
+ "max_files",
4639
+ "folders",
4640
+ "folders_source",
4641
+ "model",
4642
+ "load_per_cpu",
4643
+ "load_limit",
4644
+ "reason",
4645
+ "updated_at_ms"
4646
+ ],
4647
+ "additionalProperties": false
4648
+ },
4649
+ "FsSemanticHit": {
4650
+ "type": "object",
4651
+ "properties": {
4652
+ "path": {
4653
+ "$ref": "#/$defs/AbsPath"
4654
+ },
4655
+ "score": {
4656
+ "type": "number",
4657
+ "minimum": -1,
4658
+ "maximum": 1
4659
+ },
4660
+ "snippet": {
4661
+ "type": "string",
4662
+ "maxLength": 400
4663
+ },
4664
+ "modified_at_ms": {
4665
+ "anyOf": [
4666
+ {
4667
+ "type": "integer",
4668
+ "minimum": 0,
4669
+ "maximum": 9007199254740991
4670
+ },
4671
+ {
4672
+ "type": "null"
4673
+ }
4674
+ ]
4675
+ }
4676
+ },
4677
+ "required": [
4678
+ "path",
4679
+ "score",
4680
+ "snippet",
4681
+ "modified_at_ms"
4682
+ ],
4683
+ "additionalProperties": false
4684
+ },
4685
+ "SemanticIndexStatus": {
4686
+ "type": "object",
4687
+ "properties": {
4688
+ "state": {
4689
+ "$ref": "#/$defs/SemanticIndexState"
4690
+ },
4691
+ "indexed": {
4692
+ "type": "integer",
4693
+ "minimum": 0,
4694
+ "maximum": 9007199254740991
4695
+ },
4696
+ "total": {
4697
+ "type": "integer",
4698
+ "minimum": 0,
4699
+ "maximum": 9007199254740991
4700
+ },
4701
+ "queued": {
4702
+ "type": "integer",
4703
+ "minimum": 0,
4704
+ "maximum": 9007199254740991
4705
+ },
4706
+ "over_cap": {
4707
+ "type": "integer",
4708
+ "minimum": 0,
4709
+ "maximum": 9007199254740991
4710
+ },
4711
+ "max_files": {
4712
+ "type": "integer",
4713
+ "minimum": 0,
4714
+ "maximum": 9007199254740991
4715
+ },
4716
+ "folders": {
4717
+ "maxItems": 50,
4718
+ "type": "array",
4719
+ "items": {
4720
+ "$ref": "#/$defs/AbsPath"
4721
+ }
4722
+ },
4723
+ "folders_source": {
4724
+ "type": "string",
4725
+ "enum": [
4726
+ "default",
4727
+ "chosen"
4728
+ ]
4729
+ },
4730
+ "model": {
4731
+ "anyOf": [
4732
+ {
4733
+ "type": "string",
4734
+ "maxLength": 200
4735
+ },
4736
+ {
4737
+ "type": "null"
4738
+ }
4739
+ ]
4740
+ },
4741
+ "load_per_cpu": {
4742
+ "type": "number",
4743
+ "minimum": 0
4744
+ },
4745
+ "load_limit": {
4746
+ "type": "number",
4747
+ "minimum": 0
4748
+ },
4749
+ "reason": {
4750
+ "anyOf": [
4751
+ {
4752
+ "type": "string",
4753
+ "maxLength": 300
4754
+ },
4755
+ {
4756
+ "type": "null"
4757
+ }
4758
+ ]
4759
+ },
4760
+ "updated_at_ms": {
4761
+ "anyOf": [
4762
+ {
4763
+ "type": "integer",
4764
+ "minimum": 0,
4765
+ "maximum": 9007199254740991
4766
+ },
4767
+ {
4768
+ "type": "null"
4769
+ }
4770
+ ]
4771
+ }
4772
+ },
4773
+ "required": [
4774
+ "state",
4775
+ "indexed",
4776
+ "total",
4777
+ "queued",
4778
+ "over_cap",
4779
+ "max_files",
4780
+ "folders",
4781
+ "folders_source",
4782
+ "model",
4783
+ "load_per_cpu",
4784
+ "load_limit",
4785
+ "reason",
4786
+ "updated_at_ms"
4787
+ ],
4788
+ "additionalProperties": false
4789
+ },
4790
+ "SemanticIndexState": {
4791
+ "type": "string",
4792
+ "enum": [
4793
+ "model_missing",
4794
+ "indexing",
4795
+ "paused_load",
4796
+ "paused",
4797
+ "idle",
4798
+ "off",
4799
+ "failed"
4800
+ ]
4801
+ },
4372
4802
  "FsDeleteParams": {
4373
4803
  "type": "object",
4374
4804
  "properties": {
@@ -6179,6 +6609,12 @@
6179
6609
  "items": {
6180
6610
  "$ref": "#/$defs/CatalogModelEntry"
6181
6611
  }
6612
+ },
6613
+ "embedding": {
6614
+ "type": "array",
6615
+ "items": {
6616
+ "$ref": "#/$defs/CatalogModelEntry"
6617
+ }
6182
6618
  }
6183
6619
  },
6184
6620
  "required": [
@@ -6309,6 +6745,9 @@
6309
6745
  "type": "null"
6310
6746
  }
6311
6747
  ]
6748
+ },
6749
+ "embedding": {
6750
+ "$ref": "#/$defs/LlmEmbeddingSlot"
6312
6751
  }
6313
6752
  },
6314
6753
  "required": [
@@ -6392,6 +6831,9 @@
6392
6831
  "type": "integer",
6393
6832
  "minimum": 10,
6394
6833
  "maximum": 3600
6834
+ },
6835
+ "slot": {
6836
+ "$ref": "#/$defs/LlmSlot"
6395
6837
  }
6396
6838
  },
6397
6839
  "required": [
@@ -6419,7 +6861,11 @@
6419
6861
  },
6420
6862
  "ModelsLlmStopParams": {
6421
6863
  "type": "object",
6422
- "properties": {},
6864
+ "properties": {
6865
+ "slot": {
6866
+ "$ref": "#/$defs/LlmSlot"
6867
+ }
6868
+ },
6423
6869
  "additionalProperties": false
6424
6870
  },
6425
6871
  "ModelsLlmStopResult": {
@@ -6480,6 +6926,172 @@
6480
6926
  ],
6481
6927
  "additionalProperties": false
6482
6928
  },
6929
+ "ModelsEmbedParams": {
6930
+ "type": "object",
6931
+ "properties": {
6932
+ "model": {
6933
+ "$ref": "#/$defs/ModelKey"
6934
+ },
6935
+ "input": {
6936
+ "anyOf": [
6937
+ {
6938
+ "type": "string",
6939
+ "minLength": 1,
6940
+ "maxLength": 262144
6941
+ },
6942
+ {
6943
+ "minItems": 1,
6944
+ "maxItems": 256,
6945
+ "type": "array",
6946
+ "items": {
6947
+ "type": "string",
6948
+ "minLength": 1,
6949
+ "maxLength": 262144
6950
+ }
6951
+ }
6952
+ ]
6953
+ },
6954
+ "start_if_stopped": {
6955
+ "type": "boolean"
6956
+ }
6957
+ },
6958
+ "required": [
6959
+ "model",
6960
+ "input"
6961
+ ],
6962
+ "additionalProperties": false
6963
+ },
6964
+ "ModelsEmbedResult": {
6965
+ "type": "object",
6966
+ "properties": {
6967
+ "model": {
6968
+ "$ref": "#/$defs/ModelKey"
6969
+ },
6970
+ "dimensions": {
6971
+ "type": "integer",
6972
+ "minimum": 1,
6973
+ "maximum": 16384
6974
+ },
6975
+ "data": {
6976
+ "minItems": 1,
6977
+ "maxItems": 256,
6978
+ "type": "array",
6979
+ "items": {
6980
+ "$ref": "#/$defs/EmbeddingVector"
6981
+ }
6982
+ },
6983
+ "usage": {
6984
+ "type": "object",
6985
+ "properties": {
6986
+ "prompt_tokens": {
6987
+ "type": "integer",
6988
+ "minimum": 0,
6989
+ "maximum": 9007199254740991
6990
+ },
6991
+ "total_tokens": {
6992
+ "type": "integer",
6993
+ "minimum": 0,
6994
+ "maximum": 9007199254740991
6995
+ }
6996
+ },
6997
+ "required": [
6998
+ "prompt_tokens",
6999
+ "total_tokens"
7000
+ ],
7001
+ "additionalProperties": false
7002
+ }
7003
+ },
7004
+ "required": [
7005
+ "model",
7006
+ "dimensions",
7007
+ "data",
7008
+ "usage"
7009
+ ],
7010
+ "additionalProperties": false
7011
+ },
7012
+ "EmbeddingVector": {
7013
+ "type": "object",
7014
+ "properties": {
7015
+ "index": {
7016
+ "type": "integer",
7017
+ "minimum": 0,
7018
+ "maximum": 9007199254740991
7019
+ },
7020
+ "embedding": {
7021
+ "minItems": 1,
7022
+ "maxItems": 16384,
7023
+ "type": "array",
7024
+ "items": {
7025
+ "type": "number"
7026
+ }
7027
+ }
7028
+ },
7029
+ "required": [
7030
+ "index",
7031
+ "embedding"
7032
+ ],
7033
+ "additionalProperties": false
7034
+ },
7035
+ "LlmSlot": {
7036
+ "type": "string",
7037
+ "enum": [
7038
+ "chat",
7039
+ "embed"
7040
+ ]
7041
+ },
7042
+ "LlmEmbeddingSlot": {
7043
+ "type": "object",
7044
+ "properties": {
7045
+ "state": {
7046
+ "$ref": "#/$defs/LlmServerState"
7047
+ },
7048
+ "models": {
7049
+ "type": "array",
7050
+ "items": {
7051
+ "$ref": "#/$defs/TextModelInfo"
7052
+ }
7053
+ },
7054
+ "running": {
7055
+ "anyOf": [
7056
+ {
7057
+ "$ref": "#/$defs/LlmRunning"
7058
+ },
7059
+ {
7060
+ "type": "null"
7061
+ }
7062
+ ]
7063
+ },
7064
+ "starting": {
7065
+ "anyOf": [
7066
+ {
7067
+ "$ref": "#/$defs/ModelKey"
7068
+ },
7069
+ {
7070
+ "type": "null"
7071
+ }
7072
+ ]
7073
+ },
7074
+ "error": {
7075
+ "anyOf": [
7076
+ {
7077
+ "type": "string",
7078
+ "maxLength": 300
7079
+ },
7080
+ {
7081
+ "type": "null"
7082
+ }
7083
+ ]
7084
+ }
7085
+ },
7086
+ "required": [
7087
+ "state",
7088
+ "models",
7089
+ "running",
7090
+ "starting",
7091
+ "error"
7092
+ ],
7093
+ "additionalProperties": false
7094
+ },
6483
7095
  "DownloadKind": {
6484
7096
  "type": "string",
6485
7097
  "enum": [
@@ -27511,6 +28123,42 @@
27511
28123
  "TIMEOUT"
27512
28124
  ]
27513
28125
  },
28126
+ "fs.search_semantic": {
28127
+ "params": "FsSearchSemanticParams",
28128
+ "result": "FsSearchSemanticResult",
28129
+ "kind": "unary",
28130
+ "since": "1.87",
28131
+ "errors": [
28132
+ "NOT_FOUND",
28133
+ "PERMISSION_DENIED_OS",
28134
+ "INVALID_PARAMS",
28135
+ "RESOURCE_BUSY",
28136
+ "INTERNAL",
28137
+ "TIMEOUT"
28138
+ ]
28139
+ },
28140
+ "fs.semantic_status": {
28141
+ "params": "FsSemanticStatusParams",
28142
+ "result": "SemanticIndexStatus",
28143
+ "kind": "unary",
28144
+ "since": "1.87",
28145
+ "errors": [
28146
+ "INTERNAL"
28147
+ ]
28148
+ },
28149
+ "fs.semantic_configure": {
28150
+ "params": "FsSemanticConfigureParams",
28151
+ "result": "SemanticIndexStatus",
28152
+ "kind": "unary",
28153
+ "since": "1.87",
28154
+ "errors": [
28155
+ "NOT_FOUND",
28156
+ "PERMISSION_DENIED_OS",
28157
+ "INVALID_PARAMS",
28158
+ "RESOURCE_BUSY",
28159
+ "INTERNAL"
28160
+ ]
28161
+ },
27514
28162
  "fs.delete": {
27515
28163
  "params": "FsDeleteParams",
27516
28164
  "result": "FsDeleteResult",
@@ -27797,6 +28445,21 @@
27797
28445
  "INTERNAL"
27798
28446
  ]
27799
28447
  },
28448
+ "models.embed": {
28449
+ "params": "ModelsEmbedParams",
28450
+ "result": "ModelsEmbedResult",
28451
+ "kind": "unary",
28452
+ "since": "1.88",
28453
+ "errors": [
28454
+ "NOT_FOUND",
28455
+ "RESOURCE_BUSY",
28456
+ "RESOURCE_GONE",
28457
+ "INVALID_PARAMS",
28458
+ "TIMEOUT",
28459
+ "CANCELLED",
28460
+ "INTERNAL"
28461
+ ]
28462
+ },
27800
28463
  "models.downloads.list": {
27801
28464
  "params": "ModelsDownloadsListParams",
27802
28465
  "result": "ModelsDownloadsListResult",
@@ -30785,7 +31448,14 @@
30785
31448
  },
30786
31449
  "MlCatalogSetParams": {
30787
31450
  "unusable": "1.69",
30788
- "speech": "1.81"
31451
+ "speech": "1.81",
31452
+ "embedding": "1.88"
31453
+ },
31454
+ "ModelsLlmStatusResult": {
31455
+ "embedding": "1.88"
31456
+ },
31457
+ "ModelsLlmStopParams": {
31458
+ "slot": "1.88"
30789
31459
  },
30790
31460
  "MlProgress": {
30791
31461
  "audio": "1.81"
@@ -30793,7 +31463,8 @@
30793
31463
  "ModelsLlmStartParams": {
30794
31464
  "gpu_layers": "1.48",
30795
31465
  "threads": "1.48",
30796
- "load_timeout_s": "1.48"
31466
+ "load_timeout_s": "1.48",
31467
+ "slot": "1.88"
30797
31468
  },
30798
31469
  "FsPatchResult": {
30799
31470
  "edits_applied": "1.1",
@@ -31089,5 +31760,5 @@
31089
31760
  "olderPeersGet": 0
31090
31761
  }
31091
31762
  },
31092
- "x-protocol-version": "1.86"
31763
+ "x-protocol-version": "1.88"
31093
31764
  }